@volo/abp.ng.openiddictpro 7.2.1 → 7.3.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 (143) hide show
  1. package/config/enums/index.d.ts +2 -2
  2. package/config/enums/policy-names.d.ts +5 -5
  3. package/config/enums/route-names.d.ts +5 -5
  4. package/config/index.d.ts +5 -5
  5. package/config/openiddictpro-config.module.d.ts +8 -8
  6. package/config/providers/index.d.ts +1 -1
  7. package/config/providers/route.provider.d.ts +8 -8
  8. package/config/public-api.d.ts +3 -3
  9. package/{esm2020 → esm2022}/config/enums/index.mjs +2 -2
  10. package/{esm2020 → esm2022}/config/enums/policy-names.mjs +1 -1
  11. package/{esm2020 → esm2022}/config/enums/route-names.mjs +1 -1
  12. package/esm2022/config/openiddictpro-config.module.mjs +19 -0
  13. package/{esm2020 → esm2022}/config/providers/index.mjs +1 -1
  14. package/{esm2020 → esm2022}/config/providers/route.provider.mjs +36 -36
  15. package/{esm2020 → esm2022}/config/public-api.mjs +3 -3
  16. package/{esm2020 → esm2022}/config/volo-abp.ng.openiddictpro-config.mjs +4 -4
  17. package/esm2022/lib/components/application-form-modal/application-form-modal.component.mjs +117 -0
  18. package/esm2022/lib/components/applications/applications.component.mjs +86 -0
  19. package/{esm2020 → esm2022}/lib/components/index.mjs +5 -5
  20. package/esm2022/lib/components/scope-form-modal/scope-form-modal.component.mjs +68 -0
  21. package/{esm2020 → esm2022}/lib/components/scopes/allow-flow.mjs +3 -3
  22. package/esm2022/lib/components/scopes/scopes.component.mjs +75 -0
  23. package/{esm2020 → esm2022}/lib/defaults/default-applications-consent-type.mjs +18 -18
  24. package/{esm2020 → esm2022}/lib/defaults/default-applications-entity-actions.mjs +37 -37
  25. package/{esm2020 → esm2022}/lib/defaults/default-applications-entity-props.mjs +21 -21
  26. package/{esm2020 → esm2022}/lib/defaults/default-applications-form-props.mjs +251 -244
  27. package/{esm2020 → esm2022}/lib/defaults/default-applications-toolbar-actions.mjs +13 -13
  28. package/{esm2020 → esm2022}/lib/defaults/default-applications-types.mjs +14 -14
  29. package/{esm2020 → esm2022}/lib/defaults/default-scope-entity-actions.mjs +30 -30
  30. package/{esm2020 → esm2022}/lib/defaults/default-scope-entity-props.mjs +21 -21
  31. package/{esm2020 → esm2022}/lib/defaults/default-scope-form-props.mjs +30 -30
  32. package/{esm2020 → esm2022}/lib/defaults/default-scope-toolbar-actions.mjs +13 -13
  33. package/{esm2020 → esm2022}/lib/defaults/default-uri-pattern.mjs +1 -1
  34. package/{esm2020 → esm2022}/lib/defaults/index.mjs +11 -11
  35. package/{esm2020 → esm2022}/lib/enums/components.mjs +1 -1
  36. package/{esm2020 → esm2022}/lib/enums/index.mjs +1 -1
  37. package/esm2022/lib/guards/extensions.guard.mjs +39 -0
  38. package/{esm2020 → esm2022}/lib/guards/index.mjs +1 -1
  39. package/{esm2020 → esm2022}/lib/models/applications-service-state.mjs +1 -1
  40. package/{esm2020 → esm2022}/lib/models/config-options.mjs +1 -1
  41. package/{esm2020 → esm2022}/lib/models/index.mjs +3 -3
  42. package/{esm2020 → esm2022}/lib/models/scopes-service-state.mjs +1 -1
  43. package/esm2022/lib/openiddictpro-routing.module.mjs +54 -0
  44. package/esm2022/lib/openiddictpro.module.mjs +103 -0
  45. package/{esm2020 → esm2022}/lib/services/applications.service.mjs +13 -13
  46. package/{esm2020 → esm2022}/lib/services/index.mjs +2 -2
  47. package/{esm2020 → esm2022}/lib/services/scopes.service.mjs +13 -13
  48. package/{esm2020 → esm2022}/lib/tokens/extensions.token.mjs +34 -34
  49. package/{esm2020 → esm2022}/lib/tokens/index.mjs +1 -1
  50. package/{esm2020 → esm2022}/lib/utils/hashset-parser.mjs +14 -14
  51. package/{esm2020 → esm2022}/lib/utils/index.mjs +2 -2
  52. package/{esm2020 → esm2022}/lib/utils/new-line-regex.mjs +1 -1
  53. package/{esm2020 → esm2022}/lib/utils/uris-validator.mjs +23 -23
  54. package/esm2022/proxy/lib/proxy/application.service.mjs +44 -0
  55. package/{esm2020 → esm2022}/proxy/lib/proxy/applications/dtos/index.mjs +1 -1
  56. package/esm2022/proxy/lib/proxy/applications/dtos/models.mjs +2 -0
  57. package/{esm2020 → esm2022}/proxy/lib/proxy/applications/index.mjs +2 -2
  58. package/{esm2020 → esm2022}/proxy/lib/proxy/index.mjs +5 -5
  59. package/esm2022/proxy/lib/proxy/scope.service.mjs +48 -0
  60. package/{esm2020 → esm2022}/proxy/lib/proxy/scopes/dtos/index.mjs +1 -1
  61. package/{esm2020 → esm2022}/proxy/lib/proxy/scopes/dtos/models.mjs +2 -2
  62. package/{esm2020 → esm2022}/proxy/lib/proxy/scopes/index.mjs +2 -2
  63. package/{esm2020 → esm2022}/proxy/public-api.mjs +1 -1
  64. package/{esm2020 → esm2022}/proxy/volo-abp.ng.openiddictpro-proxy.mjs +4 -4
  65. package/{esm2020 → esm2022}/public-api.mjs +8 -8
  66. package/{esm2020 → esm2022}/volo-abp.ng.openiddictpro.mjs +4 -4
  67. package/{fesm2020 → fesm2022}/volo-abp.ng.openiddictpro-config.mjs +48 -48
  68. package/{fesm2020 → fesm2022}/volo-abp.ng.openiddictpro-config.mjs.map +1 -1
  69. package/{fesm2015 → fesm2022}/volo-abp.ng.openiddictpro-proxy.mjs +81 -81
  70. package/fesm2022/volo-abp.ng.openiddictpro-proxy.mjs.map +1 -0
  71. package/{fesm2020 → fesm2022}/volo-abp.ng.openiddictpro.mjs +925 -916
  72. package/fesm2022/volo-abp.ng.openiddictpro.mjs.map +1 -0
  73. package/index.d.ts +5 -5
  74. package/lib/components/application-form-modal/application-form-modal.component.d.ts +40 -40
  75. package/lib/components/applications/applications.component.d.ts +27 -27
  76. package/lib/components/index.d.ts +5 -5
  77. package/lib/components/scope-form-modal/scope-form-modal.component.d.ts +25 -25
  78. package/lib/components/scopes/allow-flow.d.ts +2 -2
  79. package/lib/components/scopes/scopes.component.d.ts +23 -23
  80. package/lib/defaults/default-applications-consent-type.d.ts +4 -4
  81. package/lib/defaults/default-applications-entity-actions.d.ts +3 -3
  82. package/lib/defaults/default-applications-entity-props.d.ts +3 -3
  83. package/lib/defaults/default-applications-form-props.d.ts +4 -4
  84. package/lib/defaults/default-applications-toolbar-actions.d.ts +3 -3
  85. package/lib/defaults/default-applications-types.d.ts +8 -8
  86. package/lib/defaults/default-scope-entity-actions.d.ts +3 -3
  87. package/lib/defaults/default-scope-entity-props.d.ts +3 -3
  88. package/lib/defaults/default-scope-form-props.d.ts +4 -4
  89. package/lib/defaults/default-scope-toolbar-actions.d.ts +3 -3
  90. package/lib/defaults/default-uri-pattern.d.ts +1 -1
  91. package/lib/defaults/index.d.ts +11 -11
  92. package/lib/enums/components.d.ts +4 -4
  93. package/lib/enums/index.d.ts +1 -1
  94. package/lib/guards/extensions.guard.d.ts +10 -11
  95. package/lib/guards/index.d.ts +1 -1
  96. package/lib/models/applications-service-state.d.ts +3 -3
  97. package/lib/models/config-options.d.ts +26 -26
  98. package/lib/models/index.d.ts +3 -3
  99. package/lib/models/scopes-service-state.d.ts +3 -3
  100. package/lib/openiddictpro-routing.module.d.ts +7 -7
  101. package/lib/openiddictpro.module.d.ts +22 -22
  102. package/lib/services/applications.service.d.ts +6 -6
  103. package/lib/services/index.d.ts +2 -2
  104. package/lib/services/scopes.service.d.ts +6 -6
  105. package/lib/tokens/extensions.token.d.ts +39 -39
  106. package/lib/tokens/index.d.ts +1 -1
  107. package/lib/utils/hashset-parser.d.ts +1 -1
  108. package/lib/utils/index.d.ts +2 -2
  109. package/lib/utils/new-line-regex.d.ts +1 -1
  110. package/lib/utils/uris-validator.d.ts +2 -2
  111. package/package.json +15 -25
  112. package/proxy/index.d.ts +5 -5
  113. package/proxy/lib/proxy/application.service.d.ts +16 -16
  114. package/proxy/lib/proxy/applications/dtos/index.d.ts +1 -1
  115. package/proxy/lib/proxy/applications/dtos/models.d.ts +50 -48
  116. package/proxy/lib/proxy/applications/index.d.ts +2 -2
  117. package/proxy/lib/proxy/index.d.ts +5 -5
  118. package/proxy/lib/proxy/scope.service.d.ts +17 -17
  119. package/proxy/lib/proxy/scopes/dtos/index.d.ts +1 -1
  120. package/proxy/lib/proxy/scopes/dtos/models.d.ts +21 -20
  121. package/proxy/lib/proxy/scopes/index.d.ts +2 -2
  122. package/proxy/public-api.d.ts +1 -1
  123. package/public-api.d.ts +8 -8
  124. package/esm2020/config/openiddictpro-config.module.mjs +0 -18
  125. package/esm2020/lib/components/application-form-modal/application-form-modal.component.mjs +0 -114
  126. package/esm2020/lib/components/applications/applications.component.mjs +0 -85
  127. package/esm2020/lib/components/scope-form-modal/scope-form-modal.component.mjs +0 -67
  128. package/esm2020/lib/components/scopes/scopes.component.mjs +0 -74
  129. package/esm2020/lib/guards/extensions.guard.mjs +0 -38
  130. package/esm2020/lib/openiddictpro-routing.module.mjs +0 -53
  131. package/esm2020/lib/openiddictpro.module.mjs +0 -102
  132. package/esm2020/proxy/lib/proxy/application.service.mjs +0 -43
  133. package/esm2020/proxy/lib/proxy/applications/dtos/models.mjs +0 -2
  134. package/esm2020/proxy/lib/proxy/scope.service.mjs +0 -47
  135. package/fesm2015/volo-abp.ng.openiddictpro-config.mjs +0 -60
  136. package/fesm2015/volo-abp.ng.openiddictpro-config.mjs.map +0 -1
  137. package/fesm2015/volo-abp.ng.openiddictpro-proxy.mjs.map +0 -1
  138. package/fesm2015/volo-abp.ng.openiddictpro.mjs +0 -991
  139. package/fesm2015/volo-abp.ng.openiddictpro.mjs.map +0 -1
  140. package/fesm2020/volo-abp.ng.openiddictpro-proxy.mjs +0 -110
  141. package/fesm2020/volo-abp.ng.openiddictpro-proxy.mjs.map +0 -1
  142. package/fesm2020/volo-abp.ng.openiddictpro.mjs.map +0 -1
  143. package/proxy/src/lib/proxy/README.md +0 -17
