@volo/abp.ng.openiddictpro 7.4.1 → 8.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/esm2022/config/openiddictpro-config.module.mjs +5 -5
  2. package/esm2022/lib/components/application-form-modal/application-form-modal.component.mjs +7 -7
  3. package/esm2022/lib/components/applications/applications.component.mjs +7 -7
  4. package/esm2022/lib/components/scope-form-modal/scope-form-modal.component.mjs +7 -7
  5. package/esm2022/lib/components/scopes/scopes.component.mjs +7 -7
  6. package/esm2022/lib/defaults/default-applications-entity-actions.mjs +2 -2
  7. package/esm2022/lib/defaults/default-applications-entity-props.mjs +2 -2
  8. package/esm2022/lib/defaults/default-applications-form-props.mjs +2 -2
  9. package/esm2022/lib/defaults/default-applications-toolbar-actions.mjs +2 -2
  10. package/esm2022/lib/defaults/default-scope-entity-actions.mjs +2 -2
  11. package/esm2022/lib/defaults/default-scope-entity-props.mjs +2 -2
  12. package/esm2022/lib/defaults/default-scope-form-props.mjs +2 -2
  13. package/esm2022/lib/defaults/default-scope-toolbar-actions.mjs +2 -2
  14. package/esm2022/lib/guards/extensions.guard.mjs +9 -6
  15. package/esm2022/lib/models/config-options.mjs +1 -1
  16. package/esm2022/lib/openiddictpro-routing.module.mjs +9 -8
  17. package/esm2022/lib/openiddictpro.module.mjs +5 -7
  18. package/esm2022/lib/resolvers/extensions.resolver.mjs +28 -0
  19. package/esm2022/lib/tokens/extensions.token.mjs +1 -1
  20. package/esm2022/proxy/lib/proxy/application.service.mjs +5 -5
  21. package/esm2022/proxy/lib/proxy/scope.service.mjs +5 -5
  22. package/fesm2022/volo-abp.ng.openiddictpro-config.mjs +4 -4
  23. package/fesm2022/volo-abp.ng.openiddictpro-config.mjs.map +1 -1
  24. package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs +8 -8
  25. package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs.map +1 -1
  26. package/fesm2022/volo-abp.ng.openiddictpro.mjs +206 -180
  27. package/fesm2022/volo-abp.ng.openiddictpro.mjs.map +1 -1
  28. package/lib/defaults/default-applications-entity-actions.d.ts +1 -1
  29. package/lib/defaults/default-applications-entity-props.d.ts +1 -1
  30. package/lib/defaults/default-applications-form-props.d.ts +1 -1
  31. package/lib/defaults/default-applications-toolbar-actions.d.ts +1 -1
  32. package/lib/defaults/default-scope-entity-actions.d.ts +1 -1
  33. package/lib/defaults/default-scope-entity-props.d.ts +1 -1
  34. package/lib/defaults/default-scope-form-props.d.ts +1 -1
  35. package/lib/defaults/default-scope-toolbar-actions.d.ts +1 -1
  36. package/lib/guards/extensions.guard.d.ts +3 -0
  37. package/lib/models/config-options.d.ts +1 -1
  38. package/lib/resolvers/extensions.resolver.d.ts +2 -0
  39. package/lib/tokens/extensions.token.d.ts +11 -11
  40. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"volo-abp.ng.openiddictpro-proxy.mjs","sources":["../../../../packages/openiddictpro/proxy/src/lib/proxy/application.service.ts","../../../../packages/openiddictpro/proxy/src/lib/proxy/scope.service.ts","../../../../packages/openiddictpro/proxy/src/volo-abp.ng.openiddictpro-proxy.ts"],"sourcesContent":["import type {\r\n ApplicationDto,\r\n CreateApplicationInput,\r\n GetApplicationListInput,\r\n UpdateApplicationInput,\r\n} from './applications/dtos/models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ApplicationService {\r\n apiName = 'OpenIddictPro';\r\n\r\n create = (input: CreateApplicationInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ApplicationDto>(\r\n {\r\n method: 'POST',\r\n url: '/api/openiddict/applications',\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n delete = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, void>(\r\n {\r\n method: 'DELETE',\r\n url: '/api/openiddict/applications',\r\n params: { id },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n get = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ApplicationDto>(\r\n {\r\n method: 'GET',\r\n url: `/api/openiddict/applications/${id}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getList = (input: GetApplicationListInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PagedResultDto<ApplicationDto>>(\r\n {\r\n method: 'GET',\r\n url: '/api/openiddict/applications',\r\n params: {\r\n filter: input.filter,\r\n sorting: input.sorting,\r\n skipCount: input.skipCount,\r\n maxResultCount: input.maxResultCount,\r\n },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n update = (id: string, input: UpdateApplicationInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ApplicationDto>(\r\n {\r\n method: 'PUT',\r\n url: `/api/openiddict/applications/${id}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import type {\r\n CreateScopeInput,\r\n GetScopeListInput,\r\n ScopeDto,\r\n UpdateScopeInput,\r\n} from './scopes/dtos/models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ScopeService {\r\n apiName = 'OpenIddictPro';\r\n\r\n create = (input: CreateScopeInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ScopeDto>(\r\n {\r\n method: 'POST',\r\n url: '/api/openiddict/scopes',\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n delete = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, void>(\r\n {\r\n method: 'DELETE',\r\n url: '/api/openiddict/scopes',\r\n params: { id },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n get = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ScopeDto>(\r\n {\r\n method: 'GET',\r\n url: `/api/openiddict/scopes/${id}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getAllScopes = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ScopeDto[]>(\r\n {\r\n method: 'GET',\r\n url: '/api/openiddict/scopes/all',\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getList = (input: GetScopeListInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PagedResultDto<ScopeDto>>(\r\n {\r\n method: 'GET',\r\n url: '/api/openiddict/scopes',\r\n params: {\r\n filter: input.filter,\r\n sorting: input.sorting,\r\n skipCount: input.skipCount,\r\n maxResultCount: input.maxResultCount,\r\n },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n update = (id: string, input: UpdateScopeInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ScopeDto>(\r\n {\r\n method: 'PUT',\r\n url: `/api/openiddict/scopes/${id}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;MAaa,kBAAkB,CAAA;AAyD7B,IAAA,WAAA,CAAoB,WAAwB,EAAA;QAAxB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAa;QAxD5C,IAAO,CAAA,OAAA,GAAG,eAAe,CAAC;AAE1B,QAAA,IAAA,CAAA,MAAM,GAAG,CAAC,KAA6B,EAAE,MAA6B,KACpE,IAAI,CAAC,WAAW,CAAC,OAAO,CACtB;AACE,YAAA,MAAM,EAAE,MAAM;AACd,YAAA,GAAG,EAAE,8BAA8B;AACnC,YAAA,IAAI,EAAE,KAAK;SACZ,EACD,EAAE,OAAO,EAAE,I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,uBAAA,EAAA,EAAE,CAAE,CAAA;AACnC,YAAA,IAAI,EAAE,KAAK;SACZ,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,EAAE,CACrC,CAAC;KAE4C;+GAlErC,YAAY,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAZ,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,cAFX,MAAM,EAAA,CAAA,CAAA,EAAA;;4FAEP,YAAY,EAAA,UAAA,EAAA,CAAA;kBAHxB,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
1
+ {"version":3,"file":"volo-abp.ng.openiddictpro-proxy.mjs","sources":["../../../../packages/openiddictpro/proxy/src/lib/proxy/application.service.ts","../../../../packages/openiddictpro/proxy/src/lib/proxy/scope.service.ts","../../../../packages/openiddictpro/proxy/src/volo-abp.ng.openiddictpro-proxy.ts"],"sourcesContent":["import type {\r\n ApplicationDto,\r\n CreateApplicationInput,\r\n GetApplicationListInput,\r\n UpdateApplicationInput,\r\n} from './applications/dtos/models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ApplicationService {\r\n apiName = 'OpenIddictPro';\r\n\r\n create = (input: CreateApplicationInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ApplicationDto>(\r\n {\r\n method: 'POST',\r\n url: '/api/openiddict/applications',\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n delete = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, void>(\r\n {\r\n method: 'DELETE',\r\n url: '/api/openiddict/applications',\r\n params: { id },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n get = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ApplicationDto>(\r\n {\r\n method: 'GET',\r\n url: `/api/openiddict/applications/${id}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getList = (input: GetApplicationListInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PagedResultDto<ApplicationDto>>(\r\n {\r\n method: 'GET',\r\n url: '/api/openiddict/applications',\r\n params: {\r\n filter: input.filter,\r\n sorting: input.sorting,\r\n skipCount: input.skipCount,\r\n maxResultCount: input.maxResultCount,\r\n },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n update = (id: string, input: UpdateApplicationInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ApplicationDto>(\r\n {\r\n method: 'PUT',\r\n url: `/api/openiddict/applications/${id}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import type {\r\n CreateScopeInput,\r\n GetScopeListInput,\r\n ScopeDto,\r\n UpdateScopeInput,\r\n} from './scopes/dtos/models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ScopeService {\r\n apiName = 'OpenIddictPro';\r\n\r\n create = (input: CreateScopeInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ScopeDto>(\r\n {\r\n method: 'POST',\r\n url: '/api/openiddict/scopes',\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n delete = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, void>(\r\n {\r\n method: 'DELETE',\r\n url: '/api/openiddict/scopes',\r\n params: { id },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n get = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ScopeDto>(\r\n {\r\n method: 'GET',\r\n url: `/api/openiddict/scopes/${id}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getAllScopes = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ScopeDto[]>(\r\n {\r\n method: 'GET',\r\n url: '/api/openiddict/scopes/all',\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getList = (input: GetScopeListInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PagedResultDto<ScopeDto>>(\r\n {\r\n method: 'GET',\r\n url: '/api/openiddict/scopes',\r\n params: {\r\n filter: input.filter,\r\n sorting: input.sorting,\r\n skipCount: input.skipCount,\r\n maxResultCount: input.maxResultCount,\r\n },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n update = (id: string, input: UpdateScopeInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ScopeDto>(\r\n {\r\n method: 'PUT',\r\n url: `/api/openiddict/scopes/${id}`,\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;MAaa,kBAAkB,CAAA;AAyD7B,IAAA,WAAA,CAAoB,WAAwB,EAAA;QAAxB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAa;QAxD5C,IAAO,CAAA,OAAA,GAAG,eAAe,CAAC;AAE1B,QAAA,IAAA,CAAA,MAAM,GAAG,CAAC,KAA6B,EAAE,MAA6B,KACpE,IAAI,CAAC,WAAW,CAAC,OAAO,CACtB;AACE,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KAAuB,EAAE,MAA6B,KAC1E,IAAI,CAAC,WAAW,CAAC,OAAO,CACtB;AACE,YAAA,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,CAA0B,uBAAA,EAAA,EAAE,CAAE,CAAA;AACnC,YAAA,IAAI,EAAE,KAAK;SACZ,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,EAAE,CACrC,CAAC;KAE4C;8GAlErC,YAAY,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAZ,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,cAFX,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEP,YAAY,EAAA,UAAA,EAAA,CAAA;kBAHxB,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, Output, Input, InjectionToken, Injectable, NgModule } from '@angular/core';
2
+ import { EventEmitter, Component, Output, Input, InjectionToken, Injector, inject, NgModule, Injectable } from '@angular/core';
3
3
  import * as i3 from '@abp/ng.core';
4
- import { InternalStore, ListService, LocalizationService, ConfigStateService, RouterOutletComponent, AuthGuard, PermissionGuard, ReplaceableRouteContainerComponent, LazyModuleFactory, CoreModule } from '@abp/ng.core';
4
+ import { InternalStore, ListService, LocalizationService, ConfigStateService, RouterOutletComponent, authGuard, permissionGuard, ReplaceableRouteContainerComponent, LazyModuleFactory, CoreModule } from '@abp/ng.core';
5
5
  import * as i1$1 from '@angular/router';
6
6
  import { RouterModule } from '@angular/router';
7
7
  import * as i8 from '@abp/ng.theme.shared';
8
8
  import { Confirmation, ThemeSharedModule } from '@abp/ng.theme.shared';
9
- import * as i5$1 from '@abp/ng.theme.shared/extensions';
10
- import { FormPropData, generateFormFromProps, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, FormProp, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps } from '@abp/ng.theme.shared/extensions';
9
+ import * as i5$1 from '@abp/ng.components/extensible';
10
+ import { FormPropData, generateFormFromProps, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, FormProp, ExtensionsService, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, getObjectExtensionEntitiesFromStore } from '@abp/ng.components/extensible';
11
11
  import * as i1 from '@volo/abp.ng.openiddictpro/proxy';
12
12
  import { ScopeService } from '@volo/abp.ng.openiddictpro/proxy';
13
13
  import * as i6 from '@volo/abp.commercial.ng.ui';
@@ -16,13 +16,13 @@ import * as i7$1 from '@abp/ng.components/page';
16
16
  import { PageModule } from '@abp/ng.components/page';
17
17
  import * as i8$1 from '@abp/ng.permission-management';
18
18
  import { PermissionManagementModule } from '@abp/ng.permission-management';
19
- import { of } from 'rxjs';
19
+ import { of, map as map$1, tap } from 'rxjs';
20
20
  import * as i4 from '@angular/common';
21
21
  import * as i5 from '@angular/forms';
22
22
  import { Validators } from '@angular/forms';
23
23
  import * as i7 from '@ngx-validate/core';
24
24
  import { NgxValidateCoreModule } from '@ngx-validate/core';
25
- import { map, tap, mapTo } from 'rxjs/operators';
25
+ import { map, tap as tap$1, mapTo } from 'rxjs/operators';
26
26
  import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
27
27
 
28
28
  class ApplicationsService {
@@ -173,13 +173,13 @@ class ApplicationFormModalComponent {
173
173
  return this.localizationService.instant(displayName);
174
174
  }
175
175
  }
176
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: ApplicationFormModalComponent, deps: [{ token: i1.ApplicationService }, { token: ApplicationsService }, { token: i3.LocalizationService }, { token: i3.SubscriptionService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
177
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.11", type: ApplicationFormModalComponent, selector: "abp-application-form-modal", inputs: { selected: "selected" }, outputs: { saved: "saved" }, providers: [], usesOnChanges: true, ngImport: i0, template: "\r\n<abp-modal *ngIf=\"isModalVisible$ | async as isModalVisible\" [visible]=\"isModalVisible\" (visibleChange)=\"visibleChange($event) \" [options]=\"options\" >\r\n\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewApplication') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"applicationForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"row\">\r\n <abp-extensible-form class=\"row gap-x2\" [selectedRecord]=\"selected\" *ngIf=\"isModalVisible\">\r\n </abp-extensible-form>\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"applicationForm\">{{\r\n 'AbpOpenIddict::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i5$1.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i7.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i8.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i8.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i8.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
176
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ApplicationFormModalComponent, deps: [{ token: i1.ApplicationService }, { token: ApplicationsService }, { token: i3.LocalizationService }, { token: i3.SubscriptionService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
177
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: ApplicationFormModalComponent, selector: "abp-application-form-modal", inputs: { selected: "selected" }, outputs: { saved: "saved" }, providers: [], usesOnChanges: true, ngImport: i0, template: "\r\n<abp-modal *ngIf=\"isModalVisible$ | async as isModalVisible\" [visible]=\"isModalVisible\" (visibleChange)=\"visibleChange($event) \" [options]=\"options\" >\r\n\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewApplication') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"applicationForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"row\">\r\n <abp-extensible-form class=\"row gap-x2\" [selectedRecord]=\"selected\" *ngIf=\"isModalVisible\">\r\n </abp-extensible-form>\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"applicationForm\">{{\r\n 'AbpOpenIddict::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i5$1.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i7.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i8.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i8.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i8.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
178
178
  }
179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: ApplicationFormModalComponent, decorators: [{
179
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ApplicationFormModalComponent, decorators: [{
180
180
  type: Component,
181
181
  args: [{ selector: 'abp-application-form-modal', providers: [], template: "\r\n<abp-modal *ngIf=\"isModalVisible$ | async as isModalVisible\" [visible]=\"isModalVisible\" (visibleChange)=\"visibleChange($event) \" [options]=\"options\" >\r\n\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewApplication') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"applicationForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"row\">\r\n <abp-extensible-form class=\"row gap-x2\" [selectedRecord]=\"selected\" *ngIf=\"isModalVisible\">\r\n </abp-extensible-form>\r\n </div>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"applicationForm\">{{\r\n 'AbpOpenIddict::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
182
- }], ctorParameters: function () { return [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type: i3.LocalizationService }, { type: i3.SubscriptionService }, { type: i0.Injector }]; }, propDecorators: { saved: [{
182
+ }], ctorParameters: () => [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type: i3.LocalizationService }, { type: i3.SubscriptionService }, { type: i0.Injector }], propDecorators: { saved: [{
183
183
  type: Output
184
184
  }], selected: [{
185
185
  type: Input
@@ -234,8 +234,8 @@ class ApplicationsComponent {
234
234
  hookToQuery() {
235
235
  this.list.hookToQuery(query => this.service.getList(query)).subscribe(res => (this.data = res));
236
236
  }
237
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: ApplicationsComponent, deps: [{ token: i1.ApplicationService }, { token: ApplicationsService }, { token: i8.ConfirmationService }, { token: i3.ListService }], target: i0.ɵɵFactoryTarget.Component }); }
238
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.11", type: ApplicationsComponent, selector: "abp-applications", providers: [
237
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ApplicationsComponent, deps: [{ token: i1.ApplicationService }, { token: ApplicationsService }, { token: i8.ConfirmationService }, { token: i3.ListService }], target: i0.ɵɵFactoryTarget.Component }); }
238
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: ApplicationsComponent, selector: "abp-applications", providers: [
239
239
  ListService,
240
240
  {
241
241
  provide: EXTENSIONS_IDENTIFIER,
@@ -243,7 +243,7 @@ class ApplicationsComponent {
243
243
  },
244
244
  ], ngImport: i0, template: "\r\n<abp-page [title]=\"'AbpOpenIddict::Applications' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"wrapper\">\r\n\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpOpenIddict\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n<abp-application-form-modal [selected]=\"selected\" (saved)=\"onSaved()\">\r\n</abp-application-form-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'C' },\r\n providerKey: { value: providerKey },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n providerName=\"C\"\r\n [providerKey]=\"providerKey\"\r\n>\r\n</abp-permission-management>\r\n", dependencies: [{ kind: "directive", type: i3.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i5$1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i7$1.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i8$1.PermissionManagementComponent, selector: "abp-permission-management", inputs: ["providerName", "providerKey", "hideBadges", "entityDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpPermissionManagement"] }, { kind: "component", type: ApplicationFormModalComponent, selector: "abp-application-form-modal", inputs: ["selected"], outputs: ["saved"] }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
245
245
  }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: ApplicationsComponent, decorators: [{
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ApplicationsComponent, decorators: [{
247
247
  type: Component,
248
248
  args: [{ selector: 'abp-applications', providers: [
249
249
  ListService,
@@ -252,7 +252,132 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImpo
252
252
  useValue: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
253
253
  },
254
254
  ], template: "\r\n<abp-page [title]=\"'AbpOpenIddict::Applications' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"wrapper\">\r\n\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpOpenIddict\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n<abp-application-form-modal [selected]=\"selected\" (saved)=\"onSaved()\">\r\n</abp-application-form-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'C' },\r\n providerKey: { value: providerKey },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n providerName=\"C\"\r\n [providerKey]=\"providerKey\"\r\n>\r\n</abp-permission-management>\r\n" }]
255
- }], ctorParameters: function () { return [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type: i8.ConfirmationService }, { type: i3.ListService }]; } });
255
+ }], ctorParameters: () => [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type: i8.ConfirmationService }, { type: i3.ListService }] });
256
+
257
+ class ScopesService {
258
+ constructor() {
259
+ this.state = new InternalStore({ isModalVisible: false });
260
+ this.isModalVisible$ = this.state.sliceState(x => x.isModalVisible);
261
+ }
262
+ openModal() {
263
+ this.setModalState(true);
264
+ }
265
+ setModalState(value) {
266
+ this.state.patch({ isModalVisible: value });
267
+ }
268
+ }
269
+
270
+ class ScopeFormModalComponent {
271
+ constructor(injector, scopesService, service) {
272
+ this.injector = injector;
273
+ this.scopesService = scopesService;
274
+ this.service = service;
275
+ this.saved = new EventEmitter();
276
+ this.blueprints = { pattern: 'AbpOpenIddict::TheScopeNameCannotContainSpaces' };
277
+ this.isModalVisible$ = this.scopesService.isModalVisible$;
278
+ }
279
+ ngOnChanges(changes) {
280
+ this.createForm();
281
+ }
282
+ save() {
283
+ if (this.form.invalid) {
284
+ return;
285
+ }
286
+ const id = this.selected.id;
287
+ const isEditMode = !!id;
288
+ let sub;
289
+ const value = { ...this.form.value, resources: hashSetParser(this.form.value.resources) };
290
+ if (isEditMode) {
291
+ sub = this.service.update(id, value);
292
+ }
293
+ else {
294
+ sub = this.service.create(value);
295
+ }
296
+ sub.subscribe(() => {
297
+ this.scopesService.setModalState(false);
298
+ this.saved.emit();
299
+ });
300
+ }
301
+ visibleChange($event) {
302
+ this.scopesService.setModalState($event);
303
+ }
304
+ createForm() {
305
+ const selected = this.selected?.id
306
+ ? { ...this.selected, resources: hashSetParser(this.selected.resources) }
307
+ : {};
308
+ const data = new FormPropData(this.injector, selected);
309
+ this.form = generateFormFromProps(data);
310
+ }
311
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ScopeFormModalComponent, deps: [{ token: i0.Injector }, { token: ScopesService }, { token: i1.ScopeService }], target: i0.ɵɵFactoryTarget.Component }); }
312
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: ScopeFormModalComponent, selector: "abp-scope-form-modal", inputs: { selected: "selected" }, outputs: { saved: "saved" }, usesOnChanges: true, ngImport: i0, template: "\r\n<abp-modal [visible]=\"isModalVisible$ | async\" (visibleChange)=\"visibleChange($event)\" >\r\n\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewScope') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"scopeForm\" [blueprints]=\"blueprints\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"scopeForm\">{{\r\n 'AbpOpenIddict::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i5$1.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i7.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i8.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i8.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i8.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
313
+ }
314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ScopeFormModalComponent, decorators: [{
315
+ type: Component,
316
+ args: [{ selector: 'abp-scope-form-modal', template: "\r\n<abp-modal [visible]=\"isModalVisible$ | async\" (visibleChange)=\"visibleChange($event)\" >\r\n\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewScope') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"scopeForm\" [blueprints]=\"blueprints\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"scopeForm\">{{\r\n 'AbpOpenIddict::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
317
+ }], ctorParameters: () => [{ type: i0.Injector }, { type: ScopesService }, { type: i1.ScopeService }], propDecorators: { selected: [{
318
+ type: Input
319
+ }], saved: [{
320
+ type: Output
321
+ }] } });
322
+
323
+ class ScopesComponent {
324
+ constructor(list, service, scopesService, confirmationService) {
325
+ this.list = list;
326
+ this.service = service;
327
+ this.scopesService = scopesService;
328
+ this.confirmationService = confirmationService;
329
+ this.data = { items: [], totalCount: 0 };
330
+ this.selected = {};
331
+ }
332
+ hookToQuery() {
333
+ this.list.hookToQuery(query => this.service.getList(query)).subscribe(res => (this.data = res));
334
+ }
335
+ ngOnInit() {
336
+ this.hookToQuery();
337
+ }
338
+ onAdd() {
339
+ this.selected = {};
340
+ this.scopesService.openModal();
341
+ }
342
+ onEdit(id) {
343
+ this.service.get(id).subscribe(res => {
344
+ this.selected = res;
345
+ this.scopesService.openModal();
346
+ });
347
+ }
348
+ onDelete(id, name) {
349
+ const sub = this.confirmationService
350
+ .warn('AbpOpenIddict::ScopeDeletionWarningMessage', 'AbpOpenIddict::AreYouSure', {
351
+ messageLocalizationParams: [name],
352
+ })
353
+ .subscribe((status) => {
354
+ if (status === Confirmation.Status.confirm) {
355
+ this.service.delete(id).subscribe(() => this.list.get());
356
+ }
357
+ });
358
+ }
359
+ onSaved() {
360
+ this.list.get();
361
+ }
362
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ScopesComponent, deps: [{ token: i3.ListService }, { token: i1.ScopeService }, { token: ScopesService }, { token: i8.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component }); }
363
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: ScopesComponent, selector: "abp-scopes", providers: [
364
+ ListService,
365
+ {
366
+ provide: EXTENSIONS_IDENTIFIER,
367
+ useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
368
+ },
369
+ ], ngImport: i0, template: "<abp-page [title]=\"'AbpOpenIddict::Scopes' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"wrapper\">\r\n\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpOpenIddict\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-scope-form-modal [selected]=\"selected\" (saved)=\"onSaved()\">\r\n</abp-scope-form-modal>\r\n", dependencies: [{ kind: "component", type: i5$1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i7$1.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: ScopeFormModalComponent, selector: "abp-scope-form-modal", inputs: ["selected"], outputs: ["saved"] }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
370
+ }
371
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ScopesComponent, decorators: [{
372
+ type: Component,
373
+ args: [{ selector: 'abp-scopes', providers: [
374
+ ListService,
375
+ {
376
+ provide: EXTENSIONS_IDENTIFIER,
377
+ useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
378
+ },
379
+ ], template: "<abp-page [title]=\"'AbpOpenIddict::Scopes' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"wrapper\">\r\n\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpOpenIddict\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-scope-form-modal [selected]=\"selected\" (saved)=\"onSaved()\">\r\n</abp-scope-form-modal>\r\n" }]
380
+ }], ctorParameters: () => [{ type: i3.ListService }, { type: i1.ScopeService }, { type: ScopesService }, { type: i8.ConfirmationService }] });
256
381
 
