import * as _angular_forms from '@angular/forms'; import { UntypedFormGroup } from '@angular/forms'; import * as rxjs from 'rxjs'; import { Observable } from 'rxjs'; import * as i0 from '@angular/core'; import { OnInit, Injector, Renderer2, ModuleWithProviders, NgModuleFactory, InjectionToken } from '@angular/core'; import * as i2 from '@abp/ng.core'; import { ListService, ConfigStateService, SessionStateService, PagedResultDto, LanguageInfo } from '@abp/ng.core'; import * as i4 from '@abp/ng.theme.shared'; import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared'; import { LanguageService, LanguageDto, CultureInfoDto, LanguageTextService, LanguageTextDto, GetLanguagesTextsInput, LanguageResourceDto } from '@volo/abp.ng.language-management/proxy'; import { ModuleVisibility } from '@volo/abp.commercial.ng.ui/config'; import * as _abp_ng_components_extensible from '@abp/ng.components/extensible'; import { EntityActionContributorCallback, ToolbarActionContributorCallback, EntityPropContributorCallback, CreateFormPropContributorCallback, EditFormPropContributorCallback, EntityAction, ToolbarAction, EntityProp, FormProp } from '@abp/ng.components/extensible'; import * as i1 from '@angular/router'; import { Routes, ResolveFn } from '@angular/router'; import * as i3 from '@volo/abp.commercial.ng.ui'; import * as i5 from '@ng-bootstrap/ng-bootstrap'; import * as i6 from '@ngx-validate/core'; import * as i7 from '@abp/ng.components/page'; declare class LanguagesComponent implements OnInit { protected readonly list: ListService; protected readonly confirmationService: ConfirmationService; protected readonly service: LanguageService; protected readonly configState: ConfigStateService; protected readonly sessionService: SessionStateService; protected readonly toasterService: ToasterService; protected readonly injector: Injector; data: PagedResultDto; cultures$: rxjs.Observable; form: UntypedFormGroup; selected: LanguageDto; isModalVisible: boolean; modalBusy: boolean; flagIcons: string[]; protected get controls(): { [key: string]: _angular_forms.AbstractControl; }; protected createForm(): void; protected hookToQuery(): void; ngOnInit(): void; openModal(): void; add(): void; edit(id: string): void; save(): void; delete(id: string, name: string, isDefaultLanguage?: boolean): void; setAsDefault(id: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class LanguageTextsComponent implements OnInit { protected readonly list: ListService; protected readonly renderer: Renderer2; protected readonly configState: ConfigStateService; protected readonly service: LanguageTextService; protected readonly languageService: LanguageService; protected readonly toasterService: ToasterService; data: PagedResultDto; columns: { field: string; header: string; }[]; selected: LanguageTextDto; selectedIndex: number; pageQuery: GetLanguagesTextsInput; isModalVisible: boolean; modalBusy: boolean; languages: LanguageInfo[]; resources: { name?: string; }[]; ngOnInit(): void; openModal(): void; closeModal(): void; private hookToQuery; edit(data: LanguageTextDto, index: number): void; save(next?: boolean): void; restore(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const enum eLanguageManagementComponents { Languages = "LanguageManagement.LanguagesComponent", LanguageTexts = "LanguageManagement.LanguageTextsComponent" } /** * @deprecated Use `languageManagementExtensionsResolver` *function* instead. */ declare class LanguageManagementExtensionsGuard { private readonly injector; canActivate(): Observable; private filterFlagIcon; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * @deprecated Use `languageManagementGuard` *function* instead. */ declare class LanguageManagementGuard { private languageManagementFeatures; constructor(languageManagementFeatures: Observable); canActivate(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const languageManagementGuard: () => Observable; type LanguageManagementEntityActionContributors = Partial<{ [eLanguageManagementComponents.Languages]: EntityActionContributorCallback[]; [eLanguageManagementComponents.LanguageTexts]: EntityActionContributorCallback[]; }>; type LanguageManagementToolbarActionContributors = Partial<{ [eLanguageManagementComponents.Languages]: ToolbarActionContributorCallback[]; [eLanguageManagementComponents.LanguageTexts]: ToolbarActionContributorCallback[]; }>; type LanguageManagementEntityPropContributors = Partial<{ [eLanguageManagementComponents.Languages]: EntityPropContributorCallback[]; [eLanguageManagementComponents.LanguageTexts]: EntityPropContributorCallback[]; }>; type LanguageManagementCreateFormPropContributors = Partial<{ [eLanguageManagementComponents.Languages]: CreateFormPropContributorCallback[]; [eLanguageManagementComponents.LanguageTexts]: CreateFormPropContributorCallback[]; }>; type LanguageManagementEditFormPropContributors = Partial<{ [eLanguageManagementComponents.Languages]: EditFormPropContributorCallback[]; [eLanguageManagementComponents.LanguageTexts]: EditFormPropContributorCallback[]; }>; interface LanguageManagementConfigOptions { entityActionContributors?: LanguageManagementEntityActionContributors; toolbarActionContributors?: LanguageManagementToolbarActionContributors; entityPropContributors?: LanguageManagementEntityPropContributors; createFormPropContributors?: LanguageManagementCreateFormPropContributors; editFormPropContributors?: LanguageManagementEditFormPropContributors; } declare class LanguageManagementRoutingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class LanguageManagementModule { static forChild(options?: LanguageManagementConfigOptions): ModuleWithProviders; /** * @deprecated `LanguageManagementModule.forLazy()` is deprecated. You can use `createRoutes` **function** instead. */ static forLazy(options?: LanguageManagementConfigOptions): NgModuleFactory; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare namespace LanguageManagement { interface State { languageResponse: PagedResultDto; languageTextsResponse: PagedResultDto; selectedItem: LanguageDto; cultures: CultureInfoDto[]; resources: LanguageResourceDto[]; } } declare function createRoutes(config?: LanguageManagementConfigOptions): Routes; declare const DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS: { "LanguageManagement.LanguagesComponent": _abp_ng_components_extensible.EntityAction[]; "LanguageManagement.LanguageTextsComponent": _abp_ng_components_extensible.EntityAction[]; }; declare const DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS: { "LanguageManagement.LanguagesComponent": _abp_ng_components_extensible.ToolbarAction[]; "LanguageManagement.LanguageTextsComponent": _abp_ng_components_extensible.ToolbarAction[]; }; declare const DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_PROPS: { "LanguageManagement.LanguagesComponent": _abp_ng_components_extensible.EntityProp[]; }; declare const DEFAULT_LANGUAGE_MANAGEMENT_CREATE_FORM_PROPS: { "LanguageManagement.LanguagesComponent": _abp_ng_components_extensible.FormProp[]; }; declare const DEFAULT_LANGUAGE_MANAGEMENT_EDIT_FORM_PROPS: { "LanguageManagement.LanguagesComponent": _abp_ng_components_extensible.FormProp[]; }; declare const LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS: InjectionToken[]; "LanguageManagement.LanguageTextsComponent": EntityActionContributorCallback[]; }>>; declare const LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS: InjectionToken[]; "LanguageManagement.LanguageTextsComponent": ToolbarActionContributorCallback[]; }>>; declare const LANGUAGE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS: InjectionToken[]; "LanguageManagement.LanguageTextsComponent": EntityPropContributorCallback[]; }>>; declare const LANGUAGE_MANAGEMENT_CREATE_FORM_PROP_CONTRIBUTORS: InjectionToken[]; "LanguageManagement.LanguageTextsComponent": CreateFormPropContributorCallback[]; }>>; declare const LANGUAGE_MANAGEMENT_EDIT_FORM_PROP_CONTRIBUTORS: InjectionToken[]; "LanguageManagement.LanguageTextsComponent": EditFormPropContributorCallback[]; }>>; declare const DEFAULT_LANGUAGE_TEXTS_ENTITY_ACTIONS: EntityAction[]; declare const DEFAULT_LANGUAGE_TEXTS_TOOLBAR_ACTIONS: ToolbarAction[]; declare const DEFAULT_LANGUAGES_ENTITY_ACTIONS: EntityAction[]; declare const DEFAULT_LANGUAGES_ENTITY_PROPS: EntityProp[]; declare const DEFAULT_LANGUAGES_CREATE_FORM_PROPS: FormProp[]; declare const DEFAULT_LANGUAGES_EDIT_FORM_PROPS: FormProp[]; declare const DEFAULT_LANGUAGES_TOOLBAR_ACTIONS: ToolbarAction[]; declare const languageManagementExtensionsResolver: ResolveFn; export { DEFAULT_LANGUAGES_CREATE_FORM_PROPS, DEFAULT_LANGUAGES_EDIT_FORM_PROPS, DEFAULT_LANGUAGES_ENTITY_ACTIONS, DEFAULT_LANGUAGES_ENTITY_PROPS, DEFAULT_LANGUAGES_TOOLBAR_ACTIONS, DEFAULT_LANGUAGE_MANAGEMENT_CREATE_FORM_PROPS, DEFAULT_LANGUAGE_MANAGEMENT_EDIT_FORM_PROPS, DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS, DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_PROPS, DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS, DEFAULT_LANGUAGE_TEXTS_ENTITY_ACTIONS, DEFAULT_LANGUAGE_TEXTS_TOOLBAR_ACTIONS, LANGUAGE_MANAGEMENT_CREATE_FORM_PROP_CONTRIBUTORS, LANGUAGE_MANAGEMENT_EDIT_FORM_PROP_CONTRIBUTORS, LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS, LANGUAGE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS, LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS, LanguageManagement, LanguageManagementExtensionsGuard, LanguageManagementGuard, LanguageManagementModule, LanguageTextsComponent, LanguagesComponent, createRoutes, eLanguageManagementComponents, languageManagementExtensionsResolver, languageManagementGuard }; export type { LanguageManagementConfigOptions, LanguageManagementCreateFormPropContributors, LanguageManagementEditFormPropContributors, LanguageManagementEntityActionContributors, LanguageManagementEntityPropContributors, LanguageManagementToolbarActionContributors };