@valtimo/plugin 5.2.0 → 5.3.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 (70) hide show
  1. package/esm2020/lib/components/plugin-configuration-container/plugin-configuration-container.component.mjs +132 -0
  2. package/esm2020/lib/components/plugin-configuration-container/plugin-configuration-container.module.mjs +35 -0
  3. package/esm2020/lib/models/plugin.mjs +1 -1
  4. package/esm2020/lib/plugins/open-zaak/components/create-zaak-configuration/create-zaak-configuration.component.mjs +30 -4
  5. package/esm2020/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.mjs +20 -3
  6. package/esm2020/lib/plugins/open-zaak/components/select-zaak-type/select-zaak-type.component.mjs +61 -0
  7. package/esm2020/lib/plugins/open-zaak/components/set-besluit-configuration/set-besluit-configuration.component.mjs +50 -4
  8. package/esm2020/lib/plugins/open-zaak/components/set-resultaat-configuration/set-resultaat-configuration.component.mjs +60 -4
  9. package/esm2020/lib/plugins/open-zaak/components/set-status-configuration/set-status-configuration.component.mjs +55 -4
  10. package/esm2020/lib/plugins/open-zaak/models/config.mjs +13 -0
  11. package/esm2020/lib/plugins/open-zaak/models/index.mjs +13 -0
  12. package/esm2020/lib/plugins/open-zaak/open-zaak-plugin.module.mjs +37 -6
  13. package/esm2020/lib/plugins/open-zaak/open-zaak-plugin.specification.mjs +43 -1
  14. package/esm2020/lib/plugins/smart-documents/assets/index.mjs +13 -0
  15. package/esm2020/lib/plugins/smart-documents/assets/smart-documents-plugin-logo.mjs +14 -0
  16. package/esm2020/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.mjs +59 -0
  17. package/esm2020/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.mjs +51 -0
  18. package/esm2020/lib/plugins/smart-documents/models/config.mjs +13 -0
  19. package/esm2020/lib/plugins/smart-documents/models/index.mjs +13 -0
  20. package/esm2020/lib/plugins/smart-documents/smart-documents-plugin.module.mjs +55 -0
  21. package/esm2020/lib/plugins/smart-documents/smart-documents-plugin.specification.mjs +65 -0
  22. package/esm2020/public-api.mjs +10 -1
  23. package/fesm2015/valtimo-plugin.mjs +716 -20
  24. package/fesm2015/valtimo-plugin.mjs.map +1 -1
  25. package/fesm2020/valtimo-plugin.mjs +709 -20
  26. package/fesm2020/valtimo-plugin.mjs.map +1 -1
  27. package/lib/components/plugin-configuration-container/plugin-configuration-container.component.d.ts +35 -0
  28. package/lib/components/plugin-configuration-container/plugin-configuration-container.component.d.ts.map +1 -0
  29. package/lib/components/plugin-configuration-container/plugin-configuration-container.module.d.ts +11 -0
  30. package/lib/components/plugin-configuration-container/plugin-configuration-container.module.d.ts.map +1 -0
  31. package/lib/models/plugin.d.ts +8 -2
  32. package/lib/models/plugin.d.ts.map +1 -1
  33. package/lib/plugins/open-zaak/components/create-zaak-configuration/create-zaak-configuration.component.d.ts +14 -6
  34. package/lib/plugins/open-zaak/components/create-zaak-configuration/create-zaak-configuration.component.d.ts.map +1 -1
  35. package/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.d.ts +6 -2
  36. package/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.d.ts.map +1 -1
  37. package/lib/plugins/open-zaak/components/select-zaak-type/select-zaak-type.component.d.ts +23 -0
  38. package/lib/plugins/open-zaak/components/select-zaak-type/select-zaak-type.component.d.ts.map +1 -0
  39. package/lib/plugins/open-zaak/components/set-besluit-configuration/set-besluit-configuration.component.d.ts +21 -6
  40. package/lib/plugins/open-zaak/components/set-besluit-configuration/set-besluit-configuration.component.d.ts.map +1 -1
  41. package/lib/plugins/open-zaak/components/set-resultaat-configuration/set-resultaat-configuration.component.d.ts +21 -6
  42. package/lib/plugins/open-zaak/components/set-resultaat-configuration/set-resultaat-configuration.component.d.ts.map +1 -1
  43. package/lib/plugins/open-zaak/components/set-status-configuration/set-status-configuration.component.d.ts +21 -6
  44. package/lib/plugins/open-zaak/components/set-status-configuration/set-status-configuration.component.d.ts.map +1 -1
  45. package/lib/plugins/open-zaak/models/config.d.ts +11 -0
  46. package/lib/plugins/open-zaak/models/config.d.ts.map +1 -0
  47. package/lib/plugins/open-zaak/models/index.d.ts +2 -0
  48. package/lib/plugins/open-zaak/models/index.d.ts.map +1 -0
  49. package/lib/plugins/open-zaak/open-zaak-plugin.module.d.ts +5 -3
  50. package/lib/plugins/open-zaak/open-zaak-plugin.module.d.ts.map +1 -1
  51. package/lib/plugins/open-zaak/open-zaak-plugin.specification.d.ts.map +1 -1
  52. package/lib/plugins/smart-documents/assets/index.d.ts +2 -0
  53. package/lib/plugins/smart-documents/assets/index.d.ts.map +1 -0
  54. package/lib/plugins/smart-documents/assets/smart-documents-plugin-logo.d.ts +3 -0
  55. package/lib/plugins/smart-documents/assets/smart-documents-plugin-logo.d.ts.map +1 -0
  56. package/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.d.ts +24 -0
  57. package/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.d.ts.map +1 -0
  58. package/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.d.ts +19 -0
  59. package/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.d.ts.map +1 -0
  60. package/lib/plugins/smart-documents/models/config.d.ts +18 -0
  61. package/lib/plugins/smart-documents/models/config.d.ts.map +1 -0
  62. package/lib/plugins/smart-documents/models/index.d.ts +2 -0
  63. package/lib/plugins/smart-documents/models/index.d.ts.map +1 -0
  64. package/lib/plugins/smart-documents/smart-documents-plugin.module.d.ts +12 -0
  65. package/lib/plugins/smart-documents/smart-documents-plugin.module.d.ts.map +1 -0
  66. package/lib/plugins/smart-documents/smart-documents-plugin.specification.d.ts +4 -0
  67. package/lib/plugins/smart-documents/smart-documents-plugin.specification.d.ts.map +1 -0
  68. package/package.json +1 -1
  69. package/public-api.d.ts +7 -0
  70. package/public-api.d.ts.map +1 -1
