nuxt-i18n-micro
Version:
Nuxt I18n Micro is a lightweight, high-performance internationalization module for Nuxt, designed to handle multi-language support with minimal overhead, fast build times, and efficient runtime performance.
63 lines (62 loc) • 2.23 kB
TypeScript
import type { CSSProperties } from 'vue';
interface Props {
customLabels?: Record<string, string>;
customWrapperStyle?: CSSProperties;
customButtonStyle?: CSSProperties;
customDropdownStyle?: CSSProperties;
customItemStyle?: CSSProperties;
customLinkStyle?: CSSProperties;
customActiveLinkStyle?: CSSProperties;
customDisabledLinkStyle?: CSSProperties;
customIconStyle?: CSSProperties;
}
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {
locale: any;
}, __VLS_21: {
locale: any;
}, __VLS_23: {
locale: any;
}, __VLS_25: {
locale: any;
}, __VLS_27: {}, __VLS_29: {};
type __VLS_Slots = {} & {
'before-button'?: (props: typeof __VLS_1) => any;
} & {
'before-selected-locale'?: (props: typeof __VLS_3) => any;
} & {
'after-selected-locale'?: (props: typeof __VLS_5) => any;
} & {
'before-dropdown'?: (props: typeof __VLS_7) => any;
} & {
'before-dropdown-items'?: (props: typeof __VLS_9) => any;
} & {
'before-item'?: (props: typeof __VLS_11) => any;
} & {
'before-link-content'?: (props: typeof __VLS_21) => any;
} & {
'after-link-content'?: (props: typeof __VLS_23) => any;
} & {
'after-item'?: (props: typeof __VLS_25) => any;
} & {
'after-dropdown-items'?: (props: typeof __VLS_27) => any;
} & {
'after-dropdown'?: (props: typeof __VLS_29) => any;
};
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
customLabels: Record<string, string>;
customWrapperStyle: CSSProperties;
customButtonStyle: CSSProperties;
customDropdownStyle: CSSProperties;
customItemStyle: CSSProperties;
customLinkStyle: CSSProperties;
customActiveLinkStyle: CSSProperties;
customDisabledLinkStyle: CSSProperties;
customIconStyle: CSSProperties;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};