@ironsource/shared-ui 2.1.11-rc.2 → 2.1.11-rc.20

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 (78) hide show
  1. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
  2. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_ba28c717_lang.css +1 -0
  3. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_93545ce0_lang.css +1 -0
  4. package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
  5. package/DropdownV4.vue_vue_type_style_index_0_scoped_5c7bcf85_lang.css +1 -0
  6. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
  7. package/OptionV4.vue_vue_type_style_index_0_scoped_df830bf5_lang.css +1 -0
  8. package/PopoverV4.vue_vue_type_style_index_0_scoped_052bc376_lang.css +1 -0
  9. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +1 -0
  10. package/TextField.vue_vue_type_style_index_0_scoped_2e327aa1_lang.css +1 -0
  11. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
  12. package/TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css +1 -0
  13. package/TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css +1 -0
  14. package/components/autocomplete/Autocomplete.vue2.js +3 -2
  15. package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
  16. package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
  17. package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
  18. package/components/button/v4/index.d.ts +9 -3
  19. package/components/chart/SettingsHeader.vue.js +3 -3
  20. package/components/chart/SettingsHeader.vue2.js +34 -26
  21. package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
  22. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  23. package/components/dateRange/v4/DateRangeV4.vue2.js +9 -9
  24. package/components/dropdown/common/Dropdown.common.js +174 -171
  25. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  26. package/components/dropdown/v3/index.d.ts +39 -39
  27. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
  28. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  29. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
  30. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
  31. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +66 -44
  32. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +75 -0
  33. package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
  34. package/components/dropdown/v4/ConditionalDropdown.vue2.js +159 -0
  35. package/components/dropdown/v4/DropdownV4.vue.d.ts +15 -1
  36. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  37. package/components/dropdown/v4/DropdownV4.vue2.js +208 -184
  38. package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
  39. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  40. package/components/dropdown/v4/OptionV4.vue2.js +135 -98
  41. package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
  42. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  43. package/components/dropdown/v4/TreeDropdown.vue2.js +161 -116
  44. package/components/dropdown/v4/index.d.ts +294 -67
  45. package/components/dropdown/v4/index.js +6 -3
  46. package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
  47. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  48. package/components/inlineCopy/InlineCopy.vue2.js +24 -22
  49. package/components/inlineCopy/index.d.ts +9 -0
  50. package/components/input/v4/TextField.vue.js +3 -3
  51. package/components/input/v4/TextField.vue2.js +12 -12
  52. package/components/multibar/MultiBarMenu.vue2.js +3 -2
  53. package/components/popover/v4/PopoverV4.vue.d.ts +9 -2
  54. package/components/popover/v4/PopoverV4.vue.js +4 -3
  55. package/components/popover/v4/PopoverV4.vue2.js +36 -22
  56. package/components/popover/v4/index.d.ts +36 -11
  57. package/components/table/common/Table.common.js +26 -28
  58. package/components/table/v4/DataGridMenu.vue2.js +3 -2
  59. package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
  60. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  61. package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
  62. package/components/tooltip/v4/index.d.ts +39 -1
  63. package/index.d.ts +770 -161
  64. package/index.js +1 -1
  65. package/mocks/options.d.ts +48 -2
  66. package/package.json +3 -2
  67. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
  68. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
  69. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
  70. package/DropdownV4.vue_vue_type_style_index_0_scoped_991a7aad_lang.css +0 -1
  71. package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
  72. package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
  73. package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
  74. package/SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css +0 -1
  75. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
  76. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
  77. package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
  78. package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +0 -1