@@ -1,12 +1,14 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Injectable, Inject, Pipe, NgModule, EventEmitter, Component, Input, Output } from '@angular/core';
3
- import { BehaviorSubject, combineLatest } from 'rxjs';
4
- import { map } from 'rxjs/operators';
2
+ import { InjectionToken, Injectable, Inject, Pipe, NgModule, EventEmitter, ViewContainerRef, Component, ViewChild, Input, Output } from '@angular/core';
3
+ import { BehaviorSubject, combineLatest, of, Subject } from 'rxjs';
4
+ import { map, tap, switchMap } from 'rxjs/operators';
5
5
  import * as i1 from '@ngx-translate/core';
6
6
  import { TranslateModule } from '@ngx-translate/core';
7
+ import * as i2 from '@valtimo/user-interface';
8
+ import { ParagraphModule, TitleModule, FormModule, InputModule, SelectModule, InputLabelModule, MultiInputModule } from '@valtimo/user-interface';
9
+ import * as i3 from '@angular/common';
7
10
  import { CommonModule } from '@angular/common';
8
- import * as i1$1 from '@valtimo/user-interface';
9
- import { TitleModule } from '@valtimo/user-interface';
11
+ import * as i1$1 from '@valtimo/resource';
10
12
 
11
13
  /*
12
14
  * Copyright 2015-2020 Ritense BV, the Netherlands.
@@ -222,6 +224,162 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
222
224
  * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
223
225
  */
224
226
 
