@avenirs-esr/avenirs-dsav 0.1.55 → 0.1.57

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/README.md +1 -1
  2. package/dist/avenirs-dsav.css +2 -2
  3. package/dist/components/badges/AvTag/AvTag.stub.d.ts +4 -4
  4. package/dist/components/badges/AvTag/AvTag.vue.d.ts +11 -7
  5. package/dist/components/base/AvFieldset/AvFieldset.stub.d.ts +13 -0
  6. package/dist/components/base/AvFieldset/AvFieldset.test.d.ts +1 -0
  7. package/dist/components/base/AvFieldset/AvFieldset.vue.d.ts +64 -0
  8. package/dist/components/base/AvIcon/AvIcon.stories.d.ts +47 -0
  9. package/dist/components/base/{AvVIcon/AvVIcon.stub.d.ts → AvIcon/AvIcon.stub.d.ts} +5 -1
  10. package/dist/components/base/AvIcon/AvIcon.test.d.ts +1 -0
  11. package/dist/components/base/{AvVIcon/AvVIcon.vue.d.ts → AvIcon/AvIcon.vue.d.ts} +9 -15
  12. package/dist/components/base/AvIconText/AvIconText.stories.d.ts +1 -1
  13. package/dist/components/base/index.d.ts +2 -1
  14. package/dist/components/feedback/AvAlert/AvAlert.vue.d.ts +1 -1
  15. package/dist/components/header/AvHeader/AvHeader.stories.d.ts +28 -0
  16. package/dist/components/header/AvHeader/AvHeader.vue.d.ts +12 -26
  17. package/dist/components/header/AvHeader/injection-key.d.ts +4 -0
  18. package/dist/components/header/AvHeaderMenuLinks/AvHeaderMenuLinks.vue.d.ts +3 -4
  19. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.stories.d.ts +13 -16
  20. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.stub.d.ts +10 -0
  21. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.vue.d.ts +5 -0
  22. package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.stories.d.ts +5 -12
  23. package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.vue.d.ts +5 -9
  24. package/dist/components/interaction/accordions/injection-key.d.ts +7 -0
  25. package/dist/components/interaction/buttons/AvButton/AvButton.stub.d.ts +2 -0
  26. package/dist/components/interaction/buttons/AvButton/AvButton.vue.d.ts +6 -14
  27. package/dist/components/interaction/buttons/AvLanguageSelector/AvLanguageSelector.stories.d.ts +26 -0
  28. package/dist/components/interaction/buttons/AvLanguageSelector/AvLanguageSelector.test.d.ts +1 -0
  29. package/dist/components/interaction/buttons/AvLanguageSelector/AvLanguageSelector.vue.d.ts +38 -0
  30. package/dist/components/interaction/buttons/index.d.ts +1 -0
  31. package/dist/components/interaction/checkboxes/AvCheckbox/AvChecbox.stories.d.ts +36 -0
  32. package/dist/components/interaction/checkboxes/AvCheckbox/AvCheckbox.stub.d.ts +49 -0
  33. package/dist/components/interaction/checkboxes/AvCheckbox/AvCheckbox.test.d.ts +1 -0
  34. package/dist/components/interaction/checkboxes/AvCheckbox/AvCheckbox.vue.d.ts +71 -0
  35. package/dist/components/interaction/checkboxes/index.d.ts +1 -0
  36. package/dist/components/interaction/files/AvFileUpload/AvFileUpload.vue.d.ts +1 -1
  37. package/dist/components/interaction/index.d.ts +1 -0
  38. package/dist/components/interaction/inputs/AvInput/AvInput.stories.d.ts +7 -7
  39. package/dist/components/interaction/inputs/AvInput/AvInput.vue.d.ts +18 -9
  40. package/dist/components/interaction/inputs/AvSearchBar/AvSearchBar.stories.d.ts +27 -0
  41. package/dist/components/interaction/inputs/AvSearchBar/AvSearchBar.test.d.ts +1 -0
  42. package/dist/components/interaction/inputs/AvSearchBar/AvSearchBar.vue.d.ts +35 -0
  43. package/dist/components/interaction/inputs/index.d.ts +1 -0
  44. package/dist/components/interaction/lists/AvListItem/AvListItem.stub.d.ts +2 -2
  45. package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.vue.d.ts +10 -0
  46. package/dist/components/interaction/radios/AvRadioButtonSet/components/RadioButton.vue.d.ts +50 -0
  47. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +13 -13
  48. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stub.d.ts +1 -1
  49. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.vue.d.ts +7 -7
  50. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteContext.d.ts +1 -1
  51. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteDropdown.vue.d.ts +2 -2
  52. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteInput.vue.d.ts +63 -117
  53. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteSelectedTags.vue.d.ts +3 -3
  54. package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.stories.d.ts +6 -4
  55. package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.types.d.ts +17 -0
  56. package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.vue.d.ts +34 -27
  57. package/dist/components/interaction/selects/AvMultiselect/components/MultiselectCollapse.test.d.ts +1 -0
  58. package/dist/components/interaction/selects/AvMultiselect/components/MultiselectCollapse.vue.d.ts +39 -0
  59. package/dist/components/interaction/selects/index.d.ts +2 -1
  60. package/dist/components/interaction/toggles/AvToggle/AvToggle.stories.d.ts +2 -0
  61. package/dist/components/interaction/toggles/AvToggle/AvToggle.stub.d.ts +4 -4
  62. package/dist/components/navigation/AvBreadcrumb/AvBreadcrumb.stories.d.ts +2 -0
  63. package/dist/components/overlay/index.d.ts +1 -1
  64. package/dist/composables/index.d.ts +1 -0
  65. package/dist/composables/use-collapsable/use-collapsable.d.ts +101 -0
  66. package/dist/composables/use-collapsable/use-collapsable.test.d.ts +1 -0
  67. package/dist/index.cjs.js +8 -8
  68. package/dist/index.d.ts +0 -1
  69. package/dist/index.es.js +6621 -6844
  70. package/dist/injection-key.cjs.js +1 -0
  71. package/dist/injection-key.es.js +4 -0
  72. package/dist/test-utils.cjs.js +39 -12
  73. package/dist/test-utils.es.js +105 -44
  74. package/dist/tests/index.d.ts +5 -2
  75. package/dist/tests/stubs.d.ts +0 -43
  76. package/package.json +2 -1
  77. package/dist/components/base/AvVIcon/AvVIcon.stories.d.ts +0 -40
  78. package/dist/types/index.d.ts +0 -2
