@ironsource/shared-ui 2.1.3-rc.19 → 2.1.3-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 (28) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_72bcdcd0_lang.css +1 -0
  2. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_23e22560_lang.css +1 -0
  3. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +1 -0
  4. package/DropdownV4.vue_vue_type_style_index_0_scoped_24014c62_lang.css +1 -0
  5. package/components/alert/Alert.vue.d.ts +14 -7
  6. package/components/alert/Alert.vue.js +3 -3
  7. package/components/alert/Alert.vue2.js +28 -27
  8. package/components/alert/index.d.ts +176 -38
  9. package/components/autocomplete/Autocomplete.vue2.js +14 -12
  10. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  11. package/components/dropdown/common/Dropdown.common.js +34 -33
  12. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +71 -0
  13. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +7 -0
  14. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +36 -0
  15. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.d.ts +66 -0
  16. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +7 -0
  17. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +50 -0
  18. package/components/dropdown/v4/DropdownV4.vue.d.ts +8 -1
  19. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  20. package/components/dropdown/v4/DropdownV4.vue2.js +124 -114
  21. package/components/dropdown/v4/index.d.ts +90 -3
  22. package/components/dropdown/v4/index.js +16 -10
  23. package/components/multibar/MultiBarMenu.vue2.js +13 -11
  24. package/components/table/v4/DataGridMenu.vue2.js +13 -11
  25. package/index.d.ts +262 -3
  26. package/package.json +1 -1
  27. package/Alert.vue_vue_type_style_index_0_scoped_203b6bd1_lang.css +0 -1
  28. package/DropdownV4.vue_vue_type_style_index_0_scoped_b9e03c56_lang.css +0 -1
@@ -0,0 +1 @@
1
+ .alert[data-v-72bcdcd0]{padding:var(--spacing-150) var(--spacing-200);display:flex;align-items:center}.alert--rounded[data-v-72bcdcd0]{border-radius:var(--border-radius-lg)}.alert--success[data-v-72bcdcd0]{outline-color:var(--success-main);background-color:var(--success-lighter)}.alert--success .alert-icon[data-v-72bcdcd0]{color:var(--success-main)}.alert--warning[data-v-72bcdcd0]{outline-color:var(--warning-main);background-color:var(--warning-lighter)}.alert--warning .alert-icon[data-v-72bcdcd0]{color:var(--warning-main)}.alert--danger[data-v-72bcdcd0]{outline-color:var(--error-main);background-color:var(--error-lighter)}.alert--danger .alert-icon[data-v-72bcdcd0]{color:var(--error-main)}.alert--info[data-v-72bcdcd0]{outline-color:var(--info-main);background-color:var(--info-lighter)}.alert--info .alert-icon[data-v-72bcdcd0]{color:var(--info-main)}.alert--standard[data-v-72bcdcd0]{outline:none}.alert--outlined[data-v-72bcdcd0]{background-color:var(--common-white);outline-width:1px;outline-offset:-1px;outline-style:solid}.alert-icon--align-top[data-v-72bcdcd0]{align-self:flex-start}.alert-content[data-v-72bcdcd0]{flex:1;margin:0 var(--spacing-150)}.alert-title[data-v-72bcdcd0]{color:var(--text-primary);line-height:20px}.alert-description[data-v-72bcdcd0]{color:var(--text-secondary)}.close-button[data-v-72bcdcd0]{margin-left:var(--spacing-100)}
@@ -0,0 +1 @@
1
+ .button-trigger.open[data-v-23e22560]{background:var(--action-selected);outline:2px solid var(--action-active);outline-offset:-2px;transition:outline 0s}.button-trigger.open[data-v-23e22560]:hover{background:var(--action-selected)}
@@ -0,0 +1 @@
1
+ .button-filter-dropdown-trigger[data-v-7f750550]{border-radius:var(--border-radius-md);transition:all .2s ease;color:var(--text-primary);display:inline-flex;padding:5px 5.5px;align-items:center}.button-filter-dropdown-trigger[data-v-7f750550]:hover{cursor:pointer;background:var(--action-hover)}.button-filter-dropdown-trigger.outlined[data-v-7f750550]{border:1px solid var(--default-outlined-border)}.button-filter-dropdown-trigger.outlined[data-v-7f750550]:hover{border:1px solid var(--action-active)}.button-filter-dropdown-trigger.outlined.disabled[data-v-7f750550]{background:transparent;border:1px solid var(--default-outlined-border)}.button-filter-dropdown-trigger.open[data-v-7f750550]{background:var(--action-selected);outline:2px solid var(--action-active);outline-offset:-2px;transition:outline 0s}.button-filter-dropdown-trigger.open[data-v-7f750550]:hover{background:var(--action-selected)}.button-filter-dropdown-trigger.disabled[data-v-7f750550]{cursor:default;color:var(--text-disabled)}.button-filter-dropdown-trigger.disabled[data-v-7f750550]:hover{background:transparent}.start-icon[data-v-7f750550]{margin-right:var(--spacing-50)}.end-icon[data-v-7f750550]{margin-left:var(--spacing-50)}
@@ -0,0 +1 @@
1
+ .v-enter-active[data-v-24014c62],.v-leave-active[data-v-24014c62]{transition:opacity .25s ease}ol[data-v-24014c62],ul[data-v-24014c62],menu[data-v-24014c62]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-24014c62],.dropdown.full-width .button__container[data-v-24014c62]{width:100%}.dropdown-list-wrapper[data-v-24014c62]{display:flex;flex-direction:column;padding:.5rem}.list-container--multi[data-v-24014c62]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-24014c62]{padding-bottom:.25rem}.inline-search .list-container[data-v-24014c62]{padding-top:0}.no-result-container[data-v-24014c62]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-24014c62]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-24014c62]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-24014c62]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.list li[data-v-24014c62]:last-child .item-container{margin-bottom:0}.image-slot[data-v-24014c62]{margin-right:.5rem}.actions-wrapper[data-v-24014c62]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between}.apply-button[data-v-24014c62]{margin-left:.5rem}
@@ -1,8 +1,8 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
2
  title?: string;
