@ironsource/shared-ui 2.1.11-test.2 → 2.1.11-test.26

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 (107) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_f9a13e27_lang.css +1 -0
  2. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_8f471697_lang.css +1 -0
  4. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_039dd922_lang.css +1 -0
  5. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2aee12ad_lang.css +1 -0
  6. package/DataGrid.vue_vue_type_style_index_0_scoped_e7591db4_lang.css +1 -0
  7. package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
  8. package/DropdownV4.vue_vue_type_style_index_0_scoped_6466948d_lang.css +1 -0
  9. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_111b200a_lang.css +1 -0
  10. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
  11. package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
  12. package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
  13. package/README.md +4 -15
  14. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +1 -0
  15. package/TextField.vue_vue_type_style_index_0_scoped_2e327aa1_lang.css +1 -0
  16. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
  17. package/TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css +1 -0
  18. package/TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css +1 -0
  19. package/components/autocomplete/Autocomplete.vue2.js +3 -2
  20. package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
  21. package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
  22. package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
  23. package/components/button/v4/index.d.ts +9 -3
  24. package/components/chart/Chart.vue.js +5 -5
  25. package/components/chart/Chart.vue2.js +48 -46
  26. package/components/chart/SettingsHeader.vue.js +3 -3
  27. package/components/chart/SettingsHeader.vue2.js +34 -26
  28. package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
  29. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  30. package/components/dateRange/v4/DateRangeV4.vue2.js +9 -9
  31. package/components/dropdown/common/Dropdown.common.js +191 -184
  32. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  33. package/components/dropdown/v3/index.d.ts +39 -39
  34. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
  35. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  36. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +6 -6
  37. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  38. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
  39. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
  40. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  41. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +73 -47
  42. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +90 -0
  43. package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
  44. package/components/dropdown/v4/ConditionalDropdown.vue2.js +185 -0
  45. package/components/dropdown/v4/DropdownV4.vue.d.ts +31 -6
  46. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  47. package/components/dropdown/v4/DropdownV4.vue2.js +224 -198
  48. package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
  49. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  50. package/components/dropdown/v4/OptionV4.vue2.js +135 -98
  51. package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
  52. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  53. package/components/dropdown/v4/TreeDropdown.vue2.js +210 -168
  54. package/components/dropdown/v4/index.d.ts +402 -87
  55. package/components/dropdown/v4/index.js +6 -3
  56. package/components/filtersPanel/v4/FiltersPanelV4.vue.js +3 -3
  57. package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
  58. package/components/icon/v4/consts.d.ts +1 -1
  59. package/components/icon/v4/consts.js +1 -1
  60. package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
  61. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  62. package/components/inlineCopy/InlineCopy.vue2.js +24 -22
  63. package/components/inlineCopy/index.d.ts +9 -0
  64. package/components/input/v4/TextField.vue.js +3 -3
  65. package/components/input/v4/TextField.vue2.js +12 -12
  66. package/components/multibar/MultiBarMenu.vue2.js +3 -2
  67. package/components/popover/v4/PopoverV4.vue.d.ts +14 -2
  68. package/components/popover/v4/PopoverV4.vue.js +4 -3
  69. package/components/popover/v4/PopoverV4.vue2.js +40 -24
  70. package/components/popover/v4/index.d.ts +55 -11
  71. package/components/sortableList/SortableList.vue.d.ts +1 -1
  72. package/components/sortableList/index.d.ts +4 -4
  73. package/components/table/common/Table.common.js +69 -71
  74. package/components/table/common/Table.types.d.ts +1 -1
  75. package/components/table/v3/Table.vue.d.ts +1 -1
  76. package/components/table/v3/index.d.ts +5 -5
  77. package/components/table/v4/DataGrid.vue.d.ts +6 -1
  78. package/components/table/v4/DataGrid.vue.js +4 -4
  79. package/components/table/v4/DataGrid.vue2.js +124 -117
  80. package/components/table/v4/DataGridMenu.vue2.js +3 -2
  81. package/components/table/v4/index.d.ts +26 -7
  82. package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
  83. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  84. package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
  85. package/components/tooltip/v4/index.d.ts +39 -1
  86. package/design-foundation.stories/icons/iconsData.d.ts +1 -1
  87. package/index.d.ts +1123 -262
  88. package/index.js +1 -1
  89. package/mocks/options.d.ts +48 -2
  90. package/mocks/words.d.ts +1 -1
  91. package/package.json +3 -2
  92. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
  93. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
  94. package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +0 -1
  95. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
  96. package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
  97. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
  98. package/DropdownV4.vue_vue_type_style_index_0_scoped_991a7aad_lang.css +0 -1
  99. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
  100. package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
  101. package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
  102. package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
  103. package/SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css +0 -1
  104. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
  105. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
  106. package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
  107. package/TreeDropdown.vue_vue_type_style_index_0_scoped_c361375a_lang.css +0 -1
