@nextcloud/vue
Version:
Nextcloud vue components
1,022 lines (1,021 loc) • 55.4 kB
TypeScript
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
/**
* Provider to select on creation
* Show the provider list if no initial one is provided
*/
initialProvider: {
type: ObjectConstructor;
default: () => null;
};
/**
* Focus on the input item on create
*/
focusOnCreate: {
type: BooleanConstructor;
default: boolean;
};
/**
* If true, add the modal content to the Viewer trap elements via the event-bus
*/
isInsideViewer: {
type: BooleanConstructor;
default: boolean;
};
}>, {}, {
show: boolean;
selectedProvider: Record<string, any>;
backButtonTitle: string;
closeButtonTitle: string;
closeButtonLabel: string;
}, {
isProviderSelected(): boolean;
showBackButton(): boolean;
modalSize(): "small" | "normal" | "large" | "full";
showModalName(): boolean;
modalName(): any;
}, {
onCancel(): void;
onSubmit(value: any): void;
onProviderSelect(provider: any): void;
onBackClicked(): void;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("cancel" | "submit")[], "cancel" | "submit", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
/**
* Provider to select on creation
* Show the provider list if no initial one is provided
*/
initialProvider: {
type: ObjectConstructor;
default: () => null;
};
/**
* Focus on the input item on create
*/
focusOnCreate: {
type: BooleanConstructor;
default: boolean;
};
/**
* If true, add the modal content to the Viewer trap elements via the event-bus
*/
isInsideViewer: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onCancel?: ((...args: any[]) => any) | undefined;
onSubmit?: ((...args: any[]) => any) | undefined;
}>, {
initialProvider: Record<string, any>;
focusOnCreate: boolean;
isInsideViewer: boolean;
}, {}, {
NcReferencePicker: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
initialProvider: {
type: ObjectConstructor;
default: () => null;
};
width: {
type: NumberConstructor;
default: null;
};
focusOnCreate: {
type: BooleanConstructor;
default: boolean;
};
}>, {}, {
MODES: {
providerList: number;
standardLinkInput: number;
searchInput: number;
customElement: number;
};
selectedProvider: Record<string, any>;
}, {
mode(): number;
pickerWrapperStyle(): {
width: string | undefined;
};
}, {
onEscapePressed(): void;
onProviderSelected(provider: any): void;
cancelCustomElement(): void;
cancelSearch(): void;
cancelRawLinkInput(): void;
cancelProviderSelection(): void;
submitLink(link: any): void;
deselectProvider(): void;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("cancel" | "submit" | "cancelRawLink" | "cancelSearch" | "providerSelected")[], "cancel" | "submit" | "cancelRawLink" | "cancelSearch" | "providerSelected", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
initialProvider: {
type: ObjectConstructor;
default: () => null;
};
width: {
type: NumberConstructor;
default: null;
};
focusOnCreate: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onCancel?: ((...args: any[]) => any) | undefined;
onSubmit?: ((...args: any[]) => any) | undefined;
onProviderSelected?: ((...args: any[]) => any) | undefined;
onCancelRawLink?: ((...args: any[]) => any) | undefined;
onCancelSearch?: ((...args: any[]) => any) | undefined;
}>, {
width: number;
initialProvider: Record<string, any>;
focusOnCreate: boolean;
}, {}, {
NcCustomPickerElement: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
provider: {
type: ObjectConstructor;
required: true;
};
}>, {}, {
isRegistered: boolean;
renderResult: null;
}, {}, {
renderElement(): void;
onSubmit(value: any): void;
onCancel(): void;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("cancel" | "submit")[], "cancel" | "submit", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
provider: {
type: ObjectConstructor;
required: true;
};
}>> & Readonly<{
onCancel?: ((...args: any[]) => any) | undefined;
onSubmit?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
NcProviderList: import('vue').DefineComponent<{}, {}, {
selectedProvider: null;
query: string;
multiselectPlaceholder: string;
providerIconAlt: string;
}, {
options(): (import('../../../index.ts').ReferenceProvider | {
id: string;
title: string;
isLink: boolean;
})[];
}, {
focus(): void;
onProviderSelected(p: any): void;
onSearch(query: any): void;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("submit" | "selectProvider")[], "submit" | "selectProvider", import('vue').PublicProps, Readonly<{}> & Readonly<{
onSubmit?: ((...args: any[]) => any) | undefined;
onSelectProvider?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {
NcSelect: import('vue').DefineComponent<{}, {
avatarSize: number;
isLegacy: boolean;
}, {
search: string;
}, {
inputRequired(): any;
localCalculatePosition(): any;
localFilterBy(): any;
localLabel(): any;
propsToForward(): any;
}, {
t: (original: string, placeholders?: Record<string, string | number>) => string;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, (" " | "update:modelValue")[], " " | "update:modelValue", import('vue').PublicProps, Readonly<{}> & Readonly<{
"on "?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {} | {
[x: string]: any;
}, {}, {
ChevronDown: any;
NcEllipsisedOption: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
name: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
}>, {}, {}, {
needsTruncate(): boolean | "";
split(): number;
part1(): string;
part2(): string;
highlight1(): any[];
highlight2(): any[];
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
name: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
}>> & Readonly<{}>, {
name: string;
search: string;
}, {}, {
NcHighlight: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
text: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
highlight: {
type: import('vue').PropType<import('../../../utils/findRanges.ts').StringRange[]>;
default: () => never[];
};
}>, {}, {}, {
ranges(): import('../../../utils/findRanges.ts').StringRange[];
chunks(): import('../../NcHighlight/NcHighlight.vue').HighlightChunk[];
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
text: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
highlight: {
type: import('vue').PropType<import('../../../utils/findRanges.ts').StringRange[]>;
default: () => never[];
};
}>> & Readonly<{}>, {
search: string;
text: string;
highlight: import('../../../utils/findRanges.ts').StringRange[];
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
NcLoadingIcon: import('vue').DefineComponent<{
appearance?: "auto" | "light" | "dark";
name?: string;
size?: number;
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
appearance?: "auto" | "light" | "dark";
name?: string;
size?: number;
}> & Readonly<{}>, {
size: number;
name: string;
appearance: "auto" | "light" | "dark";
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
VueSelect: any;
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
NcHighlight: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
text: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
highlight: {
type: import('vue').PropType<import('../../../utils/findRanges.ts').StringRange[]>;
default: () => never[];
};
}>, {}, {}, {
ranges(): import('../../../utils/findRanges.ts').StringRange[];
chunks(): import('../../NcHighlight/NcHighlight.vue').HighlightChunk[];
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
text: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
highlight: {
type: import('vue').PropType<import('../../../utils/findRanges.ts').StringRange[]>;
default: () => never[];
};
}>> & Readonly<{}>, {
search: string;
text: string;
highlight: import('../../../utils/findRanges.ts').StringRange[];
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
NcEmptyContent: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
description?: string;
name?: string;
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
name: string;
description: string;
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<{
description?: string;
name?: string;
}> & Readonly<{}>, {}, {}, {}, {}, {
name: string;
description: string;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<{
description?: string;
name?: string;
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
name: string;
description: string;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: Readonly<{
action?: import('vue').Slot;
icon?: import('vue').Slot;
name?: import('vue').Slot;
description?: import('vue').Slot;
}> & {
action?: import('vue').Slot;
icon?: import('vue').Slot;
name?: import('vue').Slot;
description?: import('vue').Slot;
};
});
LinkVariantIcon: any;
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
NcRawLinkInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
provider: {
type: ObjectConstructor;
required: true;
};
}>, {}, {
inputValue: string;
loading: boolean;
reference: null;
abortController: null;
inputPlaceholder: string;
}, {
isLinkValid(): boolean;
debouncedUpdateReference(): import('debounce').DebouncedFunction<() => void>;
}, {
focus(): void;
onSubmit(e: any): void;
onClear(): void;
onInput(): void;
updateReference(): void;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "submit"[], "submit", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
provider: {
type: ObjectConstructor;
required: true;
};
}>> & Readonly<{
onSubmit?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {
LinkVariantIcon: any;
NcEmptyContent: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
description?: string;
name?: string;
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
name: string;
description: string;
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<{
description?: string;
name?: string;
}> & Readonly<{}>, {}, {}, {}, {}, {
name: string;
description: string;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<{
description?: string;
name?: string;
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
name: string;
description: string;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: Readonly<{
action?: import('vue').Slot;
icon?: import('vue').Slot;
name?: import('vue').Slot;
description?: import('vue').Slot;
}> & {
action?: import('vue').Slot;
icon?: import('vue').Slot;
name?: import('vue').Slot;
description?: import('vue').Slot;
};
});
NcLoadingIcon: import('vue').DefineComponent<{
appearance?: "auto" | "light" | "dark";
name?: string;
size?: number;
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
appearance?: "auto" | "light" | "dark";
name?: string;
size?: number;
}> & Readonly<{}>, {
size: number;
name: string;
appearance: "auto" | "light" | "dark";
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
NcReferenceWidget: import('vue').DefineComponent<{
reference: import('../../../functions/reference/widgets.ts').ReferenceWidgetObject;
interactive?: boolean;
interactiveOptIn?: boolean;
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
reference: import('../../../functions/reference/widgets.ts').ReferenceWidgetObject;
interactive?: boolean;
interactiveOptIn?: boolean;
}> & Readonly<{}>, {
interactive: boolean;
interactiveOptIn: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
widgetRoot: HTMLDivElement;
customWidget: HTMLDivElement;
}, HTMLDivElement>;
NcTextField: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
modelValue?: string | number;
} & import('../../NcInputField/NcInputField.vue').NcInputFieldProps & {
trailingButtonIcon?: "arrowEnd" | "close" | "undo";
trailingButtonLabel?: string;
}> & Readonly<{
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
}>, {
focus: (options?: FocusOptions) => void;
select: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: string | number) => any;
}, import('vue').PublicProps, {
trailingButtonLabel: string;
trailingButtonIcon: "arrowEnd" | "close" | "undo";
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
inputField: ({
$: import('vue').ComponentInternalInstance;
$data: {};
$props: {
readonly modelValue: string | number;
readonly class?: import('../../../utils/VueTypes.ts').VueClassType | undefined;
readonly inputClass?: import('../../../utils/VueTypes.ts').VueClassType | undefined;
readonly id?: string | undefined;
readonly label?: string | undefined;
readonly labelOutside?: boolean | undefined;
readonly type?: "text" | "password" | "email" | "tel" | "url" | "search" | "number" | undefined;
readonly placeholder?: string | undefined;
readonly showTrailingButton?: boolean | undefined;
readonly trailingButtonLabel?: string | undefined;
readonly success?: boolean | undefined;
readonly error?: boolean | undefined;
readonly helperText?: string | undefined;
readonly disabled?: boolean | undefined;
readonly pill?: boolean | undefined;
readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
readonly onTrailingButtonClick?: ((event: MouseEvent) => any) | undefined;
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
$attrs: {
[x: string]: unknown;
};
$refs: {
[x: string]: unknown;
} & {
input: HTMLInputElement;
};
$slots: Readonly<{
[name: string]: import('vue').Slot<any> | undefined;
}>;
$root: import('vue').ComponentPublicInstance | null;
$parent: import('vue').ComponentPublicInstance | null;
$host: Element | null;
$emit: ((event: "update:modelValue", value: string | number) => void) & ((event: "trailingButtonClick", event: MouseEvent) => void);
$el: any;
$options: import('vue').ComponentOptionsBase<Readonly<{
modelValue: string | number;
} & import('../../NcInputField/NcInputField.vue').NcInputFieldProps> & Readonly<{
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
onTrailingButtonClick?: ((event: MouseEvent) => any) | undefined;
}>, {
focus: (options?: FocusOptions) => void;
select: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: string | number) => any;
trailingButtonClick: (event: MouseEvent) => any;
}, string, {
id: string;
type: "text" | "password" | "email" | "tel" | "url" | "search" | "number";
label: string;
class: import('../../../utils/VueTypes.ts').VueClassType;
inputClass: import('../../../utils/VueTypes.ts').VueClassType;
placeholder: string;
trailingButtonLabel: string;
helperText: string;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
beforeCreate?: (() => void) | (() => void)[];
created?: (() => void) | (() => void)[];
beforeMount?: (() => void) | (() => void)[];
mounted?: (() => void) | (() => void)[];
beforeUpdate?: (() => void) | (() => void)[];
updated?: (() => void) | (() => void)[];
activated?: (() => void) | (() => void)[];
deactivated?: (() => void) | (() => void)[];
beforeDestroy?: (() => void) | (() => void)[];
beforeUnmount?: (() => void) | (() => void)[];
destroyed?: (() => void) | (() => void)[];
unmounted?: (() => void) | (() => void)[];
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
};
$forceUpdate: () => void;
$nextTick: typeof import('vue').nextTick;
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
} & Readonly<{
id: string;
type: "text" | "password" | "email" | "tel" | "url" | "search" | "number";
label: string;
class: import('../../../utils/VueTypes.ts').VueClassType;
inputClass: import('../../../utils/VueTypes.ts').VueClassType;
placeholder: string;
trailingButtonLabel: string;
helperText: string;
}> & Omit<Readonly<{
modelValue: string | number;
} & import('../../NcInputField/NcInputField.vue').NcInputFieldProps> & Readonly<{
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
onTrailingButtonClick?: ((event: MouseEvent) => any) | undefined;
}>, "select" | "focus" | ("id" | "type" | "label" | "class" | "inputClass" | "placeholder" | "trailingButtonLabel" | "helperText")> & import('vue').ShallowUnwrapRef<{
focus: (options?: FocusOptions) => void;
select: () => void;
}> & {} & import('vue').ComponentCustomProperties & {} & {
$slots: Readonly<{
icon?: import('vue').Slot;
'trailing-button-icon'?: import('vue').Slot;
}> & {
icon?: import('vue').Slot;
'trailing-button-icon'?: import('vue').Slot;
};
}) | null;
}, any, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<{
modelValue?: string | number;
} & import('../../NcInputField/NcInputField.vue').NcInputFieldProps & {
trailingButtonIcon?: "arrowEnd" | "close" | "undo";
trailingButtonLabel?: string;
}> & Readonly<{
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
}>, {
focus: (options?: FocusOptions) => void;
select: () => void;
}, {}, {}, {}, {
trailingButtonLabel: string;
trailingButtonIcon: "arrowEnd" | "close" | "undo";
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<{
modelValue?: string | number;
} & import('../../NcInputField/NcInputField.vue').NcInputFieldProps & {
trailingButtonIcon?: "arrowEnd" | "close" | "undo";
trailingButtonLabel?: string;
}> & Readonly<{
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
}>, {
focus: (options?: FocusOptions) => void;
select: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: string | number) => any;
}, string, {
trailingButtonLabel: string;
trailingButtonIcon: "arrowEnd" | "close" | "undo";
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: Readonly<{
icon?: import('vue').Slot;
}> & {
icon?: import('vue').Slot;
};
});
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
NcSearch: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
provider: {
type: ObjectConstructor;
required: true;
};
showEmptyContent: {
type: BooleanConstructor;
default: boolean;
};
searchPlaceholder: {
type: StringConstructor;
default: null;
};
}>, {}, {
searchQuery: string;
selectedResult: null;
resultsBySearchProvider: {};
searching: boolean;
searchingMoreOf: null;
abortController: null;
noOptionsText: string;
providerIconAlt: string;
}, {
mySearchPlaceholder(): string;
searchProviderIds(): any;
options(): any[];
rawLinkEntry(): {
id: string;
resourceUrl: string;
isRawLink: boolean;
};
formattedSearchResults(): any[];
debouncedUpdateSearch(): import('debounce').DebouncedFunction<() => Promise<void> | undefined>;
}, {
t: (original: string, placeholders?: Record<string, string | number>) => string;
resetResults(): void;
focus(): void;
cancelSearchRequests(): void;
onSearchInput(query: any): void;
onSelectResultSelected(item: any): void;
searchMoreOf(searchProviderId: any): Promise<void>;
updateSearch(): Promise<void> | undefined;
searchProviders(searchProviderId?: null): Promise<void>;
searchOneProvider(providerId: any, cursor?: null): Promise<void>;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "submit"[], "submit", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
provider: {
type: ObjectConstructor;
required: true;
};
showEmptyContent: {
type: BooleanConstructor;
default: boolean;
};
searchPlaceholder: {
type: StringConstructor;
default: null;
};
}>> & Readonly<{
onSubmit?: ((...args: any[]) => any) | undefined;
}>, {
showEmptyContent: boolean;
searchPlaceholder: string;
}, {}, {
LinkVariantIcon: any;
DotsHorizontalIcon: any;
NcEmptyContent: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
description?: string;
name?: string;
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
name: string;
description: string;
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<{
description?: string;
name?: string;
}> & Readonly<{}>, {}, {}, {}, {}, {
name: string;
description: string;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<{
description?: string;
name?: string;
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
name: string;
description: string;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: Readonly<{
action?: import('vue').Slot;
icon?: import('vue').Slot;
name?: import('vue').Slot;
description?: import('vue').Slot;
}> & {
action?: import('vue').Slot;
icon?: import('vue').Slot;
name?: import('vue').Slot;
description?: import('vue').Slot;
};
});
NcSelect: import('vue').DefineComponent<{}, {
avatarSize: number;
isLegacy: boolean;
}, {
search: string;
}, {
inputRequired(): any;
localCalculatePosition(): any;
localFilterBy(): any;
localLabel(): any;
propsToForward(): any;
}, {
t: (original: string, placeholders?: Record<string, string | number>) => string;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, (" " | "update:modelValue")[], " " | "update:modelValue", import('vue').PublicProps, Readonly<{}> & Readonly<{
"on "?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {} | {
[x: string]: any;
}, {}, {
ChevronDown: any;
NcEllipsisedOption: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
name: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
}>, {}, {}, {
needsTruncate(): boolean | "";
split(): number;
part1(): string;
part2(): string;
highlight1(): any[];
highlight2(): any[];
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
name: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
}>> & Readonly<{}>, {
name: string;
search: string;
}, {}, {
NcHighlight: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
text: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
highlight: {
type: import('vue').PropType<import('../../../utils/findRanges.ts').StringRange[]>;
default: () => never[];
};
}>, {}, {}, {
ranges(): import('../../../utils/findRanges.ts').StringRange[];
chunks(): import('../../NcHighlight/NcHighlight.vue').HighlightChunk[];
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
text: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
highlight: {
type: import('vue').PropType<import('../../../utils/findRanges.ts').StringRange[]>;
default: () => never[];
};
}>> & Readonly<{}>, {
search: string;
text: string;
highlight: import('../../../utils/findRanges.ts').StringRange[];
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
NcLoadingIcon: import('vue').DefineComponent<{
appearance?: "auto" | "light" | "dark";
name?: string;
size?: number;
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
appearance?: "auto" | "light" | "dark";
name?: string;
size?: number;
}> & Readonly<{}>, {
size: number;
name: string;
appearance: "auto" | "light" | "dark";
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
VueSelect: any;
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
NcSearchResult: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
entry: {
type: ObjectConstructor;
required: true;
};
query: {
type: StringConstructor;
required: true;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
entry: {
type: ObjectConstructor;
required: true;
};
query: {
type: StringConstructor;
required: true;
};
}>> & Readonly<{}>, {}, {}, {
NcHighlight: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
text: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
highlight: {
type: import('vue').PropType<import('../../../utils/findRanges.ts').StringRange[]>;
default: () => never[];
};
}>, {}, {}, {
ranges(): import('../../../utils/findRanges.ts').StringRange[];
chunks(): import('../../NcHighlight/NcHighlight.vue').HighlightChunk[];
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
text: {
type: StringConstructor;
default: string;
};
search: {
type: StringConstructor;
default: string;
};
highlight: {
type: import('vue').PropType<import('../../../utils/findRanges.ts').StringRange[]>;
default: () => never[];
};
}>> & Readonly<{}>, {
search: string;
text: string;
highlight: import('../../../utils/findRanges.ts').StringRange[];
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
NcModal: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
show?: boolean;
} & {
name?: string;
hasPrevious?: boolean;
hasNext?: boolean;
outTransition?: boolean;
enableSlideshow?: boolean;
slideshowDelay?: number;
slideshowPaused?: boolean;
disableSwipe?: boolean;
spreadNavigation?: boolean;
size?: "small" | "normal" | "large" | "full";
noClose?: boolean;
closeOnClickOutside?: boolean;
dark?: boolean;
lightBackdrop?: boolean;
container?: string | null;
closeButtonOutside?: boolean;
additionalTrapElements?: (string | HTMLElement)[];
inlineActions?: number;
labelId?: string;
setReturnFocus?: import('focus-trap').FocusTargetValueOrFalse;
}> & Readonly<{
onClose?: ((payload?: Event | undefined) => any) | undefined;
onNext?: ((payload?: Event | undefined) => any) | undefined;
onPrevious?: ((payload?: Event | undefined) => any) | undefined;
"onUpdate:show"?: ((...args: unknown[]) => any) | undefined;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
close: (payload?: Event | undefined) => any;
next: (payload?: Event | undefined) => any;
previous: (payload?: Event | undefined) => any;
"update:show": (...args: unknown[]) => any;
}, import('vue').PublicProps, {
size: "small" | "normal" | "large" | "full";
name: string;
container: string | null;
setReturnFocus: import('focus-trap').FocusTargetValueOrFalse;
slideshowDelay: number;
additionalTrapElements: (string | HTMLElement)[];
inlineActions: number;
labelId: string;
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
mask: HTMLDivElement;
}, any, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<{
show?: boolean;
} & {
name?: string;
hasPrevious?: boolean;
hasNext?: boolean;
outTransition?: boolean;
enableSlideshow?: boolean;
slideshowDelay?: number;
slideshowPaused?: boolean;
disableSwipe?: boolean;
spreadNavigation?: boolean;
size?: "small" | "normal" | "large" | "full";
noClose?: boolean;
closeOnClickOutside?: boolean;
dark?: boolean;
lightBackdrop?: boolean;
container?: string | null;
closeButtonOutside?: boolean;
additionalTrapElements?: (string | HTMLElement)[];
inlineActions?: number;
labelId?: string;
setReturnFocus?: import('focus-trap').FocusTargetValueOrFalse;
}> & Readonly<{
onClose?: ((payload?: Event | undefined) => any) | undefined;
onNext?: ((payload?: Event | undefined) => any) | undefined;
onPrevious?: ((payload?: Event | undefined) => any) | undefined;
"onUpdate:show"?: ((...args: unknown[]) => any) | undefined;
}>, {}, {}, {}, {}, {
size: "small" | "normal" | "large" | "full";
name: string;
container: string | null;
setReturnFocus: import('focus-trap').FocusTargetValueOrFalse;
slideshowDelay: number;
additionalTrapElements: (string | HTMLElement)[];
inlineActions: number;
labelId: string;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<{
show?: boolean;
} & {
name?: string;
hasPrevious?: boolean;
hasNext?: boolean;
outTransition?: boolean;
enableSlideshow?: boolean;
slideshowDelay?: number;
slideshowPaused?: boolean;
disableSwipe?: boolean;
spreadNavigation?: boolean;
size?: "small" | "normal" | "large" | "full";
noClose?: boolean;
closeOnClickOutside?: boolean;
dark?: boolean;
lightBackdrop?: boolean;
container?: string | null;
closeButtonOutside?: boolean;
additionalTrapElements?: (string | HTMLElement)[];
inlineActions?: number;
labelId?: string;
setReturnFocus?: import('focus-trap').FocusTargetValueOrFalse;
}> & Readonly<{
onClose?: ((payload?: Event | undefined) => any) | undefined;
onNext?: ((payload?: Event | undefined) => any) | undefined;
onPrevious?: ((payload?: Event | undefined) => any) | undefined;
"onUpdate:show"?: ((...args: unknown[]) => any) | undefined;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
close: (payload?: Event | undefined) => any;
next: (payload?: Event | undefined) => any;
previous: (payload?: Event | undefined) => any;
"update:show": (...args: unknown[]) => any;
}, string, {
size: "small" | "normal" | "large" | "full";
name: string;
container: string | null;
setReturnFocus: import('focus-trap').FocusTargetValueOrFalse;
slideshowDelay: number;
additionalTrapElements: (string | HTMLElement)[];
inlineActions: number;
labelId: string;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: Readonly<{
actions?: import('vue').Slot;
default?: import('vue').Slot;
}> & {
actions?: import('vue').Slot;
default?: import('vue').Slot;