@volo/abp.ng.openiddictpro 8.0.0-rc.3 → 8.0.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 (35) hide show
  1. package/esm2022/config/openiddictpro-config.module.mjs +4 -4
  2. package/esm2022/lib/components/application-form-modal/application-form-modal.component.mjs +11 -11
  3. package/esm2022/lib/components/applications/applications.component.mjs +37 -33
  4. package/esm2022/lib/components/index.mjs +2 -1
  5. package/esm2022/lib/components/scope-form-modal/scope-form-modal.component.mjs +3 -3
  6. package/esm2022/lib/components/scopes/scopes.component.mjs +3 -3
  7. package/esm2022/lib/components/token-lifetime-modal/token-lifetime-modal.component.mjs +69 -0
  8. package/esm2022/lib/defaults/default-applications-entity-actions.mjs +9 -1
  9. package/esm2022/lib/defaults/default-applications-entity-props.mjs +10 -4
  10. package/esm2022/lib/defaults/default-applications-form-props.mjs +18 -5
  11. package/esm2022/lib/defaults/default-applications-types.mjs +11 -1
  12. package/esm2022/lib/guards/extensions.guard.mjs +3 -3
  13. package/esm2022/lib/models/applications-service-state.mjs +1 -1
  14. package/esm2022/lib/openiddictpro-routing.module.mjs +4 -4
  15. package/esm2022/lib/openiddictpro.module.mjs +18 -7
  16. package/esm2022/lib/services/applications.service.mjs +15 -4
  17. package/esm2022/proxy/lib/proxy/application.service.mjs +13 -4
  18. package/esm2022/proxy/lib/proxy/applications/dtos/models.mjs +1 -1
  19. package/esm2022/proxy/lib/proxy/scope.service.mjs +3 -3
  20. package/fesm2022/volo-abp.ng.openiddictpro-config.mjs +4 -4
  21. package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs +15 -6
  22. package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs.map +1 -1
  23. package/fesm2022/volo-abp.ng.openiddictpro.mjs +206 -90
  24. package/fesm2022/volo-abp.ng.openiddictpro.mjs.map +1 -1
  25. package/lib/components/application-form-modal/application-form-modal.component.d.ts +3 -3
  26. package/lib/components/applications/applications.component.d.ts +7 -8
  27. package/lib/components/index.d.ts +1 -0
  28. package/lib/components/token-lifetime-modal/token-lifetime-modal.component.d.ts +22 -0
  29. package/lib/defaults/default-applications-types.d.ts +4 -0
  30. package/lib/models/applications-service-state.d.ts +1 -0
  31. package/lib/openiddictpro.module.d.ts +3 -1
  32. package/lib/services/applications.service.d.ts +4 -1
  33. package/package.json +5 -5
  34. package/proxy/lib/proxy/application.service.d.ts +3 -1
  35. package/proxy/lib/proxy/applications/dtos/models.d.ts +12 -2
@@ -1,31 +1,55 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, Output, Input, InjectionToken, Injector, inject, NgModule, Injectable } from '@angular/core';
3
- import * as i3 from '@abp/ng.core';
4
- import { InternalStore, ListService, LocalizationService, ConfigStateService, RouterOutletComponent, authGuard, permissionGuard, ReplaceableRouteContainerComponent, LazyModuleFactory, CoreModule } from '@abp/ng.core';
2
+ import { signal, computed, inject, EventEmitter, Component, Input, Output, InjectionToken, Injector, NgModule, Injectable } from '@angular/core';
3
+ import * as i3$1 from '@abp/ng.core';
4
+ import { InternalStore, CoreModule, ListService, LocalizationService, ConfigStateService, RouterOutletComponent, authGuard, permissionGuard, ReplaceableRouteContainerComponent, LazyModuleFactory } from '@abp/ng.core';
5
5
  import * as i1$1 from '@angular/router';
6
6
  import { RouterModule } from '@angular/router';
