import * as i0 from '@angular/core'; import { OnInit, Injector, DestroyRef, OnChanges, SimpleChanges, ModuleWithProviders, NgModuleFactory, InjectionToken } from '@angular/core'; import * as _abp_ng_components_extensible from '@abp/ng.components/extensible'; import { EntityActionContributorCallback, ToolbarActionContributorCallback, EntityPropContributorCallback, CreateFormPropContributorCallback, EditFormPropContributorCallback, EntityAction, EntityProp, FormProp, ToolbarAction } from '@abp/ng.components/extensible'; import * as _volo_abp_ng_openiddictpro_proxy from '@volo/abp.ng.openiddictpro/proxy'; import { Applications, Scopes, ApplicationService, ScopeService } from '@volo/abp.ng.openiddictpro/proxy'; import * as i1 from '@angular/router'; import { Routes } from '@angular/router'; import * as i2 from '@abp/ng.core'; import { ListService, PagedResultDto, LocalizationService, SubscriptionService } from '@abp/ng.core'; import * as i3 from '@volo/abp.commercial.ng.ui'; import * as i4 from '@abp/ng.theme.shared'; import { ToasterService, ConfirmationService } from '@abp/ng.theme.shared'; import * as i5 from '@ng-bootstrap/ng-bootstrap'; import * as i6 from '@ngx-validate/core'; import * as i7 from '@abp/ng.components/page'; import * as i8 from '@abp/ng.permission-management'; import * as _angular_forms from '@angular/forms'; import { UntypedFormGroup, ValidatorFn } from '@angular/forms'; import * as rxjs from 'rxjs'; import { Subscription, Observable } from 'rxjs'; declare const enum eOpenIddictProComponents { Applications = "OpenIddictPro.Applications", Scopes = "OpenIddictPro.Scopes" } type OpenIddictProEntityActionContributors = Partial<{ [eOpenIddictProComponents.Applications]: EntityActionContributorCallback[]; [eOpenIddictProComponents.Scopes]: EntityActionContributorCallback[]; }>; type OpenIddictProToolbarActionContributors = Partial<{ [eOpenIddictProComponents.Applications]: ToolbarActionContributorCallback[]; }>; type OpenIddictProEntityPropContributors = Partial<{ [eOpenIddictProComponents.Applications]: EntityPropContributorCallback[]; }>; type OpenIddictProCreateFormPropContributors = Partial<{ [eOpenIddictProComponents.Applications]: CreateFormPropContributorCallback[]; }>; type OpenIddictProEditFormPropContributors = Partial<{ [eOpenIddictProComponents.Applications]: EditFormPropContributorCallback[]; }>; interface OpenIddictProConfigOptions { entityActionContributors?: OpenIddictProEntityActionContributors; toolbarActionContributors?: OpenIddictProToolbarActionContributors; entityPropContributors?: OpenIddictProEntityPropContributors; createFormPropContributors?: OpenIddictProCreateFormPropContributors; editFormPropContributors?: OpenIddictProEditFormPropContributors; } declare class OpeniddictproRoutingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class TokenLifetimeModalComponent implements OnInit { #private; protected readonly toasterService: ToasterService; readonly selected: i0.InputSignal<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>; readonly saved: i0.OutputEmitterRef; loading: i0.WritableSignal; form: _angular_forms.FormGroup<{}>; ngOnInit(): void; generateTokenLifetimeFormControls(): {}; save(): void; visibleChange($event: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ApplicationsService { #private; private state; isModalVisible: i0.Signal; isTokenLifetimeModalVisible: i0.Signal; openModal(): void; setModalState(value: boolean): void; setTokenLifetimeModalState(value: boolean): void; } declare class ApplicationsComponent implements OnInit { protected readonly service: ApplicationsService; protected readonly confirmationService: ConfirmationService; protected readonly proxyService: ApplicationService; protected readonly toasterService: ToasterService; protected readonly list: ListService; data: PagedResultDto; readonly selected: i0.WritableSignal<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>; providerKey: string; visiblePermissions: boolean; onVisiblePermissionChange: (value: boolean) => void; onSaved(): void; edit(id: string): void; delete(id: string, name: string): void; ngOnInit(): void; onAdd(): void; openPermissionsModal(providerKey: string): void; protected hookToQuery(): void; openTokenLifetimeModal(record: Applications.Dtos.ApplicationDto): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ApplicationFormModalComponent implements OnInit { protected readonly service: ApplicationService; protected readonly applicationsService: ApplicationsService; protected readonly localizationService: LocalizationService; protected readonly subscription: SubscriptionService; protected readonly injector: Injector; protected readonly toasterService: ToasterService; protected readonly destroyRef: DestroyRef; readonly saved: i0.OutputEmitterRef; readonly selected: i0.InputSignal<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>; form: UntypedFormGroup; formValueChanges$: Subscription; types$: Observable<{ key: string; value: string; }[]>; consentTypes$: Observable<{ key: string; value: string; }[]>; options: { size: string; }; protected createForm(): void; getFormValue(): any; ngOnInit(): void; visibleChange($event: boolean): void; save(): void; hideFlowToType(): void; togglePushAuthorizationState(): void; changeTextToType(displayName: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ScopesService { private state; isModalVisible$: rxjs.Observable; openModal(): void; setModalState(value: boolean): void; } declare class ScopesComponent implements OnInit { protected readonly list: ListService; protected readonly confirmationService: ConfirmationService; protected readonly toasterService: ToasterService; protected readonly service: ScopeService; protected readonly scopesService: ScopesService; data: PagedResultDto; selected: Scopes.Dtos.ScopeDto; private hookToQuery; ngOnInit(): void; onAdd(): void; onEdit(id: any): void; onDelete(id: any, name: any): void; onSaved(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ScopeFormModalComponent implements OnChanges { protected readonly injector: Injector; protected readonly scopesService: ScopesService; protected readonly service: ScopeService; protected readonly toasterService: ToasterService; form: UntypedFormGroup; readonly selected: i0.InputSignal<_volo_abp_ng_openiddictpro_proxy.ScopeDto>; readonly saved: i0.OutputEmitterRef; blueprints: { pattern: string; }; isModalVisible$: Observable; ngOnChanges(changes: SimpleChanges): void; save(): void; visibleChange($event: boolean): void; private createForm; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class OpeniddictproModule { static forChild(options?: OpenIddictProConfigOptions): ModuleWithProviders; /** * @deprecated `OpeniddictproModule.forLazy()` is deprecated. You can use `createRoutes` **function** instead. */ static forLazy(options?: OpenIddictProConfigOptions): NgModuleFactory; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare function createRoutes(config?: OpenIddictProConfigOptions): Routes; declare const allowFlow: ({ allowImplicitFlow, allowAuthorizationCodeFlow, allowHybridFlow, }: Applications.Dtos.ApplicationDto) => boolean; declare const DEFAULT_APPLICATIONS_ENTITY_ACTIONS: EntityAction<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>[]; declare const DEFAULT_APPLICATIONS_ENTITY_PROPS: EntityProp<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>[]; declare const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS: FormProp<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>[]; declare const DEFAULT_APPLICATIONS_FORM_PROPS: FormProp<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>[]; declare const DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS: ToolbarAction<_volo_abp_ng_openiddictpro_proxy.ApplicationDto[]>[]; declare const defaultApplicationsTypeList: { key: string; value: string; }[]; declare const defaultApplicationTypes: { public: string; confidential: string; }; declare const defaultApplicationTypesList: { key: string; value: string; }[]; declare const DefaultApplicationsConsentType: { key: string; value: string; }[]; declare const DEFAULT_SCOPE_ENTITY_ACTIONS: EntityAction<_volo_abp_ng_openiddictpro_proxy.ScopeDto>[]; declare const DEFAULT_SCOPES_ENTITY_PROPS: EntityProp<_volo_abp_ng_openiddictpro_proxy.ScopeDto>[]; declare const DEFAULT_SCOPE_CREATE_FORM_PROPS: FormProp<_volo_abp_ng_openiddictpro_proxy.ScopeDto>[]; declare const DEFAULT_SCOPES_FORM_PROPS: FormProp<_volo_abp_ng_openiddictpro_proxy.ScopeDto>[]; declare const DEFAULT_SCOPES_TOOLBAR_ACTIONS: ToolbarAction<_volo_abp_ng_openiddictpro_proxy.ApplicationDto[]>[]; declare const defaultUriPattern: RegExp; /** * @deprecated Use `openIddictProExtensionsResolver` *function* instead. */ declare class OpenIddictProExtensionsGuard { private readonly injector; canActivate(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS: { "OpenIddictPro.Applications": _abp_ng_components_extensible.EntityAction<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>[]; "OpenIddictPro.Scopes": _abp_ng_components_extensible.EntityAction<_volo_abp_ng_openiddictpro_proxy.ScopeDto>[]; }; declare const DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS: { "OpenIddictPro.Applications": _abp_ng_components_extensible.ToolbarAction<_volo_abp_ng_openiddictpro_proxy.ApplicationDto[]>[]; "OpenIddictPro.Scopes": _abp_ng_components_extensible.ToolbarAction<_volo_abp_ng_openiddictpro_proxy.ApplicationDto[]>[]; }; declare const DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS: { "OpenIddictPro.Applications": _abp_ng_components_extensible.EntityProp<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>[]; "OpenIddictPro.Scopes": _abp_ng_components_extensible.EntityProp<_volo_abp_ng_openiddictpro_proxy.ScopeDto>[]; }; declare const DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS: { "OpenIddictPro.Applications": _abp_ng_components_extensible.FormProp<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>[]; "OpenIddictPro.Scopes": _abp_ng_components_extensible.FormProp<_volo_abp_ng_openiddictpro_proxy.ScopeDto>[]; }; declare const DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS: { "OpenIddictPro.Applications": _abp_ng_components_extensible.FormProp<_volo_abp_ng_openiddictpro_proxy.ApplicationDto>[]; "OpenIddictPro.Scopes": _abp_ng_components_extensible.FormProp<_volo_abp_ng_openiddictpro_proxy.ScopeDto>[]; }; declare const OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS: InjectionToken[]; }>>; declare const OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS: InjectionToken[]; }>>; declare const OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS: InjectionToken[]; "OpenIddictPro.Scopes": EntityPropContributorCallback[]; }>>; declare const OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS: InjectionToken[]; }>>; declare const OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS: InjectionToken[]; }>>; declare function hashSetParser(stringOrArray: string | Array): string | string[]; declare function UrisValidator(): ValidatorFn; export { ApplicationFormModalComponent, ApplicationsComponent, ApplicationsService, DEFAULT_APPLICATIONS_CREATE_FORM_PROPS, DEFAULT_APPLICATIONS_ENTITY_ACTIONS, DEFAULT_APPLICATIONS_ENTITY_PROPS, DEFAULT_APPLICATIONS_FORM_PROPS, DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS, DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS, DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS, DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS, DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS, DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS, DEFAULT_SCOPES_ENTITY_PROPS, DEFAULT_SCOPES_FORM_PROPS, DEFAULT_SCOPES_TOOLBAR_ACTIONS, DEFAULT_SCOPE_CREATE_FORM_PROPS, DEFAULT_SCOPE_ENTITY_ACTIONS, DefaultApplicationsConsentType, OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS, OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS, OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS, OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS, OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS, OpenIddictProExtensionsGuard, OpeniddictproModule, ScopeFormModalComponent, ScopesComponent, ScopesService, TokenLifetimeModalComponent, UrisValidator, allowFlow, createRoutes, defaultApplicationTypes, defaultApplicationTypesList, defaultApplicationsTypeList, defaultUriPattern, eOpenIddictProComponents, hashSetParser };