@ironsource/shared-ui 2.1.7-test.7 → 2.1.7-test.9

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 (41) hide show
  1. package/DataGrid.vue_vue_type_style_index_0_scoped_706b324e_lang.css +1 -0
  2. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +1 -0
  3. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_98819e5a_lang.css +1 -0
  4. package/DropdownV4.vue_vue_type_style_index_0_scoped_00ccab6b_lang.css +1 -0
  5. package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +1 -0
  6. package/README.md +1 -1
  7. package/TreeDropdown.vue_vue_type_style_index_0_scoped_5efe563d_lang.css +1 -0
  8. package/components/dropdown/common/Dropdown.common.js +89 -89
  9. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +1 -0
  10. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  11. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +32 -29
  12. package/components/dropdown/v4/DropdownV4.vue.d.ts +29 -0
  13. package/components/dropdown/v4/DropdownV4.vue.js +4 -4
  14. package/components/dropdown/v4/DropdownV4.vue2.js +186 -158
  15. package/components/dropdown/v4/OptionV4.vue.d.ts +26 -2
  16. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  17. package/components/dropdown/v4/OptionV4.vue2.js +94 -71
  18. package/components/dropdown/v4/TreeDropdown.vue.d.ts +21 -16
  19. package/components/dropdown/v4/TreeDropdown.vue.js +4 -4
  20. package/components/dropdown/v4/TreeDropdown.vue2.js +162 -74
  21. package/components/dropdown/v4/index.d.ts +451 -82
  22. package/components/table/common/Table.common.js +68 -71
  23. package/components/table/v4/DataGrid.vue.d.ts +4 -10
  24. package/components/table/v4/DataGrid.vue.js +3 -3
  25. package/components/table/v4/DataGrid.vue2.js +134 -128
  26. package/components/table/v4/DataGridRowsCounter.vue.js +2 -2
  27. package/components/table/v4/DataGridRowsCounter.vue2.js +13 -14
  28. package/components/table/v4/MultipleDataGrid.vue.d.ts +2 -2
  29. package/components/table/v4/index.d.ts +7 -41
  30. package/components/table/v4/storyUtils.d.ts +0 -4
  31. package/index.d.ts +1203 -533
  32. package/mocks/options.d.ts +12 -0
  33. package/package.json +1 -1
  34. package/DataGrid.vue_vue_type_style_index_0_scoped_5273976b_lang.css +0 -1
  35. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
  36. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_0345d6b1_lang.css +0 -1
  37. package/DropdownV4.vue_vue_type_style_index_0_scoped_938772ee_lang.css +0 -1
  38. package/OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css +0 -1
  39. package/TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css +0 -1
  40. package/utils/formatNumbers.d.ts +0 -4
  41. package/utils/formatNumbers.js +0 -11
@@ -1,35 +1,35 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_938772ee_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 t, renderSlot as I, 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";
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
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 ve } from "floating-vue";
16
- import { DropdownTestIdModifiers as f } from "../../../testids/index.js";
17
- import { dropdownCommon as Ie } from "../common/Dropdown.common.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
+ 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 Le from "../../shared/FieldHelpText.vue.js";
23
- const Oe = ["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
- }, Ve = { key: 2 }, Fe = ["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 Oe = ["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 },
@@ -89,9 +89,9 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
89
89
  disableVirtualScroll: { type: Boolean, default: !1 },
90
90
  overrideOptionCountCalculation: { type: Function, default: null }
91
91
  },
