UNPKG

@fmidev/smartmet-alert-client

Version:

Web application for viewing weather and flood alerts

113 lines (112 loc) 3.54 kB
import { Language, WarningsDataResponse } from './types'; type __VLS_Props = { currentDate?: string | Date | null; baseUrl?: string; selectedDay?: string | number; regionListEnabled?: string | boolean; spinnerEnabled?: string | boolean; grayScaleSelector?: string | boolean; staticDays?: string | boolean; startFrom?: string; weatherUpdated?: string; floodUpdated?: string; weatherWarnings?: string; floodWarnings?: string; warnings?: string | WarningsDataResponse | null; dailyWarningTypes?: string | string[]; refreshInterval?: string | number; geometryId?: string | number; language?: Language | string; theme?: string; fontScale?: string | number; sleep?: string | boolean; debugMode?: string | boolean; }; declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, { currentDate: null; baseUrl: string; selectedDay: number; regionListEnabled: boolean; spinnerEnabled: boolean; grayScaleSelector: boolean; staticDays: boolean; startFrom: string; weatherUpdated: string; floodUpdated: string; weatherWarnings: string; floodWarnings: string; warnings: null; dailyWarningTypes: () => never[]; refreshInterval: number; geometryId: number; language: Language; theme: string; fontScale: number; sleep: boolean; debugMode: boolean; }>, { show: () => void; hide: () => void; }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, { currentDate: null; baseUrl: string; selectedDay: number; regionListEnabled: boolean; spinnerEnabled: boolean; grayScaleSelector: boolean; staticDays: boolean; startFrom: string; weatherUpdated: string; floodUpdated: string; weatherWarnings: string; floodWarnings: string; warnings: null; dailyWarningTypes: () => never[]; refreshInterval: number; geometryId: number; language: Language; theme: string; fontScale: number; sleep: boolean; debugMode: boolean; }>>>, { startFrom: string; geometryId: string | number; dailyWarningTypes: string | string[]; language: Language | string; theme: string; warnings: string | WarningsDataResponse | null; spinnerEnabled: string | boolean; staticDays: string | boolean; selectedDay: string | number; grayScaleSelector: string | boolean; refreshInterval: string | number; regionListEnabled: string | boolean; sleep: string | boolean; baseUrl: string; currentDate: string | Date | null; fontScale: string | number; debugMode: string | boolean; weatherUpdated: string; floodUpdated: string; weatherWarnings: string; floodWarnings: string; }, {}>; export default _default; type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & { default: D[K]; }> : P[K]; }; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToOption<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; type __VLS_PrettifyLocal<T> = { [K in keyof T]: T[K]; } & {};