@volo/abp.ng.openiddictpro 6.0.0-rc.4 → 6.0.0
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 +69 -22
- 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 +143 -97
- 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 +143 -97
- 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();
|
|
@@ -146,11 +147,11 @@ class ApplicationFormModalComponent {
|
|
|
146
147
|
this.form = generateFormFromProps(data);
|
|
147
148
|
}
|
|
148
149
|
}
|
|
149
|
-
ApplicationFormModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
150
|
-
ApplicationFormModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
150
|
+
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 });
|
|
151
|
+
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" }] });
|
|
152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ApplicationFormModalComponent, decorators: [{
|
|
152
153
|
type: Component,
|
|
153
|
-
args: [{ selector: 'abp-application-form-modal',
|
|
154
|
+
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" }]
|
|
154
155
|
}], ctorParameters: function () { return [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type: i0.Injector }]; }, propDecorators: { saved: [{
|
|
155
156
|
type: Output
|
|
156
157
|
}], selected: [{
|
|
@@ -207,24 +208,24 @@ class ApplicationsComponent {
|
|
|
207
208
|
this.list.hookToQuery(query => this.service.getList(query)).subscribe(res => (this.data = res));
|
|
208
209
|
}
|
|
209
210
|
}
|
|
210
|
-
ApplicationsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
211
|
-
ApplicationsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
211
|
+
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 });
|
|
212
|
+
ApplicationsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ApplicationsComponent, selector: "abp-applications", providers: [
|
|
212
213
|
ListService,
|
|
213
214
|
{
|
|
214
215
|
provide: EXTENSIONS_IDENTIFIER,
|
|
215
|
-
useValue: "OpenIddictPro.Applications" /* Applications */,
|
|
216
|
+
useValue: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
|
|
216
217
|
},
|
|
217
|
-
], 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",
|
|
218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
218
|
+
], 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" }] });
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ApplicationsComponent, decorators: [{
|
|
219
220
|
type: Component,
|
|
220
221
|
args: [{ selector: 'abp-applications', providers: [
|
|
221
222
|
ListService,
|
|
222
223
|
{
|
|
223
224
|
provide: EXTENSIONS_IDENTIFIER,
|
|
224
|
-
useValue: "OpenIddictPro.Applications" /* Applications */,
|
|
225
|
+
useValue: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
|
|
225
226
|
},
|
|
226
227
|
], 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" }]
|
|
227
|
-
}], ctorParameters: function () { return [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type:
|
|
228
|
+
}], ctorParameters: function () { return [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type: i6.ConfirmationService }, { type: i4.ListService }]; } });
|
|
228
229
|
|
|
229
230
|
const DEFAULT_APPLICATIONS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
230
231
|
{
|
|
@@ -263,19 +264,19 @@ const DEFAULT_APPLICATIONS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
|
263
264
|
|
|
264
265
|
const DEFAULT_APPLICATIONS_ENTITY_PROPS = EntityProp.createMany([
|
|
265
266
|
{
|
|
266
|
-
type: "string" /* String */,
|
|
267
|
+
type: "string" /* ePropType.String */,
|
|
267
268
|
name: 'clientId',
|
|
268
269
|
displayName: 'AbpOpenIddict::ClientId',
|
|
269
270
|
columnWidth: 200,
|
|
270
271
|
},
|
|
271
272
|
{
|
|
272
|
-
type: "string" /* String */,
|
|
273
|
+
type: "string" /* ePropType.String */,
|
|
273
274
|
name: 'displayName',
|
|
274
275
|
displayName: 'AbpOpenIddict::DisplayName',
|
|
275
276
|
columnWidth: 200,
|
|
276
277
|
},
|
|
277
278
|
{
|
|
278
|
-
type: "string" /* String */,
|
|
279
|
+
type: "string" /* ePropType.String */,
|
|
279
280
|
name: 'type',
|
|
280
281
|
displayName: 'AbpOpenIddict::Type',
|
|
281
282
|
columnWidth: 200,
|
|
@@ -324,31 +325,46 @@ function isEmptyInputValue(value) {
|
|
|
324
325
|
return (value == null || ((typeof value === 'string' || Array.isArray(value)) && value.length === 0));
|
|
325
326
|
}
|
|
326
327
|
|
|
328
|
+
const groupLeft = {
|
|
329
|
+
name: 'left',
|
|
330
|
+
className: 'col col-md-6',
|
|
331
|
+
};
|
|
332
|
+
const groupRight = {
|
|
333
|
+
name: 'right',
|
|
334
|
+
className: 'col col-md-6',
|
|
335
|
+
};
|
|
336
|
+
const className = 'mb-1 form-group';
|
|
327
337
|
const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
328
338
|
{
|
|
329
|
-
type: "string" /* String */,
|
|
339
|
+
type: "string" /* ePropType.String */,
|
|
330
340
|
name: 'clientId',
|
|
331
341
|
displayName: 'AbpOpenIddict::ClientId',
|
|
332
342
|
id: 'clientId',
|
|
333
343
|
validators: () => [Validators.required],
|
|
344
|
+
group: groupLeft,
|
|
345
|
+
className: className,
|
|
334
346
|
},
|
|
335
347
|
{
|
|
336
|
-
type: "string" /* String */,
|
|
348
|
+
type: "string" /* ePropType.String */,
|
|
337
349
|
name: 'displayName',
|
|
338
350
|
displayName: 'AbpOpenIddict::DisplayName',
|
|
339
351
|
id: 'displayName',
|
|
340
352
|
validators: () => [Validators.required],
|
|
353
|
+
group: groupLeft,
|
|
354
|
+
className: className,
|
|
341
355
|
},
|
|
342
356
|
{
|
|
343
|
-
type: "string" /* String */,
|
|
357
|
+
type: "string" /* ePropType.String */,
|
|
344
358
|
name: 'type',
|
|
345
359
|
displayName: 'AbpOpenIddict::Type',
|
|
346
360
|
id: 'type',
|
|
347
361
|
validators: () => [Validators.required],
|
|
348
362
|
options: data => data.getInjected(ApplicationFormModalComponent).types$,
|
|
363
|
+
group: groupLeft,
|
|
364
|
+
className: className,
|
|
349
365
|
},
|
|
350
366
|
{
|
|
351
|
-
type: "string" /* String */,
|
|
367
|
+
type: "string" /* ePropType.String */,
|
|
352
368
|
name: 'clientSecret',
|
|
353
369
|
displayName: 'AbpOpenIddict::ClientSecret',
|
|
354
370
|
id: 'clientSecret',
|
|
@@ -356,57 +372,73 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
356
372
|
const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
|
|
357
373
|
return formValue.type === defaultApplicationTypes.confidential;
|
|
358
374
|
},
|
|
375
|
+
group: groupLeft,
|
|
376
|
+
className: className,
|
|
359
377
|
},
|
|
360
378
|
{
|
|
361
|
-
type: "string" /* String */,
|
|
379
|
+
type: "string" /* ePropType.String */,
|
|
362
380
|
name: 'clientUri',
|
|
363
381
|
displayName: 'AbpOpenIddict::ClientUri',
|
|
364
382
|
id: 'clientUri',
|
|
365
383
|
validators: () => [UrisValidator()],
|
|
384
|
+
group: groupLeft,
|
|
385
|
+
className: className,
|
|
366
386
|
},
|
|
367
387
|
{
|
|
368
|
-
type: "string" /* String */,
|
|
388
|
+
type: "string" /* ePropType.String */,
|
|
369
389
|
name: 'logoUri',
|
|
370
390
|
displayName: 'AbpOpenIddict::LogoUri',
|
|
371
391
|
id: 'logoUri',
|
|
392
|
+
group: groupLeft,
|
|
393
|
+
className: className,
|
|
372
394
|
},
|
|
373
395
|
{
|
|
374
|
-
type: "boolean" /* Boolean */,
|
|
396
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
375
397
|
defaultValue: false,
|
|
376
398
|
name: 'allowAuthorizationCodeFlow',
|
|
377
399
|
displayName: 'AbpOpenIddict::AllowAuthorizationCodeFlow',
|
|
378
400
|
id: 'allowAuthorizationCodeFlow',
|
|
401
|
+
group: groupRight,
|
|
402
|
+
className: className,
|
|
379
403
|
},
|
|
380
404
|
{
|
|
381
|
-
type: "boolean" /* Boolean */,
|
|
405
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
382
406
|
defaultValue: false,
|
|
383
407
|
name: 'allowImplicitFlow',
|
|
384
408
|
displayName: 'AbpOpenIddict::AllowImplicitFlow',
|
|
385
409
|
id: 'allowImplicitFlow',
|
|
410
|
+
group: groupRight,
|
|
411
|
+
className: className,
|
|
386
412
|
},
|
|
387
413
|
{
|
|
388
|
-
type: "boolean" /* Boolean */,
|
|
414
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
389
415
|
defaultValue: false,
|
|
390
416
|
name: 'allowHybridFlow',
|
|
391
417
|
displayName: 'AbpOpenIddict::AllowHybridFlow',
|
|
392
418
|
id: 'allowHybridFlow',
|
|
419
|
+
group: groupRight,
|
|
420
|
+
className: className,
|
|
393
421
|
},
|
|
394
422
|
{
|
|
395
|
-
type: "boolean" /* Boolean */,
|
|
423
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
396
424
|
defaultValue: false,
|
|
397
425
|
name: 'allowPasswordFlow',
|
|
398
426
|
displayName: 'AbpOpenIddict::AllowPasswordFlow',
|
|
399
427
|
id: 'allowPasswordFlow',
|
|
428
|
+
group: groupRight,
|
|
429
|
+
className: className,
|
|
400
430
|
},
|
|
401
431
|
{
|
|
402
|
-
type: "boolean" /* Boolean */,
|
|
432
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
403
433
|
defaultValue: false,
|
|
404
434
|
name: 'allowClientCredentialsFlow',
|
|
405
435
|
displayName: 'AbpOpenIddict::AllowClientCredentialsFlow',
|
|
406
436
|
id: 'allowClientCredentialsFlow',
|
|
437
|
+
group: groupRight,
|
|
438
|
+
className: className,
|
|
407
439
|
},
|
|
408
440
|
{
|
|
409
|
-
type: "boolean" /* Boolean */,
|
|
441
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
410
442
|
defaultValue: false,
|
|
411
443
|
name: 'allowRefreshTokenFlow',
|
|
412
444
|
displayName: 'AbpOpenIddict::AllowRefreshTokenFlow',
|
|
@@ -417,16 +449,20 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
417
449
|
return !(allowHybridFlow || allowAuthorizationCodeFlow || allowPasswordFlow);
|
|
418
450
|
},
|
|
419
451
|
id: 'allowRefreshTokenFlow',
|
|
452
|
+
group: groupRight,
|
|
453
|
+
className: className,
|
|
420
454
|
},
|
|
421
455
|
{
|
|
422
|
-
type: "boolean" /* Boolean */,
|
|
456
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
423
457
|
defaultValue: false,
|
|
424
458
|
name: 'allowDeviceEndpoint',
|
|
425
459
|
displayName: 'AbpOpenIddict::AllowDeviceEndpoint',
|
|
426
460
|
id: 'allowDeviceEndpoint',
|
|
461
|
+
group: groupRight,
|
|
462
|
+
className: className,
|
|
427
463
|
},
|
|
428
464
|
{
|
|
429
|
-
type: "string" /* String */,
|
|
465
|
+
type: "string" /* ePropType.String */,
|
|
430
466
|
name: 'consentType',
|
|
431
467
|
displayName: 'AbpOpenIddict::ConsentType',
|
|
432
468
|
id: 'consentType',
|
|
@@ -435,9 +471,11 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
435
471
|
const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
|
|
436
472
|
return allowFlow(formValue);
|
|
437
473
|
},
|
|
474
|
+
group: groupRight,
|
|
475
|
+
className: className,
|
|
438
476
|
},
|
|
439
477
|
{
|
|
440
|
-
type: "multiselect" /* MultiSelect */,
|
|
478
|
+
type: "multiselect" /* ePropType.MultiSelect */,
|
|
441
479
|
name: 'scopes',
|
|
442
480
|
displayName: 'AbpOpenIddict::Scopes',
|
|
443
481
|
id: 'scopes',
|
|
@@ -445,14 +483,16 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
445
483
|
return data
|
|
446
484
|
.getInjected(ScopeService)
|
|
447
485
|
.getAllScopes()
|
|
448
|
-
.pipe(map(result => result.map(scope => ({
|
|
486
|
+
.pipe(map((result) => result.map(scope => ({
|
|
449
487
|
key: scope.displayName,
|
|
450
488
|
value: scope.name,
|
|
451
489
|
}))));
|
|
452
490
|
},
|
|
491
|
+
group: groupRight,
|
|
492
|
+
className: className,
|
|
453
493
|
},
|
|
454
494
|
{
|
|
455
|
-
type: "text" /* Text */,
|
|
495
|
+
type: "text" /* ePropType.Text */,
|
|
456
496
|
name: 'redirectUris',
|
|
457
497
|
displayName: 'AbpOpenIddict::RedirectUris',
|
|
458
498
|
id: 'redirectUris',
|
|
@@ -461,9 +501,11 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
461
501
|
const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
|
|
462
502
|
return allowFlow(formValue);
|
|
463
503
|
},
|
|
504
|
+
group: groupRight,
|
|
505
|
+
className: className,
|
|
464
506
|
},
|
|
465
507
|
{
|
|
466
|
-
type: "boolean" /* Boolean */,
|
|
508
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
467
509
|
defaultValue: false,
|
|
468
510
|
name: 'allowLogoutEndpoint',
|
|
469
511
|
displayName: 'AbpOpenIddict::AllowLogoutEndpoint',
|
|
@@ -472,9 +514,11 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
472
514
|
const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
|
|
473
515
|
return allowFlow(formValue);
|
|
474
516
|
},
|
|
517
|
+
group: groupRight,
|
|
518
|
+
className: className,
|
|
475
519
|
},
|
|
476
520
|
{
|
|
477
|
-
type: "text" /* Text */,
|
|
521
|
+
type: "text" /* ePropType.Text */,
|
|
478
522
|
name: 'postLogoutRedirectUris',
|
|
479
523
|
displayName: 'AbpOpenIddict::PostLogoutRedirectUris',
|
|
480
524
|
id: 'postLogoutRedirectUris',
|
|
@@ -485,33 +529,37 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
485
529
|
.getFormValue();
|
|
486
530
|
return allowLogoutEndpoint;
|
|
487
531
|
},
|
|
532
|
+
group: groupRight,
|
|
533
|
+
className: className,
|
|
488
534
|
},
|
|
489
535
|
]);
|
|
490
536
|
const DEFAULT_APPLICATIONS_FORM_PROPS = DEFAULT_APPLICATIONS_CREATE_FORM_PROPS.concat(FormProp.createMany([
|
|
491
537
|
{
|
|
492
|
-
type: "boolean" /* Boolean */,
|
|
538
|
+
type: "boolean" /* ePropType.Boolean */,
|
|
493
539
|
name: 'enabled',
|
|
494
|
-
displayName: '
|
|
540
|
+
displayName: 'AbpOpenIddict::Enabled',
|
|
495
541
|
id: 'enabled',
|
|
496
542
|
defaultValue: false,
|
|
543
|
+
group: groupRight,
|
|
544
|
+
className: className,
|
|
497
545
|
},
|
|
498
546
|
]));
|
|
499
547
|
|
|
500
548
|
const DEFAULT_SCOPES_ENTITY_PROPS = EntityProp.createMany([
|
|
501
549
|
{
|
|
502
|
-
type: "string" /* String */,
|
|
550
|
+
type: "string" /* ePropType.String */,
|
|
503
551
|
name: 'name',
|
|
504
552
|
displayName: 'AbpOpenIddict::Name',
|
|
505
553
|
columnWidth: 200,
|
|
506
554
|
},
|
|
507
555
|
{
|
|
508
|
-
type: "string" /* String */,
|
|
556
|
+
type: "string" /* ePropType.String */,
|
|
509
557
|
name: 'displayName',
|
|
510
558
|
displayName: 'AbpOpenIddict::DisplayName',
|
|
511
559
|
columnWidth: 200,
|
|
512
560
|
},
|
|
513
561
|
{
|
|
514
|
-
type: "string" /* String */,
|
|
562
|
+
type: "string" /* ePropType.String */,
|
|
515
563
|
name: 'description',
|
|
516
564
|
displayName: 'AbpOpenIddict::Description',
|
|
517
565
|
columnWidth: 200,
|
|
@@ -573,9 +621,9 @@ class ScopeFormModalComponent {
|
|
|
573
621
|
this.form = generateFormFromProps(data);
|
|
574
622
|
}
|
|
575
623
|
}
|
|
576
|
-
ScopeFormModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
577
|
-
ScopeFormModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
624
|
+
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 });
|
|
625
|
+
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" }] });
|
|
626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ScopeFormModalComponent, decorators: [{
|
|
579
627
|
type: Component,
|
|
580
628
|
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" }]
|
|
581
629
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: ScopesService }, { type: i1.ScopeService }]; }, propDecorators: { selected: [{
|
|
@@ -624,24 +672,24 @@ class ScopesComponent {
|
|
|
624
672
|
this.list.get();
|
|
625
673
|
}
|
|
626
674
|
}
|
|
627
|
-
ScopesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
628
|
-
ScopesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
675
|
+
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 });
|
|
676
|
+
ScopesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ScopesComponent, selector: "abp-scopes", providers: [
|
|
629
677
|
ListService,
|
|
630
678
|
{
|
|
631
679
|
provide: EXTENSIONS_IDENTIFIER,
|
|
632
|
-
useValue: "OpenIddictPro.Scopes" /* Scopes */,
|
|
680
|
+
useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
|
|
633
681
|
},
|
|
634
|
-
], 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",
|
|
635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
682
|
+
], 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" }] });
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ScopesComponent, decorators: [{
|
|
636
684
|
type: Component,
|
|
637
|
-
args: [{ selector: 'abp-scopes',
|
|
685
|
+
args: [{ selector: 'abp-scopes', providers: [
|
|
638
686
|
ListService,
|
|
639
687
|
{
|
|
640
688
|
provide: EXTENSIONS_IDENTIFIER,
|
|
641
|
-
useValue: "OpenIddictPro.Scopes" /* Scopes */,
|
|
689
|
+
useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
|
|
642
690
|
},
|
|
643
691
|
], 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" }]
|
|
644
|
-
}], ctorParameters: function () { return [{ type: i4
|
|
692
|
+
}], ctorParameters: function () { return [{ type: i4.ListService }, { type: i1.ScopeService }, { type: ScopesService }, { type: i6.ConfirmationService }]; } });
|
|
645
693
|
|
|
646
694
|
const DEFAULT_SCOPES_TOOLBAR_ACTIONS = ToolbarAction.createMany([
|
|
647
695
|
{
|
|
@@ -657,26 +705,26 @@ const DEFAULT_SCOPES_TOOLBAR_ACTIONS = ToolbarAction.createMany([
|
|
|
657
705
|
|
|
658
706
|
const DEFAULT_SCOPE_CREATE_FORM_PROPS = FormProp.createMany([
|
|
659
707
|
{
|
|
660
|
-
type: "string" /* String */,
|
|
708
|
+
type: "string" /* ePropType.String */,
|
|
661
709
|
name: 'name',
|
|
662
710
|
displayName: 'AbpOpenIddict::Name',
|
|
663
711
|
id: 'name',
|
|
664
712
|
validators: () => [Validators.required, Validators.pattern(/^\S+$/)],
|
|
665
713
|
},
|
|
666
714
|
{
|
|
667
|
-
type: "string" /* String */,
|
|
715
|
+
type: "string" /* ePropType.String */,
|
|
668
716
|
name: 'displayName',
|
|
669
717
|
displayName: 'AbpOpenIddict::DisplayName',
|
|
670
718
|
id: 'displayName',
|
|
671
719
|
},
|
|
672
720
|
{
|
|
673
|
-
type: "string" /* String */,
|
|
721
|
+
type: "string" /* ePropType.String */,
|
|
674
722
|
name: 'description',
|
|
675
723
|
displayName: 'AbpOpenIddict::Description',
|
|
676
724
|
id: 'description',
|
|
677
725
|
},
|
|
678
726
|
{
|
|
679
|
-
type: "text" /* Text */,
|
|
727
|
+
type: "text" /* ePropType.Text */,
|
|
680
728
|
name: 'resources',
|
|
681
729
|
displayName: 'AbpOpenIddict::Resources',
|
|
682
730
|
id: 'resources',
|
|
@@ -713,24 +761,24 @@ const DEFAULT_SCOPE_ENTITY_ACTIONS = EntityAction.createMany([
|
|
|
713
761
|
]);
|
|
714
762
|
|
|
715
763
|
const DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS = {
|
|
716
|
-
["OpenIddictPro.Applications" /* Applications */]: DEFAULT_APPLICATIONS_ENTITY_ACTIONS,
|
|
717
|
-
["OpenIddictPro.Scopes" /* Scopes */]: DEFAULT_SCOPE_ENTITY_ACTIONS,
|
|
764
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_ENTITY_ACTIONS,
|
|
765
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPE_ENTITY_ACTIONS,
|
|
718
766
|
};
|
|
719
767
|
const DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS = {
|
|
720
|
-
["OpenIddictPro.Applications" /* Applications */]: DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS,
|
|
721
|
-
["OpenIddictPro.Scopes" /* Scopes */]: DEFAULT_SCOPES_TOOLBAR_ACTIONS,
|
|
768
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS,
|
|
769
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPES_TOOLBAR_ACTIONS,
|
|
722
770
|
};
|
|
723
771
|
const DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS = {
|
|
724
|
-
["OpenIddictPro.Applications" /* Applications */]: DEFAULT_APPLICATIONS_ENTITY_PROPS,
|
|
725
|
-
["OpenIddictPro.Scopes" /* Scopes */]: DEFAULT_SCOPES_ENTITY_PROPS,
|
|
772
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_ENTITY_PROPS,
|
|
773
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPES_ENTITY_PROPS,
|
|
726
774
|
};
|
|
727
775
|
const DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS = {
|
|
728
|
-
["OpenIddictPro.Applications" /* Applications */]: DEFAULT_APPLICATIONS_CREATE_FORM_PROPS,
|
|
729
|
-
["OpenIddictPro.Scopes" /* Scopes */]: DEFAULT_SCOPE_CREATE_FORM_PROPS,
|
|
776
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_CREATE_FORM_PROPS,
|
|
777
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPE_CREATE_FORM_PROPS,
|
|
730
778
|
};
|
|
731
779
|
const DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS = {
|
|
732
|
-
["OpenIddictPro.Applications" /* Applications */]: DEFAULT_APPLICATIONS_FORM_PROPS,
|
|
733
|
-
["OpenIddictPro.Scopes" /* Scopes */]: DEFAULT_SCOPES_FORM_PROPS,
|
|
780
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_FORM_PROPS,
|
|
781
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPES_FORM_PROPS,
|
|
734
782
|
};
|
|
735
783
|
const OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS = new InjectionToken('OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS');
|
|
736
784
|
const OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS = new InjectionToken('OPENIDDICT_PRO__TOOLBAR_ACTION_CONTRIBUTORS');
|
|
@@ -752,8 +800,8 @@ class OpenIddictProExtensionsGuard {
|
|
|
752
800
|
const configState = this.injector.get(ConfigStateService);
|
|
753
801
|
return getObjectExtensionEntitiesFromStore(configState, 'OpenIddictPro').pipe(map(entities => {
|
|
754
802
|
return {
|
|
755
|
-
["OpenIddictPro.Applications" /* Applications */]: entities.ApiResource,
|
|
756
|
-
["OpenIddictPro.Scopes" /* Scopes */]: entities.Scopes,
|
|
803
|
+
["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: entities.ApiResource,
|
|
804
|
+
["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: entities.Scopes,
|
|
757
805
|
};
|
|
758
806
|
}), mapEntitiesToContributors(configState, 'AbpOpenIddictPro'), tap(objectExtensionContributors => {
|
|
759
807
|
mergeWithDefaultActions(extensions.entityActions, DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS, actionContributors);
|
|
@@ -764,9 +812,9 @@ class OpenIddictProExtensionsGuard {
|
|
|
764
812
|
}), mapTo(true));
|
|
765
813
|
}
|
|
766
814
|
}
|
|
767
|
-
OpenIddictProExtensionsGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
768
|
-
OpenIddictProExtensionsGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
769
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
815
|
+
OpenIddictProExtensionsGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpenIddictProExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
816
|
+
OpenIddictProExtensionsGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpenIddictProExtensionsGuard });
|
|
817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpenIddictProExtensionsGuard, decorators: [{
|
|
770
818
|
type: Injectable
|
|
771
819
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
772
820
|
|
|
@@ -783,7 +831,7 @@ const routes = [
|
|
|
783
831
|
data: {
|
|
784
832
|
requiredPolicy: 'OpenIddictPro.Application',
|
|
785
833
|
replaceableComponent: {
|
|
786
|
-
key: "OpenIddictPro.Applications" /* Applications */,
|
|
834
|
+
key: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
|
|
787
835
|
defaultComponent: ApplicationsComponent,
|
|
788
836
|
},
|
|
789
837
|
},
|
|
@@ -794,7 +842,7 @@ const routes = [
|
|
|
794
842
|
data: {
|
|
795
843
|
requiredPolicy: 'OpenIddictPro.Scopes',
|
|
796
844
|
replaceableComponent: {
|
|
797
|
-
key: "OpenIddictPro.Scopes" /* Scopes */,
|
|
845
|
+
key: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
|
|
798
846
|
defaultComponent: ScopesComponent,
|
|
799
847
|
},
|
|
800
848
|
},
|
|
@@ -804,10 +852,10 @@ const routes = [
|
|
|
804
852
|
];
|
|
805
853
|
class OpeniddictproRoutingModule {
|
|
806
854
|
}
|
|
807
|
-
OpeniddictproRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
808
|
-
OpeniddictproRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
809
|
-
OpeniddictproRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
855
|
+
OpeniddictproRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
856
|
+
OpeniddictproRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] });
|
|
857
|
+
OpeniddictproRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproRoutingModule, decorators: [{
|
|
811
859
|
type: NgModule,
|
|
812
860
|
args: [{
|
|
813
861
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -856,8 +904,8 @@ class OpeniddictproModule {
|
|
|
856
904
|
return new LazyModuleFactory(OpeniddictproModule.forChild(options));
|
|
857
905
|
}
|
|
858
906
|
}
|
|
859
|
-
OpeniddictproModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
860
|
-
OpeniddictproModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
907
|
+
OpeniddictproModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
908
|
+
OpeniddictproModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproModule, declarations: [ApplicationsComponent,
|
|
861
909
|
ApplicationFormModalComponent,
|
|
862
910
|
ScopesComponent,
|
|
863
911
|
ScopeFormModalComponent], imports: [OpeniddictproRoutingModule,
|
|
@@ -872,18 +920,16 @@ OpeniddictproModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
872
920
|
ApplicationFormModalComponent,
|
|
873
921
|
ScopesComponent,
|
|
874
922
|
ScopeFormModalComponent] });
|
|
875
|
-
OpeniddictproModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
]] });
|
|
886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: OpeniddictproModule, decorators: [{
|
|
923
|
+
OpeniddictproModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproModule, imports: [OpeniddictproRoutingModule,
|
|
924
|
+
CoreModule,
|
|
925
|
+
CommercialUiModule,
|
|
926
|
+
ThemeSharedModule,
|
|
927
|
+
NgbDropdownModule,
|
|
928
|
+
NgxValidateCoreModule,
|
|
929
|
+
PageModule,
|
|
930
|
+
AdvancedEntityFiltersModule,
|
|
931
|
+
PermissionManagementModule] });
|
|
932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: OpeniddictproModule, decorators: [{
|
|
887
933
|
type: NgModule,
|
|
888
934
|
args: [{
|
|
889
935
|
imports: [
|