@@ -1,41 +1,42 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_991a7aad_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ye, computed as U, openBlock as n, createElementBlock as a, mergeProps as s, unref as t, renderSlot as k, createElementVNode as m, createVNode as i, withCtx as c, Transition as fe, normalizeClass as L, normalizeStyle as me, isRef as pe, createCommentVNode as r, createTextVNode as b, toDisplayString as W, withModifiers as M, Fragment as ge, renderList as Te, toRaw as w, createBlock as X, resolveDynamicComponent as ke } from "vue";
2
- import E from "../../button/v4/ButtonV4.vue.js";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_6466948d_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as fe, computed as G, openBlock as n, createElementBlock as r, mergeProps as y, unref as t, renderSlot as f, createElementVNode as m, createVNode as i, withCtx as u, Transition as me, normalizeClass as O, normalizeStyle as pe, createTextVNode as T, createCommentVNode as a, isRef as ge, toDisplayString as U, withModifiers as W, Fragment as Te, renderList as ke, toRaw as C, createBlock as X, resolveDynamicComponent as he } from "vue";
2
+ import L from "../../button/v4/ButtonV4.vue.js";
3
3
  import "../../button/v4/IconButtonV4.vue.js";
4
4
  import "../../button/v4/ButtonGroup.vue.js";
5
5
  import "../../button/v4/ToggleButtonGroupAB.vue.js";
6
6
  import "./DropdownV4.vue.js";
7
7
  import be from "./DefaultDropdownTrigger.vue.js";
8
- import he from "./IconButtonDropdownTrigger.vue.js";
8
+ import we from "./IconButtonDropdownTrigger.vue.js";
9
9
  import Ie from "./ChipDropdownTrigger.vue.js";
10
- import we from "./AppDropdownTrigger.vue.js";
10
+ import ve from "./AppDropdownTrigger.vue.js";
11
11
  import "./ButtonDropdownTrigger.vue.js";
12
12
  import "./ButtonFilterDropdownTrigger.vue.js";
13
13
  import "./TreeDropdown.vue.js";
14
14
  import q from "./OptionV4.vue.js";
15
- import ve from "../../search/v4/SearchV4.vue.js";
16
- import Ce from "../../typography/v4/Typography.vue.js";
15
+ import "./ConditionalDropdown.vue.js";
16
+ import Ce from "../../search/v4/SearchV4.vue.js";
17
+ import Y from "../../typography/v4/Typography.vue.js";
17
18
  import { Dropdown as Se } from "floating-vue";
18
- import { DropdownTestIdModifiers as y } from "../../../testids/index.js";
19
+ import { DropdownTestIdModifiers as p } from "../../../testids/index.js";
19
20
  import { dropdownCommon as Ke } from "../common/Dropdown.common.js";
20
21
  import S from "../../skeleton/v4/SkeletonV4.vue.js";
21
22
  import { useTestIdAttrs as Ae } from "../../../utils/testIds.js";
