@nextcloud/vue
Version:
Nextcloud vue components
37 lines (36 loc) • 1.36 kB
TypeScript
export type ITimezone = {
/**
* Time zone ID in IANA format, e.g. "Europe/Berlin", or "floating" for a time independent of timezone, or a custom timezone ID
*/
timezoneId: string;
/**
* Localized label of the timezone, e.g. "Central European Standard Time"
*/
label: string;
/**
* Continent the timezone if any, e.g. "Europe" (not localized)
*/
continent: string;
};
type __VLS_Props = {
/**
* An array of additional timezones to include with the standard database. Useful if there is a custom timezone, e.g. read from user data
*/
additionalTimezones?: ITimezone[];
/**
* ID of the inner vue-select element, can be used for labels like: `vs-${uid}__combobox`
*/
uid?: string;
};
type __VLS_PublicProps = {
modelValue?: string;
} & __VLS_Props;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: string) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
}>, {
uid: string;
additionalTimezones: ITimezone[];
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;