7
- import * as i8 from '@abp/ng.theme.shared';
8
- import { Confirmation, ThemeSharedModule } from '@abp/ng.theme.shared';
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
- import * as i1 from '@volo/abp.ng.openiddictpro/proxy';
12
- import { ScopeService } from '@volo/abp.ng.openiddictpro/proxy';
13
- import * as i6 from '@volo/abp.commercial.ng.ui';
7
+ import * as i2 from '@abp/ng.theme.shared';
8
+ import { ThemeSharedModule, ConfirmationService, Confirmation } from '@abp/ng.theme.shared';
9
+ import * as i5 from '@abp/ng.components/extensible';
10
+ import { ExtensibleFormComponent, FormPropData, generateFormFromProps, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, FormProp, ExtensionsService, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, getObjectExtensionEntitiesFromStore, ExtensibleTableComponent } from '@abp/ng.components/extensible';
11
+ import * as i2$1 from '@volo/abp.ng.openiddictpro/proxy';
12
+ import { ApplicationService, ScopeService } from '@volo/abp.ng.openiddictpro/proxy';
13
+ import { finalize, of, filter, switchMap, map as map$1, tap } from 'rxjs';
14
+ import * as i3$2 from '@volo/abp.commercial.ng.ui';
14
15
  import { SHOW_ENTITY_HISTORY, CommercialUiModule, AdvancedEntityFiltersModule } from '@volo/abp.commercial.ng.ui';
15
- import * as i7$1 from '@abp/ng.components/page';
16
+ import * as i4$1 from '@abp/ng.components/page';
16
17
  import { PageModule } from '@abp/ng.components/page';
17
- import * as i8$1 from '@abp/ng.permission-management';
18
+ import * as i5$1 from '@abp/ng.permission-management';
18
19
  import { PermissionManagementModule } from '@abp/ng.permission-management';
19
- import { of, map as map$1, tap } from 'rxjs';
20
20
  import * as i4 from '@angular/common';
21
- import * as i5 from '@angular/forms';
22
- import { Validators } from '@angular/forms';
23
- import * as i7 from '@ngx-validate/core';
21
+ import { CommonModule } from '@angular/common';
22
+ import * as i3 from '@angular/forms';
23
+ import { FormBuilder, Validators } from '@angular/forms';
24
+ import * as i1 from '@ngx-validate/core';
24
25
  import { NgxValidateCoreModule } from '@ngx-validate/core';
25
26
  import { map, tap as tap$1, mapTo } from 'rxjs/operators';
26
27
  import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
27
28
 
