import * as rxjs from 'rxjs'; import { Observable } from 'rxjs'; import * as i0 from '@angular/core'; import { OnInit, ModuleWithProviders, NgModuleFactory, InjectionToken } from '@angular/core'; import * as i1 from '@angular/router'; import { ActivatedRoute, Router, Routes, ResolveFn } from '@angular/router'; import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; import * as i3 from '@abp/ng.core'; import { PermissionService, LanguageInfo, ListService, PagedResultDto } from '@abp/ng.core'; import * as i5 from '@abp/ng.theme.shared'; import { ToasterService } from '@abp/ng.theme.shared'; import { TemplateContentService, TemplateDefinitionService, TextTemplateContentDto, TemplateDefinitionDto } from '@volo/abp.ng.text-template-management/proxy'; import * as _abp_ng_components_extensible from '@abp/ng.components/extensible'; import { EntityActionContributorCallback, ToolbarActionContributorCallback, EntityPropContributorCallback, EntityProp, EntityAction, ToolbarAction } from '@abp/ng.components/extensible'; import * as i2 from '@ngx-validate/core'; import * as i4 from '@volo/abp.commercial.ng.ui'; import * as i6 from '@ng-bootstrap/ng-bootstrap'; import * as i7 from '@abp/ng.components/page'; declare class AbstractTemplateContentComponent implements OnInit { protected fb: UntypedFormBuilder; protected templateContentService: TemplateContentService; protected templateDefinitionService: TemplateDefinitionService; protected route: ActivatedRoute; protected toasterService: ToasterService; protected permissionService: PermissionService; form: UntypedFormGroup; templateContent: TextTemplateContentDto; busy: boolean; selectedCultureName: string; isNotSandboxedEngine: boolean; get hasNonSandboxedPermission(): boolean; get editingDisabled(): boolean; ngOnInit(): void; getData(): rxjs.Observable; save(callback?: () => unknown): void; restoreToDefault(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class InlineTemplateContentComponent extends AbstractTemplateContentComponent implements OnInit { private readonly router; customizePerCulture(): void; save(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TemplateContentsComponent extends AbstractTemplateContentComponent implements OnInit { private readonly configStateService; languages: LanguageInfo[]; currentCultureName: string; referenceTemplateContent: TextTemplateContentDto; ngOnInit(): void; getReferenceTemplateContent(): void; onChangeSelectedCultureName(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TextTemplatesComponent implements OnInit { readonly list: ListService; protected router: Router; protected service: TemplateDefinitionService; data: PagedResultDto; ngOnInit(): void; private hookToQuery; editContents(record: TemplateDefinitionDto): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const enum eTextTemplateManagementComponents { TextTemplates = "TextTemplateManagement.TextTemplates", TemplateContents = "TextTemplateManagement.TemplateContents", InlineTemplateContent = "TextTemplateManagement.InlineTemplateContent" } /** * @deprecated Use `textTemplateManagementExtensionsResolver` *function* instead. */ declare class TextTemplateManagementExtensionsGuard { private readonly injector; canActivate(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * @deprecated Use `textTemplateManagementGuard` *function* instead. */ declare class TextTemplateManagementGuard { private textTemplateManagementFeatures; canActivate(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const textTemplateManagementGuard: () => Observable; type TextTemplateManagementEntityActionContributors = Partial<{ [eTextTemplateManagementComponents.TextTemplates]: EntityActionContributorCallback[]; }>; type TextTemplateManagementToolbarActionContributors = Partial<{ [eTextTemplateManagementComponents.TextTemplates]: ToolbarActionContributorCallback[]; }>; type TextTemplateManagementEntityPropContributors = Partial<{ [eTextTemplateManagementComponents.TextTemplates]: EntityPropContributorCallback[]; }>; interface TextTemplateManagementConfigOptions { entityActionContributors?: TextTemplateManagementEntityActionContributors; toolbarActionContributors?: TextTemplateManagementToolbarActionContributors; entityPropContributors?: TextTemplateManagementEntityPropContributors; } declare class TextTemplateManagementRoutingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class TextTemplateManagementModule { static forChild(options?: TextTemplateManagementConfigOptions): ModuleWithProviders; /** * @deprecated `TextTemplateManagementModule.forLazy()` is deprecated. You can use `createRoutes` **function** instead. */ static forLazy(options?: TextTemplateManagementConfigOptions): NgModuleFactory; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare function createRoutes(config?: TextTemplateManagementConfigOptions): Routes; declare const DEFAULT_TEXT_TEMPLATE_MANAGEMENT_ENTITY_ACTIONS: { "TextTemplateManagement.TextTemplates": _abp_ng_components_extensible.EntityAction[]; }; declare const DEFAULT_TEXT_TEMPLATE_MANAGEMENT_TOOLBAR_ACTIONS: { "TextTemplateManagement.TextTemplates": _abp_ng_components_extensible.ToolbarAction[]; }; declare const DEFAULT_TEXT_TEMPLATE_MANAGEMENT_ENTITY_PROPS: { "TextTemplateManagement.TextTemplates": _abp_ng_components_extensible.EntityProp[]; }; declare const TEXT_TEMPLATE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS: InjectionToken[]; }>>; declare const TEXT_TEMPLATE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS: InjectionToken[]; }>>; declare const TEXT_TEMPLATE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS: InjectionToken[]; }>>; declare const DEFAULT_TEXT_TEMPLATES_ENTITY_PROPS: EntityProp[]; declare const DEFAULT_TEXT_TEMPLATES_ENTITY_ACTIONS: EntityAction[]; declare const DEFAULT_TEXT_TEMPLATES_TOOLBAR_ACTIONS: ToolbarAction[]; declare const textTemplateManagementExtensionsResolver: ResolveFn; export { AbstractTemplateContentComponent, DEFAULT_TEXT_TEMPLATES_ENTITY_ACTIONS, DEFAULT_TEXT_TEMPLATES_ENTITY_PROPS, DEFAULT_TEXT_TEMPLATES_TOOLBAR_ACTIONS, DEFAULT_TEXT_TEMPLATE_MANAGEMENT_ENTITY_ACTIONS, DEFAULT_TEXT_TEMPLATE_MANAGEMENT_ENTITY_PROPS, DEFAULT_TEXT_TEMPLATE_MANAGEMENT_TOOLBAR_ACTIONS, InlineTemplateContentComponent, TEXT_TEMPLATE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS, TEXT_TEMPLATE_MANAGEMENT_ENTITY_PROP_CONTRIBUTORS, TEXT_TEMPLATE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS, TemplateContentsComponent, TextTemplateManagementExtensionsGuard, TextTemplateManagementGuard, TextTemplateManagementModule, TextTemplatesComponent, createRoutes, eTextTemplateManagementComponents, textTemplateManagementExtensionsResolver, textTemplateManagementGuard }; export type { TextTemplateManagementConfigOptions, TextTemplateManagementEntityActionContributors, TextTemplateManagementEntityPropContributors, TextTemplateManagementToolbarActionContributors };