@@ -1,19 +1,22 @@
1
- import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css"; import { defineComponent as F, provide as R, ref as c, onMounted as G, watch as m, computed as H, openBlock as v, createBlock as U, unref as d, withCtx as g, createVNode as k, normalizeProps as J, guardReactiveProps as Q, createSlots as W, renderSlot as X, withModifiers as N, createElementBlock as q, withDirectives as Y, createElementVNode as Z, Fragment as _, renderList as ee, vShow as ne, createCommentVNode as oe } from "vue";
2
- import te from "./DropdownV4.vue.js";
3
- import le from "./DefaultDropdownTrigger.vue.js";
1
+ import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css"; import { defineComponent as ee, provide as le, ref as c, computed as K, onMounted as ne, watch as g, openBlock as C, createBlock as D, unref as d, withCtx as h, createVNode as I, mergeProps as z, createSlots as te, renderSlot as oe, createElementVNode as M, withModifiers as w, createTextVNode as ie, createElementBlock as B, withDirectives as de, Fragment as ae, renderList as se, vShow as re, createCommentVNode as ce } from "vue";
2
+ import ue from "./DropdownV4.vue.js";
3
+ import pe from "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
5
5
  import "./ChipDropdownTrigger.vue.js";
6
6
  import "./AppDropdownTrigger.vue.js";
7
7
  import "./ButtonDropdownTrigger.vue.js";
8
8
  import "./ButtonFilterDropdownTrigger.vue.js";
9
9
  import "./TreeDropdown.vue.js";
