@valtimo/plugin 5.5.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -9
- package/esm2020/lib/components/plugin-configuration-container/plugin-configuration-container.component.mjs +1 -1
- package/esm2020/lib/models/plugin.mjs +1 -1
- package/esm2020/lib/plugins/documenten-api/components/documenten-api-configuration/documenten-api-configuration.component.mjs +28 -11
- package/esm2020/lib/plugins/documenten-api/components/store-temp-document/store-temp-document-configuration.component.mjs +3 -3
- package/esm2020/lib/plugins/documenten-api/documenten-api-plugin.specification.mjs +31 -4
- package/esm2020/lib/plugins/documenten-api/models/config.mjs +1 -1
- package/esm2020/lib/plugins/object-token-authentication/assets/object-token-authentication-plugin-logo.mjs +18 -0
- package/esm2020/lib/plugins/object-token-authentication/components/object-token-authentication-configuration/object-token-authencation-configuration.component.mjs +74 -0
- package/esm2020/lib/plugins/object-token-authentication/models/config.mjs +17 -0
- package/esm2020/lib/plugins/object-token-authentication/models/index.mjs +17 -0
- package/esm2020/lib/plugins/object-token-authentication/object-token-authentication-plugin.module.mjs +35 -0
- package/esm2020/lib/plugins/object-token-authentication/object-token-authentication-plugin.specification.mjs +47 -0
- package/esm2020/lib/plugins/objecten-api/assets/index.mjs +17 -0
- package/esm2020/lib/plugins/objecten-api/assets/objecten-api-plugin-logo.mjs +18 -0
- package/esm2020/lib/plugins/objecten-api/components/objecten-api-configuration/objecten-api-configuration.component.mjs +88 -0
- package/esm2020/lib/plugins/objecten-api/models/config.mjs +17 -0
- package/esm2020/lib/plugins/objecten-api/models/index.mjs +17 -0
- package/esm2020/lib/plugins/objecten-api/objecten-api-plugin-module.mjs +54 -0
- package/esm2020/lib/plugins/objecten-api/objecten-api-plugin.specification.mjs +53 -0
- package/esm2020/lib/plugins/objecttypen-api/assets/index.mjs +17 -0
- package/esm2020/lib/plugins/objecttypen-api/assets/objecttypen-api-plugin-logo.mjs +18 -0
- package/esm2020/lib/plugins/objecttypen-api/components/objecttypen-api-configuration/objecttypen-api-configuration.component.mjs +88 -0
- package/esm2020/lib/plugins/objecttypen-api/models/config.mjs +17 -0
- package/esm2020/lib/plugins/objecttypen-api/models/index.mjs +17 -0
- package/esm2020/lib/plugins/objecttypen-api/objecttypen-api-plugin-module.mjs +54 -0
- package/esm2020/lib/plugins/objecttypen-api/objecttypen-api-plugin.specification.mjs +53 -0
- package/esm2020/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.mjs +6 -9
- package/esm2020/lib/plugins/open-zaak/models/config.mjs +1 -1
- package/esm2020/lib/plugins/open-zaak/open-zaak-plugin.module.mjs +7 -61
- package/esm2020/lib/plugins/open-zaak/open-zaak-plugin.specification.mjs +13 -59
- package/esm2020/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.mjs +3 -3
- package/esm2020/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.mjs +5 -3
- package/esm2020/lib/plugins/smart-documents/smart-documents-plugin.specification.mjs +7 -1
- package/esm2020/lib/plugins/zaken-api/assets/index.mjs +17 -0
- package/esm2020/lib/plugins/zaken-api/assets/zaken-api-plugin-logo.mjs +18 -0
- package/esm2020/lib/plugins/zaken-api/components/link-document-to-zaak/link-document-to-zaak-configuration.component.mjs +86 -0
- package/esm2020/lib/plugins/zaken-api/components/zaken-api-configuration/zaken-api-configuration.component.mjs +88 -0
- package/esm2020/lib/plugins/zaken-api/models/config.mjs +17 -0
- package/esm2020/lib/plugins/zaken-api/models/index.mjs +17 -0
- package/esm2020/lib/plugins/zaken-api/zaken-api-plugin.module.mjs +55 -0
- package/esm2020/lib/plugins/zaken-api/zaken-api-plugin.specification.mjs +87 -0
- package/esm2020/lib/services/index.mjs +2 -1
- package/esm2020/lib/services/plugin-management.service.mjs +84 -0
- package/esm2020/public-api.mjs +18 -6
- package/fesm2015/valtimo-plugin.mjs +1029 -452
- package/fesm2015/valtimo-plugin.mjs.map +1 -1
- package/fesm2020/valtimo-plugin.mjs +1012 -438
- package/fesm2020/valtimo-plugin.mjs.map +1 -1
- package/lib/models/plugin.d.ts +25 -1
- package/lib/models/plugin.d.ts.map +1 -1
- package/lib/plugins/documenten-api/components/documenten-api-configuration/documenten-api-configuration.component.d.ts +12 -1
- package/lib/plugins/documenten-api/components/documenten-api-configuration/documenten-api-configuration.component.d.ts.map +1 -1
- package/lib/plugins/documenten-api/documenten-api-plugin.specification.d.ts.map +1 -1
- package/lib/plugins/documenten-api/models/config.d.ts +2 -0
- package/lib/plugins/documenten-api/models/config.d.ts.map +1 -1
- package/lib/plugins/object-token-authentication/assets/object-token-authentication-plugin-logo.d.ts +3 -0
- package/lib/plugins/object-token-authentication/assets/object-token-authentication-plugin-logo.d.ts.map +1 -0
- package/lib/plugins/object-token-authentication/components/object-token-authentication-configuration/object-token-authencation-configuration.component.d.ts +24 -0
- package/lib/plugins/object-token-authentication/components/object-token-authentication-configuration/object-token-authencation-configuration.component.d.ts.map +1 -0
- package/lib/plugins/object-token-authentication/models/config.d.ts +6 -0
- package/lib/plugins/object-token-authentication/models/config.d.ts.map +1 -0
- package/lib/plugins/object-token-authentication/models/index.d.ts +2 -0
- package/lib/plugins/object-token-authentication/models/index.d.ts.map +1 -0
- package/lib/plugins/object-token-authentication/object-token-authentication-plugin.module.d.ts +11 -0
- package/lib/plugins/object-token-authentication/object-token-authentication-plugin.module.d.ts.map +1 -0
- package/lib/plugins/object-token-authentication/object-token-authentication-plugin.specification.d.ts +4 -0
- package/lib/plugins/object-token-authentication/object-token-authentication-plugin.specification.d.ts.map +1 -0
- package/lib/plugins/objecten-api/assets/index.d.ts +2 -0
- package/lib/plugins/objecten-api/assets/index.d.ts.map +1 -0
- package/lib/plugins/objecten-api/assets/objecten-api-plugin-logo.d.ts +3 -0
- package/lib/plugins/objecten-api/assets/objecten-api-plugin-logo.d.ts.map +1 -0
- package/lib/plugins/objecten-api/components/objecten-api-configuration/objecten-api-configuration.component.d.ts +34 -0
- package/lib/plugins/objecten-api/components/objecten-api-configuration/objecten-api-configuration.component.d.ts.map +1 -0
- package/lib/plugins/objecten-api/models/config.d.ts +7 -0
- package/lib/plugins/objecten-api/models/config.d.ts.map +1 -0
- package/lib/plugins/objecten-api/models/index.d.ts +2 -0
- package/lib/plugins/objecten-api/models/index.d.ts.map +1 -0
- package/lib/plugins/objecten-api/objecten-api-plugin-module.d.ts +11 -0
- package/lib/plugins/objecten-api/objecten-api-plugin-module.d.ts.map +1 -0
- package/lib/plugins/objecten-api/objecten-api-plugin.specification.d.ts +4 -0
- package/lib/plugins/objecten-api/objecten-api-plugin.specification.d.ts.map +1 -0
- package/lib/plugins/objecttypen-api/assets/index.d.ts +2 -0
- package/lib/plugins/objecttypen-api/assets/index.d.ts.map +1 -0
- package/lib/plugins/objecttypen-api/assets/objecttypen-api-plugin-logo.d.ts +3 -0
- package/lib/plugins/objecttypen-api/assets/objecttypen-api-plugin-logo.d.ts.map +1 -0
- package/lib/plugins/objecttypen-api/components/objecttypen-api-configuration/objecttypen-api-configuration.component.d.ts +34 -0
- package/lib/plugins/objecttypen-api/components/objecttypen-api-configuration/objecttypen-api-configuration.component.d.ts.map +1 -0
- package/lib/plugins/objecttypen-api/models/config.d.ts +7 -0
- package/lib/plugins/objecttypen-api/models/config.d.ts.map +1 -0
- package/lib/plugins/objecttypen-api/models/index.d.ts +2 -0
- package/lib/plugins/objecttypen-api/models/index.d.ts.map +1 -0
- package/lib/plugins/objecttypen-api/objecttypen-api-plugin-module.d.ts +11 -0
- package/lib/plugins/objecttypen-api/objecttypen-api-plugin-module.d.ts.map +1 -0
- package/lib/plugins/objecttypen-api/objecttypen-api-plugin.specification.d.ts +4 -0
- package/lib/plugins/objecttypen-api/objecttypen-api-plugin.specification.d.ts.map +1 -0
- package/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.d.ts +2 -1
- package/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.d.ts.map +1 -1
- package/lib/plugins/open-zaak/models/config.d.ts +1 -5
- package/lib/plugins/open-zaak/models/config.d.ts.map +1 -1
- package/lib/plugins/open-zaak/open-zaak-plugin.module.d.ts +4 -9
- package/lib/plugins/open-zaak/open-zaak-plugin.module.d.ts.map +1 -1
- package/lib/plugins/open-zaak/open-zaak-plugin.specification.d.ts.map +1 -1
- package/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.d.ts +2 -1
- package/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.d.ts.map +1 -1
- package/lib/plugins/smart-documents/smart-documents-plugin.specification.d.ts.map +1 -1
- package/lib/plugins/zaken-api/assets/index.d.ts +2 -0
- package/lib/plugins/zaken-api/assets/index.d.ts.map +1 -0
- package/lib/plugins/zaken-api/assets/zaken-api-plugin-logo.d.ts +3 -0
- package/lib/plugins/zaken-api/assets/zaken-api-plugin-logo.d.ts.map +1 -0
- package/lib/plugins/zaken-api/components/link-document-to-zaak/link-document-to-zaak-configuration.component.d.ts +34 -0
- package/lib/plugins/zaken-api/components/link-document-to-zaak/link-document-to-zaak-configuration.component.d.ts.map +1 -0
- package/lib/plugins/zaken-api/components/zaken-api-configuration/zaken-api-configuration.component.d.ts +34 -0
- package/lib/plugins/zaken-api/components/zaken-api-configuration/zaken-api-configuration.component.d.ts.map +1 -0
- package/lib/plugins/zaken-api/models/config.d.ts +12 -0
- package/lib/plugins/zaken-api/models/config.d.ts.map +1 -0
- package/lib/plugins/zaken-api/models/index.d.ts +2 -0
- package/lib/plugins/zaken-api/models/index.d.ts.map +1 -0
- package/lib/plugins/zaken-api/zaken-api-plugin.module.d.ts +12 -0
- package/lib/plugins/zaken-api/zaken-api-plugin.module.d.ts.map +1 -0
- package/lib/plugins/zaken-api/zaken-api-plugin.specification.d.ts +4 -0
- package/lib/plugins/zaken-api/zaken-api-plugin.specification.d.ts.map +1 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/plugin-management.service.d.ts +28 -0
- package/lib/services/plugin-management.service.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +13 -5
- package/public-api.d.ts.map +1 -1
- package/esm2020/lib/plugins/open-zaak/components/create-zaak-configuration/create-zaak-configuration.component.mjs +0 -66
- package/esm2020/lib/plugins/open-zaak/components/select-zaak-type/select-zaak-type.component.mjs +0 -65
- package/esm2020/lib/plugins/open-zaak/components/set-besluit-configuration/set-besluit-configuration.component.mjs +0 -85
- package/esm2020/lib/plugins/open-zaak/components/set-resultaat-configuration/set-resultaat-configuration.component.mjs +0 -95
- package/esm2020/lib/plugins/open-zaak/components/set-status-configuration/set-status-configuration.component.mjs +0 -90
- package/lib/plugins/open-zaak/components/create-zaak-configuration/create-zaak-configuration.component.d.ts +0 -21
- package/lib/plugins/open-zaak/components/create-zaak-configuration/create-zaak-configuration.component.d.ts.map +0 -1
- package/lib/plugins/open-zaak/components/select-zaak-type/select-zaak-type.component.d.ts +0 -23
- package/lib/plugins/open-zaak/components/select-zaak-type/select-zaak-type.component.d.ts.map +0 -1
- package/lib/plugins/open-zaak/components/set-besluit-configuration/set-besluit-configuration.component.d.ts +0 -28
- package/lib/plugins/open-zaak/components/set-besluit-configuration/set-besluit-configuration.component.d.ts.map +0 -1
- package/lib/plugins/open-zaak/components/set-resultaat-configuration/set-resultaat-configuration.component.d.ts +0 -28
- package/lib/plugins/open-zaak/components/set-resultaat-configuration/set-resultaat-configuration.component.d.ts.map +0 -1
- package/lib/plugins/open-zaak/components/set-status-configuration/set-status-configuration.component.d.ts +0 -28
- package/lib/plugins/open-zaak/components/set-status-configuration/set-status-configuration.component.d.ts.map +0 -1
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, Injectable, Inject, Pipe, NgModule, EventEmitter, ViewContainerRef, Component, ViewChild, Input, Output } from '@angular/core';
|
|
3
|
-
import { BehaviorSubject, combineLatest, take,
|
|
4
|
-
import { map, tap
|
|
5
|
-
import * as
|
|
3
|
+
import { BehaviorSubject, combineLatest, take, map as map$1 } from 'rxjs';
|
|
4
|
+
import { map, tap } from 'rxjs/operators';
|
|
5
|
+
import * as i2 from '@ngx-translate/core';
|
|
6
6
|
import { TranslateModule } from '@ngx-translate/core';
|
|
7
|
-
import * as i1
|
|
8
|
-
import
|
|
9
|
-
import * as
|
|
7
|
+
import * as i1 from '@valtimo/config';
|
|
8
|
+
import * as i3 from '@angular/platform-browser';
|
|
9
|
+
import * as i4 from '@angular/common/http';
|
|
10
|
+
import * as i3$1 from '@valtimo/user-interface';
|
|
11
|
+
import { ParagraphModule, FormModule, InputModule, SelectModule, MultiInputModule } from '@valtimo/user-interface';
|
|
12
|
+
import * as i4$1 from '@angular/common';
|
|
10
13
|
import { CommonModule } from '@angular/common';
|
|
11
|
-
import * as i1$2 from '@valtimo/resource';
|
|
12
14
|
|
|
13
15
|
/*
|
|
14
16
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -125,14 +127,87 @@ class PluginTranslationService {
|
|
|
125
127
|
return translation || `${pluginDefinitionKey}.${translateKey}`;
|
|
126
128
|
}
|
|
127
129
|
}
|
|
128
|
-
PluginTranslationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslationService, deps: [{ token:
|
|
130
|
+
PluginTranslationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslationService, deps: [{ token: i2.TranslateService }, { token: PluginService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
129
131
|
PluginTranslationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslationService, providedIn: 'root' });
|
|
130
132
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslationService, decorators: [{
|
|
131
133
|
type: Injectable,
|
|
132
134
|
args: [{
|
|
133
135
|
providedIn: 'root',
|
|
134
136
|
}]
|
|
135
|
-
}], ctorParameters: function () { return [{ type:
|
|
137
|
+
}], ctorParameters: function () { return [{ type: i2.TranslateService }, { type: PluginService }]; } });
|
|
138
|
+
|
|
139
|
+
/*
|
|
140
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
141
|
+
*
|
|
142
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
143
|
+
* you may not use this file except in compliance with the License.
|
|
144
|
+
* You may obtain a copy of the License at
|
|
145
|
+
*
|
|
146
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
147
|
+
*
|
|
148
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
149
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
150
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
151
|
+
* See the License for the specific language governing permissions and
|
|
152
|
+
* limitations under the License.
|
|
153
|
+
*/
|
|
154
|
+
class PluginManagementService {
|
|
155
|
+
constructor(configService, pluginService, sanitizer, http) {
|
|
156
|
+
this.configService = configService;
|
|
157
|
+
this.pluginService = pluginService;
|
|
158
|
+
this.sanitizer = sanitizer;
|
|
159
|
+
this.http = http;
|
|
160
|
+
this.VALTIMO_API_ENDPOINT_URI = this.configService.config.valtimoApi.endpointUri;
|
|
161
|
+
}
|
|
162
|
+
getPluginDefinitions() {
|
|
163
|
+
return this.http.get(`${this.VALTIMO_API_ENDPOINT_URI}plugin/definition`);
|
|
164
|
+
}
|
|
165
|
+
getPluginFunctions(pluginDefinitionId) {
|
|
166
|
+
return this.http.get(`${this.VALTIMO_API_ENDPOINT_URI}plugin/definition/${pluginDefinitionId}/action`);
|
|
167
|
+
}
|
|
168
|
+
getAllPluginConfigurations() {
|
|
169
|
+
return this.http.get(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration`);
|
|
170
|
+
}
|
|
171
|
+
getPluginConfigurationsByCategory(categoryId) {
|
|
172
|
+
return this.http.get(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration?category=${categoryId}`);
|
|
173
|
+
}
|
|
174
|
+
getPluginConfigurationsWithActionsForActivityType(activityType) {
|
|
175
|
+
return this.http.get(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration?activityType=${activityType}`);
|
|
176
|
+
}
|
|
177
|
+
getAllPluginConfigurationsWithLogos(activityType) {
|
|
178
|
+
return activityType && activityType.length > 0
|
|
179
|
+
? this.returnPluginConfigurationsWithLogos(this.getPluginConfigurationsWithActionsForActivityType(activityType))
|
|
180
|
+
: this.returnPluginConfigurationsWithLogos(this.getAllPluginConfigurations());
|
|
181
|
+
}
|
|
182
|
+
savePluginConfiguration(pluginConfiguration) {
|
|
183
|
+
return this.http.post(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration`, pluginConfiguration);
|
|
184
|
+
}
|
|
185
|
+
updatePluginConfiguration(configurationId, configurationTitle, configurationProperties) {
|
|
186
|
+
return this.http.put(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration/${configurationId}`, {
|
|
187
|
+
title: configurationTitle,
|
|
188
|
+
properties: configurationProperties,
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
deletePluginConfiguration(configurationId) {
|
|
192
|
+
return this.http.delete(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration/${configurationId}`);
|
|
193
|
+
}
|
|
194
|
+
returnPluginConfigurationsWithLogos(pluginConfigurations$) {
|
|
195
|
+
return combineLatest([pluginConfigurations$, this.pluginService.pluginSpecifications$]).pipe(map(([pluginConfigurations, pluginSpecifications]) => pluginConfigurations === null || pluginConfigurations === void 0 ? void 0 : pluginConfigurations.map(pluginConfiguration => {
|
|
196
|
+
const pluginSpecification = pluginSpecifications.find(specification => { var _a; return specification.pluginId === ((_a = pluginConfiguration === null || pluginConfiguration === void 0 ? void 0 : pluginConfiguration.pluginDefinition) === null || _a === void 0 ? void 0 : _a.key); });
|
|
197
|
+
return Object.assign(Object.assign({}, pluginConfiguration), ((pluginSpecification === null || pluginSpecification === void 0 ? void 0 : pluginSpecification.pluginLogoBase64) && {
|
|
198
|
+
pluginLogoBase64: this.sanitizer.bypassSecurityTrustResourceUrl(pluginSpecification === null || pluginSpecification === void 0 ? void 0 : pluginSpecification.pluginLogoBase64),
|
|
199
|
+
}));
|
|
200
|
+
})));
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
PluginManagementService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginManagementService, deps: [{ token: i1.ConfigService }, { token: PluginService }, { token: i3.DomSanitizer }, { token: i4.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
204
|
+
PluginManagementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginManagementService, providedIn: 'root' });
|
|
205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginManagementService, decorators: [{
|
|
206
|
+
type: Injectable,
|
|
207
|
+
args: [{
|
|
208
|
+
providedIn: 'root',
|
|
209
|
+
}]
|
|
210
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigService }, { type: PluginService }, { type: i3.DomSanitizer }, { type: i4.HttpClient }]; } });
|
|
136
211
|
|
|
137
212
|
/*
|
|
138
213
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -361,7 +436,7 @@ class PluginConfigurationContainerComponent {
|
|
|
361
436
|
}
|
|
362
437
|
}
|
|
363
438
|
PluginConfigurationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginConfigurationContainerComponent, deps: [{ token: PluginService }], target: i0.ɵɵFactoryTarget.Component });
|
|
364
|
-
PluginConfigurationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PluginConfigurationContainerComponent, selector: "valtimo-plugin-configuration-container", inputs: { type: "type", pluginDefinitionKey: "pluginDefinitionKey", functionKey: "functionKey", save$: "save$", disabled$: "disabled$", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, viewQueries: [{ propertyName: "dynamicContainer", first: true, predicate: ["pluginConfigurationComponent"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-template #pluginConfigurationComponent></ng-template>\n<ng-container *ngIf=\"noConfigurationComponentAvailable$ | async\">\n <v-paragraph [center]=\"true\">{{ 'plugin.noConfigurationComponent' | translate }}</v-paragraph>\n</ng-container>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], components: [{ type:
|
|
439
|
+
PluginConfigurationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PluginConfigurationContainerComponent, selector: "valtimo-plugin-configuration-container", inputs: { type: "type", pluginDefinitionKey: "pluginDefinitionKey", functionKey: "functionKey", save$: "save$", disabled$: "disabled$", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, viewQueries: [{ propertyName: "dynamicContainer", first: true, predicate: ["pluginConfigurationComponent"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-template #pluginConfigurationComponent></ng-template>\n<ng-container *ngIf=\"noConfigurationComponentAvailable$ | async\">\n <v-paragraph [center]=\"true\">{{ 'plugin.noConfigurationComponent' | translate }}</v-paragraph>\n</ng-container>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], components: [{ type: i3$1.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "translate": i2.TranslatePipe } });
|
|
365
440
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginConfigurationContainerComponent, decorators: [{
|
|
366
441
|
type: Component,
|
|
367
442
|
args: [{ selector: 'valtimo-plugin-configuration-container', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-template #pluginConfigurationComponent></ng-template>\n<ng-container *ngIf=\"noConfigurationComponentAvailable$ | async\">\n <v-paragraph [center]=\"true\">{{ 'plugin.noConfigurationComponent' | translate }}</v-paragraph>\n</ng-container>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
|
|
@@ -449,12 +524,7 @@ class OpenZaakConfigurationComponent {
|
|
|
449
524
|
this.handleValid(formValue);
|
|
450
525
|
}
|
|
451
526
|
handleValid(formValue) {
|
|
452
|
-
const valid = !!(formValue.configurationTitle &&
|
|
453
|
-
formValue.url &&
|
|
454
|
-
formValue.catalogusUrl &&
|
|
455
|
-
formValue.rsin &&
|
|
456
|
-
formValue.secret &&
|
|
457
|
-
formValue.clientId);
|
|
527
|
+
const valid = !!(formValue.configurationTitle && formValue.clientId && formValue.clientSecret);
|
|
458
528
|
this.valid$.next(valid);
|
|
459
529
|
this.valid.emit(valid);
|
|
460
530
|
}
|
|
@@ -472,16 +542,18 @@ class OpenZaakConfigurationComponent {
|
|
|
472
542
|
}
|
|
473
543
|
}
|
|
474
544
|
OpenZaakConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
475
|
-
OpenZaakConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: OpenZaakConfigurationComponent, selector: "valtimo-open-zaak-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form
|
|
545
|
+
OpenZaakConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: OpenZaakConfigurationComponent, selector: "valtimo-open-zaak-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [widthPx]=\"350\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"clientId\"\n [title]=\"'clientId' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.clientId\"\n [widthPx]=\"350\"\n [required]=\"true\"\n [tooltip]=\"'clientIdTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"clientSecret\"\n type=\"password\"\n [title]=\"'clientSecret' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.clientSecret\"\n [required]=\"true\"\n [fullWidth]=\"true\"\n [tooltip]=\"'clientSecretTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], components: [{ type: i3$1.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i3$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox"], outputs: ["valueChange"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
476
546
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakConfigurationComponent, decorators: [{
|
|
477
547
|
type: Component,
|
|
478
|
-
args: [{ selector: 'valtimo-open-zaak-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form
|
|
548
|
+
args: [{ selector: 'valtimo-open-zaak-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [widthPx]=\"350\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"clientId\"\n [title]=\"'clientId' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.clientId\"\n [widthPx]=\"350\"\n [required]=\"true\"\n [tooltip]=\"'clientIdTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"clientSecret\"\n type=\"password\"\n [title]=\"'clientSecret' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.clientSecret\"\n [required]=\"true\"\n [fullWidth]=\"true\"\n [tooltip]=\"'clientSecretTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
|
|
479
549
|
}], propDecorators: { save$: [{
|
|
480
550
|
type: Input
|
|
481
551
|
}], disabled$: [{
|
|
482
552
|
type: Input
|
|
483
553
|
}], pluginId: [{
|
|
484
554
|
type: Input
|
|
555
|
+
}], prefillConfiguration$: [{
|
|
556
|
+
type: Input
|
|
485
557
|
}], valid: [{
|
|
486
558
|
type: Output
|
|
487
559
|
}], configuration: [{
|
|
@@ -503,46 +575,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
503
575
|
* See the License for the specific language governing permissions and
|
|
504
576
|
* limitations under the License.
|
|
505
577
|
*/
|
|
506
|
-
class
|
|
507
|
-
constructor(openZaakService, modalService, pluginTranslationService) {
|
|
508
|
-
this.openZaakService = openZaakService;
|
|
509
|
-
this.modalService = modalService;
|
|
510
|
-
this.pluginTranslationService = pluginTranslationService;
|
|
511
|
-
this.zaakTypeSelected = new EventEmitter();
|
|
512
|
-
this.zaakTypeLinks$ = this.modalService.modalData$.pipe(switchMap(modalData => {
|
|
513
|
-
if (modalData === null || modalData === void 0 ? void 0 : modalData.processDefinitionKey) {
|
|
514
|
-
return this.openZaakService.getZaakTypeLinkListByProcess(modalData === null || modalData === void 0 ? void 0 : modalData.processDefinitionKey);
|
|
515
|
-
}
|
|
516
|
-
else {
|
|
517
|
-
return of(null);
|
|
518
|
-
}
|
|
519
|
-
}));
|
|
520
|
-
this.zaakTypeLinkSelectItems$ = this.zaakTypeLinks$.pipe(map(zaakTypeLinks => zaakTypeLinks === null || zaakTypeLinks === void 0 ? void 0 : zaakTypeLinks.map(link => ({
|
|
521
|
-
id: link.zaakTypeUrl,
|
|
522
|
-
text: link.documentDefinitionName,
|
|
523
|
-
}))));
|
|
524
|
-
this.selectedZaakTypeUrl$ = new BehaviorSubject('');
|
|
525
|
-
this.selectedZaakType$ = combineLatest([
|
|
526
|
-
this.selectedZaakTypeUrl$,
|
|
527
|
-
this.openZaakService.getZaakTypes(),
|
|
528
|
-
]).pipe(map(([selectedZaakTypeUrl, zaakTypes]) => zaakTypes.find(zaakType => zaakType.url === selectedZaakTypeUrl)), tap(selectedZaakType => this.zaakTypeSelected.emit(selectedZaakType)));
|
|
529
|
-
}
|
|
530
|
-
selectZaakTypeLink(zaakTypeUrl) {
|
|
531
|
-
this.selectedZaakTypeUrl$.next(zaakTypeUrl);
|
|
532
|
-
}
|
|
578
|
+
class OpenZaakPluginModule {
|
|
533
579
|
}
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
i0.ɵɵ
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}] } });
|
|
580
|
+
OpenZaakPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
581
|
+
OpenZaakPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakPluginModule, declarations: [OpenZaakConfigurationComponent], imports: [CommonModule, FormModule, InputModule, PluginTranslatePipeModule], exports: [OpenZaakConfigurationComponent] });
|
|
582
|
+
OpenZaakPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakPluginModule, imports: [[CommonModule, FormModule, InputModule, PluginTranslatePipeModule]] });
|
|
583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakPluginModule, decorators: [{
|
|
584
|
+
type: NgModule,
|
|
585
|
+
args: [{
|
|
586
|
+
declarations: [OpenZaakConfigurationComponent],
|
|
587
|
+
imports: [CommonModule, FormModule, InputModule, PluginTranslatePipeModule],
|
|
588
|
+
exports: [OpenZaakConfigurationComponent],
|
|
589
|
+
}]
|
|
590
|
+
}] });
|
|
546
591
|
|
|
547
592
|
/*
|
|
548
593
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -559,51 +604,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
559
604
|
* See the License for the specific language governing permissions and
|
|
560
605
|
* limitations under the License.
|
|
561
606
|
*/
|
|
562
|
-
|
|
563
|
-
constructor() {
|
|
564
|
-
this.valid = new EventEmitter();
|
|
565
|
-
this.configuration = new EventEmitter();
|
|
566
|
-
this.selectedZaakType$ = new BehaviorSubject(null);
|
|
567
|
-
}
|
|
568
|
-
ngOnInit() {
|
|
569
|
-
this.openValidSubscription();
|
|
570
|
-
}
|
|
571
|
-
ngOnDestroy() {
|
|
572
|
-
var _a;
|
|
573
|
-
(_a = this.validSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
574
|
-
}
|
|
575
|
-
selectZaakType(zaakType) {
|
|
576
|
-
this.selectedZaakType$.next(zaakType);
|
|
577
|
-
}
|
|
578
|
-
openValidSubscription() {
|
|
579
|
-
this.validSubscription = combineLatest([this.selectedZaakType$])
|
|
580
|
-
.pipe(tap(([zaakType]) => {
|
|
581
|
-
if (zaakType) {
|
|
582
|
-
this.valid.emit(true);
|
|
583
|
-
}
|
|
584
|
-
else {
|
|
585
|
-
this.valid.emit(false);
|
|
586
|
-
}
|
|
587
|
-
}))
|
|
588
|
-
.subscribe();
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
CreateZaakConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CreateZaakConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
592
|
-
CreateZaakConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CreateZaakConfigurationComponent, selector: "valtimo-create-zaak-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<valtimo-select-zaak-type\n [pluginId]=\"pluginId\"\n [disabled]=\"disabled$ | async\"\n (zaakTypeSelected)=\"selectZaakType($event)\"\n></valtimo-select-zaak-type>\n", styles: [""], components: [{ type: SelectZaakTypeComponent, selector: "valtimo-select-zaak-type", inputs: ["pluginId", "disabled"], outputs: ["zaakTypeSelected"] }], pipes: { "async": i2.AsyncPipe } });
|
|
593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CreateZaakConfigurationComponent, decorators: [{
|
|
594
|
-
type: Component,
|
|
595
|
-
args: [{ selector: 'valtimo-create-zaak-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<valtimo-select-zaak-type\n [pluginId]=\"pluginId\"\n [disabled]=\"disabled$ | async\"\n (zaakTypeSelected)=\"selectZaakType($event)\"\n></valtimo-select-zaak-type>\n", styles: [""] }]
|
|
596
|
-
}], propDecorators: { save$: [{
|
|
597
|
-
type: Input
|
|
598
|
-
}], disabled$: [{
|
|
599
|
-
type: Input
|
|
600
|
-
}], pluginId: [{
|
|
601
|
-
type: Input
|
|
602
|
-
}], valid: [{
|
|
603
|
-
type: Output
|
|
604
|
-
}], configuration: [{
|
|
605
|
-
type: Output
|
|
606
|
-
}] } });
|
|
607
|
+
const OPEN_ZAAK_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAARtAAAEbQF9GpMFAAAAB3RJTUUH5gYKBB8NWNadBAAAAAZiS0dEAP8A/wD/oL2nkwAADG1JREFUaN7lm3tw1cUVx9O/2uqMnUEg1FZnOmOx8ih1ykwZcajaoVoEqmbkGR4+QEBQHI2iTpUZwSEhRJ6CgLwThhLCI2ocqChCpFJeLRhCeIcg3JsHSUhyb27uzel+9u7v5ndfed6EOOzMmfyyv92z57t7Xru/vXFxMSw9Upxxv/ioKC5+vvO2+PmOPooSFaUp+kJRniKnIpcinyGXqcszbdJMnz7wgBc8O11RAkI/VfSAoiRFOYouK3Irku6KuqU4pCuU7JA7DfFMHe9oE+8nt+mbY3g9YHjfZJALrsbFp2igdyh6SlGmWa367gYYdNcCh9y3pFj+tKpEHttYJk9vuS6jM/3EM3W8ow1trX7wgJfhmWnGuEOPqca+GSv6c0VPKtqjqIYV6mpWqtfSYklQYOZ+c0N25rvlv9fq5IdKn1S468VVVy+1Xj/xTB3vaENb+tAXHnaejGHGetKM3UFAU5w/UX/7KUpXVKWFUityT5pThmaUybJD1XLCUSfVnnppbaEvPOAFT3jrVfcDrzJj9zOytPuqTlJ0Id7M/t1KGNQz+7Rbyl2tBxmtwBPejMFYXVMCtn7ByBL71TZg4xUtw7My09jY4A2lsi3PJTdqYw80tDAGYzFm9wY1dxmZ4mMCuocfKHSvomycCB71Nwud8o+9N+SKsr2OLozJ2MjQrcGxZ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0Ya29KGvxQee8GYMb4jFxOxiWmuuHpLlkNqR8fRc7L/12iW5wTP/MtXvBEkSCDkQz9TxLuCxzS15eMDr0wJ3UAalvXF7XD1s7eXSGqWW7LJQP3ZYOJtfLXAEYqwOQTayYjVtaEsf+sKjJoI5tNvl0lhcH6b+lLJJ8trF31XLrH9VypTsCpmoQhDEM3W8ow1tG+PV7teHoyQmk9tyQZyYSpyFmrPBaOKC+OR2/TlAfKozrvuC4k7zEwAtS2oH/MznlvmRxy37M55b8odaP9af4v0f7OO0BSS5cpoAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDYtMTBUMDQ6MzE6MTMtMDQ6MDAqVmbCAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTEwVDA0OjMxOjEzLTA0OjAwWwvefgAAAABJRU5ErkJggg==';
|
|
607
608
|
|
|
608
609
|
/*
|
|
609
610
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -620,68 +621,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
620
621
|
* See the License for the specific language governing permissions and
|
|
621
622
|
* limitations under the License.
|
|
622
623
|
*/
|
|
623
|
-
class SetBesluitConfigurationComponent {
|
|
624
|
-
constructor() {
|
|
625
|
-
this.valid = new EventEmitter();
|
|
626
|
-
this.configuration = new EventEmitter();
|
|
627
|
-
this.selectedBesluit$ = new BehaviorSubject('');
|
|
628
|
-
this.selectedZaakType$ = new BehaviorSubject(null);
|
|
629
|
-
this.BESLUITEN = ['test besluit', 'test besluit met document'];
|
|
630
|
-
this.besluitSelectItems = this.BESLUITEN.map(besluit => ({
|
|
631
|
-
id: besluit,
|
|
632
|
-
text: besluit,
|
|
633
|
-
}));
|
|
634
|
-
this.clearSubject$ = new Subject();
|
|
635
|
-
}
|
|
636
|
-
ngOnInit() {
|
|
637
|
-
this.openValidSubscription();
|
|
638
|
-
}
|
|
639
|
-
ngOnDestroy() {
|
|
640
|
-
var _a;
|
|
641
|
-
(_a = this.validSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
642
|
-
}
|
|
643
|
-
selectZaakType(zaakType) {
|
|
644
|
-
this.selectedZaakType$.next(zaakType);
|
|
645
|
-
if (!zaakType) {
|
|
646
|
-
this.clearBesluit();
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
clearBesluit() {
|
|
650
|
-
this.selectedBesluit$.next('');
|
|
651
|
-
this.clearSubject$.next(null);
|
|
652
|
-
}
|
|
653
|
-
selectBesluit(besluit) {
|
|
654
|
-
this.selectedBesluit$.next(besluit);
|
|
655
|
-
}
|
|
656
|
-
openValidSubscription() {
|
|
657
|
-
this.validSubscription = combineLatest([this.selectedBesluit$, this.selectedZaakType$])
|
|
658
|
-
.pipe(tap(([besluit, zaakType]) => {
|
|
659
|
-
if (besluit && zaakType) {
|
|
660
|
-
this.valid.emit(true);
|
|
661
|
-
}
|
|
662
|
-
else {
|
|
663
|
-
this.valid.emit(false);
|
|
664
|
-
}
|
|
665
|
-
}))
|
|
666
|
-
.subscribe();
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
SetBesluitConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SetBesluitConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
670
|
-
SetBesluitConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SetBesluitConfigurationComponent, selector: "valtimo-set-besluit-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<valtimo-select-zaak-type\n [pluginId]=\"pluginId\"\n [disabled]=\"disabled$ | async\"\n (zaakTypeSelected)=\"selectZaakType($event)\"\n></valtimo-select-zaak-type>\n<v-select\n [items]=\"besluitSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n [title]=\"'besluit' | pluginTranslate: pluginId | async\"\n [disabled]=\"(selectedZaakType$ | async) === null || (disabled$ | async)\"\n [clearSelectionSubject$]=\"clearSubject$\"\n (selectedChange)=\"selectBesluit($event)\"\n></v-select>\n", styles: [""], components: [{ type: SelectZaakTypeComponent, selector: "valtimo-select-zaak-type", inputs: ["pluginId", "disabled"], outputs: ["zaakTypeSelected"] }, { type: i1$1.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required"], outputs: ["selectedChange", "clear"] }], pipes: { "async": i2.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SetBesluitConfigurationComponent, decorators: [{
|
|
672
|
-
type: Component,
|
|
673
|
-
args: [{ selector: 'valtimo-set-besluit-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<valtimo-select-zaak-type\n [pluginId]=\"pluginId\"\n [disabled]=\"disabled$ | async\"\n (zaakTypeSelected)=\"selectZaakType($event)\"\n></valtimo-select-zaak-type>\n<v-select\n [items]=\"besluitSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n [title]=\"'besluit' | pluginTranslate: pluginId | async\"\n [disabled]=\"(selectedZaakType$ | async) === null || (disabled$ | async)\"\n [clearSelectionSubject$]=\"clearSubject$\"\n (selectedChange)=\"selectBesluit($event)\"\n></v-select>\n", styles: [""] }]
|
|
674
|
-
}], propDecorators: { save$: [{
|
|
675
|
-
type: Input
|
|
676
|
-
}], disabled$: [{
|
|
677
|
-
type: Input
|
|
678
|
-
}], pluginId: [{
|
|
679
|
-
type: Input
|
|
680
|
-
}], valid: [{
|
|
681
|
-
type: Output
|
|
682
|
-
}], configuration: [{
|
|
683
|
-
type: Output
|
|
684
|
-
}] } });
|
|
685
624
|
|
|
686
625
|
/*
|
|
687
626
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -698,78 +637,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
698
637
|
* See the License for the specific language governing permissions and
|
|
699
638
|
* limitations under the License.
|
|
700
639
|
*/
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
'
|
|
709
|
-
|
|
710
|
-
'
|
|
711
|
-
'
|
|
712
|
-
'
|
|
713
|
-
|
|
714
|
-
'
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
this.selectedResultaat$.next('');
|
|
739
|
-
this.clearSubject$.next(null);
|
|
740
|
-
}
|
|
741
|
-
selectResultaat(resultaat) {
|
|
742
|
-
this.selectedResultaat$.next(resultaat);
|
|
743
|
-
}
|
|
744
|
-
openValidSubscription() {
|
|
745
|
-
this.validSubscription = combineLatest([this.selectedResultaat$, this.selectedZaakType$])
|
|
746
|
-
.pipe(tap(([resultaat, zaakType]) => {
|
|
747
|
-
if (resultaat && zaakType) {
|
|
748
|
-
this.valid.emit(true);
|
|
749
|
-
}
|
|
750
|
-
else {
|
|
751
|
-
this.valid.emit(false);
|
|
752
|
-
}
|
|
753
|
-
}))
|
|
754
|
-
.subscribe();
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
SetResultaatConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SetResultaatConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
758
|
-
SetResultaatConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SetResultaatConfigurationComponent, selector: "valtimo-set-resultaat-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<valtimo-select-zaak-type\n [pluginId]=\"pluginId\"\n [disabled]=\"disabled$ | async\"\n (zaakTypeSelected)=\"selectZaakType($event)\"\n></valtimo-select-zaak-type>\n<v-select\n [items]=\"resultaatSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n [title]=\"'zaakResultaat' | pluginTranslate: pluginId | async\"\n [disabled]=\"(selectedZaakType$ | async) === null || (disabled$ | async)\"\n [clearSelectionSubject$]=\"clearSubject$\"\n (selectedChange)=\"selectResultaat($event)\"\n></v-select>\n", styles: [""], components: [{ type: SelectZaakTypeComponent, selector: "valtimo-select-zaak-type", inputs: ["pluginId", "disabled"], outputs: ["zaakTypeSelected"] }, { type: i1$1.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required"], outputs: ["selectedChange", "clear"] }], pipes: { "async": i2.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SetResultaatConfigurationComponent, decorators: [{
|
|
760
|
-
type: Component,
|
|
761
|
-
args: [{ selector: 'valtimo-set-resultaat-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<valtimo-select-zaak-type\n [pluginId]=\"pluginId\"\n [disabled]=\"disabled$ | async\"\n (zaakTypeSelected)=\"selectZaakType($event)\"\n></valtimo-select-zaak-type>\n<v-select\n [items]=\"resultaatSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n [title]=\"'zaakResultaat' | pluginTranslate: pluginId | async\"\n [disabled]=\"(selectedZaakType$ | async) === null || (disabled$ | async)\"\n [clearSelectionSubject$]=\"clearSubject$\"\n (selectedChange)=\"selectResultaat($event)\"\n></v-select>\n", styles: [""] }]
|
|
762
|
-
}], propDecorators: { save$: [{
|
|
763
|
-
type: Input
|
|
764
|
-
}], disabled$: [{
|
|
765
|
-
type: Input
|
|
766
|
-
}], pluginId: [{
|
|
767
|
-
type: Input
|
|
768
|
-
}], valid: [{
|
|
769
|
-
type: Output
|
|
770
|
-
}], configuration: [{
|
|
771
|
-
type: Output
|
|
772
|
-
}] } });
|
|
640
|
+
const openZaakPluginSpecification = {
|
|
641
|
+
pluginId: 'openzaak',
|
|
642
|
+
pluginConfigurationComponent: OpenZaakConfigurationComponent,
|
|
643
|
+
pluginLogoBase64: OPEN_ZAAK_PLUGIN_LOGO_BASE64,
|
|
644
|
+
pluginTranslations: {
|
|
645
|
+
nl: {
|
|
646
|
+
title: 'OpenZaak',
|
|
647
|
+
description: 'OpenZaak is een productiewaardig API platform die de API-standaard voor zaakgericht werken implementeert (de ZGW-API’s).',
|
|
648
|
+
configurationTitle: 'Configuratienaam',
|
|
649
|
+
configurationTitleTooltip: 'Onder deze naam zal de plugin te herkennen zijn in de rest van de applicatie',
|
|
650
|
+
clientId: 'Client ID',
|
|
651
|
+
clientIdTooltip: 'Vul hier het clientId in dat geconfigureerd staat onder OpenZaak-beheer (zie API authorisaties > Applicaties). Dit clientId moet de juiste authorisaties hebben voor de benodigde functionaliteit',
|
|
652
|
+
clientSecret: 'Secret',
|
|
653
|
+
clientSecretTooltip: 'Vul de secret in die hoort bij de clientId hierboven',
|
|
654
|
+
},
|
|
655
|
+
en: {
|
|
656
|
+
title: 'OpenZaak',
|
|
657
|
+
description: 'OpenZaak is a production-worthy API platform that implements the API standard for case-oriented working (the ZGW APIs).',
|
|
658
|
+
configurationTitle: 'Configuration name',
|
|
659
|
+
configurationTitleTooltip: 'Under this name, the plugin will be recognizable in the rest of the application',
|
|
660
|
+
clientId: 'Client ID',
|
|
661
|
+
clientIdTooltip: 'Enter the clientId here which is configured under OpenZaak management (see API authorizations > Applications). This clientId must have the correct authorizations for the required functionality',
|
|
662
|
+
clientSecret: 'Secret',
|
|
663
|
+
clientSecretTooltip: 'Enter the secret associated with the clientId above',
|
|
664
|
+
},
|
|
665
|
+
de: {
|
|
666
|
+
title: 'OpenZaak',
|
|
667
|
+
description: 'OpenZaak ist eine produktionstaugliche API-Plattform, die den API-Standard für fallorientiertes Arbeiten (die ZGW-APIs) implementiert.',
|
|
668
|
+
configurationTitle: 'Konfigurationsname',
|
|
669
|
+
configurationTitleTooltip: 'Unter diesem Namen wird das Plugin im Rest der Anwendung erkennbar sein',
|
|
670
|
+
clientId: 'Client ID',
|
|
671
|
+
clientIdTooltip: 'Geben Sie hier die clientId ein, die unter OpenZaak-Verwaltung konfiguriert ist (siehe API-Berechtigungen > Anwendungen). Diese clientId muss die richtigen Berechtigungen für die erforderliche Funktionalität haben',
|
|
672
|
+
clientSecret: 'Secret',
|
|
673
|
+
clientSecretTooltip: 'Geben Sie das mit der obigen clientId verknüpfte Geheimnis ein',
|
|
674
|
+
},
|
|
675
|
+
},
|
|
676
|
+
};
|
|
773
677
|
|
|
774
678
|
/*
|
|
775
679
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -786,68 +690,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
786
690
|
* See the License for the specific language governing permissions and
|
|
787
691
|
* limitations under the License.
|
|
788
692
|
*/
|
|
789
|
-
class
|
|
693
|
+
class ObjectTokenAuthencationConfigurationComponent {
|
|
790
694
|
constructor() {
|
|
791
695
|
this.valid = new EventEmitter();
|
|
792
696
|
this.configuration = new EventEmitter();
|
|
793
|
-
this.
|
|
794
|
-
this.
|
|
795
|
-
this.STATUSES = [
|
|
796
|
-
'Geregistreerd',
|
|
797
|
-
'Geaccepteerd',
|
|
798
|
-
'In behandeling genomen',
|
|
799
|
-
'Afgehandeld',
|
|
800
|
-
];
|
|
801
|
-
this.statusesSelectItems = this.STATUSES.map(status => ({
|
|
802
|
-
id: status,
|
|
803
|
-
text: status,
|
|
804
|
-
}));
|
|
805
|
-
this.clearSubject$ = new Subject();
|
|
697
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
698
|
+
this.valid$ = new BehaviorSubject(false);
|
|
806
699
|
}
|
|
807
700
|
ngOnInit() {
|
|
808
|
-
this.
|
|
701
|
+
this.openSaveSubscription();
|
|
809
702
|
}
|
|
810
703
|
ngOnDestroy() {
|
|
811
704
|
var _a;
|
|
812
|
-
(_a = this.
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
this.
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
this.
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
this.
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
this.valid.emit(false);
|
|
835
|
-
}
|
|
836
|
-
}))
|
|
837
|
-
.subscribe();
|
|
705
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
706
|
+
}
|
|
707
|
+
formValueChange(formValue) {
|
|
708
|
+
this.formValue$.next(formValue);
|
|
709
|
+
this.handleValid(formValue);
|
|
710
|
+
}
|
|
711
|
+
handleValid(formValue) {
|
|
712
|
+
const valid = !!(formValue.configurationTitle && formValue.token);
|
|
713
|
+
this.valid$.next(valid);
|
|
714
|
+
this.valid.emit(valid);
|
|
715
|
+
}
|
|
716
|
+
openSaveSubscription() {
|
|
717
|
+
var _a;
|
|
718
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
719
|
+
combineLatest([this.formValue$, this.valid$])
|
|
720
|
+
.pipe(take(1))
|
|
721
|
+
.subscribe(([formValue, valid]) => {
|
|
722
|
+
if (valid) {
|
|
723
|
+
this.configuration.emit(formValue);
|
|
724
|
+
}
|
|
725
|
+
});
|
|
726
|
+
});
|
|
838
727
|
}
|
|
839
728
|
}
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type:
|
|
729
|
+
ObjectTokenAuthencationConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectTokenAuthencationConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
730
|
+
ObjectTokenAuthencationConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ObjectTokenAuthencationConfigurationComponent, selector: "valtimo-object-token-authentication-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [widthPx]=\"350\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"token\"\n type=\"password\"\n [title]=\"'token' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.clientId\"\n [required]=\"true\"\n [tooltip]=\"'tokenTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], components: [{ type: i3$1.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i3$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox"], outputs: ["valueChange"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectTokenAuthencationConfigurationComponent, decorators: [{
|
|
843
732
|
type: Component,
|
|
844
|
-
args: [{ selector: 'valtimo-
|
|
733
|
+
args: [{ selector: 'valtimo-object-token-authentication-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [widthPx]=\"350\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"token\"\n type=\"password\"\n [title]=\"'token' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.clientId\"\n [required]=\"true\"\n [tooltip]=\"'tokenTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
|
|
845
734
|
}], propDecorators: { save$: [{
|
|
846
735
|
type: Input
|
|
847
736
|
}], disabled$: [{
|
|
848
737
|
type: Input
|
|
849
738
|
}], pluginId: [{
|
|
850
739
|
type: Input
|
|
740
|
+
}], prefillConfiguration$: [{
|
|
741
|
+
type: Input
|
|
851
742
|
}], valid: [{
|
|
852
743
|
type: Output
|
|
853
744
|
}], configuration: [{
|
|
@@ -869,66 +760,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
869
760
|
* See the License for the specific language governing permissions and
|
|
870
761
|
* limitations under the License.
|
|
871
762
|
*/
|
|
872
|
-
class
|
|
763
|
+
class ObjectTokenAuthenticationPluginModule {
|
|
873
764
|
}
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
SetResultaatConfigurationComponent,
|
|
879
|
-
SetStatusConfigurationComponent,
|
|
880
|
-
SelectZaakTypeComponent], imports: [CommonModule,
|
|
881
|
-
TitleModule,
|
|
882
|
-
FormModule,
|
|
883
|
-
InputModule,
|
|
884
|
-
PluginTranslatePipeModule,
|
|
885
|
-
SelectModule,
|
|
886
|
-
InputLabelModule,
|
|
887
|
-
ParagraphModule], exports: [OpenZaakConfigurationComponent,
|
|
888
|
-
CreateZaakConfigurationComponent,
|
|
889
|
-
SetBesluitConfigurationComponent,
|
|
890
|
-
SetResultaatConfigurationComponent,
|
|
891
|
-
SetStatusConfigurationComponent,
|
|
892
|
-
SelectZaakTypeComponent] });
|
|
893
|
-
OpenZaakPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakPluginModule, imports: [[
|
|
894
|
-
CommonModule,
|
|
895
|
-
TitleModule,
|
|
896
|
-
FormModule,
|
|
897
|
-
InputModule,
|
|
898
|
-
PluginTranslatePipeModule,
|
|
899
|
-
SelectModule,
|
|
900
|
-
InputLabelModule,
|
|
901
|
-
ParagraphModule,
|
|
902
|
-
]] });
|
|
903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakPluginModule, decorators: [{
|
|
765
|
+
ObjectTokenAuthenticationPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectTokenAuthenticationPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
766
|
+
ObjectTokenAuthenticationPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectTokenAuthenticationPluginModule, declarations: [ObjectTokenAuthencationConfigurationComponent], imports: [CommonModule, PluginTranslatePipeModule, FormModule, InputModule], exports: [ObjectTokenAuthencationConfigurationComponent] });
|
|
767
|
+
ObjectTokenAuthenticationPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectTokenAuthenticationPluginModule, imports: [[CommonModule, PluginTranslatePipeModule, FormModule, InputModule]] });
|
|
768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectTokenAuthenticationPluginModule, decorators: [{
|
|
904
769
|
type: NgModule,
|
|
905
770
|
args: [{
|
|
906
|
-
declarations: [
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
SetBesluitConfigurationComponent,
|
|
910
|
-
SetResultaatConfigurationComponent,
|
|
911
|
-
SetStatusConfigurationComponent,
|
|
912
|
-
SelectZaakTypeComponent,
|
|
913
|
-
],
|
|
914
|
-
imports: [
|
|
915
|
-
CommonModule,
|
|
916
|
-
TitleModule,
|
|
917
|
-
FormModule,
|
|
918
|
-
InputModule,
|
|
919
|
-
PluginTranslatePipeModule,
|
|
920
|
-
SelectModule,
|
|
921
|
-
InputLabelModule,
|
|
922
|
-
ParagraphModule,
|
|
923
|
-
],
|
|
924
|
-
exports: [
|
|
925
|
-
OpenZaakConfigurationComponent,
|
|
926
|
-
CreateZaakConfigurationComponent,
|
|
927
|
-
SetBesluitConfigurationComponent,
|
|
928
|
-
SetResultaatConfigurationComponent,
|
|
929
|
-
SetStatusConfigurationComponent,
|
|
930
|
-
SelectZaakTypeComponent,
|
|
931
|
-
],
|
|
771
|
+
declarations: [ObjectTokenAuthencationConfigurationComponent],
|
|
772
|
+
imports: [CommonModule, PluginTranslatePipeModule, FormModule, InputModule],
|
|
773
|
+
exports: [ObjectTokenAuthencationConfigurationComponent],
|
|
932
774
|
}]
|
|
933
775
|
}] });
|
|
934
776
|
|
|
@@ -947,7 +789,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
947
789
|
* See the License for the specific language governing permissions and
|
|
948
790
|
* limitations under the License.
|
|
949
791
|
*/
|
|
950
|
-
const
|
|
792
|
+
const OBJECT_TOKEN_AUTHENTICATION_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAA8CAYAAAC+ej5cAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH5ggRCgE1liNZsAAAAAFvck5UAc+id5oAABALSURBVHja7d15tF11dQfwz+/c+15GMEAYAoggqJi8RIsWJ5AhIQzagriw4oSt7XKoWrQWrcsBqC2tdVm7rNRFi0NbsVLrWC0hL5EiyNACShIiMshMQMCEJDzecO+vf+x733Dfve/e9/IylOa71l153HPPOb+z92/v397fvX+HZNvQhWfjBTgcB2IOvoyfbuO1n2lYhD9AHx7Gnbgd92FwRw9mb7wRl+EX2Iwh5Nq/r9vZ0toFcQr6hYwqQmZ34Bs4G/vsiEGU8Fu4GgO1wTR+BnDGzpbWLohT8LTmMhsUMn0tiu01gFn4BDa1GMTowey2wPEYbYGtPhvxp5gx3Tcv4wKhnIkGsBUP1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Uqkqdc7J4sd2lqfTrsT9XWpUGvhu7n2KQtrmyspyfqFJW6VDA1no/WIrti3addY2zGcuE4+H8cOl6LulF0ouVS46OUiTTpYeKDRMsoiMNlQG/P3sVKyYXh82TOvM3ucEJeFxeQVSyglUpncX3ef49gGTw9GJFoyLVvM0vmwVl55VDQchSIfxGWSb8jmCwL5EJFizBLLxa9FkHK38A7Bjw2gnFi2ZofvWNqp+wOnshllWu8/qtUvX9HD/Cqbiopob3hEnQZrhT0P48l7pFOnrz1jstglNnjuCkinjHV7+epj2CPz+OYgD4pMUeLx2bz+upql7ThX2Qq7FdgC6dXX7OwhdISp5kBTrTLvRnMkIdNGtK2dtlPg6LaI0dhT87dX7MbUUM93G9GqW2IY7RTYrzmZeqjJ9snsxkRYYGwVv45HteFC2ymwKojZRhwiutV2Y3pwqubViGmJko4zwk2O/qwX/ORubBteJfLKRvn+Sid11w4wRzAOzV6JeJtovdjtTieP/QUXfIfmsv26DuKMTiPJE0R9bN8mxwaFIm8UbeWPCJ7zwZ0toV0MC0T14wDBuR4t+mCapXIPit6a9rvAJoF3a/3W3sZXBp8+xXs8k3GyaLNoJ7+NwqtNO0pip099K06rz+631jfHRG+tr39+KdoKt9ub64lOrq+IEHe3AjvHRAp8FF8S7SaTwlSotJvF4rtElF5eKd6dMl+w9q027P9/R31yV4QrfUz831uuFd1/PzOFV3hOBx02U0ShC2r/zhE7me7b2RLbxXCQ6Hp7SljcwyLge3pbLvq/tzlrRmlpAg8AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTA6MDE6NDQrMDA6MDBT+iFgAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDEwOjAxOjQ0KzAwOjAwIqeZ3AAAAABJRU5ErkJggg==';
|
|
951
793
|
|
|
952
794
|
/*
|
|
953
795
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -964,101 +806,34 @@ const OPEN_ZAAK_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhE
|
|
|
964
806
|
* See the License for the specific language governing permissions and
|
|
965
807
|
* limitations under the License.
|
|
966
808
|
*/
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
title: 'OpenZaak',
|
|
996
|
-
description: 'OpenZaak is een productiewaardig API platform die de API-standaard voor zaakgericht werken implementeert (de ZGW-API’s).',
|
|
997
|
-
'create-zaak': 'Zaak aanmaken',
|
|
998
|
-
'set-status': 'Status instellen',
|
|
999
|
-
'set-resultaat': 'Resultaat instellen',
|
|
1000
|
-
'set-besluit': 'Besluit instellen',
|
|
1001
|
-
configurationTitle: 'Configuratienaam',
|
|
1002
|
-
url: 'OpenZaak URL',
|
|
1003
|
-
clientId: 'Client ID',
|
|
1004
|
-
secret: 'Secret',
|
|
1005
|
-
rsin: 'Rsin',
|
|
1006
|
-
catalogusUrl: 'Catalogus URL',
|
|
1007
|
-
zaakType: 'Zaaktype',
|
|
1008
|
-
zaakStatus: 'Zaakstatus',
|
|
1009
|
-
zaakResultaat: 'Resultaat',
|
|
1010
|
-
besluit: 'Besluit',
|
|
1011
|
-
documentDefinition: 'Documentdefinitie',
|
|
1012
|
-
noZaakTypeSelected: 'Geen zaaktype geselecteerd',
|
|
1013
|
-
noZaakTypeLinksFound: "Geen gelinkte zaaktype's gevonden",
|
|
1014
|
-
noProcessDefinition: 'Er is geen procesdefinitie geselecteerd',
|
|
1015
|
-
},
|
|
1016
|
-
en: {
|
|
1017
|
-
title: 'OpenZaak',
|
|
1018
|
-
description: 'OpenZaak is a production-worthy API platform that implements the API standard for case-oriented working (the ZGW APIs).',
|
|
1019
|
-
'create-zaak': 'Create zaak',
|
|
1020
|
-
'set-status': 'Set status',
|
|
1021
|
-
'set-resultaat': 'Set result',
|
|
1022
|
-
'set-besluit': 'Set besluit',
|
|
1023
|
-
configurationTitle: 'Configuration name',
|
|
1024
|
-
url: 'OpenZaak URL',
|
|
1025
|
-
clientId: 'Client ID',
|
|
1026
|
-
secret: 'Secret',
|
|
1027
|
-
rsin: 'Rsin',
|
|
1028
|
-
catalogusUrl: 'Catalog URL',
|
|
1029
|
-
zaakType: 'Zaaktype',
|
|
1030
|
-
zaakStatus: 'Zaakstatus',
|
|
1031
|
-
zaakResultaat: 'Result',
|
|
1032
|
-
besluit: 'Besluit',
|
|
1033
|
-
documentDefinition: 'Document definition',
|
|
1034
|
-
noZaakTypeSelected: 'No zaaktype selected',
|
|
1035
|
-
noZaakTypeLinksFound: 'No linked zaaktypes found',
|
|
1036
|
-
noProcessDefinition: 'No process definition is selected',
|
|
1037
|
-
},
|
|
1038
|
-
de: {
|
|
1039
|
-
title: 'OpenZaak',
|
|
1040
|
-
description: 'OpenZaak ist eine produktionstaugliche API-Plattform, die den API-Standard für fallorientiertes Arbeiten (die ZGW-APIs) implementiert.',
|
|
1041
|
-
'create-zaak': 'Zaak erstellen',
|
|
1042
|
-
'set-status': 'Status festlegen',
|
|
1043
|
-
'set-resultaat': 'Ergebnis einstellen',
|
|
1044
|
-
'set-besluit': 'Besluit setzen',
|
|
1045
|
-
configurationTitle: 'Konfigurationsname',
|
|
1046
|
-
url: 'OpenZaak URL',
|
|
1047
|
-
clientId: 'Client ID',
|
|
1048
|
-
secret: 'Secret',
|
|
1049
|
-
rsin: 'Rsin',
|
|
1050
|
-
catalogusUrl: 'Katalog URL',
|
|
1051
|
-
zaakType: 'Zaaktype',
|
|
1052
|
-
zaakStatus: 'Zaakstatus',
|
|
1053
|
-
zaakResultaat: 'Resultat',
|
|
1054
|
-
besluit: 'Besluit',
|
|
1055
|
-
documentDefinition: 'Dokumentendefinition',
|
|
1056
|
-
noZaakTypeSelected: 'Kein Zaaktype ausgewählt',
|
|
1057
|
-
noZaakTypeLinksFound: 'Keine verknüpften Zaaktypen gefunden',
|
|
1058
|
-
noProcessDefinition: 'Es ist keine Prozessdefinition ausgewählt',
|
|
1059
|
-
},
|
|
1060
|
-
},
|
|
1061
|
-
};
|
|
809
|
+
const objectTokenAuthenticationPluginSpecification = {
|
|
810
|
+
pluginId: 'objecttokenauthentication',
|
|
811
|
+
pluginConfigurationComponent: ObjectTokenAuthencationConfigurationComponent,
|
|
812
|
+
pluginLogoBase64: OBJECT_TOKEN_AUTHENTICATION_PLUGIN_LOGO_BASE64,
|
|
813
|
+
pluginTranslations: {
|
|
814
|
+
nl: {
|
|
815
|
+
title: 'Object token authenticatie',
|
|
816
|
+
description: 'Auhenticatie met behulp van tokens voor gebruik door de Objecten API en Objecttypen API.',
|
|
817
|
+
configurationTitle: 'Configuratienaam',
|
|
818
|
+
token: 'Token',
|
|
819
|
+
tokenTooltip: 'Het token is een sleutel waarmee toestemmingen verleend zijn om specifieke objecttypen en objecten te mogen ophalen',
|
|
820
|
+
},
|
|
821
|
+
en: {
|
|
822
|
+
title: 'Object token authentication',
|
|
823
|
+
description: 'Authentication using tokens for use by the Objects API and Object Types API.',
|
|
824
|
+
configurationTitle: 'Configuration name',
|
|
825
|
+
token: 'Token',
|
|
826
|
+
tokenTooltip: 'The token is a key that grants permissions to access specific object types and objects',
|
|
827
|
+
},
|
|
828
|
+
de: {
|
|
829
|
+
title: 'Object Token-Authentifizierung',
|
|
830
|
+
description: 'Authentifizierung mit Token zur Verwendung durch die Objects-API und die Object Types-API.',
|
|
831
|
+
configurationTitle: 'Konfigurationsname',
|
|
832
|
+
token: 'Token',
|
|
833
|
+
tokenTooltip: 'Das Token ist ein Schlüssel, der Berechtigungen zum Anzeigen bestimmter Objekttypen und Objekte erteilt',
|
|
834
|
+
},
|
|
835
|
+
},
|
|
836
|
+
};
|
|
1062
837
|
|
|
1063
838
|
/*
|
|
1064
839
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -1115,16 +890,18 @@ class SmartDocumentsConfigurationComponent {
|
|
|
1115
890
|
}
|
|
1116
891
|
}
|
|
1117
892
|
SmartDocumentsConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartDocumentsConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1118
|
-
SmartDocumentsConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SmartDocumentsConfigurationComponent, selector: "valtimo-smart-documents-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form
|
|
893
|
+
SmartDocumentsConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SmartDocumentsConfigurationComponent, selector: "valtimo-smart-documents-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [widthPx]=\"350\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"username\"\n [title]=\"'username' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.username\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"password\"\n type=\"password\"\n [title]=\"'password' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.password\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n</v-form>\n", styles: [""], components: [{ type: i3$1.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i3$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox"], outputs: ["valueChange"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1119
894
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartDocumentsConfigurationComponent, decorators: [{
|
|
1120
895
|
type: Component,
|
|
1121
|
-
args: [{ selector: 'valtimo-smart-documents-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form
|
|
896
|
+
args: [{ selector: 'valtimo-smart-documents-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [widthPx]=\"350\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"username\"\n [title]=\"'username' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.username\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"password\"\n type=\"password\"\n [title]=\"'password' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.password\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n</v-form>\n", styles: [""] }]
|
|
1122
897
|
}], propDecorators: { save$: [{
|
|
1123
898
|
type: Input
|
|
1124
899
|
}], disabled$: [{
|
|
1125
900
|
type: Input
|
|
1126
901
|
}], pluginId: [{
|
|
1127
902
|
type: Input
|
|
903
|
+
}], prefillConfiguration$: [{
|
|
904
|
+
type: Input
|
|
1128
905
|
}], valid: [{
|
|
1129
906
|
type: Output
|
|
1130
907
|
}], configuration: [{
|
|
@@ -1193,10 +970,10 @@ class GenerateDocumentConfigurationComponent {
|
|
|
1193
970
|
}
|
|
1194
971
|
}
|
|
1195
972
|
GenerateDocumentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GenerateDocumentConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1196
|
-
GenerateDocumentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GenerateDocumentConfigurationComponent, selector: "valtimo-generate-document-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'generateDocumentWarning' | pluginTranslate: pluginId | async }}\n</v-paragraph>\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"templateGroup\"\n [title]=\"'templateGroup' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.templateGroup\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"templateName\"\n [title]=\"'templateName' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.templateName\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"resultingDocumentProcessVariableName\"\n [title]=\"'resultingDocumentProcessVariableName' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultingDocumentProcessVariableName\"\n [disabled]=\"obs.disabled\"\n [tooltip]=\"'resultingDocumentProcessVariableNameTooltip' | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n >\n </v-input>\n <v-select\n [items]=\"FORMAT_SELECT_ITEMS\"\n [margin]=\"true\"\n [widthInPx]=\"150\"\n name=\"format\"\n [title]=\"'format' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.format\"\n [required]=\"true\"\n ></v-select>\n <v-multi-input\n name=\"templateData\"\n [title]=\"'templateData' | pluginTranslate: pluginId | async\"\n type=\"keyValue\"\n [disabled]=\"obs.disabled\"\n [defaultValues]=\"obs.prefill?.templateData\"\n [margin]=\"true\"\n [required]=\"true\"\n ></v-multi-input>\n</v-form>\n", styles: [""], components: [{ type:
|
|
973
|
+
GenerateDocumentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GenerateDocumentConfigurationComponent, selector: "valtimo-generate-document-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'generateDocumentWarning' | pluginTranslate: pluginId | async }}\n</v-paragraph>\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"templateGroup\"\n [title]=\"'templateGroup' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.templateGroup\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"templateName\"\n [title]=\"'templateName' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.templateName\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"resultingDocumentProcessVariableName\"\n [title]=\"'resultingDocumentProcessVariableName' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultingDocumentProcessVariableName\"\n [disabled]=\"obs.disabled\"\n [tooltip]=\"'resultingDocumentProcessVariableNameTooltip' | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n >\n </v-input>\n <v-select\n [items]=\"FORMAT_SELECT_ITEMS\"\n [margin]=\"true\"\n [widthInPx]=\"150\"\n name=\"format\"\n [title]=\"'format' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.format\"\n [required]=\"true\"\n ></v-select>\n <v-multi-input\n name=\"templateData\"\n [title]=\"'templateData' | pluginTranslate: pluginId | async\"\n type=\"keyValue\"\n [disabled]=\"obs.disabled\"\n [defaultValues]=\"obs.prefill?.templateData\"\n [margin]=\"true\"\n [required]=\"true\"\n [tooltip]=\"'templateDataTooltip' | pluginTranslate: pluginId | async\"\n ></v-multi-input>\n</v-form>\n", styles: [""], components: [{ type: i3$1.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading"] }, { type: i3$1.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i3$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox"], outputs: ["valueChange"] }, { type: i3$1.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder"], outputs: ["selectedChange", "clear"] }, { type: i3$1.MultiInputComponent, selector: "v-multi-input", inputs: ["name", "title", "titleTranslationKey", "type", "initialAmountOfRows", "minimumAmountOfRows", "maxRows", "addRowText", "addRowTranslationKey", "deleteRowText", "deleteRowTranslationKey", "disabled", "defaultValues", "margin", "tooltip", "required"], outputs: ["valueChange"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1197
974
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GenerateDocumentConfigurationComponent, decorators: [{
|
|
1198
975
|
type: Component,
|
|
1199
|
-
args: [{ selector: 'valtimo-generate-document-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'generateDocumentWarning' | pluginTranslate: pluginId | async }}\n</v-paragraph>\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"templateGroup\"\n [title]=\"'templateGroup' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.templateGroup\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"templateName\"\n [title]=\"'templateName' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.templateName\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"resultingDocumentProcessVariableName\"\n [title]=\"'resultingDocumentProcessVariableName' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultingDocumentProcessVariableName\"\n [disabled]=\"obs.disabled\"\n [tooltip]=\"'resultingDocumentProcessVariableNameTooltip' | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n >\n </v-input>\n <v-select\n [items]=\"FORMAT_SELECT_ITEMS\"\n [margin]=\"true\"\n [widthInPx]=\"150\"\n name=\"format\"\n [title]=\"'format' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.format\"\n [required]=\"true\"\n ></v-select>\n <v-multi-input\n name=\"templateData\"\n [title]=\"'templateData' | pluginTranslate: pluginId | async\"\n type=\"keyValue\"\n [disabled]=\"obs.disabled\"\n [defaultValues]=\"obs.prefill?.templateData\"\n [margin]=\"true\"\n [required]=\"true\"\n ></v-multi-input>\n</v-form>\n", styles: [""] }]
|
|
976
|
+
args: [{ selector: 'valtimo-generate-document-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'generateDocumentWarning' | pluginTranslate: pluginId | async }}\n</v-paragraph>\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"templateGroup\"\n [title]=\"'templateGroup' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.templateGroup\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"templateName\"\n [title]=\"'templateName' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.templateName\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"resultingDocumentProcessVariableName\"\n [title]=\"'resultingDocumentProcessVariableName' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultingDocumentProcessVariableName\"\n [disabled]=\"obs.disabled\"\n [tooltip]=\"'resultingDocumentProcessVariableNameTooltip' | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n >\n </v-input>\n <v-select\n [items]=\"FORMAT_SELECT_ITEMS\"\n [margin]=\"true\"\n [widthInPx]=\"150\"\n name=\"format\"\n [title]=\"'format' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.format\"\n [required]=\"true\"\n ></v-select>\n <v-multi-input\n name=\"templateData\"\n [title]=\"'templateData' | pluginTranslate: pluginId | async\"\n type=\"keyValue\"\n [disabled]=\"obs.disabled\"\n [defaultValues]=\"obs.prefill?.templateData\"\n [margin]=\"true\"\n [required]=\"true\"\n [tooltip]=\"'templateDataTooltip' | pluginTranslate: pluginId | async\"\n ></v-multi-input>\n</v-form>\n", styles: [""] }]
|
|
1200
977
|
}], propDecorators: { save$: [{
|
|
1201
978
|
type: Input
|
|
1202
979
|
}], disabled$: [{
|
|
@@ -1322,12 +1099,14 @@ const smartDocumentsPluginSpecification = {
|
|
|
1322
1099
|
title: 'SmartDocuments',
|
|
1323
1100
|
description: 'Automatiseer documenten met slimme templates.',
|
|
1324
1101
|
configurationTitle: 'Configuratienaam',
|
|
1102
|
+
configurationTitleTooltip: 'Onder deze naam zal de plugin te herkennen zijn in de rest van de applicatie',
|
|
1325
1103
|
url: 'SmartDocuments URL',
|
|
1326
1104
|
username: 'Gebruikersnaam',
|
|
1327
1105
|
password: 'Wachtwoord',
|
|
1328
1106
|
'generate-document': 'Document genereren',
|
|
1329
1107
|
templateGroup: 'Template-groep',
|
|
1330
1108
|
templateName: 'Template-naam',
|
|
1109
|
+
templateDataTooltip: 'De rechter value-kolom ondersteunt ook het gebruik van procesvariabelen zoals pv: en doc:',
|
|
1331
1110
|
format: 'Documentformaat',
|
|
1332
1111
|
templateData: 'Template-data',
|
|
1333
1112
|
resultingDocumentProcessVariableName: 'Naam procesvariabele voor opslag document',
|
|
@@ -1338,6 +1117,7 @@ const smartDocumentsPluginSpecification = {
|
|
|
1338
1117
|
title: 'SmartDocuments',
|
|
1339
1118
|
description: 'Automate documents with smart templates.',
|
|
1340
1119
|
configurationTitle: 'Configuration name',
|
|
1120
|
+
configurationTitleTooltip: 'With this name the plugin will be recognizable in the rest of the application',
|
|
1341
1121
|
url: 'SmartDocuments URL',
|
|
1342
1122
|
username: 'Username',
|
|
1343
1123
|
password: 'Password',
|
|
@@ -1346,6 +1126,7 @@ const smartDocumentsPluginSpecification = {
|
|
|
1346
1126
|
templateName: 'Template name',
|
|
1347
1127
|
format: 'Document format',
|
|
1348
1128
|
templateData: 'Template data',
|
|
1129
|
+
templateDataTooltip: 'The right value-column also supports the use of process variables such as pv: and doc:',
|
|
1349
1130
|
resultingDocumentProcessVariableName: 'Process variable name for storing document',
|
|
1350
1131
|
resultingDocumentProcessVariableNameTooltip: 'The location of the generated document is stored in a process variable. This process variable can be used to access the document in another BPMN task.',
|
|
1351
1132
|
generateDocumentWarning: 'This action generates a temporary file. It needs to be stored in a following task.',
|
|
@@ -1354,6 +1135,7 @@ const smartDocumentsPluginSpecification = {
|
|
|
1354
1135
|
title: 'SmartDocuments',
|
|
1355
1136
|
description: 'Automatisieren Sie Dokumente mit intelligenten Templates.',
|
|
1356
1137
|
configurationTitle: 'Konfigurationsname',
|
|
1138
|
+
configurationTitleTooltip: 'An diesem Namen wird das Plugin im Rest der Anwendung erkennbar sein',
|
|
1357
1139
|
url: 'SmartDocuments URL',
|
|
1358
1140
|
username: 'Nutzername',
|
|
1359
1141
|
password: 'Passwort',
|
|
@@ -1362,6 +1144,7 @@ const smartDocumentsPluginSpecification = {
|
|
|
1362
1144
|
templateName: 'Templatename',
|
|
1363
1145
|
format: 'Dokumentformat',
|
|
1364
1146
|
templateData: 'Templatedaten',
|
|
1147
|
+
templateDataTooltip: 'Die rechte Wertespalte unterstützt auch die Verwendung von Prozessvariablen wie pv: und doc:',
|
|
1365
1148
|
resultingDocumentProcessVariableName: 'Prozessvariablenname zum Speichern des Dokuments',
|
|
1366
1149
|
resultingDocumentProcessVariableNameTooltip: 'Der Ort des generierten Dokuments wird in einer Prozessvariablen gespeichert. Diese Prozessvariable wird verwendet, um in einer anderen BPMN-Aufgabe auf das Dokument zuzugreifen.',
|
|
1367
1150
|
generateDocumentWarning: 'Diese Aktion erzeugt eine temporäre Datei. Die Verarbeitung muss durch eine andere Aktion erfolgen.',
|
|
@@ -1385,11 +1168,21 @@ const smartDocumentsPluginSpecification = {
|
|
|
1385
1168
|
* limitations under the License.
|
|
1386
1169
|
*/
|
|
1387
1170
|
class DocumentenApiConfigurationComponent {
|
|
1388
|
-
constructor() {
|
|
1171
|
+
constructor(pluginManagementService, translateService, pluginTranslationService) {
|
|
1172
|
+
this.pluginManagementService = pluginManagementService;
|
|
1173
|
+
this.translateService = translateService;
|
|
1174
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
1389
1175
|
this.valid = new EventEmitter();
|
|
1390
1176
|
this.configuration = new EventEmitter();
|
|
1391
1177
|
this.formValue$ = new BehaviorSubject(null);
|
|
1392
1178
|
this.valid$ = new BehaviorSubject(false);
|
|
1179
|
+
this.authenticationPluginSelectItems$ = combineLatest([
|
|
1180
|
+
this.pluginManagementService.getPluginConfigurationsByCategory('documenten-api-authentication'),
|
|
1181
|
+
this.translateService.stream('key'),
|
|
1182
|
+
]).pipe(map$1(([configurations]) => configurations.map(configuration => ({
|
|
1183
|
+
id: configuration.id,
|
|
1184
|
+
text: `${configuration.title} - ${this.pluginTranslationService.instant('title', configuration.pluginDefinition.key)}`,
|
|
1185
|
+
}))));
|
|
1393
1186
|
}
|
|
1394
1187
|
ngOnInit() {
|
|
1395
1188
|
this.openSaveSubscription();
|
|
@@ -1403,7 +1196,10 @@ class DocumentenApiConfigurationComponent {
|
|
|
1403
1196
|
this.handleValid(formValue);
|
|
1404
1197
|
}
|
|
1405
1198
|
handleValid(formValue) {
|
|
1406
|
-
const valid = !!(formValue.configurationTitle &&
|
|
1199
|
+
const valid = !!(formValue.configurationTitle &&
|
|
1200
|
+
formValue.url &&
|
|
1201
|
+
formValue.bronorganisatie &&
|
|
1202
|
+
formValue.authenticationPluginConfiguration);
|
|
1407
1203
|
this.valid$.next(valid);
|
|
1408
1204
|
this.valid.emit(valid);
|
|
1409
1205
|
}
|
|
@@ -1420,17 +1216,19 @@ class DocumentenApiConfigurationComponent {
|
|
|
1420
1216
|
});
|
|
1421
1217
|
}
|
|
1422
1218
|
}
|
|
1423
|
-
DocumentenApiConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DocumentenApiConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1424
|
-
DocumentenApiConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DocumentenApiConfigurationComponent, selector: "valtimo-documenten-api-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form
|
|
1219
|
+
DocumentenApiConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DocumentenApiConfigurationComponent, deps: [{ token: PluginManagementService }, { token: i2.TranslateService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1220
|
+
DocumentenApiConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DocumentenApiConfigurationComponent, selector: "valtimo-documenten-api-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"bronorganisatie\"\n type=\"digitOnly\"\n [title]=\"'bronorganisatie' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.bronorganisatie\"\n [required]=\"true\"\n [widthPx]=\"150\"\n [tooltip]=\"'bronorganisatieTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [tooltip]=\"'authenticationPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n</v-form>\n", styles: [""], components: [{ type: i3$1.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i3$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox"], outputs: ["valueChange"] }, { type: i3$1.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder"], outputs: ["selectedChange", "clear"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1425
1221
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DocumentenApiConfigurationComponent, decorators: [{
|
|
1426
1222
|
type: Component,
|
|
1427
|
-
args: [{ selector: 'valtimo-documenten-api-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form
|
|
1428
|
-
}], propDecorators: { save$: [{
|
|
1223
|
+
args: [{ selector: 'valtimo-documenten-api-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"bronorganisatie\"\n type=\"digitOnly\"\n [title]=\"'bronorganisatie' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.bronorganisatie\"\n [required]=\"true\"\n [widthPx]=\"150\"\n [tooltip]=\"'bronorganisatieTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [tooltip]=\"'authenticationPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n</v-form>\n", styles: [""] }]
|
|
1224
|
+
}], ctorParameters: function () { return [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }]; }, propDecorators: { save$: [{
|
|
1429
1225
|
type: Input
|
|
1430
1226
|
}], disabled$: [{
|
|
1431
1227
|
type: Input
|
|
1432
1228
|
}], pluginId: [{
|
|
1433
1229
|
type: Input
|
|
1230
|
+
}], prefillConfiguration$: [{
|
|
1231
|
+
type: Input
|
|
1434
1232
|
}], valid: [{
|
|
1435
1233
|
type: Output
|
|
1436
1234
|
}], configuration: [{
|
|
@@ -1508,12 +1306,12 @@ class StoreTempDocumentConfigurationComponent {
|
|
|
1508
1306
|
});
|
|
1509
1307
|
}
|
|
1510
1308
|
}
|
|
1511
|
-
StoreTempDocumentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StoreTempDocumentConfigurationComponent, deps: [{ token:
|
|
1512
|
-
StoreTempDocumentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: StoreTempDocumentConfigurationComponent, selector: "valtimo-store-temp-document-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"localDocumentLocation\"\n [title]=\"'localDocumentLocation' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.localDocumentLocation\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"storedDocumentUrl\"\n [title]=\"'storedDocumentUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.storedDocumentUrl\"\n [disabled]=\"obs.disabled\"\n >\n </v-input>\n <v-select\n [items]=\"languageSelectItems$ | async\"\n [margin]=\"true\"\n [widthInPx]=\"200\"\n name=\"taal\"\n [title]=\"'taal' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.taal || LANGUAGE_ITEMS[0]\"\n [required]=\"true\"\n ></v-select>\n <v-select\n [items]=\"statusSelectItems$ | async\"\n [margin]=\"true\"\n [widthInPx]=\"200\"\n name=\"status\"\n [title]=\"'status' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.status || STATUS_ITEMS[2]\"\n [required]=\"true\"\n ></v-select>\n <v-input\n name=\"informatieobjecttype\"\n [title]=\"'informatieobjecttype' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.informatieobjecttype\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n</v-form>\n", styles: [""], components: [{ type:
|
|
1309
|
+
StoreTempDocumentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StoreTempDocumentConfigurationComponent, deps: [{ token: i2.TranslateService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1310
|
+
StoreTempDocumentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: StoreTempDocumentConfigurationComponent, selector: "valtimo-store-temp-document-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"localDocumentLocation\"\n [title]=\"'localDocumentLocation' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.localDocumentLocation\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'localDocumentLocationTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"storedDocumentUrl\"\n [title]=\"'storedDocumentUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.storedDocumentUrl\"\n [disabled]=\"obs.disabled\"\n [tooltip]=\"'storeDocumentUrlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-select\n [items]=\"languageSelectItems$ | async\"\n [margin]=\"true\"\n [widthInPx]=\"200\"\n name=\"taal\"\n [title]=\"'taal' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.taal || LANGUAGE_ITEMS[0]\"\n [required]=\"true\"\n ></v-select>\n <v-select\n [items]=\"statusSelectItems$ | async\"\n [margin]=\"true\"\n [widthInPx]=\"200\"\n name=\"status\"\n [title]=\"'status' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.status || STATUS_ITEMS[2]\"\n [required]=\"true\"\n ></v-select>\n <v-input\n name=\"informatieobjecttype\"\n [title]=\"'informatieobjecttype' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.informatieobjecttype\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'informatieobjecttypeTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n</v-form>\n", styles: [""], components: [{ type: i3$1.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i3$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox"], outputs: ["valueChange"] }, { type: i3$1.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder"], outputs: ["selectedChange", "clear"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1513
1311
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StoreTempDocumentConfigurationComponent, decorators: [{
|
|
1514
1312
|
type: Component,
|
|
1515
|
-
args: [{ selector: 'valtimo-store-temp-document-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"localDocumentLocation\"\n [title]=\"'localDocumentLocation' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.localDocumentLocation\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"storedDocumentUrl\"\n [title]=\"'storedDocumentUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.storedDocumentUrl\"\n [disabled]=\"obs.disabled\"\n >\n </v-input>\n <v-select\n [items]=\"languageSelectItems$ | async\"\n [margin]=\"true\"\n [widthInPx]=\"200\"\n name=\"taal\"\n [title]=\"'taal' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.taal || LANGUAGE_ITEMS[0]\"\n [required]=\"true\"\n ></v-select>\n <v-select\n [items]=\"statusSelectItems$ | async\"\n [margin]=\"true\"\n [widthInPx]=\"200\"\n name=\"status\"\n [title]=\"'status' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.status || STATUS_ITEMS[2]\"\n [required]=\"true\"\n ></v-select>\n <v-input\n name=\"informatieobjecttype\"\n [title]=\"'informatieobjecttype' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.informatieobjecttype\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n</v-form>\n", styles: [""] }]
|
|
1516
|
-
}], ctorParameters: function () { return [{ type:
|
|
1313
|
+
args: [{ selector: 'valtimo-store-temp-document-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"localDocumentLocation\"\n [title]=\"'localDocumentLocation' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.localDocumentLocation\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'localDocumentLocationTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"storedDocumentUrl\"\n [title]=\"'storedDocumentUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.storedDocumentUrl\"\n [disabled]=\"obs.disabled\"\n [tooltip]=\"'storeDocumentUrlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-select\n [items]=\"languageSelectItems$ | async\"\n [margin]=\"true\"\n [widthInPx]=\"200\"\n name=\"taal\"\n [title]=\"'taal' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.taal || LANGUAGE_ITEMS[0]\"\n [required]=\"true\"\n ></v-select>\n <v-select\n [items]=\"statusSelectItems$ | async\"\n [margin]=\"true\"\n [widthInPx]=\"200\"\n name=\"status\"\n [title]=\"'status' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.status || STATUS_ITEMS[2]\"\n [required]=\"true\"\n ></v-select>\n <v-input\n name=\"informatieobjecttype\"\n [title]=\"'informatieobjecttype' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.informatieobjecttype\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'informatieobjecttypeTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n</v-form>\n", styles: [""] }]
|
|
1314
|
+
}], ctorParameters: function () { return [{ type: i2.TranslateService }, { type: PluginTranslationService }]; }, propDecorators: { save$: [{
|
|
1517
1315
|
type: Input
|
|
1518
1316
|
}], disabled$: [{
|
|
1519
1317
|
type: Input
|
|
@@ -1617,51 +1415,830 @@ const documentenApiPluginSpecification = {
|
|
|
1617
1415
|
description: 'API voor opslag en ontsluiting van documenten en daarbij behorende metadata.',
|
|
1618
1416
|
'store-temp-document': 'Document opslaan',
|
|
1619
1417
|
configurationTitle: 'Configuratienaam',
|
|
1418
|
+
configurationTitleTooltip: 'Hier kunt je een eigen naam verzinnen. Onder deze naam zal de plugin te herkennen zijn in de rest van de applicatie',
|
|
1620
1419
|
url: 'Documenten API URL',
|
|
1420
|
+
urlTooltip: 'In dit veld moet de verwijzing komen naar de REST API van Documenten. Deze url moet dus eindigen op /documenten/api/v1/',
|
|
1421
|
+
bronorganisatie: 'Bronorganisatie RSIN',
|
|
1422
|
+
bronorganisatieTooltip: 'Vul hier het RSIN van de organisatie in die verantwoordelijk is voor de documenten',
|
|
1621
1423
|
localDocumentLocation: 'Naam procesvariabele met document',
|
|
1424
|
+
localDocumentLocationTooltip: 'Hier moet de procesvariabele ingevuld worden die wijst naar de locatie waar het document lokaal staat opgeslagen',
|
|
1622
1425
|
storedDocumentUrl: 'Naam procesvariabele voor opslag document-URL',
|
|
1426
|
+
storeDocumentUrlTooltip: 'Nadat het document geupload is naar de Documenten API zal de applicatie in deze procesvariabele de URL naar het document opslaan.',
|
|
1623
1427
|
taal: 'Taal',
|
|
1624
1428
|
status: 'Status',
|
|
1625
|
-
informatieobjecttype: '
|
|
1429
|
+
informatieobjecttype: 'URL naar het informatieobjecttype',
|
|
1430
|
+
informatieobjecttypeTooltip: 'Vul in dit veld de volledige URL naar een informatieobjecttype van een Zaak catalogus. Deze URL moet dus eindigen op /catalogi/api/v1/informatieobjecttypen/{uuid}',
|
|
1626
1431
|
nld: 'Nederlands',
|
|
1627
1432
|
in_bewerking: 'In bewerking',
|
|
1628
1433
|
ter_vaststelling: 'Ter vaststelling',
|
|
1629
1434
|
definitief: 'Definitief',
|
|
1630
1435
|
gearchiveerd: 'Gearchiveerd',
|
|
1436
|
+
authenticationPluginConfiguration: 'Configuratie authenticatie-plug-in',
|
|
1437
|
+
authenticationPluginConfigurationTooltip: 'Selecteer de plugin die de authenticatie kan afhandelen. Wanneer de selectiebox leeg blijft zal de authenticatie plugin (bv. OpenZaak) eerst aangemaakt moeten worden',
|
|
1631
1438
|
},
|
|
1632
1439
|
en: {
|
|
1633
1440
|
title: 'Documenten API',
|
|
1634
1441
|
description: 'API for storing and accessing documents and associated metadata.',
|
|
1635
1442
|
'store-temp-document': 'Save document',
|
|
1636
1443
|
configurationTitle: 'Configuration name',
|
|
1444
|
+
configurationTitleTooltip: 'Here you can enter a name for the plugin. This name will be used to recognize the plugin throughout the rest of the application',
|
|
1637
1445
|
url: 'Documenten API URL',
|
|
1446
|
+
urlTooltip: 'This field must contain the URL to the REST API of Documenten, therefore this URL should end with /documenten/api/v1/',
|
|
1447
|
+
bronorganisatie: 'Organisation RSIN',
|
|
1448
|
+
bronorganisatieTooltip: 'Enter here the RSIN of the organization responsible for the documents. The RSIN is a dutch identification number for legal entities and partnerships ',
|
|
1638
1449
|
localDocumentLocation: 'Name of process variable with document',
|
|
1450
|
+
localDocumentLocationTooltip: 'Enter the process variable that points to the location where the document is stored locally',
|
|
1639
1451
|
storedDocumentUrl: 'Process variable name for storing document URL',
|
|
1452
|
+
storeDocumentUrlTooltip: 'After the document has been uploaded to the Documenten API, the application will store the URL to the document in this process variable.',
|
|
1640
1453
|
taal: 'Language',
|
|
1641
1454
|
status: 'Status',
|
|
1642
|
-
informatieobjecttype: '
|
|
1455
|
+
informatieobjecttype: 'URL to the informationobjecttype',
|
|
1456
|
+
informatieobjecttypeTooltip: 'Enter the full URL to an information object type of a Zaak catalog in this field. So this URL must end with /catalogi/api/v1/informatieobjecttypen/{uuid}',
|
|
1643
1457
|
nld: 'Dutch',
|
|
1644
1458
|
in_bewerking: 'Editing',
|
|
1645
1459
|
ter_vaststelling: 'To be confirmed',
|
|
1646
1460
|
definitief: 'Final',
|
|
1647
1461
|
gearchiveerd: 'Archived',
|
|
1462
|
+
authenticationPluginConfiguration: 'Authentication plugin configuration',
|
|
1463
|
+
authenticationPluginConfigurationTooltip: 'Select the plugin that can handle the authentication. If the selection box remains empty, the authentication plugin (e.g. OpenZaak) will have to be created first',
|
|
1648
1464
|
},
|
|
1649
1465
|
de: {
|
|
1650
1466
|
title: 'Documenten API',
|
|
1651
1467
|
description: 'API zum Speichern und Zugreifen auf Dokumente und zugehörige Metadaten.',
|
|
1652
1468
|
'store-temp-document': 'Dokument speichern',
|
|
1653
1469
|
configurationTitle: 'Konfigurationsname',
|
|
1470
|
+
configurationTitleTooltip: 'Hier können Sie einen Namen für das Plugin eingeben. Dieser Name wird verwendet, um das Plugin im Rest der Anwendung zu erkennen',
|
|
1654
1471
|
url: 'Documenten API URL',
|
|
1472
|
+
urlTooltip: 'Dieses Feld muss die URL zur REST API von Documenten enthalten, daher sollte diese URL mit enden /documenten/api/v1/',
|
|
1473
|
+
bronorganisatie: 'Organisation RSIN',
|
|
1474
|
+
bronorganisatieTooltip: 'Geben Sie hier den RAIN der für die Dokumente verantwortlichen Organisation ein. Der RAIN ist eine niederländische Identifikationsnummer für juristische Personen und Personengesellschaften',
|
|
1655
1475
|
localDocumentLocation: 'Name Prozessvariable mit Dokument',
|
|
1476
|
+
localDocumentLocationTooltip: 'Geben Sie die Prozessvariable ein, die auf den Ort zeigt, an dem das Dokument lokal gespeichert ist',
|
|
1656
1477
|
storedDocumentUrl: 'Name der Prozessvariablen zum Speichern der Dokument-URL',
|
|
1478
|
+
storeDocumentUrlTooltip: 'Nachdem das Dokument in die Dokumenten-API hochgeladen wurde, speichert die Anwendung die URL zum Dokument in dieser Prozessvariablen.',
|
|
1657
1479
|
taal: 'Sprache',
|
|
1658
1480
|
status: 'Status',
|
|
1659
|
-
informatieobjecttype: 'Informationsobjekttyp',
|
|
1481
|
+
informatieobjecttype: 'URL zum Informationsobjekttyp',
|
|
1482
|
+
informatieobjecttypeTooltip: 'Geben Sie in diesem Feld die vollständige URL zu einem Informationsobjekttyp eines Case Katalogs. Diese URL muss daher mit enden /catalogi/api/v1/informatieobjecttypen/{uuid}',
|
|
1660
1483
|
nld: 'Niederländisch',
|
|
1661
1484
|
in_bewerking: 'In Bearbeitung',
|
|
1662
1485
|
ter_vaststelling: 'Zu bestimmen',
|
|
1663
1486
|
definitief: 'Endgültig',
|
|
1664
1487
|
gearchiveerd: 'Archiviert',
|
|
1488
|
+
authenticationPluginConfiguration: 'Authentifizierungs-Plugin-Konfiguration',
|
|
1489
|
+
authenticationPluginConfigurationTooltip: 'Wählen Sie das Plugin aus, das die Authentifizierung verarbeiten kann. Bleibt das Auswahlfeld leer, muss zunächst das Authentifizierungs-Plugin (z. B. OpenZaak) erstellt werden',
|
|
1490
|
+
},
|
|
1491
|
+
},
|
|
1492
|
+
};
|
|
1493
|
+
|
|
1494
|
+
/*
|
|
1495
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1496
|
+
*
|
|
1497
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1498
|
+
* you may not use this file except in compliance with the License.
|
|
1499
|
+
* You may obtain a copy of the License at
|
|
1500
|
+
*
|
|
1501
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1502
|
+
*
|
|
1503
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1504
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1505
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1506
|
+
* See the License for the specific language governing permissions and
|
|
1507
|
+
* limitations under the License.
|
|
1508
|
+
*/
|
|
1509
|
+
class ObjecttypenApiConfigurationComponent {
|
|
1510
|
+
constructor(pluginManagementService, translateService, pluginTranslationService) {
|
|
1511
|
+
this.pluginManagementService = pluginManagementService;
|
|
1512
|
+
this.translateService = translateService;
|
|
1513
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
1514
|
+
this.valid = new EventEmitter();
|
|
1515
|
+
this.configuration = new EventEmitter();
|
|
1516
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
1517
|
+
this.valid$ = new BehaviorSubject(false);
|
|
1518
|
+
this.authenticationPluginSelectItems$ = combineLatest([
|
|
1519
|
+
this.pluginManagementService.getPluginConfigurationsByCategory('objecten-api-authentication'),
|
|
1520
|
+
this.translateService.stream('key'),
|
|
1521
|
+
]).pipe(map$1(([configurations]) => configurations.map(configuration => ({
|
|
1522
|
+
id: configuration.id,
|
|
1523
|
+
text: `${configuration.title} - ${this.pluginTranslationService.instant('title', configuration.pluginDefinition.key)}`,
|
|
1524
|
+
}))));
|
|
1525
|
+
}
|
|
1526
|
+
ngOnInit() {
|
|
1527
|
+
this.openSaveSubscription();
|
|
1528
|
+
}
|
|
1529
|
+
ngOnDestroy() {
|
|
1530
|
+
var _a;
|
|
1531
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1532
|
+
}
|
|
1533
|
+
formValueChange(formValue) {
|
|
1534
|
+
this.formValue$.next(formValue);
|
|
1535
|
+
this.handleValid(formValue);
|
|
1536
|
+
}
|
|
1537
|
+
handleValid(formValue) {
|
|
1538
|
+
const valid = !!(formValue.configurationTitle &&
|
|
1539
|
+
formValue.url &&
|
|
1540
|
+
formValue.authenticationPluginConfiguration);
|
|
1541
|
+
this.valid$.next(valid);
|
|
1542
|
+
this.valid.emit(valid);
|
|
1543
|
+
}
|
|
1544
|
+
openSaveSubscription() {
|
|
1545
|
+
var _a;
|
|
1546
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
1547
|
+
combineLatest([this.formValue$, this.valid$])
|
|
1548
|
+
.pipe(take(1))
|
|
1549
|
+
.subscribe(([formValue, valid]) => {
|
|
1550
|
+
if (valid) {
|
|
1551
|
+
this.configuration.emit(formValue);
|
|
1552
|
+
}
|
|
1553
|
+
});
|
|
1554
|
+
});
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
ObjecttypenApiConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjecttypenApiConfigurationComponent, deps: [{ token: PluginManagementService }, { token: i2.TranslateService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1558
|
+
ObjecttypenApiConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ObjecttypenApiConfigurationComponent, selector: "valtimo-objecttypen-api-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n ></v-select>\n </ng-container>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], components: [{ type: i3$1.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i3$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox"], outputs: ["valueChange"] }, { type: i3$1.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder"], outputs: ["selectedChange", "clear"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjecttypenApiConfigurationComponent, decorators: [{
|
|
1560
|
+
type: Component,
|
|
1561
|
+
args: [{ selector: 'valtimo-objecttypen-api-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n ></v-select>\n </ng-container>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
|
|
1562
|
+
}], ctorParameters: function () { return [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }]; }, propDecorators: { save$: [{
|
|
1563
|
+
type: Input
|
|
1564
|
+
}], disabled$: [{
|
|
1565
|
+
type: Input
|
|
1566
|
+
}], pluginId: [{
|
|
1567
|
+
type: Input
|
|
1568
|
+
}], prefillConfiguration$: [{
|
|
1569
|
+
type: Input
|
|
1570
|
+
}], valid: [{
|
|
1571
|
+
type: Output
|
|
1572
|
+
}], configuration: [{
|
|
1573
|
+
type: Output
|
|
1574
|
+
}] } });
|
|
1575
|
+
|
|
1576
|
+
/*
|
|
1577
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1578
|
+
*
|
|
1579
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1580
|
+
* you may not use this file except in compliance with the License.
|
|
1581
|
+
* You may obtain a copy of the License at
|
|
1582
|
+
*
|
|
1583
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1584
|
+
*
|
|
1585
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1586
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1587
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1588
|
+
* See the License for the specific language governing permissions and
|
|
1589
|
+
* limitations under the License.
|
|
1590
|
+
*/
|
|
1591
|
+
class ObjecttypenApiPluginModule {
|
|
1592
|
+
}
|
|
1593
|
+
ObjecttypenApiPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjecttypenApiPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1594
|
+
ObjecttypenApiPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjecttypenApiPluginModule, declarations: [ObjecttypenApiConfigurationComponent], imports: [CommonModule,
|
|
1595
|
+
PluginTranslatePipeModule,
|
|
1596
|
+
FormModule,
|
|
1597
|
+
InputModule,
|
|
1598
|
+
SelectModule,
|
|
1599
|
+
ParagraphModule], exports: [ObjecttypenApiConfigurationComponent] });
|
|
1600
|
+
ObjecttypenApiPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjecttypenApiPluginModule, imports: [[
|
|
1601
|
+
CommonModule,
|
|
1602
|
+
PluginTranslatePipeModule,
|
|
1603
|
+
FormModule,
|
|
1604
|
+
InputModule,
|
|
1605
|
+
SelectModule,
|
|
1606
|
+
ParagraphModule,
|
|
1607
|
+
]] });
|
|
1608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjecttypenApiPluginModule, decorators: [{
|
|
1609
|
+
type: NgModule,
|
|
1610
|
+
args: [{
|
|
1611
|
+
declarations: [ObjecttypenApiConfigurationComponent],
|
|
1612
|
+
imports: [
|
|
1613
|
+
CommonModule,
|
|
1614
|
+
PluginTranslatePipeModule,
|
|
1615
|
+
FormModule,
|
|
1616
|
+
InputModule,
|
|
1617
|
+
SelectModule,
|
|
1618
|
+
ParagraphModule,
|
|
1619
|
+
],
|
|
1620
|
+
exports: [ObjecttypenApiConfigurationComponent],
|
|
1621
|
+
}]
|
|
1622
|
+
}] });
|
|
1623
|
+
|
|
1624
|
+
/*
|
|
1625
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1626
|
+
*
|
|
1627
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1628
|
+
* you may not use this file except in compliance with the License.
|
|
1629
|
+
* You may obtain a copy of the License at
|
|
1630
|
+
*
|
|
1631
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1632
|
+
*
|
|
1633
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1634
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1635
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1636
|
+
* See the License for the specific language governing permissions and
|
|
1637
|
+
* limitations under the License.
|
|
1638
|
+
*/
|
|
1639
|
+
const OBJECTTYPEN_API_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAA8CAYAAAC+ej5cAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH5ggRCgE1liNZsAAAAAFvck5UAc+id5oAABALSURBVHja7d15tF11dQfwz+/c+15GMEAYAoggqJi8RIsWJ5AhIQzagriw4oSt7XKoWrQWrcsBqC2tdVm7rNRFi0NbsVLrWC0hL5EiyNACShIiMshMQMCEJDzecO+vf+x733Dfve/e9/IylOa71l153HPPOb+z92/v397fvX+HZNvQhWfjBTgcB2IOvoyfbuO1n2lYhD9AHx7Gnbgd92FwRw9mb7wRl+EX2Iwh5Nq/r9vZ0toFcQr6hYwqQmZ34Bs4G/vsiEGU8Fu4GgO1wTR+BnDGzpbWLohT8LTmMhsUMn0tiu01gFn4BDa1GMTowey2wPEYbYGtPhvxp5gx3Tcv4wKhnIkGsBUP1Qa7G2NxAh4QMppIhv34iGm2xDOFz252w8dxOd6F47EYc3e2tHZBzEGPkNG78U08oblMf42Tp+vG8/BfLW50TW1AXTtbOv8H0Y1luEFz2f5AKH2bcSqeanKDm/H8nS2FZwB6sM54+W7CMe1O7sTPHiMCmNEYxN+IFGI3tg1r8XeoNny/J17Z7uR2CiyLJL0R9+Kqnf3kzyD0iuCvEUe2O7GdArtF0t6Ie/Crnf3UzyA8IiLURuyjTXzRToGFUGIjtgjGZTemBwNCpo3o0kZHU801qmKh3Y3pQTZ+DY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Pz+OYgD4pMUeLx2bz+upql7ThX2Qq7FdgC6dXX7OwhdISp5kBTrTLvRnMkIdNGtK2dtlPg6LaI0dhT87dX7MbUUM93G9GqW2IY7RTYrzmZeqjJ9snsxkRYYGwVv45HteFC2ymwKojZRhwiutV2Y3pwqubViGmJko4zwk2O/qwX/ORubBteJfLKRvn+Sid11w4wRzAOzV6JeJtovdjtTieP/QUXfIfmsv26DuKMTiPJE0R9bN8mxwaFIm8UbeWPCJ7zwZ0toV0MC0T14wDBuR4t+mCapXIPit6a9rvAJoF3a/3W3sZXBp8+xXs8k3GyaLNoJ7+NwqtNO0pip099K06rz+631jfHRG+tr39+KdoKt9ub64lOrq+IEHe3AjvHRAp8FF8S7SaTwlSotJvF4rtElF5eKd6dMl+w9q027P9/R31yV4QrfUz831uuFd1/PzOFV3hOBx02U0ShC2r/zhE7me7b2RLbxXCQ6Hp7SljcwyLge3pbLvq/tzlrRmlpAg8AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTA6MDE6NDQrMDA6MDBT+iFgAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDEwOjAxOjQ0KzAwOjAwIqeZ3AAAAABJRU5ErkJggg==';
|
|
1640
|
+
|
|
1641
|
+
/*
|
|
1642
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1643
|
+
*
|
|
1644
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1645
|
+
* you may not use this file except in compliance with the License.
|
|
1646
|
+
* You may obtain a copy of the License at
|
|
1647
|
+
*
|
|
1648
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1649
|
+
*
|
|
1650
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1651
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1652
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1653
|
+
* See the License for the specific language governing permissions and
|
|
1654
|
+
* limitations under the License.
|
|
1655
|
+
*/
|
|
1656
|
+
|
|
1657
|
+
/*
|
|
1658
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1659
|
+
*
|
|
1660
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1661
|
+
* you may not use this file except in compliance with the License.
|
|
1662
|
+
* You may obtain a copy of the License at
|
|
1663
|
+
*
|
|
1664
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1665
|
+
*
|
|
1666
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1667
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1668
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1669
|
+
* See the License for the specific language governing permissions and
|
|
1670
|
+
* limitations under the License.
|
|
1671
|
+
*/
|
|
1672
|
+
const objecttypenApiPluginSpecification = {
|
|
1673
|
+
pluginId: 'objecttypenapi',
|
|
1674
|
+
pluginConfigurationComponent: ObjecttypenApiConfigurationComponent,
|
|
1675
|
+
pluginLogoBase64: OBJECTTYPEN_API_PLUGIN_LOGO_BASE64,
|
|
1676
|
+
pluginTranslations: {
|
|
1677
|
+
nl: {
|
|
1678
|
+
title: 'Objecttypen API',
|
|
1679
|
+
url: 'Objecttypen API URL',
|
|
1680
|
+
urlTooltip: 'In dit veld moet de verwijzing komen naar de REST API van Objecttypen',
|
|
1681
|
+
description: 'Met de Overige Objecten Registratie API-specificaties (Objecttypen) kunnen gemeenten eenduidig objecten registreren, opslaan en ontsluiten.',
|
|
1682
|
+
configurationTitle: 'Configuratienaam',
|
|
1683
|
+
configurationTitleTooltip: 'Onder deze naam zal de plugin te herkennen zijn in de rest van de applicatie',
|
|
1684
|
+
authenticationPluginConfiguration: 'Configuratie authenticatie-plug-in',
|
|
1685
|
+
},
|
|
1686
|
+
en: {
|
|
1687
|
+
title: 'Objecttypen API',
|
|
1688
|
+
url: 'Objecttypen API URL',
|
|
1689
|
+
urlTooltip: 'This field must contain the URL to the REST API of Objecttypen',
|
|
1690
|
+
description: 'With the Other Objects Registration API specifications (Object types), municipalities can unambiguously register, store and access objects.',
|
|
1691
|
+
configurationTitle: 'Configuration name',
|
|
1692
|
+
configurationTitleTooltip: 'With this name the plugin will be recognizable in the rest of the application',
|
|
1693
|
+
authenticationPluginConfiguration: 'Authentication plugin configuration',
|
|
1694
|
+
},
|
|
1695
|
+
de: {
|
|
1696
|
+
title: 'Objecttypen API',
|
|
1697
|
+
url: 'Objecttypen API URL',
|
|
1698
|
+
urlTooltip: 'Dieses Feld muss die URL zur REST API von Objecttypen enthalten',
|
|
1699
|
+
description: 'Mit den Spezifikationen der Other Objects Registration API (Objekttypen) können Kommunen Objekte eindeutig registrieren, speichern und darauf zugreifen.',
|
|
1700
|
+
configurationTitle: 'Konfigurationsname',
|
|
1701
|
+
configurationTitleTooltip: 'An diesem Namen wird das Plugin im Rest der Anwendung erkennbar sein',
|
|
1702
|
+
authenticationPluginConfiguration: 'Authentifizierungs-Plugin-Konfiguration',
|
|
1703
|
+
},
|
|
1704
|
+
},
|
|
1705
|
+
};
|
|
1706
|
+
|
|
1707
|
+
/*
|
|
1708
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1709
|
+
*
|
|
1710
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1711
|
+
* you may not use this file except in compliance with the License.
|
|
1712
|
+
* You may obtain a copy of the License at
|
|
1713
|
+
*
|
|
1714
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1715
|
+
*
|
|
1716
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1717
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1718
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1719
|
+
* See the License for the specific language governing permissions and
|
|
1720
|
+
* limitations under the License.
|
|
1721
|
+
*/
|
|
1722
|
+
class ZakenApiConfigurationComponent {
|
|
1723
|
+
constructor(pluginManagementService, translateService, pluginTranslationService) {
|
|
1724
|
+
this.pluginManagementService = pluginManagementService;
|
|
1725
|
+
this.translateService = translateService;
|
|
1726
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
1727
|
+
this.valid = new EventEmitter();
|
|
1728
|
+
this.configuration = new EventEmitter();
|
|
1729
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
1730
|
+
this.valid$ = new BehaviorSubject(false);
|
|
1731
|
+
this.authenticationPluginSelectItems$ = combineLatest([
|
|
1732
|
+
this.pluginManagementService.getPluginConfigurationsByCategory('zaken-api-authentication'),
|
|
1733
|
+
this.translateService.stream('key'),
|
|
1734
|
+
]).pipe(map$1(([configurations]) => configurations.map(configuration => ({
|
|
1735
|
+
id: configuration.id,
|
|
1736
|
+
text: `${configuration.title} - ${this.pluginTranslationService.instant('title', configuration.pluginDefinition.key)}`,
|
|
1737
|
+
}))));
|
|
1738
|
+
}
|
|
1739
|
+
ngOnInit() {
|
|
1740
|
+
this.openSaveSubscription();
|
|
1741
|
+
}
|
|
1742
|
+
ngOnDestroy() {
|
|
1743
|
+
var _a;
|
|
1744
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1745
|
+
}
|
|
1746
|
+
formValueChange(formValue) {
|
|
1747
|
+
this.formValue$.next(formValue);
|
|
1748
|
+
this.handleValid(formValue);
|
|
1749
|
+
}
|
|
1750
|
+
handleValid(formValue) {
|
|
1751
|
+
const valid = !!(formValue.configurationTitle &&
|
|
1752
|
+
formValue.url &&
|
|
1753
|
+
formValue.authenticationPluginConfiguration);
|
|
1754
|
+
this.valid$.next(valid);
|
|
1755
|
+
this.valid.emit(valid);
|
|
1756
|
+
}
|
|
1757
|
+
openSaveSubscription() {
|
|
1758
|
+
var _a;
|
|
1759
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
1760
|
+
combineLatest([this.formValue$, this.valid$])
|
|
1761
|
+
.pipe(take(1))
|
|
1762
|
+
.subscribe(([formValue, valid]) => {
|
|
1763
|
+
if (valid) {
|
|
1764
|
+
this.configuration.emit(formValue);
|
|
1765
|
+
}
|
|
1766
|
+
});
|
|
1767
|
+
});
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
ZakenApiConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiConfigurationComponent, deps: [{ token: PluginManagementService }, { token: i2.TranslateService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1771
|
+
ZakenApiConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ZakenApiConfigurationComponent, selector: "valtimo-zaken-api-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [tooltip]=\"'authenticationPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n</v-form>\n", styles: [""], components: [{ type: i3$1.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i3$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox"], outputs: ["valueChange"] }, { type: i3$1.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder"], outputs: ["selectedChange", "clear"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiConfigurationComponent, decorators: [{
|
|
1773
|
+
type: Component,
|
|
1774
|
+
args: [{ selector: 'valtimo-zaken-api-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [tooltip]=\"'authenticationPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n</v-form>\n", styles: [""] }]
|
|
1775
|
+
}], ctorParameters: function () { return [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }]; }, propDecorators: { save$: [{
|
|
1776
|
+
type: Input
|
|
1777
|
+
}], disabled$: [{
|
|
1778
|
+
type: Input
|
|
1779
|
+
}], pluginId: [{
|
|
1780
|
+
type: Input
|
|
1781
|
+
}], prefillConfiguration$: [{
|
|
1782
|
+
type: Input
|
|
1783
|
+
}], valid: [{
|
|
1784
|
+
type: Output
|
|
1785
|
+
}], configuration: [{
|
|
1786
|
+
type: Output
|
|
1787
|
+
}] } });
|
|
1788
|
+
|
|
1789
|
+
/*
|
|
1790
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1791
|
+
*
|
|
1792
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1793
|
+
* you may not use this file except in compliance with the License.
|
|
1794
|
+
* You may obtain a copy of the License at
|
|
1795
|
+
*
|
|
1796
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1797
|
+
*
|
|
1798
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1799
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1800
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1801
|
+
* See the License for the specific language governing permissions and
|
|
1802
|
+
* limitations under the License.
|
|
1803
|
+
*/
|
|
1804
|
+
class LinkDocumentToZaakConfigurationComponent {
|
|
1805
|
+
constructor(pluginManagementService, translateService, pluginTranslationService) {
|
|
1806
|
+
this.pluginManagementService = pluginManagementService;
|
|
1807
|
+
this.translateService = translateService;
|
|
1808
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
1809
|
+
this.valid = new EventEmitter();
|
|
1810
|
+
this.configuration = new EventEmitter();
|
|
1811
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
1812
|
+
this.valid$ = new BehaviorSubject(false);
|
|
1813
|
+
this.authenticationPluginSelectItems$ = combineLatest([
|
|
1814
|
+
this.pluginManagementService.getPluginConfigurationsByCategory('link-document-to-zaak'),
|
|
1815
|
+
this.translateService.stream('key'),
|
|
1816
|
+
]).pipe(map$1(([configurations]) => configurations.map(configuration => ({
|
|
1817
|
+
id: configuration.id,
|
|
1818
|
+
text: `${configuration.title} - ${this.pluginTranslationService.instant('title', configuration.pluginDefinition.key)}`,
|
|
1819
|
+
}))));
|
|
1820
|
+
}
|
|
1821
|
+
ngOnInit() {
|
|
1822
|
+
this.openSaveSubscription();
|
|
1823
|
+
}
|
|
1824
|
+
ngOnDestroy() {
|
|
1825
|
+
var _a;
|
|
1826
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1827
|
+
}
|
|
1828
|
+
formValueChange(formValue) {
|
|
1829
|
+
this.formValue$.next(formValue);
|
|
1830
|
+
this.handleValid(formValue);
|
|
1831
|
+
}
|
|
1832
|
+
handleValid(formValue) {
|
|
1833
|
+
const valid = !!formValue.documentUrl;
|
|
1834
|
+
this.valid$.next(valid);
|
|
1835
|
+
this.valid.emit(valid);
|
|
1836
|
+
}
|
|
1837
|
+
openSaveSubscription() {
|
|
1838
|
+
var _a;
|
|
1839
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
1840
|
+
combineLatest([this.formValue$, this.valid$])
|
|
1841
|
+
.pipe(take(1))
|
|
1842
|
+
.subscribe(([formValue, valid]) => {
|
|
1843
|
+
if (valid) {
|
|
1844
|
+
this.configuration.emit(formValue);
|
|
1845
|
+
}
|
|
1846
|
+
});
|
|
1847
|
+
});
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
LinkDocumentToZaakConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LinkDocumentToZaakConfigurationComponent, deps: [{ token: PluginManagementService }, { token: i2.TranslateService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1851
|
+
LinkDocumentToZaakConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: LinkDocumentToZaakConfigurationComponent, selector: "valtimo-link-document-to-zaak-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'linkDocumentInformation' | pluginTranslate: pluginId | async }}\n</v-paragraph>\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"documentUrl\"\n [title]=\"'documentUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.documentUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'documentUrlTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n <v-input\n name=\"titel\"\n [title]=\"'titel' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.titel\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'titelTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"beschrijving\"\n [title]=\"'beschrijving' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.beschrijving\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'beschrijvingTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n</v-form>\n", styles: [""], components: [{ type: i3$1.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading"] }, { type: i3$1.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i3$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox"], outputs: ["valueChange"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LinkDocumentToZaakConfigurationComponent, decorators: [{
|
|
1853
|
+
type: Component,
|
|
1854
|
+
args: [{ selector: 'valtimo-link-document-to-zaak-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'linkDocumentInformation' | pluginTranslate: pluginId | async }}\n</v-paragraph>\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"documentUrl\"\n [title]=\"'documentUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.documentUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'documentUrlTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n <v-input\n name=\"titel\"\n [title]=\"'titel' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.titel\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'titelTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"beschrijving\"\n [title]=\"'beschrijving' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.beschrijving\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'beschrijvingTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n</v-form>\n", styles: [""] }]
|
|
1855
|
+
}], ctorParameters: function () { return [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }]; }, propDecorators: { save$: [{
|
|
1856
|
+
type: Input
|
|
1857
|
+
}], disabled$: [{
|
|
1858
|
+
type: Input
|
|
1859
|
+
}], pluginId: [{
|
|
1860
|
+
type: Input
|
|
1861
|
+
}], prefillConfiguration$: [{
|
|
1862
|
+
type: Input
|
|
1863
|
+
}], valid: [{
|
|
1864
|
+
type: Output
|
|
1865
|
+
}], configuration: [{
|
|
1866
|
+
type: Output
|
|
1867
|
+
}] } });
|
|
1868
|
+
|
|
1869
|
+
/*
|
|
1870
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1871
|
+
*
|
|
1872
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1873
|
+
* you may not use this file except in compliance with the License.
|
|
1874
|
+
* You may obtain a copy of the License at
|
|
1875
|
+
*
|
|
1876
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1877
|
+
*
|
|
1878
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1879
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1880
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1881
|
+
* See the License for the specific language governing permissions and
|
|
1882
|
+
* limitations under the License.
|
|
1883
|
+
*/
|
|
1884
|
+
class ZakenApiPluginModule {
|
|
1885
|
+
}
|
|
1886
|
+
ZakenApiPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1887
|
+
ZakenApiPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiPluginModule, declarations: [ZakenApiConfigurationComponent, LinkDocumentToZaakConfigurationComponent], imports: [CommonModule,
|
|
1888
|
+
PluginTranslatePipeModule,
|
|
1889
|
+
FormModule,
|
|
1890
|
+
InputModule,
|
|
1891
|
+
SelectModule,
|
|
1892
|
+
ParagraphModule], exports: [ZakenApiConfigurationComponent, LinkDocumentToZaakConfigurationComponent] });
|
|
1893
|
+
ZakenApiPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiPluginModule, imports: [[
|
|
1894
|
+
CommonModule,
|
|
1895
|
+
PluginTranslatePipeModule,
|
|
1896
|
+
FormModule,
|
|
1897
|
+
InputModule,
|
|
1898
|
+
SelectModule,
|
|
1899
|
+
ParagraphModule,
|
|
1900
|
+
]] });
|
|
1901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiPluginModule, decorators: [{
|
|
1902
|
+
type: NgModule,
|
|
1903
|
+
args: [{
|
|
1904
|
+
declarations: [ZakenApiConfigurationComponent, LinkDocumentToZaakConfigurationComponent],
|
|
1905
|
+
imports: [
|
|
1906
|
+
CommonModule,
|
|
1907
|
+
PluginTranslatePipeModule,
|
|
1908
|
+
FormModule,
|
|
1909
|
+
InputModule,
|
|
1910
|
+
SelectModule,
|
|
1911
|
+
ParagraphModule,
|
|
1912
|
+
],
|
|
1913
|
+
exports: [ZakenApiConfigurationComponent, LinkDocumentToZaakConfigurationComponent],
|
|
1914
|
+
}]
|
|
1915
|
+
}] });
|
|
1916
|
+
|
|
1917
|
+
/*
|
|
1918
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1919
|
+
*
|
|
1920
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1921
|
+
* you may not use this file except in compliance with the License.
|
|
1922
|
+
* You may obtain a copy of the License at
|
|
1923
|
+
*
|
|
1924
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1925
|
+
*
|
|
1926
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1927
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1928
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1929
|
+
* See the License for the specific language governing permissions and
|
|
1930
|
+
* limitations under the License.
|
|
1931
|
+
*/
|
|
1932
|
+
const ZAKEN_API_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHMAAAA8CAYAAABVTYVfAAAACXBIW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1bRUB4WrmjjMmV+IcULEtD6/zJZCv2K3L/eT5/0pp4b7gHmeAZduHs7fDUGgtL1Geb/lGf8pZuu0YvK7HgCnWNsLPKCuwJnHsR8fMHbcX1z2P+Cm4K9grL1LfdmoQfzPGbhFgVOwnA9URR4KGlm/hdb1KvEDCCjbnx+yWPpT45wDNnbAVzz8Xcy1qD3+N+C/R0HIX9e8fFVffIH2pi5xMfaQJlYeJv6vsRdys0kTH1iU+1fLyiX/A82cQ9wnFReUaxNtEQ+ROGrYem1Dv/1dUhXDbdMItv8ThtTibtnpoxM+Zdeh2dxvBK/AeaCvC8Vcixv2T/VHgeZTlKE1U5P8+o2ch1O0YgXPAVPD1POUF5iNvjiThTUNxhkzFpwS4hKDn84o+Su4nZZSeGOgE0OTKKe/ePpzczntBv5XUfdHC3Y3AW8AOVPcgJM4kqePh8Ba5u57u8wvZg7kFNLkq+IFAZCQqwxEdj3Ic0flisF3SUToQXcBlBXcl8xCkVhtb31qO6I+xH8WWaV4mT2ccHDXbg/l5YD348yif+HKyN6Z2rHdFfhh1jwcexFyGmGmm0E68M+U++wh7EG6gY9tpqQQS0jmjvWL8DsoLykBPBh4D0tlDmRh1Pp9HiAt7UFmMdn6ZsoL/YP7fprzlIZljps2UF64HLiHccgtIGXApkPKh8VZEN2Zc55HlfxF5CO14hIpj0tuk1U3m/5OakDpMbDsDhxLULwGZgi3zHxj9I/7QMw6eV/7ZfGd+CPos6jQi/irKC9/OtIHMB7M/qkJdZBSuOxbXG0kXQ3HcHNQL0iv4qLudzvHrmS+93U9oXRZFk2cNnNNp4jgd+N4B/Kx9SOdOhg/bTmnA43fS4P8A/zvlqbh/D8sAAAAASUVORK5CYII=';
|
|
1933
|
+
|
|
1934
|
+
/*
|
|
1935
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1936
|
+
*
|
|
1937
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1938
|
+
* you may not use this file except in compliance with the License.
|
|
1939
|
+
* You may obtain a copy of the License at
|
|
1940
|
+
*
|
|
1941
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1942
|
+
*
|
|
1943
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1944
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1945
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1946
|
+
* See the License for the specific language governing permissions and
|
|
1947
|
+
* limitations under the License.
|
|
1948
|
+
*/
|
|
1949
|
+
|
|
1950
|
+
/*
|
|
1951
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1952
|
+
*
|
|
1953
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1954
|
+
* you may not use this file except in compliance with the License.
|
|
1955
|
+
* You may obtain a copy of the License at
|
|
1956
|
+
*
|
|
1957
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1958
|
+
*
|
|
1959
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1960
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1961
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1962
|
+
* See the License for the specific language governing permissions and
|
|
1963
|
+
* limitations under the License.
|
|
1964
|
+
*/
|
|
1965
|
+
const zakenApiPluginSpecification = {
|
|
1966
|
+
pluginId: 'zakenapi',
|
|
1967
|
+
/*
|
|
1968
|
+
A component of the interface PluginConfigurationComponent, used to configure the plugin itself.
|
|
1969
|
+
*/
|
|
1970
|
+
pluginConfigurationComponent: ZakenApiConfigurationComponent,
|
|
1971
|
+
pluginLogoBase64: ZAKEN_API_PLUGIN_LOGO_BASE64,
|
|
1972
|
+
functionConfigurationComponents: {
|
|
1973
|
+
'link-document-to-zaak': LinkDocumentToZaakConfigurationComponent,
|
|
1974
|
+
},
|
|
1975
|
+
pluginTranslations: {
|
|
1976
|
+
nl: {
|
|
1977
|
+
title: 'Zaken API',
|
|
1978
|
+
url: 'Zaken API URL',
|
|
1979
|
+
urlTooltip: 'In dit veld moet de verwijzing komen naar de REST api van Open zaak. Deze url moet dus eindigen op /zaken/api/v1/',
|
|
1980
|
+
description: 'De API ondersteunt het opslaan en het naar andere applicaties ontsluiten van gegevens over alle gemeentelijke zaken, van elk type.',
|
|
1981
|
+
'link-document-to-zaak': 'Koppel document aan zaak',
|
|
1982
|
+
configurationTitle: 'Configuratienaam',
|
|
1983
|
+
configurationTitleTooltip: 'Onder deze naam zal de plugin te herkennen zijn in de rest van de applicatie',
|
|
1984
|
+
documentUrl: 'URL naar het document',
|
|
1985
|
+
documentUrlTooltip: 'Dit veld ondersteunt URLs en proces variabelen. Gebruik pv:variable om een proces variabele uit te lezen',
|
|
1986
|
+
titel: 'Documenttitel',
|
|
1987
|
+
titelTooltip: '(Optioneel) Vult het titel veld in de metadata van de link tussen de Zaak en het Document',
|
|
1988
|
+
beschrijving: 'Documentbeschrijving',
|
|
1989
|
+
beschrijvingTooltip: '(Optioneel) Vult het beschrijving veld in de metadata van de link tussen de Zaak en het Document',
|
|
1990
|
+
authenticationPluginConfiguration: 'Configuratie authenticatie-plug-in',
|
|
1991
|
+
authenticationPluginConfigurationTooltip: 'Selecteer de plugin die de authenticatie kan afhandelen. Wanneer de selectiebox leeg blijft zal de authenticatie plugin (bv. OpenZaak) eerst aangemaakt moeten worden',
|
|
1992
|
+
linkDocumentInformation: 'Deze actie koppelt een document uit de Documenten API aan de zaak die bij het dossier hoort.',
|
|
1993
|
+
},
|
|
1994
|
+
en: {
|
|
1995
|
+
title: 'Zaken API',
|
|
1996
|
+
url: 'URL',
|
|
1997
|
+
urlTooltip: 'This field must contain the URL to the rest API of Open Zaak, therefore this URL should end with /zaken/api/v1/',
|
|
1998
|
+
description: 'The API supports the storage and disclosure of data on all municipal matters to other applications, of all types.',
|
|
1999
|
+
'link-document-to-zaak': 'Link document to zaak',
|
|
2000
|
+
configurationTitle: 'Configuration name',
|
|
2001
|
+
configurationTitleTooltip: 'With this name the plugin will be recognizable in the rest of the application',
|
|
2002
|
+
documentUrl: 'URL to the document',
|
|
2003
|
+
documentUrlTooltip: 'This field supports URLs and process variables. Use pv:variable to read a process variable',
|
|
2004
|
+
titel: 'Document title',
|
|
2005
|
+
titelTooltip: '(Optional) Fills the title field in the metadata of the link between the Zaak and the Document',
|
|
2006
|
+
beschrijving: 'Document description',
|
|
2007
|
+
beschrijvingTooltip: '(Optional) Fills the description field in the metadata of the link between the Zaak and the Document',
|
|
2008
|
+
authenticationPluginConfiguration: 'Authentication plugin configuration',
|
|
2009
|
+
authenticationPluginConfigurationTooltip: 'Select the plugin that can handle the authentication. If the selection box remains empty, the authentication plugin (e.g. OpenZaak) will have to be created first',
|
|
2010
|
+
linkDocumentInformation: 'This action links a document from the Documents API to the zaak associated with the case.',
|
|
2011
|
+
},
|
|
2012
|
+
de: {
|
|
2013
|
+
title: 'Zaken API',
|
|
2014
|
+
url: 'URL',
|
|
2015
|
+
urlTooltip: 'Dieses Feld muss die URL zur rest API von Open Zaak enthalten, daher sollte diese URL mit enden /zaken/api/v1/',
|
|
2016
|
+
description: 'Die API unterstützt die Speicherung und Weitergabe von Daten zu allen kommunalen Belangen an andere Anwendungen.',
|
|
2017
|
+
'link-document-to-zaak': 'Dokument mit Zaak verknüpfen',
|
|
2018
|
+
configurationTitle: 'Konfigurationsname',
|
|
2019
|
+
configurationTitleTooltip: 'An diesem Namen wird das Plugin im Rest der Anwendung erkennbar sein',
|
|
2020
|
+
documentUrl: 'URL zum Dokument',
|
|
2021
|
+
documentUrlTooltip: 'Dieses Feld unterstützt URLs und Prozessvariablen. Verwenden Sie pv:Variablen, um eine Prozessvariable zu lesen',
|
|
2022
|
+
titel: 'Dokumenttitel',
|
|
2023
|
+
titelTooltip: '(Optional) Füllt das Titelfeld in den Metadaten des Links zwischen dem Zaak und dem Dokument aus',
|
|
2024
|
+
beschrijving: 'Dokumentbeschreibung',
|
|
2025
|
+
beschrijvingTooltip: '(Optional) Füllt das Beschreibungsfeld in den Metadaten des Links zwischen dem Zaak und dem Dokument aus',
|
|
2026
|
+
authenticationPluginConfiguration: 'Authentifizierungs-Plugin-Konfiguration',
|
|
2027
|
+
authenticationPluginConfigurationTooltip: 'Wählen Sie das Plugin aus, das die Authentifizierung verarbeiten kann. Bleibt das Auswahlfeld leer, muss zunächst das Authentifizierungs-Plugin (z. B. OpenZaak) erstellt werden',
|
|
2028
|
+
linkDocumentInformation: 'Diese Aktion verknüpft ein Dokument aus der Dokumenten-API mit dem mit dem Fall verknüpften Zaak.',
|
|
2029
|
+
},
|
|
2030
|
+
},
|
|
2031
|
+
};
|
|
2032
|
+
|
|
2033
|
+
/*
|
|
2034
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
2035
|
+
*
|
|
2036
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
2037
|
+
* you may not use this file except in compliance with the License.
|
|
2038
|
+
* You may obtain a copy of the License at
|
|
2039
|
+
*
|
|
2040
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
2041
|
+
*
|
|
2042
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2043
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
2044
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2045
|
+
* See the License for the specific language governing permissions and
|
|
2046
|
+
* limitations under the License.
|
|
2047
|
+
*/
|
|
2048
|
+
class ObjectenApiConfigurationComponent {
|
|
2049
|
+
constructor(pluginManagementService, translateService, pluginTranslationService) {
|
|
2050
|
+
this.pluginManagementService = pluginManagementService;
|
|
2051
|
+
this.translateService = translateService;
|
|
2052
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
2053
|
+
this.valid = new EventEmitter();
|
|
2054
|
+
this.configuration = new EventEmitter();
|
|
2055
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
2056
|
+
this.valid$ = new BehaviorSubject(false);
|
|
2057
|
+
this.authenticationPluginSelectItems$ = combineLatest([
|
|
2058
|
+
this.pluginManagementService.getPluginConfigurationsByCategory('objecten-api-authentication'),
|
|
2059
|
+
this.translateService.stream('key'),
|
|
2060
|
+
]).pipe(map$1(([configurations]) => configurations.map(configuration => ({
|
|
2061
|
+
id: configuration.id,
|
|
2062
|
+
text: `${configuration.title} - ${this.pluginTranslationService.instant('title', configuration.pluginDefinition.key)}`,
|
|
2063
|
+
}))));
|
|
2064
|
+
}
|
|
2065
|
+
ngOnInit() {
|
|
2066
|
+
this.openSaveSubscription();
|
|
2067
|
+
}
|
|
2068
|
+
ngOnDestroy() {
|
|
2069
|
+
var _a;
|
|
2070
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
2071
|
+
}
|
|
2072
|
+
formValueChange(formValue) {
|
|
2073
|
+
this.formValue$.next(formValue);
|
|
2074
|
+
this.handleValid(formValue);
|
|
2075
|
+
}
|
|
2076
|
+
handleValid(formValue) {
|
|
2077
|
+
const valid = !!(formValue.configurationTitle &&
|
|
2078
|
+
formValue.url &&
|
|
2079
|
+
formValue.authenticationPluginConfiguration);
|
|
2080
|
+
this.valid$.next(valid);
|
|
2081
|
+
this.valid.emit(valid);
|
|
2082
|
+
}
|
|
2083
|
+
openSaveSubscription() {
|
|
2084
|
+
var _a;
|
|
2085
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
2086
|
+
combineLatest([this.formValue$, this.valid$])
|
|
2087
|
+
.pipe(take(1))
|
|
2088
|
+
.subscribe(([formValue, valid]) => {
|
|
2089
|
+
if (valid) {
|
|
2090
|
+
this.configuration.emit(formValue);
|
|
2091
|
+
}
|
|
2092
|
+
});
|
|
2093
|
+
});
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
ObjectenApiConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectenApiConfigurationComponent, deps: [{ token: PluginManagementService }, { token: i2.TranslateService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2097
|
+
ObjectenApiConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ObjectenApiConfigurationComponent, selector: "valtimo-objecten-api-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n ></v-select>\n </ng-container>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], components: [{ type: i3$1.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i3$1.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox"], outputs: ["valueChange"] }, { type: i3$1.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder"], outputs: ["selectedChange", "clear"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
2098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectenApiConfigurationComponent, decorators: [{
|
|
2099
|
+
type: Component,
|
|
2100
|
+
args: [{ selector: 'valtimo-objecten-api-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n ></v-select>\n </ng-container>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
|
|
2101
|
+
}], ctorParameters: function () { return [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }]; }, propDecorators: { save$: [{
|
|
2102
|
+
type: Input
|
|
2103
|
+
}], disabled$: [{
|
|
2104
|
+
type: Input
|
|
2105
|
+
}], pluginId: [{
|
|
2106
|
+
type: Input
|
|
2107
|
+
}], prefillConfiguration$: [{
|
|
2108
|
+
type: Input
|
|
2109
|
+
}], valid: [{
|
|
2110
|
+
type: Output
|
|
2111
|
+
}], configuration: [{
|
|
2112
|
+
type: Output
|
|
2113
|
+
}] } });
|
|
2114
|
+
|
|
2115
|
+
/*
|
|
2116
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
2117
|
+
*
|
|
2118
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
2119
|
+
* you may not use this file except in compliance with the License.
|
|
2120
|
+
* You may obtain a copy of the License at
|
|
2121
|
+
*
|
|
2122
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
2123
|
+
*
|
|
2124
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2125
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
2126
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2127
|
+
* See the License for the specific language governing permissions and
|
|
2128
|
+
* limitations under the License.
|
|
2129
|
+
*/
|
|
2130
|
+
class ObjectenApiPluginModule {
|
|
2131
|
+
}
|
|
2132
|
+
ObjectenApiPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectenApiPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2133
|
+
ObjectenApiPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectenApiPluginModule, declarations: [ObjectenApiConfigurationComponent], imports: [CommonModule,
|
|
2134
|
+
PluginTranslatePipeModule,
|
|
2135
|
+
FormModule,
|
|
2136
|
+
InputModule,
|
|
2137
|
+
SelectModule,
|
|
2138
|
+
ParagraphModule], exports: [ObjectenApiConfigurationComponent] });
|
|
2139
|
+
ObjectenApiPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectenApiPluginModule, imports: [[
|
|
2140
|
+
CommonModule,
|
|
2141
|
+
PluginTranslatePipeModule,
|
|
2142
|
+
FormModule,
|
|
2143
|
+
InputModule,
|
|
2144
|
+
SelectModule,
|
|
2145
|
+
ParagraphModule,
|
|
2146
|
+
]] });
|
|
2147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ObjectenApiPluginModule, decorators: [{
|
|
2148
|
+
type: NgModule,
|
|
2149
|
+
args: [{
|
|
2150
|
+
declarations: [ObjectenApiConfigurationComponent],
|
|
2151
|
+
imports: [
|
|
2152
|
+
CommonModule,
|
|
2153
|
+
PluginTranslatePipeModule,
|
|
2154
|
+
FormModule,
|
|
2155
|
+
InputModule,
|
|
2156
|
+
SelectModule,
|
|
2157
|
+
ParagraphModule,
|
|
2158
|
+
],
|
|
2159
|
+
exports: [ObjectenApiConfigurationComponent],
|
|
2160
|
+
}]
|
|
2161
|
+
}] });
|
|
2162
|
+
|
|
2163
|
+
/*
|
|
2164
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
2165
|
+
*
|
|
2166
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
2167
|
+
* you may not use this file except in compliance with the License.
|
|
2168
|
+
* You may obtain a copy of the License at
|
|
2169
|
+
*
|
|
2170
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
2171
|
+
*
|
|
2172
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2173
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
2174
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2175
|
+
* See the License for the specific language governing permissions and
|
|
2176
|
+
* limitations under the License.
|
|
2177
|
+
*/
|
|
2178
|
+
const OBJECTEN_API_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAA8CAYAAAC+ej5cAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH5ggRCgE1liNZsAAAAAFvck5UAc+id5oAABALSURBVHja7d15tF11dQfwz+/c+15GMEAYAoggqJi8RIsWJ5AhIQzagriw4oSt7XKoWrQWrcsBqC2tdVm7rNRFi0NbsVLrWC0hL5EiyNACShIiMshMQMCEJDzecO+vf+x733Dfve/e9/IylOa71l153HPPOb+z92/v397fvX+HZNvQhWfjBTgcB2IOvoyfbuO1n2lYhD9AHx7Gnbgd92FwRw9mb7wRl+EX2Iwh5Nq/r9vZ0toFcQr6hYwqQmZ34Bs4G/vsiEGU8Fu4GgO1wTR+BnDGzpbWLohT8LTmMhsUMn0tiu01gFn4BDa1GMTowey2wPEYbYGtPhvxp5gx3Tcv4wKhnIkGsBUP1Qa7G2NxAh4QMppIhv34iGm2xDOFz252w8dxOd6F47EYc3e2tHZBzEGPkNG78U08oblM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zGcuE4+H8cOl6LulF0ouVS46OUiTTpYeKDRMsoiMNlQG/P3sVKyYXh82TOvM3ucEJeFxeQVSyglUpncX3ef49gGTw9GJFoyLVvM0vmwVl55VDQchSIfxGWSb8jmCwL5EJFizBLLxa9FkHK38A7Bjw2gnFi2ZofvWNqp+wOnshllWu8/qtUvX9HD/Cqbiopob3hEnQZrhT0P48l7pFOnrz1jstglNnjuCkinjHV7+epj2CPz+OYgD4pMUeLx2bz+upql7ThX2Qq7FdgC6dXX7OwhdISp5kBTrTLvRnMkIdNGtK2dtlPg6LaI0dhT87dX7MbUUM93G9GqW2IY7RTYrzmZeqjJ9snsxkRYYGwVv45HteFC2ymwKojZRhwiutV2Y3pwqubViGmJko4zwk2O/qwX/ORubBteJfLKRvn+Sid11w4wRzAOzV6JeJtovdjtTieP/QUXfIfmsv26DuKMTiPJE0R9bN8mxwaFIm8UbeWPCJ7zwZ0toV0MC0T14wDBuR4t+mCapXIPit6a9rvAJoF3a/3W3sZXBp8+xXs8k3GyaLNoJ7+NwqtNO0pip099K06rz+631jfHRG+tr39+KdoKt9ub64lOrq+IEHe3AjvHRAp8FF8S7SaTwlSotJvF4rtElF5eKd6dMl+w9q027P9/R31yV4QrfUz831uuFd1/PzOFV3hOBx02U0ShC2r/zhE7me7b2RLbxXCQ6Hp7SljcwyLge3pbLvq/tzlrRmlpAg8AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMTdUMTA6MDE6NDQrMDA6MDBT+iFgAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTE3VDEwOjAxOjQ0KzAwOjAwIqeZ3AAAAABJRU5ErkJggg==';
|
|
2179
|
+
|
|
2180
|
+
/*
|
|
2181
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
2182
|
+
*
|
|
2183
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
2184
|
+
* you may not use this file except in compliance with the License.
|
|
2185
|
+
* You may obtain a copy of the License at
|
|
2186
|
+
*
|
|
2187
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
2188
|
+
*
|
|
2189
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2190
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
2191
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2192
|
+
* See the License for the specific language governing permissions and
|
|
2193
|
+
* limitations under the License.
|
|
2194
|
+
*/
|
|
2195
|
+
|
|
2196
|
+
/*
|
|
2197
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
2198
|
+
*
|
|
2199
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
2200
|
+
* you may not use this file except in compliance with the License.
|
|
2201
|
+
* You may obtain a copy of the License at
|
|
2202
|
+
*
|
|
2203
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
2204
|
+
*
|
|
2205
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2206
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
2207
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2208
|
+
* See the License for the specific language governing permissions and
|
|
2209
|
+
* limitations under the License.
|
|
2210
|
+
*/
|
|
2211
|
+
const objectenApiPluginSpecification = {
|
|
2212
|
+
pluginId: 'objectenapi',
|
|
2213
|
+
pluginConfigurationComponent: ObjectenApiConfigurationComponent,
|
|
2214
|
+
pluginLogoBase64: OBJECTEN_API_PLUGIN_LOGO_BASE64,
|
|
2215
|
+
pluginTranslations: {
|
|
2216
|
+
nl: {
|
|
2217
|
+
title: 'Objecten API',
|
|
2218
|
+
url: 'Objecten API URL',
|
|
2219
|
+
urlTooltip: 'Een URL naar de REST API van Objecten',
|
|
2220
|
+
description: 'Met de Overige Objecten Registratie API-specificaties (Objecten) kunnen gemeenten eenduidig objecten registreren, opslaan en ontsluiten.',
|
|
2221
|
+
configurationTitle: 'Configuratienaam',
|
|
2222
|
+
configurationTitleTooltip: 'Onder deze naam zal de plug-in te herkennen zijn in de rest van de applicatie',
|
|
2223
|
+
authenticationPluginConfiguration: 'Configuratie authenticatie-plug-in',
|
|
2224
|
+
},
|
|
2225
|
+
en: {
|
|
2226
|
+
title: 'Objects API',
|
|
2227
|
+
url: 'Objects API URL',
|
|
2228
|
+
urlTooltip: 'A URL to the REST API of Objects',
|
|
2229
|
+
description: 'With the Other Objects Registration API specifications (Objects), municipalities can unambiguously register, store and access objects.',
|
|
2230
|
+
configurationTitle: 'Configuration name',
|
|
2231
|
+
configurationTitleTooltip: 'With this name the plugin will be recognizable in the rest of the application',
|
|
2232
|
+
authenticationPluginConfiguration: 'Authentication plugin configuration',
|
|
2233
|
+
},
|
|
2234
|
+
de: {
|
|
2235
|
+
title: 'Objecten API',
|
|
2236
|
+
url: 'Objecten API URL',
|
|
2237
|
+
urlTooltip: 'Die URL zur REST API von Objecten',
|
|
2238
|
+
description: 'Mit den Spezifikationen der Other Objects Registration API (Objecten) können Kommunen Objecten eindeutig registrieren, speichern und darauf zugreifen.',
|
|
2239
|
+
configurationTitle: 'Konfigurationsname',
|
|
2240
|
+
configurationTitleTooltip: 'An diesem Namen wird das Plugin im Rest der Anwendung erkennbar sein',
|
|
2241
|
+
authenticationPluginConfiguration: 'Authentifizierungs-Plugin-Konfiguration',
|
|
1665
2242
|
},
|
|
1666
2243
|
},
|
|
1667
2244
|
};
|
|
@@ -1686,5 +2263,5 @@ const documentenApiPluginSpecification = {
|
|
|
1686
2263
|
* Generated bundle index. Do not edit.
|
|
1687
2264
|
*/
|
|
1688
2265
|
|
|
1689
|
-
export {
|
|
2266
|
+
export { DocumentenApiConfigurationComponent, DocumentenApiPluginModule, GenerateDocumentConfigurationComponent, LinkDocumentToZaakConfigurationComponent, ObjectTokenAuthencationConfigurationComponent, ObjectTokenAuthenticationPluginModule, ObjectenApiConfigurationComponent, ObjectenApiPluginModule, ObjecttypenApiConfigurationComponent, ObjecttypenApiPluginModule, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginManagementService, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, StoreTempDocumentConfigurationComponent, ZakenApiConfigurationComponent, ZakenApiPluginModule, documentenApiPluginSpecification, objectTokenAuthenticationPluginSpecification, objectenApiPluginSpecification, objecttypenApiPluginSpecification, openZaakPluginSpecification, smartDocumentsPluginSpecification, zakenApiPluginSpecification };
|
|
1690
2267
|
//# sourceMappingURL=valtimo-plugin.mjs.map
|