227
+ /*
228
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
229
+ *
230
+ * Licensed under EUPL, Version 1.2 (the "License");
231
+ * you may not use this file except in compliance with the License.
232
+ * You may obtain a copy of the License at
233
+ *
234
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
235
+ *
236
+ * Unless required by applicable law or agreed to in writing, software
237
+ * distributed under the License is distributed on an "AS IS" basis,
238
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
239
+ * See the License for the specific language governing permissions and
240
+ * limitations under the License.
241
+ */
242
+ class PluginConfigurationContainerComponent {
243
+ constructor(pluginService) {
244
+ this.pluginService = pluginService;
245
+ this.valid = new EventEmitter();
246
+ this.configuration = new EventEmitter();
247
+ this.noConfigurationComponentAvailable$ = new BehaviorSubject(false);
248
+ this.componentRef$ = new BehaviorSubject(undefined);
249
+ this._componentType = new BehaviorSubject(null);
250
+ this._pluginDefinitionKey = new BehaviorSubject('');
251
+ this._functionKey = new BehaviorSubject('');
252
+ }
253
+ set type(type) {
254
+ this._componentType.next(type);
255
+ }
256
+ set pluginDefinitionKey(key) {
257
+ this._pluginDefinitionKey.next(key);
258
+ }
259
+ set functionKey(key) {
260
+ this._functionKey.next(key);
261
+ }
262
+ ngOnInit() {
263
+ this.openPluginSubscription();
264
+ this.openComponentInstanceSubscription();
265
+ }
266
+ ngOnDestroy() {
267
+ var _a, _b;
268
+ (_a = this.pluginSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
269
+ (_b = this.componentRefSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
270
+ }
271
+ openPluginSubscription() {
272
+ this.pluginSubscription = combineLatest([
273
+ this._pluginDefinitionKey,
274
+ this._functionKey,
275
+ this._componentType,
276
+ this.pluginService.pluginSpecifications$,
277
+ ])
278
+ .pipe(tap(([pluginDefinitionKey, functionKey, componentType, pluginSpecifications]) => {
279
+ var _a;
280
+ let configurationComponent;
281
+ this.dynamicContainer.clear();
282
+ if (componentType === 'configuration' && pluginDefinitionKey) {
283
+ configurationComponent = (_a = pluginSpecifications.find(specification => specification.pluginId === pluginDefinitionKey)) === null || _a === void 0 ? void 0 : _a.pluginConfigurationComponent;
284
+ }
285
+ else if (componentType === 'function' && pluginDefinitionKey && functionKey) {
286
+ const pluginSpecification = pluginSpecifications.find(specification => specification.pluginId === pluginDefinitionKey);
287
+ configurationComponent =
288
+ pluginSpecification === null || pluginSpecification === void 0 ? void 0 : pluginSpecification.functionConfigurationComponents[functionKey];
289
+ }
290
+ if (configurationComponent) {
291
+ const componentRef = this.dynamicContainer.createComponent(configurationComponent);
292
+ this.componentRef$.next(componentRef);
293
+ this.noConfigurationComponentAvailable$.next(false);
294
+ }
295
+ else {
296
+ this.noConfigurationComponentAvailable$.next(true);
297
+ }
298
+ }))
299
+ .subscribe();
300
+ }
301
+ openComponentInstanceSubscription() {
302
+ this.componentRefSubscription = combineLatest([
303
+ this.componentRef$,
304
+ this._pluginDefinitionKey,
305
+ ]).subscribe(([ref, pluginDefinitionKey]) => {
306
+ var _a, _b;
307
+ const instance = ref === null || ref === void 0 ? void 0 : ref.instance;
308
+ (_a = this.configurationSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
309
+ (_b = this.validSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
310
+ if (instance) {
311
+ instance.save$ = this.save$;
312
+ instance.clear$ = this.clear$;
313
+ instance.error = this.error;
314
+ instance.disabled = this.disabled;
315
+ instance.pluginId = pluginDefinitionKey;
316
+ this.validSubscription = instance.valid.subscribe(valid => {
317
+ this.valid.emit(valid);
318
+ });
319
+ this.configurationSubscription = instance.configuration.subscribe(configuration => {
320
+ this.configuration.emit(configuration);
321
+ });
322
+ }
323
+ });
324
+ }
325
+ }
326
+ PluginConfigurationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerComponent, deps: [{ token: PluginService }], target: i0.ɵɵFactoryTarget.Component });
327
+ PluginConfigurationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: PluginConfigurationContainerComponent, selector: "valtimo-plugin-configuration-container", inputs: { type: "type", pluginDefinitionKey: "pluginDefinitionKey", functionKey: "functionKey", clear$: "clear$", save$: "save$", disabled: "disabled", error: "error" }, 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: i2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe, "translate": i1.TranslatePipe } });
328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerComponent, decorators: [{
329
+ type: Component,
330
+ args: [{ selector: 'valtimo-plugin-configuration-container', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-template #pluginConfigurationComponent></ng-template>\n<ng-container *ngIf=\"noConfigurationComponentAvailable$ | async\">\n <v-paragraph [center]=\"true\">{{ 'plugin.noConfigurationComponent' | translate }}</v-paragraph>\n</ng-container>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
331
+ }], ctorParameters: function () { return [{ type: PluginService }]; }, propDecorators: { dynamicContainer: [{
332
+ type: ViewChild,
333
+ args: ['pluginConfigurationComponent', { static: true, read: ViewContainerRef }]
334
+ }], type: [{
335
+ type: Input
336
+ }], pluginDefinitionKey: [{
337
+ type: Input
338
+ }], functionKey: [{
339
+ type: Input
340
+ }], clear$: [{
341
+ type: Input
342
+ }], save$: [{
343
+ type: Input
344
+ }], disabled: [{
345
+ type: Input
346
+ }], error: [{
347
+ type: Input
348
+ }], valid: [{
349
+ type: Output
350
+ }], configuration: [{
351
+ type: Output
352
+ }] } });
353
+
354
+ /*
355
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
356
+ *
357
+ * Licensed under EUPL, Version 1.2 (the "License");
358
+ * you may not use this file except in compliance with the License.
359
+ * You may obtain a copy of the License at
360
+ *
361
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
362
+ *
363
+ * Unless required by applicable law or agreed to in writing, software
364
+ * distributed under the License is distributed on an "AS IS" basis,
365
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
366
+ * See the License for the specific language governing permissions and
367
+ * limitations under the License.
368
+ */
369
+ class PluginConfigurationContainerModule {
370
+ }
371
+ PluginConfigurationContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
372
+ PluginConfigurationContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerModule, declarations: [PluginConfigurationContainerComponent], imports: [CommonModule, ParagraphModule, TranslateModule], exports: [PluginConfigurationContainerComponent] });
373
+ PluginConfigurationContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerModule, imports: [[CommonModule, ParagraphModule, TranslateModule]] });
374
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerModule, decorators: [{
375
+ type: NgModule,
376
+ args: [{
377
+ declarations: [PluginConfigurationContainerComponent],
378
+ imports: [CommonModule, ParagraphModule, TranslateModule],
379
+ exports: [PluginConfigurationContainerComponent],
380
+ }]
381
+ }] });
382
+
225
383
  /*
226
384
  * Copyright 2015-2020 Ritense BV, the Netherlands.
227
385
  *
@@ -238,12 +396,25 @@ class OpenZaakConfigurationComponent {
238
396
  this.valid = new EventEmitter();
239
397
  this.configuration = new EventEmitter();
240
398
  }
399
+ formValueChange(formValue) {
400
+ this.configuration.emit(formValue);
401
+ this.handleValid(formValue);
402
+ }
403
+ handleValid(formValue) {
404
+ const valid = formValue.name &&
405
+ formValue.url &&
406
+ formValue.catalogusUrl &&
407
+ formValue.rsin &&
408
+ formValue.secret &&
409
+ formValue.clientId;
410
+ this.valid.emit(!!valid);
411
+ }
241
412
  }
242
413
  OpenZaakConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
243
- OpenZaakConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: OpenZaakConfigurationComponent, selector: "valtimo-open-zaak-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error" }, 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-title>open zaak config works</v-title>\n", styles: [""], components: [{ type: i1$1.TitleComponent, selector: "v-title", inputs: ["type", "margin"] }] });
414
+ OpenZaakConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: OpenZaakConfigurationComponent, selector: "valtimo-open-zaak-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error", 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)\">\n <v-input\n name=\"name\"\n [title]=\"'name' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"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]=\"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]=\"disabled\"\n >\n </v-input>\n <v-input\n name=\"secret\"\n [title]=\"'secret' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"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]=\"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]=\"disabled\"\n >\n </v-input>\n</v-form>\n", styles: [""], components: [{ type: i2.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength"], outputs: ["valueChange"] }], pipes: { "async": i3.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
244
415
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakConfigurationComponent, decorators: [{
245
416
  type: Component,
246
- 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-title>open zaak config works</v-title>\n", styles: [""] }]
417
+ args: [{ selector: 'valtimo-open-zaak-configuration', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form (valueChange)=\"formValueChange($event)\">\n <v-input\n name=\"name\"\n [title]=\"'name' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"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]=\"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]=\"disabled\"\n >\n </v-input>\n <v-input\n name=\"secret\"\n [title]=\"'secret' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"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]=\"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]=\"disabled\"\n >\n </v-input>\n</v-form>\n", styles: [""] }]
247
418
  }], propDecorators: { clear$: [{
248
419
  type: Input
249
420
  }], save$: [{
@@ -252,12 +423,66 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
252
423
  type: Input
253
424
  }], error: [{
254
425
  type: Input
426
+ }], pluginId: [{
427
+ type: Input
255
428
  }], valid: [{
256
429
  type: Output
257
430
  }], configuration: [{
258
431
  type: Output
259
432
  }] } });
260
433
 
434
+ /*
435
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
436
+ *
437
+ * Licensed under EUPL, Version 1.2 (the "License");
438
+ * you may not use this file except in compliance with the License.
439
+ * You may obtain a copy of the License at
440
+ *
441
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
442
+ *
443
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
444
+ */
445
+ class SelectZaakTypeComponent {
446
+ constructor(openZaakService, modalService, pluginTranslationService) {
447
+ this.openZaakService = openZaakService;
448
+ this.modalService = modalService;
449
+ this.pluginTranslationService = pluginTranslationService;
450
+ this.zaakTypeSelected = new EventEmitter();
451
+ this.zaakTypeLinks$ = this.modalService.modalData$.pipe(switchMap(modalData => {
452
+ if (modalData === null || modalData === void 0 ? void 0 : modalData.processDefinitionKey) {
453
+ return this.openZaakService.getZaakTypeLinkListByProcess(modalData === null || modalData === void 0 ? void 0 : modalData.processDefinitionKey);
454
+ }
455
+ else {
456
+ return of(null);
457
+ }
458
+ }));
459
+ this.zaakTypeLinkSelectItems$ = this.zaakTypeLinks$.pipe(map(zaakTypeLinks => zaakTypeLinks === null || zaakTypeLinks === void 0 ? void 0 : zaakTypeLinks.map(link => ({
460
+ id: link.zaakTypeUrl,
461
+ text: link.documentDefinitionName,
462
+ }))));
463
+ this.selectedZaakTypeUrl$ = new BehaviorSubject('');
464
+ this.selectedZaakType$ = combineLatest([
465
+ this.selectedZaakTypeUrl$,
466
+ this.openZaakService.getZaakTypes(),
467
+ ]).pipe(map(([selectedZaakTypeUrl, zaakTypes]) => zaakTypes.find(zaakType => zaakType.url === selectedZaakTypeUrl)), tap(selectedZaakType => this.zaakTypeSelected.emit(selectedZaakType)));
468
+ }
469
+ selectZaakTypeLink(zaakTypeUrl) {
470
+ this.selectedZaakTypeUrl$.next(zaakTypeUrl);
471
+ }
472
+ }
473
+ SelectZaakTypeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SelectZaakTypeComponent, deps: [{ token: i1$1.OpenZaakService }, { token: i2.ModalService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component });
474
+ SelectZaakTypeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", 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: i2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$"], outputs: ["selectedChange", "clear"] }, { type: i2.InputLabelComponent, selector: "v-input-label", inputs: ["name", "title", "titleTranslationKey"] }, { type: i2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
475
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SelectZaakTypeComponent, decorators: [{
476
+ type: Component,
477
+ 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"] }]
478
+ }], ctorParameters: function () { return [{ type: i1$1.OpenZaakService }, { type: i2.ModalService }, { type: PluginTranslationService }]; }, propDecorators: { pluginId: [{
479
+ type: Input
480
+ }], disabled: [{
481
+ type: Input
482
+ }], zaakTypeSelected: [{
483
+ type: Output
484
+ }] } });
485
+
261
486
  /*
262
487
  * Copyright 2015-2020 Ritense BV, the Netherlands.
263
488
  *
@@ -273,13 +498,36 @@ class CreateZaakConfigurationComponent {
273
498
  constructor() {
274
499
  this.valid = new EventEmitter();
275
500
  this.configuration = new EventEmitter();
501
+ this.selectedZaakType$ = new BehaviorSubject(null);
502
+ }
503
+ ngOnInit() {
504
+ this.openValidSubscription();
505
+ }
506
+ ngOnDestroy() {
507
+ var _a;
508
+ (_a = this.validSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
509
+ }
510
+ selectZaakType(zaakType) {
511
+ this.selectedZaakType$.next(zaakType);
512
+ }
513
+ openValidSubscription() {
514
+ this.validSubscription = combineLatest([this.selectedZaakType$])
515
+ .pipe(tap(([zaakType]) => {
516
+ if (zaakType) {
517
+ this.valid.emit(true);
518
+ }
519
+ else {
520
+ this.valid.emit(false);
521
+ }
522
+ }))
523
+ .subscribe();
276
524
  }
277
525
  }
278
526
  CreateZaakConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: CreateZaakConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
279
- CreateZaakConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: CreateZaakConfigurationComponent, selector: "valtimo-create-zaak-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error" }, 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-title>create-zaak function config works</v-title>\n", styles: [""], components: [{ type: i1$1.TitleComponent, selector: "v-title", inputs: ["type", "margin"] }] });
527
+ CreateZaakConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: CreateZaakConfigurationComponent, selector: "valtimo-create-zaak-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error", 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\"\n (zaakTypeSelected)=\"selectZaakType($event)\"\n></valtimo-select-zaak-type>\n", styles: [""], components: [{ type: SelectZaakTypeComponent, selector: "valtimo-select-zaak-type", inputs: ["pluginId", "disabled"], outputs: ["zaakTypeSelected"] }] });
280
528
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: CreateZaakConfigurationComponent, decorators: [{
281
529
  type: Component,
282
- 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<v-title>create-zaak function config works</v-title>\n", styles: [""] }]
530
+ 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\"\n (zaakTypeSelected)=\"selectZaakType($event)\"\n></valtimo-select-zaak-type>\n", styles: [""] }]
283
531
  }], propDecorators: { clear$: [{
284
532
  type: Input
285
533
  }], save$: [{
@@ -288,6 +536,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
288
536
  type: Input
289
537
  }], error: [{
290
538
  type: Input
539
+ }], pluginId: [{
540
+ type: Input
291
541
  }], valid: [{
292
542
  type: Output
293
543
  }], configuration: [{
@@ -309,13 +559,53 @@ class SetBesluitConfigurationComponent {
309
559
  constructor() {
310
560
  this.valid = new EventEmitter();
311
561
  this.configuration = new EventEmitter();
562
+ this.selectedBesluit$ = new BehaviorSubject('');
563
+ this.selectedZaakType$ = new BehaviorSubject(null);
564
+ this.BESLUITEN = ['test besluit', 'test besluit met document'];
565
+ this.besluitSelectItems = this.BESLUITEN.map(besluit => ({
566
+ id: besluit,
567
+ text: besluit,
568
+ }));
569
+ this.clearSubject$ = new Subject();
570
+ }
571
+ ngOnInit() {
572
+ this.openValidSubscription();
573
+ }
574
+ ngOnDestroy() {
575
+ var _a;
576
+ (_a = this.validSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
577
+ }
578
+ selectZaakType(zaakType) {
579
+ this.selectedZaakType$.next(zaakType);
580
+ if (!zaakType) {
581
+ this.clearBesluit();
582
+ }
583
+ }
584
+ clearBesluit() {
585
+ this.selectedBesluit$.next('');
586
+ this.clearSubject$.next(null);
587
+ }
588
+ selectBesluit(besluit) {
589
+ this.selectedBesluit$.next(besluit);
590
+ }
591
+ openValidSubscription() {
592
+ this.validSubscription = combineLatest([this.selectedBesluit$, this.selectedZaakType$])
593
+ .pipe(tap(([besluit, zaakType]) => {
594
+ if (besluit && zaakType) {
595
+ this.valid.emit(true);
596
+ }
597
+ else {
598
+ this.valid.emit(false);
599
+ }
600
+ }))
601
+ .subscribe();
312
602
  }
313
603
  }
314
604
  SetBesluitConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetBesluitConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
315
- SetBesluitConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: SetBesluitConfigurationComponent, selector: "valtimo-set-besluit-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error" }, 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-title>set-besluit function config works</v-title>\n", styles: [""], components: [{ type: i1$1.TitleComponent, selector: "v-title", inputs: ["type", "margin"] }] });
605
+ SetBesluitConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: SetBesluitConfigurationComponent, selector: "valtimo-set-besluit-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error", 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\"\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\"\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: i2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$"], outputs: ["selectedChange", "clear"] }], pipes: { "async": i3.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
316
606
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetBesluitConfigurationComponent, decorators: [{
317
607
  type: Component,
318
- 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<v-title>set-besluit function config works</v-title>\n", styles: [""] }]
608
+ 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\"\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\"\n [clearSelectionSubject$]=\"clearSubject$\"\n (selectedChange)=\"selectBesluit($event)\"\n></v-select>\n", styles: [""] }]
319
609
  }], propDecorators: { clear$: [{
320
610
  type: Input
321
611
  }], save$: [{
@@ -324,6 +614,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
324
614
  type: Input
325
615
  }], error: [{
326
616
  type: Input
617
+ }], pluginId: [{
618
+ type: Input
327
619
  }], valid: [{
328
620
  type: Output
329
621
  }], configuration: [{
@@ -345,13 +637,63 @@ class SetResultaatConfigurationComponent {
345
637
  constructor() {
346
638
  this.valid = new EventEmitter();
347
639
  this.configuration = new EventEmitter();
640
+ this.selectedResultaat$ = new BehaviorSubject('');
641
+ this.selectedZaakType$ = new BehaviorSubject(null);
642
+ this.RESULTATEN = [
643
+ 'Ingetrokken',
644
+ 'Ongegrond met financ',
645
+ 'Gegrond met financië',
646
+ 'Informeel afgehandel',
647
+ 'Niet ontvankelijk ve',
648
+ 'Gegrond met invloed',
649
+ 'Ongegrond',
650
+ 'Afgebroken',
651
+ 'Gegrond',
652
+ ];
653
+ this.resultaatSelectItems = this.RESULTATEN.map(resultaat => ({
654
+ id: resultaat,
655
+ text: resultaat,
656
+ }));
657
+ this.clearSubject$ = new Subject();
658
+ }
659
+ ngOnInit() {
660
+ this.openValidSubscription();
661
+ }
662
+ ngOnDestroy() {
663
+ var _a;
664
+ (_a = this.validSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
665
+ }
666
+ selectZaakType(zaakType) {
667
+ this.selectedZaakType$.next(zaakType);
668
+ if (!zaakType) {
669
+ this.clearResultaat();
670
+ }
671
+ }
672
+ clearResultaat() {
673
+ this.selectedResultaat$.next('');
674
+ this.clearSubject$.next(null);
675
+ }
676
+ selectResultaat(resultaat) {
677
+ this.selectedResultaat$.next(resultaat);
678
+ }
679
+ openValidSubscription() {
680
+ this.validSubscription = combineLatest([this.selectedResultaat$, this.selectedZaakType$])
681
+ .pipe(tap(([resultaat, zaakType]) => {
682
+ if (resultaat && zaakType) {
683
+ this.valid.emit(true);
684
+ }
685
+ else {
686
+ this.valid.emit(false);
687
+ }
688
+ }))
689
+ .subscribe();
348
690
  }
349
691
  }
350
692
  SetResultaatConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetResultaatConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
351
- SetResultaatConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: SetResultaatConfigurationComponent, selector: "valtimo-set-resultaat-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error" }, 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-title>set-resultaat function config works</v-title>\n", styles: [""], components: [{ type: i1$1.TitleComponent, selector: "v-title", inputs: ["type", "margin"] }] });
693
+ SetResultaatConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: SetResultaatConfigurationComponent, selector: "valtimo-set-resultaat-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error", 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\"\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\"\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: i2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$"], outputs: ["selectedChange", "clear"] }], pipes: { "async": i3.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
352
694
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetResultaatConfigurationComponent, decorators: [{
353
695
  type: Component,
354
- 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<v-title>set-resultaat function config works</v-title>\n", styles: [""] }]
696
+ 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\"\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\"\n [clearSelectionSubject$]=\"clearSubject$\"\n (selectedChange)=\"selectResultaat($event)\"\n></v-select>\n", styles: [""] }]
355
697
  }], propDecorators: { clear$: [{
356
698
  type: Input
357
699
  }], save$: [{
@@ -360,6 +702,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
360
702
  type: Input
361
703
  }], error: [{
362
704
  type: Input
705
+ }], pluginId: [{
706
+ type: Input
363
707
  }], valid: [{
364
708
  type: Output
365
709
  }], configuration: [{
@@ -381,13 +725,58 @@ class SetStatusConfigurationComponent {
381
725
  constructor() {
382
726
  this.valid = new EventEmitter();
383
727
  this.configuration = new EventEmitter();
728
+ this.selectedStatus = new BehaviorSubject('');
729
+ this.selectedZaakType$ = new BehaviorSubject(null);
730
+ this.STATUSES = [
731
+ 'Geregistreerd',
732
+ 'Geaccepteerd',
733
+ 'In behandeling genomen',
734
+ 'Afgehandeld',
735
+ ];
736
+ this.statusesSelectItems = this.STATUSES.map(status => ({
737
+ id: status,
738
+ text: status,
739
+ }));
740
+ this.clearSubject$ = new Subject();
741
+ }
742
+ ngOnInit() {
743
+ this.openValidSubscription();
744
+ }
745
+ ngOnDestroy() {
746
+ var _a;
747
+ (_a = this.validSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
748
+ }
749
+ selectZaakType(zaakType) {
750
+ this.selectedZaakType$.next(zaakType);
751
+ if (!zaakType) {
752
+ this.clearStatus();
753
+ }
754
+ }
755
+ clearStatus() {
756
+ this.selectedStatus.next('');
757
+ this.clearSubject$.next(null);
758
+ }
759
+ selectStatus(status) {
760
+ this.selectedStatus.next(status);
761
+ }
762
+ openValidSubscription() {
763
+ this.validSubscription = combineLatest([this.selectedStatus, this.selectedZaakType$])
764
+ .pipe(tap(([status, zaakType]) => {
765
+ if (status && zaakType) {
766
+ this.valid.emit(true);
767
+ }
768
+ else {
769
+ this.valid.emit(false);
770
+ }
771
+ }))
772
+ .subscribe();
384
773
  }
385
774
  }
386
775
  SetStatusConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetStatusConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
387
- SetStatusConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: SetStatusConfigurationComponent, selector: "valtimo-set-status-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error" }, 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-title>set-status function config works</v-title>\n", styles: [""], components: [{ type: i1$1.TitleComponent, selector: "v-title", inputs: ["type", "margin"] }] });
776
+ SetStatusConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: SetStatusConfigurationComponent, selector: "valtimo-set-status-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error", 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\"\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\"\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: i2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$"], outputs: ["selectedChange", "clear"] }], pipes: { "async": i3.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
388
777
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetStatusConfigurationComponent, decorators: [{
389
778
  type: Component,
390
- 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<v-title>set-status function config works</v-title>\n", styles: [""] }]
779
+ 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\"\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\"\n [clearSelectionSubject$]=\"clearSubject$\"\n (selectedChange)=\"selectStatus($event)\"\n></v-select>\n", styles: [""] }]
391
780
  }], propDecorators: { clear$: [{
392
781
  type: Input
393
782
  }], save$: [{
@@ -396,6 +785,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
396
785
  type: Input
397
786
  }], error: [{
398
787
  type: Input
788
+ }], pluginId: [{
789
+ type: Input
399
790
  }], valid: [{
400
791
  type: Output
401
792
  }], configuration: [{
@@ -424,12 +815,30 @@ OpenZaakPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
424
815
  CreateZaakConfigurationComponent,
425
816
  SetBesluitConfigurationComponent,
426
817
  SetResultaatConfigurationComponent,
427
- SetStatusConfigurationComponent], imports: [CommonModule, TitleModule], exports: [OpenZaakConfigurationComponent,
818
+ SetStatusConfigurationComponent,
819
+ SelectZaakTypeComponent], imports: [CommonModule,
820
+ TitleModule,
821
+ FormModule,
822
+ InputModule,
823
+ PluginTranslatePipeModule,
824
+ SelectModule,
825
+ InputLabelModule,
826
+ ParagraphModule], exports: [OpenZaakConfigurationComponent,
428
827
  CreateZaakConfigurationComponent,
429
828
  SetBesluitConfigurationComponent,
430
829
  SetResultaatConfigurationComponent,
431
- SetStatusConfigurationComponent] });
432
- OpenZaakPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakPluginModule, imports: [[CommonModule, TitleModule]] });
830
+ SetStatusConfigurationComponent,
831
+ SelectZaakTypeComponent] });
832
+ OpenZaakPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakPluginModule, imports: [[
833
+ CommonModule,
834
+ TitleModule,
835
+ FormModule,
836
+ InputModule,
837
+ PluginTranslatePipeModule,
838
+ SelectModule,
839
+ InputLabelModule,
840
+ ParagraphModule,
841
+ ]] });
433
842
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakPluginModule, decorators: [{
434
843
  type: NgModule,
435
844
  args: [{
@@ -439,14 +848,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
439
848
  SetBesluitConfigurationComponent,
440
849
  SetResultaatConfigurationComponent,
441
850
  SetStatusConfigurationComponent,
851
+ SelectZaakTypeComponent,
852
+ ],
853
+ imports: [
854
+ CommonModule,
855
+ TitleModule,
856
+ FormModule,
857
+ InputModule,
858
+ PluginTranslatePipeModule,
859
+ SelectModule,
860
+ InputLabelModule,
861
+ ParagraphModule,
442
862
  ],
443
- imports: [CommonModule, TitleModule],
444
863
  exports: [
445
864
  OpenZaakConfigurationComponent,
446
865
  CreateZaakConfigurationComponent,
447
866
  SetBesluitConfigurationComponent,
448
867
  SetResultaatConfigurationComponent,
449
868
  SetStatusConfigurationComponent,
869
+ SelectZaakTypeComponent,
450
870
  ],
451
871
  }]
452
872
  }] });
@@ -505,6 +925,20 @@ const openZaakPluginSpecification = {
505
925
  'set-status': 'Status instellen',
506
926
  'set-resultaat': 'Resultaat instellen',
507
927
  'set-besluit': 'Besluit instellen',
928
+ name: 'Configuratienaam',
929
+ url: 'OpenZaak URL',
930
+ clientId: 'Client ID',
931
+ secret: 'Secret',
932
+ rsin: 'Rsin',
933
+ catalogusUrl: 'Catalogus URL',
934
+ zaakType: 'Zaaktype',
935
+ zaakStatus: 'Zaakstatus',
936
+ zaakResultaat: 'Resultaat',
937
+ besluit: 'Besluit',
938
+ documentDefinition: 'Documentdefinitie',
939
+ noZaakTypeSelected: 'Geen zaaktype geselecteerd',
940
+ noZaakTypeLinksFound: "Geen gelinkte zaaktype's gevonden",
941
+ noProcessDefinition: 'Er is geen procesdefinitie geselecteerd',
508
942
  },
509
943
  en: {
510
944
  title: 'OpenZaak',
@@ -513,6 +947,20 @@ const openZaakPluginSpecification = {
513
947
  'set-status': 'Set status',
514
948
  'set-resultaat': 'Set result',
515
949
  'set-besluit': 'Set besluit',
950
+ name: 'Configuration name',
951
+ url: 'OpenZaak URL',
952
+ clientId: 'Client ID',
953
+ secret: 'Secret',
954
+ rsin: 'Rsin',
955
+ catalogusUrl: 'Catalog URL',
956
+ zaakType: 'Zaaktype',
957
+ zaakStatus: 'Zaakstatus',
958
+ zaakResultaat: 'Result',
959
+ besluit: 'Besluit',
960
+ documentDefinition: 'Document definition',
961
+ noZaakTypeSelected: 'No zaaktype selected',
962
+ noZaakTypeLinksFound: 'No linked zaaktypes found',
963
+ noProcessDefinition: 'No process definition is selected',
516
964
  },
517
965
  de: {
518
966
  title: 'OpenZaak',
@@ -521,6 +969,254 @@ const openZaakPluginSpecification = {
521
969
  'set-status': 'Status festlegen',
522
970
  'set-resultaat': 'Ergebnis einstellen',
523
971
  'set-besluit': 'Besluit setzen',
972
+ name: 'Konfigurationsname',
973
+ url: 'OpenZaak URL',
974
+ clientId: 'Client ID',
975
+ secret: 'Secret',
976
+ rsin: 'Rsin',
977
+ catalogusUrl: 'Katalog URL',
978
+ zaakType: 'Zaaktype',
979
+ zaakStatus: 'Zaakstatus',
980
+ zaakResultaat: 'Resultat',
981
+ besluit: 'Besluit',
982
+ documentDefinition: 'Dokumentendefinition',
983
+ noZaakTypeSelected: 'Kein Zaaktype ausgewählt',
984
+ noZaakTypeLinksFound: 'Keine verknüpften Zaaktypen gefunden',
985
+ noProcessDefinition: 'Es ist keine Prozessdefinition ausgewählt',
986
+ },
987
+ },
988
+ };
989
+
990
+ /*
991
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
992
+ *
993
+ * Licensed under EUPL, Version 1.2 (the "License");
994
+ * you may not use this file except in compliance with the License.
995
+ * You may obtain a copy of the License at
996
+ *
997
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
998
+ *
999
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
1000
+ */
1001
+ class SmartDocumentsConfigurationComponent {
1002
+ constructor() {
1003
+ this.valid = new EventEmitter();
1004
+ this.configuration = new EventEmitter();
1005
+ }
1006
+ formValueChange(formValue) {
1007
+ this.configuration.emit(formValue);
1008
+ this.handleValid(formValue);
1009
+ }
1010
+ handleValid(formValue) {
1011
+ const valid = formValue.name && formValue.url && formValue.password && formValue.username;
1012
+ this.valid.emit(!!valid);
1013
+ }
1014
+ }
1015
+ SmartDocumentsConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1016
+ SmartDocumentsConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: SmartDocumentsConfigurationComponent, selector: "valtimo-smart-documents-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error", 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)\">\n <v-input\n name=\"name\"\n [title]=\"'name' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"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]=\"disabled\"\n >\n </v-input>\n <v-input\n name=\"username\"\n [title]=\"'username' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"disabled\"\n >\n </v-input>\n <v-input\n name=\"password\"\n [title]=\"'password' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"disabled\"\n >\n </v-input>\n</v-form>\n", styles: [""], components: [{ type: i2.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength"], outputs: ["valueChange"] }], pipes: { "async": i3.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
1017
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsConfigurationComponent, decorators: [{
1018
+ type: Component,
1019
+ 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)\">\n <v-input\n name=\"name\"\n [title]=\"'name' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"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]=\"disabled\"\n >\n </v-input>\n <v-input\n name=\"username\"\n [title]=\"'username' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"disabled\"\n >\n </v-input>\n <v-input\n name=\"password\"\n [title]=\"'password' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"disabled\"\n >\n </v-input>\n</v-form>\n", styles: [""] }]
1020
+ }], propDecorators: { clear$: [{
1021
+ type: Input
1022
+ }], save$: [{
1023
+ type: Input
1024
+ }], disabled: [{
1025
+ type: Input
1026
+ }], error: [{
1027
+ type: Input
1028
+ }], pluginId: [{
1029
+ type: Input
1030
+ }], valid: [{
1031
+ type: Output
1032
+ }], configuration: [{
1033
+ type: Output
1034
+ }] } });
1035
+
1036
+ /*
1037
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
1038
+ *
1039
+ * Licensed under EUPL, Version 1.2 (the "License");
1040
+ * you may not use this file except in compliance with the License.
1041
+ * You may obtain a copy of the License at
1042
+ *
1043
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1044
+ *
1045
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
1046
+ */
1047
+ class GenerateDocumentConfigurationComponent {
1048
+ constructor() {
1049
+ this.valid = new EventEmitter();
1050
+ this.configuration = new EventEmitter();
1051
+ this.FORMATS = ['DOCX', 'HTML', 'PDF', 'XML'];
1052
+ this.FORMAT_SELECT_ITEMS = this.FORMATS.map(format => ({
1053
+ id: format,
1054
+ text: format,
1055
+ }));
1056
+ }
1057
+ formValueChange(formValue) {
1058
+ this.configuration.emit(formValue);
1059
+ this.handleValid(formValue);
1060
+ }
1061
+ handleValid(formValue) {
1062
+ const valid = formValue.templateGroup &&
1063
+ formValue.templateName &&
1064
+ formValue.format &&
1065
+ formValue.templateData.length > 0;
1066
+ this.valid.emit(!!valid);
1067
+ }
1068
+ }
1069
+ GenerateDocumentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: GenerateDocumentConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1070
+ GenerateDocumentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: GenerateDocumentConfigurationComponent, selector: "valtimo-generate-document-configuration", inputs: { clear$: "clear$", save$: "save$", disabled: "disabled", error: "error", 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)\">\n <v-input\n name=\"templateGroup\"\n [title]=\"'templateGroup' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"disabled\"\n >\n </v-input>\n <v-input\n name=\"templateName\"\n [title]=\"'templateName' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"disabled\"\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]=\"disabled\"\n ></v-select>\n <v-multi-input\n name=\"templateData\"\n [title]=\"'templateData' | pluginTranslate: pluginId | async\"\n type=\"keyValue\"\n ></v-multi-input>\n</v-form>\n", styles: [""], components: [{ type: i2.FormComponent, selector: "v-form", outputs: ["valueChange"] }, { type: i2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "disabled", "step", "min", "maxLength"], outputs: ["valueChange"] }, { type: i2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "clearable", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "name", "title", "titleTranslationKey", "clearSelectionSubject$"], outputs: ["selectedChange", "clear"] }, { type: i2.MultiInputComponent, selector: "v-multi-input", inputs: ["name", "title", "titleTranslationKey", "type", "initialAmountOfRows", "minimumAmountOfRows", "maxRows", "addRowText", "addRowTranslationKey", "deleteRowText", "deleteRowTranslationKey"], outputs: ["valueChange"] }], pipes: { "async": i3.AsyncPipe, "pluginTranslate": PluginTranslatePipe } });
1071
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: GenerateDocumentConfigurationComponent, decorators: [{
1072
+ type: Component,
1073
+ 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-form (valueChange)=\"formValueChange($event)\">\n <v-input\n name=\"templateGroup\"\n [title]=\"'templateGroup' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"disabled\"\n >\n </v-input>\n <v-input\n name=\"templateName\"\n [title]=\"'templateName' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n [margin]=\"true\"\n [disabled]=\"disabled\"\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]=\"disabled\"\n ></v-select>\n <v-multi-input\n name=\"templateData\"\n [title]=\"'templateData' | pluginTranslate: pluginId | async\"\n type=\"keyValue\"\n ></v-multi-input>\n</v-form>\n", styles: [""] }]
1074
+ }], propDecorators: { clear$: [{
1075
+ type: Input
1076
+ }], save$: [{
1077
+ type: Input
1078
+ }], disabled: [{
1079
+ type: Input
1080
+ }], error: [{
1081
+ type: Input
1082
+ }], pluginId: [{
1083
+ type: Input
1084
+ }], valid: [{
1085
+ type: Output
1086
+ }], configuration: [{
1087
+ type: Output
1088
+ }] } });
1089
+
1090
+ /*
1091
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
1092
+ *
1093
+ * Licensed under EUPL, Version 1.2 (the "License");
1094
+ * you may not use this file except in compliance with the License.
1095
+ * You may obtain a copy of the License at
1096
+ *
1097
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1098
+ *
1099
+ * Unless required by applicable law or agreed to in writing, software
1100
+ * distributed under the License is distributed on an "AS IS" basis,
1101
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1102
+ * See the License for the specific language governing permissions and
1103
+ * limitations under the License.
1104
+ */
1105
+ class SmartDocumentsPluginModule {
1106
+ }
1107
+ SmartDocumentsPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1108
+ SmartDocumentsPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsPluginModule, declarations: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent], imports: [CommonModule,
1109
+ PluginTranslatePipeModule,
1110
+ FormModule,
1111
+ InputModule,
1112
+ SelectModule,
1113
+ MultiInputModule], exports: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent] });
1114
+ SmartDocumentsPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsPluginModule, imports: [[
1115
+ CommonModule,
1116
+ PluginTranslatePipeModule,
1117
+ FormModule,
1118
+ InputModule,
1119
+ SelectModule,
1120
+ MultiInputModule,
1121
+ ]] });
1122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsPluginModule, decorators: [{
1123
+ type: NgModule,
1124
+ args: [{
1125
+ declarations: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent],
1126
+ imports: [
1127
+ CommonModule,
1128
+ PluginTranslatePipeModule,
1129
+ FormModule,
1130
+ InputModule,
1131
+ SelectModule,
1132
+ MultiInputModule,
1133
+ ],
1134
+ exports: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent],
1135
+ }]
1136
+ }] });
1137
+
1138
+ /*
1139
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
1140
+ *
1141
+ * Licensed under EUPL, Version 1.2 (the "License");
1142
+ * you may not use this file except in compliance with the License.
1143
+ * You may obtain a copy of the License at
1144
+ *
1145
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1146
+ *
1147
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
1148
+ */
1149
+ const SMART_DOCUMENTS_PLUGIN_LOGO_BASE64 = 'data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l8+98YXOyZPDb1oDgfmYM7wEm04Nc3snyr+qCOLq84SshQkEP1cT4YaXPxAU/ocpfDPYnvTkv3n8fzyzk0lh/r9IAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTIzVDA2OjE3OjAyLTA0OjAwD/f+UwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0yM1QwNjoxNzowMi0wNDowMH6qRu8AAAAASUVORK5CYII=';
1150
+
1151
+ /*
1152
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
1153
+ *
1154
+ * Licensed under EUPL, Version 1.2 (the "License");
1155
+ * you may not use this file except in compliance with the License.
1156
+ * You may obtain a copy of the License at
1157
+ *
1158
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1159
+ *
1160
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
1161
+ */
1162
+
1163
+ /*
1164
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
1165
+ *
1166
+ * Licensed under EUPL, Version 1.2 (the "License");
1167
+ * you may not use this file except in compliance with the License.
1168
+ * You may obtain a copy of the License at
1169
+ *
1170
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1171
+ *
1172
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
1173
+ */
1174
+ const smartDocumentsPluginSpecification = {
1175
+ pluginId: 'smartdocuments',
1176
+ pluginConfigurationComponent: SmartDocumentsConfigurationComponent,
1177
+ pluginLogoBase64: SMART_DOCUMENTS_PLUGIN_LOGO_BASE64,
1178
+ functionConfigurationComponents: {
1179
+ 'generate-document': GenerateDocumentConfigurationComponent,
1180
+ },
1181
+ pluginTranslations: {
1182
+ nl: {
1183
+ title: 'SmartDocuments',
1184
+ description: 'Automatiseer documenten met slimme templates.',
1185
+ name: 'Configuratienaam',
1186
+ url: 'SmartDocuments URL',
1187
+ username: 'Gebruikersnaam',
1188
+ password: 'Wachtwoord',
1189
+ 'generate-document': 'Document genereren',
1190
+ templateGroup: 'Template-groep',
1191
+ templateName: 'Template-naam',
1192
+ format: 'Documentformaat',
1193
+ templateData: 'Template-data',
1194
+ },
1195
+ en: {
1196
+ title: 'SmartDocuments',
1197
+ description: 'Automate documents with smart templates.',
1198
+ name: 'Configuration name',
1199
+ url: 'SmartDocuments URL',
1200
+ username: 'Username',
1201
+ password: 'Password',
1202
+ 'generate-document': 'Generate document',
1203
+ templateGroup: 'Template group',
1204
+ templateName: 'Template name',
1205
+ format: 'Document format',
1206
+ templateData: 'Template data',
1207
+ },
1208
+ de: {
1209
+ title: 'SmartDocuments',
1210
+ description: 'Automatisieren Sie Dokumente mit intelligenten Templates.',
1211
+ name: 'Konfigurationsname',
1212
+ url: 'SmartDocuments URL',
1213
+ username: 'Nutzername',
1214
+ password: 'Passwort',
1215
+ 'generate-document': 'Dokument generieren',
1216
+ templateGroup: 'Templategruppe',
1217
+ templateName: 'Templatename',
1218
+ format: 'Dokumentformat',
1219
+ templateData: 'Templatedaten',
524
1220
  },
525
1221
  },
526
1222
  };
@@ -541,5 +1237,5 @@ const openZaakPluginSpecification = {
541
1237
  * Generated bundle index. Do not edit.
542
1238
  */
543
1239
 
544
- export { CreateZaakConfigurationComponent, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, SetBesluitConfigurationComponent, SetResultaatConfigurationComponent, SetStatusConfigurationComponent, openZaakPluginSpecification };
1240
+ export { CreateZaakConfigurationComponent, GenerateDocumentConfigurationComponent, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, SelectZaakTypeComponent, SetBesluitConfigurationComponent, SetResultaatConfigurationComponent, SetStatusConfigurationComponent, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, openZaakPluginSpecification, smartDocumentsPluginSpecification };
545
1241
  //# sourceMappingURL=valtimo-plugin.mjs.map