22
- import { TRIGGERS as p } from "./Dropdown.types.js";
23
- import { useElementSize as Oe } from "@vueuse/core";
24
- import Le from "../../shared/FieldHelpText.vue.js";
25
- import Ee from "./GroupOption.vue.js";
26
- const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve = { key: 1 }, De = { key: 2 }, Pe = {
23
+ import { TRIGGERS as k } from "./Dropdown.types.js";
24
+ import { useElementSize as Ee } from "@vueuse/core";
25
+ import Oe from "../../shared/FieldHelpText.vue.js";
26
+ import Le from "./GroupOption.vue.js";
27
+ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve = { key: 1 }, xe = { key: 2 }, De = {
27
28
  key: 0,
28
29
  class: "inline-search-wrapper"
29
- }, Re = {
30
+ }, Pe = { class: "dropdown-conditions" }, Re = {
30
31
  key: 0,
31
32
  class: "no-result-container"
32
- }, ze = {
33
- key: 1,
33
+ }, ze = ["aria-selected", "aria-disabled", "onClick"], $e = {
34
+ key: 3,
34
35
  class: "loader"
35
- }, xe = { key: 2 }, $e = ["aria-selected", "aria-disabled", "onClick"], He = {
36
+ }, Me = {
36
37
  key: 1,
37
38
  class: "actions-wrapper"
38
- }, Ge = { class: "actions-clear-all" }, Ue = { class: "actions-apply-cancel" }, gt = /* @__PURE__ */ ye({
39
+ }, He = { class: "actions-clear-all" }, Ge = { class: "actions-apply-cancel" }, Tt = /* @__PURE__ */ fe({
39
40
  __name: "DropdownV4",
40
41
  props: {
41
42
  modelValue: { default: null },
@@ -45,6 +46,8 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve
45
46
  disabled: { type: Boolean, default: !1 },
46
47
  popperClass: { default: "" },
47
48
  loading: { type: Boolean },
49
+ loadMoreLoading: { type: Boolean },
50
+ infiniteLoading: { type: Boolean, default: !1 },
48
51
  testId: { default: "" },
49
52
  isOpen: { type: Boolean },
50
53
  options: null,
@@ -67,13 +70,13 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve
67
70
  triggerShowAllSelectedText: { type: Boolean, default: !0 },
68
71
  size: { default: "medium" },
69
72
  mandatory: { type: Boolean, default: !1 },
70
- predefinedTrigger: { default: p.DEFAULT },
73
+ predefinedTrigger: { default: k.DEFAULT },
71
74
  inlineSearch: { type: Boolean, default: !1 },
72
75
  inlineSearchPlaceholder: { default: "Search" },
73
76
  onSearch: { type: Function, default: null },
74
77
  noResultsText: { default: "No results found" },
75
78
  searchAutoFocus: { type: Boolean, default: !0 },
76
- onClear: { type: Function, default: () => !0 },
79
+ onClearSearch: { type: Function, default: () => !0 },
77
80
  displayValue: null,
78
81
  optionNameKey: { default: "" },
79
82
  optionIconKey: { default: "" },
@@ -81,6 +84,7 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve
81
84
  optionIconType: { default: null },
82
85
  optionEndIconKey: { default: "" },
83
86
  optionEndIconType: { default: null },
87
+ optionsEndTextIconKey: { default: null },
84
88
  optionFlagKey: { default: null },
85
89
  valueToCopy: { default: null },
86
90
  disabledOptionKey: { default: "disabled" },
@@ -94,11 +98,12 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve
94
98
  optionsListWidth: { default: null },
95
99
  statusType: { default: null },
96
100
  disableVirtualScroll: { type: Boolean, default: !1 },
97
- overrideOptionCountCalculation: { type: Function, default: null }
101
+ overrideOptionCountCalculation: { type: Function, default: null },
102
+ withConditions: { type: Boolean, default: !1 }
98
103
  },
99
- emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch"],
100
- setup(e, { expose: Y, emit: F }) {
101
- const d = e, N = {
104
+ emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch", "loadMore", "allSelectedChanged"],
105
+ setup(e, { expose: j, emit: B }) {
106
+ const d = e, F = {
102
107
  MULTILINE_LIST_HEIGHT: 48,
103
108
  LIST_HEIGHT: 32 + 4,
104
109
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -106,55 +111,55 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve
106
111
  DROPLIST_MIN_WIDTH: 240,
107
112
  VERSION: 4
108
113
  }, {
109
- onKeydown: h,
110
- open: u,
111
- toggleMenu: v,
112
- onButtonKeydown: B,
113
- query: C,
114
- containerProps: j,
115
- calculateTableHeight: J,
116
- wrapperProps: Q,
117
- filteredOptions: Z,
114
+ onKeydown: b,
115
+ open: s,
116
+ toggleMenu: I,
117
+ onButtonKeydown: N,
118
+ query: v,
119
+ containerProps: J,
120
+ calculateTableHeight: Q,
121
+ wrapperProps: Z,
122
+ filteredOptions: _,
118
123
  allSelected: V,
119
124
  allSelectedApplied: K,
120
- isIndeterminate: _,
121
- onSelectAll: ee,
122
- virtualOptions: D,
125
+ isIndeterminate: ee,
126
+ onSelectAll: te,
127
+ virtualOptions: x,
123
128
  isSelected: A,
124
- selectedOption: g,
125
- selectedOptionPrevious: O,
126
- selectedValue: te,
127
- onSelect: P,
128
- activeIndex: R,
129
+ selectedOption: h,
130
+ selectedOptionPrevious: E,
131
+ selectedValue: oe,
132
+ onSelect: D,
133
+ activeIndex: P,
129
134
  onCancel: le,
130
- onApply: oe,
131
- scrollTo: ie,
132
- listRef: ne,
133
- buttonRef: z,
134
- apply: ae,
135
- cancel: de,
136
- el: re,
137
- onClearAllSelections: x,
135
+ onApply: ie,
136
+ scrollTo: ne,
137
+ listRef: ae,
138
+ buttonRef: R,
139
+ apply: de,
140
+ cancel: re,
141
+ el: se,
142
+ onClearAllSelections: z,
138
143
  clearAll: ue,
139
- isGroup: se
140
- } = Ke(d, F, N), f = Ae(d.testId, y), $ = U(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? be : d.predefinedTrigger === p.APP ? we : null), { width: H } = Oe(z), ce = U(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? H.value - 2 > 240 ? `${H.value - 2}px` : `${N.DROPLIST_MIN_WIDTH}px` : "auto"), G = () => {
141
- v();
144
+ isGroup: ce
145
+ } = Ke(d, B, F), g = Ae(d.testId, p), $ = G(() => !d.predefinedTrigger || d.predefinedTrigger === k.DEFAULT ? be : d.predefinedTrigger === k.APP ? ve : null), { width: M } = Ee(R), ye = G(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === k.DEFAULT || d.predefinedTrigger === k.APP ? M.value - 2 > 240 ? `${M.value - 2}px` : `${F.DROPLIST_MIN_WIDTH}px` : "auto"), H = () => {
146
+ I();
142
147
  };
143
- return Y({
144
- selectItem: P,
145
- scrollTo: ie
146
- }), (T, o) => (n(), a("div", s({
148
+ return j({
149
+ selectItem: D,
150
+ scrollTo: ne
151
+ }), (c, l) => (n(), r("div", y({
147
152
  ref_key: "el",
148
- ref: re,
153
+ ref: se,
149
154
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
150
155
  tabindex: e.disabled ? -1 : 0
151
- }, t(f)[t(y).WRAPPER], {
152
- onKeydown: o[8] || (o[8] = //@ts-ignore
153
- (...l) => t(h) && t(h)(...l))
156
+ }, t(g)[t(p).WRAPPER], {
157
+ onKeydown: l[8] || (l[8] = //@ts-ignore
158
+ (...o) => t(b) && t(b)(...o))
154
159
  }), [
155
- k(T.$slots, "label", {}, void 0, !0),
156
- m("div", Ne, [
157
- i(t(Se), s({
160
+ f(c.$slots, "label", {}, void 0, !0),
161
+ m("div", Fe, [
162
+ i(t(Se), y({
158
163
  theme: e.theme,
159
164
  "popper-class": [
160
165
  e.popperClass,
@@ -167,136 +172,155 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve
167
172
  distance: e.distance,
168
173
  flip: e.flip,
169
174
  triggers: [],
170
- shown: !!t(u),
175
+ shown: !!t(s),
171
176
  "auto-hide": !1,
172
177
  container: e.container,
173
178
  "auto-size": e.autoSize
174
- }, t(f)[t(y).TRIGGER]), {
175
- popper: c(() => [
176
- i(fe, null, {
177
- default: c(() => [
178
- t(u) ? (n(), a("div", {
179
+ }, t(g)[t(p).TRIGGER]), {
180
+ popper: u(() => [
181
+ i(me, null, {
182
+ default: u(() => [
183
+ t(s) ? (n(), r("div", {
179
184
  key: 0,
180
185
  ref_key: "listRef",
181
- ref: ne,
182
- class: L(["light-theme-v4", {
186
+ ref: ae,
187
+ class: O(["light-theme-v4", {
183
188
  "dropdown--disabled": e.disabled,
184
189
  "inline-search": e.inlineSearch
185
190
  }]),
186
- style: me({ width: t(ce) })
191
+ style: pe({ width: t(ye) })
187
192
  }, [
188
- t(u) ? (n(), a("div", {
193
+ t(s) ? (n(), r("div", {
189
194
  key: 0,
190
- class: L(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
191
- onKeydown: o[7] || (o[7] = //@ts-ignore
192
- (...l) => t(h) && t(h)(...l))
195
+ class: O(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
196
+ onKeydown: l[7] || (l[7] = //@ts-ignore
197
+ (...o) => t(b) && t(b)(...o))
193
198
  }, [
194
- t(u) && e.inlineSearch ? (n(), a("div", Pe, [
195
- k(T.$slots, "inline-search", {}, () => [
196
- i(t(ve), {
197
- modelValue: t(C),
199
+ t(s) && e.inlineSearch ? (n(), r("div", De, [
200
+ e.withConditions ? f(c.$slots, "dropdown-conditions", { key: 0 }, () => [
201
+ m("div", Pe, [
202
+ i(t(Y), { variant: "body2" }, {
203
+ default: u(() => [
204
+ T("Conditions")
205
+ ]),
206
+ _: 1
207
+ })
208
+ ])
209
+ ], !0) : a("", !0),
210
+ f(c.$slots, "inline-search", {}, () => [
211
+ i(t(Ce), {
212
+ modelValue: t(v),
198
213
  "onUpdate:modelValue": [
199
- o[4] || (o[4] = (l) => pe(C) ? C.value = l : null),
200
- e.onClear
214
+ l[4] || (l[4] = (o) => ge(v) ? v.value = o : null),
215
+ e.onClearSearch
201
216
  ],
202
217
  placeholder: e.inlineSearchPlaceholder,
203
218
  variant: "transparent",
204
219
  size: "md",
205
220
  "auto-focus": e.searchAutoFocus,
206
221
  "test-id": e.testId,
207
- onKeydown: t(h)
222
+ onKeydown: t(b)
208
223
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
209
224
  ], !0)
210
- ])) : r("", !0),
211
- k(T.$slots, "input-list", { open: t(u) }, void 0, !0),
212
- m("div", s({
225
+ ])) : a("", !0),
226
+ f(c.$slots, "input-list", { open: t(s) }, void 0, !0),
227
+ m("div", y({
213
228
  class: ["list-container", { "list-container--multi": e.multi }],
214
- style: { height: `${t(J)}rem` }
229
+ style: { height: `${t(Q)}rem` }
215
230
  }, {
216
- ...t(j),
217
- ...t(f)[t(y).LIST_CONTAINER]
231
+ ...t(J),
232
+ ...t(g)[t(p).LIST_CONTAINER]
218
233
  }), [
219
- m("ul", s(t(Q), {
234
+ f(c.$slots, "custom-list-area", {}, void 0, !0),
235
+ m("ul", y(t(Z), {
220
236
  role: "listbox",
221
- class: ["list", { "list--multi": e.multi }]
237
+ class: ["list", {
238
+ "list--multi": e.multi,
239
+ "list--with-conditions": e.withConditions
240
+ }]
222
241
  }), [
223
- !t(Z).length && !e.loading ? (n(), a("li", Re, [
224
- i(t(Ce), s({ variant: "body2" }, t(f)[t(y).NO_RESULT]), {
225
- default: c(() => [
226
- b(W(e.noResultsText), 1)
242
+ !t(_).length && !e.loading && !e.withConditions ? (n(), r("li", Re, [
243
+ i(t(Y), y({ variant: "body2" }, t(g)[t(p).NO_RESULT]), {
244
+ default: u(() => [
245
+ T(U(e.noResultsText), 1)
227
246
  ]),
228
247
  _: 1
229
248
  }, 16)
230
- ])) : r("", !0),
231
- e.loading ? (n(), a("li", ze, [
232
- i(t(S), { round: "" }),
233
- i(t(S), { round: "" }),
234
- i(t(S), { round: "" }),
235
- i(t(S), { round: "" })
236
- ])) : r("", !0),
237
- e.showSelectAll !== !1 && e.multi && !t(C) && !e.loading ? (n(), a("li", xe, [
238
- i(t(q), s(
239
- {
240
- "aria-selected": t(V),
241
- "aria-disabled": !!e.disabled,
242
- "selected-prop": t(V),
243
- "is-indeterminate": t(_),
244
- "select-all-option": ""
245
- },
246
- t(f)[t(y).SELECT_ALL],
247
- {
248
- onClick: o[5] || (o[5] = M((l) => t(ee)(), ["stop"]))
249
- }
250
- ), {
251
- default: c(() => [
252
- b(" Select all ")
253
- ]),
254
- _: 1
255
- }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
256
- ])) : r("", !0),
257
- t(D).length && !e.loading ? (n(!0), a(ge, { key: 3 }, Te(t(D), ({ data: l, index: I }) => (n(), a("li", {
258
- key: I,
259
- "aria-selected": t(A)(w(t(g)), l),
249
+ ])) : a("", !0),
250
+ e.showSelectAll !== !1 && e.multi && !t(v) && !e.loading && e.options.length ? f(c.$slots, "select-all", { key: 1 }, () => [
251
+ m("li", null, [
252
+ i(t(q), y(
253
+ {
254
+ "aria-selected": t(V),
255
+ "aria-disabled": !!e.disabled,
256
+ "selected-prop": t(V),
257
+ "is-indeterminate": t(ee),
258
+ "is-multi": e.multi,
259
+ "select-all-option": ""
260
+ },
261
+ t(g)[t(p).SELECT_ALL],
262
+ {
263
+ onClick: l[5] || (l[5] = W((o) => t(te)(), ["stop"]))
264
+ }
265
+ ), {
266
+ default: u(() => [
267
+ T(" Select all ")
268
+ ]),
269
+ _: 1
270
+ }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate", "is-multi"])
271
+ ])
272
+ ], !0) : a("", !0),
273
+ t(x).length && !e.loading ? (n(!0), r(Te, { key: 2 }, ke(t(x), ({ data: o, index: w }) => (n(), r("li", {
274
+ key: w,
275
+ "aria-selected": t(A)(C(t(h)), o),
260
276
  "aria-disabled": !!e.disabled,
261
- onClick: M(() => t(P)(l, I), ["stop"])
277
+ onClick: W(() => t(D)(o, w), ["stop"])
262
278
  }, [
263
- e.groupedOptions && t(se)(l) ? k(T.$slots, "group-option", { key: 0 }, () => [
264
- i(Ee, null, {
265
- default: c(() => [
266
- b(W(e.displayValue(l) || l[e.optionNameKey]), 1)
279
+ e.groupedOptions && t(ce)(o) ? f(c.$slots, "group-option", { key: 0 }, () => [
280
+ i(Le, null, {
281
+ default: u(() => [
282
+ T(U(e.displayValue(o) || o[e.optionNameKey]), 1)
267
283
  ]),
268
284
  _: 2
269
285
  }, 1024)
270
- ], !0) : k(T.$slots, "default", {
286
+ ], !0) : f(c.$slots, "default", {
271
287
  key: 1,
272
- option: l,
273
- index: I,
274
- selected: t(A)(w(t(g)), l),
275
- active: w(t(R)) === I,
276
- disabled: l[d.disabledOptionKey]
288
+ option: o,
289
+ index: w,
290
+ selected: t(A)(C(t(h)), o),
291
+ active: C(t(P)) === w,
292
+ disabled: o[d.disabledOptionKey]
277
293
  }, () => [
278
294
  i(t(q), {
279
- option: l,
280
- "selected-prop": t(A)(w(t(g)), l),
281
- active: w(t(R)) === I,
282
- disabled: l[d.disabledOptionKey],
295
+ option: o,
296
+ "selected-prop": t(A)(t(h), o),
297
+ active: C(t(P)) === w,
298
+ disabled: o[d.disabledOptionKey],
283
299
  "name-key": e.optionNameKey,
284
300
  "image-key": e.optionImageKey,
285
301
  "icon-key": e.optionIconKey,
286
302
  "icon-type": e.optionIconType,
287
303
  "end-icon-key": e.optionEndIconKey,
288
304
  "end-icon-type": e.optionEndIconType,
305
+ "end-text-icon-key": e.optionsEndTextIconKey,
289
306
  "option-flag-key": e.optionFlagKey,
290
307
  "option-two-lines-variant": e.optionTwoLinesVariant,
291
- "option-two-lines-key": e.optionTwoLinesKey
292
- }, null, 8, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "option-flag-key", "option-two-lines-variant", "option-two-lines-key"])
308
+ "option-two-lines-key": e.optionTwoLinesKey,
309
+ "is-multi": e.multi
310
+ }, null, 8, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "option-flag-key", "option-two-lines-variant", "option-two-lines-key", "is-multi"])
293
311
  ], !0)
294
- ], 8, $e))), 128)) : r("", !0)
312
+ ], 8, ze))), 128)) : a("", !0),
313
+ e.loading || e.loadMoreLoading ? (n(), r("li", $e, [
314
+ i(t(S), { round: "" }),
315
+ i(t(S), { round: "" }),
316
+ i(t(S), { round: "" }),
317
+ i(t(S), { round: "" })
318
+ ])) : a("", !0)
295
319
  ], 16)
296
320
  ], 16),
297
- e.multi ? (n(), a("div", He, [
298
- m("div", Ge, [
299
- i(t(E), s(
321
+ e.multi ? (n(), r("div", Me, [
322
+ m("div", He, [
323
+ i(t(L), y(
300
324
  {
301
325
  ref_key: "clearAll",
302
326
  ref: ue,
@@ -304,83 +328,83 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve
304
328
  variant: "text",
305
329
  color: "primary"
306
330
  },
307
- t(f)[t(y).ACTION_CLEAR_ALL],
331
+ t(g)[t(p).ACTION_CLEAR_ALL],
308
332
  {
309
- onClick: o[6] || (o[6] = () => t(x)(!1))
333
+ onClick: l[6] || (l[6] = () => t(z)(!1))
310
334
  }
311
335
  ), {
312
- default: c(() => [
313
- b(" Clear all ")
336
+ default: u(() => [
337
+ T(" Clear all ")
314
338
  ]),
315
339
  _: 1
316
340
  }, 16)
317
341
  ]),
318
- m("div", Ue, [
319
- i(t(E), s(
342
+ m("div", Ge, [
343
+ i(t(L), y(
320
344
  {
321
345
  ref_key: "cancel",
322
- ref: de,
346
+ ref: re,
323
347
  size: "small",
324
348
  variant: "outlined",
325
349
  color: "primary"
326
350
  },
327
- t(f)[t(y).ACTION_CANCEL],
351
+ t(g)[t(p).ACTION_CANCEL],
328
352
  { onClick: t(le) }
329
353
  ), {
330
- default: c(() => [
331
- b(" Cancel ")
354
+ default: u(() => [
355
+ T(" Cancel ")
332
356
  ]),
333
357
  _: 1
334
358
  }, 16, ["onClick"]),
335
- i(t(E), s({
359
+ i(t(L), y({
336
360
  ref_key: "apply",
337
- ref: ae,
361
+ ref: de,
338
362
  "data-testid": "mutli-apply",
339
363
  size: "small",
340
364
  class: "apply-button"
341
- }, t(f)[t(y).ACTION_APPLY], { onClick: t(oe) }), {
342
- default: c(() => [
343
- b(" Apply ")
365
+ }, t(g)[t(p).ACTION_APPLY], { onClick: t(ie) }), {
366
+ default: u(() => [
367
+ T(" Apply ")
344
368
  ]),
345
369
  _: 1
346
370
  }, 16, ["onClick"])
347
371
  ])
348
- ])) : r("", !0)
349
- ], 34)) : r("", !0)
350
- ], 6)) : r("", !0)
372
+ ])) : a("", !0)
373
+ ], 34)) : a("", !0)
374
+ ], 6)) : a("", !0)
351
375
  ]),
352
376
  _: 3
353
377
  })
354
378
  ]),
355
- default: c(() => [
379
+ default: u(() => [
356
380
  m("div", {
357
- class: L(["button__container", {
358
- "button__container--open": !!t(u),
381
+ class: O(["button__container", {
382
+ "button__container--open": !!t(s),
359
383
  [`button__container--${e.size}`]: !0,
360
384
  "button__container--disabled": e.disabled
361
385
  }])
362
386
  }, [
363
387
  m("div", {
364
388
  ref_key: "buttonRef",
365
- ref: z
389
+ ref: R
366
390
  }, [
367
- k(T.$slots, "dropdown-trigger", {
391
+ f(c.$slots, "dropdown-trigger", {
368
392
  buttonTriggerProps: {
369
- open: t(u),
393
+ open: t(s),
370
394
  disabled: e.disabled,
371
- label: t(te) || e.placeholder,
372
- onClick: () => t(v)()
395
+ label: t(oe) || e.placeholder,
396
+ onClick: () => t(I)()
373
397
  },
374
398
  defaultTriggerProps: {
375
399
  placeholder: e.placeholder,
376
- open: t(u),
400
+ open: t(s),
377
401
  label: e.triggerLabel,
378
402
  showFeedbackIcon: e.triggerFeedbackShowIcon,
379
403
  mandatory: e.mandatory,
380
404
  testId: e.testId,
381
405
  multi: e.multi,
382
406
  disabled: e.disabled,
383
- selectedOption: e.multi ? t(O) : t(g),
407
+ selectedOption: e.multi ? t(E) : t(h),
384
408
  displayValue: e.displayValue,
385
409
  options: e.options,
386
410
  optionNameKey: e.optionNameKey,
@@ -389,6 +413,7 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve
389
413
  optionIconType: e.optionIconType,
390
414
  optionAndIconKey: e.optionEndIconKey,
391
415
  optionEndIconType: e.optionEndIconType,
416
+ optionsEndTextIconKey: e.optionsEndTextIconKey,
392
417
  optionFlagKey: e.optionFlagKey,
393
418
  feedbackVariant: e.triggerFeedbackVariant,
394
419
  valueToCopy: e.valueToCopy,
@@ -396,21 +421,21 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve
396
421
  size: e.size,
397
422
  showAllSelectedText: e.triggerShowAllSelectedText,
398
423
  allSelected: t(K),
399
- onKeydown: t(B),
400
- onClick: G
424
+ onKeydown: t(N),
425
+ onClick: H
401
426
  }
402
427
  }, () => [
403
- t($) ? (n(), a("div", Be, [
404
- (n(), X(ke(t($)), {
428
+ t($) ? (n(), r("div", Ne, [
429
+ (n(), X(he(t($)), {
405
430
  placeholder: e.placeholder,
406
- open: t(u),
431
+ open: t(s),
407
432
  label: e.triggerLabel,
408
433
  "show-feedback-icon": e.triggerFeedbackShowIcon,
409
434
  mandatory: e.mandatory,
410
435
  "test-id": e.testId,
411
436
  multi: e.multi,
412
437
  disabled: e.disabled,
413
- "selected-option": e.multi ? t(O) : t(g),
438
+ "selected-option": e.multi ? t(E) : t(h),
414
439
  "display-value": e.displayValue,
415
440
  options: e.options,
416
441
  "option-name-key": e.optionNameKey,
@@ -419,6 +444,7 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve
419
444
  "option-icon-type": e.optionIconType,
420
445
  "option-end-icon-key": e.optionEndIconKey,
421
446
  "option-end-icon-type": e.optionEndIconType,
447
+ "options-end-text-icon-key": e.optionsEndTextIconKey,
422
448
  "option-flag-key": e.optionFlagKey,
423
449
  "feedback-variant": e.triggerFeedbackVariant,
424
450
  "value-to-copy": e.valueToCopy,
@@ -426,48 +452,48 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Be = { key: 0 }, Ve
426
452
  size: e.size,
427
453
  "show-all-selected-text": e.triggerShowAllSelectedText,
428
454
  "all-selected": t(K),
429
- onKeydown: t(B),
430
- onClick: G,
431
- onCopyToClipboard: o[0] || (o[0] = (l) => F("copyToClipboard"))
432
- }, 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", "option-flag-key", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "all-selected", "onKeydown"]))
433
- ])) : r("", !0),
434
- e.predefinedTrigger === t(p).ICON_BUTTON ? (n(), a("div", Ve, [
435
- i(t(he), {
436
- onClick: o[1] || (o[1] = (l) => t(v)())
455
+ onKeydown: t(N),
456
+ onClick: H,
457
+ onCopyToClipboard: l[0] || (l[0] = (o) => B("copyToClipboard"))
458
+ }, 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", "options-end-text-icon-key", "option-flag-key", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "all-selected", "onKeydown"]))
459
+ ])) : a("", !0),
460
+ e.predefinedTrigger === t(k).ICON_BUTTON ? (n(), r("div", Ve, [
461
+ i(t(we), {
462
+ onClick: l[1] || (l[1] = (o) => t(I)())
437
463
  })
438
- ])) : r("", !0),
439
- e.predefinedTrigger === t(p).CHIP ? (n(), a("div", De, [
464
+ ])) : a("", !0),
465
+ e.predefinedTrigger === t(k).CHIP ? (n(), r("div", xe, [
440
466
  i(t(Ie), {
441
- open: t(u),
467
+ open: t(s),
442
468
  label: e.placeholder,
443
469
  "test-id": e.testId,
444
470
  options: e.options,
445
- "selected-option": e.multi ? t(O) : t(g),
471
+ "selected-option": e.multi ? t(E) : t(h),
446
472
  "display-value": e.displayValue,
447
473
  multi: e.multi,
448
474
  "all-selected": t(K),
449
- onClick: o[2] || (o[2] = (l) => t(v)()),
450
- onClear: o[3] || (o[3] = (l) => t(x)())
475
+ onClick: l[2] || (l[2] = (o) => t(I)()),
476
+ onClear: l[3] || (l[3] = (o) => t(z)())
451
477
  }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected"])
452
- ])) : r("", !0)
478
+ ])) : a("", !0)
453
479
  ], !0)
454
480
  ], 512)
455
481
  ], 2)
456
482
  ]),
457
483
  _: 3
458
484
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
459
- e.triggerFeedbackText ? (n(), X(Le, {
485
+ e.triggerFeedbackText ? (n(), X(Oe, {
460
486
  key: 0,
461
487
  text: e.triggerFeedbackText,
462
488
  variant: e.triggerFeedbackVariant,
463
489
  "show-icon": e.triggerFeedbackShowIcon,
464
490
  "test-id": e.testId,
465
491
  class: "dropdown-field-help-text"
466
- }, null, 8, ["text", "variant", "show-icon", "test-id"])) : r("", !0)
492
+ }, null, 8, ["text", "variant", "show-icon", "test-id"])) : a("", !0)
467
493
  ])
468
- ], 16, Fe));
494
+ ], 16, Be));
469
495
  }
470
496
  });
471
497
  export {
472
- gt as default
498
+ Tt as default
473
499
  };