@valtimo/plugin 5.5.0 → 5.8.0

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