3
3
  description?: string;
4
- color?: 'success' | 'warning' | 'danger' | 'info';
5
- variant?: 'standard' | 'outlined';
4
+ color?: "danger" | "info" | "success" | "warning";
5
+ variant?: "outlined" | "standard";
6
6
  dismissible?: boolean;
7
7
  actionText?: string;
8
8
  rounded?: boolean;
@@ -21,8 +21,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
21
21
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
22
22
  title?: string;
23
23
  description?: string;
24
- color?: 'success' | 'warning' | 'danger' | 'info';
25
- variant?: 'standard' | 'outlined';
24
+ color?: "danger" | "info" | "success" | "warning";
25
+ variant?: "outlined" | "standard";
26
26
  dismissible?: boolean;
27
27
  actionText?: string;
28
28
  rounded?: boolean;
@@ -40,13 +40,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
40
40
  onClose?: () => any;
41
41
  }, {
42
42
  title: string;
43
- variant: 'standard' | 'outlined';
44
- color: 'success' | 'warning' | 'danger' | 'info';
43
+ variant: "outlined" | "standard";
44
+ color: "danger" | "info" | "success" | "warning";
45
45
  testId: string;
46
46
  description: string;
47
47
  dismissible: boolean;
48
48
  actionText: string;
49
49
  rounded: boolean;
50
+ }>, {
51
+ default?(_: {}): any;
50
52
  }>;
51
53
  export default _default;