@@ -1,991 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, Output, Input, InjectionToken, Injectable, NgModule } from '@angular/core';
3
- import * as i3 from '@abp/ng.core';
4
- import { InternalStore, ListService, ConfigStateService, RouterOutletComponent, AuthGuard, PermissionGuard, ReplaceableRouteContainerComponent, LazyModuleFactory, CoreModule } from '@abp/ng.core';
5
- import * as i1$1 from '@angular/router';
6
- import { RouterModule } from '@angular/router';
7
- import * as i7 from '@abp/ng.theme.shared';
8
- import { Confirmation, ThemeSharedModule } from '@abp/ng.theme.shared';
9
- import * as i5 from '@abp/ng.theme.shared/extensions';
10
- import { FormPropData, generateFormFromProps, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, FormProp, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps } from '@abp/ng.theme.shared/extensions';
11
- import * as i1 from '@volo/abp.ng.openiddictpro/proxy';
12
- import { ScopeService } from '@volo/abp.ng.openiddictpro/proxy';
13
- import * as i6$1 from '@volo/abp.commercial.ng.ui';
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';
19
- import { of } from 'rxjs';
20
- import * as i4 from '@angular/forms';
21
- import { Validators } from '@angular/forms';
22
- import * as i6 from '@ngx-validate/core';
23
- import { NgxValidateCoreModule } from '@ngx-validate/core';
24
- import * as i8 from '@angular/common';
25
- import { map, tap, mapTo } from 'rxjs/operators';
26
- import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
27
-
28
- class ApplicationsService {
29
- constructor() {
30
- this.state = new InternalStore({ isModalVisible: false });
31
- this.isModalVisible$ = this.state.sliceState(x => x.isModalVisible);
32
- }
33
- openModal() {
34
- this.setModalState(true);
35
- }
36
- setModalState(value) {
37
- this.state.patch({ isModalVisible: value });
38
- }
39
- }
40
-
41
- const defaultApplicationsTypeList = [
42
- {
43
- key: 'Confidential client',
44
- value: 'confidential',
45
- },
46
- {
47
- key: 'Public client',
48
- value: 'public',
49
- },
50
- ];
51
- const defaultApplicationTypes = {
52
- public: 'public',
53
- confidential: 'confidential',
54
- };
55
-
56
- const separatorRegex = /\r?\n/;
57
- const separator = '\n';
58
- function hashSetParser(stringOrArray) {
59
- if (Array.isArray(stringOrArray)) {
60
- return stringOrArray.join(separator);
61
- }
62
- if (typeof stringOrArray === 'string') {
63
- if (!stringOrArray) {
64
- return null;
65
- }
66
- return stringOrArray.split(separatorRegex);
67
- }
68
- return stringOrArray;
69
- }
70
-
71
- const DefaultApplicationsConsentType = [
72
- {
73
- key: 'Explicit consent',
74
- value: 'explicit',
75
- },
76
- {
77
- key: 'External consent',
78
- value: 'external',
79
- },
80
- {
81
- key: 'Implicit consent',
82
- value: 'implicit',
83
- },
84
- {
85
- key: 'Systematic consent',
86
- value: 'systematic',
87
- },
88
- ];
89
-
90
- class ApplicationFormModalComponent {
91
- constructor(service, applicationsService, localizationService, subscription, injector) {
92
- this.service = service;
93
- this.applicationsService = applicationsService;
94
- this.localizationService = localizationService;
95
- this.subscription = subscription;
96
- this.injector = injector;
97
- this.saved = new EventEmitter();
98
- this.types$ = of(defaultApplicationsTypeList);
99
- this.consentTypes$ = of(DefaultApplicationsConsentType);
100
- this.options = { size: 'lg' };
101
- this.isModalVisible$ = this.applicationsService.isModalVisible$;
102
- }
103
- ngOnChanges(changes) {
104
- this.createForm();
105
- this.hideFlowToType();
106
- }
107
- visibleChange($event) {
108
- this.applicationsService.setModalState($event);
109
- }
110
- save() {
111
- var _a;
112
- if (this.form.invalid) {
113
- return;
114
- }
115
- const id = (_a = this.selected) === null || _a === void 0 ? void 0 : _a.id;
116
- const isEditMode = !!id;
117
- let sub;
118
- const parseTextAreaValue = value => {
119
- return Array.isArray(value) ? value : hashSetParser(value);
120
- };
121
- const formValue = Object.assign(Object.assign({}, this.form.value), { redirectUris: parseTextAreaValue(this.form.value.redirectUris), postLogoutRedirectUris: parseTextAreaValue(this.form.value.postLogoutRedirectUris) });
122
- if (isEditMode) {
123
- sub = this.service.update(id, formValue);
124
- }
125
- else {
126
- sub = this.service.create(formValue);
127
- }
128
- sub.subscribe(() => {
129
- this.applicationsService.setModalState(false);
130
- this.saved.emit();
131
- });
132
- }
133
- getFormValue() {
134
- var _a;
135
- return ((_a = this.form) === null || _a === void 0 ? void 0 : _a.value) || {};
136
- }
137
- createForm() {
138
- var _a;
139
- const selected = ((_a = this.selected) === null || _a === void 0 ? void 0 : _a.id)
140
- ? Object.assign(Object.assign({}, this.selected), { redirectUris: hashSetParser(this.selected.redirectUris), postLogoutRedirectUris: hashSetParser(this.selected.postLogoutRedirectUris) }) : {};
141
- const data = new FormPropData(this.injector, selected);
142
- this.form = generateFormFromProps(data);
143
- }
144
- hideFlowToType() {
145
- const formType = this.form.controls['type'];
146
- this.subscription.removeOne(this.formValueChanges$);
147
- this.formValueChanges$ = this.subscription.addOne(formType.valueChanges, value => {
148
- if (value == defaultApplicationTypes.public) {
149
- this.form.patchValue({
150
- allowDeviceEndpoint: false,
151
- allowClientCredentialsFlow: false,
152
- });
153
- }
154
- });
155
- }
156
- changeTextToType(displayName) {
157
- const form = this.getFormValue();
158
- if (form.type === defaultApplicationTypes.public) {
159
- return (this.localizationService.instant(displayName) +
160
- ' (' +
161
- this.localizationService.instant('AbpOpenIddict::NotAvailableForThisType') +
162
- ')');
163
- }
164
- else {
165
- return this.localizationService.instant(displayName);
166
- }
167
- }
168
- }
169
- ApplicationFormModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ApplicationFormModalComponent, deps: [{ token: i1.ApplicationService }, { token: ApplicationsService }, { token: i3.LocalizationService }, { token: i3.SubscriptionService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
170
- ApplicationFormModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", 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: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i5.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i6.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i7.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i7.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i7.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i8.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] });
171
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ApplicationFormModalComponent, decorators: [{
172
- type: Component,
173
- 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" }]
174
- }], ctorParameters: function () { return [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type: i3.LocalizationService }, { type: i3.SubscriptionService }, { type: i0.Injector }]; }, propDecorators: { saved: [{
175
- type: Output
176
- }], selected: [{
177
- type: Input
178
- }] } });
179
-
180
- class ApplicationsComponent {
181
- constructor(service, applicationsService, confirmationService, list) {
182
- this.service = service;
183
- this.applicationsService = applicationsService;
184
- this.confirmationService = confirmationService;
185
- this.list = list;
186
- this.data = { items: [], totalCount: 0 };
187
- this.selected = {};
188
- this.visiblePermissions = false;
189
- this.onVisiblePermissionChange = (value) => {
190
- this.visiblePermissions = value;
191
- };
192
- }
193
- onSaved() {
194
- this.list.get();
195
- }
196
- edit(id) {
197
- this.service.get(id).subscribe(res => {
198
- this.selected = res;
199
- this.applicationsService.openModal();
200
- });
201
- }
202
- delete(id, name) {
203
- this.confirmationService
204
- .warn('AbpOpenIddict::ApplicationDeletionWarningMessage', 'AbpOpenIddict::AreYouSure', {
205
- messageLocalizationParams: [name],
206
- })
207
- .subscribe((status) => {
208
- if (status === Confirmation.Status.confirm) {
209
- this.service.delete(id).subscribe(() => this.list.get());
210
- }
211
- });
212
- }
213
- ngOnInit() {
214
- this.hookToQuery();
215
- }
216
- onAdd() {
217
- this.selected = {};
218
- this.applicationsService.openModal();
219
- }
220
- openPermissionsModal(providerKey) {
221
- this.providerKey = providerKey;
222
- setTimeout(() => {
223
- this.visiblePermissions = true;
224
- }, 0);
225
- }
226
- hookToQuery() {
227
- this.list.hookToQuery(query => this.service.getList(query)).subscribe(res => (this.data = res));
228
- }
229
- }
230
- ApplicationsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ApplicationsComponent, deps: [{ token: i1.ApplicationService }, { token: ApplicationsService }, { token: i7.ConfirmationService }, { token: i3.ListService }], target: i0.ɵɵFactoryTarget.Component });
231
- ApplicationsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: ApplicationsComponent, selector: "abp-applications", providers: [
232
- ListService,
233
- {
234
- provide: EXTENSIONS_IDENTIFIER,
235
- useValue: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
236
- },
237
- ], ngImport: i0, template: "\r\n<abp-page [title]=\"'AbpOpenIddict::Applications' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"wrapper\">\r\n\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpOpenIddict\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n<abp-application-form-modal [selected]=\"selected\" (saved)=\"onSaved()\">\r\n</abp-application-form-modal>\r\n\r\n<abp-permission-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'C' },\r\n providerKey: { value: providerKey },\r\n visible: { value: visiblePermissions, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisiblePermissionChange },\r\n componentKey: 'PermissionManagement.PermissionManagementComponent'\r\n }\"\r\n [(visible)]=\"visiblePermissions\"\r\n providerName=\"C\"\r\n [providerKey]=\"providerKey\"\r\n>\r\n</abp-permission-management>\r\n", dependencies: [{ kind: "directive", type: i3.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], 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: i3.LocalizationPipe, name: "abpLocalization" }] });
238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ApplicationsComponent, decorators: [{
239
- type: Component,
240
- args: [{ selector: 'abp-applications', providers: [
241
- ListService,
242
- {
243
- provide: EXTENSIONS_IDENTIFIER,
244
- useValue: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
245
- },
246
- ], 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" }]
247
- }], ctorParameters: function () { return [{ type: i1.ApplicationService }, { type: ApplicationsService }, { type: i7.ConfirmationService }, { type: i3.ListService }]; } });
248
-
249
- const DEFAULT_APPLICATIONS_ENTITY_ACTIONS = EntityAction.createMany([
250
- {
251
- text: 'AbpOpenIddict::Edit',
252
- action: data => {
253
- const component = data.getInjected(ApplicationsComponent);
254
- component.edit(data.record.id);
255
- },
256
- permission: 'OpenIddictPro.Application.Update',
257
- },
258
- {
259
- text: 'AbpOpenIddict::ChangeHistory',
260
- action: data => {
261
- const showHistory = data.getInjected(SHOW_ENTITY_HISTORY);
262
- showHistory(data.record.id, 'Volo.Abp.OpenIddict.Applications.OpenIddictApplication');
263
- },
264
- permission: 'AuditLogging.ViewChangeHistory:Volo.Abp.OpenIddict.Pro.Applications.Application',
265
- },
266
- {
267
- text: 'AbpOpenIddict::Permissions',
268
- action: data => {
269
- const component = data.getInjected(ApplicationsComponent);
270
- component.openPermissionsModal(data.record.clientId);
271
- },
272
- permission: 'OpenIddictPro.Application.ManagePermissions',
273
- },
274
- {
275
- text: 'LanguageManagement::Delete',
276
- action: data => {
277
- const component = data.getInjected(ApplicationsComponent);
278
- component.delete(data.record.id, data.record.clientId);
279
- },
280
- permission: 'LanguageManagement.Languages.Delete',
281
- },
282
- ]);
283
-
284
- const DEFAULT_APPLICATIONS_ENTITY_PROPS = EntityProp.createMany([
285
- {
286
- type: "string" /* ePropType.String */,
287
- name: 'clientId',
288
- displayName: 'AbpOpenIddict::ClientId',
289
- columnWidth: 200,
290
- },
291
- {
292
- type: "string" /* ePropType.String */,
293
- name: 'displayName',
294
- displayName: 'AbpOpenIddict::DisplayName',
295
- columnWidth: 200,
296
- },
297
- {
298
- type: "string" /* ePropType.String */,
299
- name: 'type',
300
- displayName: 'AbpOpenIddict::Type',
301
- columnWidth: 200,
302
- },
303
- ]);
304
-
305
- const DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS = ToolbarAction.createMany([
306
- {
307
- text: 'AbpOpenIddict::NewApplication',
308
- action: data => {
309
- const component = data.getInjected(ApplicationsComponent);
310
- component.onAdd();
311
- },
312
- permission: 'OpenIddictPro.Application.Create',
313
- icon: 'fa fa-plus',
314
- },
315
- ]);
316
-
317
- const allowFlow = ({ allowImplicitFlow, allowAuthorizationCodeFlow, allowHybridFlow, }) => {
318
- return allowAuthorizationCodeFlow || allowImplicitFlow || allowHybridFlow;
319
- };
320
-
321
- const defaultUriPattern = /^([a-z][a-z0-9+.-]*):(?:\/\/((?:(?=((?:[a-z0-9-._~!$&'()*+,;=:]|%[0-9A-F]{2})*))(\3)@)?(?=(\[[0-9A-F:.]{2,}\]|(?:[a-z0-9-._~!$&'()*+,;=]|%[0-9A-F]{2})*))\5(?::(?=(\d*))\6)?)(\/(?=((?:[a-z0-9-._~!$&'()*+,;=:@\/]|%[0-9A-F]{2})*))\8)?|(\/?(?!\/)(?=((?:[a-z0-9-._~!$&'()*+,;=:@\/]|%[0-9A-F]{2})*))\10)?)(?:\?(?=((?:[a-z0-9-._~!$&'()*+,;=:@\/?]|%[0-9A-F]{2})*))\11)?(?:#(?=((?:[a-z0-9-._~!$&'()*+,;=:@\/?]|%[0-9A-F]{2})*))\12)?$/i;
322
-
323
- const NewLineRegex = /(\r\n|\r|\n)/;
324
-
325
- function UrisValidator() {
326
- const pattern = defaultUriPattern;
327
- return (control) => {
328
- if (isEmptyInputValue(control.value)) {
329
- return null;
330
- }
331
- const value = control.value;
332
- const rows = value.split(NewLineRegex).filter(item => !!item.trim());
333
- if (rows.length === 0) {
334
- return null;
335
- }
336
- const isAllRowsValid = rows.every(item => pattern.test(item));
337
- if (isAllRowsValid) {
338
- return null;
339
- }
340
- return { url: pattern.toString(), actualValue: value };
341
- };
342
- }
343
- function isEmptyInputValue(value) {
344
- return (value == null || ((typeof value === 'string' || Array.isArray(value)) && value.length === 0));
345
- }
346
-
347
- const groupLeft = {
348
- name: 'left',
349
- className: 'col col-md-6',
350
- };
351
- const groupRight = {
352
- name: 'right',
353
- className: 'col col-md-6',
354
- };
355
- const className = 'mb-1 form-group';
356
- const DEFAULT_APPLICATIONS_CREATE_FORM_PROPS = FormProp.createMany([
357
- {
358
- type: "string" /* ePropType.String */,
359
- name: 'clientId',
360
- displayName: 'AbpOpenIddict::ClientId',
361
- id: 'clientId',
362
- validators: () => [Validators.required],
363
- group: groupLeft,
364
- className: className,
365
- },
366
- {
367
- type: "string" /* ePropType.String */,
368
- name: 'displayName',
369
- displayName: 'AbpOpenIddict::DisplayName',
370
- id: 'displayName',
371
- validators: () => [Validators.required],
372
- group: groupLeft,
373
- className: className,
374
- },
375
- {
376
- type: "string" /* ePropType.String */,
377
- name: 'clientUri',
378
- displayName: 'AbpOpenIddict::ClientUri',
379
- id: 'clientUri',
380
- validators: () => [UrisValidator()],
381
- group: groupLeft,
382
- className: className,
383
- },
384
- {
385
- type: "string" /* ePropType.String */,
386
- name: 'logoUri',
387
- displayName: 'AbpOpenIddict::LogoUri',
388
- id: 'logoUri',
389
- group: groupLeft,
390
- className: className,
391
- },
392
- {
393
- type: "string" /* ePropType.String */,
394
- name: 'type',
395
- displayName: 'AbpOpenIddict::Type',
396
- id: 'type',
397
- validators: () => [Validators.required],
398
- options: data => data.getInjected(ApplicationFormModalComponent).types$,
399
- group: groupLeft,
400
- className: className,
401
- },
402
- {
403
- type: "string" /* ePropType.String */,
404
- name: 'clientSecret',
405
- displayName: 'AbpOpenIddict::ClientSecret',
406
- id: 'clientSecret',
407
- visible: data => {
408
- const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
409
- return formValue.type === defaultApplicationTypes.confidential;
410
- },
411
- group: groupLeft,
412
- className: className,
413
- },
414
- {
415
- type: "boolean" /* ePropType.Boolean */,
416
- defaultValue: false,
417
- name: 'allowAuthorizationCodeFlow',
418
- displayName: 'AbpOpenIddict::AllowAuthorizationCodeFlow',
419
- id: 'allowAuthorizationCodeFlow',
420
- group: groupRight,
421
- className: className,
422
- },
423
- {
424
- type: "boolean" /* ePropType.Boolean */,
425
- defaultValue: false,
426
- name: 'allowImplicitFlow',
427
- displayName: 'AbpOpenIddict::AllowImplicitFlow',
428
- id: 'allowImplicitFlow',
429
- group: groupRight,
430
- className: className,
431
- },
432
- {
433
- type: "boolean" /* ePropType.Boolean */,
434
- defaultValue: false,
435
- name: 'allowHybridFlow',
436
- displayName: 'AbpOpenIddict::AllowHybridFlow',
437
- id: 'allowHybridFlow',
438
- group: groupRight,
439
- className: className,
440
- },
441
- {
442
- type: "boolean" /* ePropType.Boolean */,
443
- defaultValue: false,
444
- name: 'allowPasswordFlow',
445
- displayName: 'AbpOpenIddict::AllowPasswordFlow',
446
- id: 'allowPasswordFlow',
447
- group: groupRight,
448
- className: className,
449
- },
450
- {
451
- type: "boolean" /* ePropType.Boolean */,
452
- defaultValue: false,
453
- name: 'allowClientCredentialsFlow',
454
- displayTextResolver: data => {
455
- return data
456
- .getInjected(ApplicationFormModalComponent)
457
- .changeTextToType('AbpOpenIddict::AllowClientCredentialsFlow');
458
- },
459
- disabled: data => {
460
- const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
461
- return formValue.type === defaultApplicationTypes.public;
462
- },
463
- id: 'allowClientCredentialsFlow',
464
- group: groupRight,
465
- className: className,
466
- },
467
- {
468
- type: "boolean" /* ePropType.Boolean */,
469
- defaultValue: false,
470
- name: 'allowRefreshTokenFlow',
471
- displayName: 'AbpOpenIddict::AllowRefreshTokenFlow',
472
- disabled: data => {
473
- const { allowHybridFlow, allowAuthorizationCodeFlow, allowPasswordFlow } = data
474
- .getInjected(ApplicationFormModalComponent)
475
- .getFormValue();
476
- return !(allowHybridFlow || allowAuthorizationCodeFlow || allowPasswordFlow);
477
- },
478
- id: 'allowRefreshTokenFlow',
479
- group: groupRight,
480
- className: className,
481
- },
482
- {
483
- type: "boolean" /* ePropType.Boolean */,
484
- defaultValue: false,
485
- name: 'allowDeviceEndpoint',
486
- displayTextResolver: data => {
487
- return data
488
- .getInjected(ApplicationFormModalComponent)
489
- .changeTextToType('AbpOpenIddict::AllowDeviceEndpoint');
490
- },
491
- disabled: data => {
492
- const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
493
- return formValue.type === defaultApplicationTypes.public;
494
- },
495
- id: 'allowDeviceEndpoint',
496
- group: groupRight,
497
- className: className,
498
- },
499
- {
500
- type: "string" /* ePropType.String */,
501
- name: 'consentType',
502
- displayName: 'AbpOpenIddict::ConsentType',
503
- id: 'consentType',
504
- options: data => data.getInjected(ApplicationFormModalComponent).consentTypes$,
505
- visible: data => {
506
- const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
507
- return allowFlow(formValue);
508
- },
509
- group: groupRight,
510
- className: className,
511
- },
512
- {
513
- type: "multiselect" /* ePropType.MultiSelect */,
514
- name: 'scopes',
515
- displayName: 'AbpOpenIddict::Scopes',
516
- id: 'scopes',
517
- options: data => {
518
- return data
519
- .getInjected(ScopeService)
520
- .getAllScopes()
521
- .pipe(map((result) => result.map(scope => ({
522
- key: scope.name,
523
- value: scope.name,
524
- }))));
525
- },
526
- group: groupRight,
527
- className: className,
528
- },
529
- {
530
- type: "text" /* ePropType.Text */,
531
- name: 'redirectUris',
532
- displayName: 'AbpOpenIddict::RedirectUris',
533
- id: 'redirectUris',
534
- validators: () => [UrisValidator()],
535
- visible: data => {
536
- const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
537
- return allowFlow(formValue);
538
- },
539
- group: groupRight,
540
- className: className,
541
- },
542
- {
543
- type: "boolean" /* ePropType.Boolean */,
544
- defaultValue: false,
545
- name: 'allowLogoutEndpoint',
546
- displayName: 'AbpOpenIddict::AllowLogoutEndpoint',
547
- id: 'allowLogoutEndpoint',
548
- visible: data => {
549
- const formValue = data.getInjected(ApplicationFormModalComponent).getFormValue();
550
- return allowFlow(formValue);
551
- },
552
- group: groupRight,
553
- className: className,
554
- },
555
- {
556
- type: "text" /* ePropType.Text */,
557
- name: 'postLogoutRedirectUris',
558
- displayName: 'AbpOpenIddict::PostLogoutRedirectUris',
559
- id: 'postLogoutRedirectUris',
560
- validators: () => [UrisValidator()],
561
- visible: data => {
562
- const { allowLogoutEndpoint } = data
563
- .getInjected(ApplicationFormModalComponent)
564
- .getFormValue();
565
- return allowLogoutEndpoint;
566
- },
567
- group: groupRight,
568
- className: className,
569
- },
570
- ]);
571
- const DEFAULT_APPLICATIONS_FORM_PROPS = DEFAULT_APPLICATIONS_CREATE_FORM_PROPS.concat(FormProp.createMany([
572
- {
573
- type: "boolean" /* ePropType.Boolean */,
574
- name: 'enabled',
575
- displayName: 'AbpOpenIddict::Enabled',
576
- id: 'enabled',
577
- defaultValue: false,
578
- group: groupRight,
579
- className: className,
580
- },
581
- ]));
582
-
583
- const DEFAULT_SCOPES_ENTITY_PROPS = EntityProp.createMany([
584
- {
585
- type: "string" /* ePropType.String */,
586
- name: 'name',
587
- displayName: 'AbpOpenIddict::Name',
588
- columnWidth: 200,
589
- },
590
- {
591
- type: "string" /* ePropType.String */,
592
- name: 'displayName',
593
- displayName: 'AbpOpenIddict::DisplayName',
594
- columnWidth: 200,
595
- },
596
- {
597
- type: "string" /* ePropType.String */,
598
- name: 'description',
599
- displayName: 'AbpOpenIddict::Description',
600
- columnWidth: 200,
601
- },
602
- ]);
603
-
604
- class ScopesService {
605
- constructor() {
606
- this.state = new InternalStore({ isModalVisible: false });
607
- this.isModalVisible$ = this.state.sliceState(x => x.isModalVisible);
608
- }
609
- openModal() {
610
- this.setModalState(true);
611
- }
612
- setModalState(value) {
613
- this.state.patch({ isModalVisible: value });
614
- }
615
- }
616
-
617
- class ScopeFormModalComponent {
618
- constructor(injector, scopesService, service) {
619
- this.injector = injector;
620
- this.scopesService = scopesService;
621
- this.service = service;
622
- this.saved = new EventEmitter();
623
- this.blueprints = { pattern: 'AbpOpenIddict::TheScopeNameCannotContainSpaces' };
624
- this.isModalVisible$ = this.scopesService.isModalVisible$;
625
- }
626
- ngOnChanges(changes) {
627
- this.createForm();
628
- }
629
- save() {
630
- if (this.form.invalid) {
631
- return;
632
- }
633
- const id = this.selected.id;
634
- const isEditMode = !!id;
635
- let sub;
636
- const value = Object.assign(Object.assign({}, this.form.value), { resources: hashSetParser(this.form.value.resources) });
637
- if (isEditMode) {
638
- sub = this.service.update(id, value);
639
- }
640
- else {
641
- sub = this.service.create(value);
642
- }
643
- sub.subscribe(() => {
644
- this.scopesService.setModalState(false);
645
- this.saved.emit();
646
- });
647
- }
648
- visibleChange($event) {
649
- this.scopesService.setModalState($event);
650
- }
651
- createForm() {
652
- var _a;
653
- const selected = ((_a = this.selected) === null || _a === void 0 ? void 0 : _a.id)
654
- ? Object.assign(Object.assign({}, this.selected), { resources: hashSetParser(this.selected.resources) }) : {};
655
- const data = new FormPropData(this.injector, selected);
656
- this.form = generateFormFromProps(data);
657
- }
658
- }
659
- ScopeFormModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ScopeFormModalComponent, deps: [{ token: i0.Injector }, { token: ScopesService }, { token: i1.ScopeService }], target: i0.ɵɵFactoryTarget.Component });
660
- ScopeFormModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", 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: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i5.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: i6.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i7.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i7.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i7.ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: i8.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] });
661
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ScopeFormModalComponent, decorators: [{
662
- type: Component,
663
- 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" }]
664
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: ScopesService }, { type: i1.ScopeService }]; }, propDecorators: { selected: [{
665
- type: Input
666
- }], saved: [{
667
- type: Output
668
- }] } });
669
-
670
- class ScopesComponent {
671
- constructor(list, service, scopesService, confirmationService) {
672
- this.list = list;
673
- this.service = service;
674
- this.scopesService = scopesService;
675
- this.confirmationService = confirmationService;
676
- this.data = { items: [], totalCount: 0 };
677
- this.selected = {};
678
- }
679
- hookToQuery() {
680
- this.list.hookToQuery(query => this.service.getList(query)).subscribe(res => (this.data = res));
681
- }
682
- ngOnInit() {
683
- this.hookToQuery();
684
- }
685
- onAdd() {
686
- this.selected = {};
687
- this.scopesService.openModal();
688
- }
689
- onEdit(id) {
690
- this.service.get(id).subscribe(res => {
691
- this.selected = res;
692
- this.scopesService.openModal();
693
- });
694
- }
695
- onDelete(id, name) {
696
- const sub = this.confirmationService
697
- .warn('AbpOpenIddict::ScopeDeletionWarningMessage', 'AbpOpenIddict::AreYouSure', {
698
- messageLocalizationParams: [name],
699
- })
700
- .subscribe((status) => {
701
- if (status === Confirmation.Status.confirm) {
702
- this.service.delete(id).subscribe(() => this.list.get());
703
- }
704
- });
705
- }
706
- onSaved() {
707
- this.list.get();
708
- }
709
- }
710
- ScopesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ScopesComponent, deps: [{ token: i3.ListService }, { token: i1.ScopeService }, { token: ScopesService }, { token: i7.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component });
711
- ScopesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: ScopesComponent, selector: "abp-scopes", providers: [
712
- ListService,
713
- {
714
- provide: EXTENSIONS_IDENTIFIER,
715
- useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
716
- },
717
- ], ngImport: i0, template: "<abp-page [title]=\"'AbpOpenIddict::Scopes' | abpLocalization\" [toolbar]=\"data.items\">\r\n <div id=\"wrapper\">\r\n\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"AbpOpenIddict\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n\r\n <div class=\"card\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n</abp-page>\r\n\r\n<abp-scope-form-modal [selected]=\"selected\" (saved)=\"onSaved()\">\r\n</abp-scope-form-modal>\r\n", dependencies: [{ kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: 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: i3.LocalizationPipe, name: "abpLocalization" }] });
718
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ScopesComponent, decorators: [{
719
- type: Component,
720
- args: [{ selector: 'abp-scopes', providers: [
721
- ListService,
722
- {
723
- provide: EXTENSIONS_IDENTIFIER,
724
- useValue: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
725
- },
726
- ], 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" }]
727
- }], ctorParameters: function () { return [{ type: i3.ListService }, { type: i1.ScopeService }, { type: ScopesService }, { type: i7.ConfirmationService }]; } });
728
-
729
- const DEFAULT_SCOPES_TOOLBAR_ACTIONS = ToolbarAction.createMany([
730
- {
731
- text: 'AbpOpenIddict::NewScope',
732
- action: data => {
733
- const component = data.getInjected(ScopesComponent);
734
- component.onAdd();
735
- },
736
- permission: 'OpenIddictPro.Scope.Create',
737
- icon: 'fa fa-plus',
738
- },
739
- ]);
740
-
741
- const DEFAULT_SCOPE_CREATE_FORM_PROPS = FormProp.createMany([
742
- {
743
- type: "string" /* ePropType.String */,
744
- name: 'name',
745
- displayName: 'AbpOpenIddict::Name',
746
- id: 'name',
747
- validators: () => [Validators.required, Validators.pattern(/^\S+$/)],
748
- },
749
- {
750
- type: "string" /* ePropType.String */,
751
- name: 'displayName',
752
- displayName: 'AbpOpenIddict::DisplayName',
753
- id: 'displayName',
754
- },
755
- {
756
- type: "string" /* ePropType.String */,
757
- name: 'description',
758
- displayName: 'AbpOpenIddict::Description',
759
- id: 'description',
760
- },
761
- {
762
- type: "text" /* ePropType.Text */,
763
- name: 'resources',
764
- displayName: 'AbpOpenIddict::Resources',
765
- id: 'resources',
766
- },
767
- ]);
768
- const DEFAULT_SCOPES_FORM_PROPS = DEFAULT_SCOPE_CREATE_FORM_PROPS;
769
-
770
- const DEFAULT_SCOPE_ENTITY_ACTIONS = EntityAction.createMany([
771
- {
772
- text: 'AbpOpenIddict::Edit',
773
- action: data => {
774
- const component = data.getInjected(ScopesComponent);
775
- component.onEdit(data.record.id);
776
- },
777
- permission: 'OpenIddictPro.Scope.Update',
778
- },
779
- {
780
- text: 'AbpOpenIddict::ChangeHistory',
781
- action: data => {
782
- const showHistory = data.getInjected(SHOW_ENTITY_HISTORY);
783
- showHistory(data.record.id, 'Volo.Abp.OpenIddict.Scopes.OpenIddictScope');
784
- },
785
- permission: 'AuditLogging.ViewChangeHistory:Volo.Abp.OpenIddict.Pro.Scopes.Scope',
786
- visible: data => Boolean(data.getInjected(SHOW_ENTITY_HISTORY, null)),
787
- },
788
- {
789
- text: 'AbpOpenIddict::Delete',
790
- action: data => {
791
- const component = data.getInjected(ScopesComponent);
792
- component.onDelete(data.record.id, data.record.name);
793
- },
794
- permission: 'OpenIddictPro.Scope.Delete',
795
- },
796
- ]);
797
-
798
- const DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS = {
799
- ["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_ENTITY_ACTIONS,
800
- ["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPE_ENTITY_ACTIONS,
801
- };
802
- const DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS = {
803
- ["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS,
804
- ["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPES_TOOLBAR_ACTIONS,
805
- };
806
- const DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS = {
807
- ["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_ENTITY_PROPS,
808
- ["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPES_ENTITY_PROPS,
809
- };
810
- const DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS = {
811
- ["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_CREATE_FORM_PROPS,
812
- ["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPE_CREATE_FORM_PROPS,
813
- };
814
- const DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS = {
815
- ["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: DEFAULT_APPLICATIONS_FORM_PROPS,
816
- ["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: DEFAULT_SCOPES_FORM_PROPS,
817
- };
818
- const OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS = new InjectionToken('OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS');
819
- const OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS = new InjectionToken('OPENIDDICT_PRO__TOOLBAR_ACTION_CONTRIBUTORS');
820
- const OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS = new InjectionToken('OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS');
821
- const OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS = new InjectionToken('OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS');
822
- const OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS = new InjectionToken('OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS');
823
-
824
- class OpenIddictProExtensionsGuard {
825
- constructor(injector) {
826
- this.injector = injector;
827
- }
828
- canActivate() {
829
- const extensions = this.injector.get(ExtensionsService);
830
- const actionContributors = this.injector.get(OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS, null) || {};
831
- const toolbarContributors = this.injector.get(OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS, null) || {};
832
- const propContributors = this.injector.get(OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS, null) || {};
833
- const createFormContributors = this.injector.get(OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS, null) || {};
834
- const editFormContributors = this.injector.get(OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS, null) || {};
835
- const configState = this.injector.get(ConfigStateService);
836
- return getObjectExtensionEntitiesFromStore(configState, 'OpenIddictPro').pipe(map(entities => {
837
- return {
838
- ["OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */]: entities.ApiResource,
839
- ["OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */]: entities.Scopes,
840
- };
841
- }), mapEntitiesToContributors(configState, 'AbpOpenIddictPro'), tap(objectExtensionContributors => {
842
- mergeWithDefaultActions(extensions.entityActions, DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS, actionContributors);
843
- mergeWithDefaultActions(extensions.toolbarActions, DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS, toolbarContributors);
844
- mergeWithDefaultProps(extensions.entityProps, DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
845
- mergeWithDefaultProps(extensions.createFormProps, DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS, objectExtensionContributors.createForm, createFormContributors);
846
- mergeWithDefaultProps(extensions.editFormProps, DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS, objectExtensionContributors.editForm, editFormContributors);
847
- }), mapTo(true));
848
- }
849
- }
850
- OpenIddictProExtensionsGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OpenIddictProExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
851
- OpenIddictProExtensionsGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OpenIddictProExtensionsGuard });
852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OpenIddictProExtensionsGuard, decorators: [{
853
- type: Injectable
854
- }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
855
-
856
- const routes = [
857
- { path: '', redirectTo: 'Applications', pathMatch: 'full' },
858
- {
859
- path: '',
860
- component: RouterOutletComponent,
861
- canActivate: [AuthGuard, PermissionGuard, OpenIddictProExtensionsGuard],
862
- children: [
863
- {
864
- path: 'Applications',
865
- component: ReplaceableRouteContainerComponent,
866
- data: {
867
- requiredPolicy: 'OpenIddictPro.Application',
868
- replaceableComponent: {
869
- key: "OpenIddictPro.Applications" /* eOpenIddictProComponents.Applications */,
870
- defaultComponent: ApplicationsComponent,
871
- },
872
- },
873
- },
874
- {
875
- path: 'Scopes',
876
- component: ReplaceableRouteContainerComponent,
877
- data: {
878
- requiredPolicy: 'OpenIddictPro.Scopes',
879
- replaceableComponent: {
880
- key: "OpenIddictPro.Scopes" /* eOpenIddictProComponents.Scopes */,
881
- defaultComponent: ScopesComponent,
882
- },
883
- },
884
- },
885
- ],
886
- },
887
- ];
888
- class OpeniddictproRoutingModule {
889
- }
890
- OpeniddictproRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OpeniddictproRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
891
- OpeniddictproRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.1", ngImport: i0, type: OpeniddictproRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] });
892
- OpeniddictproRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OpeniddictproRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
893
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OpeniddictproRoutingModule, decorators: [{
894
- type: NgModule,
895
- args: [{
896
- imports: [RouterModule.forChild(routes)],
897
- exports: [RouterModule],
898
- }]
899
- }] });
900
-
901
- const components = [
902
- ApplicationsComponent,
903
- ApplicationFormModalComponent,
904
- ScopesComponent,
905
- ScopeFormModalComponent,
906
- ];
907
- class OpeniddictproModule {
908
- static forChild(options = {}) {
909
- return {
910
- ngModule: OpeniddictproModule,
911
- providers: [
912
- {
913
- provide: OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS,
914
- useValue: options.entityActionContributors,
915
- },
916
- {
917
- provide: OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS,
918
- useValue: options.toolbarActionContributors,
919
- },
920
- {
921
- provide: OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS,
922
- useValue: options.entityPropContributors,
923
- },
924
- {
925
- provide: OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS,
926
- useValue: options.createFormPropContributors,
927
- },
928
- {
929
- provide: OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS,
930
- useValue: options.editFormPropContributors,
931
- },
932
- OpenIddictProExtensionsGuard,
933
- ApplicationsService,
934
- ScopesService,
935
- ],
936
- };
937
- }
938
- static forLazy(options = {}) {
939
- return new LazyModuleFactory(OpeniddictproModule.forChild(options));
940
- }
941
- }
942
- OpeniddictproModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OpeniddictproModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
943
- OpeniddictproModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.1", ngImport: i0, type: OpeniddictproModule, declarations: [ApplicationsComponent,
944
- ApplicationFormModalComponent,
945
- ScopesComponent,
946
- ScopeFormModalComponent], imports: [OpeniddictproRoutingModule,
947
- CoreModule,
948
- CommercialUiModule,
949
- ThemeSharedModule,
950
- NgbDropdownModule,
951
- NgxValidateCoreModule,
952
- PageModule,
953
- AdvancedEntityFiltersModule,
954
- PermissionManagementModule], exports: [ApplicationsComponent,
955
- ApplicationFormModalComponent,
956
- ScopesComponent,
957
- ScopeFormModalComponent] });
958
- OpeniddictproModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OpeniddictproModule, imports: [OpeniddictproRoutingModule,
959
- CoreModule,
960
- CommercialUiModule,
961
- ThemeSharedModule,
962
- NgbDropdownModule,
963
- NgxValidateCoreModule,
964
- PageModule,
965
- AdvancedEntityFiltersModule,
966
- PermissionManagementModule] });
967
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: OpeniddictproModule, decorators: [{
968
- type: NgModule,
969
- args: [{
970
- imports: [
971
- OpeniddictproRoutingModule,
972
- CoreModule,
973
- CommercialUiModule,
974
- ThemeSharedModule,
975
- NgbDropdownModule,
976
- NgxValidateCoreModule,
977
- PageModule,
978
- AdvancedEntityFiltersModule,
979
- PermissionManagementModule,
980
- ],
981
- declarations: [...components],
982
- exports: [...components],
983
- }]
984
- }] });
985
-
986
- /**
987
- * Generated bundle index. Do not edit.
988
- */
989
-
990
- export { ApplicationFormModalComponent, ApplicationsComponent, ApplicationsService, DEFAULT_APPLICATIONS_CREATE_FORM_PROPS, DEFAULT_APPLICATIONS_ENTITY_ACTIONS, DEFAULT_APPLICATIONS_ENTITY_PROPS, DEFAULT_APPLICATIONS_FORM_PROPS, DEFAULT_APPLICATIONS_TOOLBAR_ACTIONS, DEFAULT_OPENIDDICT_PRO_CREATE_FORM_PROPS, DEFAULT_OPENIDDICT_PRO_EDIT_FORM_PROPS, DEFAULT_OPENIDDICT_PRO_ENTITY_ACTIONS, DEFAULT_OPENIDDICT_PRO_ENTITY_PROPS, DEFAULT_OPENIDDICT_PRO_TOOLBAR_ACTIONS, DEFAULT_SCOPES_ENTITY_PROPS, DEFAULT_SCOPES_FORM_PROPS, DEFAULT_SCOPES_TOOLBAR_ACTIONS, DEFAULT_SCOPE_CREATE_FORM_PROPS, DEFAULT_SCOPE_ENTITY_ACTIONS, DefaultApplicationsConsentType, OPENIDDICT_PRO_CREATE_FORM_PROP_CONTRIBUTORS, OPENIDDICT_PRO_EDIT_FORM_PROP_CONTRIBUTORS, OPENIDDICT_PRO_ENTITY_ACTION_CONTRIBUTORS, OPENIDDICT_PRO_ENTITY_PROP_CONTRIBUTORS, OPENIDDICT_PRO_TOOLBAR_ACTION_CONTRIBUTORS, OpenIddictProExtensionsGuard, OpeniddictproModule, ScopeFormModalComponent, ScopesComponent, ScopesService, UrisValidator, allowFlow, defaultApplicationTypes, defaultApplicationsTypeList, defaultUriPattern, hashSetParser };
991
- //# sourceMappingURL=volo-abp.ng.openiddictpro.mjs.map