28
29
  class ApplicationsService {
30
+ constructor() {
31
+ this.state = new InternalStore({
32
+ isModalVisible: false,
33
+ });
34
+ this.#isModalVisible = signal(false);
35
+ this.isModalVisible = computed(() => this.#isModalVisible());
36
+ this.#isTokenLifetimeModalVisible = signal(false);
37
+ this.isTokenLifetimeModalVisible = computed(() => this.#isTokenLifetimeModalVisible());
38
+ }
39
+ #isModalVisible;
40
+ #isTokenLifetimeModalVisible;
41
+ openModal() {
42
+ this.setModalState(true);
43
+ }
44
+ setModalState(value) {
45
+ this.#isModalVisible.set(value);
46
+ }
47
+ setTokenLifetimeModalState(value) {
48
+ this.#isTokenLifetimeModalVisible.set(value);
49
+ }
50
+ }
51
+
52
+ class ScopesService {
29
53
  constructor() {
30
54
  this.state = new InternalStore({ isModalVisible: false });
31
55
  this.isModalVisible$ = this.state.sliceState(x => x.isModalVisible);
@@ -38,6 +62,61 @@ class ApplicationsService {
38
62
  }
39
63
  }
40
64
 
65
+ class TokenLifetimeModalComponent {
66
+ constructor() {
67
+ this.#service = inject(ApplicationsService);
68
+ this.#proxyService = inject(ApplicationService);
69
+ this.saved = new EventEmitter();
70
+ this.loading = signal(false);
71
+ this.#fb = inject(FormBuilder);
72
+ this.form = this.#fb.group({
73
+ accessTokenLifetime: [null],
74
+ authorizationCodeLifetime: [null],
75
+ deviceCodeLifetime: [null],
76
+ identityTokenLifetime: [null],
77
+ refreshTokenLifetime: [null],
78
+ userCodeLifetime: [null],
79
+ });
80
+ }
81
+ #service;
82
+ #proxyService;
83
+ #fb;
84
+ save() {
85
+ if (this.form.invalid) {
86
+ return;
87
+ }
88
+ const id = this.selected.id;
89
+ this.#proxyService
90
+ .setTokenLifetime(id, this.form.value)
91
+ .pipe(finalize(() => {
92
+ this.#service.setTokenLifetimeModalState(false);
93
+ this.saved.emit();
94
+ }))
95
+ .subscribe();
96
+ }
97
+ visibleChange($event) {
98
+ if ($event) {
99
+ return;
100
+ }
101
+ this.#service.setTokenLifetimeModalState(false);
102
+ }
103
+ ngOnInit() {
104
+ this.#proxyService.getTokenLifetime(this.selected.id).subscribe(x => {
105
+ this.form.patchValue(x);
106
+ });
107
+ }
108
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TokenLifetimeModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
109
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: TokenLifetimeModalComponent, isStandalone: true, selector: "abp-token-lifetime-modal", inputs: { selected: "selected" }, outputs: { saved: "saved" }, ngImport: i0, template: "<abp-modal [visible]=\"true\" (visibleChange)=\"visibleChange($event) \">\r\n\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpOpenIddict::TokenLifetime' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n\r\n <blockquote class=\"blockquote\">\r\n <p class=\"mb-0\">{{ \"AbpOpenIddict::TokenLifetimeHit\" | abpLocalization }}</p>\r\n </blockquote>\r\n\r\n <form [formGroup]=\"form\" id=\"applicationForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"accessTokenLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::AccessTokenLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"accessTokenLifetime\" class=\"form-control\" formControlName=\"accessTokenLifetime\" />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"authorizationCodeLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::AuthorizationCodeLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"authorizationCodeLifetime\" class=\"form-control\"\r\n formControlName=\"authorizationCodeLifetime\" />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"deviceCodeLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::DeviceCodeLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"deviceCodeLifetime\" class=\"form-control\" formControlName=\"deviceCodeLifetime\" />\r\n </div>\r\n\r\n <div class=\"form-group mb-3\">\r\n <label for=\"identityTokenLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::IdentityTokenLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"identityTokenLifetime\" class=\"form-control\" formControlName=\"identityTokenLifetime\" />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"refreshTokenLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::RefreshTokenLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"refreshTokenLifetime\" class=\"form-control\" formControlName=\"refreshTokenLifetime\" />\r\n </div>\r\n <div class=\"form-group\">\r\n <label for=\"userCodeLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::UserCodeLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"userCodeLifetime\" class=\"form-control\"\r\n formControlName=\"userCodeLifetime\" />\r\n </div>\r\n </form>\r\n\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\"\r\n [disabled]=\"loading()\"\r\n formName=\"applicationForm\">{{\r\n 'AbpOpenIddict::Save' | abpLocalization\r\n }}\r\n </abp-button>\r\n </ng-template>\r\n\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: i3$1.LocalizationPipe, name: "abpLocalization" }, { kind: "directive", type: i3$1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }] }); }
110
+ }
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TokenLifetimeModalComponent, decorators: [{
112
+ type: Component,
113
+ args: [{ selector: 'abp-token-lifetime-modal', standalone: true, imports: [CommonModule, ThemeSharedModule, CoreModule, ExtensibleFormComponent], template: "<abp-modal [visible]=\"true\" (visibleChange)=\"visibleChange($event) \">\r\n\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpOpenIddict::TokenLifetime' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n\r\n <blockquote class=\"blockquote\">\r\n <p class=\"mb-0\">{{ \"AbpOpenIddict::TokenLifetimeHit\" | abpLocalization }}</p>\r\n </blockquote>\r\n\r\n <form [formGroup]=\"form\" id=\"applicationForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"accessTokenLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::AccessTokenLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"accessTokenLifetime\" class=\"form-control\" formControlName=\"accessTokenLifetime\" />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"authorizationCodeLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::AuthorizationCodeLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"authorizationCodeLifetime\" class=\"form-control\"\r\n formControlName=\"authorizationCodeLifetime\" />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"deviceCodeLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::DeviceCodeLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"deviceCodeLifetime\" class=\"form-control\" formControlName=\"deviceCodeLifetime\" />\r\n </div>\r\n\r\n <div class=\"form-group mb-3\">\r\n <label for=\"identityTokenLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::IdentityTokenLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"identityTokenLifetime\" class=\"form-control\" formControlName=\"identityTokenLifetime\" />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"refreshTokenLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::RefreshTokenLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"refreshTokenLifetime\" class=\"form-control\" formControlName=\"refreshTokenLifetime\" />\r\n </div>\r\n <div class=\"form-group\">\r\n <label for=\"userCodeLifetime\"\r\n class=\"form-label\"> {{ \"AbpOpenIddict::UserCodeLifetime\" | abpLocalization }} </label>\r\n <input type=\"number\" id=\"userCodeLifetime\" class=\"form-control\"\r\n formControlName=\"userCodeLifetime\" />\r\n </div>\r\n </form>\r\n\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\"\r\n [disabled]=\"loading()\"\r\n formName=\"applicationForm\">{{\r\n 'AbpOpenIddict::Save' | abpLocalization\r\n }}\r\n </abp-button>\r\n </ng-template>\r\n\r\n</abp-modal>\r\n" }]
114
+ }], propDecorators: { selected: [{
115
+ type: Input
116
+ }], saved: [{
117
+ type: Output
118
+ }] } });
119
+
41
120
  const defaultApplicationsTypeList = [
42
121
  {
43
122
  key: 'Confidential client',
@@ -52,6 +131,16 @@ const defaultApplicationTypes = {
52
131
  public: 'public',
53
132
  confidential: 'confidential',
54
133
  };
134
+ const defaultApplicationTypesList = [
135
+ {
136
+ key: 'Web',
137
+ value: 'web',
138
+ },
139
+ {
140
+ key: 'Native',
141
+ value: 'native',
142
+ },
143
+ ];
55
144
 
56
145
  const separatorRegex = /\r?\n/;
57
146
  const separator = '\n';
@@ -98,9 +187,9 @@ class ApplicationFormModalComponent {
98
187
  this.types$ = of(defaultApplicationsTypeList);
99
188
  this.consentTypes$ = of(DefaultApplicationsConsentType);
100
189
  this.options = { size: 'lg' };
101
- this.isModalVisible$ = this.applicationsService.isModalVisible$;
190
+ this.isModalVisible = this.applicationsService.isModalVisible;
102
191
  }
103
- ngOnChanges(changes) {
192
+ ngOnChanges() {
104
193
  this.createForm();
105
194
  this.hideFlowToType();
106
195
  }
@@ -145,12 +234,12 @@ class ApplicationFormModalComponent {
145
234
  postLogoutRedirectUris: hashSetParser(this.selected.postLogoutRedirectUris),
146
235
  extensionGrantTypes: hashSetParser(this.selected.extensionGrantTypes),
147
236
  }
148
- : { type: null };
237
+ : { clientType: null };
149
238
  const data = new FormPropData(this.injector, selected);
150
239
  this.form = generateFormFromProps(data);
151
240
  }
152
241
  hideFlowToType() {
153
- const formType = this.form.controls['type'];
242
+ const formType = this.form.controls['clientType'];
154
243
  this.subscription.removeOne(this.formValueChanges$);
155
244
  this.formValueChanges$ = this.subscription.addOne(formType.valueChanges, value => {
156
245
  if (value == defaultApplicationTypes.public) {
@@ -163,7 +252,7 @@ class ApplicationFormModalComponent {
163
252
  }
164
253
  changeTextToType(displayName) {
165
254
  const form = this.getFormValue();
166
- if (form.type === defaultApplicationTypes.public) {
255
+ if (form.clientType === defaultApplicationTypes.public) {
167
256
  return (this.localizationService.instant(displayName) +
168
257
  ' (' +
169
258
  this.localizationService.instant('AbpOpenIddict::NotAvailableForThisType') +
@@ -173,26 +262,26 @@ class ApplicationFormModalComponent {
173
262
  return this.localizationService.instant(displayName);
174
263
  }
175
264
  }
176
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", 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.6", 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" }] }); }
265
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ApplicationFormModalComponent, deps: [{ token: i2$1.ApplicationService }, { token: ApplicationsService }, { token: i3$1.LocalizationService }, { token: i3$1.SubscriptionService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
266
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: ApplicationFormModalComponent, selector: "abp-application-form-modal", inputs: { selected: "selected" }, outputs: { saved: "saved" }, usesOnChanges: true, ngImport: i0, template: "\r\n<abp-modal *ngIf=\"isModalVisible()\" [visible]=\"true\" (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\">\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: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i5.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i3$1.LocalizationPipe, name: "abpLocalization" }] }); }
178
267
  }
179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ApplicationFormModalComponent, decorators: [{
268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ApplicationFormModalComponent, decorators: [{
180
269
  type: Component,
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: () => [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type: i3.LocalizationService }, { type: i3.SubscriptionService }, { type: i0.Injector }], propDecorators: { saved: [{
270
+ args: [{ selector: 'abp-application-form-modal', template: "\r\n<abp-modal *ngIf=\"isModalVisible()\" [visible]=\"true\" (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\">\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" }]
271
+ }], ctorParameters: () => [{ type: i2$1.ApplicationService }, { type: ApplicationsService }, { type: i3$1.LocalizationService }, { type: i3$1.SubscriptionService }, { type: i0.Injector }], propDecorators: { saved: [{
183
272
  type: Output
184
273
  }], selected: [{
185
274
  type: Input
186
275
  }] } });
187
276
 
188
277
  class ApplicationsComponent {
189
- constructor(service, applicationsService, confirmationService, list) {
190
- this.service = service;
191
- this.applicationsService = applicationsService;
192
- this.confirmationService = confirmationService;
193
- this.list = list;
278
+ constructor() {
279
+ this.service = inject(ApplicationsService);
280
+ this.list = inject(ListService);
281
+ this.confirmationService = inject(ConfirmationService);
282
+ this.proxyService = inject(ApplicationService);
194
283
  this.data = { items: [], totalCount: 0 };
195
- this.selected = {};
284
+ this.selected = signal({});
196
285
  this.visiblePermissions = false;
197
286
  this.onVisiblePermissionChange = (value) => {
198
287
  this.visiblePermissions = value;
@@ -202,9 +291,9 @@ class ApplicationsComponent {
202
291
  this.list.get();
203
292
  }
204
293
  edit(id) {
205
- this.service.get(id).subscribe(res => {
206
- this.selected = res;
207
- this.applicationsService.openModal();
294
+ this.proxyService.get(id).subscribe(res => {
295
+ this.selected.set(res);
296
+ this.service.openModal();
208
297
  });
209
298
  }
210
299
  delete(id, name) {
@@ -212,18 +301,17 @@ class ApplicationsComponent {
212
301
  .warn('AbpOpenIddict::ApplicationDeletionWarningMessage', 'AbpOpenIddict::AreYouSure', {
213
302
  messageLocalizationParams: [name],
214
303
  })
215
- .subscribe((status) => {
216
- if (status === Confirmation.Status.confirm) {
217
- this.service.delete(id).subscribe(() => this.list.get());
218
- }
304
+ .pipe(filter(status => status === Confirmation.Status.confirm), switchMap(() => this.proxyService.delete(id)))
305
+ .subscribe(() => {
306
+ this.list.get();
219
307
  });
220
308
  }
221
309
  ngOnInit() {
222
310
  this.hookToQuery();
223
311
  }
224
312
  onAdd() {
225
- this.selected = {};
226
- this.applicationsService.openModal();
313
+ this.selected.set({});
314
+ this.service.openModal();
227
315
  }
228
316
  openPermissionsModal(providerKey) {
229
317
  this.providerKey = providerKey;
@@ -232,18 +320,24 @@ class ApplicationsComponent {
232
320
  }, 0);
233
321
  }
234
322
  hookToQuery() {
235
- this.list.hookToQuery(query => this.service.getList(query)).subscribe(res => (this.data = res));
323
+ this.list
324
+ .hookToQuery(query => this.proxyService.getList(query))
325
+ .subscribe(res => (this.data = res));
326
+ }
327
+ openTokenLifetimeModal(record) {
328
+ this.selected.set(record);
329
+ this.service.setTokenLifetimeModalState(true);
236
330
  }
237
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", 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.6", type: ApplicationsComponent, selector: "abp-applications", providers: [
331
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ApplicationsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
332
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.8", type: ApplicationsComponent, selector: "abp-applications", providers: [
239
333
  ListService,
240
334
  {
241
335
  provide: EXTENSIONS_IDENTIFIER,
242
336
  useValue: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
243
337
  },
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" }] }); }
338
+ ], ngImport: i0, template: "<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@if (service.isTokenLifetimeModalVisible()) {\r\n <abp-token-lifetime-modal [selected]=\"selected()\" />\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$1.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i3$2.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i4$1.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i5$1.PermissionManagementComponent, selector: "abp-permission-management", inputs: ["providerName", "providerKey", "hideBadges", "entityDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpPermissionManagement"] }, { kind: "component", type: TokenLifetimeModalComponent, selector: "abp-token-lifetime-modal", inputs: ["selected"], outputs: ["saved"] }, { kind: "component", type: ApplicationFormModalComponent, selector: "abp-application-form-modal", inputs: ["selected"], outputs: ["saved"] }, { kind: "pipe", type: i3$1.LocalizationPipe, name: "abpLocalization" }] }); }
245
339
  }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ApplicationsComponent, decorators: [{
340
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ApplicationsComponent, decorators: [{
247
341
  type: Component,
248
342
  args: [{ selector: 'abp-applications', providers: [
249
343
  ListService,
@@ -251,21 +345,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
251
345
  provide: EXTENSIONS_IDENTIFIER,
252
346
  useValue: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
253
347
  },
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: () => [{ 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
- }
348
+ ], template: "<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@if (service.isTokenLifetimeModalVisible()) {\r\n <abp-token-lifetime-modal [selected]=\"selected()\" />\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" }]
349
+ }] });
269
350
 
270
351
  class ScopeFormModalComponent {
271
352
  constructor(injector, scopesService, service) {
@@ -308,13 +389,13 @@ class ScopeFormModalComponent {
308
389
  const data = new FormPropData(this.injector, selected);
309
390
  this.form = generateFormFromProps(data);
310
391
  }
311
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", 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.6", 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" }] }); }
392
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ScopeFormModalComponent, deps: [{ token: i0.Injector }, { token: ScopesService }, { token: i2$1.ScopeService }], target: i0.ɵɵFactoryTarget.Component }); }
393
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", 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: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i5.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i2.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.LocalizationPipe, name: "abpLocalization" }] }); }
313
394
  }
314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ScopeFormModalComponent, decorators: [{
395
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ScopeFormModalComponent, decorators: [{
315
396
  type: Component,
316
397
  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: [{
398
+ }], ctorParameters: () => [{ type: i0.Injector }, { type: ScopesService }, { type: i2$1.ScopeService }], propDecorators: { selected: [{
318
399
  type: Input
319
400
  }], saved: [{
320
401
  type: Output
@@ -359,16 +440,16 @@ class ScopesComponent {
359
440
  onSaved() {
360
441
  this.list.get();
361
442
  }
362
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", 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.6", type: ScopesComponent, selector: "abp-scopes", providers: [
443
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ScopesComponent, deps: [{ token: i3$1.ListService }, { token: i2$1.ScopeService }, { token: ScopesService }, { token: i2.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component }); }
444
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: ScopesComponent, selector: "abp-scopes", providers: [
364
445
  ListService,
365
446
  {
366
447
  provide: EXTENSIONS_IDENTIFIER,
367
448
  useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
368
449
  },
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" }] }); }
450
+ ], 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.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i3$2.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i4$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$1.LocalizationPipe, name: "abpLocalization" }] }); }
370
451
  }
371
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ScopesComponent, decorators: [{
452
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ScopesComponent, decorators: [{
372
453
  type: Component,
373
454
  args: [{ selector: 'abp-scopes', providers: [
374
455
  ListService,
@@ -377,7 +458,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
377
458
  useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
378
459
  },
379
460
  ], 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 }] });
461
+ }], ctorParameters: () => [{ type: i3$1.ListService }, { type: i2$1.ScopeService }, { type: ScopesService }, { type: i2.ConfirmationService }] });
381
462
 
382
463
  const DEFAULT_APPLICATIONS_ENTITY_ACTIONS = EntityAction.createMany([
383
464
  {
@@ -388,6 +469,14 @@ const DEFAULT_APPLICATIONS_ENTITY_ACTIONS = EntityAction.createMany([
388
469
  },
389
470
  permission: 'OpenIddictPro.Application.Update',
390
471
  },
472
+ {
473
+ text: 'AbpOpenIddict::TokenLifetime',
474
+ action: data => {
475
+ const component = data.getInjected(ApplicationsComponent);
476
+ component.openTokenLifetimeModal(data.record);
477
+ },
478
+ permission: 'OpenIddictPro.Application.Update',
479
+ },
391
480
  {
392
481
  text: 'AbpOpenIddict::ChangeHistory',
393
482
  action: data => {
@@ -415,6 +504,12 @@ const DEFAULT_APPLICATIONS_ENTITY_ACTIONS = EntityAction.createMany([
415
504
  ]);
416
505
 
417
506
  const DEFAULT_APPLICATIONS_ENTITY_PROPS = EntityProp.createMany([
507
+ {
508
+ type: "string" /* ePropType.String */,
509
+ name: 'applicationType',
510
+ displayName: 'AbpOpenIddict::ApplicationType',
511
+ columnWidth: 100,
512
+ },
418
513
  {
419
514
  type: "string" /* ePropType.String */,
420
515
  name: 'clientId',
@@ -425,12 +520,12 @@ const DEFAULT_APPLICATIONS_ENTITY_PROPS = EntityProp.createMany([
425
520
  type: "string" /* ePropType.String */,
426
521
  name: 'displayName',
427
522
  displayName: 'AbpOpenIddict::DisplayName',
428
- columnWidth: 200,
523
+ columnWidth: 100,
429
524
  },
430
525
  {
431
526
  type: "string" /* ePropType.String */,
432
- name: 'type',
433
- displayName: 'AbpOpenIddict::Type',
527
+ name: 'clientType',
528
+ displayName: 'AbpOpenIddict::ClientType',
434
529
  columnWidth: 200,
435
530
  },
436
531
  ]);
@@ -486,7 +581,18 @@ const groupRight = {
486
581
  className: 'col col-md-6',
487
582
  };
488
583
  const className = 'mb-1 form-group';
584
+ // @ts-ignore
489
585
  const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
586
+ {
587
+ type: "string" /* ePropType.String */,
588
+ options: data => of(defaultApplicationTypesList),
589
+ name: 'applicationType',
590
+ displayName: 'AbpOpenIddict::ApplicationType',
591
+ id: 'applicationType',
592
+ group: groupLeft,
593
+ className: className,
594
+ validators: () => [Validators.required],
595
+ },
490
596
  {
491
597
  type: "string" /* ePropType.String */,
492
598
  name: 'clientId',
@@ -524,9 +630,9 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
524
630
  },
525
631
  {
526
632
  type: "string" /* ePropType.String */,
527
- name: 'type',
528
- displayName: 'AbpOpenIddict::Type',
529
- id: 'type',
633
+ name: 'clientType',
634
+ displayName: 'AbpOpenIddict::ClientType',
635
+ id: 'clientType',
530
636
  validators: () => [Validators.required],
531
637
  options: data => {
532
638
  const key = data.getInjected(LocalizationService).instant('AbpUi::NotAssigned');
@@ -660,6 +766,7 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
660
766
  name: 'scopes',
661
767
  displayName: 'AbpOpenIddict::Scopes',
662
768
  id: 'scopes',
769
+ defaultValue: [],
663
770
  options: data => {
664
771
  return data
665
772
  .getInjected(ScopeService)
@@ -899,11 +1006,11 @@ const routes = [
899
1006
  },
900
1007
  ];
901
1008
  class OpeniddictproRoutingModule {
902
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: OpeniddictproRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
903
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: OpeniddictproRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] }); }
904
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: OpeniddictproRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
1009
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OpeniddictproRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1010
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: OpeniddictproRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] }); }
1011
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OpeniddictproRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
905
1012
  }
906
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: OpeniddictproRoutingModule, decorators: [{
1013
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OpeniddictproRoutingModule, decorators: [{
907
1014
  type: NgModule,
908
1015
  args: [{
909
1016
  imports: [RouterModule.forChild(routes)],
@@ -950,8 +1057,8 @@ class OpeniddictproModule {
950
1057
  static forLazy(options = {}) {
951
1058
  return new LazyModuleFactory(OpeniddictproModule.forChild(options));
952
1059
  }
953
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: OpeniddictproModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
954
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: OpeniddictproModule, declarations: [ApplicationsComponent,
1060
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OpeniddictproModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1061
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: OpeniddictproModule, declarations: [ApplicationsComponent,
955
1062
  ApplicationFormModalComponent,
956
1063
  ScopesComponent,
957
1064
  ScopeFormModalComponent], imports: [OpeniddictproRoutingModule,
@@ -962,11 +1069,14 @@ class OpeniddictproModule {
962
1069
  NgxValidateCoreModule,
963
1070
  PageModule,
964
1071
  AdvancedEntityFiltersModule,
965
- PermissionManagementModule], exports: [ApplicationsComponent,
1072
+ PermissionManagementModule,
1073
+ ExtensibleFormComponent,
1074
+ TokenLifetimeModalComponent,
1075
+ ExtensibleTableComponent], exports: [ApplicationsComponent,
966
1076
  ApplicationFormModalComponent,
967
1077
  ScopesComponent,
968
1078
  ScopeFormModalComponent] }); }
969
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: OpeniddictproModule, imports: [OpeniddictproRoutingModule,
1079
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OpeniddictproModule, imports: [OpeniddictproRoutingModule,
970
1080
  CoreModule,
971
1081
  CommercialUiModule,
972
1082
  ThemeSharedModule,
@@ -974,9 +1084,12 @@ class OpeniddictproModule {
974
1084
  NgxValidateCoreModule,
975
1085
  PageModule,
976
1086
  AdvancedEntityFiltersModule,
977
- PermissionManagementModule] }); }
1087
+ PermissionManagementModule,
1088
+ ExtensibleFormComponent,
1089
+ TokenLifetimeModalComponent,
1090
+ ExtensibleTableComponent] }); }
978
1091
  }
979
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: OpeniddictproModule, decorators: [{
1092
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OpeniddictproModule, decorators: [{
980
1093
  type: NgModule,
981
1094
  args: [{
982
1095
  imports: [
@@ -989,6 +1102,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
989
1102
  PageModule,
990
1103
  AdvancedEntityFiltersModule,
991
1104
  PermissionManagementModule,
1105
+ ExtensibleFormComponent,
1106
+ TokenLifetimeModalComponent,
1107
+ ExtensibleTableComponent,
992
1108
  ],
993
1109
  declarations: [...components],
994
1110
  exports: [...components],
@@ -1023,10 +1139,10 @@ class OpenIddictProExtensionsGuard {
1023
1139
  mergeWithDefaultProps(extensions.editFormProps, DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS, objectExtensionContributors.editForm, editFormContributors);
1024
1140
  }), mapTo(true));
1025
1141
  }
1026
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", 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.6", ngImport: i0, type: OpenIddictProExtensionsGuard }); }
1142
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OpenIddictProExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
1143
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OpenIddictProExtensionsGuard }); }
1028
1144
  }
1029
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: OpenIddictProExtensionsGuard, decorators: [{
1145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: OpenIddictProExtensionsGuard, decorators: [{
1030
1146
  type: Injectable
1031
1147
  }], ctorParameters: () => [{ type: i0.Injector }] });
1032
1148
 
@@ -1034,5 +1150,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
1034
1150
  * Generated bundle index. Do not edit.
1035
1151
  */
1036
1152
 
1037
- 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, UrisValidator, allowFlow, defaultApplicationTypes, defaultApplicationsTypeList, defaultUriPattern, hashSetParser };
1153
+ 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, defaultApplicationTypes, defaultApplicationTypesList, defaultApplicationsTypeList, defaultUriPattern, hashSetParser };
1038
1154
  //# sourceMappingURL=volo-abp.ng.openiddictpro.mjs.map