@valtimo/plugin 5.5.0 → 5.6.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/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 +22 -4
- package/esm2020/lib/plugins/documenten-api/models/config.mjs +1 -1
- 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 +4 -59
- package/esm2020/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.mjs +1 -1
- package/esm2020/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.mjs +5 -3
- 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 +82 -0
- package/esm2020/lib/services/index.mjs +2 -1
- package/esm2020/lib/services/plugin-management.service.mjs +79 -0
- package/esm2020/public-api.mjs +6 -6
- package/fesm2015/valtimo-plugin.mjs +471 -514
- package/fesm2015/valtimo-plugin.mjs.map +1 -1
- package/fesm2020/valtimo-plugin.mjs +464 -504
- 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/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/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 +27 -0
- package/lib/services/plugin-management.service.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -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,82 @@ 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
|
+
getAllPluginConfigurationsWithLogos() {
|
|
175
|
+
return this.returnPluginConfigurationsWithLogos(this.getAllPluginConfigurations());
|
|
176
|
+
}
|
|
177
|
+
savePluginConfiguration(pluginConfiguration) {
|
|
178
|
+
return this.http.post(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration`, pluginConfiguration);
|
|
179
|
+
}
|
|
180
|
+
updatePluginConfiguration(configurationId, configurationTitle, configurationProperties) {
|
|
181
|
+
return this.http.put(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration/${configurationId}`, {
|
|
182
|
+
title: configurationTitle,
|
|
183
|
+
properties: configurationProperties,
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
deletePluginConfiguration(configurationId) {
|
|
187
|
+
return this.http.delete(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration/${configurationId}`);
|
|
188
|
+
}
|
|
189
|
+
returnPluginConfigurationsWithLogos(pluginConfigurations$) {
|
|
190
|
+
return combineLatest([pluginConfigurations$, this.pluginService.pluginSpecifications$]).pipe(map(([pluginConfigurations, pluginSpecifications]) => pluginConfigurations === null || pluginConfigurations === void 0 ? void 0 : pluginConfigurations.map(pluginConfiguration => {
|
|
191
|
+
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); });
|
|
192
|
+
return Object.assign(Object.assign({}, pluginConfiguration), ((pluginSpecification === null || pluginSpecification === void 0 ? void 0 : pluginSpecification.pluginLogoBase64) && {
|
|
193
|
+
pluginLogoBase64: this.sanitizer.bypassSecurityTrustResourceUrl(pluginSpecification === null || pluginSpecification === void 0 ? void 0 : pluginSpecification.pluginLogoBase64),
|
|
194
|
+
}));
|
|
195
|
+
})));
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
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 });
|
|
199
|
+
PluginManagementService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginManagementService, providedIn: 'root' });
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginManagementService, decorators: [{
|
|
201
|
+
type: Injectable,
|
|
202
|
+
args: [{
|
|
203
|
+
providedIn: 'root',
|
|
204
|
+
}]
|
|
205
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigService }, { type: PluginService }, { type: i3.DomSanitizer }, { type: i4.HttpClient }]; } });
|
|
136
206
|
|
|
137
207
|
/*
|
|
138
208
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -361,7 +431,7 @@ class PluginConfigurationContainerComponent {
|
|
|
361
431
|
}
|
|
362
432
|
}
|
|
363
433
|
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:
|
|
434
|
+
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
435
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginConfigurationContainerComponent, decorators: [{
|
|
366
436
|
type: Component,
|
|
367
437
|
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 +519,7 @@ class OpenZaakConfigurationComponent {
|
|
|
449
519
|
this.handleValid(formValue);
|
|
450
520
|
}
|
|
451
521
|
handleValid(formValue) {
|
|
452
|
-
const valid = !!(formValue.configurationTitle &&
|
|
453
|
-
formValue.url &&
|
|
454
|
-
formValue.catalogusUrl &&
|
|
455
|
-
formValue.rsin &&
|
|
456
|
-
formValue.secret &&
|
|
457
|
-
formValue.clientId);
|
|
522
|
+
const valid = !!(formValue.configurationTitle && formValue.clientId && formValue.clientSecret);
|
|
458
523
|
this.valid$.next(valid);
|
|
459
524
|
this.valid.emit(valid);
|
|
460
525
|
}
|
|
@@ -472,381 +537,17 @@ class OpenZaakConfigurationComponent {
|
|
|
472
537
|
}
|
|
473
538
|
}
|
|
474
539
|
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
|
|
540
|
+
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 >\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 >\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 [widthPx]=\"350\"\n [required]=\"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", "digitOnly"], outputs: ["valueChange"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
476
541
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakConfigurationComponent, decorators: [{
|
|
477
542
|
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
|
|
479
|
-
}], propDecorators: { save$: [{
|
|
480
|
-
type: Input
|
|
481
|
-
}], disabled$: [{
|
|
482
|
-
type: Input
|
|
483
|
-
}], pluginId: [{
|
|
484
|
-
type: Input
|
|
485
|
-
}], valid: [{
|
|
486
|
-
type: Output
|
|
487
|
-
}], configuration: [{
|
|
488
|
-
type: Output
|
|
489
|
-
}] } });
|
|
490
|
-
|
|
491
|
-
/*
|
|
492
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
493
|
-
*
|
|
494
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
495
|
-
* you may not use this file except in compliance with the License.
|
|
496
|
-
* You may obtain a copy of the License at
|
|
497
|
-
*
|
|
498
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
499
|
-
*
|
|
500
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
501
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
502
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
503
|
-
* See the License for the specific language governing permissions and
|
|
504
|
-
* limitations under the License.
|
|
505
|
-
*/
|
|
506
|
-
class SelectZaakTypeComponent {
|
|
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
|
-
}
|
|
533
|
-
}
|
|
534
|
-
SelectZaakTypeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectZaakTypeComponent, deps: [{ token: i1$2.OpenZaakService }, { token: i1$1.ModalService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
535
|
-
SelectZaakTypeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SelectZaakTypeComponent, selector: "valtimo-select-zaak-type", inputs: { pluginId: "pluginId", disabled: "disabled" }, outputs: { zaakTypeSelected: "zaakTypeSelected" }, 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-container\n *ngIf=\"{\n zaakTypeLinkSelectItems: zaakTypeLinkSelectItems$ | async,\n selectedZaakType: selectedZaakType$ | async\n } as obs\"\n>\n <v-select\n (selectedChange)=\"selectZaakTypeLink($event)\"\n [items]=\"obs.zaakTypeLinkSelectItems\"\n [disabled]=\"!obs.zaakTypeLinkSelectItems || disabled\"\n [notFoundText]=\"'noZaakTypeLinksFound' | pluginTranslate: pluginId | async\"\n [title]=\"'documentDefinition' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n ></v-select>\n <div class=\"selected-zaak-type\">\n <v-input-label [title]=\"'zaakType' | pluginTranslate: pluginId | async\"></v-input-label>\n <v-paragraph *ngIf=\"obs.selectedZaakType?.omschrijving; else noSelectedZaakType\">{{\n obs.selectedZaakType.omschrijving\n }}</v-paragraph>\n </div>\n</ng-container>\n\n<ng-template #noSelectedZaakType>\n <v-paragraph>{{ 'noZaakTypeSelected' | pluginTranslate: pluginId | async }}</v-paragraph>\n</ng-template>\n", styles: [".selected-zaak-type{margin-block-end:var(--v-input-margin)}\n"], components: [{ 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"] }, { type: i1$1.InputLabelComponent, selector: "v-input-label", inputs: ["name", "title", "titleTranslationKey", "tooltip", "required"] }, { type: i1$1.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectZaakTypeComponent, decorators: [{
|
|
537
|
-
type: Component,
|
|
538
|
-
args: [{ selector: 'valtimo-select-zaak-type', 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-container\n *ngIf=\"{\n zaakTypeLinkSelectItems: zaakTypeLinkSelectItems$ | async,\n selectedZaakType: selectedZaakType$ | async\n } as obs\"\n>\n <v-select\n (selectedChange)=\"selectZaakTypeLink($event)\"\n [items]=\"obs.zaakTypeLinkSelectItems\"\n [disabled]=\"!obs.zaakTypeLinkSelectItems || disabled\"\n [notFoundText]=\"'noZaakTypeLinksFound' | pluginTranslate: pluginId | async\"\n [title]=\"'documentDefinition' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n ></v-select>\n <div class=\"selected-zaak-type\">\n <v-input-label [title]=\"'zaakType' | pluginTranslate: pluginId | async\"></v-input-label>\n <v-paragraph *ngIf=\"obs.selectedZaakType?.omschrijving; else noSelectedZaakType\">{{\n obs.selectedZaakType.omschrijving\n }}</v-paragraph>\n </div>\n</ng-container>\n\n<ng-template #noSelectedZaakType>\n <v-paragraph>{{ 'noZaakTypeSelected' | pluginTranslate: pluginId | async }}</v-paragraph>\n</ng-template>\n", styles: [".selected-zaak-type{margin-block-end:var(--v-input-margin)}\n"] }]
|
|
539
|
-
}], ctorParameters: function () { return [{ type: i1$2.OpenZaakService }, { type: i1$1.ModalService }, { type: PluginTranslationService }]; }, propDecorators: { pluginId: [{
|
|
540
|
-
type: Input
|
|
541
|
-
}], disabled: [{
|
|
542
|
-
type: Input
|
|
543
|
-
}], zaakTypeSelected: [{
|
|
544
|
-
type: Output
|
|
545
|
-
}] } });
|
|
546
|
-
|
|
547
|
-
/*
|
|
548
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
549
|
-
*
|
|
550
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
551
|
-
* you may not use this file except in compliance with the License.
|
|
552
|
-
* You may obtain a copy of the License at
|
|
553
|
-
*
|
|
554
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
555
|
-
*
|
|
556
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
557
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
558
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
559
|
-
* See the License for the specific language governing permissions and
|
|
560
|
-
* limitations under the License.
|
|
561
|
-
*/
|
|
562
|
-
class CreateZaakConfigurationComponent {
|
|
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: [""] }]
|
|
543
|
+
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 >\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 >\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 [widthPx]=\"350\"\n [required]=\"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"] }]
|
|
596
544
|
}], propDecorators: { save$: [{
|
|
597
545
|
type: Input
|
|
598
546
|
}], disabled$: [{
|
|
599
547
|
type: Input
|
|
600
548
|
}], pluginId: [{
|
|
601
549
|
type: Input
|
|
602
|
-
}],
|
|
603
|
-
type: Output
|
|
604
|
-
}], configuration: [{
|
|
605
|
-
type: Output
|
|
606
|
-
}] } });
|
|
607
|
-
|
|
608
|
-
/*
|
|
609
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
610
|
-
*
|
|
611
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
612
|
-
* you may not use this file except in compliance with the License.
|
|
613
|
-
* You may obtain a copy of the License at
|
|
614
|
-
*
|
|
615
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
616
|
-
*
|
|
617
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
618
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
619
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
620
|
-
* See the License for the specific language governing permissions and
|
|
621
|
-
* limitations under the License.
|
|
622
|
-
*/
|
|
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
|
-
|
|
686
|
-
/*
|
|
687
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
688
|
-
*
|
|
689
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
690
|
-
* you may not use this file except in compliance with the License.
|
|
691
|
-
* You may obtain a copy of the License at
|
|
692
|
-
*
|
|
693
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
694
|
-
*
|
|
695
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
696
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
697
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
698
|
-
* See the License for the specific language governing permissions and
|
|
699
|
-
* limitations under the License.
|
|
700
|
-
*/
|
|
701
|
-
class SetResultaatConfigurationComponent {
|
|
702
|
-
constructor() {
|
|
703
|
-
this.valid = new EventEmitter();
|
|
704
|
-
this.configuration = new EventEmitter();
|
|
705
|
-
this.selectedResultaat$ = new BehaviorSubject('');
|
|
706
|
-
this.selectedZaakType$ = new BehaviorSubject(null);
|
|
707
|
-
this.RESULTATEN = [
|
|
708
|
-
'Ingetrokken',
|
|
709
|
-
'Ongegrond met financ',
|
|
710
|
-
'Gegrond met financië',
|
|
711
|
-
'Informeel afgehandel',
|
|
712
|
-
'Niet ontvankelijk ve',
|
|
713
|
-
'Gegrond met invloed',
|
|
714
|
-
'Ongegrond',
|
|
715
|
-
'Afgebroken',
|
|
716
|
-
'Gegrond',
|
|
717
|
-
];
|
|
718
|
-
this.resultaatSelectItems = this.RESULTATEN.map(resultaat => ({
|
|
719
|
-
id: resultaat,
|
|
720
|
-
text: resultaat,
|
|
721
|
-
}));
|
|
722
|
-
this.clearSubject$ = new Subject();
|
|
723
|
-
}
|
|
724
|
-
ngOnInit() {
|
|
725
|
-
this.openValidSubscription();
|
|
726
|
-
}
|
|
727
|
-
ngOnDestroy() {
|
|
728
|
-
var _a;
|
|
729
|
-
(_a = this.validSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
730
|
-
}
|
|
731
|
-
selectZaakType(zaakType) {
|
|
732
|
-
this.selectedZaakType$.next(zaakType);
|
|
733
|
-
if (!zaakType) {
|
|
734
|
-
this.clearResultaat();
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
clearResultaat() {
|
|
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
|
-
}] } });
|
|
773
|
-
|
|
774
|
-
/*
|
|
775
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
776
|
-
*
|
|
777
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
778
|
-
* you may not use this file except in compliance with the License.
|
|
779
|
-
* You may obtain a copy of the License at
|
|
780
|
-
*
|
|
781
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
782
|
-
*
|
|
783
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
784
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
785
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
786
|
-
* See the License for the specific language governing permissions and
|
|
787
|
-
* limitations under the License.
|
|
788
|
-
*/
|
|
789
|
-
class SetStatusConfigurationComponent {
|
|
790
|
-
constructor() {
|
|
791
|
-
this.valid = new EventEmitter();
|
|
792
|
-
this.configuration = new EventEmitter();
|
|
793
|
-
this.selectedStatus = new BehaviorSubject('');
|
|
794
|
-
this.selectedZaakType$ = new BehaviorSubject(null);
|
|
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();
|
|
806
|
-
}
|
|
807
|
-
ngOnInit() {
|
|
808
|
-
this.openValidSubscription();
|
|
809
|
-
}
|
|
810
|
-
ngOnDestroy() {
|
|
811
|
-
var _a;
|
|
812
|
-
(_a = this.validSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
813
|
-
}
|
|
814
|
-
selectZaakType(zaakType) {
|
|
815
|
-
this.selectedZaakType$.next(zaakType);
|
|
816
|
-
if (!zaakType) {
|
|
817
|
-
this.clearStatus();
|
|
818
|
-
}
|
|
819
|
-
}
|
|
820
|
-
clearStatus() {
|
|
821
|
-
this.selectedStatus.next('');
|
|
822
|
-
this.clearSubject$.next(null);
|
|
823
|
-
}
|
|
824
|
-
selectStatus(status) {
|
|
825
|
-
this.selectedStatus.next(status);
|
|
826
|
-
}
|
|
827
|
-
openValidSubscription() {
|
|
828
|
-
this.validSubscription = combineLatest([this.selectedStatus, this.selectedZaakType$])
|
|
829
|
-
.pipe(tap(([status, zaakType]) => {
|
|
830
|
-
if (status && zaakType) {
|
|
831
|
-
this.valid.emit(true);
|
|
832
|
-
}
|
|
833
|
-
else {
|
|
834
|
-
this.valid.emit(false);
|
|
835
|
-
}
|
|
836
|
-
}))
|
|
837
|
-
.subscribe();
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
SetStatusConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SetStatusConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
841
|
-
SetStatusConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SetStatusConfigurationComponent, selector: "valtimo-set-status-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]=\"statusesSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n [title]=\"'zaakStatus' | pluginTranslate: pluginId | async\"\n [disabled]=\"(selectedZaakType$ | async) === null || (disabled$ | async)\"\n [clearSelectionSubject$]=\"clearSubject$\"\n (selectedChange)=\"selectStatus($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 } });
|
|
842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SetStatusConfigurationComponent, decorators: [{
|
|
843
|
-
type: Component,
|
|
844
|
-
args: [{ selector: 'valtimo-set-status-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]=\"statusesSelectItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n [title]=\"'zaakStatus' | pluginTranslate: pluginId | async\"\n [disabled]=\"(selectedZaakType$ | async) === null || (disabled$ | async)\"\n [clearSelectionSubject$]=\"clearSubject$\"\n (selectedChange)=\"selectStatus($event)\"\n></v-select>\n", styles: [""] }]
|
|
845
|
-
}], propDecorators: { save$: [{
|
|
846
|
-
type: Input
|
|
847
|
-
}], disabled$: [{
|
|
848
|
-
type: Input
|
|
849
|
-
}], pluginId: [{
|
|
550
|
+
}], prefillConfiguration$: [{
|
|
850
551
|
type: Input
|
|
851
552
|
}], valid: [{
|
|
852
553
|
type: Output
|
|
@@ -869,66 +570,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
869
570
|
* See the License for the specific language governing permissions and
|
|
870
571
|
* limitations under the License.
|
|
871
572
|
*/
|
|
872
|
-
class OpenZaakPluginModule {
|
|
873
|
-
}
|
|
874
|
-
OpenZaakPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
875
|
-
OpenZaakPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakPluginModule, declarations: [OpenZaakConfigurationComponent,
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
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: [{
|
|
904
|
-
type: NgModule,
|
|
905
|
-
args: [{
|
|
906
|
-
declarations: [
|
|
907
|
-
OpenZaakConfigurationComponent,
|
|
908
|
-
CreateZaakConfigurationComponent,
|
|
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
|
-
],
|
|
573
|
+
class OpenZaakPluginModule {
|
|
574
|
+
}
|
|
575
|
+
OpenZaakPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
576
|
+
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] });
|
|
577
|
+
OpenZaakPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakPluginModule, imports: [[CommonModule, FormModule, InputModule, PluginTranslatePipeModule]] });
|
|
578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakPluginModule, decorators: [{
|
|
579
|
+
type: NgModule,
|
|
580
|
+
args: [{
|
|
581
|
+
declarations: [OpenZaakConfigurationComponent],
|
|
582
|
+
imports: [CommonModule, FormModule, InputModule, PluginTranslatePipeModule],
|
|
583
|
+
exports: [OpenZaakConfigurationComponent],
|
|
932
584
|
}]
|
|
933
585
|
}] });
|
|
934
586
|
|
|
@@ -984,78 +636,27 @@ const openZaakPluginSpecification = {
|
|
|
984
636
|
pluginId: 'openzaak',
|
|
985
637
|
pluginConfigurationComponent: OpenZaakConfigurationComponent,
|
|
986
638
|
pluginLogoBase64: OPEN_ZAAK_PLUGIN_LOGO_BASE64,
|
|
987
|
-
functionConfigurationComponents: {
|
|
988
|
-
'create-zaak': CreateZaakConfigurationComponent,
|
|
989
|
-
'set-status': SetStatusConfigurationComponent,
|
|
990
|
-
'set-resultaat': SetResultaatConfigurationComponent,
|
|
991
|
-
'set-besluit': SetBesluitConfigurationComponent,
|
|
992
|
-
},
|
|
993
639
|
pluginTranslations: {
|
|
994
640
|
nl: {
|
|
995
641
|
title: 'OpenZaak',
|
|
996
642
|
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
643
|
configurationTitle: 'Configuratienaam',
|
|
1002
|
-
url: 'OpenZaak URL',
|
|
1003
644
|
clientId: 'Client ID',
|
|
1004
|
-
|
|
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',
|
|
645
|
+
clientSecret: 'Secret',
|
|
1015
646
|
},
|
|
1016
647
|
en: {
|
|
1017
648
|
title: 'OpenZaak',
|
|
1018
649
|
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
650
|
configurationTitle: 'Configuration name',
|
|
1024
|
-
url: 'OpenZaak URL',
|
|
1025
651
|
clientId: 'Client ID',
|
|
1026
|
-
|
|
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',
|
|
652
|
+
clientSecret: 'Secret',
|
|
1037
653
|
},
|
|
1038
654
|
de: {
|
|
1039
655
|
title: 'OpenZaak',
|
|
1040
656
|
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
657
|
configurationTitle: 'Konfigurationsname',
|
|
1046
|
-
url: 'OpenZaak URL',
|
|
1047
658
|
clientId: 'Client ID',
|
|
1048
|
-
|
|
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',
|
|
659
|
+
clientSecret: 'Secret',
|
|
1059
660
|
},
|
|
1060
661
|
},
|
|
1061
662
|
};
|
|
@@ -1115,16 +716,18 @@ class SmartDocumentsConfigurationComponent {
|
|
|
1115
716
|
}
|
|
1116
717
|
}
|
|
1117
718
|
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
|
|
719
|
+
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 [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\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 [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.username\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"password\"\n type=\"password\"\n [title]=\"'password' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.password\"\n [required]=\"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", "digitOnly"], outputs: ["valueChange"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1119
720
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartDocumentsConfigurationComponent, decorators: [{
|
|
1120
721
|
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
|
|
722
|
+
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 [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\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 [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.username\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"password\"\n type=\"password\"\n [title]=\"'password' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.password\"\n [required]=\"true\"\n >\n </v-input>\n</v-form>\n", styles: [""] }]
|
|
1122
723
|
}], propDecorators: { save$: [{
|
|
1123
724
|
type: Input
|
|
1124
725
|
}], disabled$: [{
|
|
1125
726
|
type: Input
|
|
1126
727
|
}], pluginId: [{
|
|
1127
728
|
type: Input
|
|
729
|
+
}], prefillConfiguration$: [{
|
|
730
|
+
type: Input
|
|
1128
731
|
}], valid: [{
|
|
1129
732
|
type: Output
|
|
1130
733
|
}], configuration: [{
|
|
@@ -1193,7 +796,7 @@ class GenerateDocumentConfigurationComponent {
|
|
|
1193
796
|
}
|
|
1194
797
|
}
|
|
1195
798
|
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:
|
|
799
|
+
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: 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", "digitOnly"], 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"], 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
800
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GenerateDocumentConfigurationComponent, decorators: [{
|
|
1198
801
|
type: Component,
|
|
1199
802
|
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: [""] }]
|
|
@@ -1385,11 +988,21 @@ const smartDocumentsPluginSpecification = {
|
|
|
1385
988
|
* limitations under the License.
|
|
1386
989
|
*/
|
|
1387
990
|
class DocumentenApiConfigurationComponent {
|
|
1388
|
-
constructor() {
|
|
991
|
+
constructor(pluginManagementService, translateService, pluginTranslationService) {
|
|
992
|
+
this.pluginManagementService = pluginManagementService;
|
|
993
|
+
this.translateService = translateService;
|
|
994
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
1389
995
|
this.valid = new EventEmitter();
|
|
1390
996
|
this.configuration = new EventEmitter();
|
|
1391
997
|
this.formValue$ = new BehaviorSubject(null);
|
|
1392
998
|
this.valid$ = new BehaviorSubject(false);
|
|
999
|
+
this.authenticationPluginSelectItems$ = combineLatest([
|
|
1000
|
+
this.pluginManagementService.getPluginConfigurationsByCategory('documenten-api-authentication'),
|
|
1001
|
+
this.translateService.stream('key'),
|
|
1002
|
+
]).pipe(map$1(([configurations]) => configurations.map(configuration => ({
|
|
1003
|
+
id: configuration.id,
|
|
1004
|
+
text: `${configuration.title} - ${this.pluginTranslationService.instant('title', configuration.pluginDefinition.key)}`,
|
|
1005
|
+
}))));
|
|
1393
1006
|
}
|
|
1394
1007
|
ngOnInit() {
|
|
1395
1008
|
this.openSaveSubscription();
|
|
@@ -1403,7 +1016,10 @@ class DocumentenApiConfigurationComponent {
|
|
|
1403
1016
|
this.handleValid(formValue);
|
|
1404
1017
|
}
|
|
1405
1018
|
handleValid(formValue) {
|
|
1406
|
-
const valid = !!(formValue.configurationTitle &&
|
|
1019
|
+
const valid = !!(formValue.configurationTitle &&
|
|
1020
|
+
formValue.url &&
|
|
1021
|
+
formValue.bronorganisatie &&
|
|
1022
|
+
formValue.authenticationPluginConfiguration);
|
|
1407
1023
|
this.valid$.next(valid);
|
|
1408
1024
|
this.valid.emit(valid);
|
|
1409
1025
|
}
|
|
@@ -1420,17 +1036,19 @@ class DocumentenApiConfigurationComponent {
|
|
|
1420
1036
|
});
|
|
1421
1037
|
}
|
|
1422
1038
|
}
|
|
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
|
|
1039
|
+
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 });
|
|
1040
|
+
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 [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\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 [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"bronorganisatie\"\n type=\"number\"\n [hideNumberSpinBox]=\"true\"\n [digitOnly]=\"true\"\n [min]=\"0\"\n [step]=\"1\"\n [title]=\"'bronorganisatie' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.bronorganisatie\"\n [required]=\"true\"\n >\n </v-input>\n <v-select\n *ngIf=\"\n authenticationPluginSelectItems$ | async as authenticationPluginSelectItems;\n else authenticationPluginConfigurationLoading\n \"\n [items]=\"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 ></v-select>\n</v-form>\n\n<ng-template #authenticationPluginConfigurationLoading>\n <v-select\n [items]=\"[]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"true\"\n [required]=\"true\"\n ></v-select>\n</ng-template>\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", "digitOnly"], 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"], outputs: ["selectedChange", "clear"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1425
1041
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DocumentenApiConfigurationComponent, decorators: [{
|
|
1426
1042
|
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$: [{
|
|
1043
|
+
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 [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\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 [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-input\n name=\"bronorganisatie\"\n type=\"number\"\n [hideNumberSpinBox]=\"true\"\n [digitOnly]=\"true\"\n [min]=\"0\"\n [step]=\"1\"\n [title]=\"'bronorganisatie' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.bronorganisatie\"\n [required]=\"true\"\n >\n </v-input>\n <v-select\n *ngIf=\"\n authenticationPluginSelectItems$ | async as authenticationPluginSelectItems;\n else authenticationPluginConfigurationLoading\n \"\n [items]=\"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 ></v-select>\n</v-form>\n\n<ng-template #authenticationPluginConfigurationLoading>\n <v-select\n [items]=\"[]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"true\"\n [required]=\"true\"\n ></v-select>\n</ng-template>\n", styles: [""] }]
|
|
1044
|
+
}], ctorParameters: function () { return [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }]; }, propDecorators: { save$: [{
|
|
1429
1045
|
type: Input
|
|
1430
1046
|
}], disabled$: [{
|
|
1431
1047
|
type: Input
|
|
1432
1048
|
}], pluginId: [{
|
|
1433
1049
|
type: Input
|
|
1050
|
+
}], prefillConfiguration$: [{
|
|
1051
|
+
type: Input
|
|
1434
1052
|
}], valid: [{
|
|
1435
1053
|
type: Output
|
|
1436
1054
|
}], configuration: [{
|
|
@@ -1508,12 +1126,12 @@ class StoreTempDocumentConfigurationComponent {
|
|
|
1508
1126
|
});
|
|
1509
1127
|
}
|
|
1510
1128
|
}
|
|
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:
|
|
1129
|
+
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 });
|
|
1130
|
+
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 [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 >\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", "digitOnly"], 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"], outputs: ["selectedChange", "clear"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1513
1131
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StoreTempDocumentConfigurationComponent, decorators: [{
|
|
1514
1132
|
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:
|
|
1133
|
+
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 [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 >\n </v-input>\n</v-form>\n", styles: [""] }]
|
|
1134
|
+
}], ctorParameters: function () { return [{ type: i2.TranslateService }, { type: PluginTranslationService }]; }, propDecorators: { save$: [{
|
|
1517
1135
|
type: Input
|
|
1518
1136
|
}], disabled$: [{
|
|
1519
1137
|
type: Input
|
|
@@ -1617,51 +1235,390 @@ const documentenApiPluginSpecification = {
|
|
|
1617
1235
|
description: 'API voor opslag en ontsluiting van documenten en daarbij behorende metadata.',
|
|
1618
1236
|
'store-temp-document': 'Document opslaan',
|
|
1619
1237
|
configurationTitle: 'Configuratienaam',
|
|
1238
|
+
configurationTitleTooltip: 'Hier kunt u een eigen naam verzinnen. Onder deze naam zal de plugin te herkennen zijn in de rest van de applicatie',
|
|
1620
1239
|
url: 'Documenten API URL',
|
|
1240
|
+
urlTooltip: 'In dit veld moet de verwijzing komen naar de REST API van Documenten. Deze url moet dus eindigen op /documenten/api/v1/',
|
|
1241
|
+
bronorganisatie: 'Bronorganisatie RSIN',
|
|
1621
1242
|
localDocumentLocation: 'Naam procesvariabele met document',
|
|
1622
1243
|
storedDocumentUrl: 'Naam procesvariabele voor opslag document-URL',
|
|
1244
|
+
storeDocumentUrlTooltip: 'Nadat het document geupload is naar de Documenten API zal de applicatie in deze procesvariabele de URL naar het document opslaan.',
|
|
1623
1245
|
taal: 'Taal',
|
|
1624
1246
|
status: 'Status',
|
|
1625
|
-
informatieobjecttype: '
|
|
1247
|
+
informatieobjecttype: 'URL naar het informatieobjecttype',
|
|
1248
|
+
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
1249
|
nld: 'Nederlands',
|
|
1627
1250
|
in_bewerking: 'In bewerking',
|
|
1628
1251
|
ter_vaststelling: 'Ter vaststelling',
|
|
1629
1252
|
definitief: 'Definitief',
|
|
1630
1253
|
gearchiveerd: 'Gearchiveerd',
|
|
1254
|
+
authenticationPluginConfiguration: 'Configuratie authenticatie-plug-in',
|
|
1631
1255
|
},
|
|
1632
1256
|
en: {
|
|
1633
1257
|
title: 'Documenten API',
|
|
1634
1258
|
description: 'API for storing and accessing documents and associated metadata.',
|
|
1635
1259
|
'store-temp-document': 'Save document',
|
|
1636
1260
|
configurationTitle: 'Configuration name',
|
|
1261
|
+
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
1262
|
url: 'Documenten API URL',
|
|
1263
|
+
urlTooltip: 'This field must contain the URL to the rest API of Documenten, therefore this URL should end with /documenten/api/v1/',
|
|
1264
|
+
bronorganisatie: 'Organisation RSIN',
|
|
1638
1265
|
localDocumentLocation: 'Name of process variable with document',
|
|
1639
1266
|
storedDocumentUrl: 'Process variable name for storing document URL',
|
|
1267
|
+
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
1268
|
taal: 'Language',
|
|
1641
1269
|
status: 'Status',
|
|
1642
|
-
informatieobjecttype: '
|
|
1270
|
+
informatieobjecttype: 'URL to the informationobjecttype',
|
|
1271
|
+
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
1272
|
nld: 'Dutch',
|
|
1644
1273
|
in_bewerking: 'Editing',
|
|
1645
1274
|
ter_vaststelling: 'To be confirmed',
|
|
1646
1275
|
definitief: 'Final',
|
|
1647
1276
|
gearchiveerd: 'Archived',
|
|
1277
|
+
authenticationPluginConfiguration: 'Authentication plugin configuration',
|
|
1648
1278
|
},
|
|
1649
1279
|
de: {
|
|
1650
1280
|
title: 'Documenten API',
|
|
1651
1281
|
description: 'API zum Speichern und Zugreifen auf Dokumente und zugehörige Metadaten.',
|
|
1652
1282
|
'store-temp-document': 'Dokument speichern',
|
|
1653
1283
|
configurationTitle: 'Konfigurationsname',
|
|
1284
|
+
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
1285
|
url: 'Documenten API URL',
|
|
1286
|
+
urlTooltip: 'Dieses Feld muss die URL zur rest API von Documenten enthalten, daher sollte diese URL mit enden /documenten/api/v1/',
|
|
1287
|
+
bronorganisatie: 'Organisation RSIN',
|
|
1655
1288
|
localDocumentLocation: 'Name Prozessvariable mit Dokument',
|
|
1656
1289
|
storedDocumentUrl: 'Name der Prozessvariablen zum Speichern der Dokument-URL',
|
|
1290
|
+
storeDocumentUrlTooltip: 'Nachdem das Dokument in die Dokumenten-API hochgeladen wurde, speichert die Anwendung die URL zum Dokument in dieser Prozessvariablen.',
|
|
1657
1291
|
taal: 'Sprache',
|
|
1658
1292
|
status: 'Status',
|
|
1659
|
-
informatieobjecttype: 'Informationsobjekttyp',
|
|
1293
|
+
informatieobjecttype: 'URL zum Informationsobjekttyp',
|
|
1294
|
+
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
1295
|
nld: 'Niederländisch',
|
|
1661
1296
|
in_bewerking: 'In Bearbeitung',
|
|
1662
1297
|
ter_vaststelling: 'Zu bestimmen',
|
|
1663
1298
|
definitief: 'Endgültig',
|
|
1664
1299
|
gearchiveerd: 'Archiviert',
|
|
1300
|
+
authenticationPluginConfiguration: 'Authentifizierungs-Plugin-Konfiguration',
|
|
1301
|
+
},
|
|
1302
|
+
},
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
/*
|
|
1306
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1307
|
+
*
|
|
1308
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1309
|
+
* you may not use this file except in compliance with the License.
|
|
1310
|
+
* You may obtain a copy of the License at
|
|
1311
|
+
*
|
|
1312
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1313
|
+
*
|
|
1314
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1315
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1316
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1317
|
+
* See the License for the specific language governing permissions and
|
|
1318
|
+
* limitations under the License.
|
|
1319
|
+
*/
|
|
1320
|
+
class ZakenApiConfigurationComponent {
|
|
1321
|
+
constructor(pluginManagementService, translateService, pluginTranslationService) {
|
|
1322
|
+
this.pluginManagementService = pluginManagementService;
|
|
1323
|
+
this.translateService = translateService;
|
|
1324
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
1325
|
+
this.valid = new EventEmitter();
|
|
1326
|
+
this.configuration = new EventEmitter();
|
|
1327
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
1328
|
+
this.valid$ = new BehaviorSubject(false);
|
|
1329
|
+
this.authenticationPluginSelectItems$ = combineLatest([
|
|
1330
|
+
this.pluginManagementService.getPluginConfigurationsByCategory('zaken-api-authentication'),
|
|
1331
|
+
this.translateService.stream('key'),
|
|
1332
|
+
]).pipe(map$1(([configurations]) => configurations.map(configuration => ({
|
|
1333
|
+
id: configuration.id,
|
|
1334
|
+
text: `${configuration.title} - ${this.pluginTranslationService.instant('title', configuration.pluginDefinition.key)}`,
|
|
1335
|
+
}))));
|
|
1336
|
+
}
|
|
1337
|
+
ngOnInit() {
|
|
1338
|
+
this.openSaveSubscription();
|
|
1339
|
+
}
|
|
1340
|
+
ngOnDestroy() {
|
|
1341
|
+
var _a;
|
|
1342
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1343
|
+
}
|
|
1344
|
+
formValueChange(formValue) {
|
|
1345
|
+
this.formValue$.next(formValue);
|
|
1346
|
+
this.handleValid(formValue);
|
|
1347
|
+
}
|
|
1348
|
+
handleValid(formValue) {
|
|
1349
|
+
const valid = !!(formValue.configurationTitle &&
|
|
1350
|
+
formValue.url &&
|
|
1351
|
+
formValue.authenticationPluginConfiguration);
|
|
1352
|
+
this.valid$.next(valid);
|
|
1353
|
+
this.valid.emit(valid);
|
|
1354
|
+
}
|
|
1355
|
+
openSaveSubscription() {
|
|
1356
|
+
var _a;
|
|
1357
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
1358
|
+
combineLatest([this.formValue$, this.valid$])
|
|
1359
|
+
.pipe(take(1))
|
|
1360
|
+
.subscribe(([formValue, valid]) => {
|
|
1361
|
+
if (valid) {
|
|
1362
|
+
this.configuration.emit(formValue);
|
|
1363
|
+
}
|
|
1364
|
+
});
|
|
1365
|
+
});
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
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 });
|
|
1369
|
+
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 [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\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 [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-select\n *ngIf=\"\n authenticationPluginSelectItems$ | async as authenticationPluginSelectItems;\n else authenticationPluginConfigurationLoading\n \"\n [items]=\"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 ></v-select>\n</v-form>\n\n<ng-template #authenticationPluginConfigurationLoading>\n <v-select\n [items]=\"[]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"true\"\n [required]=\"true\"\n ></v-select>\n</ng-template>\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", "digitOnly"], 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"], outputs: ["selectedChange", "clear"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiConfigurationComponent, decorators: [{
|
|
1371
|
+
type: Component,
|
|
1372
|
+
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 [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\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 [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <v-select\n *ngIf=\"\n authenticationPluginSelectItems$ | async as authenticationPluginSelectItems;\n else authenticationPluginConfigurationLoading\n \"\n [items]=\"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 ></v-select>\n</v-form>\n\n<ng-template #authenticationPluginConfigurationLoading>\n <v-select\n [items]=\"[]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"true\"\n [required]=\"true\"\n ></v-select>\n</ng-template>\n", styles: [""] }]
|
|
1373
|
+
}], ctorParameters: function () { return [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }]; }, propDecorators: { save$: [{
|
|
1374
|
+
type: Input
|
|
1375
|
+
}], disabled$: [{
|
|
1376
|
+
type: Input
|
|
1377
|
+
}], pluginId: [{
|
|
1378
|
+
type: Input
|
|
1379
|
+
}], prefillConfiguration$: [{
|
|
1380
|
+
type: Input
|
|
1381
|
+
}], valid: [{
|
|
1382
|
+
type: Output
|
|
1383
|
+
}], configuration: [{
|
|
1384
|
+
type: Output
|
|
1385
|
+
}] } });
|
|
1386
|
+
|
|
1387
|
+
/*
|
|
1388
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1389
|
+
*
|
|
1390
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1391
|
+
* you may not use this file except in compliance with the License.
|
|
1392
|
+
* You may obtain a copy of the License at
|
|
1393
|
+
*
|
|
1394
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1395
|
+
*
|
|
1396
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1397
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1398
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1399
|
+
* See the License for the specific language governing permissions and
|
|
1400
|
+
* limitations under the License.
|
|
1401
|
+
*/
|
|
1402
|
+
class LinkDocumentToZaakConfigurationComponent {
|
|
1403
|
+
constructor(pluginManagementService, translateService, pluginTranslationService) {
|
|
1404
|
+
this.pluginManagementService = pluginManagementService;
|
|
1405
|
+
this.translateService = translateService;
|
|
1406
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
1407
|
+
this.valid = new EventEmitter();
|
|
1408
|
+
this.configuration = new EventEmitter();
|
|
1409
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
1410
|
+
this.valid$ = new BehaviorSubject(false);
|
|
1411
|
+
this.authenticationPluginSelectItems$ = combineLatest([
|
|
1412
|
+
this.pluginManagementService.getPluginConfigurationsByCategory('link-document-to-zaak'),
|
|
1413
|
+
this.translateService.stream('key'),
|
|
1414
|
+
]).pipe(map$1(([configurations]) => configurations.map(configuration => ({
|
|
1415
|
+
id: configuration.id,
|
|
1416
|
+
text: `${configuration.title} - ${this.pluginTranslationService.instant('title', configuration.pluginDefinition.key)}`,
|
|
1417
|
+
}))));
|
|
1418
|
+
}
|
|
1419
|
+
ngOnInit() {
|
|
1420
|
+
this.openSaveSubscription();
|
|
1421
|
+
}
|
|
1422
|
+
ngOnDestroy() {
|
|
1423
|
+
var _a;
|
|
1424
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1425
|
+
}
|
|
1426
|
+
formValueChange(formValue) {
|
|
1427
|
+
this.formValue$.next(formValue);
|
|
1428
|
+
this.handleValid(formValue);
|
|
1429
|
+
}
|
|
1430
|
+
handleValid(formValue) {
|
|
1431
|
+
const valid = !!formValue.documentUrl;
|
|
1432
|
+
this.valid$.next(valid);
|
|
1433
|
+
this.valid.emit(valid);
|
|
1434
|
+
}
|
|
1435
|
+
openSaveSubscription() {
|
|
1436
|
+
var _a;
|
|
1437
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
1438
|
+
combineLatest([this.formValue$, this.valid$])
|
|
1439
|
+
.pipe(take(1))
|
|
1440
|
+
.subscribe(([formValue, valid]) => {
|
|
1441
|
+
if (valid) {
|
|
1442
|
+
this.configuration.emit(formValue);
|
|
1443
|
+
}
|
|
1444
|
+
});
|
|
1445
|
+
});
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
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 });
|
|
1449
|
+
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 >\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 >\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 >\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", "digitOnly"], outputs: ["valueChange"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
|
|
1450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LinkDocumentToZaakConfigurationComponent, decorators: [{
|
|
1451
|
+
type: Component,
|
|
1452
|
+
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 >\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 >\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 >\n </v-input>\n</v-form>\n", styles: [""] }]
|
|
1453
|
+
}], ctorParameters: function () { return [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }]; }, propDecorators: { save$: [{
|
|
1454
|
+
type: Input
|
|
1455
|
+
}], disabled$: [{
|
|
1456
|
+
type: Input
|
|
1457
|
+
}], pluginId: [{
|
|
1458
|
+
type: Input
|
|
1459
|
+
}], prefillConfiguration$: [{
|
|
1460
|
+
type: Input
|
|
1461
|
+
}], valid: [{
|
|
1462
|
+
type: Output
|
|
1463
|
+
}], configuration: [{
|
|
1464
|
+
type: Output
|
|
1465
|
+
}] } });
|
|
1466
|
+
|
|
1467
|
+
/*
|
|
1468
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1469
|
+
*
|
|
1470
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1471
|
+
* you may not use this file except in compliance with the License.
|
|
1472
|
+
* You may obtain a copy of the License at
|
|
1473
|
+
*
|
|
1474
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1475
|
+
*
|
|
1476
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1477
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1478
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1479
|
+
* See the License for the specific language governing permissions and
|
|
1480
|
+
* limitations under the License.
|
|
1481
|
+
*/
|
|
1482
|
+
class ZakenApiPluginModule {
|
|
1483
|
+
}
|
|
1484
|
+
ZakenApiPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1485
|
+
ZakenApiPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiPluginModule, declarations: [ZakenApiConfigurationComponent, LinkDocumentToZaakConfigurationComponent], imports: [CommonModule,
|
|
1486
|
+
PluginTranslatePipeModule,
|
|
1487
|
+
FormModule,
|
|
1488
|
+
InputModule,
|
|
1489
|
+
SelectModule,
|
|
1490
|
+
ParagraphModule], exports: [ZakenApiConfigurationComponent, LinkDocumentToZaakConfigurationComponent] });
|
|
1491
|
+
ZakenApiPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiPluginModule, imports: [[
|
|
1492
|
+
CommonModule,
|
|
1493
|
+
PluginTranslatePipeModule,
|
|
1494
|
+
FormModule,
|
|
1495
|
+
InputModule,
|
|
1496
|
+
SelectModule,
|
|
1497
|
+
ParagraphModule,
|
|
1498
|
+
]] });
|
|
1499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiPluginModule, decorators: [{
|
|
1500
|
+
type: NgModule,
|
|
1501
|
+
args: [{
|
|
1502
|
+
declarations: [ZakenApiConfigurationComponent, LinkDocumentToZaakConfigurationComponent],
|
|
1503
|
+
imports: [
|
|
1504
|
+
CommonModule,
|
|
1505
|
+
PluginTranslatePipeModule,
|
|
1506
|
+
FormModule,
|
|
1507
|
+
InputModule,
|
|
1508
|
+
SelectModule,
|
|
1509
|
+
ParagraphModule,
|
|
1510
|
+
],
|
|
1511
|
+
exports: [ZakenApiConfigurationComponent, LinkDocumentToZaakConfigurationComponent],
|
|
1512
|
+
}]
|
|
1513
|
+
}] });
|
|
1514
|
+
|
|
1515
|
+
/*
|
|
1516
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1517
|
+
*
|
|
1518
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1519
|
+
* you may not use this file except in compliance with the License.
|
|
1520
|
+
* You may obtain a copy of the License at
|
|
1521
|
+
*
|
|
1522
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1523
|
+
*
|
|
1524
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1525
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1526
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1527
|
+
* See the License for the specific language governing permissions and
|
|
1528
|
+
* limitations under the License.
|
|
1529
|
+
*/
|
|
1530
|
+
const ZAKEN_API_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHMAAAA8CAYAAABVTYVfAAAACXBIWXMAABG3AAARtwGaY1MrAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAADuxJREFUeJztnX10VdWVwH/73pBAAmUoiEASgpWOWsdx1MGRQQYxKeo4OpZK6rQVk6BSrcupVUjiV9/qdAzRjp3iaEVNXkQdK0rtGluQj4RYrTpq/Si1Bb/4yEukoIgCAZLcu+ePlxCSd857930E1MlvrbcWufvcvXey3z33nH32OQgDSWhdFkUnHoPXMZEsmQiMRskD8hB1BtR2qqjuobww1OdauOUk4HxExgTTIZ2g7Sh7wN+G425ln7+ZqwpbM+9wL5JxjQ+0FeHoHIRi0OlAXsZtDCw7KC8Ye/CnB1vOw5dfARn48sk2oBHR1Xg5TzLvqN3p6zxEe0a0hDSLokgpKpcjzCAjv/gRo28wwy2/AZk+AHbageWo3EtF/vOZUJheMJe8MoTso8tAqoAvZcKhTwH9ghnZCPzlgFpU1uHyb1xWsC4dNak/QeG26eSMexXkPj4/gTSxdsAtCDPxaSIcWU59a2GqapIP5pK2XBpa7wf/GZS/StXwZ4fOm4DGw2RsNo7+kXDkO6ncnFw3u7TtBDx9HPTEJO7aDfoCyJ9QeQfRP4PuRZ2O5FzNNDoU4SmDoG83C6AqNEQmo05RINUiwxEvD3UmgH8cyEkIp6JkJeHgz/FzrkxmkBQ8mPWtJYj+AhgRoPX7KP+Ny3I25b9MSLoC2zlcLN2Wh9e1xyCJDWYmqNsxArdjJviXoHIRMCzhPcIfED2Xy4JNaYIFMxyZAzwE5CRo+TpCDbn5yykVL5DuI8XhDuahLHl3JNnZV4FcBySytRmHc7is4K1EahMHM9x2EfhPAG6cVm0g11M24TFENKHOTwNHMpg9LGnLJdu/CbgByI7Tsg3caZSP3xxPXfwBUMPWfwD/UeIH8kGGDDuB8vyff2YC+Wlh/oR2ygtuwnX+Bng9TssJ4D3Nkra4GSj7k7m0bSKe/xrwRUuLA8B3KC9oSODyp5PwpqHIENMA6GPKCi4+Iv6QvRj0ijitniEvv9j2CjMHM6RZFLU2A9OMcmEPOF+nbMLqJF0eJBHhlkqQGmyxUf0hFYU/MInM3WxR663EC6SvJYOBHCDKC2sRFljlIjdT13amURRzpa71OBx9A/PItRNx/mkwkIeB+pZaRBZapOvZkn9q/ylf7JPp6F3YpyBVg4E8TGwtqAa1/a1Poqj12v4X+z6Z9S0zEGm2KPg1ZfkXDI5YDyNLt43F894AHRcjEz7AyZrE3HF7ey71TS+J3GRR2w7uNXEDOa12BDn+uWahs4WmypcSew+cWTOKbEqMsiE5jaz6/k6KbxuNytlWHQ7vsLb6tbh25ixz+fDd2THXxemksfKXgXwFmHVHHr53FlCCciowpvvjAbuAj0BfR51XyOpcy+qbWwLrnjtuO+GW60EeiZEpY+jquhL4yUHXDwrrIifj2OY6Wk154aK4hkMhh2dz3gMx5S83M33/sYRCfsJfoKRmASq3GyTbyc6dyMprD1BSewaqL8TRsp0DejzPVX9kbXFBKJf2oXsNkk9orBqZ0M/zbjuKDud7wDXAFxK2j+IBT4FzJ40Lnw14D4Qj64CzDJJW8vKLeqYqve9Ml8ssqj6kPee/EhoMhXxEHrBIJ/HssBkJdQColJuvU8/Kaw8E0gFjGercFrBt8pQs+mc6nLeAGwkeSIgmXy4C/xnOXnQf5y1OlB6NohqySPLZ03KwF4sGM6RZKN+03PBTvjvWlPaKRaQeMCfVxTcH6VCKb5sKnGCQ+Pi6JJAPPaheydm1pyd1TxBKakIoTwJ/kYYWQbiCjvYfBmpdUfgMwnNmTe6lPf+MBnNiZBpwtKGph6P1gV1cU9kG/NooU5nNtNoEKy5uhfm6rqC5enNgP6I4OHoPc5bFS0UmR3HtPFR+QGbKbV5mv/wocGsfS6+nFxLSLOgJpjDToqIp6PJLr1H/Poskj6GUWu+bdUce6DeMMpF7k/KhB+U0Ptx0VUr39qe4ZgpoIj86QF4AngSeAl7C3FNtJNs/n99WBi/o2pe9HDC940dwTOsU6H1nmkeGor8KbKyHMZNXAVvNQi2z3uf5F2NeK93MmftXJu1HD6I/4qzbY4f2ySuqpf/o/6CIj1C5jv0yhsbKv6exajaNVRfSWPV3CGMQXQh83N06gmadw8obdyRlPvqqe8Yo86MPY/eTKacYG3VpU1IGAR4v9YA6i3QaX739y2aRWrpYuS/QKNjOSFzvx2ncD8W1M8Hae22iS0+nqfI/jU/a2qqPWVt9ByJTEX6Hz7k03bAlJT9UbAVfpwE41O0YgTI8RizsYV7hm6kZ7arD3L0I6sWOms+qmQyYyhkP4Dq2L0YSyDe7A5IaqnMskg4cZzbN1e8k1LG28k+srZzCuqrU/qYAKi+aBXIcgIN2mpe4lLdSzvY03dyK6AqzXmcuoVDfNKIr5ZgGFcpyVi/YnoTljcBOw3VB9R7mhOItANsRzjdeVx5kzcJ465D9FaWXPetig1mgk0ElC6czz7j2rCT+tsVD3fvBv9AgKOTZYcXAGiCaidn53lyjDoefJWdTPsDx70QldhojHM/OYdcDNUnpLP73o4GJRpk4D9nvW/Qo0UxQfDznUpoXbgvky/wJHxCOfAz0T2rkEGp2HcS3fVt3BTJg44uTVoKYU1d6yEDow/dmAQWGVutZW2WeW8XjzAMPAJbuSG/mrJpJySnMNk3ZADx2jbTYiXoClCT8ZEviwq6+mOPylbGOA+4Qo9AxDoOD83iph1oGQsLXKFk0svvftoFPatORUMhH9GqiqbP+5OLK4qT0SZe5HkjZye/mdybvYJoI5ulM5Auug5tl7sc1AxNjnzrMf9RhoN+g+LbRwAUG+R6y9z2cst211a+B3m2RXsDMWkP3b0Fcc8AE80Mw0PiWeqxRXeqgrqUYWYPUx8anuTICap4jqlMGzrcxrZ0qD7Ey9ElatrMP3AK0GWWOv5jdw3MD6ZGuP1skIxNntAYAx1K33DHJc/A9W2X56IwYV7FkhHQq0RLDWMRNrYs9lJWhT0C/bxZKEW7nLYH0+M77gKn3ErKtc0+IJk7eO+QTLL8dD1VBLQV2o/AdHM+WUsrMzqfRX1oBRCxS08DnORoX/D4jthurH6Nn1ByDfDeQjrVVH2Mrg3Swpwobq6bRWHXswQ8kn03rT7itADD1KLspFc9hmHFeBshklryS/nvh8VIP0eATf9V70rZ5KJ5eDew3SIIn4G1zZvRcihd9OyW/UsER04oSiGwEcCgt3IfwgaFJNjnjM7OE5Hi2gVB/tpOT94uM2Owhmp0xLXYHx9GHsfu/hJKar6elPyjqG6vyULqDGcU8X1K1l2YkQ7RU4umE7ZJbgA6Ot78GeDfl+1ffuAFosEhzUXmC4kVPcnbNrD4LzlPvHEbx7dMprrkb+MeU7fdijodG4+d0/2BO4Cpfy4ADUXzbQKi3BVluojap0RzaD3pNWjocuRWIl1q8CJFVdLTvp3jRB5Qs2kluRzv4vwG5muQqEmKp2zoBOMMoy5JG6Ammb9lMKpzSfdJG+ui+FUCctVFdweoFmzJiy0Rj9dPAEynfv6ayrfvLbXr/9mc0yqiUbZlwnX/B/J5v49LxG6AnmPMK3gBbEleuzogzzaEuiFe14CZXFpIKnlwHlgxKEJqqnkeZjWAvFBsIlqmLMt8m7VkQ6V29EGwZl3IebMnPiFM6xDYQ2hzN5Q4wzZURIJSWjqaqlTjuaaj8Nk1vdgM/JWevLSnRS3vkEsC8Dqy9yf7eYPqyFDClrnLw5NYkHTXTdMMWRFbFCuS+7kXtgcfbvxg0vXns6gWbaKo8E9VzgCaCjdQhunNuDcK1CIU0Vn2Pp0Ltce9Y/HZOd92RidepmPBqzw+9ZRAV+S2EI48AZTG3CJcTjoQpL4i3ShCMvUMuxj0wtM+1rP3JdX1d+16hKyc2E6IBtts3h7qYeucZMT4c9GVo8DXHpurVwGpKFo1EZSboKaBjUBmDI4KvuxDZhejbqLMBV15l9YLkFjBGDFuI7amUvst5fZPp0U1Db2J80cqbdMjpzJ8Q/5s0SOaIFqa/CJi+eBvYkn8iITlYUtN3xX9e/kawlvSdSLZ3V+Y8HSQudTtG4LAMcyBBpPLQQIJpF5inNwKWyjGpINxq3zs4SGZY8soQnI5lWPPj8jRl+f/T/2psMC8v3InaVhsAtJaG1nmp+jlIAkKaRfb4BlDLJiz9BNc1ThfNO6crCh9GWWoxJ6jeH92uPUhGWfx2DpNaHwW1bRUB4WrmjjMmV+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=';
|
|
1531
|
+
|
|
1532
|
+
/*
|
|
1533
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1534
|
+
*
|
|
1535
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1536
|
+
* you may not use this file except in compliance with the License.
|
|
1537
|
+
* You may obtain a copy of the License at
|
|
1538
|
+
*
|
|
1539
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1540
|
+
*
|
|
1541
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1542
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1543
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1544
|
+
* See the License for the specific language governing permissions and
|
|
1545
|
+
* limitations under the License.
|
|
1546
|
+
*/
|
|
1547
|
+
|
|
1548
|
+
/*
|
|
1549
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
1550
|
+
*
|
|
1551
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
1552
|
+
* you may not use this file except in compliance with the License.
|
|
1553
|
+
* You may obtain a copy of the License at
|
|
1554
|
+
*
|
|
1555
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1556
|
+
*
|
|
1557
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1558
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1559
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1560
|
+
* See the License for the specific language governing permissions and
|
|
1561
|
+
* limitations under the License.
|
|
1562
|
+
*/
|
|
1563
|
+
const zakenApiPluginSpecification = {
|
|
1564
|
+
pluginId: 'zakenapi',
|
|
1565
|
+
/*
|
|
1566
|
+
A component of the interface PluginConfigurationComponent, used to configure the plugin itself.
|
|
1567
|
+
*/
|
|
1568
|
+
pluginConfigurationComponent: ZakenApiConfigurationComponent,
|
|
1569
|
+
pluginLogoBase64: ZAKEN_API_PLUGIN_LOGO_BASE64,
|
|
1570
|
+
functionConfigurationComponents: {
|
|
1571
|
+
'link-document-to-zaak': LinkDocumentToZaakConfigurationComponent,
|
|
1572
|
+
},
|
|
1573
|
+
pluginTranslations: {
|
|
1574
|
+
nl: {
|
|
1575
|
+
title: 'Zaken API',
|
|
1576
|
+
url: 'Zaken API URL',
|
|
1577
|
+
urlTooltip: 'In dit veld moet de verwijzing komen naar de REST api van Open zaak. Deze url moet dus eindigen op /zaken/api/v1/',
|
|
1578
|
+
description: 'De API ondersteunt het opslaan en het naar andere applicaties ontsluiten van gegevens over alle gemeentelijke zaken, van elk type.',
|
|
1579
|
+
'link-document-to-zaak': 'Koppel document aan zaak',
|
|
1580
|
+
configurationTitle: 'Configuratienaam',
|
|
1581
|
+
configurationTitleTooltip: 'Hier kunt u een eigen naam verzinnen. Onder deze naam zal de plugin te herkennen zijn in de rest van de applicatie',
|
|
1582
|
+
documentUrl: 'URL naar het document',
|
|
1583
|
+
titel: 'Documenttitel',
|
|
1584
|
+
titelTooltip: '(Optioneel) Vult het titel veld in de metadata van de link tussen de Zaak en het Document',
|
|
1585
|
+
beschrijving: 'Documentbeschrijving',
|
|
1586
|
+
beschrijvingTooltip: '(Optioneel) Vult het beschrijving veld in de metadata van de link tussen de Zaak en het Document',
|
|
1587
|
+
authenticationPluginConfiguration: 'Configuratie authenticatie-plug-in',
|
|
1588
|
+
linkDocumentInformation: 'Deze actie koppelt een document uit de Documenten API aan de zaak die bij het dossier hoort.',
|
|
1589
|
+
documentUrlTooltip: 'Dit veld ondersteunt URLs en proces variabelen. Gebruik pv:variable om een proces variabele uit te lezen',
|
|
1590
|
+
},
|
|
1591
|
+
en: {
|
|
1592
|
+
title: 'Zaken API',
|
|
1593
|
+
url: 'URL',
|
|
1594
|
+
urlTooltip: 'This field must contain the URL to the rest API of Open Zaak, therefore this URL should end with /zaken/api/v1/',
|
|
1595
|
+
description: 'The API supports the storage and disclosure of data on all municipal matters to other applications, of all types.',
|
|
1596
|
+
'link-document-to-zaak': 'Link document to zaak',
|
|
1597
|
+
configurationTitle: 'Configuration name',
|
|
1598
|
+
documentUrl: 'URL to the document',
|
|
1599
|
+
titel: 'Document title',
|
|
1600
|
+
titelTooltip: '(Optional) Fills the title field in the metadata of the link between the Zaak and the Document',
|
|
1601
|
+
beschrijving: 'Document description',
|
|
1602
|
+
beschrijvingTooltip: '(Optional) Fills the description field in the metadata of the link between the Zaak and the Document',
|
|
1603
|
+
authenticationPluginConfiguration: 'Authentication plugin configuration',
|
|
1604
|
+
linkDocumentInformation: 'This action links a document from the Documents API to the zaak associated with the case.',
|
|
1605
|
+
documentUrlTooltip: 'This field supports URLs and process variables. Use pv:variable to read a process variable',
|
|
1606
|
+
},
|
|
1607
|
+
de: {
|
|
1608
|
+
title: 'Zaken API',
|
|
1609
|
+
url: 'URL',
|
|
1610
|
+
urlTooltip: 'Dieses Feld muss die URL zur rest API von Open Zaak enthalten, daher sollte diese URL mit enden /zaken/api/v1/',
|
|
1611
|
+
description: 'Die API unterstützt die Speicherung und Weitergabe von Daten zu allen kommunalen Belangen an andere Anwendungen.',
|
|
1612
|
+
'link-document-to-zaak': 'Dokument mit Zaak verknüpfen',
|
|
1613
|
+
configurationTitle: 'Konfigurationsname',
|
|
1614
|
+
documentUrl: 'URL zum Dokument',
|
|
1615
|
+
titel: 'Dokumenttitel',
|
|
1616
|
+
titelTooltip: '(Optional) Füllt das Titelfeld in den Metadaten des Links zwischen dem Zaak und dem Dokument aus',
|
|
1617
|
+
beschrijving: 'Dokumentbeschreibung',
|
|
1618
|
+
beschrijvingTooltip: '(Optional) Füllt das Beschreibungsfeld in den Metadaten des Links zwischen dem Zaak und dem Dokument aus',
|
|
1619
|
+
authenticationPluginConfiguration: 'Authentifizierungs-Plugin-Konfiguration',
|
|
1620
|
+
linkDocumentInformation: 'Diese Aktion verknüpft ein Dokument aus der Dokumenten-API mit dem mit dem Fall verknüpften Zaak.',
|
|
1621
|
+
documentUrlTooltip: 'Dieses Feld unterstützt URLs und Prozessvariablen. Verwenden Sie pv:Variablen, um eine Prozessvariable zu lesen',
|
|
1665
1622
|
},
|
|
1666
1623
|
},
|
|
1667
1624
|
};
|
|
@@ -1686,5 +1643,5 @@ const documentenApiPluginSpecification = {
|
|
|
1686
1643
|
* Generated bundle index. Do not edit.
|
|
1687
1644
|
*/
|
|
1688
1645
|
|
|
1689
|
-
export {
|
|
1646
|
+
export { DocumentenApiConfigurationComponent, DocumentenApiPluginModule, GenerateDocumentConfigurationComponent, LinkDocumentToZaakConfigurationComponent, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginManagementService, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, StoreTempDocumentConfigurationComponent, ZakenApiConfigurationComponent, ZakenApiPluginModule, documentenApiPluginSpecification, openZaakPluginSpecification, smartDocumentsPluginSpecification, zakenApiPluginSpecification };
|
|
1690
1647
|
//# sourceMappingURL=valtimo-plugin.mjs.map
|