import { PipeTransform } from '@angular/core'; import { FunctionService } from 'vhobjects-service/src/services'; import * as i0 from "@angular/core"; export declare class VhLanguagePipe implements PipeTransform { private functionService; constructor(functionService: FunctionService); /** * Hàm này sẽ trả về giá trị hiển thị hoặc giá trị mặc định từ functionService.multiLanguageFallback. * * Nếu không có `fieldName` VÀ `component` thì sẽ trả về ''. * * Nếu không có `fieldName` HOẶC `component` thì sẽ trả về 'Content'. * * @param data gái trị sẽ hiển thị * @param fieldName tên trường dữ liệu để khi fallback thì dùng nó để lấy gái trị mặc định từ functionService.multiLanguageFallback * @param component tên component để khi fallback thì dùng nó để lấy gái trị mặc định từ functionService.multiLanguageFallback * @returns giá trị hiển thị hoặc giá trị mặc định từ functionService.multiLanguageFallback * * @example * staticdata['content_' + this.functionService.selectedLanguageCode] | vhLanguage : 'content' : data.component * * data.staticdata['input_text_placeholder_' + this.functionService.selectedLanguageCode] | vhLanguage * */ transform(data: any, fieldName?: any, component?: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } export declare class VhLanguagePipeModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }