UNPKG

vue-i18n-phrase-in-context-editor

Version:

Integrate Phrase In-Context Editor into your Vue I18n app with ease!

17 lines 757 B
import '@sagi.io/globalthis'; import { DeepPartial } from './typings/helpers'; import { PhraseConfig } from './phrase-config.type'; export declare type VueI18nPhraseOptions = Omit<DeepPartial<PhraseConfig>, 'phraseEnabled' | 'projectId'> & Pick<PhraseConfig, 'phraseEnabled' | 'projectId'>; export default class VueI18nPhrase { private static defaultConfig; private phraseScript?; private previousVueI18nFormatter; vueI18n: Vue['$i18n']; constructor(vueI18n: Vue['$i18n'], options: VueI18nPhraseOptions); private loadInContextEditor; set phraseEnabled(phraseEnabled: boolean); get phraseEnabled(): boolean; set config(options: PhraseConfig); get config(): PhraseConfig; } //# sourceMappingURL=vue-i18n-phrase.d.ts.map