@aleph-alpha/ui-library 2.6.2 → 2.7.0
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.
- package/dist/system/components/UiAutocomplete/UiAutocomplete.vue.d.ts +86 -0
- package/dist/system/components/UiAutocomplete/UiAutocompleteItem.vue.d.ts +30 -0
- package/dist/system/components/UiAutocomplete/context.d.ts +19 -0
- package/dist/system/components/UiAutocomplete/index.d.ts +3 -0
- package/dist/system/components/UiAutocomplete/types.d.ts +122 -0
- package/dist/system/components/UiFileUploadBox/UiFileUploadBox.vue.d.ts +6 -6
- package/dist/system/components/core/native-select/NativeSelectOptGroup.vue.d.ts +4 -4
- package/dist/system/components/core/native-select/NativeSelectOption.vue.d.ts +4 -4
- package/dist/system/components/core/popover/PopoverContent.vue.d.ts +1 -1
- package/dist/system/components/index.d.ts +1 -0
- package/dist/system/lib.js +16171 -15717
- package/dist/system/patterns/UiFileUpload/UiFileUpload.vue.d.ts +6 -6
- package/package.json +3 -3
- package/src/components/UiAutocomplete/UiAutocomplete.stories.ts +308 -0
- package/src/components/UiAutocomplete/UiAutocomplete.vue +481 -0
- package/src/components/UiAutocomplete/UiAutocompleteItem.vue +98 -0
- package/src/components/UiAutocomplete/__tests__/UiAutocomplete.test.ts +408 -0
- package/src/components/UiAutocomplete/context.ts +22 -0
- package/src/components/UiAutocomplete/index.ts +3 -0
- package/src/components/UiAutocomplete/types.ts +131 -0
- package/src/components/index.ts +1 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { UiAutocompleteProps } from './types';
|
|
2
|
+
declare function setOpen(value: boolean): void;
|
|
3
|
+
declare function setInputValue(value: string): void;
|
|
4
|
+
declare function isSelected(value: string): boolean;
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
input?(_: {
|
|
9
|
+
value: string;
|
|
10
|
+
placeholder: string | undefined;
|
|
11
|
+
ariaLabel: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
selectedValues: string[];
|
|
14
|
+
selectedOptions: import('./types').UiAutocompleteOption[];
|
|
15
|
+
displayText: string;
|
|
16
|
+
showSelectionDisplay: boolean;
|
|
17
|
+
open: boolean;
|
|
18
|
+
setInputValue: typeof setInputValue;
|
|
19
|
+
setOpen: typeof setOpen;
|
|
20
|
+
}): any;
|
|
21
|
+
item?(_: {
|
|
22
|
+
option: import('./types').UiAutocompleteOption;
|
|
23
|
+
selected: boolean;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
}): any;
|
|
26
|
+
'indicator-icon'?(_: {}): any;
|
|
27
|
+
default?(_: {
|
|
28
|
+
inputValue: string;
|
|
29
|
+
selectedValues: string[];
|
|
30
|
+
selectedOptions: import('./types').UiAutocompleteOption[];
|
|
31
|
+
isSelected: typeof isSelected;
|
|
32
|
+
setOpen: typeof setOpen;
|
|
33
|
+
}): any;
|
|
34
|
+
};
|
|
35
|
+
refs: {
|
|
36
|
+
inputEl: HTMLInputElement;
|
|
37
|
+
};
|
|
38
|
+
rootEl: HTMLDivElement;
|
|
39
|
+
};
|
|
40
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
41
|
+
declare const __VLS_component: import('vue').DefineComponent<UiAutocompleteProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
input: (event: Event) => any;
|
|
43
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
44
|
+
select: (value: string | string[], event?: Event | undefined) => any;
|
|
45
|
+
"update:open": (value: boolean) => any;
|
|
46
|
+
"update:inputValue": (value: string) => any;
|
|
47
|
+
focus: (event: FocusEvent) => any;
|
|
48
|
+
blur: (event: FocusEvent) => any;
|
|
49
|
+
keydown: (event: KeyboardEvent) => any;
|
|
50
|
+
}, string, import('vue').PublicProps, Readonly<UiAutocompleteProps> & Readonly<{
|
|
51
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
53
|
+
onSelect?: ((value: string | string[], event?: Event | undefined) => any) | undefined;
|
|
54
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
55
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
56
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
57
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
58
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
disabled: boolean;
|
|
61
|
+
dir: "ltr" | "rtl";
|
|
62
|
+
modelValue: string | string[];
|
|
63
|
+
defaultValue: string | string[];
|
|
64
|
+
size: "default" | "sm";
|
|
65
|
+
multiple: boolean;
|
|
66
|
+
placeholder: string;
|
|
67
|
+
open: boolean;
|
|
68
|
+
defaultOpen: boolean;
|
|
69
|
+
name: string;
|
|
70
|
+
ariaLabel: string;
|
|
71
|
+
required: boolean;
|
|
72
|
+
startIcon: import('../UiIcon').UiIconProps["name"];
|
|
73
|
+
inputValue: string;
|
|
74
|
+
defaultInputValue: string;
|
|
75
|
+
emptyText: string;
|
|
76
|
+
showIndicator: boolean;
|
|
77
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
78
|
+
inputEl: HTMLInputElement;
|
|
79
|
+
}, HTMLDivElement>;
|
|
80
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
81
|
+
export default _default;
|
|
82
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
83
|
+
new (): {
|
|
84
|
+
$slots: S;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UiAutocompleteItemProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
'indicator-icon'?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {
|
|
9
|
+
labelEl: HTMLSpanElement;
|
|
10
|
+
};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<UiAutocompleteItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
select: (event: Event) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<UiAutocompleteItemProps> & Readonly<{
|
|
17
|
+
onSelect?: ((event: Event) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
textValue: string;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
22
|
+
labelEl: HTMLSpanElement;
|
|
23
|
+
}, HTMLDivElement>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
type UiAutocompleteContext = {
|
|
3
|
+
/** Whether the root is in multi-select mode. */
|
|
4
|
+
multiple: ComputedRef<boolean>;
|
|
5
|
+
/** Currently selected values from the root component. */
|
|
6
|
+
selectedValues: ComputedRef<string[]>;
|
|
7
|
+
/** Labels registered by externally rendered autocomplete items. */
|
|
8
|
+
itemLabels: Ref<Map<string, string>>;
|
|
9
|
+
/** Value currently highlighted by input-owned keyboard navigation. */
|
|
10
|
+
highlightedValue: ComputedRef<string | undefined>;
|
|
11
|
+
/** Whether a value is selected. */
|
|
12
|
+
isSelected: (value: string) => boolean;
|
|
13
|
+
/** Select or toggle a value. */
|
|
14
|
+
selectOption: (value: string) => void;
|
|
15
|
+
/** Make a value the active keyboard item. */
|
|
16
|
+
highlightOption: (value: string) => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const useUiAutocompleteContext: <T extends UiAutocompleteContext | null | undefined = UiAutocompleteContext>(fallback?: T | undefined) => T extends null ? UiAutocompleteContext | null : UiAutocompleteContext, provideUiAutocompleteContext: (contextValue: UiAutocompleteContext) => UiAutocompleteContext;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { UiIconProps } from '../UiIcon';
|
|
2
|
+
export type UiAutocompleteOption = {
|
|
3
|
+
/** Unique option value emitted through `v-model`. */
|
|
4
|
+
value: string;
|
|
5
|
+
/** Human-readable label used for filtering and default rendering. */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Whether the option can be selected. */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Beta: Filterable select input for choosing one or many options.
|
|
12
|
+
*
|
|
13
|
+
* This component is currently beta. Its API and behavior may still change
|
|
14
|
+
* before it is considered stable.
|
|
15
|
+
* @category Form Inputs
|
|
16
|
+
* @useCases autocomplete, searchable select, multi select, command picker
|
|
17
|
+
* @keywords autocomplete, combobox, select, search, filter, multi-select, beta
|
|
18
|
+
* @related UiSelect, UiTagsInput, UiListbox
|
|
19
|
+
*/
|
|
20
|
+
export type UiAutocompleteProps = {
|
|
21
|
+
/**
|
|
22
|
+
* The controlled value.
|
|
23
|
+
* - Single-select: `string`
|
|
24
|
+
* - Multi-select: `string[]`
|
|
25
|
+
*/
|
|
26
|
+
modelValue?: string | string[];
|
|
27
|
+
/** Initial uncontrolled value. Same shape as `modelValue`. */
|
|
28
|
+
defaultValue?: string | string[];
|
|
29
|
+
/** Options rendered in the dropdown. Omit when providing items through the default slot. */
|
|
30
|
+
options?: UiAutocompleteOption[];
|
|
31
|
+
/** Placeholder shown when no value or query is present. */
|
|
32
|
+
placeholder?: string;
|
|
33
|
+
/** Accessible label for the built-in autocomplete input. Falls back to `placeholder`. */
|
|
34
|
+
ariaLabel?: string;
|
|
35
|
+
/** Controlled query text. */
|
|
36
|
+
inputValue?: string;
|
|
37
|
+
/** Initial uncontrolled query text. */
|
|
38
|
+
defaultInputValue?: string;
|
|
39
|
+
/** Controlled popover open state. */
|
|
40
|
+
open?: boolean;
|
|
41
|
+
/** Whether the popover is open initially. */
|
|
42
|
+
defaultOpen?: boolean;
|
|
43
|
+
/** Whether multiple options can be selected. */
|
|
44
|
+
multiple?: boolean;
|
|
45
|
+
/** Whether the autocomplete is disabled. */
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
/** Whether the field is required in a form. */
|
|
48
|
+
required?: boolean;
|
|
49
|
+
/** Field name used for form submission. */
|
|
50
|
+
name?: string;
|
|
51
|
+
/** Reading direction. */
|
|
52
|
+
dir?: 'ltr' | 'rtl';
|
|
53
|
+
/** Trigger/input size. */
|
|
54
|
+
size?: 'default' | 'sm';
|
|
55
|
+
/** Text shown when filtering returns no options. */
|
|
56
|
+
emptyText?: string;
|
|
57
|
+
/** Optional leading icon name. */
|
|
58
|
+
startIcon?: UiIconProps['name'];
|
|
59
|
+
/** Whether to show the default right-side selected indicator. */
|
|
60
|
+
showIndicator?: boolean;
|
|
61
|
+
};
|
|
62
|
+
export type UiAutocompleteEmits = {
|
|
63
|
+
/** Emitted when the selected value changes. */
|
|
64
|
+
'update:modelValue': [value: string | string[]];
|
|
65
|
+
/** Emitted when the query text changes. */
|
|
66
|
+
'update:inputValue': [value: string];
|
|
67
|
+
/** Emitted when the popover open state changes. */
|
|
68
|
+
'update:open': [value: boolean];
|
|
69
|
+
/** Emitted when the input receives focus. */
|
|
70
|
+
focus: [event: FocusEvent];
|
|
71
|
+
/** Emitted when the input loses focus. */
|
|
72
|
+
blur: [event: FocusEvent];
|
|
73
|
+
/** Emitted when the input receives keyboard input. */
|
|
74
|
+
keydown: [event: KeyboardEvent];
|
|
75
|
+
/** Emitted when the raw input event fires. */
|
|
76
|
+
input: [event: Event];
|
|
77
|
+
/** Emitted when an option is selected. */
|
|
78
|
+
select: [value: string | string[], event?: Event];
|
|
79
|
+
};
|
|
80
|
+
export type UiAutocompleteInputSlotProps = {
|
|
81
|
+
/** Current query text. */
|
|
82
|
+
value: string;
|
|
83
|
+
/** Placeholder forwarded from the component. */
|
|
84
|
+
placeholder?: string;
|
|
85
|
+
/** Accessible label forwarded from the component. */
|
|
86
|
+
ariaLabel: string;
|
|
87
|
+
/** Whether the input should be disabled. */
|
|
88
|
+
disabled: boolean;
|
|
89
|
+
/** Selected raw values. */
|
|
90
|
+
selectedValues: string[];
|
|
91
|
+
/** Selected option objects, falling back to value-as-label for missing options. */
|
|
92
|
+
selectedOptions: UiAutocompleteOption[];
|
|
93
|
+
/** Comma-separated selected labels. */
|
|
94
|
+
displayText: string;
|
|
95
|
+
/** Whether the default UI would render selected labels instead of query text. */
|
|
96
|
+
showSelectionDisplay: boolean;
|
|
97
|
+
/** Current popover open state. */
|
|
98
|
+
open: boolean;
|
|
99
|
+
/** Imperatively update the query text. */
|
|
100
|
+
setInputValue: (value: string) => void;
|
|
101
|
+
/** Imperatively update the popover open state. */
|
|
102
|
+
setOpen: (value: boolean) => void;
|
|
103
|
+
};
|
|
104
|
+
export type UiAutocompleteItemSlotProps = {
|
|
105
|
+
/** Option being rendered. */
|
|
106
|
+
option: UiAutocompleteOption;
|
|
107
|
+
/** Whether this option is selected. */
|
|
108
|
+
selected: boolean;
|
|
109
|
+
/** Whether this option is disabled. */
|
|
110
|
+
disabled: boolean;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Props for externally supplied autocomplete items.
|
|
114
|
+
*/
|
|
115
|
+
export type UiAutocompleteItemProps = {
|
|
116
|
+
/** Unique item value. */
|
|
117
|
+
value: string;
|
|
118
|
+
/** Whether the item is disabled. */
|
|
119
|
+
disabled?: boolean;
|
|
120
|
+
/** Text used for typeahead and selected-value display fallback. */
|
|
121
|
+
textValue?: string;
|
|
122
|
+
};
|
|
@@ -15,6 +15,9 @@ declare function __VLS_template(): {
|
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: import('vue').DefineComponent<UiFileUploadBoxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
17
|
click: (event: MouseEvent) => any;
|
|
18
|
+
focus: (event: FocusEvent) => any;
|
|
19
|
+
blur: (event: FocusEvent) => any;
|
|
20
|
+
keydown: (event: KeyboardEvent) => any;
|
|
18
21
|
error: (payload: import('./types').UiFileUploadBoxErrorPayload) => any;
|
|
19
22
|
change: (event: Event) => any;
|
|
20
23
|
"update:files": (files: File[]) => any;
|
|
@@ -22,12 +25,12 @@ declare const __VLS_component: import('vue').DefineComponent<UiFileUploadBoxProp
|
|
|
22
25
|
dragleave: (event: DragEvent) => any;
|
|
23
26
|
dragover: (event: DragEvent) => any;
|
|
24
27
|
drop: (event: DragEvent) => any;
|
|
25
|
-
keydown: (event: KeyboardEvent) => any;
|
|
26
|
-
focus: (event: FocusEvent) => any;
|
|
27
|
-
blur: (event: FocusEvent) => any;
|
|
28
28
|
pickerOpen: () => any;
|
|
29
29
|
}, string, import('vue').PublicProps, Readonly<UiFileUploadBoxProps> & Readonly<{
|
|
30
30
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
32
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
33
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
31
34
|
onError?: ((payload: import('./types').UiFileUploadBoxErrorPayload) => any) | undefined;
|
|
32
35
|
onChange?: ((event: Event) => any) | undefined;
|
|
33
36
|
"onUpdate:files"?: ((files: File[]) => any) | undefined;
|
|
@@ -35,9 +38,6 @@ declare const __VLS_component: import('vue').DefineComponent<UiFileUploadBoxProp
|
|
|
35
38
|
onDragleave?: ((event: DragEvent) => any) | undefined;
|
|
36
39
|
onDragover?: ((event: DragEvent) => any) | undefined;
|
|
37
40
|
onDrop?: ((event: DragEvent) => any) | undefined;
|
|
38
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
39
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
40
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
41
41
|
onPickerOpen?: (() => any) | undefined;
|
|
42
42
|
}>, {
|
|
43
43
|
disabled: boolean;
|
|
@@ -20,7 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
20
20
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
21
21
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
22
22
|
enterKeyHint?: "done" | "search" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
23
|
-
hidden?: "" |
|
|
23
|
+
hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
|
|
24
24
|
id?: string | undefined | undefined;
|
|
25
25
|
inert?: (boolean | "true" | "false") | undefined;
|
|
26
26
|
lang?: string | undefined | undefined;
|
|
@@ -64,7 +64,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
64
64
|
'aria-colindex'?: (string | number) | undefined;
|
|
65
65
|
'aria-colspan'?: (string | number) | undefined;
|
|
66
66
|
'aria-controls'?: string | undefined | undefined;
|
|
67
|
-
'aria-current'?: "time" | (boolean | "true" | "false") | "
|
|
67
|
+
'aria-current'?: "time" | (boolean | "true" | "false") | "date" | "page" | "step" | "location" | undefined;
|
|
68
68
|
'aria-describedby'?: string | undefined | undefined;
|
|
69
69
|
'aria-details'?: string | undefined | undefined;
|
|
70
70
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -214,7 +214,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
214
214
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
215
215
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
216
216
|
enterKeyHint?: "done" | "search" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
217
|
-
hidden?: "" |
|
|
217
|
+
hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
|
|
218
218
|
id?: string | undefined | undefined;
|
|
219
219
|
inert?: (boolean | "true" | "false") | undefined;
|
|
220
220
|
lang?: string | undefined | undefined;
|
|
@@ -258,7 +258,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
258
258
|
'aria-colindex'?: (string | number) | undefined;
|
|
259
259
|
'aria-colspan'?: (string | number) | undefined;
|
|
260
260
|
'aria-controls'?: string | undefined | undefined;
|
|
261
|
-
'aria-current'?: "time" | (boolean | "true" | "false") | "
|
|
261
|
+
'aria-current'?: "time" | (boolean | "true" | "false") | "date" | "page" | "step" | "location" | undefined;
|
|
262
262
|
'aria-describedby'?: string | undefined | undefined;
|
|
263
263
|
'aria-details'?: string | undefined | undefined;
|
|
264
264
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
22
22
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
23
23
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
24
24
|
enterKeyHint?: "done" | "search" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
25
|
-
hidden?: "" |
|
|
25
|
+
hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
|
|
26
26
|
id?: string | undefined | undefined;
|
|
27
27
|
inert?: (boolean | "true" | "false") | undefined;
|
|
28
28
|
lang?: string | undefined | undefined;
|
|
@@ -66,7 +66,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
66
66
|
'aria-colindex'?: (string | number) | undefined;
|
|
67
67
|
'aria-colspan'?: (string | number) | undefined;
|
|
68
68
|
'aria-controls'?: string | undefined | undefined;
|
|
69
|
-
'aria-current'?: "time" | (boolean | "true" | "false") | "
|
|
69
|
+
'aria-current'?: "time" | (boolean | "true" | "false") | "date" | "page" | "step" | "location" | undefined;
|
|
70
70
|
'aria-describedby'?: string | undefined | undefined;
|
|
71
71
|
'aria-details'?: string | undefined | undefined;
|
|
72
72
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -218,7 +218,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
218
218
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
219
219
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
220
220
|
enterKeyHint?: "done" | "search" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
221
|
-
hidden?: "" |
|
|
221
|
+
hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
|
|
222
222
|
id?: string | undefined | undefined;
|
|
223
223
|
inert?: (boolean | "true" | "false") | undefined;
|
|
224
224
|
lang?: string | undefined | undefined;
|
|
@@ -262,7 +262,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
262
262
|
'aria-colindex'?: (string | number) | undefined;
|
|
263
263
|
'aria-colspan'?: (string | number) | undefined;
|
|
264
264
|
'aria-controls'?: string | undefined | undefined;
|
|
265
|
-
'aria-current'?: "time" | (boolean | "true" | "false") | "
|
|
265
|
+
'aria-current'?: "time" | (boolean | "true" | "false") | "date" | "page" | "step" | "location" | undefined;
|
|
266
266
|
'aria-describedby'?: string | undefined | undefined;
|
|
267
267
|
'aria-details'?: string | undefined | undefined;
|
|
268
268
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -28,7 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
28
28
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
sideOffset: number;
|
|
31
|
-
align: "
|
|
31
|
+
align: "start" | "center" | "end";
|
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
34
|
export default _default;
|