@ironsource/shared-ui 2.1.6-rc.35 → 2.1.6-rc.37

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 (36) hide show
  1. package/DataGrid.vue_vue_type_style_index_0_scoped_057abdf5_lang.css +1 -0
  2. package/DropdownV4.vue_vue_type_style_index_0_scoped_b484da34_lang.css +1 -0
  3. package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +1 -0
  4. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4492426c_lang.css +1 -0
  5. package/components/autocomplete/Autocomplete.vue.d.ts +1 -0
  6. package/components/autocomplete/Autocomplete.vue2.js +6 -5
  7. package/components/autocomplete/index.d.ts +1 -0
  8. package/components/dropdown/common/Dropdown.common.js +22 -22
  9. package/components/dropdown/common/Option.common.d.ts +1 -1
  10. package/components/dropdown/common/Option.common.js +9 -9
  11. package/components/dropdown/composables/useChildOptions.d.ts +7 -0
  12. package/components/dropdown/composables/useChildOptions.js +14 -0
  13. package/components/dropdown/v4/DropdownV4.vue.d.ts +6 -0
  14. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  15. package/components/dropdown/v4/DropdownV4.vue2.js +43 -40
  16. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  17. package/components/dropdown/v4/OptionV4.vue2.js +21 -22
  18. package/components/dropdown/v4/TreeDropdown.vue.d.ts +97 -0
  19. package/components/dropdown/v4/TreeDropdown.vue.js +7 -0
  20. package/components/dropdown/v4/TreeDropdown.vue2.js +115 -0
  21. package/components/dropdown/v4/index.d.ts +162 -2
  22. package/components/dropdown/v4/index.js +7 -4
  23. package/components/multibar/MultiBarMenu.vue2.js +12 -11
  24. package/components/table/common/Table.common.d.ts +1 -0
  25. package/components/table/common/Table.common.js +65 -61
  26. package/components/table/v4/DataGrid.vue.d.ts +5 -1
  27. package/components/table/v4/DataGrid.vue.js +4 -4
  28. package/components/table/v4/DataGrid.vue2.js +155 -151
  29. package/components/table/v4/DataGridMenu.vue2.js +3 -2
  30. package/components/table/v4/index.d.ts +16 -4
  31. package/index.d.ts +353 -10
  32. package/mocks/options.d.ts +12 -0
  33. package/package.json +1 -1
  34. package/DataGrid.vue_vue_type_style_index_0_scoped_b5729ec6_lang.css +0 -1
  35. package/DropdownV4.vue_vue_type_style_index_0_scoped_2e7a89bc_lang.css +0 -1
  36. package/OptionV4.vue_vue_type_style_index_0_scoped_69abfd4a_lang.css +0 -1
@@ -1,4 +1,4 @@
1
- import "../../../OptionV4.vue_vue_type_style_index_0_scoped_69abfd4a_lang.css"; import { defineComponent as B, ref as z, computed as N, openBlock as n, createBlock as f, unref as i, withCtx as y, createElementVNode as s, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as c, createVNode as d, createTextVNode as K, toDisplayString as h, withModifiers as V } from "vue";
1
+ import "../../../OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css"; import { defineComponent as B, ref as z, computed as N, openBlock as i, createBlock as f, unref as n, withCtx as y, createElementVNode as s, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as c, createVNode as d, createTextVNode as K, toDisplayString as h, withModifiers as V } from "vue";
2
2
  import "../../typography/Heading.vue.js";
3
3
  import w from "../../typography/Text.vue.js";
4
4
  import O from "../../checkbox/v4/CheckboxV4.vue.js";
