UNPKG

tdesign-mobile-vue

Version:
82 lines (81 loc) 2.04 kB
import { InjectionKey, ComputedRef } from 'vue'; import defaultZhLocale from '../_common/js/global-config/mobile/locale/zh_CN'; import { GlobalConfigProvider } from './type'; export declare const defaultGlobalConfig: { readonly classPrefix: "t"; } & { actionSheet: { cancel: string; }; calendar: { title: string; confirm: string; weekdays: string[]; monthTitle: string; months: string[]; }; cascader: { title: string; placeholder: string; }; dropdownMenu: { reset: string; confirm: string; }; dateTimePicker: { title: string; cancel: string; confirm: string; format: string; yearLabel: string; monthLabel: string; dateLabel: string; hourLabel: string; minuteLabel: string; secondLabel: string; }; picker: { cancel: string; confirm: string; }; pullDownRefresh: { loadingTexts: string[]; }; rate: { valueText: string; noValueText: string; }; tabBar: { newsAriaLabel: string; moreNewsAriaLabel: string; haveMoreNewsAriaLabel: string; haveNewsAriaLabel: string; }; table: { empty: string; }; list: { loading: string; loadingMoreText: string; pulling: string; loosing: string; success: string; }; upload: { progress: { uploadingText: string; waitingText: string; failText: string; successText: string; }; }; guide: { next: string; skip: string; finish: string; back: string; }; }; export declare type Locale = typeof defaultZhLocale; export declare const configProviderInjectKey: InjectionKey<ComputedRef<GlobalConfigProvider>>; export declare const mergeWith: (defaultGlobalConfig: GlobalConfigProvider, injectConfig: GlobalConfigProvider) => GlobalConfigProvider;