@alauda-fe/common
Version:
Alauda frontend team common codes.
34 lines (33 loc) • 1.17 kB
TypeScript
import { CodeEditorIntl } from '@alauda/code-editor';
import { TranslateService } from '../../translate/public-api';
import * as i0 from "@angular/core";
/**
* aui-code-editor 中 label 翻译依赖 CodeEditorIntl 中的具体属性值
*/
export declare class CustomCodeEditorIntl extends CodeEditorIntl {
translate: TranslateService;
labels$: import("rxjs").Observable<{
copyLabel: string;
copiedLabel: string;
readonlyLabel: string;
readwriteLabel: string;
clearLabel: string;
recoverLabel: string;
findLabel: string;
formatLabel: string;
foldLabel: string;
exportLabel: string;
importLabel: string;
lightThemeLabel: string;
darkThemeLabel: string;
autoThemeLabel: string;
showDiffLabel: string;
fullscreenLabel: string;
exitFullscreenLabel: string;
previewLabel: string;
}>;
getLanguageLabel(lang: string): string;
constructor(translate: TranslateService);
static ɵfac: i0.ɵɵFactoryDeclaration<CustomCodeEditorIntl, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<CustomCodeEditorIntl>;
}