@@ -39,7 +39,7 @@ const R = {
39
39
  const g = e, { selected: r, isMulti: u, id: I, onClick: x, api: b } = S(g), m = z(null), p = N(
40
40
  () => m.value && M(m.value)
41
41
  ), C = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : p.value ? t[g.nameKey] : "", $ = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null;
42
- return (t, a) => (n(), f(i(j), {
42
+ return (t, a) => (i(), f(n(j), {
43
43
  text: C(e.option),
44
44
  "test-id": $(e.option),
45
45
  placement: e.toolTipPlacement,
@@ -51,37 +51,36 @@ const R = {
51
51
  class: v(["item-container", {
52
52
  "item-container--disabled": e.disabled,
53
53
  "item-container--active": e.nameKey ? !1 : e.active,
54
- "item-container--selected": i(r),
55
- "item-container--multi": i(u)
54
+ "item-container--selected": n(r),
55
+ "item-container--multi": n(u)
56
56
  }])
57
57
  }, [
58
58
  s("div", {
59
59
  class: v(["item", {
60
- "item--multi": i(u),
60
+ "item--multi": n(u),
61
61
  "item--with-icon": t.$slots["icon-start"] || t.$slots.image
62
62
  }])
63
63
  }, [
64
- i(u) ? (n(), f(i(O), {
64
+ n(u) ? (i(), f(n(O), {
65
65
  key: 0,
66
- id: i(I).toString(),
66
+ id: n(I).toString(),
67
67
  tabindex: "-1",
68
68
  class: "checkbox",
69
- size: "sm",
70
- "is-checked": i(r),
71
- "is-indeterminate": e.isIndeterminate && !e.option,
72
- onClick: a[0] || (a[0] = (k) => e.disabled ? i(P)() : i(x)(k))
69
+ "is-checked": n(r),
70
+ "is-indeterminate": e.isIndeterminate,
71
+ onClick: a[0] || (a[0] = (k) => e.disabled ? n(P)() : n(x)(k))
73
72
  }, null, 8, ["id", "is-checked", "is-indeterminate"])) : o("", !0),
74
- t.$slots.image || e.imageKey ? (n(), l("div", R, [
73
+ t.$slots.image || e.imageKey ? (i(), l("div", R, [
75
74
  c(t.$slots, "image", {}, () => [
76
- e.imageKey ? (n(), l("img", {
75
+ e.imageKey ? (i(), l("img", {
77
76
  key: 0,
78
77
  src: e.option[e.imageKey]
79
78
  }, null, 8, A)) : o("", !0)
80
79
  ], !0)
81
80
  ])) : o("", !0),
82
- t.$slots["icon-start"] || e.iconKey ? (n(), l("div", D, [
81
+ t.$slots["icon-start"] || e.iconKey ? (i(), l("div", D, [
83
82
  c(t.$slots, "icon-start", {}, () => [
84
- d(i(T), {
83
+ d(n(T), {
85
84
  type: e.iconType,
86
85
  name: e.option[e.iconKey],
87
86
  size: e.iconType === "regular" ? "20px" : "16px"
@@ -93,7 +92,7 @@ const R = {
93
92
  ref: m,
94
93
  class: "text-container"
95
94
  }, [
96
- d(i(E), {
95
+ d(n(E), {
97
96
  class: "option-text",
98
97
  variant: "body2"
99
98
  }, {
@@ -104,7 +103,7 @@ const R = {
104
103
  ]),
105
104
  _: 3
106
105
  }),
107
- e.subtitle ? (n(), f(i(w), {
106
+ e.subtitle ? (i(), f(n(w), {
108
107
  key: 0,
109
108
  class: "subtitle",
110
109
  size: "xs"
@@ -115,9 +114,9 @@ const R = {
115
114
  _: 1
116
115
  })) : o("", !0)
117
116
  ], 512),
118
- t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (n(), l("div", q, [
117
+ t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (i(), l("div", q, [
119
118
  c(t.$slots, "icon-end", {}, () => [
120
- d(i(T), {
119
+ d(n(T), {
121
120
  type: e.endIconType,
122
121
  name: e.option[e.endIconKey],
123
122
  size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
@@ -125,12 +124,12 @@ const R = {
125
124
  ], !0)
126
125
  ])) : o("", !0)
127
126
  ], 2),
128
- i(b).clearable && i(r) ? (n(), l("div", F, [
127
+ n(b).clearable && n(r) ? (i(), l("div", F, [
129
128
  s("button", {
130
129
  class: "clear-button",
131
- onClick: a[1] || (a[1] = V((k) => i(b).clearSelection(), ["prevent", "stop"]))
130
+ onClick: a[1] || (a[1] = V((k) => n(b).clearSelection(), ["prevent", "stop"]))
132
131
  }, [
133
- d(i(T), {
132
+ d(n(T), {
134
133
  name: "close",
135
134
  width: "8",
136
135
  height: "8"
@@ -0,0 +1,97 @@
1
+ import { IconTypes } from '@is-ssp/icon/v4/Icon.types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ options: unknown[];
4
+ selected?: unknown[];
5
+ isOpen?: boolean;
6
+ placeholder?: string;
7
+ inlineSearchPlaceholder?: string;
8
+ displayValue: (option: unknown) => string;
9
+ optionNameKey?: string;
10
+ optionIconKey?: string;
11
+ optionImageKey?: string;
12
+ optionIconType?: IconTypes;
13
+ optionEndIconKey?: string;
14
+ optionEndIconType?: IconTypes;
15
+ valueToCopy?: string;
16
+ disabledOptionKey?: string;
17
+ optionChildrenKey?: string;
18
+ }>, {
19
+ selected: any;
20
+ placeholder: string;
21
+ inlineSearchPlaceholder: string;
22
+ optionNameKey: string;
23
+ optionIconKey: string;
24
+ optionImageKey: string;
25
+ optionIconType: any;
26
+ optionEndIconKey: string;
27
+ optionEndIconType: any;
28
+ valueToCopy: any;
29
+ disabledOptionKey: string;
30
+ optionChildrenKey: string;
31
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
+ "update:selected": (value: unknown) => void;
33
+ "update:isOpen": (value: unknown) => void;
34
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
35
+ options: unknown[];
36
+ selected?: unknown[];
37
+ isOpen?: boolean;
38
+ placeholder?: string;
39
+ inlineSearchPlaceholder?: string;
40
+ displayValue: (option: unknown) => string;
41
+ optionNameKey?: string;
42
+ optionIconKey?: string;
43
+ optionImageKey?: string;
44
+ optionIconType?: IconTypes;
45
+ optionEndIconKey?: string;
46
+ optionEndIconType?: IconTypes;
47
+ valueToCopy?: string;
48
+ disabledOptionKey?: string;
49
+ optionChildrenKey?: string;
50
+ }>, {
51
+ selected: any;
52
+ placeholder: string;
53
+ inlineSearchPlaceholder: string;
54
+ optionNameKey: string;
55
+ optionIconKey: string;
56
+ optionImageKey: string;
57
+ optionIconType: any;
58
+ optionEndIconKey: string;
59
+ optionEndIconType: any;
60
+ valueToCopy: any;
61
+ disabledOptionKey: string;
62
+ optionChildrenKey: string;
63
+ }>>> & {
64
+ "onUpdate:selected"?: (value: unknown) => any;
65
+ "onUpdate:isOpen"?: (value: unknown) => any;
66
+ }, {
67
+ selected: unknown[];
68
+ placeholder: string;
69
+ inlineSearchPlaceholder: string;
70
+ optionNameKey: string;
71
+ optionIconKey: string;
72
+ optionImageKey: string;
73
+ optionIconType: IconTypes;
74
+ optionEndIconKey: string;
75
+ optionEndIconType: IconTypes;
76
+ valueToCopy: string;
77
+ disabledOptionKey: string;
78
+ optionChildrenKey: string;
79
+ }>;
80
+ export default _default;
81
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
82
+ type __VLS_TypePropsToRuntimeProps<T> = {
83
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
84
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
85
+ } : {
86
+ type: import('vue').PropType<T[K]>;
87
+ required: true;
88
+ };
89
+ };
90
+ type __VLS_WithDefaults<P, D> = {
91
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
92
+ default: D[K];
93
+ }> : P[K];
94
+ };
95
+ type __VLS_Prettify<T> = {
96
+ [K in keyof T]: T[K];
97
+ } & {};
@@ -0,0 +1,7 @@
1
+ import o from "./TreeDropdown.vue2.js";
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_4492426c_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-4492426c"]]);
5
+ export {
6
+ s as default
7
+ };
@@ -0,0 +1,115 @@
1
+ import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_4492426c_lang.css"; import { defineComponent as w, ref as S, watch as T, computed as E, openBlock as s, createBlock as f, unref as i, withCtx as N, createVNode as B, withModifiers as k, createElementBlock as h, Fragment as V, renderList as x, createCommentVNode as L } from "vue";
2
+ import D from "./DropdownV4.vue.js";
3
+ import "./DefaultDropdownTrigger.vue.js";
4
+ import "./IconButtonDropdownTrigger.vue.js";
5
+ import "./ChipDropdownTrigger.vue.js";
6
+ import "./AppDropdownTrigger.vue.js";
7
+ import "./ButtonDropdownTrigger.vue.js";
8
+ import "./ButtonFilterDropdownTrigger.vue.js";
9
+ import "./TreeDropdown.vue.js";
10
+ import v from "./OptionV4.vue.js";
11
+ import { useChildOptions as P } from "../composables/useChildOptions.js";
12
+ const U = {
13
+ key: 0,
14
+ class: "child-options"
15
+ }, R = /* @__PURE__ */ w({
16
+ __name: "TreeDropdown",
17
+ props: {
18
+ options: null,
19
+ selected: { default: null },
20
+ isOpen: { type: Boolean },
21
+ placeholder: { default: "Select" },
22
+ inlineSearchPlaceholder: { default: "Search" },
23
+ displayValue: null,
24
+ optionNameKey: { default: "" },
25
+ optionIconKey: { default: "" },
26
+ optionImageKey: { default: "" },
27
+ optionIconType: { default: null },
28
+ optionEndIconKey: { default: "" },
29
+ optionEndIconType: { default: null },
30
+ valueToCopy: { default: null },
31
+ disabledOptionKey: { default: "disabled" },
32
+ optionChildrenKey: { default: "" }
33
+ },
34
+ emits: ["update:selected", "update:isOpen"],
35
+ setup(e, { emit: u }) {
36
+ const a = e, n = S(a.selected);
37
+ T(
38
+ () => a.selected,
39
+ () => {
40
+ n.value = [...a.selected];
41
+ }
42
+ );
43
+ const { hasChildren: r, getChildren: d, allChildrenSelected: y, someChildrenSelected: C } = P(n, a.optionChildrenKey), p = (t) => {
44
+ if (r(t)) {
45
+ y(t) ? n.value = n.value.filter(
46
+ (o) => !d(t).includes(o)
47
+ ) : n.value = [
48
+ ...n.value.filter((o) => !d(t).includes(o)),
49
+ ...d(t)
50
+ ];
51
+ return;
52
+ }
53
+ n.value.includes(t) ? n.value = n.value.filter(
54
+ (o) => o !== t
55
+ ) : n.value = [...n.value, t];
56
+ }, m = (t) => n.value.includes(t), K = () => {
57
+ u("update:selected", n.value);
58
+ }, I = () => {
59
+ n.value = [];
60
+ }, g = E(() => ({ text: t }, o) => t.toLowerCase().replace(/\s+/g, "").includes(o.toLowerCase().replace(/\s+/g, "")));
61
+ return (t, o) => (s(), f(i(D), {
62
+ multi: "",
63
+ class: "tree-dropdown",
64
+ "show-select-all": !1,
65
+ "is-open": e.isOpen,
66
+ options: e.options,
67
+ selected: e.selected,
68
+ "display-value": e.displayValue,
69
+ placeholder: e.placeholder,
70
+ "inline-search-placeholder": e.inlineSearchPlaceholder,
71
+ "on-search": i(g),
72
+ "option-name-key": e.optionNameKey,
73
+ "disable-virtual-scroll": "",
74
+ "onUpdate:selected": o[0] || (o[0] = (l) => u("update:selected", l)),
75
+ "onUpdate:isOpen": o[1] || (o[1] = (l) => u("update:isOpen", l)),
76
+ onApply: K,
77
+ onClear: I
78
+ }, {
79
+ default: N(({ option: l, index: O }) => [
80
+ B(i(v), {
81
+ option: l,
82
+ "selected-prop": i(r)(l) ? i(y)(l) : m(l),
83
+ "is-indeterminate": !i(y)(l) && i(C)(l),
84
+ disabled: l[e.disabledOptionKey],
85
+ "name-key": e.optionNameKey,
86
+ "image-key": e.optionImageKey,
87
+ "icon-key": e.optionIconKey,
88
+ "icon-type": e.optionIconType,
89
+ "end-icon-key": e.optionEndIconKey,
90
+ "end-icon-type": e.optionEndIconType,
91
+ onClick: k(() => p(l), ["stop"])
92
+ }, null, 8, ["option", "selected-prop", "is-indeterminate", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "onClick"]),
93
+ i(r)(l) ? (s(), h("div", U, [
94
+ (s(!0), h(V, null, x(i(d)(l), (c, b) => (s(), f(i(v), {
95
+ key: `${O}-${b}`,
96
+ option: c,
97
+ "selected-prop": m(c),
98
+ disabled: c[e.disabledOptionKey],
99
+ "name-key": e.optionNameKey,
100
+ "image-key": e.optionImageKey,
101
+ "icon-key": e.optionIconKey,
102
+ "icon-type": e.optionIconType,
103
+ "end-icon-key": e.optionEndIconKey,
104
+ "end-icon-type": e.optionEndIconType,
105
+ onClick: k(() => p(c), ["stop"])
106
+ }, null, 8, ["option", "selected-prop", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "onClick"]))), 128))
107
+ ])) : L("", !0)
108
+ ]),
109
+ _: 1
110
+ }, 8, ["is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "on-search", "option-name-key"]));
111
+ }
112
+ });
113
+ export {
114
+ R as default
115
+ };
@@ -5,6 +5,7 @@ import ChipDropdownTrigger from './ChipDropdownTrigger.vue';
5
5
  import AppDropdownTrigger from './AppDropdownTrigger.vue';
6
6
  import ButtonDropdownTrigger from './ButtonDropdownTrigger.vue';
7
7
  import ButtonFilterDropdownTrigger from './ButtonFilterDropdownTrigger.vue';
8
+ import TreeDropdown from './TreeDropdown.vue';
8
9
  import Option from './OptionV4.vue';
9
10
  declare const DropdownTypes: () => (({
10
11
  new (...args: any[]): {
@@ -1485,6 +1486,7 @@ declare const DropdownTypes: () => (({
1485
1486
  fullWidth: boolean;
1486
1487
  optionsListWidth: string;
1487
1488
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
1489
+ disableVirtualScroll: boolean;
1488
1490
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
1489
1491
  theme: {
1490
1492
  type: import("vue").PropType<string>;
@@ -1676,6 +1678,10 @@ declare const DropdownTypes: () => (({
1676
1678
  type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
1677
1679
  default: any;
1678
1680
  };
1681
+ disableVirtualScroll: {
1682
+ type: import("vue").PropType<boolean>;
1683
+ default: boolean;
1684
+ };
1679
1685
  }>> & {
1680
1686
  onCopyToClipboard?: () => any;
1681
1687
  onClear?: () => any;
@@ -1685,7 +1691,7 @@ declare const DropdownTypes: () => (({
1685
1691
  "onUpdate:isOpen"?: (value: unknown) => any;
1686
1692
  onOpened?: () => any;
1687
1693
  onClosed?: () => any;
1688
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType">;
1694
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll">;
1689
1695
  $attrs: {
1690
1696
  [x: string]: unknown;
1691
1697
  };
@@ -1890,6 +1896,10 @@ declare const DropdownTypes: () => (({
1890
1896
  type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
1891
1897
  default: any;
1892
1898
  };
1899
+ disableVirtualScroll: {
1900
+ type: import("vue").PropType<boolean>;
1901
+ default: boolean;
1902
+ };
1893
1903
  }>> & {
1894
1904
  onCopyToClipboard?: () => any;
1895
1905
  onClear?: () => any;
@@ -1956,6 +1966,7 @@ declare const DropdownTypes: () => (({
1956
1966
  fullWidth: boolean;
1957
1967
  optionsListWidth: string;
1958
1968
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
1969
+ disableVirtualScroll: boolean;
1959
1970
  }, {}, string> & {
1960
1971
  beforeCreate?: (() => void) | (() => void)[];
1961
1972
  created?: (() => void) | (() => void)[];
@@ -2167,6 +2178,10 @@ declare const DropdownTypes: () => (({
2167
2178
  type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
2168
2179
  default: any;
2169
2180
  };
2181
+ disableVirtualScroll: {
2182
+ type: import("vue").PropType<boolean>;
2183
+ default: boolean;
2184
+ };
2170
2185
  }>> & {
2171
2186
  onCopyToClipboard?: () => any;
2172
2187
  onClear?: () => any;
@@ -2374,6 +2389,10 @@ declare const DropdownTypes: () => (({
2374
2389
  type: import("vue").PropType<"default" | "disabled" | "success" | "warning" | "error" | "archive">;
2375
2390
  default: any;
2376
2391
  };
2392
+ disableVirtualScroll: {
2393
+ type: import("vue").PropType<boolean>;
2394
+ default: boolean;
2395
+ };
2377
2396
  }>> & {
2378
2397
  onCopyToClipboard?: () => any;
2379
2398
  onClear?: () => any;
@@ -2440,6 +2459,7 @@ declare const DropdownTypes: () => (({
2440
2459
  fullWidth: boolean;
2441
2460
  optionsListWidth: string;
2442
2461
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
2462
+ disableVirtualScroll: boolean;
2443
2463
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
2444
2464
  $slots: {
2445
2465
  label?(_: {}): any;
@@ -2456,6 +2476,7 @@ declare const DropdownTypes: () => (({
2456
2476
  }): any;
2457
2477
  default?(_: {
2458
2478
  option: unknown;
2479
+ index: number;
2459
2480
  selected: boolean;
2460
2481
  active: boolean;
2461
2482
  disabled: any;
@@ -2539,5 +2560,144 @@ declare const DropdownTypes: () => (({
2539
2560
  startIconName: string;
2540
2561
  startIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
2541
2562
  hideEndIcon: boolean;
2563
+ }> | import("vue").DefineComponent<{
2564
+ selected: {
2565
+ type: import("vue").PropType<unknown[]>;
2566
+ default: any;
2567
+ };
2568
+ options: {
2569
+ type: import("vue").PropType<unknown[]>;
2570
+ required: true;
2571
+ };
2572
+ placeholder: {
2573
+ type: import("vue").PropType<string>;
2574
+ default: string;
2575
+ };
2576
+ isOpen: {
2577
+ type: import("vue").PropType<boolean>;
2578
+ };
2579
+ inlineSearchPlaceholder: {
2580
+ type: import("vue").PropType<string>;
2581
+ default: string;
2582
+ };
2583
+ displayValue: {
2584
+ type: import("vue").PropType<(option: unknown) => string>;
2585
+ required: true;
2586
+ };
2587
+ optionNameKey: {
2588
+ type: import("vue").PropType<string>;
2589
+ default: string;
2590
+ };
2591
+ optionIconKey: {
2592
+ type: import("vue").PropType<string>;
2593
+ default: string;
2594
+ };
2595
+ optionImageKey: {
2596
+ type: import("vue").PropType<string>;
2597
+ default: string;
2598
+ };
2599
+ optionIconType: {
2600
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat">;
2601
+ default: any;
2602
+ };
2603
+ optionEndIconKey: {
2604
+ type: import("vue").PropType<string>;
2605
+ default: string;
2606
+ };
2607
+ optionEndIconType: {
2608
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat">;
2609
+ default: any;
2610
+ };
2611
+ valueToCopy: {
2612
+ type: import("vue").PropType<string>;
2613
+ default: any;
2614
+ };
2615
+ disabledOptionKey: {
2616
+ type: import("vue").PropType<string>;
2617
+ default: string;
2618
+ };
2619
+ optionChildrenKey: {
2620
+ type: import("vue").PropType<string>;
2621
+ default: string;
2622
+ };
2623
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2624
+ "update:selected": (value: unknown) => void;
2625
+ "update:isOpen": (value: unknown) => void;
2626
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2627
+ selected: {
2628
+ type: import("vue").PropType<unknown[]>;
2629
+ default: any;
2630
+ };
2631
+ options: {
2632
+ type: import("vue").PropType<unknown[]>;
2633
+ required: true;
2634
+ };
2635
+ placeholder: {
2636
+ type: import("vue").PropType<string>;
2637
+ default: string;
2638
+ };
2639
+ isOpen: {
2640
+ type: import("vue").PropType<boolean>;
2641
+ };
2642
+ inlineSearchPlaceholder: {
2643
+ type: import("vue").PropType<string>;
2644
+ default: string;
2645
+ };
2646
+ displayValue: {
2647
+ type: import("vue").PropType<(option: unknown) => string>;
2648
+ required: true;
2649
+ };
2650
+ optionNameKey: {
2651
+ type: import("vue").PropType<string>;
2652
+ default: string;
2653
+ };
2654
+ optionIconKey: {
2655
+ type: import("vue").PropType<string>;
2656
+ default: string;
2657
+ };
2658
+ optionImageKey: {
2659
+ type: import("vue").PropType<string>;
2660
+ default: string;
2661
+ };
2662
+ optionIconType: {
2663
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat">;
2664
+ default: any;
2665
+ };
2666
+ optionEndIconKey: {
2667
+ type: import("vue").PropType<string>;
2668
+ default: string;
2669
+ };
2670
+ optionEndIconType: {
2671
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat">;
2672
+ default: any;
2673
+ };
2674
+ valueToCopy: {
2675
+ type: import("vue").PropType<string>;
2676
+ default: any;
2677
+ };
2678
+ disabledOptionKey: {
2679
+ type: import("vue").PropType<string>;
2680
+ default: string;
2681
+ };
2682
+ optionChildrenKey: {
2683
+ type: import("vue").PropType<string>;
2684
+ default: string;
2685
+ };
2686
+ }>> & {
2687
+ "onUpdate:selected"?: (value: unknown) => any;
2688
+ "onUpdate:isOpen"?: (value: unknown) => any;
2689
+ }, {
2690
+ selected: unknown[];
2691
+ placeholder: string;
2692
+ inlineSearchPlaceholder: string;
2693
+ optionNameKey: string;
2694
+ optionIconKey: string;
2695
+ optionImageKey: string;
2696
+ optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
2697
+ optionEndIconKey: string;
2698
+ optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
2699
+ valueToCopy: string;
2700
+ disabledOptionKey: string;
2701
+ optionChildrenKey: string;
2542
2702
  }>)[];
2543
- export { Dropdown, DefaultDropdownTrigger, IconButtonDropdownTrigger, ChipDropdownTrigger, ButtonDropdownTrigger, ButtonFilterDropdownTrigger, AppDropdownTrigger, DropdownTypes, Option, };
2703
+ export { Dropdown, DefaultDropdownTrigger, IconButtonDropdownTrigger, ChipDropdownTrigger, ButtonDropdownTrigger, ButtonFilterDropdownTrigger, AppDropdownTrigger, DropdownTypes, Option, TreeDropdown, };
@@ -5,8 +5,9 @@ import t from "./ChipDropdownTrigger.vue.js";
5
5
  import i from "./AppDropdownTrigger.vue.js";
6
6
  import m from "./ButtonDropdownTrigger.vue.js";
7
7
  import n from "./ButtonFilterDropdownTrigger.vue.js";
8
+ import e from "./TreeDropdown.vue.js";
8
9
  import g from "./OptionV4.vue.js";
9
- const c = () => [
10
+ const s = () => [
10
11
  o,
11
12
  r,
12
13
  p,
@@ -14,7 +15,8 @@ const c = () => [
14
15
  m,
15
16
  n,
16
17
  i,
17
- g
18
+ g,
19
+ e
18
20
  ];
19
21
  export {
20
22
  i as AppDropdownTrigger,
@@ -23,7 +25,8 @@ export {
23
25
  t as ChipDropdownTrigger,
24
26
  r as DefaultDropdownTrigger,
25
27
  o as Dropdown,
26
- c as DropdownTypes,
28
+ s as DropdownTypes,
27
29
  p as IconButtonDropdownTrigger,
28
- g as Option
30
+ g as Option,
31
+ e as TreeDropdown
29
32
  };
@@ -1,4 +1,4 @@
1
- import "../../MultiBarMenu.vue_vue_type_style_index_0_scoped_e40e5dda_lang.css"; import { defineComponent as m, openBlock as l, createBlock as p, unref as t, withCtx as i, createVNode as s, createSlots as u, createTextVNode as c, toDisplayString as f } from "vue";
1
+ import "../../MultiBarMenu.vue_vue_type_style_index_0_scoped_e40e5dda_lang.css"; import { defineComponent as a, openBlock as l, createBlock as p, unref as t, withCtx as i, createVNode as m, createSlots as u, createTextVNode as c, toDisplayString as f } from "vue";
2
2
  import b from "../dropdown/v4/DropdownV4.vue.js";
3
3
  import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
4
4
  import "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
@@ -6,41 +6,42 @@ import "../dropdown/v4/ChipDropdownTrigger.vue.js";
6
6
  import "../dropdown/v4/AppDropdownTrigger.vue.js";
7
7
  import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
8
8
  import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
9
+ import "../dropdown/v4/TreeDropdown.vue.js";
9
10
  import g from "../dropdown/v4/OptionV4.vue.js";
10
11
  import x from "../icon/v4/IconV4.vue.js";
11
- const M = /* @__PURE__ */ m({
12
+ const N = /* @__PURE__ */ a({
12
13
  __name: "MultiBarMenu",
13
14
  props: {
14
15
  menuItems: { default: () => [] },
15
16
  testId: { default: "" }
16
17
  },
17
18
  emits: ["selected"],
18
- setup(o, { emit: a }) {
19
- const n = (r) => r.title;
20
- return (r, d) => (l(), p(t(b), {
19
+ setup(o, { emit: s }) {
20
+ const r = (n) => n.title;
21
+ return (n, d) => (l(), p(t(b), {
21
22
  class: "multi-bar-menu",
22
23
  options: o.menuItems,
23
- "display-value": n,
24
+ "display-value": r,
24
25
  "predefined-trigger": "icon-button",
25
26
  placement: "right-end",
26
27
  skidding: -20,
27
28
  "test-id": o.testId,
28
- "onUpdate:selected": d[0] || (d[0] = (e) => a("selected", e))
29
+ "onUpdate:selected": d[0] || (d[0] = (e) => s("selected", e))
29
30
  }, {
30
31
  default: i(({ option: e }) => [
31
- s(t(g), {
32
+ m(t(g), {
32
33
  option: e,
33
34
  disabled: e.disabled
34
35
  }, u({
35
36
  default: i(() => [
36
- c(" " + f(n(e)), 1)
37
+ c(" " + f(r(e)), 1)
37
38
  ]),
38
39
  _: 2
39
40
  }, [
40
41
  e.icon ? {
41
42
  name: "icon-start",
42
43
  fn: i(() => [
43
- s(t(x), {
44
+ m(t(x), {
44
45
  name: e.icon,
45
46
  size: "20px"
46
47
  }, null, 8, ["name"])
@@ -54,5 +55,5 @@ const M = /* @__PURE__ */ m({
54
55
  }
55
56
  });
56
57
  export {
57
- M as default
58
+ N as default
58
59
  };