UNPKG

@tongziyang/uni-calendar-plugin

Version:

A comprehensive calendar plugin for uniapp with support for Gregorian and Lunar calendars, date selection, hotel booking, check-in functionality, and more.

19 lines (18 loc) 595 B
/// <reference types="shims-vue" /> export type Locale = 'zh-CN' | 'en-US' | 'ja-JP' | 'ko-KR'; export interface Messages { [key: string]: string | string[] | Messages; } export declare function setLocale(locale: Locale): void; export declare function getLocale(): Locale; export declare function useI18n(): { t: (key: string) => string; locale: import("vue").ComputedRef<Locale>; setLocale: typeof setLocale; }; declare const _default: { t: (key: string) => string; locale: import("vue").ComputedRef<Locale>; setLocale: typeof setLocale; }; export default _default;