/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { FocusMonitor } from '@angular/cdk/a11y'; import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core'; import { AbstractControl, FormArray, FormBuilder, FormGroup } from '@angular/forms'; import { MagFormField2, MagInitConfig } from 'ng-stalk/core/model'; import { MagConfigService } from 'ng-stalk/core/service'; import { CodeAndName } from 'ng-stalk/core/types'; import { NzConfigService } from 'ng-zorro-antd/core/config'; import { Observable } from 'rxjs'; import { I18nMultipleInputFormModel } from './i18n-multiple-input-form-model'; import { CustomLabel } from './custom-label'; import { InformationPair } from './information-pair'; import { NsI18nKeyValues } from "./ns-i18n-key-values"; import * as i0 from "@angular/core"; export declare class NsI18nMultipleInputComponent extends MagFormField2 implements OnInit, OnDestroy { nzConfigService: NzConfigService; protected cdr: ChangeDetectorRef; protected focusMonitor: FocusMonitor; protected fb: FormBuilder; private magConfigService; modelForm: FormGroup; mode: 'tab' | 'whole'; editable: boolean; langs: string[] | Observable; /** * language 데이터 set * 폼 노출 여부와 상관없는 지원 가능한 언어 code and i18n name set 목록 */ languages: CodeAndName[]; /** * 폼 노출하는 언어 코드 목록 */ displayLangs: string[]; placeholderKey: string; placeholderValue: string; customLabels: CustomLabel[]; reqruiedErrorMessage: string; constructor(nzConfigService: NzConfigService, cdr: ChangeDetectorRef, focusMonitor: FocusMonitor, fb: FormBuilder, magConfigService: MagConfigService); ngOnInit(): void; writeValue(value: NsI18nKeyValues): void; protected updateValue(value: NsI18nKeyValues): void; ngOnDestroy(): void; changeMode(mode: 'tab' | 'whole'): void; initForm(langs: string[], formModel: I18nMultipleInputFormModel): void; createForm(model: I18nMultipleInputFormModel): FormGroup; makePairControls(pairs: InformationPair[]): FormArray; fitControls(newLangs: string[]): void; pairItems(code: string): AbstractControl[]; addBlankLine(languageCode: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }