@valtimo/plugin 5.3.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 +10 -11
- package/esm2020/lib/components/plugin-configuration-container/plugin-configuration-container.module.mjs +5 -5
- package/esm2020/lib/constants/index.mjs +6 -2
- package/esm2020/lib/constants/injection-tokens.mjs +6 -2
- package/esm2020/lib/models/index.mjs +6 -2
- package/esm2020/lib/models/plugin.mjs +6 -2
- package/esm2020/lib/pipes/index.mjs +6 -2
- package/esm2020/lib/pipes/plugin-translate/index.mjs +6 -2
- package/esm2020/lib/pipes/plugin-translate/plugin-translate-pipe.module.mjs +10 -6
- package/esm2020/lib/pipes/plugin-translate/plugin-translate.pipe.mjs +9 -5
- package/esm2020/lib/plugins/documenten-api/assets/documenten-api-plugin-logo.mjs +18 -0
- package/esm2020/lib/plugins/documenten-api/assets/index.mjs +17 -0
- package/esm2020/lib/plugins/documenten-api/components/documenten-api-configuration/documenten-api-configuration.component.mjs +89 -0
- package/esm2020/lib/plugins/documenten-api/components/store-temp-document/store-temp-document-configuration.component.mjs +96 -0
- package/esm2020/lib/plugins/documenten-api/documenten-api-plugin.module.mjs +36 -0
- package/esm2020/lib/plugins/documenten-api/documenten-api-plugin.specification.mjs +99 -0
- package/esm2020/lib/plugins/documenten-api/models/config.mjs +17 -0
- package/esm2020/lib/plugins/documenten-api/models/index.mjs +17 -0
- package/esm2020/lib/plugins/open-zaak/assets/index.mjs +6 -2
- package/esm2020/lib/plugins/open-zaak/assets/open-zaak-plugin-logo.mjs +6 -2
- package/esm2020/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.mjs +38 -20
- package/esm2020/lib/plugins/open-zaak/models/config.mjs +6 -2
- package/esm2020/lib/plugins/open-zaak/models/index.mjs +6 -2
- package/esm2020/lib/plugins/open-zaak/open-zaak-plugin.module.mjs +9 -63
- package/esm2020/lib/plugins/open-zaak/open-zaak-plugin.specification.mjs +12 -63
- package/esm2020/lib/plugins/smart-documents/assets/index.mjs +6 -2
- package/esm2020/lib/plugins/smart-documents/assets/smart-documents-plugin-logo.mjs +6 -2
- package/esm2020/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.mjs +40 -16
- package/esm2020/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.mjs +41 -15
- package/esm2020/lib/plugins/smart-documents/models/config.mjs +6 -2
- package/esm2020/lib/plugins/smart-documents/models/index.mjs +6 -2
- package/esm2020/lib/plugins/smart-documents/smart-documents-plugin.module.mjs +10 -7
- package/esm2020/lib/plugins/smart-documents/smart-documents-plugin.specification.mjs +18 -5
- 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 +7 -2
- package/esm2020/lib/services/plugin-management.service.mjs +79 -0
- package/esm2020/lib/services/plugin-translation.service.mjs +9 -5
- package/esm2020/lib/services/plugin.service.mjs +4 -4
- package/esm2020/public-api.mjs +16 -7
- package/fesm2015/valtimo-plugin.mjs +921 -515
- package/fesm2015/valtimo-plugin.mjs.map +1 -1
- package/fesm2020/valtimo-plugin.mjs +918 -516
- package/fesm2020/valtimo-plugin.mjs.map +1 -1
- package/lib/components/plugin-configuration-container/plugin-configuration-container.component.d.ts +5 -6
- package/lib/components/plugin-configuration-container/plugin-configuration-container.component.d.ts.map +1 -1
- package/lib/constants/index.d.ts.map +1 -1
- package/lib/constants/injection-tokens.d.ts.map +1 -1
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/plugin.d.ts +41 -7
- package/lib/models/plugin.d.ts.map +1 -1
- package/lib/pipes/index.d.ts.map +1 -1
- package/lib/pipes/plugin-translate/index.d.ts.map +1 -1
- package/lib/pipes/plugin-translate/plugin-translate-pipe.module.d.ts.map +1 -1
- package/lib/pipes/plugin-translate/plugin-translate.pipe.d.ts.map +1 -1
- package/lib/plugins/documenten-api/assets/documenten-api-plugin-logo.d.ts +3 -0
- package/lib/plugins/documenten-api/assets/documenten-api-plugin-logo.d.ts.map +1 -0
- package/lib/plugins/documenten-api/assets/index.d.ts +2 -0
- package/lib/plugins/documenten-api/assets/index.d.ts.map +1 -0
- package/lib/plugins/documenten-api/components/documenten-api-configuration/documenten-api-configuration.component.d.ts +34 -0
- package/lib/plugins/documenten-api/components/documenten-api-configuration/documenten-api-configuration.component.d.ts.map +1 -0
- package/lib/plugins/documenten-api/components/store-temp-document/store-temp-document-configuration.component.d.ts +39 -0
- package/lib/plugins/documenten-api/components/store-temp-document/store-temp-document-configuration.component.d.ts.map +1 -0
- package/lib/plugins/documenten-api/documenten-api-plugin.module.d.ts +12 -0
- package/lib/plugins/documenten-api/documenten-api-plugin.module.d.ts.map +1 -0
- package/lib/plugins/documenten-api/documenten-api-plugin.specification.d.ts +4 -0
- package/lib/plugins/documenten-api/documenten-api-plugin.specification.d.ts.map +1 -0
- package/lib/plugins/documenten-api/models/config.d.ts +17 -0
- package/lib/plugins/documenten-api/models/config.d.ts.map +1 -0
- package/lib/plugins/documenten-api/models/index.d.ts +2 -0
- package/lib/plugins/documenten-api/models/index.d.ts.map +1 -0
- package/lib/plugins/open-zaak/assets/index.d.ts.map +1 -1
- package/lib/plugins/open-zaak/assets/open-zaak-plugin-logo.d.ts.map +1 -1
- package/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.d.ts +11 -6
- 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 +3 -7
- package/lib/plugins/open-zaak/models/config.d.ts.map +1 -1
- package/lib/plugins/open-zaak/models/index.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/assets/index.d.ts.map +1 -1
- package/lib/plugins/smart-documents/assets/smart-documents-plugin-logo.d.ts.map +1 -1
- package/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.d.ts +12 -7
- package/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.d.ts.map +1 -1
- package/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.d.ts +11 -6
- package/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.d.ts.map +1 -1
- package/lib/plugins/smart-documents/models/config.d.ts +3 -2
- package/lib/plugins/smart-documents/models/config.d.ts.map +1 -1
- package/lib/plugins/smart-documents/models/index.d.ts.map +1 -1
- package/lib/plugins/smart-documents/smart-documents-plugin.module.d.ts +1 -1
- package/lib/plugins/smart-documents/smart-documents-plugin.module.d.ts.map +1 -1
- package/lib/plugins/smart-documents/smart-documents-plugin.specification.d.ts.map +1 -1
- package/lib/plugins/zaken-api/assets/index.d.ts +2 -0
- package/lib/plugins/zaken-api/assets/index.d.ts.map +1 -0
- package/lib/plugins/zaken-api/assets/zaken-api-plugin-logo.d.ts +3 -0
- package/lib/plugins/zaken-api/assets/zaken-api-plugin-logo.d.ts.map +1 -0
- package/lib/plugins/zaken-api/components/link-document-to-zaak/link-document-to-zaak-configuration.component.d.ts +34 -0
- package/lib/plugins/zaken-api/components/link-document-to-zaak/link-document-to-zaak-configuration.component.d.ts.map +1 -0
- package/lib/plugins/zaken-api/components/zaken-api-configuration/zaken-api-configuration.component.d.ts +34 -0
- package/lib/plugins/zaken-api/components/zaken-api-configuration/zaken-api-configuration.component.d.ts.map +1 -0
- package/lib/plugins/zaken-api/models/config.d.ts +12 -0
- package/lib/plugins/zaken-api/models/config.d.ts.map +1 -0
- package/lib/plugins/zaken-api/models/index.d.ts +2 -0
- package/lib/plugins/zaken-api/models/index.d.ts.map +1 -0
- package/lib/plugins/zaken-api/zaken-api-plugin.module.d.ts +12 -0
- package/lib/plugins/zaken-api/zaken-api-plugin.module.d.ts.map +1 -0
- package/lib/plugins/zaken-api/zaken-api-plugin.specification.d.ts +4 -0
- package/lib/plugins/zaken-api/zaken-api-plugin.specification.d.ts.map +1 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/plugin-management.service.d.ts +27 -0
- package/lib/services/plugin-management.service.d.ts.map +1 -0
- package/lib/services/plugin-translation.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +8 -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 -65
- package/esm2020/lib/plugins/open-zaak/components/select-zaak-type/select-zaak-type.component.mjs +0 -61
- 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 -23
- 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 -30
- 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 -30
- 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 -30
- 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,
|
|
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
|
|
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$1 from '@valtimo/resource';
|
|
12
14
|
|
|
13
15
|
/*
|
|
14
16
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -19,7 +21,11 @@ import * as i1$1 from '@valtimo/resource';
|
|
|
19
21
|
*
|
|
20
22
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
21
23
|
*
|
|
22
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
24
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
25
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
26
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27
|
+
* See the License for the specific language governing permissions and
|
|
28
|
+
* limitations under the License.
|
|
23
29
|
*/
|
|
24
30
|
const PLUGINS_TOKEN = new InjectionToken('Provide plugin config; an array of plugin specifications.');
|
|
25
31
|
|
|
@@ -32,7 +38,11 @@ const PLUGINS_TOKEN = new InjectionToken('Provide plugin config; an array of plu
|
|
|
32
38
|
*
|
|
33
39
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
34
40
|
*
|
|
35
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
41
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
42
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
43
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
44
|
+
* See the License for the specific language governing permissions and
|
|
45
|
+
* limitations under the License.
|
|
36
46
|
*/
|
|
37
47
|
|
|
38
48
|
/*
|
|
@@ -67,9 +77,9 @@ class PluginService {
|
|
|
67
77
|
return this._availablePluginIds$;
|
|
68
78
|
}
|
|
69
79
|
}
|
|
70
|
-
PluginService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
71
|
-
PluginService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
80
|
+
PluginService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginService, deps: [{ token: PLUGINS_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
81
|
+
PluginService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginService, providedIn: 'root' });
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginService, decorators: [{
|
|
73
83
|
type: Injectable,
|
|
74
84
|
args: [{
|
|
75
85
|
providedIn: 'root',
|
|
@@ -90,7 +100,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
90
100
|
*
|
|
91
101
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
92
102
|
*
|
|
93
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
103
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
104
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
105
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
106
|
+
* See the License for the specific language governing permissions and
|
|
107
|
+
* limitations under the License.
|
|
94
108
|
*/
|
|
95
109
|
class PluginTranslationService {
|
|
96
110
|
constructor(translateService, pluginService) {
|
|
@@ -113,14 +127,82 @@ class PluginTranslationService {
|
|
|
113
127
|
return translation || `${pluginDefinitionKey}.${translateKey}`;
|
|
114
128
|
}
|
|
115
129
|
}
|
|
116
|
-
PluginTranslationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
117
|
-
PluginTranslationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
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 });
|
|
131
|
+
PluginTranslationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslationService, providedIn: 'root' });
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslationService, decorators: [{
|
|
133
|
+
type: Injectable,
|
|
134
|
+
args: [{
|
|
135
|
+
providedIn: 'root',
|
|
136
|
+
}]
|
|
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: [{
|
|
119
201
|
type: Injectable,
|
|
120
202
|
args: [{
|
|
121
203
|
providedIn: 'root',
|
|
122
204
|
}]
|
|
123
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
205
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigService }, { type: PluginService }, { type: i3.DomSanitizer }, { type: i4.HttpClient }]; } });
|
|
124
206
|
|
|
125
207
|
/*
|
|
126
208
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -131,7 +213,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
131
213
|
*
|
|
132
214
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
133
215
|
*
|
|
134
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
216
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
217
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
218
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
219
|
+
* See the License for the specific language governing permissions and
|
|
220
|
+
* limitations under the License.
|
|
135
221
|
*/
|
|
136
222
|
|
|
137
223
|
/*
|
|
@@ -143,7 +229,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
143
229
|
*
|
|
144
230
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
145
231
|
*
|
|
146
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
232
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
233
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
234
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
235
|
+
* See the License for the specific language governing permissions and
|
|
236
|
+
* limitations under the License.
|
|
147
237
|
*/
|
|
148
238
|
|
|
149
239
|
/*
|
|
@@ -155,7 +245,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
155
245
|
*
|
|
156
246
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
157
247
|
*
|
|
158
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
248
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
249
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
250
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
251
|
+
* See the License for the specific language governing permissions and
|
|
252
|
+
* limitations under the License.
|
|
159
253
|
*/
|
|
160
254
|
class PluginTranslatePipe {
|
|
161
255
|
constructor(pluginTranslationService, pluginService) {
|
|
@@ -166,9 +260,9 @@ class PluginTranslatePipe {
|
|
|
166
260
|
return this.pluginTranslationService.translate(translateKey, pluginDefinitionKey);
|
|
167
261
|
}
|
|
168
262
|
}
|
|
169
|
-
PluginTranslatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
170
|
-
PluginTranslatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.
|
|
171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
263
|
+
PluginTranslatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslatePipe, deps: [{ token: PluginTranslationService }, { token: PluginService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
264
|
+
PluginTranslatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslatePipe, name: "pluginTranslate" });
|
|
265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslatePipe, decorators: [{
|
|
172
266
|
type: Pipe,
|
|
173
267
|
args: [{
|
|
174
268
|
name: 'pluginTranslate',
|
|
@@ -184,14 +278,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
184
278
|
*
|
|
185
279
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
186
280
|
*
|
|
187
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
281
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
282
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
283
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
284
|
+
* See the License for the specific language governing permissions and
|
|
285
|
+
* limitations under the License.
|
|
188
286
|
*/
|
|
189
287
|
class PluginTranslatePipeModule {
|
|
190
288
|
}
|
|
191
|
-
PluginTranslatePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
192
|
-
PluginTranslatePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.
|
|
193
|
-
PluginTranslatePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.
|
|
194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
289
|
+
PluginTranslatePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslatePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
290
|
+
PluginTranslatePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslatePipeModule, declarations: [PluginTranslatePipe], imports: [TranslateModule], exports: [PluginTranslatePipe] });
|
|
291
|
+
PluginTranslatePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslatePipeModule, imports: [[TranslateModule]] });
|
|
292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginTranslatePipeModule, decorators: [{
|
|
195
293
|
type: NgModule,
|
|
196
294
|
args: [{
|
|
197
295
|
imports: [TranslateModule],
|
|
@@ -209,7 +307,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
209
307
|
*
|
|
210
308
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
211
309
|
*
|
|
212
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
310
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
311
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
312
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
313
|
+
* See the License for the specific language governing permissions and
|
|
314
|
+
* limitations under the License.
|
|
213
315
|
*/
|
|
214
316
|
|
|
215
317
|
/*
|
|
@@ -221,7 +323,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
221
323
|
*
|
|
222
324
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
223
325
|
*
|
|
224
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
326
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
327
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
328
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
329
|
+
* See the License for the specific language governing permissions and
|
|
330
|
+
* limitations under the License.
|
|
225
331
|
*/
|
|
226
332
|
|
|
227
333
|
/*
|
|
@@ -309,10 +415,11 @@ class PluginConfigurationContainerComponent {
|
|
|
309
415
|
(_b = this.validSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
|
|
310
416
|
if (instance) {
|
|
311
417
|
instance.save$ = this.save$;
|
|
312
|
-
instance.
|
|
313
|
-
instance.error = this.error;
|
|
314
|
-
instance.disabled = this.disabled;
|
|
418
|
+
instance.disabled$ = this.disabled$;
|
|
315
419
|
instance.pluginId = pluginDefinitionKey;
|
|
420
|
+
if (this.prefillConfiguration$) {
|
|
421
|
+
instance.prefillConfiguration$ = this.prefillConfiguration$;
|
|
422
|
+
}
|
|
316
423
|
this.validSubscription = instance.valid.subscribe(valid => {
|
|
317
424
|
this.valid.emit(valid);
|
|
318
425
|
});
|
|
@@ -323,9 +430,9 @@ class PluginConfigurationContainerComponent {
|
|
|
323
430
|
});
|
|
324
431
|
}
|
|
325
432
|
}
|
|
326
|
-
PluginConfigurationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
327
|
-
PluginConfigurationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.
|
|
328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
433
|
+
PluginConfigurationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginConfigurationContainerComponent, deps: [{ token: PluginService }], target: i0.ɵɵFactoryTarget.Component });
|
|
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 } });
|
|
435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginConfigurationContainerComponent, decorators: [{
|
|
329
436
|
type: Component,
|
|
330
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"] }]
|
|
331
438
|
}], ctorParameters: function () { return [{ type: PluginService }]; }, propDecorators: { dynamicContainer: [{
|
|
@@ -337,13 +444,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
337
444
|
type: Input
|
|
338
445
|
}], functionKey: [{
|
|
339
446
|
type: Input
|
|
340
|
-
}], clear$: [{
|
|
341
|
-
type: Input
|
|
342
447
|
}], save$: [{
|
|
343
448
|
type: Input
|
|
344
|
-
}], disabled
|
|
449
|
+
}], disabled$: [{
|
|
345
450
|
type: Input
|
|
346
|
-
}],
|
|
451
|
+
}], prefillConfiguration$: [{
|
|
347
452
|
type: Input
|
|
348
453
|
}], valid: [{
|
|
349
454
|
type: Output
|
|
@@ -368,10 +473,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
368
473
|
*/
|
|
369
474
|
class PluginConfigurationContainerModule {
|
|
370
475
|
}
|
|
371
|
-
PluginConfigurationContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
372
|
-
PluginConfigurationContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.
|
|
373
|
-
PluginConfigurationContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
476
|
+
PluginConfigurationContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginConfigurationContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
477
|
+
PluginConfigurationContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginConfigurationContainerModule, declarations: [PluginConfigurationContainerComponent], imports: [CommonModule, ParagraphModule, TranslateModule], exports: [PluginConfigurationContainerComponent] });
|
|
478
|
+
PluginConfigurationContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginConfigurationContainerModule, imports: [[CommonModule, ParagraphModule, TranslateModule]] });
|
|
479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PluginConfigurationContainerModule, decorators: [{
|
|
375
480
|
type: NgModule,
|
|
376
481
|
args: [{
|
|
377
482
|
declarations: [PluginConfigurationContainerComponent],
|
|
@@ -389,42 +494,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
389
494
|
*
|
|
390
495
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
391
496
|
*
|
|
392
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
497
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
498
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
499
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
500
|
+
* See the License for the specific language governing permissions and
|
|
501
|
+
* limitations under the License.
|
|
393
502
|
*/
|
|
394
503
|
class OpenZaakConfigurationComponent {
|
|
395
504
|
constructor() {
|
|
396
505
|
this.valid = new EventEmitter();
|
|
397
506
|
this.configuration = new EventEmitter();
|
|
507
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
508
|
+
this.valid$ = new BehaviorSubject(false);
|
|
509
|
+
}
|
|
510
|
+
ngOnInit() {
|
|
511
|
+
this.openSaveSubscription();
|
|
512
|
+
}
|
|
513
|
+
ngOnDestroy() {
|
|
514
|
+
var _a;
|
|
515
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
398
516
|
}
|
|
399
517
|
formValueChange(formValue) {
|
|
400
|
-
this.
|
|
518
|
+
this.formValue$.next(formValue);
|
|
401
519
|
this.handleValid(formValue);
|
|
402
520
|
}
|
|
403
521
|
handleValid(formValue) {
|
|
404
|
-
const valid = formValue.
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
this.
|
|
522
|
+
const valid = !!(formValue.configurationTitle && formValue.clientId && formValue.clientSecret);
|
|
523
|
+
this.valid$.next(valid);
|
|
524
|
+
this.valid.emit(valid);
|
|
525
|
+
}
|
|
526
|
+
openSaveSubscription() {
|
|
527
|
+
var _a;
|
|
528
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
529
|
+
combineLatest([this.formValue$, this.valid$])
|
|
530
|
+
.pipe(take(1))
|
|
531
|
+
.subscribe(([formValue, valid]) => {
|
|
532
|
+
if (valid) {
|
|
533
|
+
this.configuration.emit(formValue);
|
|
534
|
+
}
|
|
535
|
+
});
|
|
536
|
+
});
|
|
411
537
|
}
|
|
412
538
|
}
|
|
413
|
-
OpenZaakConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
414
|
-
OpenZaakConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.
|
|
415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
539
|
+
OpenZaakConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
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 } });
|
|
541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpenZaakConfigurationComponent, decorators: [{
|
|
416
542
|
type: Component,
|
|
417
|
-
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
|
|
418
|
-
}], propDecorators: {
|
|
419
|
-
type: Input
|
|
420
|
-
}], save$: [{
|
|
421
|
-
type: Input
|
|
422
|
-
}], disabled: [{
|
|
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"] }]
|
|
544
|
+
}], propDecorators: { save$: [{
|
|
423
545
|
type: Input
|
|
424
|
-
}],
|
|
546
|
+
}], disabled$: [{
|
|
425
547
|
type: Input
|
|
426
548
|
}], pluginId: [{
|
|
427
549
|
type: Input
|
|
550
|
+
}], prefillConfiguration$: [{
|
|
551
|
+
type: Input
|
|
428
552
|
}], valid: [{
|
|
429
553
|
type: Output
|
|
430
554
|
}], configuration: [{
|
|
@@ -440,48 +564,102 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
440
564
|
*
|
|
441
565
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
442
566
|
*
|
|
443
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
567
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
568
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
569
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
570
|
+
* See the License for the specific language governing permissions and
|
|
571
|
+
* limitations under the License.
|
|
444
572
|
*/
|
|
445
|
-
class
|
|
446
|
-
constructor(openZaakService, modalService, pluginTranslationService) {
|
|
447
|
-
this.openZaakService = openZaakService;
|
|
448
|
-
this.modalService = modalService;
|
|
449
|
-
this.pluginTranslationService = pluginTranslationService;
|
|
450
|
-
this.zaakTypeSelected = new EventEmitter();
|
|
451
|
-
this.zaakTypeLinks$ = this.modalService.modalData$.pipe(switchMap(modalData => {
|
|
452
|
-
if (modalData === null || modalData === void 0 ? void 0 : modalData.processDefinitionKey) {
|
|
453
|
-
return this.openZaakService.getZaakTypeLinkListByProcess(modalData === null || modalData === void 0 ? void 0 : modalData.processDefinitionKey);
|
|
454
|
-
}
|
|
455
|
-
else {
|
|
456
|
-
return of(null);
|
|
457
|
-
}
|
|
458
|
-
}));
|
|
459
|
-
this.zaakTypeLinkSelectItems$ = this.zaakTypeLinks$.pipe(map(zaakTypeLinks => zaakTypeLinks === null || zaakTypeLinks === void 0 ? void 0 : zaakTypeLinks.map(link => ({
|
|
460
|
-
id: link.zaakTypeUrl,
|
|
461
|
-
text: link.documentDefinitionName,
|
|
462
|
-
}))));
|
|
463
|
-
this.selectedZaakTypeUrl$ = new BehaviorSubject('');
|
|
464
|
-
this.selectedZaakType$ = combineLatest([
|
|
465
|
-
this.selectedZaakTypeUrl$,
|
|
466
|
-
this.openZaakService.getZaakTypes(),
|
|
467
|
-
]).pipe(map(([selectedZaakTypeUrl, zaakTypes]) => zaakTypes.find(zaakType => zaakType.url === selectedZaakTypeUrl)), tap(selectedZaakType => this.zaakTypeSelected.emit(selectedZaakType)));
|
|
468
|
-
}
|
|
469
|
-
selectZaakTypeLink(zaakTypeUrl) {
|
|
470
|
-
this.selectedZaakTypeUrl$.next(zaakTypeUrl);
|
|
471
|
-
}
|
|
573
|
+
class OpenZaakPluginModule {
|
|
472
574
|
}
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
i0.ɵɵ
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
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],
|
|
584
|
+
}]
|
|
585
|
+
}] });
|
|
586
|
+
|
|
587
|
+
/*
|
|
588
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
589
|
+
*
|
|
590
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
591
|
+
* you may not use this file except in compliance with the License.
|
|
592
|
+
* You may obtain a copy of the License at
|
|
593
|
+
*
|
|
594
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
595
|
+
*
|
|
596
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
597
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
598
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
599
|
+
* See the License for the specific language governing permissions and
|
|
600
|
+
* limitations under the License.
|
|
601
|
+
*/
|
|
602
|
+
const OPEN_ZAAK_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAARtAAAEbQF9GpMFAAAAB3RJTUUH5gYKBB8NWNadBAAAAAZiS0dEAP8A/wD/oL2nkwAADG1JREFUaN7lm3tw1cUVx9O/2uqMnUEg1FZnOmOx8ih1ykwZcajaoVoEqmbkGR4+QEBQHI2iTpUZwSEhRJ6CgLwThhLCI2ocqChCpFJeLRhCeIcg3JsHSUhyb27uzel+9u7v5ndfed6EOOzMmfyyv92z57t7Xru/vXFxMSw9Upxxv/ioKC5+vvO2+PmOPooSFaUp+kJRniKnIpcinyGXqcszbdJMnz7wgBc8O11RAkI/VfSAoiRFOYouK3Irku6KuqU4pCuU7JA7DfFMHe9oE+8nt+mbY3g9YHjfZJALrsbFp2igdyh6SlGmWa367gYYdNcCh9y3pFj+tKpEHttYJk9vuS6jM/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X/1mfy5tyQdxgjxqZwmOan2j7ClUuDo1eL4S8GO1kuO3l8uA1SXy28VO+bVStbuUo4F4po53tKEtfep84U4Mm2UsCywyhCZDLfogTulurvw0deXhiBrIUhvLkeG9S6p9UTfh3Kc8qux0z7la2XHKrYln6ngX7fABnvDubXNijH0kBGykKw9g6d68ex5NX2qxnJTVhvBATMw65ZJyd9vzTHjAC57wthxUJCfW6kstLb22hLPAQxKyLGeDdxyuhMQp5RfXNXkwGHo6QR/6wuNuc6kU3ozBWKFOrM3Xllp6Mc3r8ycJzDzZjnX5mz7kvyO3+q8RY1/fXvZoAc+qBB/imTre0Ya29KGvxQee8GYMb4jFxOxiWmuuHpLlkNqR8fRc7L/12iW5wTP/MtXvBEkSCDkQz9TxLuCxzS15eMDr0wJ3UAalvXF7XD1s7eXSGqWW7LJQP3ZYOJtfLXAEYqwOQTayYjVtaEsf+sKjJoI5tNvl0lhcH6b+lLJJ8trF31XLrH9VypTsCpmoQhDEM3W8ow1tG+PV7teHoyQmk9tyQZyYSpyFmrPBaOKC+OR2/TlAfKozrvuC4k7zEwAtS2oH/MznlvmRxy37M55b8odaP9af4v0f7OO0BSS5cpoAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDYtMTBUMDQ6MzE6MTMtMDQ6MDAqVmbCAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTEwVDA0OjMxOjEzLTA0OjAwWwvefgAAAABJRU5ErkJggg==';
|
|
603
|
+
|
|
604
|
+
/*
|
|
605
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
606
|
+
*
|
|
607
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
608
|
+
* you may not use this file except in compliance with the License.
|
|
609
|
+
* You may obtain a copy of the License at
|
|
610
|
+
*
|
|
611
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
612
|
+
*
|
|
613
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
614
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
615
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
616
|
+
* See the License for the specific language governing permissions and
|
|
617
|
+
* limitations under the License.
|
|
618
|
+
*/
|
|
619
|
+
|
|
620
|
+
/*
|
|
621
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
622
|
+
*
|
|
623
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
624
|
+
* you may not use this file except in compliance with the License.
|
|
625
|
+
* You may obtain a copy of the License at
|
|
626
|
+
*
|
|
627
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
628
|
+
*
|
|
629
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
630
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
631
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
632
|
+
* See the License for the specific language governing permissions and
|
|
633
|
+
* limitations under the License.
|
|
634
|
+
*/
|
|
635
|
+
const openZaakPluginSpecification = {
|
|
636
|
+
pluginId: 'openzaak',
|
|
637
|
+
pluginConfigurationComponent: OpenZaakConfigurationComponent,
|
|
638
|
+
pluginLogoBase64: OPEN_ZAAK_PLUGIN_LOGO_BASE64,
|
|
639
|
+
pluginTranslations: {
|
|
640
|
+
nl: {
|
|
641
|
+
title: 'OpenZaak',
|
|
642
|
+
description: 'OpenZaak is een productiewaardig API platform die de API-standaard voor zaakgericht werken implementeert (de ZGW-API’s).',
|
|
643
|
+
configurationTitle: 'Configuratienaam',
|
|
644
|
+
clientId: 'Client ID',
|
|
645
|
+
clientSecret: 'Secret',
|
|
646
|
+
},
|
|
647
|
+
en: {
|
|
648
|
+
title: 'OpenZaak',
|
|
649
|
+
description: 'OpenZaak is a production-worthy API platform that implements the API standard for case-oriented working (the ZGW APIs).',
|
|
650
|
+
configurationTitle: 'Configuration name',
|
|
651
|
+
clientId: 'Client ID',
|
|
652
|
+
clientSecret: 'Secret',
|
|
653
|
+
},
|
|
654
|
+
de: {
|
|
655
|
+
title: 'OpenZaak',
|
|
656
|
+
description: 'OpenZaak ist eine produktionstaugliche API-Plattform, die den API-Standard für fallorientiertes Arbeiten (die ZGW-APIs) implementiert.',
|
|
657
|
+
configurationTitle: 'Konfigurationsname',
|
|
658
|
+
clientId: 'Client ID',
|
|
659
|
+
clientSecret: 'Secret',
|
|
660
|
+
},
|
|
661
|
+
},
|
|
662
|
+
};
|
|
485
663
|
|
|
486
664
|
/*
|
|
487
665
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -492,52 +670,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
492
670
|
*
|
|
493
671
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
494
672
|
*
|
|
495
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
673
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
674
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
675
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
676
|
+
* See the License for the specific language governing permissions and
|
|
677
|
+
* limitations under the License.
|
|
496
678
|
*/
|
|
497
|
-
class
|
|
679
|
+
class SmartDocumentsConfigurationComponent {
|
|
498
680
|
constructor() {
|
|
499
681
|
this.valid = new EventEmitter();
|
|
500
682
|
this.configuration = new EventEmitter();
|
|
501
|
-
this.
|
|
683
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
684
|
+
this.valid$ = new BehaviorSubject(false);
|
|
502
685
|
}
|
|
503
686
|
ngOnInit() {
|
|
504
|
-
this.
|
|
687
|
+
this.openSaveSubscription();
|
|
505
688
|
}
|
|
506
689
|
ngOnDestroy() {
|
|
507
690
|
var _a;
|
|
508
|
-
(_a = this.
|
|
691
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
509
692
|
}
|
|
510
|
-
|
|
511
|
-
this.
|
|
693
|
+
formValueChange(formValue) {
|
|
694
|
+
this.formValue$.next(formValue);
|
|
695
|
+
this.handleValid(formValue);
|
|
512
696
|
}
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
.
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
697
|
+
handleValid(formValue) {
|
|
698
|
+
const valid = !!(formValue.configurationTitle &&
|
|
699
|
+
formValue.url &&
|
|
700
|
+
formValue.password &&
|
|
701
|
+
formValue.username);
|
|
702
|
+
this.valid$.next(valid);
|
|
703
|
+
this.valid.emit(valid);
|
|
704
|
+
}
|
|
705
|
+
openSaveSubscription() {
|
|
706
|
+
var _a;
|
|
707
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
708
|
+
combineLatest([this.formValue$, this.valid$])
|
|
709
|
+
.pipe(take(1))
|
|
710
|
+
.subscribe(([formValue, valid]) => {
|
|
711
|
+
if (valid) {
|
|
712
|
+
this.configuration.emit(formValue);
|
|
713
|
+
}
|
|
714
|
+
});
|
|
715
|
+
});
|
|
524
716
|
}
|
|
525
717
|
}
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
718
|
+
SmartDocumentsConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartDocumentsConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
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 } });
|
|
720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartDocumentsConfigurationComponent, decorators: [{
|
|
529
721
|
type: Component,
|
|
530
|
-
args: [{ selector: 'valtimo-
|
|
531
|
-
}], propDecorators: {
|
|
532
|
-
type: Input
|
|
533
|
-
}], save$: [{
|
|
534
|
-
type: Input
|
|
535
|
-
}], disabled: [{
|
|
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: [""] }]
|
|
723
|
+
}], propDecorators: { save$: [{
|
|
536
724
|
type: Input
|
|
537
|
-
}],
|
|
725
|
+
}], disabled$: [{
|
|
538
726
|
type: Input
|
|
539
727
|
}], pluginId: [{
|
|
540
728
|
type: Input
|
|
729
|
+
}], prefillConfiguration$: [{
|
|
730
|
+
type: Input
|
|
541
731
|
}], valid: [{
|
|
542
732
|
type: Output
|
|
543
733
|
}], configuration: [{
|
|
@@ -553,69 +743,71 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
553
743
|
*
|
|
554
744
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
555
745
|
*
|
|
556
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
746
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
747
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
748
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
749
|
+
* See the License for the specific language governing permissions and
|
|
750
|
+
* limitations under the License.
|
|
557
751
|
*/
|
|
558
|
-
class
|
|
752
|
+
class GenerateDocumentConfigurationComponent {
|
|
559
753
|
constructor() {
|
|
560
754
|
this.valid = new EventEmitter();
|
|
561
755
|
this.configuration = new EventEmitter();
|
|
562
|
-
this.
|
|
563
|
-
this.
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
id: besluit,
|
|
567
|
-
text: besluit,
|
|
756
|
+
this.FORMATS = ['DOCX', 'HTML', 'PDF', 'XML'];
|
|
757
|
+
this.FORMAT_SELECT_ITEMS = this.FORMATS.map(format => ({
|
|
758
|
+
id: format,
|
|
759
|
+
text: format,
|
|
568
760
|
}));
|
|
569
|
-
this.
|
|
761
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
762
|
+
this.valid$ = new BehaviorSubject(false);
|
|
570
763
|
}
|
|
571
764
|
ngOnInit() {
|
|
572
|
-
this.
|
|
765
|
+
this.openSaveSubscription();
|
|
573
766
|
}
|
|
574
767
|
ngOnDestroy() {
|
|
575
768
|
var _a;
|
|
576
|
-
(_a = this.
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
this.
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
this.
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
769
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
770
|
+
}
|
|
771
|
+
formValueChange(formValue) {
|
|
772
|
+
this.formValue$.next(formValue);
|
|
773
|
+
this.handleValid(formValue);
|
|
774
|
+
}
|
|
775
|
+
handleValid(formValue) {
|
|
776
|
+
var _a;
|
|
777
|
+
const valid = !!(formValue.templateGroup &&
|
|
778
|
+
formValue.templateName &&
|
|
779
|
+
formValue.format &&
|
|
780
|
+
formValue.resultingDocumentProcessVariableName &&
|
|
781
|
+
((_a = formValue.templateData) === null || _a === void 0 ? void 0 : _a.length) > 0);
|
|
782
|
+
this.valid$.next(valid);
|
|
783
|
+
this.valid.emit(valid);
|
|
784
|
+
}
|
|
785
|
+
openSaveSubscription() {
|
|
786
|
+
var _a;
|
|
787
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
788
|
+
combineLatest([this.formValue$, this.valid$])
|
|
789
|
+
.pipe(take(1))
|
|
790
|
+
.subscribe(([formValue, valid]) => {
|
|
791
|
+
if (valid) {
|
|
792
|
+
this.configuration.emit(formValue);
|
|
793
|
+
}
|
|
794
|
+
});
|
|
795
|
+
});
|
|
602
796
|
}
|
|
603
797
|
}
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
798
|
+
GenerateDocumentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GenerateDocumentConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
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 } });
|
|
800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GenerateDocumentConfigurationComponent, decorators: [{
|
|
607
801
|
type: Component,
|
|
608
|
-
args: [{ selector: 'valtimo-
|
|
609
|
-
}], propDecorators: {
|
|
610
|
-
type: Input
|
|
611
|
-
}], save$: [{
|
|
612
|
-
type: Input
|
|
613
|
-
}], disabled: [{
|
|
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: [""] }]
|
|
803
|
+
}], propDecorators: { save$: [{
|
|
614
804
|
type: Input
|
|
615
|
-
}],
|
|
805
|
+
}], disabled$: [{
|
|
616
806
|
type: Input
|
|
617
807
|
}], pluginId: [{
|
|
618
808
|
type: Input
|
|
809
|
+
}], prefillConfiguration$: [{
|
|
810
|
+
type: Input
|
|
619
811
|
}], valid: [{
|
|
620
812
|
type: Output
|
|
621
813
|
}], configuration: [{
|
|
@@ -631,79 +823,232 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
631
823
|
*
|
|
632
824
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
633
825
|
*
|
|
634
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
826
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
827
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
828
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
829
|
+
* See the License for the specific language governing permissions and
|
|
830
|
+
* limitations under the License.
|
|
635
831
|
*/
|
|
636
|
-
class
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
832
|
+
class SmartDocumentsPluginModule {
|
|
833
|
+
}
|
|
834
|
+
SmartDocumentsPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartDocumentsPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
835
|
+
SmartDocumentsPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartDocumentsPluginModule, declarations: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent], imports: [CommonModule,
|
|
836
|
+
PluginTranslatePipeModule,
|
|
837
|
+
FormModule,
|
|
838
|
+
InputModule,
|
|
839
|
+
SelectModule,
|
|
840
|
+
MultiInputModule,
|
|
841
|
+
ParagraphModule], exports: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent] });
|
|
842
|
+
SmartDocumentsPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartDocumentsPluginModule, imports: [[
|
|
843
|
+
CommonModule,
|
|
844
|
+
PluginTranslatePipeModule,
|
|
845
|
+
FormModule,
|
|
846
|
+
InputModule,
|
|
847
|
+
SelectModule,
|
|
848
|
+
MultiInputModule,
|
|
849
|
+
ParagraphModule,
|
|
850
|
+
]] });
|
|
851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SmartDocumentsPluginModule, decorators: [{
|
|
852
|
+
type: NgModule,
|
|
853
|
+
args: [{
|
|
854
|
+
declarations: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent],
|
|
855
|
+
imports: [
|
|
856
|
+
CommonModule,
|
|
857
|
+
PluginTranslatePipeModule,
|
|
858
|
+
FormModule,
|
|
859
|
+
InputModule,
|
|
860
|
+
SelectModule,
|
|
861
|
+
MultiInputModule,
|
|
862
|
+
ParagraphModule,
|
|
863
|
+
],
|
|
864
|
+
exports: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent],
|
|
865
|
+
}]
|
|
866
|
+
}] });
|
|
867
|
+
|
|
868
|
+
/*
|
|
869
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
870
|
+
*
|
|
871
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
872
|
+
* you may not use this file except in compliance with the License.
|
|
873
|
+
* You may obtain a copy of the License at
|
|
874
|
+
*
|
|
875
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
876
|
+
*
|
|
877
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
878
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
879
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
880
|
+
* See the License for the specific language governing permissions and
|
|
881
|
+
* limitations under the License.
|
|
882
|
+
*/
|
|
883
|
+
const SMART_DOCUMENTS_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAA8CAYAAACEhkNqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH5gYXBhEC9x32NwAAIoJJREFUeNrtnXec3VWZ/9/P+d47LT0hpCcTeqRoRCCIBRB3lbVjAwwtyqKy+FMWIR0ICeCqSNldWcykIMoiiIWyIEJwaRZ6Segzk4SYkDqZdsv3fH5/nO/NnblzpwVCVl/58Jowc++555zvOc95+nOusSuxuL7w22TgQuBkYDAg4CngauC/gXZm1O7SqezBOwv3DoxxELAcOJtAVAAGTAX+nUBw6Q5EuAd/B7Bd1nMglArgJ8D0Hlo2AacCdwDs4Vx/H9jVHOsQ4GO9tBkMfAVI7e7F2IO3D7uasA4G9upDuynAkN29GHvw9mFXE1aKvolb18d2e/A3gl1NWK8DzX1s17S7F2MP3j70rNcULbUhBCtuFJADVgIvAXEvyvbjwP8CH++hTQa4Fcju7sXYg7cP3XOsIlG9C/gZcCfwc+AW4HfATKCmFzfBdmAB0NDN+yK4Im4F9liEf0foXq8JBDOeQEwfKNMiC8wCfgCUJ4oi0X1nR7uAHNAILAX+A9i8h6j+72PmuDmBYsQgczYKiIE3gMyi1Qs6tS3PsYoE8TnKExUEH9U5wKRuZ1IklieA1uT3N4CvA8cBi9hDVH8zMDPM7GDgFnn9QV5/kHQNMHzWhLmd2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T52nu+ByVoVjBZfM6SDDMYFNN2r0oUME3l17aQHXKaM760RIfBg7HGJPUKzZgPGbwiM9r+/CBaTafMr7j+KlkzQeasVZZXz9ycAVvnlKS5Rva1gLjDFpTkT1nkPMiBLON0YjTMA5BNAMPSNzqnMnnYiztRiffsHEEIUv4NeDOlLO/eIh3jcJXJK6DCPe3f46u6SUdsYkQAvoBZb5lojuM+NkazLBYWCo4HPXmybvjToxdhwN/+QaRMza3exPQkpWaT9v1zzj2F8FzJMkKl8+98YXOyZPDb1oDgfmYM7wEm04Nc3snyr+qCOLq84SshQkEP1cT4YaXPxAU/ocpfDPYnvTkv3n8fzyzk0lh/r9IAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTIzVDA2OjE3OjAyLTA0OjAwD/f+UwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0yM1QwNjoxNzowMi0wNDowMH6qRu8AAAAASUVORK5CYII=';
|
|
884
|
+
|
|
885
|
+
/*
|
|
886
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
887
|
+
*
|
|
888
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
889
|
+
* you may not use this file except in compliance with the License.
|
|
890
|
+
* You may obtain a copy of the License at
|
|
891
|
+
*
|
|
892
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
893
|
+
*
|
|
894
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
895
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
896
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
897
|
+
* See the License for the specific language governing permissions and
|
|
898
|
+
* limitations under the License.
|
|
899
|
+
*/
|
|
900
|
+
|
|
901
|
+
/*
|
|
902
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
903
|
+
*
|
|
904
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
905
|
+
* you may not use this file except in compliance with the License.
|
|
906
|
+
* You may obtain a copy of the License at
|
|
907
|
+
*
|
|
908
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
909
|
+
*
|
|
910
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
911
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
912
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
913
|
+
* See the License for the specific language governing permissions and
|
|
914
|
+
* limitations under the License.
|
|
915
|
+
*/
|
|
916
|
+
const smartDocumentsPluginSpecification = {
|
|
917
|
+
pluginId: 'smartdocuments',
|
|
918
|
+
pluginConfigurationComponent: SmartDocumentsConfigurationComponent,
|
|
919
|
+
pluginLogoBase64: SMART_DOCUMENTS_PLUGIN_LOGO_BASE64,
|
|
920
|
+
functionConfigurationComponents: {
|
|
921
|
+
'generate-document': GenerateDocumentConfigurationComponent,
|
|
922
|
+
},
|
|
923
|
+
pluginTranslations: {
|
|
924
|
+
nl: {
|
|
925
|
+
title: 'SmartDocuments',
|
|
926
|
+
description: 'Automatiseer documenten met slimme templates.',
|
|
927
|
+
configurationTitle: 'Configuratienaam',
|
|
928
|
+
url: 'SmartDocuments URL',
|
|
929
|
+
username: 'Gebruikersnaam',
|
|
930
|
+
password: 'Wachtwoord',
|
|
931
|
+
'generate-document': 'Document genereren',
|
|
932
|
+
templateGroup: 'Template-groep',
|
|
933
|
+
templateName: 'Template-naam',
|
|
934
|
+
format: 'Documentformaat',
|
|
935
|
+
templateData: 'Template-data',
|
|
936
|
+
resultingDocumentProcessVariableName: 'Naam procesvariabele voor opslag document',
|
|
937
|
+
resultingDocumentProcessVariableNameTooltip: 'De locatie van het gegenereerde document wordt opgeslagen in een procesvariabele. Deze procesvariabele kan gebruikt worden om het document te verwerken in een andere BPMN-taak.',
|
|
938
|
+
generateDocumentWarning: 'Deze actie genereert een tijdelijk bestand. Het verwerken hiervan moet door een andere actie worden gedaan.',
|
|
939
|
+
},
|
|
940
|
+
en: {
|
|
941
|
+
title: 'SmartDocuments',
|
|
942
|
+
description: 'Automate documents with smart templates.',
|
|
943
|
+
configurationTitle: 'Configuration name',
|
|
944
|
+
url: 'SmartDocuments URL',
|
|
945
|
+
username: 'Username',
|
|
946
|
+
password: 'Password',
|
|
947
|
+
'generate-document': 'Generate document',
|
|
948
|
+
templateGroup: 'Template group',
|
|
949
|
+
templateName: 'Template name',
|
|
950
|
+
format: 'Document format',
|
|
951
|
+
templateData: 'Template data',
|
|
952
|
+
resultingDocumentProcessVariableName: 'Process variable name for storing document',
|
|
953
|
+
resultingDocumentProcessVariableNameTooltip: 'The location of the generated document is stored in a process variable. This process variable can be used to access the document in another BPMN task.',
|
|
954
|
+
generateDocumentWarning: 'This action generates a temporary file. It needs to be stored in a following task.',
|
|
955
|
+
},
|
|
956
|
+
de: {
|
|
957
|
+
title: 'SmartDocuments',
|
|
958
|
+
description: 'Automatisieren Sie Dokumente mit intelligenten Templates.',
|
|
959
|
+
configurationTitle: 'Konfigurationsname',
|
|
960
|
+
url: 'SmartDocuments URL',
|
|
961
|
+
username: 'Nutzername',
|
|
962
|
+
password: 'Passwort',
|
|
963
|
+
'generate-document': 'Dokument generieren',
|
|
964
|
+
templateGroup: 'Templategruppe',
|
|
965
|
+
templateName: 'Templatename',
|
|
966
|
+
format: 'Dokumentformat',
|
|
967
|
+
templateData: 'Templatedaten',
|
|
968
|
+
resultingDocumentProcessVariableName: 'Prozessvariablenname zum Speichern des Dokuments',
|
|
969
|
+
resultingDocumentProcessVariableNameTooltip: 'Der Ort des generierten Dokuments wird in einer Prozessvariablen gespeichert. Diese Prozessvariable wird verwendet, um in einer anderen BPMN-Aufgabe auf das Dokument zuzugreifen.',
|
|
970
|
+
generateDocumentWarning: 'Diese Aktion erzeugt eine temporäre Datei. Die Verarbeitung muss durch eine andere Aktion erfolgen.',
|
|
971
|
+
},
|
|
972
|
+
},
|
|
973
|
+
};
|
|
974
|
+
|
|
975
|
+
/*
|
|
976
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
977
|
+
*
|
|
978
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
979
|
+
* you may not use this file except in compliance with the License.
|
|
980
|
+
* You may obtain a copy of the License at
|
|
981
|
+
*
|
|
982
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
983
|
+
*
|
|
984
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
985
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
986
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
987
|
+
* See the License for the specific language governing permissions and
|
|
988
|
+
* limitations under the License.
|
|
989
|
+
*/
|
|
990
|
+
class DocumentenApiConfigurationComponent {
|
|
991
|
+
constructor(pluginManagementService, translateService, pluginTranslationService) {
|
|
992
|
+
this.pluginManagementService = pluginManagementService;
|
|
993
|
+
this.translateService = translateService;
|
|
994
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
995
|
+
this.valid = new EventEmitter();
|
|
996
|
+
this.configuration = new EventEmitter();
|
|
997
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
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
|
+
}))));
|
|
1006
|
+
}
|
|
1007
|
+
ngOnInit() {
|
|
1008
|
+
this.openSaveSubscription();
|
|
1009
|
+
}
|
|
662
1010
|
ngOnDestroy() {
|
|
663
1011
|
var _a;
|
|
664
|
-
(_a = this.
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
this.
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
this.
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
}
|
|
688
|
-
})
|
|
689
|
-
.subscribe();
|
|
1012
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1013
|
+
}
|
|
1014
|
+
formValueChange(formValue) {
|
|
1015
|
+
this.formValue$.next(formValue);
|
|
1016
|
+
this.handleValid(formValue);
|
|
1017
|
+
}
|
|
1018
|
+
handleValid(formValue) {
|
|
1019
|
+
const valid = !!(formValue.configurationTitle &&
|
|
1020
|
+
formValue.url &&
|
|
1021
|
+
formValue.bronorganisatie &&
|
|
1022
|
+
formValue.authenticationPluginConfiguration);
|
|
1023
|
+
this.valid$.next(valid);
|
|
1024
|
+
this.valid.emit(valid);
|
|
1025
|
+
}
|
|
1026
|
+
openSaveSubscription() {
|
|
1027
|
+
var _a;
|
|
1028
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
1029
|
+
combineLatest([this.formValue$, this.valid$])
|
|
1030
|
+
.pipe(take(1))
|
|
1031
|
+
.subscribe(([formValue, valid]) => {
|
|
1032
|
+
if (valid) {
|
|
1033
|
+
this.configuration.emit(formValue);
|
|
1034
|
+
}
|
|
1035
|
+
});
|
|
1036
|
+
});
|
|
690
1037
|
}
|
|
691
1038
|
}
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
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 } });
|
|
1041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DocumentenApiConfigurationComponent, decorators: [{
|
|
695
1042
|
type: Component,
|
|
696
|
-
args: [{ selector: 'valtimo-
|
|
697
|
-
}], propDecorators: {
|
|
698
|
-
type: Input
|
|
699
|
-
}], save$: [{
|
|
700
|
-
type: Input
|
|
701
|
-
}], disabled: [{
|
|
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$: [{
|
|
702
1045
|
type: Input
|
|
703
|
-
}],
|
|
1046
|
+
}], disabled$: [{
|
|
704
1047
|
type: Input
|
|
705
1048
|
}], pluginId: [{
|
|
706
1049
|
type: Input
|
|
1050
|
+
}], prefillConfiguration$: [{
|
|
1051
|
+
type: Input
|
|
707
1052
|
}], valid: [{
|
|
708
1053
|
type: Output
|
|
709
1054
|
}], configuration: [{
|
|
@@ -719,74 +1064,81 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
719
1064
|
*
|
|
720
1065
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
721
1066
|
*
|
|
722
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1067
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1068
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1069
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1070
|
+
* See the License for the specific language governing permissions and
|
|
1071
|
+
* limitations under the License.
|
|
723
1072
|
*/
|
|
724
|
-
class
|
|
725
|
-
constructor() {
|
|
1073
|
+
class StoreTempDocumentConfigurationComponent {
|
|
1074
|
+
constructor(translateService, pluginTranslationService) {
|
|
1075
|
+
this.translateService = translateService;
|
|
1076
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
726
1077
|
this.valid = new EventEmitter();
|
|
727
1078
|
this.configuration = new EventEmitter();
|
|
728
|
-
this.
|
|
729
|
-
this.
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
'
|
|
1079
|
+
this.LANGUAGE_ITEMS = ['nld'];
|
|
1080
|
+
this.languageSelectItems$ = this.translateService.stream('key').pipe(map$1(() => this.LANGUAGE_ITEMS.map(item => ({
|
|
1081
|
+
id: item,
|
|
1082
|
+
text: this.pluginTranslationService.instant(item, this.pluginId),
|
|
1083
|
+
}))));
|
|
1084
|
+
this.STATUS_ITEMS = [
|
|
1085
|
+
'in_bewerking',
|
|
1086
|
+
'ter_vaststelling',
|
|
1087
|
+
'definitief',
|
|
1088
|
+
'gearchiveerd',
|
|
735
1089
|
];
|
|
736
|
-
this.
|
|
737
|
-
id:
|
|
738
|
-
text:
|
|
739
|
-
}));
|
|
740
|
-
this.
|
|
1090
|
+
this.statusSelectItems$ = this.translateService.stream('key').pipe(map$1(() => this.STATUS_ITEMS.map(item => ({
|
|
1091
|
+
id: item,
|
|
1092
|
+
text: this.pluginTranslationService.instant(item, this.pluginId),
|
|
1093
|
+
}))));
|
|
1094
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
1095
|
+
this.valid$ = new BehaviorSubject(false);
|
|
741
1096
|
}
|
|
742
1097
|
ngOnInit() {
|
|
743
|
-
this.
|
|
1098
|
+
this.openSaveSubscription();
|
|
744
1099
|
}
|
|
745
1100
|
ngOnDestroy() {
|
|
746
1101
|
var _a;
|
|
747
|
-
(_a = this.
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
this.
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
this.
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
}
|
|
771
|
-
})
|
|
772
|
-
.subscribe();
|
|
1102
|
+
(_a = this.saveSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1103
|
+
}
|
|
1104
|
+
formValueChange(formValue) {
|
|
1105
|
+
this.formValue$.next(formValue);
|
|
1106
|
+
this.handleValid(formValue);
|
|
1107
|
+
}
|
|
1108
|
+
handleValid(formValue) {
|
|
1109
|
+
const valid = !!(formValue.localDocumentLocation &&
|
|
1110
|
+
formValue.taal &&
|
|
1111
|
+
formValue.status &&
|
|
1112
|
+
formValue.informatieobjecttype);
|
|
1113
|
+
this.valid$.next(valid);
|
|
1114
|
+
this.valid.emit(valid);
|
|
1115
|
+
}
|
|
1116
|
+
openSaveSubscription() {
|
|
1117
|
+
var _a;
|
|
1118
|
+
this.saveSubscription = (_a = this.save$) === null || _a === void 0 ? void 0 : _a.subscribe(save => {
|
|
1119
|
+
combineLatest([this.formValue$, this.valid$])
|
|
1120
|
+
.pipe(take(1))
|
|
1121
|
+
.subscribe(([formValue, valid]) => {
|
|
1122
|
+
if (valid) {
|
|
1123
|
+
this.configuration.emit(formValue);
|
|
1124
|
+
}
|
|
1125
|
+
});
|
|
1126
|
+
});
|
|
773
1127
|
}
|
|
774
1128
|
}
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
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 } });
|
|
1131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StoreTempDocumentConfigurationComponent, decorators: [{
|
|
778
1132
|
type: Component,
|
|
779
|
-
args: [{ selector: 'valtimo-
|
|
780
|
-
}], propDecorators: {
|
|
781
|
-
type: Input
|
|
782
|
-
}], save$: [{
|
|
783
|
-
type: Input
|
|
784
|
-
}], disabled: [{
|
|
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$: [{
|
|
785
1135
|
type: Input
|
|
786
|
-
}],
|
|
1136
|
+
}], disabled$: [{
|
|
787
1137
|
type: Input
|
|
788
1138
|
}], pluginId: [{
|
|
789
1139
|
type: Input
|
|
1140
|
+
}], prefillConfiguration$: [{
|
|
1141
|
+
type: Input
|
|
790
1142
|
}], valid: [{
|
|
791
1143
|
type: Output
|
|
792
1144
|
}], configuration: [{
|
|
@@ -808,66 +1160,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
808
1160
|
* See the License for the specific language governing permissions and
|
|
809
1161
|
* limitations under the License.
|
|
810
1162
|
*/
|
|
811
|
-
class
|
|
1163
|
+
class DocumentenApiPluginModule {
|
|
812
1164
|
}
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
SetResultaatConfigurationComponent,
|
|
818
|
-
SetStatusConfigurationComponent,
|
|
819
|
-
SelectZaakTypeComponent], imports: [CommonModule,
|
|
820
|
-
TitleModule,
|
|
821
|
-
FormModule,
|
|
822
|
-
InputModule,
|
|
823
|
-
PluginTranslatePipeModule,
|
|
824
|
-
SelectModule,
|
|
825
|
-
InputLabelModule,
|
|
826
|
-
ParagraphModule], exports: [OpenZaakConfigurationComponent,
|
|
827
|
-
CreateZaakConfigurationComponent,
|
|
828
|
-
SetBesluitConfigurationComponent,
|
|
829
|
-
SetResultaatConfigurationComponent,
|
|
830
|
-
SetStatusConfigurationComponent,
|
|
831
|
-
SelectZaakTypeComponent] });
|
|
832
|
-
OpenZaakPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakPluginModule, imports: [[
|
|
833
|
-
CommonModule,
|
|
834
|
-
TitleModule,
|
|
835
|
-
FormModule,
|
|
836
|
-
InputModule,
|
|
837
|
-
PluginTranslatePipeModule,
|
|
838
|
-
SelectModule,
|
|
839
|
-
InputLabelModule,
|
|
840
|
-
ParagraphModule,
|
|
841
|
-
]] });
|
|
842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakPluginModule, decorators: [{
|
|
1165
|
+
DocumentenApiPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DocumentenApiPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1166
|
+
DocumentenApiPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DocumentenApiPluginModule, declarations: [DocumentenApiConfigurationComponent, StoreTempDocumentConfigurationComponent], imports: [CommonModule, PluginTranslatePipeModule, FormModule, InputModule, SelectModule], exports: [DocumentenApiConfigurationComponent, StoreTempDocumentConfigurationComponent] });
|
|
1167
|
+
DocumentenApiPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DocumentenApiPluginModule, imports: [[CommonModule, PluginTranslatePipeModule, FormModule, InputModule, SelectModule]] });
|
|
1168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DocumentenApiPluginModule, decorators: [{
|
|
843
1169
|
type: NgModule,
|
|
844
1170
|
args: [{
|
|
845
|
-
declarations: [
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
SetBesluitConfigurationComponent,
|
|
849
|
-
SetResultaatConfigurationComponent,
|
|
850
|
-
SetStatusConfigurationComponent,
|
|
851
|
-
SelectZaakTypeComponent,
|
|
852
|
-
],
|
|
853
|
-
imports: [
|
|
854
|
-
CommonModule,
|
|
855
|
-
TitleModule,
|
|
856
|
-
FormModule,
|
|
857
|
-
InputModule,
|
|
858
|
-
PluginTranslatePipeModule,
|
|
859
|
-
SelectModule,
|
|
860
|
-
InputLabelModule,
|
|
861
|
-
ParagraphModule,
|
|
862
|
-
],
|
|
863
|
-
exports: [
|
|
864
|
-
OpenZaakConfigurationComponent,
|
|
865
|
-
CreateZaakConfigurationComponent,
|
|
866
|
-
SetBesluitConfigurationComponent,
|
|
867
|
-
SetResultaatConfigurationComponent,
|
|
868
|
-
SetStatusConfigurationComponent,
|
|
869
|
-
SelectZaakTypeComponent,
|
|
870
|
-
],
|
|
1171
|
+
declarations: [DocumentenApiConfigurationComponent, StoreTempDocumentConfigurationComponent],
|
|
1172
|
+
imports: [CommonModule, PluginTranslatePipeModule, FormModule, InputModule, SelectModule],
|
|
1173
|
+
exports: [DocumentenApiConfigurationComponent, StoreTempDocumentConfigurationComponent],
|
|
871
1174
|
}]
|
|
872
1175
|
}] });
|
|
873
1176
|
|
|
@@ -880,9 +1183,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
880
1183
|
*
|
|
881
1184
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
882
1185
|
*
|
|
883
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1186
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1187
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1188
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1189
|
+
* See the License for the specific language governing permissions and
|
|
1190
|
+
* limitations under the License.
|
|
884
1191
|
*/
|
|
885
|
-
const
|
|
1192
|
+
const DOCUMENTEN_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+kXDkO6ncnFw3u7TtBDx9HPTEJO7aDfoCyJ9QeQfRP4PuRZ2O5FzNNDoU4SmDoG83C6AqNEQmo05RINUiwxEvD3UmgH8cyEkIp6Jk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VZEN2Zc55HlfxF5CO14hIpj0tuk1U3m/5OakDpMbDsDhxLULwGZgi3zHxj9I/7QMw6eV/7ZfGd+CPos6jQi/irKC9/OtIHMB7M/qkJdZBSuOxbXG0kXQ3HcHNQL0iv4qLudzvHrmS+93U9oXRZFk2cNnNNp4jgd+N4B/Kx9SOdOhg/bTmnA43fS4P8A/zvlqbh/D8sAAAAASUVORK5CYII=';
|
|
886
1193
|
|
|
887
1194
|
/*
|
|
888
1195
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -893,7 +1200,11 @@ const OPEN_ZAAK_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhE
|
|
|
893
1200
|
*
|
|
894
1201
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
895
1202
|
*
|
|
896
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1203
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1204
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1205
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1206
|
+
* See the License for the specific language governing permissions and
|
|
1207
|
+
* limitations under the License.
|
|
897
1208
|
*/
|
|
898
1209
|
|
|
899
1210
|
/*
|
|
@@ -905,84 +1216,88 @@ const OPEN_ZAAK_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhE
|
|
|
905
1216
|
*
|
|
906
1217
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
907
1218
|
*
|
|
908
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1219
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1220
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1221
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1222
|
+
* See the License for the specific language governing permissions and
|
|
1223
|
+
* limitations under the License.
|
|
909
1224
|
*/
|
|
910
|
-
const
|
|
911
|
-
pluginId: '
|
|
912
|
-
pluginConfigurationComponent:
|
|
913
|
-
pluginLogoBase64:
|
|
1225
|
+
const documentenApiPluginSpecification = {
|
|
1226
|
+
pluginId: 'documentenapi',
|
|
1227
|
+
pluginConfigurationComponent: DocumentenApiConfigurationComponent,
|
|
1228
|
+
pluginLogoBase64: DOCUMENTEN_API_PLUGIN_LOGO_BASE64,
|
|
914
1229
|
functionConfigurationComponents: {
|
|
915
|
-
'
|
|
916
|
-
'set-status': SetStatusConfigurationComponent,
|
|
917
|
-
'set-resultaat': SetResultaatConfigurationComponent,
|
|
918
|
-
'set-besluit': SetBesluitConfigurationComponent,
|
|
1230
|
+
'store-temp-document': StoreTempDocumentConfigurationComponent,
|
|
919
1231
|
},
|
|
920
1232
|
pluginTranslations: {
|
|
921
1233
|
nl: {
|
|
922
|
-
title: '
|
|
923
|
-
description: '
|
|
924
|
-
'
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
1234
|
+
title: 'Documenten API',
|
|
1235
|
+
description: 'API voor opslag en ontsluiting van documenten en daarbij behorende metadata.',
|
|
1236
|
+
'store-temp-document': 'Document opslaan',
|
|
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',
|
|
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',
|
|
1242
|
+
localDocumentLocation: 'Naam procesvariabele met document',
|
|
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.',
|
|
1245
|
+
taal: 'Taal',
|
|
1246
|
+
status: 'Status',
|
|
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}',
|
|
1249
|
+
nld: 'Nederlands',
|
|
1250
|
+
in_bewerking: 'In bewerking',
|
|
1251
|
+
ter_vaststelling: 'Ter vaststelling',
|
|
1252
|
+
definitief: 'Definitief',
|
|
1253
|
+
gearchiveerd: 'Gearchiveerd',
|
|
1254
|
+
authenticationPluginConfiguration: 'Configuratie authenticatie-plug-in',
|
|
942
1255
|
},
|
|
943
1256
|
en: {
|
|
944
|
-
title: '
|
|
945
|
-
description: '
|
|
946
|
-
'
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
1257
|
+
title: 'Documenten API',
|
|
1258
|
+
description: 'API for storing and accessing documents and associated metadata.',
|
|
1259
|
+
'store-temp-document': 'Save document',
|
|
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',
|
|
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',
|
|
1265
|
+
localDocumentLocation: 'Name of process variable with document',
|
|
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.',
|
|
1268
|
+
taal: 'Language',
|
|
1269
|
+
status: 'Status',
|
|
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}',
|
|
1272
|
+
nld: 'Dutch',
|
|
1273
|
+
in_bewerking: 'Editing',
|
|
1274
|
+
ter_vaststelling: 'To be confirmed',
|
|
1275
|
+
definitief: 'Final',
|
|
1276
|
+
gearchiveerd: 'Archived',
|
|
1277
|
+
authenticationPluginConfiguration: 'Authentication plugin configuration',
|
|
964
1278
|
},
|
|
965
1279
|
de: {
|
|
966
|
-
title: '
|
|
967
|
-
description: '
|
|
968
|
-
'
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
1280
|
+
title: 'Documenten API',
|
|
1281
|
+
description: 'API zum Speichern und Zugreifen auf Dokumente und zugehörige Metadaten.',
|
|
1282
|
+
'store-temp-document': 'Dokument speichern',
|
|
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',
|
|
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',
|
|
1288
|
+
localDocumentLocation: 'Name Prozessvariable mit Dokument',
|
|
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.',
|
|
1291
|
+
taal: 'Sprache',
|
|
1292
|
+
status: 'Status',
|
|
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}',
|
|
1295
|
+
nld: 'Niederländisch',
|
|
1296
|
+
in_bewerking: 'In Bearbeitung',
|
|
1297
|
+
ter_vaststelling: 'Zu bestimmen',
|
|
1298
|
+
definitief: 'Endgültig',
|
|
1299
|
+
gearchiveerd: 'Archiviert',
|
|
1300
|
+
authenticationPluginConfiguration: 'Authentifizierungs-Plugin-Konfiguration',
|
|
986
1301
|
},
|
|
987
1302
|
},
|
|
988
1303
|
};
|
|
@@ -996,37 +1311,73 @@ const openZaakPluginSpecification = {
|
|
|
996
1311
|
*
|
|
997
1312
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
998
1313
|
*
|
|
999
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
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.
|
|
1000
1319
|
*/
|
|
1001
|
-
class
|
|
1002
|
-
constructor() {
|
|
1320
|
+
class ZakenApiConfigurationComponent {
|
|
1321
|
+
constructor(pluginManagementService, translateService, pluginTranslationService) {
|
|
1322
|
+
this.pluginManagementService = pluginManagementService;
|
|
1323
|
+
this.translateService = translateService;
|
|
1324
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
1003
1325
|
this.valid = new EventEmitter();
|
|
1004
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();
|
|
1005
1343
|
}
|
|
1006
1344
|
formValueChange(formValue) {
|
|
1007
|
-
this.
|
|
1345
|
+
this.formValue$.next(formValue);
|
|
1008
1346
|
this.handleValid(formValue);
|
|
1009
1347
|
}
|
|
1010
1348
|
handleValid(formValue) {
|
|
1011
|
-
const valid = formValue.
|
|
1012
|
-
|
|
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
|
+
});
|
|
1013
1366
|
}
|
|
1014
1367
|
}
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
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: [{
|
|
1018
1371
|
type: Component,
|
|
1019
|
-
args: [{ selector: 'valtimo-
|
|
1020
|
-
}], propDecorators: {
|
|
1021
|
-
type: Input
|
|
1022
|
-
}], save$: [{
|
|
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$: [{
|
|
1023
1374
|
type: Input
|
|
1024
|
-
}], disabled
|
|
1025
|
-
type: Input
|
|
1026
|
-
}], error: [{
|
|
1375
|
+
}], disabled$: [{
|
|
1027
1376
|
type: Input
|
|
1028
1377
|
}], pluginId: [{
|
|
1029
1378
|
type: Input
|
|
1379
|
+
}], prefillConfiguration$: [{
|
|
1380
|
+
type: Input
|
|
1030
1381
|
}], valid: [{
|
|
1031
1382
|
type: Output
|
|
1032
1383
|
}], configuration: [{
|
|
@@ -1042,45 +1393,71 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
1042
1393
|
*
|
|
1043
1394
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1044
1395
|
*
|
|
1045
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
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.
|
|
1046
1401
|
*/
|
|
1047
|
-
class
|
|
1048
|
-
constructor() {
|
|
1402
|
+
class LinkDocumentToZaakConfigurationComponent {
|
|
1403
|
+
constructor(pluginManagementService, translateService, pluginTranslationService) {
|
|
1404
|
+
this.pluginManagementService = pluginManagementService;
|
|
1405
|
+
this.translateService = translateService;
|
|
1406
|
+
this.pluginTranslationService = pluginTranslationService;
|
|
1049
1407
|
this.valid = new EventEmitter();
|
|
1050
1408
|
this.configuration = new EventEmitter();
|
|
1051
|
-
this.
|
|
1052
|
-
this.
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
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();
|
|
1056
1425
|
}
|
|
1057
1426
|
formValueChange(formValue) {
|
|
1058
|
-
this.
|
|
1427
|
+
this.formValue$.next(formValue);
|
|
1059
1428
|
this.handleValid(formValue);
|
|
1060
1429
|
}
|
|
1061
1430
|
handleValid(formValue) {
|
|
1062
|
-
const valid = formValue.
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
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
|
+
});
|
|
1067
1446
|
}
|
|
1068
1447
|
}
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
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: [{
|
|
1072
1451
|
type: Component,
|
|
1073
|
-
args: [{ selector: 'valtimo-
|
|
1074
|
-
}], propDecorators: {
|
|
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$: [{
|
|
1075
1454
|
type: Input
|
|
1076
|
-
}],
|
|
1077
|
-
type: Input
|
|
1078
|
-
}], disabled: [{
|
|
1079
|
-
type: Input
|
|
1080
|
-
}], error: [{
|
|
1455
|
+
}], disabled$: [{
|
|
1081
1456
|
type: Input
|
|
1082
1457
|
}], pluginId: [{
|
|
1083
1458
|
type: Input
|
|
1459
|
+
}], prefillConfiguration$: [{
|
|
1460
|
+
type: Input
|
|
1084
1461
|
}], valid: [{
|
|
1085
1462
|
type: Output
|
|
1086
1463
|
}], configuration: [{
|
|
@@ -1102,36 +1479,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
1102
1479
|
* See the License for the specific language governing permissions and
|
|
1103
1480
|
* limitations under the License.
|
|
1104
1481
|
*/
|
|
1105
|
-
class
|
|
1482
|
+
class ZakenApiPluginModule {
|
|
1106
1483
|
}
|
|
1107
|
-
|
|
1108
|
-
|
|
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,
|
|
1109
1486
|
PluginTranslatePipeModule,
|
|
1110
1487
|
FormModule,
|
|
1111
1488
|
InputModule,
|
|
1112
1489
|
SelectModule,
|
|
1113
|
-
|
|
1114
|
-
|
|
1490
|
+
ParagraphModule], exports: [ZakenApiConfigurationComponent, LinkDocumentToZaakConfigurationComponent] });
|
|
1491
|
+
ZakenApiPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiPluginModule, imports: [[
|
|
1115
1492
|
CommonModule,
|
|
1116
1493
|
PluginTranslatePipeModule,
|
|
1117
1494
|
FormModule,
|
|
1118
1495
|
InputModule,
|
|
1119
1496
|
SelectModule,
|
|
1120
|
-
|
|
1497
|
+
ParagraphModule,
|
|
1121
1498
|
]] });
|
|
1122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
1499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ZakenApiPluginModule, decorators: [{
|
|
1123
1500
|
type: NgModule,
|
|
1124
1501
|
args: [{
|
|
1125
|
-
declarations: [
|
|
1502
|
+
declarations: [ZakenApiConfigurationComponent, LinkDocumentToZaakConfigurationComponent],
|
|
1126
1503
|
imports: [
|
|
1127
1504
|
CommonModule,
|
|
1128
1505
|
PluginTranslatePipeModule,
|
|
1129
1506
|
FormModule,
|
|
1130
1507
|
InputModule,
|
|
1131
1508
|
SelectModule,
|
|
1132
|
-
|
|
1509
|
+
ParagraphModule,
|
|
1133
1510
|
],
|
|
1134
|
-
exports: [
|
|
1511
|
+
exports: [ZakenApiConfigurationComponent, LinkDocumentToZaakConfigurationComponent],
|
|
1135
1512
|
}]
|
|
1136
1513
|
}] });
|
|
1137
1514
|
|
|
@@ -1144,9 +1521,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
|
|
|
1144
1521
|
*
|
|
1145
1522
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1146
1523
|
*
|
|
1147
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
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.
|
|
1148
1529
|
*/
|
|
1149
|
-
const SMART_DOCUMENTS_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAA8CAYAAACEhkNqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH5gYXBhEC9x32NwAAIoJJREFUeNrtnXec3VWZ/9/P+d47LT0hpCcTeqRoRCCIBRB3lbVjAwwtyqKy+FMWIR0ICeCqSNldWcykIMoiiIWyIEJwaRZ6Segzk4SYkDqZdsv3fH5/nO/NnblzpwVCVl/58Jowc++555zvOc95+nOusSuxuL7w22TgQuBkYDAg4CngauC/gXZm1O7SqezBOwv3DoxxELAcOJtAVAAGTAX+nUBw6Q5EuAd/B7Bd1nMglArgJ8D0Hlo2AacCdwDs4Vx/H9jVHOsQ4GO9tBkMfAVI7e7F2IO3D7uasA4G9upDuynAkN29GHvw9mFXE1aKvolb18d2e/A3gl1NWK8DzX1s17S7F2MP3j70rNcULbUhBCtuFJADVgIvAXEvyvbjwP8CH++hTQa4Fcju7sXYg7cP3XOsIlG9C/gZcCfwc+AW4HfATKCmFzfBdmAB0NDN+yK4Im4F9liEf0foXq8JBDOeQEwfKNMiC8wCf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BK/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=';
|
|
1150
1531
|
|
|
1151
1532
|
/*
|
|
1152
1533
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
@@ -1157,7 +1538,11 @@ const SMART_DOCUMENTS_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAA
|
|
|
1157
1538
|
*
|
|
1158
1539
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1159
1540
|
*
|
|
1160
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
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.
|
|
1161
1546
|
*/
|
|
1162
1547
|
|
|
1163
1548
|
/*
|
|
@@ -1169,54 +1554,71 @@ const SMART_DOCUMENTS_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAA
|
|
|
1169
1554
|
*
|
|
1170
1555
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1171
1556
|
*
|
|
1172
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
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.
|
|
1173
1562
|
*/
|
|
1174
|
-
const
|
|
1175
|
-
pluginId: '
|
|
1176
|
-
|
|
1177
|
-
|
|
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,
|
|
1178
1570
|
functionConfigurationComponents: {
|
|
1179
|
-
'
|
|
1571
|
+
'link-document-to-zaak': LinkDocumentToZaakConfigurationComponent,
|
|
1180
1572
|
},
|
|
1181
1573
|
pluginTranslations: {
|
|
1182
1574
|
nl: {
|
|
1183
|
-
title: '
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
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',
|
|
1194
1590
|
},
|
|
1195
1591
|
en: {
|
|
1196
|
-
title: '
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
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',
|
|
1207
1606
|
},
|
|
1208
1607
|
de: {
|
|
1209
|
-
title: '
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
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',
|
|
1220
1622
|
},
|
|
1221
1623
|
},
|
|
1222
1624
|
};
|
|
@@ -1230,12 +1632,16 @@ const smartDocumentsPluginSpecification = {
|
|
|
1230
1632
|
*
|
|
1231
1633
|
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
1232
1634
|
*
|
|
1233
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1635
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1636
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
1637
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1638
|
+
* See the License for the specific language governing permissions and
|
|
1639
|
+
* limitations under the License.
|
|
1234
1640
|
*/
|
|
1235
1641
|
|
|
1236
1642
|
/**
|
|
1237
1643
|
* Generated bundle index. Do not edit.
|
|
1238
1644
|
*/
|
|
1239
1645
|
|
|
1240
|
-
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 };
|
|
1241
1647
|
//# sourceMappingURL=valtimo-plugin.mjs.map
|