92
- emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard"],
93
- setup(e, { expose: M, emit: O }) {
94
- const d = e, 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 = {
95
95
  MULTILINE_LIST_HEIGHT: 48,
96
96
  LIST_HEIGHT: 32 + 4,
97
97
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -99,53 +99,53 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
99
99
  DROPLIST_MIN_WIDTH: 240,
100
100
  VERSION: 4
101
101
  }, {
102
- onKeydown: T,
102
+ onKeydown: b,
103
103
  open: s,
104
- toggleMenu: w,
105
- onButtonKeydown: G,
104
+ toggleMenu: v,
105
+ onButtonKeydown: B,
106
106
  query: C,
107
- containerProps: X,
108
- calculateTableHeight: q,
109
- wrapperProps: Y,
110
- filteredOptions: j,
111
- allSelected: B,
112
- isIndeterminate: J,
113
- onSelectAll: Q,
114
- 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,
115
115
  isSelected: S,
116
- selectedOption: k,
117
- selectedOptionPrevious: N,
118
- selectedValue: Z,
119
- onSelect: D,
120
- activeIndex: P,
121
- onCancel: _,
122
- onApply: ee,
123
- 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,
124
124
  listRef: le,
125
- buttonRef: R,
126
- apply: oe,
127
- cancel: ie,
128
- el: ne,
129
- onClearAllSelections: V,
130
- clearAll: ae
131
- } = Ie(d, O, E), y = Se(d.testId, f), F = 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 = () => {
132
- 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();
133
133
  };
134
- return M({
135
- selectItem: D,
136
- scrollTo: te
137
- }), (v, o) => (i(), n("div", u({
134
+ return X({
135
+ selectItem: F,
136
+ scrollTo: oe
137
+ }), (k, l) => (i(), n("div", u({
138
138
  ref_key: "el",
139
- ref: ne,
139
+ ref: ae,
140
140
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
141
141
  tabindex: e.disabled ? -1 : 0
142
- }, t(y)[t(f).WRAPPER], {
143
- onKeydown: o[8] || (o[8] = //@ts-ignore
144
- (...l) => t(T) && t(T)(...l))
142
+ }, t(f)[t(y).WRAPPER], {
143
+ onKeydown: l[8] || (l[8] = //@ts-ignore
144
+ (...o) => t(b) && t(b)(...o))
145
145
  }), [
146
- I(v.$slots, "label", {}, void 0, !0),
147
- p("div", Ee, [
148
- a(t(ve), u({
146
+ I(k.$slots, "label", {}, void 0, !0),
147
+ m("div", Ee, [
148
+ a(t(we), u({
149
149
  theme: e.theme,
150
150
  "popper-class": [
151
151
  e.popperClass,
@@ -162,7 +162,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
162
162
  "auto-hide": !1,
163
163
  container: e.container,
164
164
  "auto-size": e.autoSize
165
- }, t(y)[t(f).TRIGGER]), {
165
+ }, t(f)[t(y).TRIGGER]), {
166
166
  popper: c(() => [
167
167
  a(ue, null, {
168
168
  default: c(() => [
@@ -170,100 +170,102 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
170
170
  key: 0,
171
171
  ref_key: "listRef",
172
172
  ref: le,
173
- class: A(["light-theme-v4", {
173
+ class: K(["light-theme-v4", {
174
174
  "dropdown--disabled": e.disabled,
175
175
  "inline-search": e.inlineSearch
176
176
  }]),
177
- style: ce({ width: t(de) })
177
+ style: ce({ width: t(re) })
178
178
  }, [
179
179
  t(s) ? (i(), n("div", {
180
180
  key: 0,
181
- class: A(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
182
- onKeydown: o[7] || (o[7] = //@ts-ignore
183
- (...l) => t(T) && t(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))
184
184
  }, [
185
- t(s) && e.inlineSearch ? (i(), n("div", De, [
186
- a(t(we), {
187
- modelValue: t(C),
188
- "onUpdate:modelValue": [
189
- o[4] || (o[4] = (l) => fe(C) ? C.value = l : null),
190
- e.onClear
191
- ],
192
- placeholder: e.inlineSearchPlaceholder,
193
- variant: "transparent",
194
- size: "md",
195
- "auto-focus": e.searchAutoFocus,
196
- "test-id": e.testId,
197
- onKeydown: t(T)
198
- }, 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)
199
201
  ])) : r("", !0),
200
- I(v.$slots, "input-list", { open: t(s) }, void 0, !0),
201
- p("div", u({
202
+ I(k.$slots, "input-list", { open: t(s) }, void 0, !0),
203
+ m("div", u({
202
204
  class: ["list-container", { "list-container--multi": e.multi }],
203
- style: { height: `${t(q)}rem` }
205
+ style: { height: `${t(Y)}rem` }
204
206
  }, {
205
- ...t(X),
206
- ...t(y)[t(f).LIST_CONTAINER]
207
+ ...t(q),
208
+ ...t(f)[t(y).LIST_CONTAINER]
207
209
  }), [
208
- p("ul", u(t(Y), {
210
+ m("ul", u(t(j), {
209
211
  role: "listbox",
210
212
  class: ["list", { "list--multi": e.multi }]
211
213
  }), [
212
- !t(j).length && !e.loading ? (i(), n("li", Pe, [
213
- a(t(W), u({ variant: "body2" }, t(y)[t(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]), {
214
216
  default: c(() => [
215
- g(ye(e.noResultsText), 1)
217
+ T(fe(e.noResultsText), 1)
216
218
  ]),
217
219
  _: 1
218
220
  }, 16)
219
221
  ])) : r("", !0),
220
- e.loading ? (i(), n("li", Re, [
222
+ e.loading ? (i(), n("li", De, [
221
223
  a(t(Ce)),
222
- a(t(W), null, {
224
+ a(t(G), null, {
223
225
  default: c(() => [
224
- g("Loading...")
226
+ T("Loading...")
225
227
  ]),
226
228
  _: 1
227
229
  })
228
230
  ])) : r("", !0),
229
- e.showSelectAll !== !1 && e.multi ? (i(), n("li", Ve, [
230
- a(t(U), u(
231
+ e.showSelectAll !== !1 && e.multi ? (i(), n("li", Pe, [
232
+ a(t(M), u(
231
233
  {
232
- "aria-selected": t(B),
234
+ "aria-selected": t(N),
233
235
  "aria-disabled": !!e.disabled,
234
- "selected-prop": t(B),
235
- "is-indeterminate": t(J),
236
+ "selected-prop": t(N),
237
+ "is-indeterminate": t(Q),
236
238
  "select-all-option": ""
237
239
  },
238
- t(y)[t(f).SELECT_ALL],
240
+ t(f)[t(y).SELECT_ALL],
239
241
  {
240
- onClick: o[5] || (o[5] = $((l) => t(Q)(), ["stop"]))
242
+ onClick: l[5] || (l[5] = U((o) => t(Z)(), ["stop"]))
241
243
  }
242
244
  ), {
243
245
  default: c(() => [
244
- g("Select all ")
246
+ T("Select all ")
245
247
  ]),
246
248
  _: 1
247
249
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
248
250
  ])) : r("", !0),
249
- t(K).length && !e.loading ? (i(!0), n(pe, { key: 3 }, me(t(K), ({ data: l, index: b }) => (i(), n("li", {
250
- key: b,
251
- "aria-selected": t(S)(h(t(k)), l),
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),
252
254
  "aria-disabled": !!e.disabled,
253
- onClick: $(() => t(D)(l, b), ["stop"])
255
+ onClick: U(() => t(F)(o, h), ["stop"])
254
256
  }, [
255
- I(v.$slots, "default", {
256
- option: l,
257
- index: b,
258
- selected: t(S)(h(t(k)), l),
259
- active: h(t(P)) === b,
260
- 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]
261
263
  }, () => [
262
- a(t(U), {
263
- option: l,
264
- "selected-prop": t(S)(h(t(k)), l),
265
- active: h(t(P)) === b,
266
- disabled: l[d.disabledOptionKey],
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],
267
269
  "name-key": e.optionNameKey,
268
270
  "image-key": e.optionImageKey,
269
271
  "icon-key": e.optionIconKey,
@@ -274,56 +276,56 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
274
276
  "option-two-lines-key": e.optionTwoLinesKey
275
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"])
276
278
  ], !0)
277
- ], 8, Fe))), 128)) : r("", !0)
279
+ ], 8, Re))), 128)) : r("", !0)
278
280
  ], 16)
279
281
  ], 16),
280
282
  e.multi ? (i(), n("div", ze, [
281
- p("div", xe, [
283
+ m("div", xe, [
282
284
  a(t(L), u(
283
285
  {
284
286
  ref_key: "clearAll",
285
- ref: ae,
287
+ ref: de,
286
288
  size: "small",
287
289
  variant: "text",
288
290
  color: "primary"
289
291
  },
290
- t(y)[t(f).ACTION_CLEAR_ALL],
292
+ t(f)[t(y).ACTION_CLEAR_ALL],
291
293
  {
292
- onClick: o[6] || (o[6] = () => t(V)(!1))
294
+ onClick: l[6] || (l[6] = () => t(R)(!1))
293
295
  }
294
296
  ), {
295
297
  default: c(() => [
296
- g(" Clear all ")
298
+ T(" Clear all ")
297
299
  ]),
298
300
  _: 1
299
301
  }, 16)
300
302
  ]),
301
- p("div", $e, [
303
+ m("div", $e, [
302
304
  a(t(L), u(
303
305
  {
304
306
  ref_key: "cancel",
305
- ref: ie,
307
+ ref: ne,
306
308
  size: "small",
307
309
  variant: "outlined",
308
310
  color: "primary"
309
311
  },
310
- t(y)[t(f).ACTION_CANCEL],
311
- { onClick: t(_) }
312
+ t(f)[t(y).ACTION_CANCEL],
313
+ { onClick: t(ee) }
312
314
  ), {
313
315
  default: c(() => [
314
- g(" Cancel ")
316
+ T(" Cancel ")
315
317
  ]),
316
318
  _: 1
317
319
  }, 16, ["onClick"]),
318
320
  a(t(L), u({
319
321
  ref_key: "apply",
320
- ref: oe,
322
+ ref: ie,
321
323
  "data-testid": "mutli-apply",
322
324
  size: "small",
323
325
  class: "apply-button"
324
- }, t(y)[t(f).ACTION_APPLY], { onClick: t(ee) }), {
326
+ }, t(f)[t(y).ACTION_APPLY], { onClick: t(te) }), {
325
327
  default: c(() => [
326
- g("Apply ")
328
+ T("Apply ")
327
329
  ]),
328
330
  _: 1
329
331
  }, 16, ["onClick"])
@@ -336,27 +338,53 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
336
338
  })
337
339
  ]),
338
340
  default: c(() => [
339
- p("div", {
340
- class: A(["button__container", {
341
+ m("div", {
342
+ class: K(["button__container", {
341
343
  "button__container--open": !!t(s),
342
344
  [`button__container--${e.size}`]: !0,
343
345
  "button__container--disabled": e.disabled
344
346
  }])
345
347
  }, [
346
- I(v.$slots, "dropdown-trigger", {
347
- buttonTriggerProps: {
348
- open: t(s),
349
- disabled: e.disabled,
350
- label: t(Z) || e.placeholder,
351
- onClick: () => t(w)()
352
- }
353
- }, () => [
354
- p("div", {
355
- ref_key: "buttonRef",
356
- ref: R
357
- }, [
358
- t(F) ? (i(), n("div", Be, [
359
- (i(), H(ge(t(F)), {
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)), {
360
388
  placeholder: e.placeholder,
361
389
  open: t(s),
362
390
  label: e.triggerLabel,
@@ -365,7 +393,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
365
393
  "test-id": e.testId,
366
394
  multi: e.multi,
367
395
  disabled: e.disabled,
368
- "selected-option": e.multi ? t(N) : t(k),
396
+ "selected-option": e.multi ? t(A) : t(g),
369
397
  "display-value": e.displayValue,
370
398
  options: e.options,
371
399
  "option-name-key": e.optionNameKey,
@@ -379,36 +407,36 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
379
407
  "status-dot-type": e.statusType,
380
408
  size: e.size,
381
409
  "show-all-selected-text": e.triggerShowAllSelectedText,
382
- onKeydown: t(G),
383
- onClick: re,
384
- onCopyToClipboard: o[0] || (o[0] = (l) => O("copyToClipboard"))
410
+ onKeydown: t(B),
411
+ onClick: $,
412
+ onCopyToClipboard: l[0] || (l[0] = (o) => E("copyToClipboard"))
385
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"]))
386
414
  ])) : r("", !0),
387
- e.predefinedTrigger === t(m).ICON_BUTTON ? (i(), n("div", Ke, [
388
- a(t(ke), {
389
- onClick: o[1] || (o[1] = (l) => t(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)())
390
418
  })
391
419
  ])) : r("", !0),
392
- e.predefinedTrigger === t(m).CHIP ? (i(), n("div", Ne, [
393
- a(t(be), {
420
+ e.predefinedTrigger === t(p).CHIP ? (i(), n("div", Ne, [
421
+ a(t(ke), {
394
422
  open: t(s),
395
423
  label: e.placeholder,
396
424
  "test-id": e.testId,
397
425
  options: e.options,
398
- "selected-option": e.multi ? t(N) : t(k),
426
+ "selected-option": e.multi ? t(A) : t(g),
399
427
  "display-value": e.displayValue,
400
428
  multi: e.multi,
401
- onClick: o[2] || (o[2] = (l) => t(w)()),
402
- onClear: o[3] || (o[3] = (l) => t(V)())
429
+ onClick: l[2] || (l[2] = (o) => t(v)()),
430
+ onClear: l[3] || (l[3] = (o) => t(R)())
403
431
  }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi"])
404
432
  ])) : r("", !0)
405
- ], 512)
406
- ], !0)
433
+ ], !0)
434
+ ], 512)
407
435
  ], 2)
408
436
  ]),
409
437
  _: 3
410
438
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
411
- e.triggerFeedbackText ? (i(), H(Le, {
439
+ e.triggerFeedbackText ? (i(), W(Ke, {
412
440
  key: 0,
413
441
  text: e.triggerFeedbackText,
414
442
  variant: e.triggerFeedbackVariant,
@@ -417,7 +445,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke
417
445
  class: "dropdown-field-help-text"
418
446
  }, null, 8, ["text", "variant", "show-icon", "test-id"])) : r("", !0)
419
447
  ])
420
- ], 16, Oe));
448
+ ], 16, Le));
421
449
  }
422
450
  });
423
451
  export {
@@ -13,8 +13,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
13
13
  endIconKey?: string;
14
14
  endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
15
15
  toolTipPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
16
+ treeMainOption?: boolean;
17
+ treeMainOptionExpanded?: boolean;
18
+ stopOptionClickEventPropagation?: boolean;
16
19
  optionTwoLinesVariant?: "horizontal" | "vertical";
17
20
  optionTwoLinesKey?: string;
21
+ treeChildShown?: boolean;
18
22
  }>, {
19
23
  subtitle: string;
20
24
  disabled: boolean;
@@ -29,9 +33,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
29
33
  endIconKey: any;
30
34
  endIconType: string;
31
35
  toolTipPlacement: string;
36
+ treeMainOption: boolean;
37
+ treeMainOptionExpanded: boolean;
38
+ stopOptionClickEventPropagation: boolean;
32
39
  optionTwoLinesVariant: any;
33
40
  optionTwoLinesKey: any;
34
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
41
+ treeChildShown: boolean;
42
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ toggleTreeCollapse: (option: unknown) => void;
44
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
35
45
  option?: unknown;
36
46
  subtitle?: string;
37
47
  disabled?: boolean;
@@ -46,8 +56,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
46
56
  endIconKey?: string;
47
57
  endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
48
58
  toolTipPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
59
+ treeMainOption?: boolean;
60
+ treeMainOptionExpanded?: boolean;
61
+ stopOptionClickEventPropagation?: boolean;
49
62
  optionTwoLinesVariant?: "horizontal" | "vertical";
50
63
  optionTwoLinesKey?: string;
64
+ treeChildShown?: boolean;
51
65
  }>, {
52
66
  subtitle: string;
53
67
  disabled: boolean;
@@ -62,9 +76,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
62
76
  endIconKey: any;
63
77
  endIconType: string;
64
78
  toolTipPlacement: string;
79
+ treeMainOption: boolean;
80
+ treeMainOptionExpanded: boolean;
81
+ stopOptionClickEventPropagation: boolean;
65
82
  optionTwoLinesVariant: any;
66
83
  optionTwoLinesKey: any;
67
- }>>>, {
84
+ treeChildShown: boolean;
85
+ }>>> & {
86
+ onToggleTreeCollapse?: (option: unknown) => any;
87
+ }, {
68
88
  option: any;
69
89
  disabled: boolean;
70
90
  active: boolean;
@@ -80,6 +100,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
80
100
  iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
81
101
  endIconKey: string;
82
102
  toolTipPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
103
+ treeMainOption: boolean;
104
+ treeMainOptionExpanded: boolean;
105
+ stopOptionClickEventPropagation: boolean;
106
+ treeChildShown: boolean;
83
107
  }>, {
84
108
  image?(_: {}): any;
85
109
  "icon-start"?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./OptionV4.vue2.js";
2
2
  /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css"; //*');
4
- const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-b6a06f00"]]);
3
+ // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css"; //*');
4
+ const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-77509f61"]]);
5
5
  export {
6
6
  s as default
7
7
  };