@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.
@@ -232,6 +234,159 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
232
234
  * 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.
233
235
  */
234
236
 
237
+ /*
238
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
239
+ *
240
+ * Licensed under EUPL, Version 1.2 (the "License");
241
+ * you may not use this file except in compliance with the License.
242
+ * You may obtain a copy of the License at
243
+ *
244
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
245
+ *
246
+ * Unless required by applicable law or agreed to in writing, software
247
+ * distributed under the License is distributed on an "AS IS" basis,
248
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
249
+ * See the License for the specific language governing permissions and
250
+ * limitations under the License.
251
+ */
252
+ class PluginConfigurationContainerComponent {
253
+ constructor(pluginService) {
254
+ this.pluginService = pluginService;
255
+ this.valid = new EventEmitter();
256
+ this.configuration = new EventEmitter();
257
+ this.noConfigurationComponentAvailable$ = new BehaviorSubject(false);
258
+ this.componentRef$ = new BehaviorSubject(undefined);
259
+ this._componentType = new BehaviorSubject(null);
260
+ this._pluginDefinitionKey = new BehaviorSubject('');
261
+ this._functionKey = new BehaviorSubject('');
262
+ }
263
+ set type(type) {
264
+ this._componentType.next(type);
265
+ }
266
+ set pluginDefinitionKey(key) {
267
+ this._pluginDefinitionKey.next(key);
268
+ }
269
+ set functionKey(key) {
270
+ this._functionKey.next(key);
271
+ }
272
+ ngOnInit() {
273
+ this.openPluginSubscription();
274
+ this.openComponentInstanceSubscription();
275
+ }
276
+ ngOnDestroy() {
277
+ this.pluginSubscription?.unsubscribe();
278
+ this.componentRefSubscription?.unsubscribe();
279
+ }
280
+ openPluginSubscription() {
281
+ this.pluginSubscription = combineLatest([
282
+ this._pluginDefinitionKey,
283
+ this._functionKey,
284
+ this._componentType,
285
+ this.pluginService.pluginSpecifications$,
286
+ ])
287
+ .pipe(tap(([pluginDefinitionKey, functionKey, componentType, pluginSpecifications]) => {
288
+ let configurationComponent;
289
+ this.dynamicContainer.clear();
290
+ if (componentType === 'configuration' && pluginDefinitionKey) {
291
+ configurationComponent = pluginSpecifications.find(specification => specification.pluginId === pluginDefinitionKey)?.pluginConfigurationComponent;
292
+ }
293
+ else if (componentType === 'function' && pluginDefinitionKey && functionKey) {
294
+ const pluginSpecification = pluginSpecifications.find(specification => specification.pluginId === pluginDefinitionKey);
295
+ configurationComponent =
296
+ pluginSpecification?.functionConfigurationComponents[functionKey];
297
+ }
298
+ if (configurationComponent) {
299
+ const componentRef = this.dynamicContainer.createComponent(configurationComponent);
300
+ this.componentRef$.next(componentRef);
301
+ this.noConfigurationComponentAvailable$.next(false);
302
+ }
303
+ else {
304
+ this.noConfigurationComponentAvailable$.next(true);
305
+ }
306
+ }))
307
+ .subscribe();
308
+ }
309
+ openComponentInstanceSubscription() {
310
+ this.componentRefSubscription = combineLatest([
311
+ this.componentRef$,
312
+ this._pluginDefinitionKey,
313
+ ]).subscribe(([ref, pluginDefinitionKey]) => {
314
+ const instance = ref?.instance;
315
+ this.configurationSubscription?.unsubscribe();
316
+ this.validSubscription?.unsubscribe();
317
+ if (instance) {
318
+ instance.save$ = this.save$;
319
+ instance.clear$ = this.clear$;
320
+ instance.error = this.error;
321
+ instance.disabled = this.disabled;
322
+ instance.pluginId = pluginDefinitionKey;
323
+ this.validSubscription = instance.valid.subscribe(valid => {
324
+ this.valid.emit(valid);
325
+ });
326
+ this.configurationSubscription = instance.configuration.subscribe(configuration => {
327
+ this.configuration.emit(configuration);
328
+ });
329
+ }
330
+ });
331
+ }
332
+ }
333
+ PluginConfigurationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerComponent, deps: [{ token: PluginService }], target: i0.ɵɵFactoryTarget.Component });
334
+ 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 } });
335
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerComponent, decorators: [{
336
+ type: Component,
337
+ 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"] }]
338
+ }], ctorParameters: function () { return [{ type: PluginService }]; }, propDecorators: { dynamicContainer: [{
339
+ type: ViewChild,
340
+ args: ['pluginConfigurationComponent', { static: true, read: ViewContainerRef }]
341
+ }], type: [{
342
+ type: Input
343
+ }], pluginDefinitionKey: [{
344
+ type: Input
345
+ }], functionKey: [{
346
+ type: Input
347
+ }], clear$: [{
348
+ type: Input
349
+ }], save$: [{
350
+ type: Input
351
+ }], disabled: [{
352
+ type: Input
353
+ }], error: [{
354
+ type: Input
355
+ }], valid: [{
356
+ type: Output
357
+ }], configuration: [{
358
+ type: Output
359
+ }] } });
360
+
361
+ /*
362
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
363
+ *
364
+ * Licensed under EUPL, Version 1.2 (the "License");
365
+ * you may not use this file except in compliance with the License.
366
+ * You may obtain a copy of the License at
367
+ *
368
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
369
+ *
370
+ * Unless required by applicable law or agreed to in writing, software
371
+ * distributed under the License is distributed on an "AS IS" basis,
372
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
373
+ * See the License for the specific language governing permissions and
374
+ * limitations under the License.
375
+ */
376
+ class PluginConfigurationContainerModule {
377
+ }
378
+ PluginConfigurationContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
379
+ PluginConfigurationContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerModule, declarations: [PluginConfigurationContainerComponent], imports: [CommonModule, ParagraphModule, TranslateModule], exports: [PluginConfigurationContainerComponent] });
380
+ PluginConfigurationContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerModule, imports: [[CommonModule, ParagraphModule, TranslateModule]] });
381
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginConfigurationContainerModule, decorators: [{
382
+ type: NgModule,
383
+ args: [{
384
+ declarations: [PluginConfigurationContainerComponent],
385
+ imports: [CommonModule, ParagraphModule, TranslateModule],
386
+ exports: [PluginConfigurationContainerComponent],
387
+ }]
388
+ }] });
389
+
235
390
  /*
236
391
  * Copyright 2015-2020 Ritense BV, the Netherlands.
237
392
  *
@@ -248,12 +403,25 @@ class OpenZaakConfigurationComponent {
248
403
  this.valid = new EventEmitter();
249
404
  this.configuration = new EventEmitter();
250
405
  }
406
+ formValueChange(formValue) {
407
+ this.configuration.emit(formValue);
408
+ this.handleValid(formValue);
409
+ }
410
+ handleValid(formValue) {
411
+ const valid = formValue.name &&
412
+ formValue.url &&
413
+ formValue.catalogusUrl &&
414
+ formValue.rsin &&
415
+ formValue.secret &&
416
+ formValue.clientId;
417
+ this.valid.emit(!!valid);
418
+ }
251
419
  }
252
420
  OpenZaakConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
253
- 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"] }] });
421
+ 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 } });
254
422
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakConfigurationComponent, decorators: [{
255
423
  type: Component,
256
- 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: [""] }]
424
+ 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: [""] }]
257
425
  }], propDecorators: { clear$: [{
258
426
  type: Input
259
427
  }], save$: [{
@@ -262,12 +430,66 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
262
430
  type: Input
263
431
  }], error: [{
264
432
  type: Input
433
+ }], pluginId: [{
434
+ type: Input
265
435
  }], valid: [{
266
436
  type: Output
267
437
  }], configuration: [{
268
438
  type: Output
269
439
  }] } });
270
440
 
441
+ /*
442
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
443
+ *
444
+ * Licensed under EUPL, Version 1.2 (the "License");
445
+ * you may not use this file except in compliance with the License.
446
+ * You may obtain a copy of the License at
447
+ *
448
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
449
+ *
450
+ * 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.
451
+ */
452
+ class SelectZaakTypeComponent {
453
+ constructor(openZaakService, modalService, pluginTranslationService) {
454
+ this.openZaakService = openZaakService;
455
+ this.modalService = modalService;
456
+ this.pluginTranslationService = pluginTranslationService;
457
+ this.zaakTypeSelected = new EventEmitter();
458
+ this.zaakTypeLinks$ = this.modalService.modalData$.pipe(switchMap(modalData => {
459
+ if (modalData?.processDefinitionKey) {
460
+ return this.openZaakService.getZaakTypeLinkListByProcess(modalData?.processDefinitionKey);
461
+ }
462
+ else {
463
+ return of(null);
464
+ }
465
+ }));
466
+ this.zaakTypeLinkSelectItems$ = this.zaakTypeLinks$.pipe(map(zaakTypeLinks => zaakTypeLinks?.map(link => ({
467
+ id: link.zaakTypeUrl,
468
+ text: link.documentDefinitionName,
469
+ }))));
470
+ this.selectedZaakTypeUrl$ = new BehaviorSubject('');
471
+ this.selectedZaakType$ = combineLatest([
472
+ this.selectedZaakTypeUrl$,
473
+ this.openZaakService.getZaakTypes(),
474
+ ]).pipe(map(([selectedZaakTypeUrl, zaakTypes]) => zaakTypes.find(zaakType => zaakType.url === selectedZaakTypeUrl)), tap(selectedZaakType => this.zaakTypeSelected.emit(selectedZaakType)));
475
+ }
476
+ selectZaakTypeLink(zaakTypeUrl) {
477
+ this.selectedZaakTypeUrl$.next(zaakTypeUrl);
478
+ }
479
+ }
480
+ 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 });
481
+ 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 } });
482
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SelectZaakTypeComponent, decorators: [{
483
+ type: Component,
484
+ 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"] }]
485
+ }], ctorParameters: function () { return [{ type: i1$1.OpenZaakService }, { type: i2.ModalService }, { type: PluginTranslationService }]; }, propDecorators: { pluginId: [{
486
+ type: Input
487
+ }], disabled: [{
488
+ type: Input
489
+ }], zaakTypeSelected: [{
490
+ type: Output
491
+ }] } });
492
+
271
493
  /*
272
494
  * Copyright 2015-2020 Ritense BV, the Netherlands.
273
495
  *
@@ -283,13 +505,35 @@ class CreateZaakConfigurationComponent {
283
505
  constructor() {
284
506
  this.valid = new EventEmitter();
285
507
  this.configuration = new EventEmitter();
508
+ this.selectedZaakType$ = new BehaviorSubject(null);
509
+ }
510
+ ngOnInit() {
511
+ this.openValidSubscription();
512
+ }
513
+ ngOnDestroy() {
514
+ this.validSubscription?.unsubscribe();
515
+ }
516
+ selectZaakType(zaakType) {
517
+ this.selectedZaakType$.next(zaakType);
518
+ }
519
+ openValidSubscription() {
520
+ this.validSubscription = combineLatest([this.selectedZaakType$])
521
+ .pipe(tap(([zaakType]) => {
522
+ if (zaakType) {
523
+ this.valid.emit(true);
524
+ }
525
+ else {
526
+ this.valid.emit(false);
527
+ }
528
+ }))
529
+ .subscribe();
286
530
  }
287
531
  }
288
532
  CreateZaakConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: CreateZaakConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
289
- 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"] }] });
533
+ 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"] }] });
290
534
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: CreateZaakConfigurationComponent, decorators: [{
291
535
  type: Component,
292
- 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: [""] }]
536
+ 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: [""] }]
293
537
  }], propDecorators: { clear$: [{
294
538
  type: Input
295
539
  }], save$: [{
@@ -298,6 +542,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
298
542
  type: Input
299
543
  }], error: [{
300
544
  type: Input
545
+ }], pluginId: [{
546
+ type: Input
301
547
  }], valid: [{
302
548
  type: Output
303
549
  }], configuration: [{
@@ -319,13 +565,52 @@ class SetBesluitConfigurationComponent {
319
565
  constructor() {
320
566
  this.valid = new EventEmitter();
321
567
  this.configuration = new EventEmitter();
568
+ this.selectedBesluit$ = new BehaviorSubject('');
569
+ this.selectedZaakType$ = new BehaviorSubject(null);
570
+ this.BESLUITEN = ['test besluit', 'test besluit met document'];
571
+ this.besluitSelectItems = this.BESLUITEN.map(besluit => ({
572
+ id: besluit,
573
+ text: besluit,
574
+ }));
575
+ this.clearSubject$ = new Subject();
576
+ }
577
+ ngOnInit() {
578
+ this.openValidSubscription();
579
+ }
580
+ ngOnDestroy() {
581
+ this.validSubscription?.unsubscribe();
582
+ }
583
+ selectZaakType(zaakType) {
584
+ this.selectedZaakType$.next(zaakType);
585
+ if (!zaakType) {
586
+ this.clearBesluit();
587
+ }
588
+ }
589
+ clearBesluit() {
590
+ this.selectedBesluit$.next('');
591
+ this.clearSubject$.next(null);
592
+ }
593
+ selectBesluit(besluit) {
594
+ this.selectedBesluit$.next(besluit);
595
+ }
596
+ openValidSubscription() {
597
+ this.validSubscription = combineLatest([this.selectedBesluit$, this.selectedZaakType$])
598
+ .pipe(tap(([besluit, zaakType]) => {
599
+ if (besluit && zaakType) {
600
+ this.valid.emit(true);
601
+ }
602
+ else {
603
+ this.valid.emit(false);
604
+ }
605
+ }))
606
+ .subscribe();
322
607
  }
323
608
  }
324
609
  SetBesluitConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetBesluitConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
325
- 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"] }] });
610
+ 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 } });
326
611
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetBesluitConfigurationComponent, decorators: [{
327
612
  type: Component,
328
- 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: [""] }]
613
+ 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: [""] }]
329
614
  }], propDecorators: { clear$: [{
330
615
  type: Input
331
616
  }], save$: [{
@@ -334,6 +619,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
334
619
  type: Input
335
620
  }], error: [{
336
621
  type: Input
622
+ }], pluginId: [{
623
+ type: Input
337
624
  }], valid: [{
338
625
  type: Output
339
626
  }], configuration: [{
@@ -355,13 +642,62 @@ class SetResultaatConfigurationComponent {
355
642
  constructor() {
356
643
  this.valid = new EventEmitter();
357
644
  this.configuration = new EventEmitter();
645
+ this.selectedResultaat$ = new BehaviorSubject('');
646
+ this.selectedZaakType$ = new BehaviorSubject(null);
647
+ this.RESULTATEN = [
648
+ 'Ingetrokken',
649
+ 'Ongegrond met financ',
650
+ 'Gegrond met financië',
651
+ 'Informeel afgehandel',
652
+ 'Niet ontvankelijk ve',
653
+ 'Gegrond met invloed',
654
+ 'Ongegrond',
655
+ 'Afgebroken',
656
+ 'Gegrond',
657
+ ];
658
+ this.resultaatSelectItems = this.RESULTATEN.map(resultaat => ({
659
+ id: resultaat,
660
+ text: resultaat,
661
+ }));
662
+ this.clearSubject$ = new Subject();
663
+ }
664
+ ngOnInit() {
665
+ this.openValidSubscription();
666
+ }
667
+ ngOnDestroy() {
668
+ this.validSubscription?.unsubscribe();
669
+ }
670
+ selectZaakType(zaakType) {
671
+ this.selectedZaakType$.next(zaakType);
672
+ if (!zaakType) {
673
+ this.clearResultaat();
674
+ }
675
+ }
676
+ clearResultaat() {
677
+ this.selectedResultaat$.next('');
678
+ this.clearSubject$.next(null);
679
+ }
680
+ selectResultaat(resultaat) {
681
+ this.selectedResultaat$.next(resultaat);
682
+ }
683
+ openValidSubscription() {
684
+ this.validSubscription = combineLatest([this.selectedResultaat$, this.selectedZaakType$])
685
+ .pipe(tap(([resultaat, zaakType]) => {
686
+ if (resultaat && zaakType) {
687
+ this.valid.emit(true);
688
+ }
689
+ else {
690
+ this.valid.emit(false);
691
+ }
692
+ }))
693
+ .subscribe();
358
694
  }
359
695
  }
360
696
  SetResultaatConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetResultaatConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
361
- 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"] }] });
697
+ 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 } });
362
698
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetResultaatConfigurationComponent, decorators: [{
363
699
  type: Component,
364
- 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: [""] }]
700
+ 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: [""] }]
365
701
  }], propDecorators: { clear$: [{
366
702
  type: Input
367
703
  }], save$: [{
@@ -370,6 +706,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
370
706
  type: Input
371
707
  }], error: [{
372
708
  type: Input
709
+ }], pluginId: [{
710
+ type: Input
373
711
  }], valid: [{
374
712
  type: Output
375
713
  }], configuration: [{
@@ -391,13 +729,57 @@ class SetStatusConfigurationComponent {
391
729
  constructor() {
392
730
  this.valid = new EventEmitter();
393
731
  this.configuration = new EventEmitter();
732
+ this.selectedStatus = new BehaviorSubject('');
733
+ this.selectedZaakType$ = new BehaviorSubject(null);
734
+ this.STATUSES = [
735
+ 'Geregistreerd',
736
+ 'Geaccepteerd',
737
+ 'In behandeling genomen',
738
+ 'Afgehandeld',
739
+ ];
740
+ this.statusesSelectItems = this.STATUSES.map(status => ({
741
+ id: status,
742
+ text: status,
743
+ }));
744
+ this.clearSubject$ = new Subject();
745
+ }
746
+ ngOnInit() {
747
+ this.openValidSubscription();
748
+ }
749
+ ngOnDestroy() {
750
+ this.validSubscription?.unsubscribe();
751
+ }
752
+ selectZaakType(zaakType) {
753
+ this.selectedZaakType$.next(zaakType);
754
+ if (!zaakType) {
755
+ this.clearStatus();
756
+ }
757
+ }
758
+ clearStatus() {
759
+ this.selectedStatus.next('');
760
+ this.clearSubject$.next(null);
761
+ }
762
+ selectStatus(status) {
763
+ this.selectedStatus.next(status);
764
+ }
765
+ openValidSubscription() {
766
+ this.validSubscription = combineLatest([this.selectedStatus, this.selectedZaakType$])
767
+ .pipe(tap(([status, zaakType]) => {
768
+ if (status && zaakType) {
769
+ this.valid.emit(true);
770
+ }
771
+ else {
772
+ this.valid.emit(false);
773
+ }
774
+ }))
775
+ .subscribe();
394
776
  }
395
777
  }
396
778
  SetStatusConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetStatusConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
397
- 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"] }] });
779
+ 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 } });
398
780
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SetStatusConfigurationComponent, decorators: [{
399
781
  type: Component,
400
- 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: [""] }]
782
+ 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: [""] }]
401
783
  }], propDecorators: { clear$: [{
402
784
  type: Input
403
785
  }], save$: [{
@@ -406,6 +788,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
406
788
  type: Input
407
789
  }], error: [{
408
790
  type: Input
791
+ }], pluginId: [{
792
+ type: Input
409
793
  }], valid: [{
410
794
  type: Output
411
795
  }], configuration: [{
@@ -434,12 +818,30 @@ OpenZaakPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
434
818
  CreateZaakConfigurationComponent,
435
819
  SetBesluitConfigurationComponent,
436
820
  SetResultaatConfigurationComponent,
437
- SetStatusConfigurationComponent], imports: [CommonModule, TitleModule], exports: [OpenZaakConfigurationComponent,
821
+ SetStatusConfigurationComponent,
822
+ SelectZaakTypeComponent], imports: [CommonModule,
823
+ TitleModule,
824
+ FormModule,
825
+ InputModule,
826
+ PluginTranslatePipeModule,
827
+ SelectModule,
828
+ InputLabelModule,
829
+ ParagraphModule], exports: [OpenZaakConfigurationComponent,
438
830
  CreateZaakConfigurationComponent,
439
831
  SetBesluitConfigurationComponent,
440
832
  SetResultaatConfigurationComponent,
441
- SetStatusConfigurationComponent] });
442
- OpenZaakPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakPluginModule, imports: [[CommonModule, TitleModule]] });
833
+ SetStatusConfigurationComponent,
834
+ SelectZaakTypeComponent] });
835
+ OpenZaakPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakPluginModule, imports: [[
836
+ CommonModule,
837
+ TitleModule,
838
+ FormModule,
839
+ InputModule,
840
+ PluginTranslatePipeModule,
841
+ SelectModule,
842
+ InputLabelModule,
843
+ ParagraphModule,
844
+ ]] });
443
845
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: OpenZaakPluginModule, decorators: [{
444
846
  type: NgModule,
445
847
  args: [{
@@ -449,14 +851,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImpor
449
851
  SetBesluitConfigurationComponent,
450
852
  SetResultaatConfigurationComponent,
451
853
  SetStatusConfigurationComponent,
854
+ SelectZaakTypeComponent,
855
+ ],
856
+ imports: [
857
+ CommonModule,
858
+ TitleModule,
859
+ FormModule,
860
+ InputModule,
861
+ PluginTranslatePipeModule,
862
+ SelectModule,
863
+ InputLabelModule,
864
+ ParagraphModule,
452
865
  ],
453
- imports: [CommonModule, TitleModule],
454
866
  exports: [
455
867
  OpenZaakConfigurationComponent,
456
868
  CreateZaakConfigurationComponent,
457
869
  SetBesluitConfigurationComponent,
458
870
  SetResultaatConfigurationComponent,
459
871
  SetStatusConfigurationComponent,
872
+ SelectZaakTypeComponent,
460
873
  ],
461
874
  }]
462
875
  }] });
@@ -515,6 +928,20 @@ const openZaakPluginSpecification = {
515
928
  'set-status': 'Status instellen',
516
929
  'set-resultaat': 'Resultaat instellen',
517
930
  'set-besluit': 'Besluit instellen',
931
+ name: 'Configuratienaam',
932
+ url: 'OpenZaak URL',
933
+ clientId: 'Client ID',
934
+ secret: 'Secret',
935
+ rsin: 'Rsin',
936
+ catalogusUrl: 'Catalogus URL',
937
+ zaakType: 'Zaaktype',
938
+ zaakStatus: 'Zaakstatus',
939
+ zaakResultaat: 'Resultaat',
940
+ besluit: 'Besluit',
941
+ documentDefinition: 'Documentdefinitie',
942
+ noZaakTypeSelected: 'Geen zaaktype geselecteerd',
943
+ noZaakTypeLinksFound: "Geen gelinkte zaaktype's gevonden",
944
+ noProcessDefinition: 'Er is geen procesdefinitie geselecteerd',
518
945
  },
519
946
  en: {
520
947
  title: 'OpenZaak',
@@ -523,6 +950,20 @@ const openZaakPluginSpecification = {
523
950
  'set-status': 'Set status',
524
951
  'set-resultaat': 'Set result',
525
952
  'set-besluit': 'Set besluit',
953
+ name: 'Configuration name',
954
+ url: 'OpenZaak URL',
955
+ clientId: 'Client ID',
956
+ secret: 'Secret',
957
+ rsin: 'Rsin',
958
+ catalogusUrl: 'Catalog URL',
959
+ zaakType: 'Zaaktype',
960
+ zaakStatus: 'Zaakstatus',
961
+ zaakResultaat: 'Result',
962
+ besluit: 'Besluit',
963
+ documentDefinition: 'Document definition',
964
+ noZaakTypeSelected: 'No zaaktype selected',
965
+ noZaakTypeLinksFound: 'No linked zaaktypes found',
966
+ noProcessDefinition: 'No process definition is selected',
526
967
  },
527
968
  de: {
528
969
  title: 'OpenZaak',
@@ -531,6 +972,254 @@ const openZaakPluginSpecification = {
531
972
  'set-status': 'Status festlegen',
532
973
  'set-resultaat': 'Ergebnis einstellen',
533
974
  'set-besluit': 'Besluit setzen',
975
+ name: 'Konfigurationsname',
976
+ url: 'OpenZaak URL',
977
+ clientId: 'Client ID',
978
+ secret: 'Secret',
979
+ rsin: 'Rsin',
980
+ catalogusUrl: 'Katalog URL',
981
+ zaakType: 'Zaaktype',
982
+ zaakStatus: 'Zaakstatus',
983
+ zaakResultaat: 'Resultat',
984
+ besluit: 'Besluit',
985
+ documentDefinition: 'Dokumentendefinition',
986
+ noZaakTypeSelected: 'Kein Zaaktype ausgewählt',
987
+ noZaakTypeLinksFound: 'Keine verknüpften Zaaktypen gefunden',
988
+ noProcessDefinition: 'Es ist keine Prozessdefinition ausgewählt',
989
+ },
990
+ },
991
+ };
992
+
993
+ /*
994
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
995
+ *
996
+ * Licensed under EUPL, Version 1.2 (the "License");
997
+ * you may not use this file except in compliance with the License.
998
+ * You may obtain a copy of the License at
999
+ *
1000
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1001
+ *
1002
+ * 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.
1003
+ */
1004
+ class SmartDocumentsConfigurationComponent {
1005
+ constructor() {
1006
+ this.valid = new EventEmitter();
1007
+ this.configuration = new EventEmitter();
1008
+ }
1009
+ formValueChange(formValue) {
1010
+ this.configuration.emit(formValue);
1011
+ this.handleValid(formValue);
1012
+ }
1013
+ handleValid(formValue) {
1014
+ const valid = formValue.name && formValue.url && formValue.password && formValue.username;
1015
+ this.valid.emit(!!valid);
1016
+ }
1017
+ }
1018
+ SmartDocumentsConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1019
+ 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 } });
1020
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsConfigurationComponent, decorators: [{
1021
+ type: Component,
1022
+ 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: [""] }]
1023
+ }], propDecorators: { clear$: [{
1024
+ type: Input
1025
+ }], save$: [{
1026
+ type: Input
1027
+ }], disabled: [{
1028
+ type: Input
1029
+ }], error: [{
1030
+ type: Input
1031
+ }], pluginId: [{
1032
+ type: Input
1033
+ }], valid: [{
1034
+ type: Output
1035
+ }], configuration: [{
1036
+ type: Output
1037
+ }] } });
1038
+
1039
+ /*
1040
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
1041
+ *
1042
+ * Licensed under EUPL, Version 1.2 (the "License");
1043
+ * you may not use this file except in compliance with the License.
1044
+ * You may obtain a copy of the License at
1045
+ *
1046
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1047
+ *
1048
+ * 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.
1049
+ */
1050
+ class GenerateDocumentConfigurationComponent {
1051
+ constructor() {
1052
+ this.valid = new EventEmitter();
1053
+ this.configuration = new EventEmitter();
1054
+ this.FORMATS = ['DOCX', 'HTML', 'PDF', 'XML'];
1055
+ this.FORMAT_SELECT_ITEMS = this.FORMATS.map(format => ({
1056
+ id: format,
1057
+ text: format,
1058
+ }));
1059
+ }
1060
+ formValueChange(formValue) {
1061
+ this.configuration.emit(formValue);
1062
+ this.handleValid(formValue);
1063
+ }
1064
+ handleValid(formValue) {
1065
+ const valid = formValue.templateGroup &&
1066
+ formValue.templateName &&
1067
+ formValue.format &&
1068
+ formValue.templateData.length > 0;
1069
+ this.valid.emit(!!valid);
1070
+ }
1071
+ }
1072
+ GenerateDocumentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: GenerateDocumentConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1073
+ 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 } });
1074
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: GenerateDocumentConfigurationComponent, decorators: [{
1075
+ type: Component,
1076
+ 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: [""] }]
1077
+ }], propDecorators: { clear$: [{
1078
+ type: Input
1079
+ }], save$: [{
1080
+ type: Input
1081
+ }], disabled: [{
1082
+ type: Input
1083
+ }], error: [{
1084
+ type: Input
1085
+ }], pluginId: [{
1086
+ type: Input
1087
+ }], valid: [{
1088
+ type: Output
1089
+ }], configuration: [{
1090
+ type: Output
1091
+ }] } });
1092
+
1093
+ /*
1094
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
1095
+ *
1096
+ * Licensed under EUPL, Version 1.2 (the "License");
1097
+ * you may not use this file except in compliance with the License.
1098
+ * You may obtain a copy of the License at
1099
+ *
1100
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1101
+ *
1102
+ * Unless required by applicable law or agreed to in writing, software
1103
+ * distributed under the License is distributed on an "AS IS" basis,
1104
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1105
+ * See the License for the specific language governing permissions and
1106
+ * limitations under the License.
1107
+ */
1108
+ class SmartDocumentsPluginModule {
1109
+ }
1110
+ SmartDocumentsPluginModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1111
+ SmartDocumentsPluginModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsPluginModule, declarations: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent], imports: [CommonModule,
1112
+ PluginTranslatePipeModule,
1113
+ FormModule,
1114
+ InputModule,
1115
+ SelectModule,
1116
+ MultiInputModule], exports: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent] });
1117
+ SmartDocumentsPluginModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsPluginModule, imports: [[
1118
+ CommonModule,
1119
+ PluginTranslatePipeModule,
1120
+ FormModule,
1121
+ InputModule,
1122
+ SelectModule,
1123
+ MultiInputModule,
1124
+ ]] });
1125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: SmartDocumentsPluginModule, decorators: [{
1126
+ type: NgModule,
1127
+ args: [{
1128
+ declarations: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent],
1129
+ imports: [
1130
+ CommonModule,
1131
+ PluginTranslatePipeModule,
1132
+ FormModule,
1133
+ InputModule,
1134
+ SelectModule,
1135
+ MultiInputModule,
1136
+ ],
1137
+ exports: [SmartDocumentsConfigurationComponent, GenerateDocumentConfigurationComponent],
1138
+ }]
1139
+ }] });
1140
+
1141
+ /*
1142
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
1143
+ *
1144
+ * Licensed under EUPL, Version 1.2 (the "License");
1145
+ * you may not use this file except in compliance with the License.
1146
+ * You may obtain a copy of the License at
1147
+ *
1148
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1149
+ *
1150
+ * 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.
1151
+ */
1152
+ const SMART_DOCUMENTS_PLUGIN_LOGO_BASE64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAA8CAYAAACEhkNqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH5gYXBhEC9x32NwAAIoJJREFUeNrtnXec3VWZ/9/P+d47LT0hpCcTeqRoRCCIBRB3lbVjAwwtyqKy+FMWIR0ICeCqSNldWcykIMoiiIWyIEJwaRZ6Segzk4SYkDqZdsv3fH5/nO/NnblzpwVCVl/58Jowc++555zvOc95+nOusSuxuL7w22TgQuBkYDAg4CngauC/gXZm1O7SqezBOwv3DoxxELAcOJtAVAAGTAX+nUBw6Q5EuAd/B7Bd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8S2JMg8hqLJ3g7cY8blwFnJFUhtJPcSOEygQuFAWw8klk/Wq41yVnLipQe1FPpSUg7pz5oEdQ25yOwHXlqjUFF+MF2v0mwlBMIXDq6MHmrNenJnTuqYrtRGMHbaSDt68CIUEjtbCs8TmREZm7KxViRZG5OSnxhH5Fv8ahvgzpO4nBAHfXeH/t40Y2Ha2e0WLWkYHHsdRDjlZcx7ZMYWg43ObIuCd7V72i8+3HEEk/ng5O/1hGyB5wiVK2MIgdipFEM9zxM41/1A2ZwsV1cf7nBH70F8ANgPYyhiCyFe+Ucze9JL29OR7UgpKfl8lUdHIo4SjDHYhPEk8JBe3tJk+w/bX2JvQnrJC85ZXBWZteb9QRLDgc1mtgpJ6vqlCcMIG+KT52nu+ByVoVjBZfM6SDDMYFNN2r0oUME3l17aQHXKaM760RIfBg7HGJPUKzZgPGbwiM9r+/CBaTafMr7j+KlkzQeasVZZXz9ycAVvnlKS5Rva1gLjDFpTkT1nkPMiBLON0YjTMA5BNAMPSNzqnMnnYiztRiffsHEEIUv4NeDOlLO/eIh3jcJXJK6DCPe3f46u6SUdsYkQAvoBZb5lojuM+NkazLBYWCo4HPXmybvjToxdhwN/+QaRMza3exPQkpWaT9v1zzj2F8FzJMkKl8+98YXOyZPDb1oDgfmYM7wEm04Nc3snyr+qCOLq84SshQkEP1cT4YaXPxAU/ocpfDPYnvTkv3n8fzyzk0lh/r9IAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTIzVDA2OjE3OjAyLTA0OjAwD/f+UwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0yM1QwNjoxNzowMi0wNDowMH6qRu8AAAAASUVORK5CYII=';
1153
+
1154
+ /*
1155
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
1156
+ *
1157
+ * Licensed under EUPL, Version 1.2 (the "License");
1158
+ * you may not use this file except in compliance with the License.
1159
+ * You may obtain a copy of the License at
1160
+ *
1161
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1162
+ *
1163
+ * 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.
1164
+ */
1165
+
1166
+ /*
1167
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
1168
+ *
1169
+ * Licensed under EUPL, Version 1.2 (the "License");
1170
+ * you may not use this file except in compliance with the License.
1171
+ * You may obtain a copy of the License at
1172
+ *
1173
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1174
+ *
1175
+ * 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.
1176
+ */
1177
+ const smartDocumentsPluginSpecification = {
1178
+ pluginId: 'smartdocuments',
1179
+ pluginConfigurationComponent: SmartDocumentsConfigurationComponent,
1180
+ pluginLogoBase64: SMART_DOCUMENTS_PLUGIN_LOGO_BASE64,
1181
+ functionConfigurationComponents: {
1182
+ 'generate-document': GenerateDocumentConfigurationComponent,
1183
+ },
1184
+ pluginTranslations: {
1185
+ nl: {
1186
+ title: 'SmartDocuments',
1187
+ description: 'Automatiseer documenten met slimme templates.',
1188
+ name: 'Configuratienaam',
1189
+ url: 'SmartDocuments URL',
1190
+ username: 'Gebruikersnaam',
1191
+ password: 'Wachtwoord',
1192
+ 'generate-document': 'Document genereren',
1193
+ templateGroup: 'Template-groep',
1194
+ templateName: 'Template-naam',
1195
+ format: 'Documentformaat',
1196
+ templateData: 'Template-data',
1197
+ },
1198
+ en: {
1199
+ title: 'SmartDocuments',
1200
+ description: 'Automate documents with smart templates.',
1201
+ name: 'Configuration name',
1202
+ url: 'SmartDocuments URL',
1203
+ username: 'Username',
1204
+ password: 'Password',
1205
+ 'generate-document': 'Generate document',
1206
+ templateGroup: 'Template group',
1207
+ templateName: 'Template name',
1208
+ format: 'Document format',
1209
+ templateData: 'Template data',
1210
+ },
1211
+ de: {
1212
+ title: 'SmartDocuments',
1213
+ description: 'Automatisieren Sie Dokumente mit intelligenten Templates.',
1214
+ name: 'Konfigurationsname',
1215
+ url: 'SmartDocuments URL',
1216
+ username: 'Nutzername',
1217
+ password: 'Passwort',
1218
+ 'generate-document': 'Dokument generieren',
1219
+ templateGroup: 'Templategruppe',
1220
+ templateName: 'Templatename',
1221
+ format: 'Dokumentformat',
1222
+ templateData: 'Templatedaten',
534
1223
  },
535
1224
  },
536
1225
  };
@@ -551,5 +1240,5 @@ const openZaakPluginSpecification = {
551
1240
  * Generated bundle index. Do not edit.
552
1241
  */
553
1242
 
554
- export { CreateZaakConfigurationComponent, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, SetBesluitConfigurationComponent, SetResultaatConfigurationComponent, SetStatusConfigurationComponent, openZaakPluginSpecification };
1243
+ export { CreateZaakConfigurationComponent, GenerateDocumentConfigurationComponent, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, SelectZaakTypeComponent, SetBesluitConfigurationComponent, SetResultaatConfigurationComponent, SetStatusConfigurationComponent, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, openZaakPluginSpecification, smartDocumentsPluginSpecification };
555
1244
  //# sourceMappingURL=valtimo-plugin.mjs.map