@@ -9,7 +9,7 @@ export declare const AvAutocompleteStub: import("vue").DefineComponent<{
9
9
  maxDropdownHeight?: any;
10
10
  enableLoadMore?: any;
11
11
  serverSideFiltering?: any;
12
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "loadMore" | "clear")[], "search" | "update:modelValue" | "loadMore" | "clear", import("vue").PublicProps, Readonly<{
12
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "clear" | "update:modelValue" | "loadMore")[], "search" | "clear" | "update:modelValue" | "loadMore", import("vue").PublicProps, Readonly<{
13
13
  modelValue?: any;
14
14
  loading?: any;
15
15
  inputOptions?: any;
@@ -1,5 +1,5 @@
1
1
  import type { Slot } from 'vue';
2
- import type { AvAutocompleteOption } from './AvAutocomplete.types';
2
+ import type { AvAutocompleteOption } from '@/components/interaction/selects/AvAutocomplete/AvAutocomplete.types';
3
3
  declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {
4
4
  readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
5
5
  readonly onLoadMore?: (() => any) | undefined;
@@ -27,6 +27,12 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
27
27
  serverSideFiltering?: boolean | undefined;
28
28
  modelValue?: T[] | undefined;
29
29
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
30
+ emit: {
31
+ (e: 'search', query: string): void;
32
+ (e: 'loadMore'): void;
33
+ (e: 'clear'): void;
34
+ } & ((evt: "update:modelValue", value: T[]) => void);
35
+ attrs: any;
30
36
  slots: {
31
37
  /**
32
38
  * Slot for displaying a required field tip in the input.
@@ -57,12 +63,6 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
57
63
  */
58
64
  empty?: Slot | undefined;
59
65
  };
60
- emit: {
61
- (e: 'search', query: string): void;
62
- (e: 'loadMore'): void;
63
- (e: 'clear'): void;
64
- } & ((evt: "update:modelValue", value: T[]) => void);
65
- attrs: any;
66
66
  } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
67
67
  props: {
68
68
  readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { ComputedRef, InjectionKey, Ref } from 'vue';
2
- import type { AvAutocompleteOption, AvAutocompleteProps } from './AvAutocomplete.types';
2
+ import type { AvAutocompleteOption, AvAutocompleteProps } from '@/components/interaction/selects/AvAutocomplete/AvAutocomplete.types';
3
3
  export interface AvAutocompleteContext<T extends AvAutocompleteOption = AvAutocompleteOption> {
4
4
  selectedItems: Ref<T[]>;
5
5
  searchQuery: Ref<string>;
@@ -3,6 +3,8 @@ import { type AvAutocompleteOption } from '@/components/interaction/selects/AvAu
3
3
  declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {
4
4
  readonly onLoadMore?: (() => any) | undefined;
5
5
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
6
+ emit: (evt: "loadMore") => void;
7
+ attrs: any;
6
8
  slots: {
7
9
  item?: Slot<{
8
10
  option: T;
@@ -11,8 +13,6 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
11
13
  }> | undefined;
12
14
  empty?: Slot | undefined;
13
15
  };
14
- emit: (evt: "loadMore") => void;
15
- attrs: any;
16
16
  } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
17
17
  dropdownRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
18
18
  }>) => void) | undefined, __VLS_setup?: Promise<{
@@ -1,14 +1,14 @@
1
1
  import type { Slot } from 'vue';
2
- import type { AvAutocompleteOption } from './AvAutocomplete.types';
2
+ import type { AvAutocompleteOption } from '@/components/interaction/selects/AvAutocomplete/AvAutocomplete.types';
3
3
  declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {
4
4
  readonly onSearch?: ((query: string) => any) | undefined;
5
5
  readonly onClear?: (() => any) | undefined;
6
6
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
7
+ emit: ((evt: "search", query: string) => void) & ((evt: "clear") => void);
8
+ attrs: any;
7
9
  slots: {
8
10
  requiredTip?: Slot | undefined;
9
11
  };
10
- emit: ((evt: "search", query: string) => void) & ((evt: "clear") => void);
11
- attrs: any;
12
12
  } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
13
13
  inputRef: import("vue").Ref<({
14
14
  $: import("vue").ComponentInternalInstance;
@@ -24,7 +24,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
24
24
  readonly labelClass?: string | undefined;
25
25
  readonly modelValue?: string | number | null | undefined;
26
26
  readonly placeholder?: string | undefined;
27
- readonly type?: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
27
+ readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
28
28
  readonly minDate?: Date | undefined;
29
29
  readonly maxDate?: Date | undefined;
30
30
  readonly disabled?: boolean | undefined;
@@ -35,6 +35,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
35
35
  readonly validMessage?: string | string[] | undefined;
36
36
  readonly prefixIcon?: string | undefined;
37
37
  readonly width?: string | undefined;
38
+ readonly noRadius?: boolean | undefined;
38
39
  readonly "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
39
40
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
40
41
  $attrs: {
@@ -53,16 +54,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
53
54
  $el: any;
54
55
  $options: import("vue").ComponentOptionsBase<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
55
56
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
56
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
+ }>, {
58
+ focus: () => void | undefined;
59
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
60
  "update:modelValue": (value: string | number | null) => any;
58
- }, string, {
59
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
60
- disabled: boolean;
61
- required: boolean;
62
- isValid: boolean;
63
- isTextarea: boolean;
64
- labelVisible: boolean;
65
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
61
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
66
62
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
67
63
  created?: ((() => void) | (() => void)[]) | undefined;
68
64
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -82,16 +78,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
82
78
  $forceUpdate: () => void;
83
79
  $nextTick: typeof import("vue").nextTick;
84
80
  $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
85
- } & Readonly<{
86
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
87
- disabled: boolean;
88
- required: boolean;
89
- isValid: boolean;
90
- isTextarea: boolean;
91
- labelVisible: boolean;
92
- }> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
81
+ } & Readonly<{}> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
93
82
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
94
- }>, "type" | "disabled" | "required" | "isValid" | "isTextarea" | "labelVisible"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
83
+ }>, "focus"> & import("vue").ShallowUnwrapRef<{
84
+ focus: () => void | undefined;
85
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
95
86
  $slots: {
96
87
  requiredTip?: Slot | undefined;
97
88
  customCaptions?: Slot<{
@@ -113,7 +104,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
113
104
  readonly labelClass?: string | undefined;
114
105
  readonly modelValue?: string | number | null | undefined;
115
106
  readonly placeholder?: string | undefined;
116
- readonly type?: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
107
+ readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
117
108
  readonly minDate?: Date | undefined;
118
109
  readonly maxDate?: Date | undefined;
119
110
  readonly disabled?: boolean | undefined;
@@ -124,6 +115,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
124
115
  readonly validMessage?: string | string[] | undefined;
125
116
  readonly prefixIcon?: string | undefined;
126
117
  readonly width?: string | undefined;
118
+ readonly noRadius?: boolean | undefined;
127
119
  readonly "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
128
120
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
129
121
  $attrs: {
@@ -142,16 +134,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
142
134
  $el: any;
143
135
  $options: import("vue").ComponentOptionsBase<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
144
136
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
145
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
137
+ }>, {
138
+ focus: () => void | undefined;
139
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
146
140
  "update:modelValue": (value: string | number | null) => any;
147
- }, string, {
148
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
149
- disabled: boolean;
150
- required: boolean;
151
- isValid: boolean;
152
- isTextarea: boolean;
153
- labelVisible: boolean;
154
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
141
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
155
142
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
156
143
  created?: ((() => void) | (() => void)[]) | undefined;
157
144
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -171,16 +158,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
171
158
  $forceUpdate: () => void;
172
159
  $nextTick: typeof import("vue").nextTick;
173
160
  $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
174
- } & Readonly<{
175
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
176
- disabled: boolean;
177
- required: boolean;
178
- isValid: boolean;
179
- isTextarea: boolean;
180
- labelVisible: boolean;
181
- }> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
161
+ } & Readonly<{}> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
182
162
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
183
- }>, "type" | "disabled" | "required" | "isValid" | "isTextarea" | "labelVisible"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
163
+ }>, "focus"> & import("vue").ShallowUnwrapRef<{
164
+ focus: () => void | undefined;
165
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
184
166
  $slots: {
185
167
  requiredTip?: Slot | undefined;
186
168
  customCaptions?: Slot<{
@@ -210,7 +192,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
210
192
  readonly labelClass?: string | undefined;
211
193
  readonly modelValue?: string | number | null | undefined;
212
194
  readonly placeholder?: string | undefined;
213
- readonly type?: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
195
+ readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
214
196
  readonly minDate?: Date | undefined;
215
197
  readonly maxDate?: Date | undefined;
216
198
  readonly disabled?: boolean | undefined;
@@ -221,6 +203,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
221
203
  readonly validMessage?: string | string[] | undefined;
222
204
  readonly prefixIcon?: string | undefined;
223
205
  readonly width?: string | undefined;
206
+ readonly noRadius?: boolean | undefined;
224
207
  readonly "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
225
208
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
226
209
  $attrs: {
@@ -239,16 +222,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
239
222
  $el: any;
240
223
  $options: import("vue").ComponentOptionsBase<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
241
224
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
242
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
225
+ }>, {
226
+ focus: () => void | undefined;
227
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
243
228
  "update:modelValue": (value: string | number | null) => any;
244
- }, string, {
245
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
246
- disabled: boolean;
247
- required: boolean;
248
- isValid: boolean;
249
- isTextarea: boolean;
250
- labelVisible: boolean;
251
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
229
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
252
230
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
253
231
  created?: ((() => void) | (() => void)[]) | undefined;
254
232
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -268,16 +246,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
268
246
  $forceUpdate: () => void;
269
247
  $nextTick: typeof import("vue").nextTick;
270
248
  $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
271
- } & Readonly<{
272
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
273
- disabled: boolean;
274
- required: boolean;
275
- isValid: boolean;
276
- isTextarea: boolean;
277
- labelVisible: boolean;
278
- }> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
249
+ } & Readonly<{}> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
279
250
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
280
- }>, "type" | "disabled" | "required" | "isValid" | "isTextarea" | "labelVisible"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
251
+ }>, "focus"> & import("vue").ShallowUnwrapRef<{
252
+ focus: () => void | undefined;
253
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
281
254
  $slots: {
282
255
  requiredTip?: Slot | undefined;
283
256
  customCaptions?: Slot<{
@@ -299,7 +272,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
299
272
  readonly labelClass?: string | undefined;
300
273
  readonly modelValue?: string | number | null | undefined;
301
274
  readonly placeholder?: string | undefined;
302
- readonly type?: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
275
+ readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
303
276
  readonly minDate?: Date | undefined;
304
277
  readonly maxDate?: Date | undefined;
305
278
  readonly disabled?: boolean | undefined;
@@ -310,6 +283,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
310
283
  readonly validMessage?: string | string[] | undefined;
311
284
  readonly prefixIcon?: string | undefined;
312
285
  readonly width?: string | undefined;
286
+ readonly noRadius?: boolean | undefined;
313
287
  readonly "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
314
288
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
315
289
  $attrs: {
@@ -328,16 +302,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
328
302
  $el: any;
329
303
  $options: import("vue").ComponentOptionsBase<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
330
304
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
331
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
305
+ }>, {
306
+ focus: () => void | undefined;
307
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
332
308
  "update:modelValue": (value: string | number | null) => any;
333
- }, string, {
334
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
335
- disabled: boolean;
336
- required: boolean;
337
- isValid: boolean;
338
- isTextarea: boolean;
339
- labelVisible: boolean;
340
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
309
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
341
310
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
342
311
  created?: ((() => void) | (() => void)[]) | undefined;
343
312
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -357,16 +326,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
357
326
  $forceUpdate: () => void;
358
327
  $nextTick: typeof import("vue").nextTick;
359
328
  $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
360
- } & Readonly<{
361
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
362
- disabled: boolean;
363
- required: boolean;
364
- isValid: boolean;
365
- isTextarea: boolean;
366
- labelVisible: boolean;
367
- }> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
329
+ } & Readonly<{}> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
368
330
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
369
- }>, "type" | "disabled" | "required" | "isValid" | "isTextarea" | "labelVisible"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
331
+ }>, "focus"> & import("vue").ShallowUnwrapRef<{
332
+ focus: () => void | undefined;
333
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
370
334
  $slots: {
371
335
  requiredTip?: Slot | undefined;
372
336
  customCaptions?: Slot<{
@@ -405,7 +369,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
405
369
  readonly labelClass?: string | undefined;
406
370
  readonly modelValue?: string | number | null | undefined;
407
371
  readonly placeholder?: string | undefined;
408
- readonly type?: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
372
+ readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
409
373
  readonly minDate?: Date | undefined;
410
374
  readonly maxDate?: Date | undefined;
411
375
  readonly disabled?: boolean | undefined;
@@ -416,6 +380,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
416
380
  readonly validMessage?: string | string[] | undefined;
417
381
  readonly prefixIcon?: string | undefined;
418
382
  readonly width?: string | undefined;
383
+ readonly noRadius?: boolean | undefined;
419
384
  readonly "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
420
385
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
421
386
  $attrs: {
@@ -434,16 +399,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
434
399
  $el: any;
435
400
  $options: import("vue").ComponentOptionsBase<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
436
401
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
437
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
402
+ }>, {
403
+ focus: () => void | undefined;
404
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
438
405
  "update:modelValue": (value: string | number | null) => any;
439
- }, string, {
440
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
441
- disabled: boolean;
442
- required: boolean;
443
- isValid: boolean;
444
- isTextarea: boolean;
445
- labelVisible: boolean;
446
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
406
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
447
407
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
448
408
  created?: ((() => void) | (() => void)[]) | undefined;
449
409
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -463,16 +423,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
463
423
  $forceUpdate: () => void;
464
424
  $nextTick: typeof import("vue").nextTick;
465
425
  $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
466
- } & Readonly<{
467
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
468
- disabled: boolean;
469
- required: boolean;
470
- isValid: boolean;
471
- isTextarea: boolean;
472
- labelVisible: boolean;
473
- }> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
426
+ } & Readonly<{}> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
474
427
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
475
- }>, "type" | "disabled" | "required" | "isValid" | "isTextarea" | "labelVisible"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
428
+ }>, "focus"> & import("vue").ShallowUnwrapRef<{
429
+ focus: () => void | undefined;
430
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
476
431
  $slots: {
477
432
  requiredTip?: Slot | undefined;
478
433
  customCaptions?: Slot<{
@@ -494,7 +449,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
494
449
  readonly labelClass?: string | undefined;
495
450
  readonly modelValue?: string | number | null | undefined;
496
451
  readonly placeholder?: string | undefined;
497
- readonly type?: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
452
+ readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
498
453
  readonly minDate?: Date | undefined;
499
454
  readonly maxDate?: Date | undefined;
500
455
  readonly disabled?: boolean | undefined;
@@ -505,6 +460,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
505
460
  readonly validMessage?: string | string[] | undefined;
506
461
  readonly prefixIcon?: string | undefined;
507
462
  readonly width?: string | undefined;
463
+ readonly noRadius?: boolean | undefined;
508
464
  readonly "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
509
465
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
510
466
  $attrs: {
@@ -523,16 +479,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
523
479
  $el: any;
524
480
  $options: import("vue").ComponentOptionsBase<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
525
481
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
526
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
482
+ }>, {
483
+ focus: () => void | undefined;
484
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
527
485
  "update:modelValue": (value: string | number | null) => any;
528
- }, string, {
529
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
530
- disabled: boolean;
531
- required: boolean;
532
- isValid: boolean;
533
- isTextarea: boolean;
534
- labelVisible: boolean;
535
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
486
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
536
487
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
537
488
  created?: ((() => void) | (() => void)[]) | undefined;
538
489
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -552,16 +503,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
552
503
  $forceUpdate: () => void;
553
504
  $nextTick: typeof import("vue").nextTick;
554
505
  $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
555
- } & Readonly<{
556
- type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
557
- disabled: boolean;
558
- required: boolean;
559
- isValid: boolean;
560
- isTextarea: boolean;
561
- labelVisible: boolean;
562
- }> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
506
+ } & Readonly<{}> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
563
507
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
564
- }>, "type" | "disabled" | "required" | "isValid" | "isTextarea" | "labelVisible"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
508
+ }>, "focus"> & import("vue").ShallowUnwrapRef<{
509
+ focus: () => void | undefined;
510
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
565
511
  $slots: {
566
512
  requiredTip?: Slot | undefined;
567
513
  customCaptions?: Slot<{
@@ -1,14 +1,14 @@
1
1
  import type { Slot } from 'vue';
2
- import type { AvAutocompleteOption } from './AvAutocomplete.types';
2
+ import type { AvAutocompleteOption } from '@/components/interaction/selects/AvAutocomplete/AvAutocomplete.types';
3
3
  declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
4
+ emit: {};
5
+ attrs: any;
4
6
  slots: {
5
7
  selectedItem?: Slot<{
6
8
  option: T;
7
9
  remove: () => void;
8
10
  }> | undefined;
9
11
  };
10
- emit: {};
11
- attrs: any;
12
12
  } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
13
13
  props: {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
14
14
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
@@ -1,6 +1,8 @@
1
1
  import type { StoryFn } from '@storybook/vue3';
2
2
  import { type AvMultiselectProps } from '@/components/interaction/selects/AvMultiselect/AvMultiselect.vue';
3
3
  /**
4
+ * <h1 class="n1">Enhanced drop-down list - <code>AvMultiselect</code></h1>
5
+ *
4
6
  * <h2 class="n2">✨ Introduction</h2>
5
7
  *
6
8
  * <p>
@@ -41,9 +43,9 @@ import { type AvMultiselectProps } from '@/components/interaction/selects/AvMult
41
43
  declare const meta: {
42
44
  title: string;
43
45
  component: import("vue").DefineComponent<AvMultiselectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
44
- "update:modelValue": (value: import("@/components/interaction/selects/AvMultiselect/AvMultiselect.vue").AvMultiselectOption[]) => any;
46
+ "update:modelValue": (value: import("./AvMultiselect.types").AvMultiselectOption[]) => any;
45
47
  }, string, import("vue").PublicProps, Readonly<AvMultiselectProps> & Readonly<{
46
- "onUpdate:modelValue"?: ((value: import("@/components/interaction/selects/AvMultiselect/AvMultiselect.vue").AvMultiselectOption[]) => any) | undefined;
48
+ "onUpdate:modelValue"?: ((value: import("./AvMultiselect.types").AvMultiselectOption[]) => any) | undefined;
47
49
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
50
  tags: string[];
49
51
  argTypes: {
@@ -53,7 +55,7 @@ declare const meta: {
53
55
  dense: {
54
56
  control: string;
55
57
  };
56
- selectId: {
58
+ id: {
57
59
  control: string;
58
60
  };
59
61
  name: {
@@ -107,7 +109,7 @@ declare const meta: {
107
109
  defaultUnselectedText: string;
108
110
  required: boolean;
109
111
  disabled: boolean;
110
- selectId: string;
112
+ id: string;
111
113
  name: string;
112
114
  hint: string;
113
115
  modelValue: never[];
@@ -0,0 +1,17 @@
1
+ /**
2
+ * AvMultiselect option props.
3
+ */
4
+ export interface AvMultiselectOption {
5
+ /**
6
+ * Displayed label of the option
7
+ */
8
+ label: string;
9
+ /**
10
+ * Name of the icon option
11
+ */
12
+ icon?: string;
13
+ /**
14
+ * Value of the option
15
+ */
16
+ value: string | number;
17
+ }
@@ -1,23 +1,4 @@
1
- /**
2
- * AvMultiselect option props.
3
- */
4
- export interface AvMultiselectOption {
5
- /**
6
- * Displayed label of the option
7
- */
8
- label: string;
9
- /**
10
- * Name of the icon option
11
- */
12
- icon?: string;
13
- /**
14
- * Value of the option
15
- */
16
- value: string | number;
17
- }
18
- /**
19
- * AvMultiselect component props.
20
- */
1
+ import type { AvMultiselectOption } from '@/components/interaction/selects/AvMultiselect/AvMultiselect.types';
21
2
  export interface AvMultiselectProps {
22
3
  /**
23
4
  * Indicated if the select is disabled.
@@ -26,15 +7,17 @@ export interface AvMultiselectProps {
26
7
  /**
27
8
  * Unique id for the select. Used for the accessibility.
28
9
  */
29
- selectId?: string;
30
- /**
31
- * Field name.
32
- */
33
- name?: string;
10
+ id?: string;
34
11
  /**
35
12
  * Hint for guidance.
13
+ * @default ''
36
14
  */
37
15
  hint?: string;
16
+ /**
17
+ * Screen reader only hint for collapse.
18
+ * @default 'Utilisez la tabulation (ou les touches flèches) pour naviguer dans la liste des suggestions'
19
+ */
20
+ collapseHint?: string;
38
21
  /**
39
22
  * Selected option(s) value(s).
40
23
  */
@@ -43,16 +26,29 @@ export interface AvMultiselectProps {
43
26
  * Select text label.
44
27
  */
45
28
  label: string;
29
+ /**
30
+ * Whether the label is visible or not
31
+ * @default true
32
+ */
33
+ labelVisible?: boolean;
34
+ /**
35
+ * CSS class for the label
36
+ * @default ''
37
+ */
38
+ labelClass?: string;
46
39
  /**
47
40
  * Selectable options.
41
+ * @default []
48
42
  */
49
43
  options?: AvMultiselectOption[];
50
44
  /**
51
45
  * If set, display a success message.
46
+ * @default ''
52
47
  */
53
48
  successMessage?: string;
54
49
  /**
55
50
  * If set, display an error message.
51
+ * @default ''
56
52
  */
57
53
  errorMessage?: string;
58
54
  /**
@@ -69,18 +65,29 @@ export interface AvMultiselectProps {
69
65
  selectedText?: string;
70
66
  /**
71
67
  * Displays the select all items button
68
+ * @default false
72
69
  */
73
70
  selectAll?: boolean;
74
71
  /**
75
72
  * Update the select all items button label
76
- * @default
77
- * ["Tout sélectionner", "Tout désélectionner"]
73
+ * @default ["Tout sélectionner", "Tout désélectionner"]
78
74
  */
79
75
  selectAllLabel?: [string, string];
80
76
  /**
81
77
  * Displays the search bar
82
78
  */
83
79
  search?: boolean;
80
+ /**
81
+ * Label (legend) for the multiselect, rendered visually as a title.
82
+ * Helps screen readers understand the select context.
83
+ * @default ''
84
+ */
85
+ legend?: string;
86
+ /**
87
+ * Dropdown max height
88
+ * @default var(--dimension-8xl)
89
+ */
90
+ maxOverflowHeight?: CSSStyleDeclaration['maxHeight'];
84
91
  /**
85
92
  * Fixes the width of the multiselect
86
93
  */