@volo/abp.ng.openiddictpro 6.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/README.md +7 -0
  2. package/config/enums/index.d.ts +2 -0
  3. package/config/enums/policy-names.d.ts +5 -0
  4. package/config/enums/route-names.d.ts +5 -0
  5. package/config/openiddictpro-config.module.d.ts +8 -0
  6. package/config/package.json +10 -0
  7. package/config/providers/index.d.ts +1 -0
  8. package/config/providers/route.provider.d.ts +8 -0
  9. package/config/public-api.d.ts +3 -0
  10. package/config/volo-abp.ng.openiddictpro-config.d.ts +5 -0
  11. package/esm2020/config/enums/index.mjs +3 -0
  12. package/esm2020/config/enums/policy-names.mjs +2 -0
  13. package/esm2020/config/enums/route-names.mjs +2 -0
  14. package/esm2020/config/openiddictpro-config.module.mjs +18 -0
  15. package/esm2020/config/providers/index.mjs +2 -0
  16. package/esm2020/config/providers/route.provider.mjs +39 -0
  17. package/esm2020/config/public-api.mjs +4 -0
  18. package/esm2020/config/volo-abp.ng.openiddictpro-config.mjs +5 -0
  19. package/esm2020/lib/components/application-form-modal/application-form-modal.component.mjs +87 -0
  20. package/esm2020/lib/components/applications/applications.component.mjs +85 -0
  21. package/esm2020/lib/components/index.mjs +6 -0
  22. package/esm2020/lib/components/scope-form-modal/scope-form-modal.component.mjs +66 -0
  23. package/esm2020/lib/components/scopes/allow-flow.mjs +4 -0
  24. package/esm2020/lib/components/scopes/scopes.component.mjs +74 -0
  25. package/esm2020/lib/defaults/default-applications-consent-type.mjs +19 -0
  26. package/esm2020/lib/defaults/default-applications-entity-actions.mjs +38 -0
  27. package/esm2020/lib/defaults/default-applications-entity-props.mjs +22 -0
  28. package/esm2020/lib/defaults/default-applications-form-props.mjs +181 -0
  29. package/esm2020/lib/defaults/default-applications-toolbar-actions.mjs +14 -0
  30. package/esm2020/lib/defaults/default-applications-types.mjs +15 -0
  31. package/esm2020/lib/defaults/default-scope-entity-actions.mjs +31 -0
  32. package/esm2020/lib/defaults/default-scope-entity-props.mjs +22 -0
  33. package/esm2020/lib/defaults/default-scope-form-props.mjs +31 -0
  34. package/esm2020/lib/defaults/default-scope-toolbar-actions.mjs +14 -0
  35. package/esm2020/lib/defaults/default-uri-pattern.mjs +2 -0
  36. package/esm2020/lib/defaults/index.mjs +12 -0
  37. package/esm2020/lib/enums/components.mjs +2 -0
  38. package/esm2020/lib/enums/index.mjs +2 -0
  39. package/esm2020/lib/guards/extensions.guard.mjs +38 -0
  40. package/esm2020/lib/guards/index.mjs +2 -0
  41. package/esm2020/lib/models/applications-service-state.mjs +2 -0
  42. package/esm2020/lib/models/config-options.mjs +2 -0
  43. package/esm2020/lib/models/index.mjs +4 -0
  44. package/esm2020/lib/models/scopes-service-state.mjs +2 -0
  45. package/esm2020/lib/openiddictpro-routing.module.mjs +53 -0
  46. package/esm2020/lib/openiddictpro.module.mjs +104 -0
  47. package/esm2020/lib/services/applications.service.mjs +14 -0
  48. package/esm2020/lib/services/index.mjs +3 -0
  49. package/esm2020/lib/services/scopes.service.mjs +14 -0
  50. package/esm2020/lib/tokens/extensions.token.mjs +35 -0
  51. package/esm2020/lib/tokens/index.mjs +2 -0
  52. package/esm2020/lib/utils/hashset-parser.mjs +15 -0
  53. package/esm2020/lib/utils/new-line-regex.mjs +2 -0
  54. package/esm2020/lib/utils/uris-validator.mjs +24 -0
  55. package/esm2020/proxy/lib/proxy/application.service.mjs +43 -0
  56. package/esm2020/proxy/lib/proxy/applications/dtos/index.mjs +2 -0
  57. package/esm2020/proxy/lib/proxy/applications/dtos/models.mjs +2 -0
  58. package/esm2020/proxy/lib/proxy/applications/index.mjs +3 -0
  59. package/esm2020/proxy/lib/proxy/index.mjs +6 -0
  60. package/esm2020/proxy/lib/proxy/scope.service.mjs +47 -0
  61. package/esm2020/proxy/lib/proxy/scopes/dtos/index.mjs +2 -0
  62. package/esm2020/proxy/lib/proxy/scopes/dtos/models.mjs +2 -0
  63. package/esm2020/proxy/lib/proxy/scopes/index.mjs +3 -0
  64. package/esm2020/proxy/public-api.mjs +2 -0
  65. package/esm2020/proxy/volo-abp.ng.openiddictpro-proxy.mjs +5 -0
  66. package/esm2020/public-api.mjs +6 -0
  67. package/esm2020/volo-abp.ng.openiddictpro.mjs +5 -0
  68. package/fesm2015/volo-abp.ng.openiddictpro-config.mjs +62 -0
  69. package/fesm2015/volo-abp.ng.openiddictpro-config.mjs.map +1 -0
  70. package/fesm2015/volo-abp.ng.openiddictpro-proxy.mjs +110 -0
  71. package/fesm2015/volo-abp.ng.openiddictpro-proxy.mjs.map +1 -0
  72. package/fesm2015/volo-abp.ng.openiddictpro.mjs +903 -0
  73. package/fesm2015/volo-abp.ng.openiddictpro.mjs.map +1 -0
  74. package/fesm2020/volo-abp.ng.openiddictpro-config.mjs +62 -0
  75. package/fesm2020/volo-abp.ng.openiddictpro-config.mjs.map +1 -0
  76. package/fesm2020/volo-abp.ng.openiddictpro-proxy.mjs +110 -0
  77. package/fesm2020/volo-abp.ng.openiddictpro-proxy.mjs.map +1 -0
  78. package/fesm2020/volo-abp.ng.openiddictpro.mjs +909 -0
  79. package/fesm2020/volo-abp.ng.openiddictpro.mjs.map +1 -0
  80. package/lib/components/application-form-modal/application-form-modal.component.d.ts +31 -0
  81. package/lib/components/applications/applications.component.d.ts +27 -0
  82. package/lib/components/index.d.ts +5 -0
  83. package/lib/components/scope-form-modal/scope-form-modal.component.d.ts +22 -0
  84. package/lib/components/scopes/allow-flow.d.ts +2 -0
  85. package/lib/components/scopes/scopes.component.d.ts +23 -0
  86. package/lib/defaults/default-applications-consent-type.d.ts +4 -0
  87. package/lib/defaults/default-applications-entity-actions.d.ts +3 -0
  88. package/lib/defaults/default-applications-entity-props.d.ts +3 -0
  89. package/lib/defaults/default-applications-form-props.d.ts +4 -0
  90. package/lib/defaults/default-applications-toolbar-actions.d.ts +3 -0
  91. package/lib/defaults/default-applications-types.d.ts +8 -0
  92. package/lib/defaults/default-scope-entity-actions.d.ts +3 -0
  93. package/lib/defaults/default-scope-entity-props.d.ts +3 -0
  94. package/lib/defaults/default-scope-form-props.d.ts +4 -0
  95. package/lib/defaults/default-scope-toolbar-actions.d.ts +3 -0
  96. package/lib/defaults/default-uri-pattern.d.ts +1 -0
  97. package/lib/defaults/index.d.ts +11 -0
  98. package/lib/enums/components.d.ts +4 -0
  99. package/lib/enums/index.d.ts +1 -0
  100. package/lib/guards/extensions.guard.d.ts +11 -0
  101. package/lib/guards/index.d.ts +1 -0
  102. package/lib/models/applications-service-state.d.ts +3 -0
  103. package/lib/models/config-options.d.ts +26 -0
  104. package/lib/models/index.d.ts +3 -0
  105. package/lib/models/scopes-service-state.d.ts +3 -0
  106. package/lib/openiddictpro-routing.module.d.ts +7 -0
  107. package/lib/openiddictpro.module.d.ts +22 -0
  108. package/lib/services/applications.service.d.ts +6 -0
  109. package/lib/services/index.d.ts +2 -0
  110. package/lib/services/scopes.service.d.ts +6 -0
  111. package/lib/tokens/extensions.token.d.ts +39 -0
  112. package/lib/tokens/index.d.ts +1 -0
  113. package/lib/utils/hashset-parser.d.ts +1 -0
  114. package/lib/utils/new-line-regex.d.ts +1 -0
  115. package/lib/utils/uris-validator.d.ts +2 -0
  116. package/package.json +51 -0
  117. package/proxy/lib/proxy/application.service.d.ts +16 -0
  118. package/proxy/lib/proxy/applications/dtos/index.d.ts +1 -0
  119. package/proxy/lib/proxy/applications/dtos/models.d.ts +48 -0
  120. package/proxy/lib/proxy/applications/index.d.ts +2 -0
  121. package/proxy/lib/proxy/index.d.ts +5 -0
  122. package/proxy/lib/proxy/scope.service.d.ts +17 -0
  123. package/proxy/lib/proxy/scopes/dtos/index.d.ts +1 -0
  124. package/proxy/lib/proxy/scopes/dtos/models.d.ts +20 -0
  125. package/proxy/lib/proxy/scopes/index.d.ts +2 -0
  126. package/proxy/package.json +10 -0
  127. package/proxy/public-api.d.ts +1 -0
  128. package/proxy/src/lib/proxy/README.md +17 -0
  129. package/proxy/volo-abp.ng.openiddictpro-proxy.d.ts +5 -0
  130. package/public-api.d.ts +5 -0
  131. package/volo-abp.ng.openiddictpro.d.ts +5 -0
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@volo/abp.ng.openiddictpro",
3
+ "version": "6.0.0-rc.1",
4
+ "homepage": "https://abp.io",
5
+ "dependencies": {
6
+ "@abp/ng.components": "~6.0.0-rc.1",
7
+ "@abp/ng.permission-management": "~6.0.0-rc.1",
8
+ "@abp/ng.theme.shared": "~6.0.0-rc.1",
9
+ "@volo/abp.commercial.ng.ui": "~6.0.0-rc.1",
10
+ "tslib": "^2.0.0"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "module": "fesm2015/volo-abp.ng.openiddictpro.mjs",
16
+ "es2020": "fesm2020/volo-abp.ng.openiddictpro.mjs",
17
+ "esm2020": "esm2020/volo-abp.ng.openiddictpro.mjs",
18
+ "fesm2020": "fesm2020/volo-abp.ng.openiddictpro.mjs",
19
+ "fesm2015": "fesm2015/volo-abp.ng.openiddictpro.mjs",
20
+ "typings": "volo-abp.ng.openiddictpro.d.ts",
21
+ "exports": {
22
+ "./package.json": {
23
+ "default": "./package.json"
24
+ },
25
+ ".": {
26
+ "types": "./volo-abp.ng.openiddictpro.d.ts",
27
+ "esm2020": "./esm2020/volo-abp.ng.openiddictpro.mjs",
28
+ "es2020": "./fesm2020/volo-abp.ng.openiddictpro.mjs",
29
+ "es2015": "./fesm2015/volo-abp.ng.openiddictpro.mjs",
30
+ "node": "./fesm2015/volo-abp.ng.openiddictpro.mjs",
31
+ "default": "./fesm2020/volo-abp.ng.openiddictpro.mjs"
32
+ },
33
+ "./config": {
34
+ "types": "./config/volo-abp.ng.openiddictpro-config.d.ts",
35
+ "esm2020": "./esm2020/config/volo-abp.ng.openiddictpro-config.mjs",
36
+ "es2020": "./fesm2020/volo-abp.ng.openiddictpro-config.mjs",
37
+ "es2015": "./fesm2015/volo-abp.ng.openiddictpro-config.mjs",
38
+ "node": "./fesm2015/volo-abp.ng.openiddictpro-config.mjs",
39
+ "default": "./fesm2020/volo-abp.ng.openiddictpro-config.mjs"
40
+ },
41
+ "./proxy": {
42
+ "types": "./proxy/volo-abp.ng.openiddictpro-proxy.d.ts",
43
+ "esm2020": "./esm2020/proxy/volo-abp.ng.openiddictpro-proxy.mjs",
44
+ "es2020": "./fesm2020/volo-abp.ng.openiddictpro-proxy.mjs",
45
+ "es2015": "./fesm2015/volo-abp.ng.openiddictpro-proxy.mjs",
46
+ "node": "./fesm2015/volo-abp.ng.openiddictpro-proxy.mjs",
47
+ "default": "./fesm2020/volo-abp.ng.openiddictpro-proxy.mjs"
48
+ }
49
+ },
50
+ "sideEffects": false
51
+ }
@@ -0,0 +1,16 @@
1
+ import type { ApplicationDto, CreateApplicationInput, GetApplicationListInput, UpdateApplicationInput } from './applications/dtos/models';
2
+ import { RestService } from '@abp/ng.core';
3
+ import type { PagedResultDto } from '@abp/ng.core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ApplicationService {
6
+ private restService;
7
+ apiName: string;
8
+ create: (input: CreateApplicationInput) => import("rxjs").Observable<ApplicationDto>;
9
+ delete: (id: string) => import("rxjs").Observable<void>;
10
+ get: (id: string) => import("rxjs").Observable<ApplicationDto>;
11
+ getList: (input: GetApplicationListInput) => import("rxjs").Observable<PagedResultDto<ApplicationDto>>;
12
+ update: (id: string, input: UpdateApplicationInput) => import("rxjs").Observable<ApplicationDto>;
13
+ constructor(restService: RestService);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationService>;
16
+ }
@@ -0,0 +1 @@
1
+ export * from './models';
@@ -0,0 +1,48 @@
1
+ import type { ExtensibleEntityDto, ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
2
+ export interface ApplicationCreateOrUpdateDtoBase extends ExtensibleObject {
3
+ clientId: string;
4
+ displayName: string;
5
+ type?: string;
6
+ clientSecret?: string;
7
+ consentType?: string;
8
+ postLogoutRedirectUris: string[];
9
+ redirectUris: string[];
10
+ allowPasswordFlow: boolean;
11
+ allowClientCredentialsFlow: boolean;
12
+ allowAuthorizationCodeFlow: boolean;
13
+ allowRefreshTokenFlow: boolean;
14
+ allowHybridFlow: boolean;
15
+ allowImplicitFlow: boolean;
16
+ allowLogoutEndpoint: boolean;
17
+ allowDeviceEndpoint: boolean;
18
+ scopes: string[];
19
+ clientUri?: string;
20
+ logoUri?: string;
21
+ }
22
+ export interface ApplicationDto extends ExtensibleEntityDto<string> {
23
+ clientId?: string;
24
+ displayName?: string;
25
+ type?: string;
26
+ clientSecret?: string;
27
+ consentType?: string;
28
+ postLogoutRedirectUris: string[];
29
+ redirectUris: string[];
30
+ allowPasswordFlow: boolean;
31
+ allowClientCredentialsFlow: boolean;
32
+ allowAuthorizationCodeFlow: boolean;
33
+ allowRefreshTokenFlow: boolean;
34
+ allowHybridFlow: boolean;
35
+ allowImplicitFlow: boolean;
36
+ allowLogoutEndpoint: boolean;
37
+ allowDeviceEndpoint: boolean;
38
+ scopes: string[];
39
+ clientUri?: string;
40
+ logoUri?: string;
41
+ }
42
+ export interface CreateApplicationInput extends ApplicationCreateOrUpdateDtoBase {
43
+ }
44
+ export interface GetApplicationListInput extends PagedAndSortedResultRequestDto {
45
+ filter?: string;
46
+ }
47
+ export interface UpdateApplicationInput extends ApplicationCreateOrUpdateDtoBase {
48
+ }
@@ -0,0 +1,2 @@
1
+ import * as Dtos from './dtos';
2
+ export { Dtos };
@@ -0,0 +1,5 @@
1
+ import * as Applications from './applications';
2
+ import * as Scopes from './scopes';
3
+ export * from './application.service';
4
+ export * from './scope.service';
5
+ export { Applications, Scopes };
@@ -0,0 +1,17 @@
1
+ import type { CreateScopeInput, GetScopeListInput, ScopeDto, UpdateScopeInput } from './scopes/dtos/models';
2
+ import { RestService } from '@abp/ng.core';
3
+ import type { PagedResultDto } from '@abp/ng.core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ScopeService {
6
+ private restService;
7
+ apiName: string;
8
+ create: (input: CreateScopeInput) => import("rxjs").Observable<ScopeDto>;
9
+ delete: (id: string) => import("rxjs").Observable<void>;
10
+ get: (id: string) => import("rxjs").Observable<ScopeDto>;
11
+ getAllScopes: () => import("rxjs").Observable<ScopeDto[]>;
12
+ getList: (input: GetScopeListInput) => import("rxjs").Observable<PagedResultDto<ScopeDto>>;
13
+ update: (id: string, input: UpdateScopeInput) => import("rxjs").Observable<ScopeDto>;
14
+ constructor(restService: RestService);
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScopeService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<ScopeService>;
17
+ }
@@ -0,0 +1 @@
1
+ export * from './models';
@@ -0,0 +1,20 @@
1
+ import type { ExtensibleEntityDto, ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
2
+ export interface CreateScopeInput extends ScopeCreateOrUpdateDtoBase {
3
+ }
4
+ export interface GetScopeListInput extends PagedAndSortedResultRequestDto {
5
+ filter?: string;
6
+ }
7
+ export interface ScopeCreateOrUpdateDtoBase extends ExtensibleObject {
8
+ name: string;
9
+ displayName?: string;
10
+ description?: string;
11
+ resources: string[];
12
+ }
13
+ export interface ScopeDto extends ExtensibleEntityDto<string> {
14
+ name?: string;
15
+ displayName?: string;
16
+ description?: string;
17
+ resources: string[];
18
+ }
19
+ export interface UpdateScopeInput extends ScopeCreateOrUpdateDtoBase {
20
+ }
@@ -0,0 +1,2 @@
1
+ import * as Dtos from './dtos';
2
+ export { Dtos };
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/volo-abp.ng.openiddictpro-proxy.mjs",
3
+ "es2020": "../fesm2020/volo-abp.ng.openiddictpro-proxy.mjs",
4
+ "esm2020": "../esm2020/proxy/volo-abp.ng.openiddictpro-proxy.mjs",
5
+ "fesm2020": "../fesm2020/volo-abp.ng.openiddictpro-proxy.mjs",
6
+ "fesm2015": "../fesm2015/volo-abp.ng.openiddictpro-proxy.mjs",
7
+ "typings": "volo-abp.ng.openiddictpro-proxy.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@volo/abp.ng.openiddictpro/proxy"
10
+ }
@@ -0,0 +1 @@
1
+ export * from './lib/proxy';
@@ -0,0 +1,17 @@
1
+ # Proxy Generation Output
2
+
3
+ This directory includes the output of the latest proxy generation.
4
+ The files and folders in it will be overwritten when proxy generation is run again.
5
+ Therefore, please do not place your own content in this folder.
6
+
7
+ In addition, `generate-proxy.json` works like a lock file.
8
+ It includes information used by the proxy generator, so please do not delete or modify it.
9
+
10
+ Finally, the name of the files and folders should not be changed for two reasons:
11
+ - Proxy generator will keep creating them at those paths and you will have multiple copies of the same content.
12
+ - ABP Suite generates files which include imports from this folder.
13
+
14
+ > **Important Notice:** If you are building a module and are planning to publish to npm,
15
+ > some of the generated proxies are likely to be exported from public-api.ts file. In such a case,
16
+ > please make sure you export files directly and not from barrel exports. In other words,
17
+ > do not include index.ts exports in your public-api.ts exports.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@volo/abp.ng.openiddictpro/proxy" />
5
+ export * from './public-api';
@@ -0,0 +1,5 @@
1
+ export * from './lib/openiddictpro.module';
2
+ export * from './lib/components/index';
3
+ export * from './lib/services/index';
4
+ export * from './lib/defaults/index';
5
+ export * from './lib/enums/index';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@volo/abp.ng.openiddictpro" />
5
+ export * from './public-api';