@nextcloud/vue
Version:
Nextcloud vue components
122 lines (121 loc) • 3.14 kB
TypeScript
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
/**
* The label text
*/
label: {
type: StringConstructor;
required: false;
default: null;
};
/**
* The secondary line of text if any
*/
subline: {
type: StringConstructor;
default: null;
};
/**
* Unique id
*/
id: {
type: StringConstructor;
default: null;
};
/**
* The icon class
*/
icon: {
type: StringConstructor;
required: true;
};
/**
* Icon as external URL
*/
iconUrl: {
type: StringConstructor;
default: null;
};
source: {
type: StringConstructor;
required: true;
};
status: {
type: (ObjectConstructor | ArrayConstructor)[];
default: () => {};
};
}>, {
isDarkTheme: Readonly<import('vue').Ref<boolean, boolean>>;
}, {}, {
avatarUrl(): string | null;
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
/**
* The label text
*/
label: {
type: StringConstructor;
required: false;
default: null;
};
/**
* The secondary line of text if any
*/
subline: {
type: StringConstructor;
default: null;
};
/**
* Unique id
*/
id: {
type: StringConstructor;
default: null;
};
/**
* The icon class
*/
icon: {
type: StringConstructor;
required: true;
};
/**
* Icon as external URL
*/
iconUrl: {
type: StringConstructor;
default: null;
};
source: {
type: StringConstructor;
required: true;
};
status: {
type: (ObjectConstructor | ArrayConstructor)[];
default: () => {};
};
}>> & Readonly<{}>, {
id: string;
label: string;
status: Record<string, any> | unknown[];
iconUrl: string;
subline: string;
}, {}, {
NcUserStatusIcon: import('vue').DefineComponent<{
status?: "online" | "away" | "busy" | "dnd" | "invisible" | "offline";
} & {
user?: string;
ariaHidden?: boolean | "true" | "false";
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:status": (value: "offline" | "online" | "invisible" | "away" | "busy" | "dnd") => any;
}, string, import('vue').PublicProps, Readonly<{
status?: "online" | "away" | "busy" | "dnd" | "invisible" | "offline";
} & {
user?: string;
ariaHidden?: boolean | "true" | "false";
}> & Readonly<{
"onUpdate:status"?: ((value: "offline" | "online" | "invisible" | "away" | "busy" | "dnd") => any) | undefined;
}>, {
ariaHidden: boolean | "true" | "false";
user: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;