10
- import x from "./OptionV4.vue.js";
11
- import { useChildOptions as ie } from "../composables/useChildOptions.js";
12
- import de from "../../search/v4/SearchV4.vue.js";
13
- const ae = {
10
+ import S from "./OptionV4.vue.js";
11
+ import "./ConditionalDropdown.vue.js";
12
+ import { useChildOptions as ye } from "../composables/useChildOptions.js";
13
+ import he from "../../search/v4/SearchV4.vue.js";
14
+ import { useTestIdAttrs as fe } from "../../../utils/testIds.js";
15
+ import { DropdownTestIdModifiers as $ } from "../../../testids/index.js";
16
+ const ve = {
14
17
  key: 0,
15
18
  class: "child-options"
16
- }, Ce = /* @__PURE__ */ F({
19
+ }, qe = /* @__PURE__ */ ee({
17
20
  __name: "TreeDropdown",
18
21
  props: {
19
22
  options: null,
@@ -31,6 +34,7 @@ const ae = {
31
34
  optionIconType: { default: null },
32
35
  optionEndIconKey: { default: "" },
33
36
  optionEndIconType: { default: null },
37
+ optionEndTextIconKey: { default: null },
34
38
  valueToCopy: { default: null },
35
39
  disabledOptionKey: { default: "disabled" },
36
40
  optionChildrenKey: null,
@@ -38,107 +42,121 @@ const ae = {
38
42
  preExpandedOptions: null
39
43
  },
40
44
  emits: ["update:selected", "update:isOpen"],
41
- setup(t, { emit: I }) {
42
- const o = t;
43
- R("isTreeDropdown", !0);
44
- const h = c([]), f = c([]), O = c({}), w = c(!1), i = c([...o.selected]), u = c(""), b = () => {
45
- o.options.forEach((n) => {
46
- n[o.optionChildrenKey] && n[o.optionChildrenKey].length && (O.value[n[o.optionUniqueIdKey]] = [
47
- ...n[o.optionChildrenKey]
45
+ setup(t, { emit: b }) {
46
+ const l = t;
47
+ le("isTreeDropdown", !0);
48
+ const m = c([]), u = c([]), T = c({}), x = c(!1), i = c([...l.selected]), p = c(""), O = c(!0), N = K(() => u.value.reduce((e, o) => (o[l.optionChildrenKey] && o[l.optionChildrenKey].length && o[l.optionChildrenKey].forEach(() => {
49
+ e = e + 1;
50
+ }), o[l.optionChildrenKey] || (e = e + 1), e), 0)), U = () => {
51
+ l.options.forEach((e) => {
52
+ e[l.optionChildrenKey] && e[l.optionChildrenKey].length && (T.value[e[l.optionUniqueIdKey]] = [
53
+ ...e[l.optionChildrenKey]
48
54
  ]);
49
- }), h.value = [...o.options], f.value = [...o.options];
50
- }, { hasChildren: p, getChildren: y, allChildrenSelected: K, someChildrenSelected: z } = ie(i, o.optionChildrenKey), E = (n) => {
51
- if (p(n)) {
52
- K(n) ? i.value = i.value.filter(
53
- (l) => !y(n).includes(l)
55
+ }), m.value = [...l.options], u.value = [...l.options];
56
+ }, { hasChildren: f, getChildren: v, allChildrenSelected: k, someChildrenSelected: P } = ye(i, l.optionChildrenKey), q = (e) => {
57
+ if (f(e)) {
58
+ k(e) ? i.value = i.value.filter(
59
+ (o) => !v(e).includes(o)
54
60
  ) : i.value = [
55
- ...i.value.filter((l) => !y(n).includes(l)),
56
- ...y(n)
61
+ ...i.value.filter((o) => !v(e).includes(o)),
62
+ ...v(e)
57
63
  ];
58
64
  return;
59
65
  }
60
- i.value.includes(n) ? i.value = i.value.filter(
61
- (l) => l !== n
62
- ) : i.value = [...i.value, n];
63
- }, S = (n) => i.value.includes(n), V = (n) => 1 + (p(n) ? y(n).length : 0), D = () => {
64
- I("update:selected", i.value);
65
- }, B = () => {
66
+ i.value.includes(e) ? i.value = i.value.filter(
67
+ (o) => o !== e
68
+ ) : i.value = [...i.value, e];
69
+ }, A = (e) => i.value.includes(e), j = (e) => 1 + (f(e) ? v(e).length : 0), F = () => {
70
+ b("update:selected", i.value), L.value = y.value;
71
+ }, G = () => {
66
72
  i.value = [];
67
- }, L = () => {
68
- const n = /* @__PURE__ */ new Set([]);
69
- f.value.forEach((e) => {
70
- if (o.selected?.includes(e))
71
- n.add(e);
72
- else if (e[o.optionChildrenKey] && e[o.optionChildrenKey].length) {
73
- for (const s of e[o.optionChildrenKey])
74
- if (o.selected?.includes(s)) {
75
- n.add(e);
73
+ }, H = () => {
74
+ const e = /* @__PURE__ */ new Set([]);
75
+ u.value.forEach((n) => {
76
+ if (l.selected?.includes(n))
77
+ e.add(n);
78
+ else if (n[l.optionChildrenKey] && n[l.optionChildrenKey].length) {
79
+ for (const s of n[l.optionChildrenKey])
80
+ if (l.selected?.includes(s)) {
81
+ e.add(n);
76
82
  break;
77
83
  }
78
84
  }
79
85
  });
80
- const l = Array.from(n);
81
- return f.value.forEach((e) => {
82
- !o.selected.includes(e) && !n.has(e) && l.push(e);
83
- }), l;
86
+ const o = Array.from(e);
87
+ return u.value.forEach((n) => {
88
+ !l.selected.includes(n) && !e.has(n) && o.push(n);
89
+ }), o;
84
90
  };
85
- G(() => {
86
- w.value || (b(), w.value = !0, o.preExpandedOptions && o.preExpandedOptions.forEach((n) => {
87
- a.value[n] = 1;
91
+ ne(() => {
92
+ x.value || (U(), x.value = !0, l.preExpandedOptions && l.preExpandedOptions.forEach((e) => {
93
+ a.value[e] = 1;
88
94
  }));
89
- }), m(
90
- () => o.options,
95
+ }), g(
96
+ () => l.options,
91
97
  () => {
92
- b();
98
+ U();
93
99
  }
94
- ), m(
95
- () => o.selected,
100
+ ), g(
101
+ () => l.selected,
96
102
  () => {
97
- i.value = [...o.selected];
103
+ i.value = [...l.selected];
98
104
  }
99
- ), m(
100
- () => o.isOpen,
105
+ );
106
+ const y = K(() => i.value.length < N.value ? !1 : i.value.length === N.value), J = K(() => !y.value && i.value.length > 0), L = c(y.value);
107
+ g(
108
+ () => l.isOpen,
101
109
  () => {
102
- o.isOpen ? h.value = L() : (i.value = [...o.selected], u.value = "");
110
+ l.isOpen ? m.value = H() : (i.value = [...l.selected], p.value = "");
103
111
  }
104
112
  );
105
- const a = c({}), M = (n) => {
106
- a.value[n[o.optionUniqueIdKey]] ? delete a.value[n[o.optionUniqueIdKey]] : a.value[n[o.optionUniqueIdKey]] = 1;
113
+ const a = c({}), Q = (e) => {
114
+ a.value[e[l.optionUniqueIdKey]] ? delete a.value[e[l.optionUniqueIdKey]] : a.value[e[l.optionUniqueIdKey]] = 1;
107
115
  };
108
- function P(n, l) {
109
- const e = n.toLowerCase(), s = [];
110
- return l.value.forEach((r) => {
111
- const C = r[o.optionNameKey].toLowerCase().includes(e), T = O.value[r[o.optionUniqueIdKey]]?.filter(
112
- (j) => j[o.optionNameKey].toLowerCase().includes(e)
116
+ function R(e, o) {
117
+ const n = e.toLowerCase(), s = [];
118
+ return o.value.forEach((r) => {
119
+ const E = r[l.optionNameKey].toLowerCase().includes(n), V = T.value[r[l.optionUniqueIdKey]]?.filter(
120
+ (_) => _[l.optionNameKey].toLowerCase().includes(n)
113
121
  ) || [];
114
- (C || T.length > 0) && (r[o.optionChildrenKey] = T, s.push(r));
122
+ (E || V.length > 0) && (r[l.optionChildrenKey] = V, s.push(r));
115
123
  }), s;
116
124
  }
117
- const A = (n) => {
118
- const l = P(n, f);
119
- n && (Object.keys(a.value).forEach((e) => {
120
- delete a.value[e];
121
- }), l.forEach((e) => {
122
- Array.isArray(e[o.optionChildrenKey]) && e[o.optionChildrenKey].length && (a.value[e[o.optionUniqueIdKey]] = 1);
123
- })), h.value = l;
124
- }, $ = H(() => {
125
- const n = o.options.length, l = o.options.reduce(
126
- (e, s) => (a.value[s[o.optionUniqueIdKey]] && (e = e + s[o.optionChildrenKey].length), e),
125
+ const W = (e) => {
126
+ const o = R(e, u);
127
+ e && (Object.keys(a.value).forEach((n) => {
128
+ delete a.value[n];
129
+ }), o.forEach((n) => {
130
+ Array.isArray(n[l.optionChildrenKey]) && n[l.optionChildrenKey].length && (a.value[n[l.optionUniqueIdKey]] = 1);
131
+ })), m.value = o;
132
+ }, X = K(() => {
133
+ const e = l.options.length, o = l.options.reduce(
134
+ (n, s) => (a.value[s[l.optionUniqueIdKey]] && (n = n + s[l.optionChildrenKey].length), n),
127
135
  0
128
136
  );
129
- return n + l;
137
+ return e + o;
130
138
  });
131
- return m(
132
- () => u.value,
139
+ g(
140
+ () => p.value,
133
141
  () => {
134
- A(u.value);
142
+ W(p.value), O.value = !p.value;
135
143
  }
136
- ), (n, l) => (v(), U(d(te), {
144
+ );
145
+ const Y = () => {
146
+ y.value ? i.value = [] : (i.value = [], u.value.forEach((e) => {
147
+ if (e[l.optionChildrenKey] && e[l.optionChildrenKey].length)
148
+ for (const o of e[l.optionChildrenKey])
149
+ i.value = [o, ...i.value];
150
+ else
151
+ i.value = [e, ...i.value];
152
+ }));
153
+ }, Z = fe(l.testId, $);
154
+ return (e, o) => (C(), D(d(ue), {
137
155
  multi: "",
138
156
  class: "tree-dropdown",
139
- "show-select-all": !1,
157
+ "show-select-all": O.value,
140
158
  "is-open": t.isOpen,
141
- options: h.value,
159
+ options: m.value,
142
160
  selected: t.selected,
143
161
  "display-value": t.displayValue,
144
162
  placeholder: t.placeholder,
@@ -149,29 +167,33 @@ const ae = {
149
167
  "test-id": t.testId,
150
168
  disabled: t.disabled,
151
169
  "disable-virtual-scroll": "",
152
- "override-option-count-calculation": V,
170
+ "override-option-count-calculation": j,
153
171
  "trigger-show-all-selected-text": !1,
154
172
  "predefined-trigger": "default",
155
- "custom-number-of-displayed-options": d($),
156
- "onUpdate:isOpen": l[1] || (l[1] = (e) => I("update:isOpen", e)),
157
- onApply: D,
158
- onClear: B
173
+ "custom-number-of-displayed-options": d(X),
174
+ "onUpdate:isOpen": o[2] || (o[2] = (n) => b("update:isOpen", n)),
175
+ onApply: F,
176
+ onClear: G
159
177
  }, {
160
- "dropdown-trigger": g(({ defaultTriggerProps: e }) => [
161
- k(d(le), J(Q(e)), W({ _: 2 }, [
162
- n.$slots["trigger-end-icon"] ? {
178
+ "dropdown-trigger": h(({ defaultTriggerProps: n }) => [
179
+ I(d(pe), z(n, {
180
+ "all-selected": L.value,
181
+ "show-all-selected-text": ""
182
+ }), te({ _: 2 }, [
183
+ e.$slots["trigger-end-icon"] ? {
163
184
  name: "end-icon",
164
- fn: g(() => [
165
- X(n.$slots, "trigger-end-icon", {}, void 0, !0)
185
+ fn: h(() => [
186
+ oe(e.$slots, "trigger-end-icon", {}, void 0, !0)
166
187
  ]),
167
188
  key: "0"
168
189
  } : void 0
169
- ]), 1040)
190
+ ]), 1040, ["all-selected"])
170
191
  ]),
171
- "inline-search": g(() => [
172
- k(d(de), {
173
- modelValue: u.value,
174
- "onUpdate:modelValue": l[0] || (l[0] = (e) => u.value = e),
192
+ "inline-search": h(() => [
193
+ I(d(he), {
194
+ modelValue: p.value,
195
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => p.value = n),
196
+ class: "tree-search",
175
197
  placeholder: t.inlineSearchPlaceholder,
176
198
  variant: "transparent",
177
199
  size: "md",
@@ -179,30 +201,51 @@ const ae = {
179
201
  "test-id": t.testId
180
202
  }, null, 8, ["modelValue", "placeholder", "test-id"])
181
203
  ]),
182
- default: g(({ option: e, index: s }) => [
183
- k(d(x), {
184
- option: e,
185
- "selected-prop": d(p)(e) ? d(K)(e) : S(e),
186
- "is-indeterminate": !d(K)(e) && d(z)(e),
187
- disabled: e[t.disabledOptionKey],
204
+ "select-all": h(() => [
205
+ M("li", null, [
206
+ I(d(S), z({
207
+ "aria-selected": d(y),
208
+ "aria-disabled": !!t.disabled,
209
+ "selected-prop": d(y),
210
+ "is-indeterminate": d(J),
211
+ "is-multi": "",
212
+ "select-all-option": ""
213
+ }, d(Z)[d($).SELECT_ALL], {
214
+ onClick: o[1] || (o[1] = w((n) => Y(), ["stop"]))
215
+ }), {
216
+ default: h(() => [
217
+ ie(" Select all ")
218
+ ]),
219
+ _: 1
220
+ }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
221
+ ])
222
+ ]),
223
+ default: h(({ option: n, index: s }) => [
224
+ I(d(S), {
225
+ option: n,
226
+ "selected-prop": d(f)(n) ? d(k)(n) : A(n),
227
+ "is-indeterminate": !d(k)(n) && d(P)(n),
228
+ disabled: n[t.disabledOptionKey],
188
229
  "name-key": t.optionNameKey,
189
230
  "image-key": t.optionImageKey,
190
231
  "icon-key": t.optionIconKey,
191
232
  "icon-type": t.optionIconType,
192
233
  "end-icon-key": t.optionEndIconKey,
193
234
  "end-icon-type": t.optionEndIconType,
194
- "tree-main-option": d(p)(e),
195
- "tree-main-option-expanded": a.value[e[t.optionUniqueIdKey]],
235
+ "end-text-icon-key": t.optionEndTextIconKey,
236
+ "tree-main-option": d(f)(n),
237
+ "tree-main-option-expanded": a.value[n[t.optionUniqueIdKey]],
196
238
  "stop-option-click-event-propagation": "",
197
- onClick: N(() => E(e), ["stop"]),
198
- onToggleTreeCollapse: M
199
- }, null, 8, ["option", "selected-prop", "is-indeterminate", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "tree-main-option", "tree-main-option-expanded", "onClick"]),
200
- d(p)(e) ? (v(), q("div", ae, [
201
- Y(Z("div", null, [
202
- (v(!0), q(_, null, ee(d(y)(e), (r, C) => (v(), U(d(x), {
203
- key: `${s}-${C}`,
239
+ "is-multi": "",
240
+ onClick: w(() => q(n), ["stop"]),
241
+ onToggleTreeCollapse: Q
242
+ }, null, 8, ["option", "selected-prop", "is-indeterminate", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "tree-main-option", "tree-main-option-expanded", "onClick"]),
243
+ d(f)(n) ? (C(), B("div", ve, [
244
+ de(M("div", null, [
245
+ (C(!0), B(ae, null, se(d(v)(n), (r, E) => (C(), D(d(S), {
246
+ key: `${s}-${E}`,
204
247
  option: r,
205
- "selected-prop": S(r),
248
+ "selected-prop": A(r),
206
249
  disabled: r[t.disabledOptionKey],
207
250
  "name-key": t.optionNameKey,
208
251
  "image-key": t.optionImageKey,
@@ -210,19 +253,21 @@ const ae = {
210
253
  "icon-type": t.optionIconType,
211
254
  "end-icon-key": t.optionEndIconKey,
212
255
  "end-icon-type": t.optionEndIconType,
213
- "tree-child-shown": a.value[e[t.optionUniqueIdKey]],
256
+ "end-text-icon-key": t.optionEndTextIconKey,
257
+ "tree-child-shown": a.value[n[t.optionUniqueIdKey]],
214
258
  "stop-option-click-event-propagation": "",
215
- onClick: N(() => E(r), ["stop"])
216
- }, null, 8, ["option", "selected-prop", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "tree-child-shown", "onClick"]))), 128))
259
+ "is-multi": "",
260
+ onClick: w(() => q(r), ["stop"])
261
+ }, null, 8, ["option", "selected-prop", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "tree-child-shown", "onClick"]))), 128))
217
262
  ], 512), [
218
- [ne, a.value[e[t.optionUniqueIdKey]]]
263
+ [re, a.value[n[t.optionUniqueIdKey]]]
219
264
  ])
220
- ])) : oe("", !0)
265
+ ])) : ce("", !0)
221
266
  ]),
222
267
  _: 3
223
- }, 8, ["is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "option-name-key", "size", "test-id", "disabled", "custom-number-of-displayed-options"]));
268
+ }, 8, ["show-select-all", "is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "option-name-key", "size", "test-id", "disabled", "custom-number-of-displayed-options"]));
224
269
  }
225
270
  });
226
271
  export {
227
- Ce as default
272
+ qe as default
228
273
  };