@nextcloud/vue
Version:
Nextcloud vue components
139 lines (138 loc) • 3.62 kB
TypeScript
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
/**
* id attribute of the checkbox element
*/
id: {
type: StringConstructor;
default: () => string;
validator: (id: unknown) => boolean;
};
/**
* disabled state of the text area
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* value attribute of the input field
*/
modelValue: {
type: StringConstructor;
default: string;
};
}>, {
mdiArrowRight: string;
}, {}, {
/**
* determines if the action is focusable
*
* @return {boolean} is the action focusable ?
*/
isFocusable(): boolean;
computedId(): string;
}, {
onInput(event: any): void;
onSubmit(event: any): false | undefined;
}, {
mixins: {
beforeUpdate(): void;
data(): {
text: any;
};
computed: {
isLongText(): any;
};
methods: {
getText(): any;
};
}[];
props: {
icon: {
type: StringConstructor;
default: string;
};
name: {
type: StringConstructor;
default: string;
};
title: {
type: StringConstructor;
default: string;
};
closeAfterClick: {
type: BooleanConstructor;
default: boolean;
};
ariaLabel: {
type: StringConstructor;
default: null;
};
};
inject: {
closeMenu: {
from: import('vue').InjectionKey<(returnFocus: boolean) => void>;
};
};
emits: string[];
created(): void;
computed: {
isIconUrl(): boolean;
};
methods: {
onClick(event: any): void;
};
}, import('vue').ComponentOptionsMixin, ("submit" | "input" | "update:modelValue")[], "submit" | "input" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
/**
* id attribute of the checkbox element
*/
id: {
type: StringConstructor;
default: () => string;
validator: (id: unknown) => boolean;
};
/**
* disabled state of the text area
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* value attribute of the input field
*/
modelValue: {
type: StringConstructor;
default: string;
};
}>> & Readonly<{
onSubmit?: ((...args: any[]) => any) | undefined;
onInput?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
id: string;
disabled: boolean;
modelValue: string;
}, {}, {
NcIconSvgWrapper: import('vue').DefineComponent<{
directional?: boolean;
inline?: boolean;
svg?: string;
name?: string;
path?: string;
size?: number | "auto";
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
directional?: boolean;
inline?: boolean;
svg?: string;
name?: string;
path?: string;
size?: number | "auto";
}> & Readonly<{}>, {
size: number | "auto";
name: string;
svg: string;
path: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;