@volo/abp.ng.openiddictpro 9.0.3 → 9.1.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/providers/route.provider.d.ts +2 -8
- package/fesm2022/volo-abp.ng.openiddictpro-config.mjs +37 -36
- package/fesm2022/volo-abp.ng.openiddictpro-config.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs +6 -6
- package/fesm2022/volo-abp.ng.openiddictpro.mjs +41 -41
- package/fesm2022/volo-abp.ng.openiddictpro.mjs.map +1 -1
- package/package.json +5 -11
- package/proxy/lib/proxy/applications/dtos/models.d.ts +4 -4
- package/esm2022/config/enums/index.mjs +0 -3
- package/esm2022/config/enums/policy-names.mjs +0 -2
- package/esm2022/config/enums/route-names.mjs +0 -2
- package/esm2022/config/openiddictpro-config.module.mjs +0 -21
- package/esm2022/config/providers/index.mjs +0 -3
- package/esm2022/config/providers/openiddictpro-config.provider.mjs +0 -6
- package/esm2022/config/providers/route.provider.mjs +0 -37
- package/esm2022/config/public-api.mjs +0 -4
- package/esm2022/config/volo-abp.ng.openiddictpro-config.mjs +0 -5
- package/esm2022/lib/components/application-form-modal/application-form-modal.component.mjs +0 -115
- package/esm2022/lib/components/applications/applications.component.mjs +0 -91
- package/esm2022/lib/components/index.mjs +0 -7
- package/esm2022/lib/components/scope-form-modal/scope-form-modal.component.mjs +0 -68
- package/esm2022/lib/components/scopes/allow-flow.mjs +0 -4
- package/esm2022/lib/components/scopes/scopes.component.mjs +0 -75
- package/esm2022/lib/components/token-lifetime-modal/token-lifetime-modal.component.mjs +0 -71
- package/esm2022/lib/defaults/default-applications-consent-type.mjs +0 -19
- package/esm2022/lib/defaults/default-applications-entity-actions.mjs +0 -46
- package/esm2022/lib/defaults/default-applications-entity-props.mjs +0 -28
- package/esm2022/lib/defaults/default-applications-form-props.mjs +0 -261
- package/esm2022/lib/defaults/default-applications-toolbar-actions.mjs +0 -14
- package/esm2022/lib/defaults/default-applications-types.mjs +0 -25
- package/esm2022/lib/defaults/default-scope-entity-actions.mjs +0 -31
- package/esm2022/lib/defaults/default-scope-entity-props.mjs +0 -22
- package/esm2022/lib/defaults/default-scope-form-props.mjs +0 -31
- package/esm2022/lib/defaults/default-scope-toolbar-actions.mjs +0 -14
- package/esm2022/lib/defaults/default-uri-pattern.mjs +0 -2
- package/esm2022/lib/defaults/index.mjs +0 -12
- package/esm2022/lib/enums/components.mjs +0 -2
- package/esm2022/lib/enums/index.mjs +0 -2
- package/esm2022/lib/guards/extensions.guard.mjs +0 -39
- package/esm2022/lib/guards/index.mjs +0 -2
- package/esm2022/lib/models/applications-service-state.mjs +0 -2
- package/esm2022/lib/models/config-options.mjs +0 -2
- package/esm2022/lib/models/index.mjs +0 -4
- package/esm2022/lib/models/scopes-service-state.mjs +0 -2
- package/esm2022/lib/openiddictpro-routing.module.mjs +0 -56
- package/esm2022/lib/openiddictpro.module.mjs +0 -111
- package/esm2022/lib/resolvers/extensions.resolver.mjs +0 -26
- package/esm2022/lib/services/applications.service.mjs +0 -25
- package/esm2022/lib/services/index.mjs +0 -3
- package/esm2022/lib/services/scopes.service.mjs +0 -14
- package/esm2022/lib/tokens/extensions.token.mjs +0 -35
- package/esm2022/lib/tokens/index.mjs +0 -2
- package/esm2022/lib/utils/hashset-parser.mjs +0 -15
- package/esm2022/lib/utils/index.mjs +0 -3
- package/esm2022/lib/utils/new-line-regex.mjs +0 -2
- package/esm2022/lib/utils/uris-validator.mjs +0 -24
- package/esm2022/proxy/lib/proxy/application.service.mjs +0 -57
- package/esm2022/proxy/lib/proxy/applications/dtos/index.mjs +0 -2
- package/esm2022/proxy/lib/proxy/applications/dtos/models.mjs +0 -2
- package/esm2022/proxy/lib/proxy/applications/index.mjs +0 -3
- package/esm2022/proxy/lib/proxy/index.mjs +0 -6
- package/esm2022/proxy/lib/proxy/scope.service.mjs +0 -52
- package/esm2022/proxy/lib/proxy/scopes/dtos/index.mjs +0 -2
- package/esm2022/proxy/lib/proxy/scopes/dtos/models.mjs +0 -2
- package/esm2022/proxy/lib/proxy/scopes/index.mjs +0 -3
- package/esm2022/proxy/public-api.mjs +0 -2
- package/esm2022/proxy/volo-abp.ng.openiddictpro-proxy.mjs +0 -5
- package/esm2022/public-api.mjs +0 -9
- package/esm2022/volo-abp.ng.openiddictpro.mjs +0 -5
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare
|
|
3
|
-
provide: import("@angular/core").InjectionToken<readonly (() => import("rxjs").Observable<unknown> | Promise<unknown> | void)[]>;
|
|
4
|
-
useFactory: typeof configureRoutes;
|
|
5
|
-
deps: (typeof RoutesService)[];
|
|
6
|
-
multi: boolean;
|
|
7
|
-
}[];
|
|
8
|
-
export declare function configureRoutes(routes: RoutesService): () => void;
|
|
1
|
+
export declare const OPENIDDICT_ROUTE_PROVIDERS: import("@angular/core").EnvironmentProviders[];
|
|
2
|
+
export declare function configureRoutes(): void;
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { provideAppInitializer, inject, makeEnvironmentProviders, NgModule } from '@angular/core';
|
|
3
3
|
import { RoutesService } from '@abp/ng.core';
|
|
4
4
|
|
|
5
5
|
const OPENIDDICT_ROUTE_PROVIDERS = [
|
|
6
|
-
|
|
6
|
+
provideAppInitializer(() => {
|
|
7
|
+
configureRoutes();
|
|
8
|
+
}),
|
|
7
9
|
];
|
|
8
|
-
function configureRoutes(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
};
|
|
10
|
+
function configureRoutes() {
|
|
11
|
+
const routes = inject(RoutesService);
|
|
12
|
+
routes.add([
|
|
13
|
+
{
|
|
14
|
+
name: "AbpOpenIddict::Menu:OpenIddict" /* eOpenIddictProRouteNames.Default */,
|
|
15
|
+
path: '/openiddict',
|
|
16
|
+
parentName: "AbpUiNavigation::Menu:Administration" /* eThemeSharedRouteNames.Administration */,
|
|
17
|
+
layout: "application" /* eLayoutType.application */,
|
|
18
|
+
iconClass: 'fa fa-id-badge',
|
|
19
|
+
order: 3,
|
|
20
|
+
requiredPolicy: "OpenIddictPro.Application" /* eOpenIddictProPolicyNames.default */,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "AbpOpenIddict::Applications" /* eOpenIddictProRouteNames.Applications */,
|
|
24
|
+
path: '/openiddict/Applications',
|
|
25
|
+
parentName: "AbpOpenIddict::Menu:OpenIddict" /* eOpenIddictProRouteNames.Default */,
|
|
26
|
+
layout: "application" /* eLayoutType.application */,
|
|
27
|
+
order: 1,
|
|
28
|
+
requiredPolicy: "OpenIddictPro.Application" /* eOpenIddictProPolicyNames.application */,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: "AbpOpenIddict::Scopes" /* eOpenIddictProRouteNames.Scopes */,
|
|
32
|
+
path: '/openiddict/Scopes',
|
|
33
|
+
parentName: "AbpOpenIddict::Menu:OpenIddict" /* eOpenIddictProRouteNames.Default */,
|
|
34
|
+
layout: "application" /* eLayoutType.application */,
|
|
35
|
+
order: 2,
|
|
36
|
+
requiredPolicy: "OpenIddictPro.Scope" /* eOpenIddictProPolicyNames.scope */,
|
|
37
|
+
},
|
|
38
|
+
]);
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
function provideOpeniddictproConfig() {
|
|
@@ -51,11 +52,11 @@ class OpeniddictproConfigModule {
|
|
|
51
52
|
providers: [provideOpeniddictproConfig()],
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
55
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
56
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
56
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproConfigModule }); }
|
|
57
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproConfigModule }); }
|
|
57
58
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproConfigModule, decorators: [{
|
|
59
60
|
type: NgModule
|
|
60
61
|
}] });
|
|
61
62
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volo-abp.ng.openiddictpro-config.mjs","sources":["../../../../packages/openiddictpro/config/src/providers/route.provider.ts","../../../../packages/openiddictpro/config/src/providers/openiddictpro-config.provider.ts","../../../../packages/openiddictpro/config/src/openiddictpro-config.module.ts","../../../../packages/openiddictpro/config/src/volo-abp.ng.openiddictpro-config.ts"],"sourcesContent":["import { eLayoutType, RoutesService } from '@abp/ng.core';\r\nimport { eThemeSharedRouteNames } from '@abp/ng.theme.shared';\r\nimport {
|
|
1
|
+
{"version":3,"file":"volo-abp.ng.openiddictpro-config.mjs","sources":["../../../../packages/openiddictpro/config/src/providers/route.provider.ts","../../../../packages/openiddictpro/config/src/providers/openiddictpro-config.provider.ts","../../../../packages/openiddictpro/config/src/openiddictpro-config.module.ts","../../../../packages/openiddictpro/config/src/volo-abp.ng.openiddictpro-config.ts"],"sourcesContent":["import { eLayoutType, RoutesService } from '@abp/ng.core';\r\nimport { eThemeSharedRouteNames } from '@abp/ng.theme.shared';\r\nimport { inject, provideAppInitializer } from '@angular/core';\r\nimport { eOpenIddictProPolicyNames } from '../enums/policy-names';\r\nimport { eOpenIddictProRouteNames } from '../enums/route-names';\r\n\r\nexport const OPENIDDICT_ROUTE_PROVIDERS = [\r\n provideAppInitializer(() => {\r\n configureRoutes();\r\n }),\r\n];\r\n\r\nexport function configureRoutes() {\r\n const routes = inject(RoutesService);\r\n routes.add([\r\n {\r\n name: eOpenIddictProRouteNames.Default,\r\n path: '/openiddict',\r\n parentName: eThemeSharedRouteNames.Administration,\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-badge',\r\n order: 3,\r\n requiredPolicy: eOpenIddictProPolicyNames.default,\r\n },\r\n {\r\n name: eOpenIddictProRouteNames.Applications,\r\n path: '/openiddict/Applications',\r\n parentName: eOpenIddictProRouteNames.Default,\r\n layout: eLayoutType.application,\r\n order: 1,\r\n requiredPolicy: eOpenIddictProPolicyNames.application,\r\n },\r\n {\r\n name: eOpenIddictProRouteNames.Scopes,\r\n path: '/openiddict/Scopes',\r\n parentName: eOpenIddictProRouteNames.Default,\r\n layout: eLayoutType.application,\r\n order: 2,\r\n requiredPolicy: eOpenIddictProPolicyNames.scope,\r\n },\r\n ]);\r\n}\r\n","import { makeEnvironmentProviders } from '@angular/core';\r\nimport { OPENIDDICT_ROUTE_PROVIDERS } from './';\r\n\r\nexport function provideOpeniddictproConfig() {\r\n return makeEnvironmentProviders([OPENIDDICT_ROUTE_PROVIDERS]);\r\n}\r\n","import { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { provideOpeniddictproConfig } from './providers';\r\n\r\n/**\r\n * @deprecated OpeniddictproConfigModule is deprecated use `provideOpeniddictproConfig` *function* instead.\r\n */\r\n@NgModule()\r\nexport class OpeniddictproConfigModule {\r\n static forRoot(): ModuleWithProviders<OpeniddictproConfigModule> {\r\n return {\r\n ngModule: OpeniddictproConfigModule,\r\n providers: [provideOpeniddictproConfig()],\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAMa,MAAA,0BAA0B,GAAG;IACxC,qBAAqB,CAAC,MAAK;AACzB,QAAA,eAAe,EAAE;AACnB,KAAC,CAAC;;SAGY,eAAe,GAAA;AAC7B,IAAA,MAAM,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;IACpC,MAAM,CAAC,GAAG,CAAC;AACT,QAAA;AACE,YAAA,IAAI,EAAkC,gCAAA;AACtC,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,UAAU,EAAuC,sCAAA;AACjD,YAAA,MAAM,EAAyB,aAAA;AAC/B,YAAA,SAAS,EAAE,gBAAgB;AAC3B,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,cAAc,EAAmC,2BAAA;AAClD,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAuC,6BAAA;AAC3C,YAAA,IAAI,EAAE,0BAA0B;AAChC,YAAA,UAAU,EAAkC,gCAAA;AAC5C,YAAA,MAAM,EAAyB,aAAA;AAC/B,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,cAAc,EAAuC,2BAAA;AACtD,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAiC,uBAAA;AACrC,YAAA,IAAI,EAAE,oBAAoB;AAC1B,YAAA,UAAU,EAAkC,gCAAA;AAC5C,YAAA,MAAM,EAAyB,aAAA;AAC/B,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,cAAc,EAAiC,qBAAA;AAChD,SAAA;AACF,KAAA,CAAC;AACJ;;SCtCgB,0BAA0B,GAAA;AACxC,IAAA,OAAO,wBAAwB,CAAC,CAAC,0BAA0B,CAAC,CAAC;AAC/D;;ACFA;;AAEG;MAEU,yBAAyB,CAAA;AACpC,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,yBAAyB;AACnC,YAAA,SAAS,EAAE,CAAC,0BAA0B,EAAE,CAAC;SAC1C;;8GALQ,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAzB,yBAAyB,EAAA,CAAA,CAAA;+GAAzB,yBAAyB,EAAA,CAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC;;;ACND;;AAEG;;;;"}
|
|
@@ -63,10 +63,10 @@ class ApplicationService {
|
|
|
63
63
|
body: input,
|
|
64
64
|
}, { apiName: this.apiName, ...config });
|
|
65
65
|
}
|
|
66
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
67
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ApplicationService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
67
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ApplicationService, providedIn: 'root' }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ApplicationService, decorators: [{
|
|
70
70
|
type: Injectable,
|
|
71
71
|
args: [{
|
|
72
72
|
providedIn: 'root',
|
|
@@ -111,10 +111,10 @@ class ScopeService {
|
|
|
111
111
|
body: input,
|
|
112
112
|
}, { apiName: this.apiName, ...config });
|
|
113
113
|
}
|
|
114
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
115
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ScopeService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
115
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ScopeService, providedIn: 'root' }); }
|
|
116
116
|
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ScopeService, decorators: [{
|
|
118
118
|
type: Injectable,
|
|
119
119
|
args: [{
|
|
120
120
|
providedIn: 'root',
|
|
@@ -8,7 +8,7 @@ import { ApplicationService, ScopeService } from '@volo/abp.ng.openiddictpro/pro
|
|
|
8
8
|
import * as i5 from '@abp/ng.theme.shared';
|
|
9
9
|
import { ToasterService, ThemeSharedModule, ConfirmationService, Confirmation } from '@abp/ng.theme.shared';
|
|
10
10
|
import * as i3$1 from '@abp/ng.components/extensible';
|
|
11
|
-
import {
|
|
11
|
+
import { FormPropData, generateFormFromProps, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, FormProp, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, ExtensibleFormComponent, ExtensibleTableComponent } from '@abp/ng.components/extensible';
|
|
12
12
|
import { finalize, of, filter, switchMap, map as map$1, tap } from 'rxjs';
|
|
13
13
|
import * as i3$2 from '@volo/abp.commercial.ng.ui';
|
|
14
14
|
import { SHOW_ENTITY_HISTORY, CommercialUiModule, AdvancedEntityFiltersModule } from '@volo/abp.commercial.ng.ui';
|
|
@@ -106,12 +106,12 @@ class TokenLifetimeModalComponent {
|
|
|
106
106
|
this.form.patchValue(x);
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
110
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
109
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: TokenLifetimeModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
110
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: TokenLifetimeModalComponent, isStandalone: true, selector: "abp-token-lifetime-modal", inputs: { selected: "selected" }, outputs: { saved: "saved" }, ngImport: i0, template: "<abp-modal [visible]=\"true\" (visibleChange)=\"visibleChange($event)\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpOpenIddict::TokenLifetime' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <medium>\r\n <p class=\"mb-3\">\r\n {{ 'AbpOpenIddict::TokenLifetimeHit' | abpLocalization }}\r\n </p>\r\n </medium>\r\n\r\n <form [formGroup]=\"form\" id=\"applicationForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"accessTokenLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::AccessTokenLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"accessTokenLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"accessTokenLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"authorizationCodeLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::AuthorizationCodeLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"authorizationCodeLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"authorizationCodeLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"deviceCodeLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::DeviceCodeLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"deviceCodeLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"deviceCodeLifetime\"\r\n />\r\n </div>\r\n\r\n <div class=\"form-group mb-3\">\r\n <label for=\"identityTokenLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::IdentityTokenLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"identityTokenLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"identityTokenLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"refreshTokenLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::RefreshTokenLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"refreshTokenLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"refreshTokenLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group\">\r\n <label for=\"userCodeLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::UserCodeLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"userCodeLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"userCodeLifetime\"\r\n />\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-outline-primary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n iconClass=\"fa fa-check\"\r\n buttonType=\"submit\"\r\n [disabled]=\"loading()\"\r\n formName=\"applicationForm\"\r\n >{{ 'AbpOpenIddict::Save' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i1.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i5.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i5.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i5.ModalCloseDirective, selector: "[abpClose]" }, { kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }, { kind: "directive", type: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }] }); }
|
|
111
111
|
}
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: TokenLifetimeModalComponent, decorators: [{
|
|
113
113
|
type: Component,
|
|
114
|
-
args: [{ selector: 'abp-token-lifetime-modal',
|
|
114
|
+
args: [{ selector: 'abp-token-lifetime-modal', imports: [CommonModule, ThemeSharedModule, CoreModule], template: "<abp-modal [visible]=\"true\" (visibleChange)=\"visibleChange($event)\">\r\n <ng-template #abpHeader>\r\n <h3>{{ 'AbpOpenIddict::TokenLifetime' | abpLocalization }}</h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <medium>\r\n <p class=\"mb-3\">\r\n {{ 'AbpOpenIddict::TokenLifetimeHit' | abpLocalization }}\r\n </p>\r\n </medium>\r\n\r\n <form [formGroup]=\"form\" id=\"applicationForm\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"accessTokenLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::AccessTokenLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"accessTokenLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"accessTokenLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"authorizationCodeLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::AuthorizationCodeLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"authorizationCodeLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"authorizationCodeLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"deviceCodeLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::DeviceCodeLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"deviceCodeLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"deviceCodeLifetime\"\r\n />\r\n </div>\r\n\r\n <div class=\"form-group mb-3\">\r\n <label for=\"identityTokenLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::IdentityTokenLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"identityTokenLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"identityTokenLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group mb-3\">\r\n <label for=\"refreshTokenLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::RefreshTokenLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"refreshTokenLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"refreshTokenLifetime\"\r\n />\r\n </div>\r\n <div class=\"form-group\">\r\n <label for=\"userCodeLifetime\" class=\"form-label\">\r\n {{ 'AbpOpenIddict::UserCodeLifetime' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"userCodeLifetime\"\r\n class=\"form-control\"\r\n formControlName=\"userCodeLifetime\"\r\n />\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-outline-primary\" abpClose>\r\n {{ 'AbpOpenIddict::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n iconClass=\"fa fa-check\"\r\n buttonType=\"submit\"\r\n [disabled]=\"loading()\"\r\n formName=\"applicationForm\"\r\n >{{ 'AbpOpenIddict::Save' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
115
115
|
}], propDecorators: { selected: [{
|
|
116
116
|
type: Input
|
|
117
117
|
}], saved: [{
|
|
@@ -246,7 +246,7 @@ class ApplicationFormModalComponent {
|
|
|
246
246
|
this.formValueChanges$ = this.subscription.addOne(formType.valueChanges, value => {
|
|
247
247
|
if (value == defaultApplicationTypes.public) {
|
|
248
248
|
this.form.patchValue({
|
|
249
|
-
|
|
249
|
+
allowEndSessionEndpoint: false,
|
|
250
250
|
allowClientCredentialsFlow: false,
|
|
251
251
|
});
|
|
252
252
|
}
|
|
@@ -264,12 +264,12 @@ class ApplicationFormModalComponent {
|
|
|
264
264
|
return this.localizationService.instant(displayName);
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
268
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ApplicationFormModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
268
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: ApplicationFormModalComponent, isStandalone: false, selector: "abp-application-form-modal", inputs: { selected: "selected" }, outputs: { saved: "saved" }, ngImport: i0, template: "<abp-modal [visible]=\"true\" (visibleChange)=\"visibleChange($event)\" [options]=\"options\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{\r\n (selected?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewApplication') | abpLocalization\r\n }}\r\n </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\"> </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-outline-primary\" 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: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i3$1.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i5.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i5.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i5.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
269
269
|
}
|
|
270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ApplicationFormModalComponent, decorators: [{
|
|
271
271
|
type: Component,
|
|
272
|
-
args: [{ selector: 'abp-application-form-modal', template: "<abp-modal [visible]=\"true\" (visibleChange)=\"visibleChange($event)\" [options]=\"options\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{\r\n (selected?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewApplication') | abpLocalization\r\n }}\r\n </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\"> </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-outline-primary\" 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" }]
|
|
272
|
+
args: [{ standalone: false, selector: 'abp-application-form-modal', template: "<abp-modal [visible]=\"true\" (visibleChange)=\"visibleChange($event)\" [options]=\"options\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{\r\n (selected?.id ? 'AbpOpenIddict::Edit' : 'AbpOpenIddict::NewApplication') | abpLocalization\r\n }}\r\n </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\"> </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-outline-primary\" 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" }]
|
|
273
273
|
}], propDecorators: { saved: [{
|
|
274
274
|
type: Output
|
|
275
275
|
}], selected: [{
|
|
@@ -332,8 +332,8 @@ class ApplicationsComponent {
|
|
|
332
332
|
this.selected.set(record);
|
|
333
333
|
this.service.setTokenLifetimeModalState(true);
|
|
334
334
|
}
|
|
335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
336
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
335
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ApplicationsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
336
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.7", type: ApplicationsComponent, isStandalone: false, selector: "abp-applications", providers: [
|
|
337
337
|
ListService,
|
|
338
338
|
{
|
|
339
339
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -341,9 +341,9 @@ class ApplicationsComponent {
|
|
|
341
341
|
},
|
|
342
342
|
], ngImport: i0, template: "<abp-page [title]=\"'AbpOpenIddict::Applications' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"wrapper\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpOpenIddict\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\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@if (service.isModalVisible()) {\r\n <abp-application-form-modal [selected]=\"selected()\" (saved)=\"onSaved()\" />\r\n}\r\n\r\n@if (service.isTokenLifetimeModalVisible()) {\r\n <abp-token-lifetime-modal [selected]=\"selected()\" />\r\n}\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'C' },\r\n providerKey: { value: providerKey },\r\n visible: { value: visiblePermissions, twoWay: true },\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent',\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n providerName=\"C\"\r\n [providerKey]=\"providerKey\"\r\n>\r\n</abp-permission-management>\r\n", dependencies: [{ kind: "directive", type: i2.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i3$1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i3$2.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i5$1.PermissionManagementComponent, selector: "abp-permission-management", inputs: ["providerName", "providerKey", "hideBadges", "entityDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpPermissionManagement"] }, { kind: "component", type: TokenLifetimeModalComponent, selector: "abp-token-lifetime-modal", inputs: ["selected"], outputs: ["saved"] }, { kind: "component", type: ApplicationFormModalComponent, selector: "abp-application-form-modal", inputs: ["selected"], outputs: ["saved"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
343
343
|
}
|
|
344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ApplicationsComponent, decorators: [{
|
|
345
345
|
type: Component,
|
|
346
|
-
args: [{ selector: 'abp-applications', providers: [
|
|
346
|
+
args: [{ standalone: false, selector: 'abp-applications', providers: [
|
|
347
347
|
ListService,
|
|
348
348
|
{
|
|
349
349
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -395,12 +395,12 @@ class ScopeFormModalComponent {
|
|
|
395
395
|
const data = new FormPropData(this.injector, selected);
|
|
396
396
|
this.form = generateFormFromProps(data);
|
|
397
397
|
}
|
|
398
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
399
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
398
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ScopeFormModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
399
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: ScopeFormModalComponent, isStandalone: false, 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-outline-primary\" 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: i2.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i3$1.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i1.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i5.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i5.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i5.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
400
400
|
}
|
|
401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ScopeFormModalComponent, decorators: [{
|
|
402
402
|
type: Component,
|
|
403
|
-
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-outline-primary\" 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" }]
|
|
403
|
+
args: [{ standalone: false, 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-outline-primary\" 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" }]
|
|
404
404
|
}], propDecorators: { selected: [{
|
|
405
405
|
type: Input
|
|
406
406
|
}], saved: [{
|
|
@@ -450,8 +450,8 @@ class ScopesComponent {
|
|
|
450
450
|
onSaved() {
|
|
451
451
|
this.list.get();
|
|
452
452
|
}
|
|
453
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
454
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
453
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ScopesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
454
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.7", type: ScopesComponent, isStandalone: false, selector: "abp-scopes", providers: [
|
|
455
455
|
ListService,
|
|
456
456
|
{
|
|
457
457
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -459,9 +459,9 @@ class ScopesComponent {
|
|
|
459
459
|
},
|
|
460
460
|
], 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: i3$1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i3$2.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: ScopeFormModalComponent, selector: "abp-scope-form-modal", inputs: ["selected"], outputs: ["saved"] }, { kind: "pipe", type: i2.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
461
461
|
}
|
|
462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: ScopesComponent, decorators: [{
|
|
463
463
|
type: Component,
|
|
464
|
-
args: [{ selector: 'abp-scopes', providers: [
|
|
464
|
+
args: [{ standalone: false, selector: 'abp-scopes', providers: [
|
|
465
465
|
ListService,
|
|
466
466
|
{
|
|
467
467
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -736,17 +736,17 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
736
736
|
{
|
|
737
737
|
type: "boolean" /* ePropType.Boolean */,
|
|
738
738
|
defaultValue: false,
|
|
739
|
-
name: '
|
|
739
|
+
name: 'allowEndSessionEndpoint',
|
|
740
740
|
displayTextResolver: data => {
|
|
741
741
|
return data
|
|
742
742
|
.getInjected(ApplicationFormModalComponent)
|
|
743
|
-
.changeTextToType('AbpOpenIddict::
|
|
743
|
+
.changeTextToType('AbpOpenIddict::AllowDeviceAuthorizationEndpoint');
|
|
744
744
|
},
|
|
745
745
|
disabled: data => {
|
|
746
746
|
const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
|
|
747
747
|
return formValue.type === defaultApplicationTypes.public;
|
|
748
748
|
},
|
|
749
|
-
id: '
|
|
749
|
+
id: 'allowEndSessionEndpoint',
|
|
750
750
|
group: groupRight,
|
|
751
751
|
className: className,
|
|
752
752
|
},
|
|
@@ -805,9 +805,9 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
805
805
|
{
|
|
806
806
|
type: "boolean" /* ePropType.Boolean */,
|
|
807
807
|
defaultValue: false,
|
|
808
|
-
name: '
|
|
809
|
-
displayName: 'AbpOpenIddict::
|
|
810
|
-
id: '
|
|
808
|
+
name: 'allowEndSessionEndpoint',
|
|
809
|
+
displayName: 'AbpOpenIddict::AllowEndSessionEndpoint',
|
|
810
|
+
id: 'allowEndSessionEndpoint',
|
|
811
811
|
visible: data => {
|
|
812
812
|
const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
|
|
813
813
|
return allowFlow(formValue);
|
|
@@ -822,10 +822,10 @@ const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
|
|
|
822
822
|
id: 'postLogoutRedirectUris',
|
|
823
823
|
validators: () => [UrisValidator()],
|
|
824
824
|
visible: data => {
|
|
825
|
-
const {
|
|
825
|
+
const { allowEndSessionEndpoint } = data
|
|
826
826
|
.getInjected(ApplicationFormModalComponent)
|
|
827
827
|
.getFormValue();
|
|
828
|
-
return
|
|
828
|
+
return allowEndSessionEndpoint;
|
|
829
829
|
},
|
|
830
830
|
group: groupRight,
|
|
831
831
|
className: className,
|
|
@@ -1007,11 +1007,11 @@ const routes = [
|
|
|
1007
1007
|
},
|
|
1008
1008
|
];
|
|
1009
1009
|
class OpeniddictproRoutingModule {
|
|
1010
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1011
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1012
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1010
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1011
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] }); }
|
|
1012
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
1013
1013
|
}
|
|
1014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproRoutingModule, decorators: [{
|
|
1015
1015
|
type: NgModule,
|
|
1016
1016
|
args: [{
|
|
1017
1017
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -1058,8 +1058,8 @@ class OpeniddictproModule {
|
|
|
1058
1058
|
static forLazy(options = {}) {
|
|
1059
1059
|
return new LazyModuleFactory(OpeniddictproModule.forChild(options));
|
|
1060
1060
|
}
|
|
1061
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1062
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1061
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1062
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproModule, declarations: [ApplicationsComponent,
|
|
1063
1063
|
ApplicationFormModalComponent,
|
|
1064
1064
|
ScopesComponent,
|
|
1065
1065
|
ScopeFormModalComponent], imports: [OpeniddictproRoutingModule,
|
|
@@ -1077,7 +1077,7 @@ class OpeniddictproModule {
|
|
|
1077
1077
|
ApplicationFormModalComponent,
|
|
1078
1078
|
ScopesComponent,
|
|
1079
1079
|
ScopeFormModalComponent] }); }
|
|
1080
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1080
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproModule, imports: [OpeniddictproRoutingModule,
|
|
1081
1081
|
CoreModule,
|
|
1082
1082
|
CommercialUiModule,
|
|
1083
1083
|
ThemeSharedModule,
|
|
@@ -1090,7 +1090,7 @@ class OpeniddictproModule {
|
|
|
1090
1090
|
TokenLifetimeModalComponent,
|
|
1091
1091
|
ExtensibleTableComponent] }); }
|
|
1092
1092
|
}
|
|
1093
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpeniddictproModule, decorators: [{
|
|
1094
1094
|
type: NgModule,
|
|
1095
1095
|
args: [{
|
|
1096
1096
|
imports: [
|
|
@@ -1139,10 +1139,10 @@ class OpenIddictProExtensionsGuard {
|
|
|
1139
1139
|
mergeWithDefaultProps(extensions.editFormProps, DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS, objectExtensionContributors.editForm, editFormContributors);
|
|
1140
1140
|
}), mapTo(true));
|
|
1141
1141
|
}
|
|
1142
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1143
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1142
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpenIddictProExtensionsGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1143
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpenIddictProExtensionsGuard }); }
|
|
1144
1144
|
}
|
|
1145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: OpenIddictProExtensionsGuard, decorators: [{
|
|
1146
1146
|
type: Injectable
|
|
1147
1147
|
}] });
|
|
1148
1148
|
|