@volo/abp.ng.openiddictpro 6.0.0-rc.3 → 6.0.0-rc.5
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.
- package/config/{volo-abp.ng.openiddictpro-config.d.ts → index.d.ts} +0 -0
- package/esm2020/config/openiddictpro-config.module.mjs +4 -4
- package/esm2020/config/providers/route.provider.mjs +14 -16
- package/esm2020/lib/components/application-form-modal/application-form-modal.component.mjs +10 -9
- package/esm2020/lib/components/applications/applications.component.mjs +11 -11
- package/esm2020/lib/components/scope-form-modal/scope-form-modal.component.mjs +8 -8
- package/esm2020/lib/components/scopes/scopes.component.mjs +10 -10
- package/esm2020/lib/defaults/default-applications-entity-props.mjs +4 -4
- package/esm2020/lib/defaults/default-applications-form-props.mjs +67 -20
- package/esm2020/lib/defaults/default-scope-entity-props.mjs +4 -4
- package/esm2020/lib/defaults/default-scope-form-props.mjs +5 -5
- package/esm2020/lib/guards/extensions.guard.mjs +6 -6
- package/esm2020/lib/openiddictpro-routing.module.mjs +7 -7
- package/esm2020/lib/openiddictpro.module.mjs +13 -15
- package/esm2020/lib/tokens/extensions.token.mjs +11 -11
- package/esm2020/proxy/lib/proxy/application.service.mjs +3 -3
- package/esm2020/proxy/lib/proxy/scope.service.mjs +3 -3
- package/fesm2015/volo-abp.ng.openiddictpro-config.mjs +17 -19
- package/fesm2015/volo-abp.ng.openiddictpro-config.mjs.map +1 -1
- package/fesm2015/volo-abp.ng.openiddictpro-proxy.mjs +6 -6
- package/fesm2015/volo-abp.ng.openiddictpro.mjs +141 -95
- package/fesm2015/volo-abp.ng.openiddictpro.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.openiddictpro-config.mjs +17 -19
- package/fesm2020/volo-abp.ng.openiddictpro-config.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.openiddictpro-proxy.mjs +6 -6
- package/fesm2020/volo-abp.ng.openiddictpro.mjs +141 -95
- package/fesm2020/volo-abp.ng.openiddictpro.mjs.map +1 -1
- package/{volo-abp.ng.openiddictpro.d.ts → index.d.ts} +0 -0
- package/lib/components/application-form-modal/application-form-modal.component.d.ts +6 -3
- package/lib/components/applications/applications.component.d.ts +1 -1
- package/lib/components/scope-form-modal/scope-form-modal.component.d.ts +3 -3
- package/lib/components/scopes/scopes.component.d.ts +1 -1
- package/package.json +9 -9
- package/proxy/{volo-abp.ng.openiddictpro-proxy.d.ts → index.d.ts} +0 -0
- package/config/package.json +0 -10
- package/proxy/package.json +0 -10
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, Component, Output, Input, InjectionToken, Injectable, NgModule } from '@angular/core';
|
|
3
|
-
import * as i4
|
|
3
|
+
import * as i4 from '@abp/ng.core';
|
|
4
4
|
import { InternalStore, ListService, 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
|
-
import * as
|
|
7
|
+
import * as i6 from '@abp/ng.theme.shared';
|
|
8
8
|
import { Confirmation, ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i5 from '@abp/ng.theme.shared/extensions';
|
|
10
10
|
import { FormPropData, generateFormFromProps, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, FormProp, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps } from '@abp/ng.theme.shared/extensions';
|
|
11
11
|
import * as i1 from '@volo/abp.ng.openiddictpro/proxy';
|
|
12
12
|
import { ScopeService } from '@volo/abp.ng.openiddictpro/proxy';
|
|
13
|
-
import * as
|
|
14
|
-
import { PageModule } from '@abp/ng.components/page';
|
|
15
|
-
import * as i6 from '@volo/abp.commercial.ng.ui';
|
|
13
|
+
import * as i6$1 from '@volo/abp.commercial.ng.ui';
|
|
16
14
|
import { SHOW_ENTITY_HISTORY, CommercialUiModule, AdvancedEntityFiltersModule } from '@volo/abp.commercial.ng.ui';
|
|
15
|
+
import * as i7$1 from '@abp/ng.components/page';
|
|
16
|
+
import { PageModule } from '@abp/ng.components/page';
|
|
17
|
+
import * as i8$1 from '@abp/ng.permission-management';
|
|
18
|
+
import { PermissionManagementModule } from '@abp/ng.permission-management';
|
|
17
19
|
import { of } from 'rxjs';
|
|
18
|
-
import * as
|
|
20
|
+
import * as i3 from '@angular/forms';
|
|
19
21
|
import { Validators } from '@angular/forms';
|
|
20
22
|
import * as i7 from '@ngx-validate/core';
|
|
21
23
|
import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
22
24
|
import * as i8 from '@angular/common';
|
|
23
|
-
import * as i9 from '@abp/ng.permission-management';
|
|
24
|
-
import { PermissionManagementModule } from '@abp/ng.permission-management';
|
|
25
25
|
import { map, tap, mapTo } from 'rxjs/operators';
|
|
26
26
|
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
|
27
27
|
|
|
@@ -95,6 +95,7 @@ class ApplicationFormModalComponent {
|
|
|
95
95
|
this.saved = new EventEmitter();
|
|
96
96
|
this.types$ = of(defaultApplicationsTypeList);
|
|
97
97
|
this.consentTypes$ = of(DefaultApplicationsConsentType);
|
|
98
|
+
this.options = { size: 'lg' };
|
|
98
99
|
}
|
|
99
100
|
ngOnChanges(changes) {
|
|
100
101
|
this.createForm();
|
|
@@ -140,11 +141,11 @@ class ApplicationFormModalComponent {
|
|
|
140
141
|
this.form = generateFormFromProps(data);
|
|
141
142
|
}
|
|
142
143
|
}
|
|
143
|
-
ApplicationFormModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
144
|
-
ApplicationFormModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
144
|
+
ApplicationFormModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ApplicationFormModalComponent, deps: [{ token: i1.ApplicationService }, { token: ApplicationsService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
145
|
+
ApplicationFormModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ApplicationFormModalComponent, selector: "abp-application-form-modal", inputs: { selected: "selected" }, outputs: { saved: "saved" }, providers: [], usesOnChanges: true, ngImport: i0, template: "\r\n<abp-modal [visible]=\"isModalVisible$ | async\" (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: 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: i4.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: "component", type: i6.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i6.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i6.ModalCloseDirective, selector: "[abpClose]" }, { kind: "directive", type: i7.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "pipe", type: i8.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.LocalizationPipe, name: "abpLocalization" }] });
|
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ApplicationFormModalComponent, decorators: [{
|
|
146
147
|
type: Component,
|
|
147
|
-
args: [{ selector: 'abp-application-form-modal',
|
|
148
|
+
args: [{ selector: 'abp-application-form-modal', providers: [], template: "\r\n<abp-modal [visible]=\"isModalVisible$ | async\" (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" }]
|
|
148
149
|
}], ctorParameters: function () { return [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type: i0.Injector }]; }, propDecorators: { saved: [{
|
|
149
150
|
type: Output
|
|
150
151
|
}], selected: [{
|
|
@@ -201,24 +202,24 @@ class ApplicationsComponent {
|
|
|
201
202
|
this.list.hookToQuery(query => this.service.getList(query)).subscribe(res => (this.data = res));
|
|
202
203
|
}
|
|
203
204
|
}
|
|
204
|
-
ApplicationsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
205
|
-
ApplicationsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
205
|
+
ApplicationsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ApplicationsComponent, deps: [{ token: i1.ApplicationService }, { token: ApplicationsService }, { token: i6.ConfirmationService }, { token: i4.ListService }], target: i0.ɵɵFactoryTarget.Component });
|
|
206
|
+
ApplicationsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ApplicationsComponent, selector: "abp-applications", providers: [
|
|
206
207
|
ListService,
|
|
207
208
|
{
|
|
208
209
|
provide: EXTENSIONS_IDENTIFIER,
|
|
209
|
-
useValue: "OpenIddictPro.Applications" /* Applications */,
|
|
210
|
+
useValue: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
|
|
210
211
|
},
|
|
211
|
-
], 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",
|
|
212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
212
|
+
], 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: i4.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6$1.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: i4.LocalizationPipe, name: "abpLocalization" }] });
|
|
213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ApplicationsComponent, decorators: [{
|
|
213
214
|
type: Component,
|
|
214
215
|
args: [{ selector: 'abp-applications', providers: [
|
|
215
216
|
ListService,
|
|
216
217
|
{
|
|
217
218
|
provide: EXTENSIONS_IDENTIFIER,
|
|
218
|
-
useValue: "OpenIddictPro.Applications" /* Applications */,
|
|
219
|
+
useValue: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
|
|
219
220
|
},
|
|
220
221
|
], 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" }]
|
|
221
|
-
}], ctorParameters: function () { return [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type:
|
|
222
|
+
}], ctorParameters: function () { return [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type: i6.ConfirmationService }, { type: i4.ListService }]; } });
|
|
222
223
|
|
|
223
224
|
const DEFAULT_APPLICATIONS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
224
225
|
{
|
|
@@ -257,19 +258,19 @@ const DEFAULT_APPLICATIONS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
|
257
258
|
|
|
258
259
|
const DEFAULT_APPLICATIONS_ENTITY_PROPS = EntityProp.createMany([
|
|
259
260
|
{
|
|
260
|
-
type: "string" /* String */,
|
|
261
|
+
type: "string" /* ePropType.String */,
|
|
261
262
|
name: 'clientId',
|
|
262
263
|
displayName: 'AbpOpenIddict::ClientId',
|
|
263
264
|
columnWidth: 200,
|
|
264
265
|
},
|
|
265
266
|
{
|
|
266
|
-
type: "string" /* String */,
|
|
267
|
+
type: "string" /* ePropType.String */,
|
|
267
268
|
name: 'displayName',
|
|
268
269
|
displayName: 'AbpOpenIddict::DisplayName',
|
|
269
270
|
columnWidth: 200,
|
|
270
271
|
},
|
|
271
272
|
{
|
|
272
|
-
type: "string" /* String */,
|
|
273
|
+
type: "string" /* ePropType.String */,
|
|
273
274
|
name: 'type',
|
|
274
275
|
displayName: 'AbpOpenIddict::Type',
|
|
275
276
|
columnWidth: 200,
|
|
@@ -318,31 +319,46 @@ function isEmptyInputValue(value) {
|
|
|
318
319
|
return (value == null || ((typeof value === 'string' || Array.isArray(value)) && value.length === 0));
|
|
319
320
|
}
|
|
320
321
|
|
|
322
|
+
const groupLeft = {
|
|
323
|
+
name: 'left',
|
|
324
|
+
className: 'col col-md-6',
|
|
325
|
+
};
|
|
326
|
+
const groupRight = {
|
|
327
|
+
name: 'right',
|
|
328
|
+
className: 'col col-md-6',
|
|
329
|
+
};
|
|
330
|
+
const className = 'mb-1 form-group';
|
|
321
331
|
const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
322
332
|
{
|
|
323
|
-
type: "string" /* String */,
|
|
333
|
+
type: "string" /* ePropType.String */,
|
|
324
334
|
name: 'clientId',
|
|
325
335
|
displayName: 'AbpOpenIddict::ClientId',
|
|
326
336
|
id: 'clientId',
|
|
327
337
|
validators: () => [Validators.required],
|
|
338
|
+
group: groupLeft,
|
|
339
|
+
className: className,
|
|
328
340
|
},
|
|
329
341
|
{
|
|
330
|
-
type: "string" /* String */,
|
|
342
|
+
type: "string" /* ePropType.String */,
|
|
331
343
|
name: 'displayName',
|
|
332
344
|
displayName: 'AbpOpenIddict::DisplayName',
|
|
333
345
|
id: 'displayName',
|
|
334
346
|
validators: () => [Validators.required],
|
|
347
|
+
group: groupLeft,
|
|
348
|
+
className: className,
|
|
335
349
|
},
|
|
336
350
|
{
|
|
337
|
-
type: "string" /* String */,
|
|
351
|
+
type: "string" /* ePropType.String */,
|
|
338
352
|
name: 'type',
|
|
339
353
|
displayName: 'AbpOpenIddict::Type',
|
|
340
354
|
id: 'type',
|
|
341
355
|
validators: () => [Validators.required],
|
|
342
356
|
options: data => data.getInjected(ApplicationFormModalComponent).types$,
|
|
357
|
+
group: groupLeft,
|
|
358
|
+
className: className,
|
|
343
359
|
},
|
|
344
360
|
{
|
|
345
|
-
type: "string" /* String */,
|
|
361
|
+
type: "string" /* ePropType.String */,
|
|
346
362
|
name: 'clientSecret',
|
|
347
363
|
displayName: 'AbpOpenIddict::ClientSecret',
|
|
348
364
|
id: 'clientSecret',
|
|
@@ -350,57 +366,73 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
350
366
|
const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
|
|
351
367
|
return formValue.type === defaultApplicationTypes.confidential;
|
|
352
368
|
},
|
|
369
|
+
group: groupLeft,
|
|
370
|
+
className: className,
|
|
353
371
|
},
|
|
354
372
|
{
|
|
355
|
-
type: "string" /* String */,
|
|
373
|
+
type: "string" /* ePropType.String */,
|
|
356
374
|
name: 'clientUri',
|
|
357
375
|
displayName: 'AbpOpenIddict::ClientUri',
|
|
358
376
|
id: 'clientUri',
|
|
359
377
|
validators: () => [UrisValidator()],
|
|
378
|
+
group: groupLeft,
|
|
379
|
+
className: className,
|
|
360
380
|
},
|
|
361
381
|
{
|
|
362
|
-
type: "string" /* String */,
|
|
382
|
+
type: "string" /* ePropType.String */,
|
|
363
383
|
name: 'logoUri',
|
|
364
384
|
displayName: 'AbpOpenIddict::LogoUri',
|
|
365
385
|
id: 'logoUri',
|
|
386
|
+
group: groupLeft,
|
|
387
|
+
className: className,
|
|
366
388
|
},
|
|
367
389
|
{
|
|
368
|
-
type: "boolean" /* Boolean */,
|
|
390
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
369
391
|
defaultValue: false,
|
|
370
392
|
name: 'allowAuthorizationCodeFlow',
|
|
371
393
|
displayName: 'AbpOpenIddict::AllowAuthorizationCodeFlow',
|
|
372
394
|
id: 'allowAuthorizationCodeFlow',
|
|
395
|
+
group: groupRight,
|
|
396
|
+
className: className,
|
|
373
397
|
},
|
|
374
398
|
{
|
|
375
|
-
type: "boolean" /* Boolean */,
|
|
399
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
376
400
|
defaultValue: false,
|
|
377
401
|
name: 'allowImplicitFlow',
|
|
378
402
|
displayName: 'AbpOpenIddict::AllowImplicitFlow',
|
|
379
403
|
id: 'allowImplicitFlow',
|
|
404
|
+
group: groupRight,
|
|
405
|
+
className: className,
|
|
380
406
|
},
|
|
381
407
|
{
|
|
382
|
-
type: "boolean" /* Boolean */,
|
|
408
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
383
409
|
defaultValue: false,
|
|
384
410
|
name: 'allowHybridFlow',
|
|
385
411
|
displayName: 'AbpOpenIddict::AllowHybridFlow',
|
|
386
412
|
id: 'allowHybridFlow',
|
|
413
|
+
group: groupRight,
|
|
414
|
+
className: className,
|
|
387
415
|
},
|
|
388
416
|
{
|
|
389
|
-
type: "boolean" /* Boolean */,
|
|
417
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
390
418
|
defaultValue: false,
|
|
391
419
|
name: 'allowPasswordFlow',
|
|
392
420
|
displayName: 'AbpOpenIddict::AllowPasswordFlow',
|
|
393
421
|
id: 'allowPasswordFlow',
|
|
422
|
+
group: groupRight,
|
|
423
|
+
className: className,
|
|
394
424
|
},
|
|
395
425
|
{
|
|
396
|
-
type: "boolean" /* Boolean */,
|
|
426
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
397
427
|
defaultValue: false,
|
|
398
428
|
name: 'allowClientCredentialsFlow',
|
|
399
429
|
displayName: 'AbpOpenIddict::AllowClientCredentialsFlow',
|
|
400
430
|
id: 'allowClientCredentialsFlow',
|
|
431
|
+
group: groupRight,
|
|
432
|
+
className: className,
|
|
401
433
|
},
|
|
402
434
|
{
|
|
403
|
-
type: "boolean" /* Boolean */,
|
|
435
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
404
436
|
defaultValue: false,
|
|
405
437
|
name: 'allowRefreshTokenFlow',
|
|
406
438
|
displayName: 'AbpOpenIddict::AllowRefreshTokenFlow',
|
|
@@ -411,16 +443,20 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
411
443
|
return !(allowHybridFlow || allowAuthorizationCodeFlow || allowPasswordFlow);
|
|
412
444
|
},
|
|
413
445
|
id: 'allowRefreshTokenFlow',
|
|
446
|
+
group: groupRight,
|
|
447
|
+
className: className,
|
|
414
448
|
},
|
|
415
449
|
{
|
|
416
|
-
type: "boolean" /* Boolean */,
|
|
450
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
417
451
|
defaultValue: false,
|
|
418
452
|
name: 'allowDeviceEndpoint',
|
|
419
453
|
displayName: 'AbpOpenIddict::AllowDeviceEndpoint',
|
|
420
454
|
id: 'allowDeviceEndpoint',
|
|
455
|
+
group: groupRight,
|
|
456
|
+
className: className,
|
|
421
457
|
},
|
|
422
458
|
{
|
|
423
|
-
type: "string" /* String */,
|
|
459
|
+
type: "string" /* ePropType.String */,
|
|
424
460
|
name: 'consentType',
|
|
425
461
|
displayName: 'AbpOpenIddict::ConsentType',
|
|
426
462
|
id: 'consentType',
|
|
@@ -429,9 +465,11 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
429
465
|
const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
|
|
430
466
|
return allowFlow(formValue);
|
|
431
467
|
},
|
|
468
|
+
group: groupRight,
|
|
469
|
+
className: className,
|
|
432
470
|
},
|
|
433
471
|
{
|
|
434
|
-
type: "multiselect" /* MultiSelect */,
|
|
472
|
+
type: "multiselect" /* ePropType.MultiSelect */,
|
|
435
473
|
name: 'scopes',
|
|
436
474
|
displayName: 'AbpOpenIddict::Scopes',
|
|
437
475
|
id: 'scopes',
|
|
@@ -444,9 +482,11 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
444
482
|
value: scope.name,
|
|
445
483
|
}))));
|
|
446
484
|
},
|
|
485
|
+
group: groupRight,
|
|
486
|
+
className: className,
|
|
447
487
|
},
|
|
448
488
|
{
|
|
449
|
-
type: "text" /* Text */,
|
|
489
|
+
type: "text" /* ePropType.Text */,
|
|
450
490
|
name: 'redirectUris',
|
|
451
491
|
displayName: 'AbpOpenIddict::RedirectUris',
|
|
452
492
|
id: 'redirectUris',
|
|
@@ -455,9 +495,11 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
455
495
|
const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
|
|
456
496
|
return allowFlow(formValue);
|
|
457
497
|
},
|
|
498
|
+
group: groupRight,
|
|
499
|
+
className: className,
|
|
458
500
|
},
|
|
459
501
|
{
|
|
460
|
-
type: "boolean" /* Boolean */,
|
|
502
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
461
503
|
defaultValue: false,
|
|
462
504
|
name: 'allowLogoutEndpoint',
|
|
463
505
|
displayName: 'AbpOpenIddict::AllowLogoutEndpoint',
|
|
@@ -466,9 +508,11 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
466
508
|
const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
|
|
467
509
|
return allowFlow(formValue);
|
|
468
510
|
},
|
|
511
|
+
group: groupRight,
|
|
512
|
+
className: className,
|
|
469
513
|
},
|
|
470
514
|
{
|
|
471
|
-
type: "text" /* Text */,
|
|
515
|
+
type: "text" /* ePropType.Text */,
|
|
472
516
|
name: 'postLogoutRedirectUris',
|
|
473
517
|
displayName: 'AbpOpenIddict::PostLogoutRedirectUris',
|
|
474
518
|
id: 'postLogoutRedirectUris',
|
|
@@ -479,33 +523,37 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
479
523
|
.getFormValue();
|
|
480
524
|
return allowLogoutEndpoint;
|
|
481
525
|
},
|
|
526
|
+
group: groupRight,
|
|
527
|
+
className: className,
|
|
482
528
|
},
|
|
483
529
|
]);
|
|
484
530
|
const DEFAULT_APPLICATIONS_FORM_PROPS = DEFAULT_APPLICATIONS_CREATE_FORM_PROPS.concat(FormProp.createMany([
|
|
485
531
|
{
|
|
486
|
-
type: "boolean" /* Boolean */,
|
|
532
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
487
533
|
name: 'enabled',
|
|
488
534
|
displayName: 'AbpIdentityServer::Enabled',
|
|
489
535
|
id: 'enabled',
|
|
490
536
|
defaultValue: false,
|
|
537
|
+
group: groupRight,
|
|
538
|
+
className: className,
|
|
491
539
|
},
|
|
492
540
|
]));
|
|
493
541
|
|
|
494
542
|
const DEFAULT_SCOPES_ENTITY_PROPS = EntityProp.createMany([
|
|
495
543
|
{
|
|
496
|
-
type: "string" /* String */,
|
|
544
|
+
type: "string" /* ePropType.String */,
|
|
497
545
|
name: 'name',
|
|
498
546
|
displayName: 'AbpOpenIddict::Name',
|
|
499
547
|
columnWidth: 200,
|
|
500
548
|
},
|
|
501
549
|
{
|
|
502
|
-
type: "string" /* String */,
|
|
550
|
+
type: "string" /* ePropType.String */,
|
|
503
551
|
name: 'displayName',
|
|
504
552
|
displayName: 'AbpOpenIddict::DisplayName',
|
|
505
553
|
columnWidth: 200,
|
|
506
554
|
},
|
|
507
555
|
{
|
|
508
|
-
type: "string" /* String */,
|
|
556
|
+
type: "string" /* ePropType.String */,
|
|
509
557
|
name: 'description',
|
|
510
558
|
displayName: 'AbpOpenIddict::Description',
|
|
511
559
|
columnWidth: 200,
|
|
@@ -567,9 +615,9 @@ class ScopeFormModalComponent {
|
|
|
567
615
|
this.form = generateFormFromProps(data);
|
|
568
616
|
}
|
|
569
617
|
}
|
|
570
|
-
ScopeFormModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
571
|
-
ScopeFormModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
572
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
618
|
+
ScopeFormModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ScopeFormModalComponent, deps: [{ token: i0.Injector }, { token: ScopesService }, { token: i1.ScopeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
619
|
+
ScopeFormModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", 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: i4.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: "component", type: i6.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i6.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i6.ModalCloseDirective, selector: "[abpClose]" }, { kind: "directive", type: i7.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "pipe", type: i8.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.LocalizationPipe, name: "abpLocalization" }] });
|
|
620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ScopeFormModalComponent, decorators: [{
|
|
573
621
|
type: Component,
|
|
574
622
|
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" }]
|
|
575
623
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: ScopesService }, { type: i1.ScopeService }]; }, propDecorators: { selected: [{
|
|
@@ -618,24 +666,24 @@ class ScopesComponent {
|
|
|
618
666
|
this.list.get();
|
|
619
667
|
}
|
|
620
668
|
}
|
|
621
|
-
ScopesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
622
|
-
ScopesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
669
|
+
ScopesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ScopesComponent, deps: [{ token: i4.ListService }, { token: i1.ScopeService }, { token: ScopesService }, { token: i6.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
670
|
+
ScopesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ScopesComponent, selector: "abp-scopes", providers: [
|
|
623
671
|
ListService,
|
|
624
672
|
{
|
|
625
673
|
provide: EXTENSIONS_IDENTIFIER,
|
|
626
|
-
useValue: "OpenIddictPro.Scopes" /* Scopes */,
|
|
674
|
+
useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
|
|
627
675
|
},
|
|
628
|
-
], 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",
|
|
629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
676
|
+
], 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"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6$1.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: i4.LocalizationPipe, name: "abpLocalization" }] });
|
|
677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ScopesComponent, decorators: [{
|
|
630
678
|
type: Component,
|
|
631
|
-
args: [{ selector: 'abp-scopes',
|
|
679
|
+
args: [{ selector: 'abp-scopes', providers: [
|
|
632
680
|
ListService,
|
|
633
681
|
{
|
|
634
682
|
provide: EXTENSIONS_IDENTIFIER,
|
|
635
|
-
useValue: "OpenIddictPro.Scopes" /* Scopes */,
|
|
683
|
+
useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
|
|
636
684
|
},
|
|
637
685
|
], 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" }]
|
|
638
|
-
}], ctorParameters: function () { return [{ type: i4
|
|
686
|
+
}], ctorParameters: function () { return [{ type: i4.ListService }, { type: i1.ScopeService }, { type: ScopesService }, { type: i6.ConfirmationService }]; } });
|
|
639
687
|
|
|
640
688
|
const DEFAULT_SCOPES_TOOLBAR_ACTIONS = ToolbarAction.createMany([
|
|
641
689
|
{
|
|
@@ -651,26 +699,26 @@ const DEFAULT_SCOPES_TOOLBAR_ACTIONS = ToolbarAction.createMany([
|
|
|
651
699
|
|
|
652
700
|
const DEFAULT_SCOPE_CREATE_FORM_PROPS = FormProp.createMany([
|
|
653
701
|
{
|
|
654
|
-
type: "string" /* String */,
|
|
702
|
+
type: "string" /* ePropType.String */,
|
|
655
703
|
name: 'name',
|
|
656
704
|
displayName: 'AbpOpenIddict::Name',
|
|
657
705
|
id: 'name',
|
|
658
706
|
validators: () => [Validators.required, Validators.pattern(/^\S+$/)],
|
|
659
707
|
},
|
|
660
708
|
{
|
|
661
|
-
type: "string" /* String */,
|
|
709
|
+
type: "string" /* ePropType.String */,
|
|
662
710
|
name: 'displayName',
|
|
663
711
|
displayName: 'AbpOpenIddict::DisplayName',
|
|
664
712
|
id: 'displayName',
|
|
665
713
|
},
|
|
666
714
|
{
|
|
667
|
-
type: "string" /* String */,
|
|
715
|
+
type: "string" /* ePropType.String */,
|
|
668
716
|
name: 'description',
|
|
669
717
|
displayName: 'AbpOpenIddict::Description',
|
|
670
718
|
id: 'description',
|
|
671
719
|
},
|
|
672
720
|
{
|
|
673
|
-
type: "text" /* Text */,
|
|
721
|
+
type: "text" /* ePropType.Text */,
|
|
674
722
|
name: 'resources',
|
|
675
723
|
displayName: 'AbpOpenIddict::Resources',
|
|
676
724
|
id: 'resources',
|
|
@@ -707,24 +755,24 @@ const DEFAULT_SCOPE_ENTITY_ACTIONS = EntityAction.createMany([
|
|
|
707
755
|
]);
|
|
708
756
|
|
|
709
757
|
const DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS = {
|
|
710
|
-
["OpenIddictPro.Applications" /* Applications */]: DEFAULT_APPLICATIONS_ENTITY_ACTIONS,
|
|
711
|
-
["OpenIddictPro.Scopes" /* Scopes */]: DEFAULT_SCOPE_ENTITY_ACTIONS,
|
|
758
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_ENTITY_ACTIONS,
|
|
759
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPE_ENTITY_ACTIONS,
|
|
712
760
|
};
|
|
713
761
|
const DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS = {
|
|
714
|
-
["OpenIddictPro.Applications" /* Applications */]: DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS,
|
|
715
|
-
["OpenIddictPro.Scopes" /* Scopes */]: DEFAULT_SCOPES_TOOLBAR_ACTIONS,
|
|
762
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS,
|
|
763
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPES_TOOLBAR_ACTIONS,
|
|
716
764
|
};
|
|
717
765
|
const DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS = {
|
|
718
|
-
["OpenIddictPro.Applications" /* Applications */]: DEFAULT_APPLICATIONS_ENTITY_PROPS,
|
|
719
|
-
["OpenIddictPro.Scopes" /* Scopes */]: DEFAULT_SCOPES_ENTITY_PROPS,
|
|
766
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_ENTITY_PROPS,
|
|
767
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPES_ENTITY_PROPS,
|
|
720
768
|
};
|
|
721
769
|
const DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS = {
|
|
722
|
-
["OpenIddictPro.Applications" /* Applications */]: DEFAULT_APPLICATIONS_CREATE_FORM_PROPS,
|
|
723
|
-
["OpenIddictPro.Scopes" /* Scopes */]: DEFAULT_SCOPE_CREATE_FORM_PROPS,
|
|
770
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_CREATE_FORM_PROPS,
|
|
771
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPE_CREATE_FORM_PROPS,
|
|
724
772
|
};
|
|
725
773
|
const DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS = {
|
|
726
|
-
["OpenIddictPro.Applications" /* Applications */]: DEFAULT_APPLICATIONS_FORM_PROPS,
|
|
727
|
-
["OpenIddictPro.Scopes" /* Scopes */]: DEFAULT_SCOPES_FORM_PROPS,
|
|
774
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_FORM_PROPS,
|
|
775
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPES_FORM_PROPS,
|
|
728
776
|
};
|
|
729
777
|
const OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS = new InjectionToken('OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS');
|
|
730
778
|
const OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS = new InjectionToken('OPENIDDICT_PRO__TOOLBAR_ACTION_CONTRIBUTORS');
|
|
@@ -746,8 +794,8 @@ class OpenIddictProExtensionsGuard {
|
|
|
746
794
|
const configState = this.injector.get(ConfigStateService);
|
|
747
795
|
return getObjectExtensionEntitiesFromStore(configState, 'OpenIddictPro').pipe(map(entities => {
|
|
748
796
|
return {
|
|
749
|
-
["OpenIddictPro.Applications" /* Applications */]: entities.ApiResource,
|
|
750
|
-
["OpenIddictPro.Scopes" /* Scopes */]: entities.Scopes,
|
|
797
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: entities.ApiResource,
|
|
798
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: entities.Scopes,
|
|
751
799
|
};
|
|
752
800
|
}), mapEntitiesToContributors(configState, 'AbpOpenIddictPro'), tap(objectExtensionContributors => {
|
|
753
801
|
mergeWithDefaultActions(extensions.entityActions, DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS, actionContributors);
|
|
@@ -758,9 +806,9 @@ class OpenIddictProExtensionsGuard {
|
|
|
758
806
|
}), mapTo(true));
|
|
759
807
|
}
|
|
760
808
|
}
|
|
761
|
-
OpenIddictProExtensionsGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
762
|
-
OpenIddictProExtensionsGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
809
|
+
OpenIddictProExtensionsGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpenIddictProExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
810
|
+
OpenIddictProExtensionsGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpenIddictProExtensionsGuard });
|
|
811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpenIddictProExtensionsGuard, decorators: [{
|
|
764
812
|
type: Injectable
|
|
765
813
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
766
814
|
|
|
@@ -777,7 +825,7 @@ const routes = [
|
|
|
777
825
|
data: {
|
|
778
826
|
requiredPolicy: 'OpenIddictPro.Application',
|
|
779
827
|
replaceableComponent: {
|
|
780
|
-
key: "OpenIddictPro.Applications" /* Applications */,
|
|
828
|
+
key: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
|
|
781
829
|
defaultComponent: ApplicationsComponent,
|
|
782
830
|
},
|
|
783
831
|
},
|
|
@@ -788,7 +836,7 @@ const routes = [
|
|
|
788
836
|
data: {
|
|
789
837
|
requiredPolicy: 'OpenIddictPro.Scopes',
|
|
790
838
|
replaceableComponent: {
|
|
791
|
-
key: "OpenIddictPro.Scopes" /* Scopes */,
|
|
839
|
+
key: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
|
|
792
840
|
defaultComponent: ScopesComponent,
|
|
793
841
|
},
|
|
794
842
|
},
|
|
@@ -798,10 +846,10 @@ const routes = [
|
|
|
798
846
|
];
|
|
799
847
|
class OpeniddictproRoutingModule {
|
|
800
848
|
}
|
|
801
|
-
OpeniddictproRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
802
|
-
OpeniddictproRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
803
|
-
OpeniddictproRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
849
|
+
OpeniddictproRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
850
|
+
OpeniddictproRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] });
|
|
851
|
+
OpeniddictproRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproRoutingModule, decorators: [{
|
|
805
853
|
type: NgModule,
|
|
806
854
|
args: [{
|
|
807
855
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -850,8 +898,8 @@ class OpeniddictproModule {
|
|
|
850
898
|
return new LazyModuleFactory(OpeniddictproModule.forChild(options));
|
|
851
899
|
}
|
|
852
900
|
}
|
|
853
|
-
OpeniddictproModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
854
|
-
OpeniddictproModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
901
|
+
OpeniddictproModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
902
|
+
OpeniddictproModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproModule, declarations: [ApplicationsComponent,
|
|
855
903
|
ApplicationFormModalComponent,
|
|
856
904
|
ScopesComponent,
|
|
857
905
|
ScopeFormModalComponent], imports: [OpeniddictproRoutingModule,
|
|
@@ -866,18 +914,16 @@ OpeniddictproModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
866
914
|
ApplicationFormModalComponent,
|
|
867
915
|
ScopesComponent,
|
|
868
916
|
ScopeFormModalComponent] });
|
|
869
|
-
OpeniddictproModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
]] });
|
|
880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: OpeniddictproModule, decorators: [{
|
|
917
|
+
OpeniddictproModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproModule, imports: [OpeniddictproRoutingModule,
|
|
918
|
+
CoreModule,
|
|
919
|
+
CommercialUiModule,
|
|
920
|
+
ThemeSharedModule,
|
|
921
|
+
NgbDropdownModule,
|
|
922
|
+
NgxValidateCoreModule,
|
|
923
|
+
PageModule,
|
|
924
|
+
AdvancedEntityFiltersModule,
|
|
925
|
+
PermissionManagementModule] });
|
|
926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproModule, decorators: [{
|
|
881
927
|
type: NgModule,
|
|
882
928
|
args: [{
|
|
883
929
|
imports: [
|