257
382
  const DEFAULT_APPLICATIONS_ENTITY_ACTIONS = EntityAction.createMany([
258
383
  {
@@ -622,131 +747,6 @@ const DEFAULT_SCOPES_ENTITY_PROPS = EntityProp.createMany([
622
747
  },
623
748
  ]);
624
749
 
625
- class ScopesService {
626
- constructor() {
627
- this.state = new InternalStore({ isModalVisible: false });
628
- this.isModalVisible$ = this.state.sliceState(x => x.isModalVisible);
629
- }
630
- openModal() {
631
- this.setModalState(true);
632
- }
633
- setModalState(value) {
634
- this.state.patch({ isModalVisible: value });
635
- }
636
- }
637
-
638
- class ScopeFormModalComponent {
639
- constructor(injector, scopesService, service) {
640
- this.injector = injector;
641
- this.scopesService = scopesService;
642
- this.service = service;
643
- this.saved = new EventEmitter();
644
- this.blueprints = { pattern: 'AbpOpenIddict::TheScopeNameCannotContainSpaces' };
645
- this.isModalVisible$ = this.scopesService.isModalVisible$;
646
- }
647
- ngOnChanges(changes) {
648
- this.createForm();
649
- }
650
- save() {
651
- if (this.form.invalid) {
652
- return;
653
- }
654
- const id = this.selected.id;
655
- const isEditMode = !!id;
656
- let sub;
657
- const value = { ...this.form.value, resources: hashSetParser(this.form.value.resources) };
658
- if (isEditMode) {
659
- sub = this.service.update(id, value);
660
- }
661
- else {
662
- sub = this.service.create(value);
663
- }
664
- sub.subscribe(() => {
665
- this.scopesService.setModalState(false);
666
- this.saved.emit();
667
- });
668
- }
669
- visibleChange($event) {
670
- this.scopesService.setModalState($event);
671
- }
672
- createForm() {
673
- const selected = this.selected?.id
674
- ? { ...this.selected, resources: hashSetParser(this.selected.resources) }
675
- : {};
676
- const data = new FormPropData(this.injector, selected);
677
- this.form = generateFormFromProps(data);
678
- }
679
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: ScopeFormModalComponent, deps: [{ token: i0.Injector }, { token: ScopesService }, { token: i1.ScopeService }], target: i0.ɵɵFactoryTarget.Component }); }
680
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.11", type: ScopeFormModalComponent, selector: "abp-scope-form-modal", inputs: { selected: "selected" }, outputs: { saved: "saved" }, usesOnChanges: true, ngImport: i0, template: "\r\n<abp-modal [visible]=\"isModalVisible$ | async\" (visibleChange)=\"visibleChange($event)\" >\r\n\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewScope') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"scopeForm\" [blueprints]=\"blueprints\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"scopeForm\">{{\r\n 'AbpOpenIddict::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i5$1.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i7.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i8.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i8.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i8.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
681
- }
682
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: ScopeFormModalComponent, decorators: [{
683
- type: Component,
684
- args: [{ selector: 'abp-scope-form-modal', template: "\r\n<abp-modal [visible]=\"isModalVisible$ | async\" (visibleChange)=\"visibleChange($event)\" >\r\n\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewScope') | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" id=\"scopeForm\" [blueprints]=\"blueprints\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"scopeForm\">{{\r\n 'AbpOpenIddict::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
685
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: ScopesService }, { type: i1.ScopeService }]; }, propDecorators: { selected: [{
686
- type: Input
687
- }], saved: [{
688
- type: Output
689
- }] } });
690
-
691
- class ScopesComponent {
692
- constructor(list, service, scopesService, confirmationService) {
693
- this.list = list;
694
- this.service = service;
695
- this.scopesService = scopesService;
696
- this.confirmationService = confirmationService;
697
- this.data = { items: [], totalCount: 0 };
698
- this.selected = {};
699
- }
700
- hookToQuery() {
701
- this.list.hookToQuery(query => this.service.getList(query)).subscribe(res => (this.data = res));
702
- }
703
- ngOnInit() {
704
- this.hookToQuery();
705
- }
706
- onAdd() {
707
- this.selected = {};
708
- this.scopesService.openModal();
709
- }
710
- onEdit(id) {
711
- this.service.get(id).subscribe(res => {
712
- this.selected = res;
713
- this.scopesService.openModal();
714
- });
715
- }
716
- onDelete(id, name) {
717
- const sub = this.confirmationService
718
- .warn('AbpOpenIddict::ScopeDeletionWarningMessage', 'AbpOpenIddict::AreYouSure', {
719
- messageLocalizationParams: [name],
720
- })
721
- .subscribe((status) => {
722
- if (status === Confirmation.Status.confirm) {
723
- this.service.delete(id).subscribe(() => this.list.get());
724
- }
725
- });
726
- }
727
- onSaved() {
728
- this.list.get();
729
- }
730
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: ScopesComponent, deps: [{ token: i3.ListService }, { token: i1.ScopeService }, { token: ScopesService }, { token: i8.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component }); }
731
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.11", type: ScopesComponent, selector: "abp-scopes", providers: [
732
- ListService,
733
- {
734
- provide: EXTENSIONS_IDENTIFIER,
735
- useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
736
- },
737
- ], ngImport: i0, template: "<abp-page [title]=\"'AbpOpenIddict::Scopes' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"wrapper\">\r\n\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpOpenIddict\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-scope-form-modal [selected]=\"selected\" (saved)=\"onSaved()\">\r\n</abp-scope-form-modal>\r\n", dependencies: [{ kind: "component", type: i5$1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i7$1.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: ScopeFormModalComponent, selector: "abp-scope-form-modal", inputs: ["selected"], outputs: ["saved"] }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
738
- }
739
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: ScopesComponent, decorators: [{
740
- type: Component,
741
- args: [{ selector: 'abp-scopes', providers: [
742
- ListService,
743
- {
744
- provide: EXTENSIONS_IDENTIFIER,
745
- useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
746
- },
747
- ], template: "<abp-page [title]=\"'AbpOpenIddict::Scopes' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"wrapper\">\r\n\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpOpenIddict\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-scope-form-modal [selected]=\"selected\" (saved)=\"onSaved()\">\r\n</abp-scope-form-modal>\r\n" }]
748
- }], ctorParameters: function () { return [{ type: i3.ListService }, { type: i1.ScopeService }, { type: ScopesService }, { type: i8.ConfirmationService }]; } });
749
-
750
750
  const DEFAULT_SCOPES_TOOLBAR_ACTIONS = ToolbarAction.createMany([
751
751
  {
752
752
  text: 'AbpOpenIddict::NewScope',
@@ -842,44 +842,36 @@ const OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS = new InjectionToken('OPENIDDICT_P
842
842
  const OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS = new InjectionToken('OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS');
843
843
  const OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS = new InjectionToken('OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS');
844
844
 
845
- class OpenIddictProExtensionsGuard {
846
- constructor(injector) {
847
- this.injector = injector;
848
- }
849
- canActivate() {
850
- const extensions = this.injector.get(ExtensionsService);
851
- const actionContributors = this.injector.get(OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS, null) || {};
852
- const toolbarContributors = this.injector.get(OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS, null) || {};
853
- const propContributors = this.injector.get(OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS, null) || {};
854
- const createFormContributors = this.injector.get(OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS, null) || {};
855
- const editFormContributors = this.injector.get(OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS, null) || {};
856
- const configState = this.injector.get(ConfigStateService);
857
- return getObjectExtensionEntitiesFromStore(configState, 'OpenIddictPro').pipe(map(entities => {
858
- return {
859
- ["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: entities.ApiResource,
860
- ["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: entities.Scopes,
861
- };
862
- }), mapEntitiesToContributors(configState, 'AbpOpenIddictPro'), tap(objectExtensionContributors => {
863
- mergeWithDefaultActions(extensions.entityActions, DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS, actionContributors);
864
- mergeWithDefaultActions(extensions.toolbarActions, DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS, toolbarContributors);
865
- mergeWithDefaultProps(extensions.entityProps, DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
866
- mergeWithDefaultProps(extensions.createFormProps, DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS, objectExtensionContributors.createForm, createFormContributors);
867
- mergeWithDefaultProps(extensions.editFormProps, DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS, objectExtensionContributors.editForm, editFormContributors);
868
- }), mapTo(true));
869
- }
870
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: OpenIddictProExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
871
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: OpenIddictProExtensionsGuard }); }
872
- }
873
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: OpenIddictProExtensionsGuard, decorators: [{
874
- type: Injectable
875
- }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
845
+ const openIddictProExtensionsResolver = () => {
846
+ const injector = inject(Injector);
847
+ const extensions = injector.get(ExtensionsService);
848
+ const actionContributors = injector.get(OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS, null) || {};
849
+ const toolbarContributors = injector.get(OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS, null) || {};
850
+ const propContributors = injector.get(OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS, null) || {};
851
+ const createFormContributors = injector.get(OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS, null) || {};
852
+ const editFormContributors = injector.get(OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS, null) || {};
853
+ const configState = injector.get(ConfigStateService);
854
+ return getObjectExtensionEntitiesFromStore(configState, 'OpenIddictPro').pipe(map$1(entities => {
855
+ return {
856
+ ["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: entities.ApiResource,
857
+ ["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: entities.Scopes,
858
+ };
859
+ }), mapEntitiesToContributors(configState, 'AbpOpenIddictPro'), tap(objectExtensionContributors => {
860
+ mergeWithDefaultActions(extensions.entityActions, DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS, actionContributors);
861
+ mergeWithDefaultActions(extensions.toolbarActions, DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS, toolbarContributors);
862
+ mergeWithDefaultProps(extensions.entityProps, DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
863
+ mergeWithDefaultProps(extensions.createFormProps, DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS, objectExtensionContributors.createForm, createFormContributors);
864
+ mergeWithDefaultProps(extensions.editFormProps, DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS, objectExtensionContributors.editForm, editFormContributors);
865
+ }));
866
+ };
876
867
 
877
868
  const routes = [
878
869
  { path: '', redirectTo: 'Applications', pathMatch: 'full' },
879
870
  {
880
871
  path: '',
881
872
  component: RouterOutletComponent,
882
- canActivate: [AuthGuard, PermissionGuard, OpenIddictProExtensionsGuard],
873
+ canActivate: [authGuard, permissionGuard],
874
+ resolve: [openIddictProExtensionsResolver],
883
875
  children: [
884
876
  {
885
877
  path: 'Applications',
@@ -907,11 +899,11 @@ const routes = [
907
899
  },
908
900
  ];
909
901
  class OpeniddictproRoutingModule {
910
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: OpeniddictproRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
911
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.11", ngImport: i0, type: OpeniddictproRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] }); }
912
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: OpeniddictproRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
902
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: OpeniddictproRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
903
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: OpeniddictproRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] }); }
904
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: OpeniddictproRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
913
905
  }
914
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: OpeniddictproRoutingModule, decorators: [{
906
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: OpeniddictproRoutingModule, decorators: [{
915
907
  type: NgModule,
916
908
  args: [{
917
909
  imports: [RouterModule.forChild(routes)],
@@ -950,7 +942,6 @@ class OpeniddictproModule {
950
942
  provide: OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS,
951
943
  useValue: options.editFormPropContributors,
952
944
  },
953
- OpenIddictProExtensionsGuard,
954
945
  ApplicationsService,
955
946
  ScopesService,
956
947
  ],
@@ -959,8 +950,8 @@ class OpeniddictproModule {
959
950
  static forLazy(options = {}) {
960
951
  return new LazyModuleFactory(OpeniddictproModule.forChild(options));
961
952
  }
962
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: OpeniddictproModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
963
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.11", ngImport: i0, type: OpeniddictproModule, declarations: [ApplicationsComponent,
953
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: OpeniddictproModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
954
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: OpeniddictproModule, declarations: [ApplicationsComponent,
964
955
  ApplicationFormModalComponent,
965
956
  ScopesComponent,
966
957
  ScopeFormModalComponent], imports: [OpeniddictproRoutingModule,
@@ -975,7 +966,7 @@ class OpeniddictproModule {
975
966
  ApplicationFormModalComponent,
976
967
  ScopesComponent,
977
968
  ScopeFormModalComponent] }); }
978
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: OpeniddictproModule, imports: [OpeniddictproRoutingModule,
969
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: OpeniddictproModule, imports: [OpeniddictproRoutingModule,
979
970
  CoreModule,
980
971
  CommercialUiModule,
981
972
  ThemeSharedModule,
@@ -985,7 +976,7 @@ class OpeniddictproModule {
985
976
  AdvancedEntityFiltersModule,
986
977
  PermissionManagementModule] }); }
987
978
  }
988
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: OpeniddictproModule, decorators: [{
979
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: OpeniddictproModule, decorators: [{
989
980
  type: NgModule,
990
981
  args: [{
991
982
  imports: [
@@ -1004,6 +995,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImpo
1004
995
  }]
1005
996
  }] });
1006
997
 
998
+ /**
999
+ * @deprecated Use `openIddictProExtensionsResolver` *function* instead.
1000
+ */
1001
+ class OpenIddictProExtensionsGuard {
1002
+ constructor(injector) {
1003
+ this.injector = injector;
1004
+ }
1005
+ canActivate() {
1006
+ const extensions = this.injector.get(ExtensionsService);
1007
+ const actionContributors = this.injector.get(OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS, null) || {};
1008
+ const toolbarContributors = this.injector.get(OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS, null) || {};
1009
+ const propContributors = this.injector.get(OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS, null) || {};
1010
+ const createFormContributors = this.injector.get(OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS, null) || {};
1011
+ const editFormContributors = this.injector.get(OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS, null) || {};
1012
+ const configState = this.injector.get(ConfigStateService);
1013
+ return getObjectExtensionEntitiesFromStore(configState, 'OpenIddictPro').pipe(map(entities => {
1014
+ return {
1015
+ ["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: entities.ApiResource,
1016
+ ["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: entities.Scopes,
1017
+ };
1018
+ }), mapEntitiesToContributors(configState, 'AbpOpenIddictPro'), tap$1(objectExtensionContributors => {
1019
+ mergeWithDefaultActions(extensions.entityActions, DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS, actionContributors);
1020
+ mergeWithDefaultActions(extensions.toolbarActions, DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS, toolbarContributors);
1021
+ mergeWithDefaultProps(extensions.entityProps, DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
1022
+ mergeWithDefaultProps(extensions.createFormProps, DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS, objectExtensionContributors.createForm, createFormContributors);
1023
+ mergeWithDefaultProps(extensions.editFormProps, DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS, objectExtensionContributors.editForm, editFormContributors);
1024
+ }), mapTo(true));
1025
+ }
1026
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: OpenIddictProExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
1027
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: OpenIddictProExtensionsGuard }); }
1028
+ }
1029
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: OpenIddictProExtensionsGuard, decorators: [{
1030
+ type: Injectable
1031
+ }], ctorParameters: () => [{ type: i0.Injector }] });
1032
+
1007
1033
  /**
1008
1034
  * Generated bundle index. Do not edit.
1009
1035
  */