@openreachtech/furo-vue 1.3.2 → 1.5.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/lib/assets/css/furo/0010.variables-palette-color-scale.css +277 -275
- package/lib/assets/css/furo/0020.variables-z-index.css +11 -9
- package/lib/assets/css/furo/0030.variables-semantic-color.css +166 -164
- package/lib/assets/css/furo/0035.variables-semantic-dimension.css +103 -95
- package/lib/assets/css/furo/0040.variables-component-furo.css +26 -24
- package/lib/components/atoms/FuroButton/FuroButton.vue +9 -2
- package/lib/components/atoms/FuroButton/FuroButtonContext.js +1 -1
- package/lib/components/atoms/FuroCheckbox/FuroCheckboxContext.js +3 -3
- package/lib/components/atoms/FuroFileField/FuroFileFieldContext.js +1 -1
- package/lib/components/atoms/FuroRadio/FuroRadio.vue +1 -1
- package/lib/components/atoms/FuroRadio/FuroRadioContext.js +2 -2
- package/lib/components/atoms/FuroSwitch/FuroSwitch.vue +1 -1
- package/lib/components/atoms/FuroSwitch/FuroSwitchContext.js +2 -2
- package/lib/components/atoms/FuroTextarea/FuroTextareaContext.js +3 -3
- package/lib/components/atoms/FuroToggle/FuroToggle.vue +1 -1
- package/lib/components/atoms/FuroToggle/FuroToggleContext.js +2 -2
- package/lib/components/molecules/FuroAccordion/FuroAccordion.vue +1 -1
- package/lib/components/molecules/FuroAccordion/FuroAccordionContext.js +2 -2
- package/lib/components/molecules/FuroAttachment/FuroAttachmentContext.js +2 -2
- package/lib/components/molecules/FuroAutocompleteField/FuroAutocompleteField.vue +9 -0
- package/lib/components/molecules/FuroAutocompleteField/FuroAutocompleteFieldContext.js +34 -7
- package/lib/components/molecules/FuroBreadcrumb/FuroBreadcrumb.vue +1 -1
- package/lib/components/molecules/FuroCollapsible/FuroCollapsible.vue +1 -1
- package/lib/components/molecules/FuroCollapsible/FuroCollapsibleContext.js +2 -2
- package/lib/components/molecules/FuroDatePicker/FuroDatePicker.vue +6 -6
- package/lib/components/molecules/FuroDatePicker/FuroDatePickerContext.js +3 -3
- package/lib/components/molecules/FuroDateTimePicker/FuroDateTimePickerContext.js +3 -3
- package/lib/components/molecules/FuroDropdownMenu/FuroDropdownMenu.vue +2 -2
- package/lib/components/molecules/FuroDropdownMenu/FuroDropdownMenuContext.js +3 -3
- package/lib/components/molecules/FuroEditableField/FuroEditableField.vue +2 -0
- package/lib/components/molecules/FuroEditableField/FuroEditableFieldContext.js +2 -2
- package/lib/components/molecules/FuroPagination/FuroPagination.vue +2 -2
- package/lib/components/molecules/FuroPagination/FuroPaginationContext.js +2 -2
- package/lib/components/molecules/FuroPopover/FuroPopover.vue +3 -2
- package/lib/components/molecules/FuroPopover/FuroPopoverContext.js +1 -1
- package/lib/components/molecules/FuroSelect/FuroSelect.vue +145 -142
- package/lib/components/molecules/FuroSelect/FuroSelectContext.js +12 -3
- package/lib/components/molecules/FuroSkeleton/FuroSkeleton.vue +17 -7
- package/lib/components/molecules/FuroSkeleton/FuroSkeletonContext.js +2 -2
- package/lib/components/molecules/FuroSplitter/FuroSplitter.vue +1 -1
- package/lib/components/molecules/FuroSplitter/FuroSplitterContext.js +2 -2
- package/lib/components/molecules/FuroTimeField/FuroTimeField.vue +1 -1
- package/lib/components/molecules/FuroTimeField/FuroTimeFieldContext.js +3 -3
- package/lib/components/molecules/FuroToggleGroup/FuroToggleGroup.vue +2 -2
- package/lib/components/molecules/FuroToggleGroup/FuroToggleGroupContext.js +5 -3
- package/lib/components/molecules/FuroTooltip/FuroTooltip.vue +1 -1
- package/lib/components/molecules/FuroTooltip/FuroTooltipContext.js +1 -1
- package/lib/components/organisms/FuroAlertDialog/FuroAlertDialog.vue +2 -1
- package/lib/components/organisms/FuroAlertDialog/FuroAlertDialogContext.js +17 -4
- package/lib/components/organisms/FuroDialog/FuroDialog.vue +5 -4
- package/lib/components/organisms/FuroDialog/FuroDialogContext.js +15 -2
- package/lib/components/organisms/FuroDrawer/FuroDrawer.vue +4 -4
- package/lib/components/organisms/FuroDrawer/FuroDrawerContext.js +4 -4
- package/lib/components/organisms/FuroEditor/FuroEditor.vue +1 -1
- package/lib/components/organisms/FuroSidebar/FuroSidebar.vue +5 -2
- package/lib/components/organisms/FuroStepper/FuroStepper.vue +1 -1
- package/lib/components/organisms/FuroStepper/FuroStepperContext.js +2 -2
- package/lib/components/organisms/FuroTable/FuroTable.vue +6 -5
- package/lib/components/organisms/FuroTable/FuroTableContext.js +6 -6
- package/lib/components/organisms/FuroTabs/FuroTabs.vue +3 -3
- package/lib/components/organisms/FuroTabs/FuroTabsContext.js +2 -2
- package/lib/components/organisms/FuroToast/FuroToast.vue +4 -4
- package/lib/components/organisms/FuroToast/FuroToastContext.js +14 -2
- package/lib/components/organisms/FuroToast/ToastQueue.js +0 -1
- package/package.json +23 -22
- package/public/furo-vue/components.json +13 -6
- package/types/generated/components/atoms/FuroAvatar/FuroAvatar.vue.d.ts +81 -0
- package/types/generated/components/atoms/FuroBadge/FuroBadge.vue.d.ts +46 -0
- package/types/generated/components/atoms/FuroButton/FuroButton.vue.d.ts +54 -0
- package/types/generated/components/atoms/FuroCheckbox/FuroCheckbox.vue.d.ts +83 -1
- package/types/generated/components/atoms/FuroEmailField/FuroEmailField.vue.d.ts +3 -0
- package/types/generated/components/atoms/FuroFileField/FuroFileField.vue.d.ts +3 -0
- package/types/generated/components/atoms/FuroIcon/FuroIcon.vue.d.ts +3 -0
- package/types/generated/components/atoms/FuroNumberField/FuroNumberField.vue.d.ts +32 -5
- package/types/generated/components/atoms/FuroPasswordField/FuroPasswordField.vue.d.ts +3 -0
- package/types/generated/components/atoms/FuroRadio/FuroRadio.vue.d.ts +106 -0
- package/types/generated/components/atoms/FuroSwitch/FuroSwitch.vue.d.ts +74 -1
- package/types/generated/components/atoms/FuroTextField/FuroTextField.vue.d.ts +3 -0
- package/types/generated/components/atoms/FuroTextarea/FuroTextarea.vue.d.ts +3 -0
- package/types/generated/components/atoms/FuroToggle/FuroToggle.vue.d.ts +26 -0
- package/types/generated/components/molecules/FuroAccordion/FuroAccordion.vue.d.ts +150 -1
- package/types/generated/components/molecules/FuroAttachment/FuroAttachment.vue.d.ts +53 -0
- package/types/generated/components/molecules/FuroAutocompleteField/FuroAutocompleteField.vue.d.ts +463 -4
- package/types/generated/components/molecules/FuroAutocompleteField/FuroAutocompleteFieldContext.d.ts +18 -0
- package/types/generated/components/molecules/FuroAvatarGroup/FuroAvatarGroup.vue.d.ts +25 -0
- package/types/generated/components/molecules/FuroBreadcrumb/FuroBreadcrumb.vue.d.ts +55 -0
- package/types/generated/components/molecules/FuroCollapsible/FuroCollapsible.vue.d.ts +107 -0
- package/types/generated/components/molecules/FuroControlBlock/FuroControlBlock.vue.d.ts +7 -0
- package/types/generated/components/molecules/FuroDatePicker/FuroDatePicker.vue.d.ts +39 -0
- package/types/generated/components/molecules/FuroDateTimePicker/FuroDateTimePicker.vue.d.ts +9 -0
- package/types/generated/components/molecules/FuroDropdownMenu/FuroDropdownMenu.vue.d.ts +144 -1
- package/types/generated/components/molecules/FuroDropdownMenu/FuroDropdownMenuOptionRows.vue.d.ts +274 -1
- package/types/generated/components/molecules/FuroEditableField/FuroEditableField.vue.d.ts +139 -0
- package/types/generated/components/molecules/FuroEmptyState/FuroEmptyState.vue.d.ts +10 -0
- package/types/generated/components/molecules/FuroErrorState/FuroErrorState.vue.d.ts +10 -0
- package/types/generated/components/molecules/FuroPagination/FuroPagination.vue.d.ts +144 -0
- package/types/generated/components/molecules/FuroPopover/FuroPopover.vue.d.ts +20 -0
- package/types/generated/components/molecules/FuroScrollArea/FuroScrollArea.vue.d.ts +120 -0
- package/types/generated/components/molecules/FuroSearchField/FuroSearchField.vue.d.ts +31 -0
- package/types/generated/components/molecules/FuroSectionHeader/FuroSectionHeader.vue.d.ts +32 -0
- package/types/generated/components/molecules/FuroSelect/FuroSelect.vue.d.ts +456 -4
- package/types/generated/components/molecules/FuroSelect/FuroSelectContext.d.ts +6 -0
- package/types/generated/components/molecules/FuroSeparator/FuroSeparator.vue.d.ts +7 -0
- package/types/generated/components/molecules/FuroSkeleton/FuroSkeleton.vue.d.ts +3 -0
- package/types/generated/components/molecules/FuroSkeleton/FuroSkeletonContext.d.ts +2 -2
- package/types/generated/components/molecules/FuroSplitter/FuroSplitter.vue.d.ts +154 -0
- package/types/generated/components/molecules/FuroTimeField/FuroTimeField.vue.d.ts +76 -0
- package/types/generated/components/molecules/FuroToggleGroup/FuroToggleGroup.vue.d.ts +80 -0
- package/types/generated/components/molecules/FuroToolBar/FuroToolBar.vue.d.ts +16 -0
- package/types/generated/components/molecules/FuroTooltip/FuroTooltip.vue.d.ts +24 -0
- package/types/generated/components/organisms/FuroAlertDialog/FuroAlertDialog.vue.d.ts +227 -0
- package/types/generated/components/organisms/FuroAlertDialog/FuroAlertDialogContext.d.ts +6 -0
- package/types/generated/components/organisms/FuroDialog/FuroDialog.vue.d.ts +215 -0
- package/types/generated/components/organisms/FuroDialog/FuroDialogContext.d.ts +6 -0
- package/types/generated/components/organisms/FuroDrawer/FuroDrawer.vue.d.ts +264 -5
- package/types/generated/components/organisms/FuroEditor/FuroEditor.vue.d.ts +84 -1
- package/types/generated/components/organisms/FuroEditor/FuroEditorMentionMenu.vue.d.ts +3 -0
- package/types/generated/components/organisms/FuroSidebar/FuroSidebar.vue.d.ts +71 -0
- package/types/generated/components/organisms/FuroStepper/FuroStepper.vue.d.ts +207 -0
- package/types/generated/components/organisms/FuroTable/FuroTable.vue.d.ts +82 -1
- package/types/generated/components/organisms/FuroTabs/FuroTabs.vue.d.ts +132 -1
- package/types/generated/components/organisms/FuroToast/FuroToast.vue.d.ts +349 -0
- package/types/generated/components/organisms/FuroToast/FuroToastContext.d.ts +6 -0
- package/types/generated/components/organisms/FuroToast/FuroToaster.vue.d.ts +7 -0
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
export type __VLS_LocalComponents = typeof __VLS_componentsOption;
|
|
4
|
+
export type __VLS_GlobalComponents = import("vue").GlobalComponents;
|
|
5
|
+
export type __VLS_LocalDirectives = {};
|
|
6
|
+
export type __VLS_StyleScopedClasses = {} & {
|
|
7
|
+
"unit-attachment": boolean;
|
|
8
|
+
} & {
|
|
9
|
+
"image": boolean;
|
|
10
|
+
} & {
|
|
11
|
+
"preview": boolean;
|
|
12
|
+
} & {
|
|
13
|
+
"glyph": boolean;
|
|
14
|
+
} & {
|
|
15
|
+
"body": boolean;
|
|
16
|
+
} & {
|
|
17
|
+
"name": boolean;
|
|
18
|
+
} & {
|
|
19
|
+
"caption": boolean;
|
|
20
|
+
} & {
|
|
21
|
+
"progress": boolean;
|
|
22
|
+
} & {
|
|
23
|
+
"track": boolean;
|
|
24
|
+
} & {
|
|
25
|
+
"fill": boolean;
|
|
26
|
+
} & {
|
|
27
|
+
"indeterminate": boolean;
|
|
28
|
+
} & {
|
|
29
|
+
"veil": boolean;
|
|
30
|
+
} & {
|
|
31
|
+
"actions": boolean;
|
|
32
|
+
} & {
|
|
33
|
+
"uploading": boolean;
|
|
34
|
+
} & {
|
|
35
|
+
"action": boolean;
|
|
36
|
+
} & {
|
|
37
|
+
"spinner": boolean;
|
|
38
|
+
} & {
|
|
39
|
+
"action-icon": boolean;
|
|
40
|
+
} & {
|
|
41
|
+
"spinner-icon": boolean;
|
|
42
|
+
};
|
|
43
|
+
export type __VLS_Slots = {} & {
|
|
44
|
+
glyph?: (props: typeof __VLS_1) => any;
|
|
45
|
+
} & {
|
|
46
|
+
actions?: (props: typeof __VLS_8) => any;
|
|
47
|
+
};
|
|
3
48
|
declare const __VLS_export: import("vue").DefineComponent<{
|
|
4
49
|
parcel: import("./FuroAttachmentContext.js").FuroAttachmentParcel | null;
|
|
5
50
|
}, {
|
|
@@ -76,4 +121,12 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
76
121
|
size: string | number;
|
|
77
122
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
78
123
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
124
|
+
declare namespace __VLS_componentsOption {
|
|
125
|
+
export { FuroButton };
|
|
126
|
+
export { FuroIcon };
|
|
127
|
+
}
|
|
128
|
+
declare var __VLS_1: {};
|
|
129
|
+
declare var __VLS_8: {};
|
|
79
130
|
import FuroAttachmentContext from './FuroAttachmentContext.js';
|
|
131
|
+
import FuroButton from '../../atoms/FuroButton/FuroButton.vue';
|
|
132
|
+
import FuroIcon from '../../atoms/FuroIcon/FuroIcon.vue';
|
package/types/generated/components/molecules/FuroAutocompleteField/FuroAutocompleteField.vue.d.ts
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
export type __VLS_LocalComponents = typeof __VLS_componentsOption;
|
|
4
|
+
export type __VLS_GlobalComponents = import("vue").GlobalComponents;
|
|
5
|
+
export type __VLS_LocalDirectives = {};
|
|
6
|
+
export type __VLS_Slots = {} & {
|
|
7
|
+
"trigger-left"?: (props: typeof __VLS_15) => any;
|
|
8
|
+
} & {
|
|
9
|
+
"chip-remove-icon"?: (props: typeof __VLS_18) => any;
|
|
10
|
+
} & {
|
|
11
|
+
cancel?: (props: typeof __VLS_40) => any;
|
|
12
|
+
} & {
|
|
13
|
+
"loading-icon"?: (props: typeof __VLS_47) => any;
|
|
14
|
+
} & {
|
|
15
|
+
"trigger-right"?: (props: typeof __VLS_60) => any;
|
|
16
|
+
} & {
|
|
17
|
+
"content-before"?: (props: typeof __VLS_79) => any;
|
|
18
|
+
} & {
|
|
19
|
+
"select-all"?: (props: typeof __VLS_95) => any;
|
|
20
|
+
} & {
|
|
21
|
+
group?: (props: typeof __VLS_104) => any;
|
|
22
|
+
} & {
|
|
23
|
+
"group-label"?: (props: typeof __VLS_112) => any;
|
|
24
|
+
} & {
|
|
25
|
+
option?: (props: typeof __VLS_123) => any;
|
|
26
|
+
} & {
|
|
27
|
+
"option-icon"?: (props: typeof __VLS_125) => any;
|
|
28
|
+
} & {
|
|
29
|
+
"option-text"?: (props: typeof __VLS_132) => any;
|
|
30
|
+
} & {
|
|
31
|
+
"option-indicator"?: (props: typeof __VLS_140) => any;
|
|
32
|
+
} & {
|
|
33
|
+
separator?: (props: typeof __VLS_147) => any;
|
|
34
|
+
} & {
|
|
35
|
+
separator?: (props: typeof __VLS_154) => any;
|
|
36
|
+
} & {
|
|
37
|
+
"create-option"?: (props: typeof __VLS_169) => any;
|
|
38
|
+
} & {
|
|
39
|
+
empty?: (props: typeof __VLS_177) => any;
|
|
40
|
+
} & {
|
|
41
|
+
loading?: (props: typeof __VLS_179) => any;
|
|
42
|
+
} & {
|
|
43
|
+
"content-after"?: (props: typeof __VLS_186) => any;
|
|
44
|
+
};
|
|
3
45
|
declare const __VLS_export: import("vue").DefineComponent<{
|
|
4
46
|
innerHTML?: string | undefined;
|
|
5
47
|
class?: import("vue").ClassValue | undefined;
|
|
@@ -189,6 +231,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
189
231
|
onTransitionrun?: (payload: TransitionEvent) => void;
|
|
190
232
|
onTransitionstart?: (payload: TransitionEvent) => void;
|
|
191
233
|
parcel?: import("./FuroAutocompleteFieldContext.js").FuroAutocompleteFieldParcel | null;
|
|
234
|
+
inputParcel?: import("./FuroAutocompleteFieldContext.js").FuroAutocompleteFieldInputParcel | null;
|
|
192
235
|
}, {
|
|
193
236
|
context: FuroAutocompleteFieldContext;
|
|
194
237
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -390,6 +433,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
390
433
|
onTransitionrun?: (payload: TransitionEvent) => void;
|
|
391
434
|
onTransitionstart?: (payload: TransitionEvent) => void;
|
|
392
435
|
parcel?: import("./FuroAutocompleteFieldContext.js").FuroAutocompleteFieldParcel | null;
|
|
436
|
+
inputParcel?: import("./FuroAutocompleteFieldContext.js").FuroAutocompleteFieldInputParcel | null;
|
|
393
437
|
}> & Readonly<{
|
|
394
438
|
"onChange-value"?: (payload: import("./AutocompleteEmitPayload.js").default) => any;
|
|
395
439
|
"onUpdate:value"?: (value: import("./AutocompleteEmitPayload.js").FuroAutocompleteOption) => any;
|
|
@@ -402,6 +446,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
402
446
|
"onUpdate:open"?: (isOpen: boolean) => any;
|
|
403
447
|
}>, {
|
|
404
448
|
parcel: import("./FuroAutocompleteFieldContext.js").FuroAutocompleteFieldParcel;
|
|
449
|
+
inputParcel: import("./FuroAutocompleteFieldContext.js").FuroAutocompleteFieldInputParcel;
|
|
405
450
|
}, FuroAutocompleteFieldSlots, {
|
|
406
451
|
ComboboxRoot: <T extends import("reka-ui").AcceptableValue = import("reka-ui").AcceptableValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
407
452
|
attrs: any;
|
|
@@ -425,6 +470,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
425
470
|
openOnClick?: boolean;
|
|
426
471
|
ignoreFilter?: boolean;
|
|
427
472
|
resetModelValueOnClear?: boolean;
|
|
473
|
+
unmountOnHide?: boolean;
|
|
428
474
|
asChild?: boolean;
|
|
429
475
|
as?: import("reka-ui").AsTag | import("vue").Component;
|
|
430
476
|
required?: boolean;
|
|
@@ -434,6 +480,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
434
480
|
modelValue?: T | T[];
|
|
435
481
|
multiple?: boolean;
|
|
436
482
|
dir?: import("reka-ui").Direction;
|
|
483
|
+
loop?: boolean;
|
|
437
484
|
highlightOnHover?: boolean;
|
|
438
485
|
by?: string | ((a: T, b: T) => boolean);
|
|
439
486
|
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
@@ -468,7 +515,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
468
515
|
value: T;
|
|
469
516
|
} | undefined) => void) & ((evt: "update:open", value: boolean) => void);
|
|
470
517
|
}>) => import("vue").VNode & {
|
|
471
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
518
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
472
519
|
};
|
|
473
520
|
ComboboxAnchor: {
|
|
474
521
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteAnchorProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -661,7 +708,9 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
661
708
|
ComboboxOption: <T extends import("reka-ui").AcceptableValue = import("reka-ui").AcceptableValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
662
709
|
attrs: any;
|
|
663
710
|
slots: {
|
|
664
|
-
default?: (props: {
|
|
711
|
+
default?: (props: {
|
|
712
|
+
selected: boolean;
|
|
713
|
+
}) => any;
|
|
665
714
|
};
|
|
666
715
|
emit: (evt: "select", event: import("reka-ui").ListboxItemSelectEvent<T>) => void;
|
|
667
716
|
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
@@ -678,11 +727,13 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
678
727
|
expose: (exposed: {}) => void;
|
|
679
728
|
attrs: any;
|
|
680
729
|
slots: {
|
|
681
|
-
default?: (props: {
|
|
730
|
+
default?: (props: {
|
|
731
|
+
selected: boolean;
|
|
732
|
+
}) => any;
|
|
682
733
|
};
|
|
683
734
|
emit: (evt: "select", event: import("reka-ui").ListboxItemSelectEvent<T>) => void;
|
|
684
735
|
}>) => import("vue").VNode & {
|
|
685
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
736
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
686
737
|
};
|
|
687
738
|
ComboboxOptionIndicator: {
|
|
688
739
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -747,5 +798,413 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
747
798
|
size: string | number;
|
|
748
799
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
749
800
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
801
|
+
declare namespace __VLS_componentsOption {
|
|
802
|
+
export let ComboboxRoot: <T extends import("reka-ui").AcceptableValue = import("reka-ui").AcceptableValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
803
|
+
attrs: any;
|
|
804
|
+
slots: {
|
|
805
|
+
default?: (props: {
|
|
806
|
+
open: boolean;
|
|
807
|
+
modelValue: T | T[];
|
|
808
|
+
}) => any;
|
|
809
|
+
};
|
|
810
|
+
emit: ((evt: "update:modelValue", value: T) => void) & ((evt: "highlight", payload: {
|
|
811
|
+
ref: HTMLElement;
|
|
812
|
+
value: T;
|
|
813
|
+
} | undefined) => void) & ((evt: "update:open", value: boolean) => void);
|
|
814
|
+
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
815
|
+
props: import("vue").PublicProps & {
|
|
816
|
+
open?: boolean;
|
|
817
|
+
defaultOpen?: boolean;
|
|
818
|
+
resetSearchTermOnBlur?: boolean;
|
|
819
|
+
resetSearchTermOnSelect?: boolean;
|
|
820
|
+
openOnFocus?: boolean;
|
|
821
|
+
openOnClick?: boolean;
|
|
822
|
+
ignoreFilter?: boolean;
|
|
823
|
+
resetModelValueOnClear?: boolean;
|
|
824
|
+
unmountOnHide?: boolean;
|
|
825
|
+
asChild?: boolean;
|
|
826
|
+
as?: import("reka-ui").AsTag | import("vue").Component;
|
|
827
|
+
required?: boolean;
|
|
828
|
+
name?: string;
|
|
829
|
+
disabled?: boolean;
|
|
830
|
+
defaultValue?: T | T[];
|
|
831
|
+
modelValue?: T | T[];
|
|
832
|
+
multiple?: boolean;
|
|
833
|
+
dir?: import("reka-ui").Direction;
|
|
834
|
+
loop?: boolean;
|
|
835
|
+
highlightOnHover?: boolean;
|
|
836
|
+
by?: string | ((a: T, b: T) => boolean);
|
|
837
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
838
|
+
onHighlight?: ((payload: {
|
|
839
|
+
ref: HTMLElement;
|
|
840
|
+
value: T;
|
|
841
|
+
} | undefined) => any) | undefined;
|
|
842
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
843
|
+
} & (typeof globalThis extends {
|
|
844
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
845
|
+
} ? P : {});
|
|
846
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
847
|
+
filtered: import("vue").ComputedRef<{
|
|
848
|
+
count: number;
|
|
849
|
+
items: Map<string, number>;
|
|
850
|
+
groups: Set<string>;
|
|
851
|
+
}>;
|
|
852
|
+
highlightedElement: import("vue").ComputedRef<HTMLElement | undefined>;
|
|
853
|
+
highlightItem: ((value: import("reka-ui").AcceptableValue) => void) | undefined;
|
|
854
|
+
highlightFirstItem: (() => void) | undefined;
|
|
855
|
+
highlightSelected: ((event?: Event, scroll?: boolean) => Promise<void>) | undefined;
|
|
856
|
+
}>) => void;
|
|
857
|
+
attrs: any;
|
|
858
|
+
slots: {
|
|
859
|
+
default?: (props: {
|
|
860
|
+
open: boolean;
|
|
861
|
+
modelValue: T | T[];
|
|
862
|
+
}) => any;
|
|
863
|
+
};
|
|
864
|
+
emit: ((evt: "update:modelValue", value: T) => void) & ((evt: "highlight", payload: {
|
|
865
|
+
ref: HTMLElement;
|
|
866
|
+
value: T;
|
|
867
|
+
} | undefined) => void) & ((evt: "update:open", value: boolean) => void);
|
|
868
|
+
}>) => import("vue").VNode & {
|
|
869
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
870
|
+
};
|
|
871
|
+
export let ComboboxAnchor: {
|
|
872
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteAnchorProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
873
|
+
P: {};
|
|
874
|
+
B: {};
|
|
875
|
+
D: {};
|
|
876
|
+
C: {};
|
|
877
|
+
M: {};
|
|
878
|
+
Defaults: {};
|
|
879
|
+
}, Readonly<import("reka-ui").AutocompleteAnchorProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
880
|
+
__isFragment?: never;
|
|
881
|
+
__isTeleport?: never;
|
|
882
|
+
__isSuspense?: never;
|
|
883
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").AutocompleteAnchorProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
884
|
+
$slots: {
|
|
885
|
+
default?: (props: {}) => any;
|
|
886
|
+
};
|
|
887
|
+
});
|
|
888
|
+
export let ComboboxInput: {
|
|
889
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").ComboboxInputProps> & Readonly<{
|
|
890
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
891
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
892
|
+
"update:modelValue": (args_0: string) => any;
|
|
893
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
894
|
+
P: {};
|
|
895
|
+
B: {};
|
|
896
|
+
D: {};
|
|
897
|
+
C: {};
|
|
898
|
+
M: {};
|
|
899
|
+
Defaults: {};
|
|
900
|
+
}, Readonly<import("reka-ui").ComboboxInputProps> & Readonly<{
|
|
901
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
902
|
+
}>, {}, {}, {}, {}, {}>;
|
|
903
|
+
__isFragment?: never;
|
|
904
|
+
__isTeleport?: never;
|
|
905
|
+
__isSuspense?: never;
|
|
906
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").ComboboxInputProps> & Readonly<{
|
|
907
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
908
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
909
|
+
"update:modelValue": (args_0: string) => any;
|
|
910
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
911
|
+
$slots: {
|
|
912
|
+
default?: (props: {}) => any;
|
|
913
|
+
};
|
|
914
|
+
});
|
|
915
|
+
export let ComboboxTrigger: {
|
|
916
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteTriggerProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
917
|
+
P: {};
|
|
918
|
+
B: {};
|
|
919
|
+
D: {};
|
|
920
|
+
C: {};
|
|
921
|
+
M: {};
|
|
922
|
+
Defaults: {};
|
|
923
|
+
}, Readonly<import("reka-ui").AutocompleteTriggerProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
924
|
+
__isFragment?: never;
|
|
925
|
+
__isTeleport?: never;
|
|
926
|
+
__isSuspense?: never;
|
|
927
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").AutocompleteTriggerProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
928
|
+
$slots: {
|
|
929
|
+
default?: (props: {}) => any;
|
|
930
|
+
};
|
|
931
|
+
});
|
|
932
|
+
export let ComboboxCancel: {
|
|
933
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteCancelProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
934
|
+
P: {};
|
|
935
|
+
B: {};
|
|
936
|
+
D: {};
|
|
937
|
+
C: {};
|
|
938
|
+
M: {};
|
|
939
|
+
Defaults: {};
|
|
940
|
+
}, Readonly<import("reka-ui").AutocompleteCancelProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
941
|
+
__isFragment?: never;
|
|
942
|
+
__isTeleport?: never;
|
|
943
|
+
__isSuspense?: never;
|
|
944
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").AutocompleteCancelProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
945
|
+
$slots: {
|
|
946
|
+
default?: (props: {}) => any;
|
|
947
|
+
};
|
|
948
|
+
});
|
|
949
|
+
export let ComboboxPortal: {
|
|
950
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompletePortalProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
951
|
+
P: {};
|
|
952
|
+
B: {};
|
|
953
|
+
D: {};
|
|
954
|
+
C: {};
|
|
955
|
+
M: {};
|
|
956
|
+
Defaults: {};
|
|
957
|
+
}, Readonly<import("reka-ui").AutocompletePortalProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
958
|
+
__isFragment?: never;
|
|
959
|
+
__isTeleport?: never;
|
|
960
|
+
__isSuspense?: never;
|
|
961
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").AutocompletePortalProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
962
|
+
$slots: {
|
|
963
|
+
default?: (props: {}) => any;
|
|
964
|
+
};
|
|
965
|
+
});
|
|
966
|
+
export let ComboboxContent: {
|
|
967
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteContentProps> & Readonly<{
|
|
968
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
969
|
+
onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
|
|
970
|
+
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
971
|
+
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
972
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
973
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
974
|
+
pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
975
|
+
focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
|
|
976
|
+
interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
|
|
977
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
978
|
+
P: {};
|
|
979
|
+
B: {};
|
|
980
|
+
D: {};
|
|
981
|
+
C: {};
|
|
982
|
+
M: {};
|
|
983
|
+
Defaults: {};
|
|
984
|
+
}, Readonly<import("reka-ui").AutocompleteContentProps> & Readonly<{
|
|
985
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
986
|
+
onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
|
|
987
|
+
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
988
|
+
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
989
|
+
}>, {}, {}, {}, {}, {}>;
|
|
990
|
+
__isFragment?: never;
|
|
991
|
+
__isTeleport?: never;
|
|
992
|
+
__isSuspense?: never;
|
|
993
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").AutocompleteContentProps> & Readonly<{
|
|
994
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
995
|
+
onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
|
|
996
|
+
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
997
|
+
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
998
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
999
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
1000
|
+
pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
1001
|
+
focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
|
|
1002
|
+
interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
|
|
1003
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1004
|
+
$slots: {
|
|
1005
|
+
default?: (props: {}) => any;
|
|
1006
|
+
};
|
|
1007
|
+
});
|
|
1008
|
+
export let ComboboxViewport: {
|
|
1009
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteViewportProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1010
|
+
P: {};
|
|
1011
|
+
B: {};
|
|
1012
|
+
D: {};
|
|
1013
|
+
C: {};
|
|
1014
|
+
M: {};
|
|
1015
|
+
Defaults: {};
|
|
1016
|
+
}, Readonly<import("reka-ui").AutocompleteViewportProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1017
|
+
__isFragment?: never;
|
|
1018
|
+
__isTeleport?: never;
|
|
1019
|
+
__isSuspense?: never;
|
|
1020
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").AutocompleteViewportProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1021
|
+
$slots: {
|
|
1022
|
+
default?: (props: {}) => any;
|
|
1023
|
+
};
|
|
1024
|
+
});
|
|
1025
|
+
export let ComboboxGroup: {
|
|
1026
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1027
|
+
P: {};
|
|
1028
|
+
B: {};
|
|
1029
|
+
D: {};
|
|
1030
|
+
C: {};
|
|
1031
|
+
M: {};
|
|
1032
|
+
Defaults: {};
|
|
1033
|
+
}, Readonly<import("reka-ui").AutocompleteGroupProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1034
|
+
__isFragment?: never;
|
|
1035
|
+
__isTeleport?: never;
|
|
1036
|
+
__isSuspense?: never;
|
|
1037
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").AutocompleteGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1038
|
+
$slots: {
|
|
1039
|
+
default?: (props: {}) => any;
|
|
1040
|
+
};
|
|
1041
|
+
});
|
|
1042
|
+
export let ComboboxLabel: {
|
|
1043
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteLabelProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1044
|
+
P: {};
|
|
1045
|
+
B: {};
|
|
1046
|
+
D: {};
|
|
1047
|
+
C: {};
|
|
1048
|
+
M: {};
|
|
1049
|
+
Defaults: {};
|
|
1050
|
+
}, Readonly<import("reka-ui").AutocompleteLabelProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1051
|
+
__isFragment?: never;
|
|
1052
|
+
__isTeleport?: never;
|
|
1053
|
+
__isSuspense?: never;
|
|
1054
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").AutocompleteLabelProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1055
|
+
$slots: {
|
|
1056
|
+
default?: (props: {}) => any;
|
|
1057
|
+
};
|
|
1058
|
+
});
|
|
1059
|
+
export let ComboboxOption: <T extends import("reka-ui").AcceptableValue = import("reka-ui").AcceptableValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
1060
|
+
attrs: any;
|
|
1061
|
+
slots: {
|
|
1062
|
+
default?: (props: {
|
|
1063
|
+
selected: boolean;
|
|
1064
|
+
}) => any;
|
|
1065
|
+
};
|
|
1066
|
+
emit: (evt: "select", event: import("reka-ui").ListboxItemSelectEvent<T>) => void;
|
|
1067
|
+
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1068
|
+
props: import("vue").PublicProps & {
|
|
1069
|
+
textValue?: string;
|
|
1070
|
+
value: T;
|
|
1071
|
+
disabled?: boolean;
|
|
1072
|
+
asChild?: boolean;
|
|
1073
|
+
as?: import("reka-ui").AsTag | import("vue").Component;
|
|
1074
|
+
onSelect?: ((event: import("reka-ui").ListboxItemSelectEvent<T>) => any) | undefined;
|
|
1075
|
+
} & (typeof globalThis extends {
|
|
1076
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
1077
|
+
} ? P : {});
|
|
1078
|
+
expose: (exposed: {}) => void;
|
|
1079
|
+
attrs: any;
|
|
1080
|
+
slots: {
|
|
1081
|
+
default?: (props: {
|
|
1082
|
+
selected: boolean;
|
|
1083
|
+
}) => any;
|
|
1084
|
+
};
|
|
1085
|
+
emit: (evt: "select", event: import("reka-ui").ListboxItemSelectEvent<T>) => void;
|
|
1086
|
+
}>) => import("vue").VNode & {
|
|
1087
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1088
|
+
};
|
|
1089
|
+
export let ComboboxOptionIndicator: {
|
|
1090
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1091
|
+
P: {};
|
|
1092
|
+
B: {};
|
|
1093
|
+
D: {};
|
|
1094
|
+
C: {};
|
|
1095
|
+
M: {};
|
|
1096
|
+
Defaults: {};
|
|
1097
|
+
}, Readonly<import("reka-ui").AutocompleteItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1098
|
+
__isFragment?: never;
|
|
1099
|
+
__isTeleport?: never;
|
|
1100
|
+
__isSuspense?: never;
|
|
1101
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").AutocompleteItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1102
|
+
$slots: {
|
|
1103
|
+
default?: (props: {}) => any;
|
|
1104
|
+
};
|
|
1105
|
+
});
|
|
1106
|
+
export let ComboboxSeparator: {
|
|
1107
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1108
|
+
P: {};
|
|
1109
|
+
B: {};
|
|
1110
|
+
D: {};
|
|
1111
|
+
C: {};
|
|
1112
|
+
M: {};
|
|
1113
|
+
Defaults: {};
|
|
1114
|
+
}, Readonly<import("reka-ui").AutocompleteSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1115
|
+
__isFragment?: never;
|
|
1116
|
+
__isTeleport?: never;
|
|
1117
|
+
__isSuspense?: never;
|
|
1118
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").AutocompleteSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1119
|
+
$slots: {
|
|
1120
|
+
default?: (props: {}) => any;
|
|
1121
|
+
};
|
|
1122
|
+
});
|
|
1123
|
+
export let ComboboxEmpty: {
|
|
1124
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").AutocompleteEmptyProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1125
|
+
P: {};
|
|
1126
|
+
B: {};
|
|
1127
|
+
D: {};
|
|
1128
|
+
C: {};
|
|
1129
|
+
M: {};
|
|
1130
|
+
Defaults: {};
|
|
1131
|
+
}, Readonly<import("reka-ui").AutocompleteEmptyProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1132
|
+
__isFragment?: never;
|
|
1133
|
+
__isTeleport?: never;
|
|
1134
|
+
__isSuspense?: never;
|
|
1135
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").AutocompleteEmptyProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1136
|
+
$slots: {
|
|
1137
|
+
default?: (props: {}) => any;
|
|
1138
|
+
};
|
|
1139
|
+
});
|
|
1140
|
+
export { FuroIcon };
|
|
1141
|
+
}
|
|
1142
|
+
declare var __VLS_15: {};
|
|
1143
|
+
declare namespace __VLS_18 {
|
|
1144
|
+
let option: import("./AutocompleteEmitPayload.js").FuroAutocompleteOption | import("./FuroAutocompleteFieldContext.js").FuroAcceptableValue;
|
|
1145
|
+
}
|
|
1146
|
+
declare var __VLS_40: {};
|
|
1147
|
+
declare var __VLS_47: {};
|
|
1148
|
+
declare var __VLS_60: {};
|
|
1149
|
+
declare var __VLS_79: {};
|
|
1150
|
+
declare var __VLS_95: {};
|
|
1151
|
+
declare namespace __VLS_104 {
|
|
1152
|
+
let group: import("./AutocompleteEmitPayload.js").FuroAutocompleteOption | import("./FuroAutocompleteFieldContext.js").FuroAcceptableValue;
|
|
1153
|
+
let groupIndex: number;
|
|
1154
|
+
}
|
|
1155
|
+
declare namespace __VLS_112 {
|
|
1156
|
+
let group_1: import("./AutocompleteEmitPayload.js").FuroAutocompleteOption | import("./FuroAutocompleteFieldContext.js").FuroAcceptableValue;
|
|
1157
|
+
export { group_1 as group };
|
|
1158
|
+
let groupIndex_1: number;
|
|
1159
|
+
export { groupIndex_1 as groupIndex };
|
|
1160
|
+
}
|
|
1161
|
+
declare namespace __VLS_123 {
|
|
1162
|
+
let group_2: import("./AutocompleteEmitPayload.js").FuroAutocompleteOption | import("./FuroAutocompleteFieldContext.js").FuroAcceptableValue;
|
|
1163
|
+
export { group_2 as group };
|
|
1164
|
+
let groupIndex_2: number;
|
|
1165
|
+
export { groupIndex_2 as groupIndex };
|
|
1166
|
+
let option_1: import("./AutocompleteEmitPayload.js").FuroAutocompleteOption | import("./FuroAutocompleteFieldContext.js").FuroAcceptableValue;
|
|
1167
|
+
export { option_1 as option };
|
|
1168
|
+
export let optionIndex: number;
|
|
1169
|
+
}
|
|
1170
|
+
declare namespace __VLS_125 {
|
|
1171
|
+
let option_2: import("./AutocompleteEmitPayload.js").FuroAutocompleteOption | import("./FuroAutocompleteFieldContext.js").FuroAcceptableValue;
|
|
1172
|
+
export { option_2 as option };
|
|
1173
|
+
let optionIndex_1: number;
|
|
1174
|
+
export { optionIndex_1 as optionIndex };
|
|
1175
|
+
}
|
|
1176
|
+
declare namespace __VLS_132 {
|
|
1177
|
+
let option_3: import("./AutocompleteEmitPayload.js").FuroAutocompleteOption | import("./FuroAutocompleteFieldContext.js").FuroAcceptableValue;
|
|
1178
|
+
export { option_3 as option };
|
|
1179
|
+
let optionIndex_2: number;
|
|
1180
|
+
export { optionIndex_2 as optionIndex };
|
|
1181
|
+
}
|
|
1182
|
+
declare namespace __VLS_140 {
|
|
1183
|
+
let option_4: import("./AutocompleteEmitPayload.js").FuroAutocompleteOption | import("./FuroAutocompleteFieldContext.js").FuroAcceptableValue;
|
|
1184
|
+
export { option_4 as option };
|
|
1185
|
+
let optionIndex_3: number;
|
|
1186
|
+
export { optionIndex_3 as optionIndex };
|
|
1187
|
+
}
|
|
1188
|
+
declare namespace __VLS_147 {
|
|
1189
|
+
let option_5: import("./AutocompleteEmitPayload.js").FuroAutocompleteOption | import("./FuroAutocompleteFieldContext.js").FuroAcceptableValue;
|
|
1190
|
+
export { option_5 as option };
|
|
1191
|
+
let optionIndex_4: number;
|
|
1192
|
+
export { optionIndex_4 as optionIndex };
|
|
1193
|
+
}
|
|
1194
|
+
declare namespace __VLS_154 {
|
|
1195
|
+
let option_6: import("./AutocompleteEmitPayload.js").FuroAutocompleteOption | import("./FuroAutocompleteFieldContext.js").FuroAcceptableValue;
|
|
1196
|
+
export { option_6 as option };
|
|
1197
|
+
let optionIndex_5: number;
|
|
1198
|
+
export { optionIndex_5 as optionIndex };
|
|
1199
|
+
}
|
|
1200
|
+
declare namespace __VLS_169 {
|
|
1201
|
+
let searchKeyword: string;
|
|
1202
|
+
}
|
|
1203
|
+
declare namespace __VLS_177 {
|
|
1204
|
+
let loading: boolean;
|
|
1205
|
+
}
|
|
1206
|
+
declare var __VLS_179: {};
|
|
1207
|
+
declare var __VLS_186: {};
|
|
750
1208
|
import FuroAutocompleteFieldContext from './FuroAutocompleteFieldContext.js';
|
|
751
1209
|
import type { FuroAutocompleteFieldSlots } from './FuroAutocompleteFieldContext.js';
|
|
1210
|
+
import FuroIcon from '../../atoms/FuroIcon/FuroIcon.vue';
|
package/types/generated/components/molecules/FuroAutocompleteField/FuroAutocompleteFieldContext.d.ts
CHANGED
|
@@ -131,6 +131,12 @@ export default class FuroAutocompleteFieldContext extends BaseFuroContext<null,
|
|
|
131
131
|
* @returns {import('vue').Ref<boolean>}
|
|
132
132
|
*/
|
|
133
133
|
get internalOpenPopoverRef(): import("vue").Ref<boolean>;
|
|
134
|
+
/**
|
|
135
|
+
* get: attributes bound onto the inner combobox input.
|
|
136
|
+
*
|
|
137
|
+
* @returns {Props['inputParcel']}
|
|
138
|
+
*/
|
|
139
|
+
get inputParcel(): Props["inputParcel"];
|
|
134
140
|
/**
|
|
135
141
|
* Get loading.
|
|
136
142
|
*
|
|
@@ -609,6 +615,12 @@ export default class FuroAutocompleteFieldContext extends BaseFuroContext<null,
|
|
|
609
615
|
* @returns {string}
|
|
610
616
|
*/
|
|
611
617
|
extractPlaceholderText(): string;
|
|
618
|
+
/**
|
|
619
|
+
* Extract the attributes bound onto the inner combobox input.
|
|
620
|
+
*
|
|
621
|
+
* @returns {Props['inputParcel']}
|
|
622
|
+
*/
|
|
623
|
+
extractInputAttributes(): Props["inputParcel"];
|
|
612
624
|
}
|
|
613
625
|
export type FuroAutocompleteFieldContextParams = import("../../../contexts/BaseFuroContext.js").BaseFuroContextParams & {
|
|
614
626
|
props: Props;
|
|
@@ -629,7 +641,13 @@ export type EmitEventName = keyof typeof FuroAutocompleteFieldContext.EMIT_EVENT
|
|
|
629
641
|
export type FuroAcceptableValue = string | number | bigint | Record<string, unknown> | null;
|
|
630
642
|
export type Props = import("vue").HTMLAttributes & {
|
|
631
643
|
parcel?: FuroAutocompleteFieldParcel | null;
|
|
644
|
+
inputParcel?: FuroAutocompleteFieldInputParcel | null;
|
|
632
645
|
};
|
|
646
|
+
/**
|
|
647
|
+
* Attributes for the inner `<input role="combobox">` (`id`, `name`, `aria-*`, `required`, …).
|
|
648
|
+
* The component keeps `placeholder`, the display text and the search keyword for itself.
|
|
649
|
+
*/
|
|
650
|
+
export type FuroAutocompleteFieldInputParcel = Omit<import("vue").InputHTMLAttributes, "placeholder" | "value">;
|
|
633
651
|
/**
|
|
634
652
|
* Closed-set Furo behavior for `<FuroAutocompleteField>`.
|
|
635
653
|
* JSON-serializable only. Not an open passthrough to the internal combobox library.
|