52
54
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -66,3 +68,8 @@ type __VLS_WithDefaults<P, D> = {
66
68
  type __VLS_Prettify<T> = {
67
69
  [K in keyof T]: T[K];
68
70
  } & {};
71
+ type __VLS_WithTemplateSlots<T, S> = T & {
72
+ new (): {
73
+ $slots: S;
74
+ };
75
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./Alert.vue2.js";
2
2
  /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../Alert.vue_vue_type_style_index_0_scoped_203b6bd1_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-203b6bd1"]]);
3
+ // import "../../Alert.vue_vue_type_style_index_0_scoped_72bcdcd0_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-72bcdcd0"]]);
5
5
  export {
6
- p as default
6
+ s as default
7
7
  };
@@ -1,11 +1,11 @@
1
- import "../../Alert.vue_vue_type_style_index_0_scoped_203b6bd1_lang.css"; import { defineComponent as k, computed as x, openBlock as l, createElementBlock as B, mergeProps as a, unref as e, createVNode as I, normalizeClass as v, createElementVNode as N, createBlock as r, withCtx as u, createTextVNode as m, toDisplayString as f, createCommentVNode as i } from "vue";
1
+ import "../../Alert.vue_vue_type_style_index_0_scoped_72bcdcd0_lang.css"; import { defineComponent as g, computed as v, openBlock as l, createElementBlock as B, mergeProps as r, unref as e, createVNode as I, normalizeClass as x, createElementVNode as N, createBlock as c, withCtx as u, createTextVNode as m, toDisplayString as f, createCommentVNode as a, renderSlot as A } from "vue";
2
2
  import T from "../typography/v4/Typography.vue.js";
3
- import A from "../icon/v4/IconV4.vue.js";
4
- import C from "../button/v4/ButtonV4.vue.js";
5
- import E from "../button/v4/IconButtonV4.vue.js";
6
- import { useTestIdAttrs as p } from "../../utils/testIds.js";
3
+ import C from "../icon/v4/IconV4.vue.js";
4
+ import E from "../button/v4/ButtonV4.vue.js";
5
+ import S from "../button/v4/IconButtonV4.vue.js";
6
+ import { useTestIdAttrs as b } from "../../utils/testIds.js";
7
7
  import { AlertTestIdModifiers as o } from "../../testids/index.js";
8
- const b = { class: "alert-content" }, $ = /* @__PURE__ */ k({
8
+ const h = { class: "alert-content" }, L = /* @__PURE__ */ g({
9
9
  __name: "Alert",
10
10
  props: {
11
11
  title: { default: "" },
@@ -19,30 +19,30 @@ const b = { class: "alert-content" }, $ = /* @__PURE__ */ k({
19
19
  },
20
20
  emits: ["close"],
21
21
  setup(t, { emit: y }) {
22
- const s = t, g = x(() => {
23
- const c = {
22
+ const s = t, k = v(() => {
23
+ const i = {
24
24
  success: "check-circle",
25
25
  warning: "warning",
26
26
  danger: "warning-octagon",
27
27
  info: "info"
28
28
  };
29
- return c[s.color] || c.success;
30
- }), n = p(s.testId, o);
31
- return (c, d) => (l(), B("div", a({
29
+ return i[s.color] || i.success;
30
+ }), n = b(s.testId, o);
31
+ return (i, d) => (l(), B("div", r({
32
32
  class: ["alert", {
33
33
  [`alert--${t.color}`]: !0,
34
34
  [`alert--${t.variant}`]: !0,
35
35
  "alert--rounded": t.rounded
36
36
  }]
37
37
  }, e(n)[e(o).WRAPPER]), [
38
- I(e(A), {
39
- name: e(g),
40
- class: v(["alert-icon", { "alert-icon--align-top": t.title && t.description }]),
38
+ I(e(C), {
39
+ name: e(k),
40
+ class: x(["alert-icon", { "alert-icon--align-top": t.title && t.description }]),
41
41
  type: "fill",
42
42
  size: "20px"
43
43
  }, null, 8, ["name", "class"]),
44
- N("div", b, [
45
- t.title ? (l(), r(e(T), a({
44
+ N("div", h, [
45
+ t.title ? (l(), c(e(T), r({
46
46
  key: 0,
47
47
  class: "alert-title",
48
48
  variant: "h4"
@@ -51,36 +51,37 @@ const b = { class: "alert-content" }, $ = /* @__PURE__ */ k({
51
51
  m(f(t.title), 1)
52
52
  ]),
53
53
  _: 1
54
- }, 16)) : i("", !0),
55
- t.description ? (l(), r(e(T), a({
54
+ }, 16)) : a("", !0),
55
+ t.description ? (l(), c(e(T), r({
56
56
  key: 1,
57
57
  class: "alert-description",
58
58
  variant: "body1"
59
59
  }, e(n)[e(o).MESSAGE]), {
60
60
  default: u(() => [
61
- m(f(t.description), 1)
61
+ m(f(t.description) + " ", 1),
62
+ t.description ? a("", !0) : A(i.$slots, "default", { key: 0 }, void 0, !0)
62
63
  ]),
63
- _: 1
64
- }, 16)) : i("", !0)
64
+ _: 3
65
+ }, 16)) : a("", !0)
65
66
  ]),
66
- t.actionText ? (l(), r(e(C), a({
67
+ t.actionText ? (l(), c(e(E), r({
67
68
  key: 0,
68
69
  variant: "outlined",
69
70
  content: t.actionText,
70
71
  color: t.color,
71
72
  size: "small"
72
- }, e(n)[e(o).ACTION_BUTTON]), null, 16, ["content", "color"])) : i("", !0),
73
- t.dismissible ? (l(), r(e(E), a({
73
+ }, e(n)[e(o).ACTION_BUTTON]), null, 16, ["content", "color"])) : a("", !0),
74
+ t.dismissible ? (l(), c(e(S), r({
74
75
  key: 1,
75
76
  class: "close-button",
76
77
  "icon-name": "x",
77
78
  size: "small"
78
79
  }, e(n)[e(o).CLOSE_BUTTON], {
79
- onClick: d[0] || (d[0] = (h) => y("close"))
80
- }), null, 16)) : i("", !0)
80
+ onClick: d[0] || (d[0] = (p) => y("close"))
81
+ }), null, 16)) : a("", !0)
81
82
  ], 16));
82
83
  }
83
84
  });
84
85
  export {
85
- $ as default
86
+ L as default
86
87
  };
@@ -1,40 +1,172 @@
1
1
  import Alert from './Alert.vue';
2
- declare const AlertTypes: () => import("vue").DefineComponent<{
3
- title: {
4
- type: import("vue").PropType<string>;
5
- default: string;
6
- };
7
- variant: {
8
- type: import("vue").PropType<"outlined" | "standard">;
9
- default: string;
10
- };
11
- color: {
12
- type: import("vue").PropType<"danger" | "info" | "success" | "warning">;
13
- default: string;
14
- };
15
- testId: {
16
- type: import("vue").PropType<string>;
17
- default: string;
18
- };
19
- description: {
20
- type: import("vue").PropType<string>;
21
- default: string;
22
- };
23
- dismissible: {
24
- type: import("vue").PropType<boolean>;
25
- default: boolean;
26
- };
27
- actionText: {
28
- type: import("vue").PropType<string>;
29
- default: string;
30
- };
31
- rounded: {
32
- type: import("vue").PropType<boolean>;
33
- default: boolean;
34
- };
35
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
- close: () => void;
37
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2
+ declare const AlertTypes: () => ({
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{
7
+ title: string;
8
+ variant: "outlined" | "standard";
9
+ color: "danger" | "info" | "success" | "warning";
10
+ testId: string;
11
+ description: string;
12
+ dismissible: boolean;
13
+ actionText: string;
14
+ rounded: boolean;
15
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
16
+ title: {
17
+ type: import("vue").PropType<string>;
18
+ default: string;
19
+ };
20
+ variant: {
21
+ type: import("vue").PropType<"outlined" | "standard">;
22
+ default: string;
23
+ };
24
+ color: {
25
+ type: import("vue").PropType<"danger" | "info" | "success" | "warning">;
26
+ default: string;
27
+ };
28
+ testId: {
29
+ type: import("vue").PropType<string>;
30
+ default: string;
31
+ };
32
+ description: {
33
+ type: import("vue").PropType<string>;
34
+ default: string;
35
+ };
36
+ dismissible: {
37
+ type: import("vue").PropType<boolean>;
38
+ default: boolean;
39
+ };
40
+ actionText: {
41
+ type: import("vue").PropType<string>;
42
+ default: string;
43
+ };
44
+ rounded: {
45
+ type: import("vue").PropType<boolean>;
46
+ default: boolean;
47
+ };
48
+ }>> & {
49
+ onClose?: () => any;
50
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "variant" | "color" | "testId" | "description" | "dismissible" | "actionText" | "rounded">;
51
+ $attrs: {
52
+ [x: string]: unknown;
53
+ };
54
+ $refs: {
55
+ [x: string]: unknown;
56
+ };
57
+ $slots: Readonly<{
58
+ [name: string]: import("vue").Slot;
59
+ }>;
60
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
61
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
62
+ $emit: (event: "close") => void;
63
+ $el: any;
64
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
65
+ title: {
66
+ type: import("vue").PropType<string>;
67
+ default: string;
68
+ };
69
+ variant: {
70
+ type: import("vue").PropType<"outlined" | "standard">;
71
+ default: string;
72
+ };
73
+ color: {
74
+ type: import("vue").PropType<"danger" | "info" | "success" | "warning">;
75
+ default: string;
76
+ };
77
+ testId: {
78
+ type: import("vue").PropType<string>;
79
+ default: string;
80
+ };
81
+ description: {
82
+ type: import("vue").PropType<string>;
83
+ default: string;
84
+ };
85
+ dismissible: {
86
+ type: import("vue").PropType<boolean>;
87
+ default: boolean;
88
+ };
89
+ actionText: {
90
+ type: import("vue").PropType<string>;
91
+ default: string;
92
+ };
93
+ rounded: {
94
+ type: import("vue").PropType<boolean>;
95
+ default: boolean;
96
+ };
97
+ }>> & {
98
+ onClose?: () => any;
99
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
100
+ close: () => void;
101
+ }, string, {
102
+ title: string;
103
+ variant: "outlined" | "standard";
104
+ color: "danger" | "info" | "success" | "warning";
105
+ testId: string;
106
+ description: string;
107
+ dismissible: boolean;
108
+ actionText: string;
109
+ rounded: boolean;
110
+ }, {}, string> & {
111
+ beforeCreate?: (() => void) | (() => void)[];
112
+ created?: (() => void) | (() => void)[];
113
+ beforeMount?: (() => void) | (() => void)[];
114
+ mounted?: (() => void) | (() => void)[];
115
+ beforeUpdate?: (() => void) | (() => void)[];
116
+ updated?: (() => void) | (() => void)[];
117
+ activated?: (() => void) | (() => void)[];
118
+ deactivated?: (() => void) | (() => void)[];
119
+ beforeDestroy?: (() => void) | (() => void)[];
120
+ beforeUnmount?: (() => void) | (() => void)[];
121
+ destroyed?: (() => void) | (() => void)[];
122
+ unmounted?: (() => void) | (() => void)[];
123
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
124
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
125
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
126
+ };
127
+ $forceUpdate: () => void;
128
+ $nextTick: typeof import("vue").nextTick;
129
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
130
+ } & Readonly<import("vue").ExtractPropTypes<{
131
+ title: {
132
+ type: import("vue").PropType<string>;
133
+ default: string;
134
+ };
135
+ variant: {
136
+ type: import("vue").PropType<"outlined" | "standard">;
137
+ default: string;
138
+ };
139
+ color: {
140
+ type: import("vue").PropType<"danger" | "info" | "success" | "warning">;
141
+ default: string;
142
+ };
143
+ testId: {
144
+ type: import("vue").PropType<string>;
145
+ default: string;
146
+ };
147
+ description: {
148
+ type: import("vue").PropType<string>;
149
+ default: string;
150
+ };
151
+ dismissible: {
152
+ type: import("vue").PropType<boolean>;
153
+ default: boolean;
154
+ };
155
+ actionText: {
156
+ type: import("vue").PropType<string>;
157
+ default: string;
158
+ };
159
+ rounded: {
160
+ type: import("vue").PropType<boolean>;
161
+ default: boolean;
162
+ };
163
+ }>> & {
164
+ onClose?: () => any;
165
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
166
+ __isFragment?: never;
167
+ __isTeleport?: never;
168
+ __isSuspense?: never;
169
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
38
170
  title: {
39
171
  type: import("vue").PropType<string>;
40
172
  default: string;
@@ -69,7 +201,9 @@ declare const AlertTypes: () => import("vue").DefineComponent<{
69
201
  };
70
202
  }>> & {
71
203
  onClose?: () => any;
72
- }, {
204
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
205
+ close: () => void;
206
+ }, string, {
73
207
  title: string;
74
208
  variant: "outlined" | "standard";
75
209
  color: "danger" | "info" | "success" | "warning";
@@ -78,5 +212,9 @@ declare const AlertTypes: () => import("vue").DefineComponent<{
78
212
  dismissible: boolean;
79
213
  actionText: string;
80
214
  rounded: boolean;
81
- }>[];
215
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
216
+ $slots: {
217
+ default?(_: {}): any;
218
+ };
219
+ }))[];
82
220
  export { Alert, AlertTypes };
@@ -4,10 +4,12 @@ import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
4
4
  import "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
5
5
  import "../dropdown/v4/ChipDropdownTrigger.vue.js";
6
6
  import "../dropdown/v4/AppDropdownTrigger.vue.js";
7
+ import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
8
+ import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
7
9
  import "../dropdown/v4/OptionV4.vue.js";
8
10
  import F from "../input/v4/TextField.vue.js";
9
11
  import { useVModel as I } from "@vueuse/core";
10
- const $ = /* @__PURE__ */ h({
12
+ const R = /* @__PURE__ */ h({
11
13
  __name: "Autocomplete",
12
14
  props: {
13
15
  modelValue: { default: "" },
@@ -28,10 +30,10 @@ const $ = /* @__PURE__ */ h({
28
30
  },
29
31
  emits: ["update:modelValue"],
30
32
  setup(e, { emit: p }) {
31
- const a = e, i = I(a, "modelValue", p), m = (t) => {
32
- t !== void 0 && (i.value = a.displayValue(t));
33
+ const a = e, d = I(a, "modelValue", p), m = (t) => {
34
+ t !== void 0 && (d.value = a.displayValue(t));
33
35
  }, c = (t, l) => a.displayValue(t).toLowerCase().replace(/\s+/g, "").includes(l.toLowerCase().replace(/\s+/g, "")), n = b(() => {
34
- const t = i.value.toString();
36
+ const t = d.value.toString();
35
37
  return (a.options || []).filter((l) => a.displayValue(l) !== t).filter(
36
38
  (l) => a.onSearch !== null ? a.onSearch(l, t) : c(l, t)
37
39
  );
@@ -44,7 +46,7 @@ const $ = /* @__PURE__ */ h({
44
46
  };
45
47
  return (t, l) => (V(), x(s(C), {
46
48
  "is-open": o.value,
47
- "onUpdate:is-open": l[3] || (l[3] = (d) => o.value = d),
49
+ "onUpdate:is-open": l[3] || (l[3] = (i) => o.value = i),
48
50
  class: "autocomplete-dropdown",
49
51
  "display-value": e.displayValue,
50
52
  options: s(n),
@@ -58,8 +60,8 @@ const $ = /* @__PURE__ */ h({
58
60
  }, {
59
61
  "dropdown-trigger": f(() => [
60
62
  w(s(F), {
61
- modelValue: s(i),
62
- "onUpdate:modelValue": l[0] || (l[0] = (d) => g(i) ? i.value = d : null),
63
+ modelValue: s(d),
64
+ "onUpdate:modelValue": l[0] || (l[0] = (i) => g(d) ? d.value = i : null),
63
65
  class: "autocomplete-field",
64
66
  placeholder: e.placeholder,
65
67
  disabled: e.disabled,
@@ -70,18 +72,18 @@ const $ = /* @__PURE__ */ h({
70
72
  "hover-help-text": e.hoverHelpText,
71
73
  "hover-help-text-placemen": e.hoverHelpTextPlacement,
72
74
  "test-id": e.testId,
73
- onFocusin: l[1] || (l[1] = (d) => u.value = !0),
74
- onFocusout: l[2] || (l[2] = (d) => u.value = !1),
75
+ onFocusin: l[1] || (l[1] = (i) => u.value = !0),
76
+ onFocusout: l[2] || (l[2] = (i) => u.value = !1),
75
77
  onClick: v
76
78
  }, null, 8, ["modelValue", "placeholder", "disabled", "size", "label", "label-direction", "mandatory", "hover-help-text", "hover-help-text-placemen", "test-id"])
77
79
  ]),
78
- default: f((d) => [
79
- S(t.$slots, "default", k(z(d)), void 0, !0)
80
+ default: f((i) => [
81
+ S(t.$slots, "default", k(z(i)), void 0, !0)
80
82
  ]),
81
83
  _: 3
82
84
  }, 8, ["is-open", "display-value", "options", "option-name-key", "options-list-width", "disabled", "test-id"]));
83
85
  }
84
86
  });
85
87
  export {
86
- $ as default
88
+ R as default
87
89
  };
@@ -28,6 +28,7 @@ export declare const dropdownCommon: (props: any, emit: any, commonOptions: any)
28
28
  virtualOptions: Ref<UseVirtualListItem<unknown>[]>;
29
29
  isSelected: (arr: any, element: any) => boolean;
30
30
  selectedOption: import("vue").WritableComputedRef<unknown>;
31
+ selectedValue: import("vue").ComputedRef<any>;
31
32
  onSelect: (option: any, index?: number) => void;
32
33
  activeIndex: Ref<number>;
33
34
  onCancel: () => void;