@valtimo/plugin 13.7.0 → 13.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/fesm2022/valtimo-plugin.mjs +563 -180
  2. package/fesm2022/valtimo-plugin.mjs.map +1 -1
  3. package/lib/plugins/zaken-api/components/create-zaaknotitie/create-zaaknotitie-configuration.component.d.ts +26 -0
  4. package/lib/plugins/zaken-api/components/create-zaaknotitie/create-zaaknotitie-configuration.component.d.ts.map +1 -0
  5. package/lib/plugins/zaken-api/components/patch-zaak/patch-zaak-configuration.component.d.ts +9 -5
  6. package/lib/plugins/zaken-api/components/patch-zaak/patch-zaak-configuration.component.d.ts.map +1 -1
  7. package/lib/plugins/zaken-api/components/patch-zaaknotitie/patch-zaaknotitie-configuration.component.d.ts +45 -0
  8. package/lib/plugins/zaken-api/components/patch-zaaknotitie/patch-zaaknotitie-configuration.component.d.ts.map +1 -0
  9. package/lib/plugins/zaken-api/components/zaken-api-configuration/zaken-api-configuration.component.d.ts +9 -4
  10. package/lib/plugins/zaken-api/components/zaken-api-configuration/zaken-api-configuration.component.d.ts.map +1 -1
  11. package/lib/plugins/zaken-api/models/config.d.ts +25 -1
  12. package/lib/plugins/zaken-api/models/config.d.ts.map +1 -1
  13. package/lib/plugins/zaken-api/models/patch-zaak-properties.d.ts.map +1 -1
  14. package/lib/plugins/zaken-api/models/patch-zaaknotitie-properties.d.ts +3 -0
  15. package/lib/plugins/zaken-api/models/patch-zaaknotitie-properties.d.ts.map +1 -0
  16. package/lib/plugins/zaken-api/models/zaaknotificatie-statuses.d.ts +2 -0
  17. package/lib/plugins/zaken-api/models/zaaknotificatie-statuses.d.ts.map +1 -0
  18. package/lib/plugins/zaken-api/models/zaaknotificatie-types.d.ts +2 -0
  19. package/lib/plugins/zaken-api/models/zaaknotificatie-types.d.ts.map +1 -0
  20. package/lib/plugins/zaken-api/zaken-api-plugin.module.d.ts +24 -22
  21. package/lib/plugins/zaken-api/zaken-api-plugin.module.d.ts.map +1 -1
  22. package/lib/plugins/zaken-api/zaken-api-plugin.specification.d.ts.map +1 -1
  23. package/package.json +1 -1
  24. package/public-api.d.ts +3 -0
  25. package/public-api.d.ts.map +1 -1
@@ -14,7 +14,7 @@ import { RouterModule } from '@angular/router';
14
14
  import * as i1$1 from '@angular/common';
15
15
  import { CommonModule } from '@angular/common';
16
16
  import * as i2$2 from '@valtimo/components';
17
- import { ParagraphModule, FormModule, InputModule, ValuePathSelectorPrefix, SelectModule, CarbonMultiInputModule, CARBON_THEME, CurrentCarbonTheme, InputLabelModule, RadioModule, VModalComponent, MultiInputFormModule, TooltipIconModule, ValtimoCdsModalDirective, VModalModule, DatePickerModule as DatePickerModule$1 } from '@valtimo/components';
17
+ import { ParagraphModule, FormModule, InputModule, ValuePathSelectorPrefix, SelectModule, CarbonMultiInputModule, CARBON_THEME, CurrentCarbonTheme, InputLabelModule, RadioModule, ReadOnlyDirective, VModalComponent, MultiInputFormModule, TooltipIconModule, ValtimoCdsModalDirective, VModalModule, DatePickerModule as DatePickerModule$1 } from '@valtimo/components';
18
18
  import { validate } from 'uuid';
19
19
  import * as i1$3 from 'carbon-components-angular';
20
20
  import { ToggleModule, LoadingModule, ButtonModule, DialogModule, IconModule, DatePickerInputModule, DatePickerModule, NotificationModule, TimePickerModule, ModalModule, InputModule as InputModule$1 } from 'carbon-components-angular';
@@ -2892,8 +2892,6 @@ class ZakenApiConfigurationComponent {
2892
2892
  this.pluginTranslationService = pluginTranslationService;
2893
2893
  this.valid = new EventEmitter();
2894
2894
  this.configuration = new EventEmitter();
2895
- this.formValue$ = new BehaviorSubject(null);
2896
- this.valid$ = new BehaviorSubject(false);
2897
2895
  this.authenticationPluginSelectItems$ = combineLatest([
2898
2896
  this.pluginManagementService.getPluginConfigurationsByCategory('zaken-api-authentication'),
2899
2897
  this.translateService.stream('key'),
@@ -2901,26 +2899,54 @@ class ZakenApiConfigurationComponent {
2901
2899
  id: configuration.id,
2902
2900
  text: `${configuration.title} - ${this.pluginTranslationService.instant('title', configuration.pluginDefinition.key)}`,
2903
2901
  }))));
2902
+ this.noteEventListenerEnabled$ = new BehaviorSubject(false);
2903
+ this.formValue$ = new BehaviorSubject(null);
2904
+ this.valid$ = new BehaviorSubject(false);
2904
2905
  }
2905
2906
  ngOnInit() {
2907
+ this.initNoteEventListenerEnabled();
2908
+ this.openEventListenerEnabledSubscription();
2906
2909
  this.openSaveSubscription();
2907
2910
  }
2908
2911
  ngOnDestroy() {
2909
- this.saveSubscription?.unsubscribe();
2912
+ this._saveSubscription?.unsubscribe();
2913
+ this._eventListenerEnabledSubscription?.unsubscribe();
2910
2914
  }
2911
2915
  formValueChange(formValue) {
2912
- this.formValue$.next(formValue);
2913
- this.handleValid(formValue);
2916
+ const formValueIncludingToggle = {
2917
+ ...formValue,
2918
+ noteEventListenerEnabled: this.noteEventListenerEnabled$.getValue()
2919
+ };
2920
+ this.formValue$.next(formValueIncludingToggle);
2921
+ this.handleValid(formValueIncludingToggle);
2922
+ }
2923
+ onNoteEventListenerEnabledChange(event) {
2924
+ this.noteEventListenerEnabled$.next(event);
2925
+ }
2926
+ initNoteEventListenerEnabled() {
2927
+ this.prefillConfiguration$.pipe(take(1)).subscribe(configuration => {
2928
+ this.noteEventListenerEnabled$.next(configuration.noteEventListenerEnabled);
2929
+ });
2930
+ }
2931
+ openEventListenerEnabledSubscription() {
2932
+ this._eventListenerEnabledSubscription = this.noteEventListenerEnabled$.subscribe(value => {
2933
+ this.formValueChange(this.formValue$.getValue());
2934
+ });
2914
2935
  }
2915
2936
  handleValid(formValue) {
2916
2937
  const valid = !!(formValue.configurationTitle &&
2917
2938
  formValue.url &&
2918
- formValue.authenticationPluginConfiguration);
2939
+ formValue.authenticationPluginConfiguration &&
2940
+ formValue.noteEventListenerEnabled !== null &&
2941
+ (formValue.noteEventListenerEnabled === false
2942
+ ||
2943
+ formValue.noteEventListenerEnabled === true &&
2944
+ formValue.noteSubject));
2919
2945
  this.valid$.next(valid);
2920
2946
  this.valid.emit(valid);
2921
2947
  }
2922
2948
  openSaveSubscription() {
2923
- this.saveSubscription = this.save$?.subscribe(save => {
2949
+ this._saveSubscription = this.save$.subscribe(() => {
2924
2950
  combineLatest([this.formValue$, this.valid$])
2925
2951
  .pipe(take(1))
2926
2952
  .subscribe(([formValue, valid]) => {
@@ -2931,11 +2957,11 @@ class ZakenApiConfigurationComponent {
2931
2957
  });
2932
2958
  }
2933
2959
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ZakenApiConfigurationComponent, deps: [{ token: PluginManagementService }, { token: i2.TranslateService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component }); }
2934
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ZakenApiConfigurationComponent, isStandalone: false, selector: "valtimo-zaken-api-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"Zaken API Plugin\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"https://openzaak.example.com/zaken/api/v1/ \"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [tooltip]=\"'authenticationPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2025 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"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "dropUp", "invalid", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "clearable", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme", "appendInline", "dataTestId"], outputs: ["selectedChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
2960
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ZakenApiConfigurationComponent, isStandalone: false, selector: "valtimo-zaken-api-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n noteEventListenerEnabled: noteEventListenerEnabled$ | async\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n placeholder=\"Zaken API Plugin\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [margin]=\"true\"\n [trim]=\"true\"\n >\n </v-input>\n\n <v-input\n name=\"url\"\n placeholder=\"https://openzaak.example.com/zaken/api/v1/ \"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n [defaultValue]=\"obs.prefill?.url\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [margin]=\"true\"\n >\n </v-input>\n\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'authenticationPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [margin]=\"true\"\n [items]=\"authObs.authenticationPluginSelectItems\"\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n ></v-select>\n </ng-container>\n\n <div class=\"input-toggle--small-margin\">\n <v-input-label\n [title]=\"'noteEventListenerEnabled' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'noteEventListenerEnabledTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input-label>\n\n <cds-toggle\n [checked]=\"obs.noteEventListenerEnabled\"\n [disabled]=\"obs.disabled\"\n [onText]=\"'noteEventListenerEnabled.toggleOn' | pluginTranslate: pluginId | async\"\n [offText]=\"'noteEventListenerEnabled.toggleOff' | pluginTranslate: pluginId | async\"\n (checkedChange)=\"onNoteEventListenerEnabledChange($event)\"\n ></cds-toggle>\n </div>\n\n <v-input\n *ngIf=\"obs.noteEventListenerEnabled\"\n name=\"noteSubject\"\n [title]=\"'noteSubject' | pluginTranslate: pluginId | async\"\n [defaultValue]=\"obs.prefill?.noteSubject\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [margin]=\"true\"\n [trim]=\"true\"\n >\n </v-input>\n</v-form>\n", styles: [".input-toggle--small-margin{margin-block-end:var(--v-input-small-margin)}\n/*!\n * Copyright 2015-2025 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"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "dropUp", "invalid", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "clearable", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme", "appendInline", "dataTestId"], outputs: ["selectedChange"] }, { kind: "component", type: i1$3.Toggle, selector: "cds-toggle, ibm-toggle", inputs: ["offText", "onText", "label", "size", "hideLabel", "ariaLabel", "skeleton"] }, { kind: "component", type: i2$2.InputLabelComponent, selector: "v-input-label", inputs: ["name", "tooltip", "tooltipTranslationKey", "largeMargin", "small", "noMargin", "title", "titleTranslationKey", "required", "disabled", "carbonTheme"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
2935
2961
  }
2936
2962
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ZakenApiConfigurationComponent, decorators: [{
2937
2963
  type: Component,
2938
- args: [{ standalone: false, selector: 'valtimo-zaken-api-configuration', template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"Zaken API Plugin\"\n >\n </v-input>\n <v-input\n name=\"url\"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.url\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"https://openzaak.example.com/zaken/api/v1/ \"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [tooltip]=\"'authenticationPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2025 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"] }]
2964
+ args: [{ standalone: false, selector: 'valtimo-zaken-api-configuration', template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n noteEventListenerEnabled: noteEventListenerEnabled$ | async\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n placeholder=\"Zaken API Plugin\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [margin]=\"true\"\n [trim]=\"true\"\n >\n </v-input>\n\n <v-input\n name=\"url\"\n placeholder=\"https://openzaak.example.com/zaken/api/v1/ \"\n [title]=\"'url' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'urlTooltip' | pluginTranslate: pluginId | async\"\n [defaultValue]=\"obs.prefill?.url\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [margin]=\"true\"\n >\n </v-input>\n\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'authenticationPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [margin]=\"true\"\n [items]=\"authObs.authenticationPluginSelectItems\"\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n ></v-select>\n </ng-container>\n\n <div class=\"input-toggle--small-margin\">\n <v-input-label\n [title]=\"'noteEventListenerEnabled' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'noteEventListenerEnabledTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input-label>\n\n <cds-toggle\n [checked]=\"obs.noteEventListenerEnabled\"\n [disabled]=\"obs.disabled\"\n [onText]=\"'noteEventListenerEnabled.toggleOn' | pluginTranslate: pluginId | async\"\n [offText]=\"'noteEventListenerEnabled.toggleOff' | pluginTranslate: pluginId | async\"\n (checkedChange)=\"onNoteEventListenerEnabledChange($event)\"\n ></cds-toggle>\n </div>\n\n <v-input\n *ngIf=\"obs.noteEventListenerEnabled\"\n name=\"noteSubject\"\n [title]=\"'noteSubject' | pluginTranslate: pluginId | async\"\n [defaultValue]=\"obs.prefill?.noteSubject\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [margin]=\"true\"\n [trim]=\"true\"\n >\n </v-input>\n</v-form>\n", styles: [".input-toggle--small-margin{margin-block-end:var(--v-input-small-margin)}\n/*!\n * Copyright 2015-2025 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"] }]
2939
2965
  }], ctorParameters: () => [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }], propDecorators: { save$: [{
2940
2966
  type: Input
2941
2967
  }], disabled$: [{
@@ -4195,6 +4221,195 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
4195
4221
  type: Output
4196
4222
  }] } });
4197
4223
 
4224
+ /*
4225
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
4226
+ *
4227
+ * Licensed under EUPL, Version 1.2 (the "License");
4228
+ * you may not use this file except in compliance with the License.
4229
+ * You may obtain a copy of the License at
4230
+ *
4231
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
4232
+ *
4233
+ * Unless required by applicable law or agreed to in writing, software
4234
+ * distributed under the License is distributed on an "AS IS" basis,
4235
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4236
+ * See the License for the specific language governing permissions and
4237
+ * limitations under the License.
4238
+ */
4239
+ const PatchZaakPropertyOptions = [
4240
+ 'description',
4241
+ 'explanation',
4242
+ 'plannedEndDate',
4243
+ 'finalDeliveryDate',
4244
+ 'publicationDate',
4245
+ 'communicationChannel',
4246
+ 'communicationChannelName',
4247
+ 'paymentIndication',
4248
+ 'lastPaymentDate',
4249
+ 'caseGeometryType',
4250
+ 'caseGeometryCoordinates',
4251
+ 'mainCase',
4252
+ 'archiveActionDate',
4253
+ 'startDateRetentionPeriod',
4254
+ ];
4255
+
4256
+ /*
4257
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
4258
+ *
4259
+ * Licensed under EUPL, Version 1.2 (the "License");
4260
+ * you may not use this file except in compliance with the License.
4261
+ * You may obtain a copy of the License at
4262
+ *
4263
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
4264
+ *
4265
+ * Unless required by applicable law or agreed to in writing, software
4266
+ * distributed under the License is distributed on an "AS IS" basis,
4267
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4268
+ * See the License for the specific language governing permissions and
4269
+ * limitations under the License.
4270
+ */
4271
+ class PatchZaakConfigurationComponent {
4272
+ constructor(iconService) {
4273
+ this.iconService = iconService;
4274
+ this.valid = new EventEmitter();
4275
+ this.configuration = new EventEmitter();
4276
+ this.propertyOptions = Object.values(PatchZaakPropertyOptions);
4277
+ this.propertyList = [];
4278
+ this.geometryTypes = GEOMETRY_TYPES;
4279
+ this.paymentIndicationTypes = PAYMENT_INDICATION_TYPES;
4280
+ this.CASE_GEOMETRY_TYPE = 'caseGeometryType';
4281
+ this.CASE_GEOMETRY_COORDINATES = 'caseGeometryCoordinates';
4282
+ this.PAYMENT_INDICATION_TYPE = 'paymentIndication';
4283
+ this._formValue$ = new BehaviorSubject({});
4284
+ this._properties = new Map();
4285
+ this._valid$ = new BehaviorSubject(false);
4286
+ this.iconService.registerAll([Add16, TrashCan16]);
4287
+ }
4288
+ ngOnInit() {
4289
+ this.initPropertyList();
4290
+ this.openSaveSubscription();
4291
+ }
4292
+ ngOnDestroy() {
4293
+ this._saveSubscription?.unsubscribe();
4294
+ }
4295
+ onFormValueChanged(formValue) {
4296
+ this._formValue$.next(formValue);
4297
+ this.handleValid(formValue);
4298
+ }
4299
+ onPropertyChanged(property, value) {
4300
+ this._properties.set(property, value);
4301
+ const formValue = this._formValue$.value;
4302
+ this._properties.forEach((value, key) => {
4303
+ formValue[key] = value;
4304
+ });
4305
+ this.onFormValueChanged(formValue);
4306
+ }
4307
+ addProperty(property) {
4308
+ if (!this.hasPropertyBeenAdded(property)) {
4309
+ this.propertyList.push(this.propertyFormFieldFor(property));
4310
+ this.onPropertyChanged(property, undefined);
4311
+ }
4312
+ // add linked field coordinates
4313
+ if (property === this.CASE_GEOMETRY_TYPE) {
4314
+ this.addProperty(this.CASE_GEOMETRY_COORDINATES);
4315
+ }
4316
+ }
4317
+ removeProperty(property) {
4318
+ if (this.hasPropertyBeenAdded(property)) {
4319
+ this.propertyList.splice(this.propertyList.findIndex(item => item.name === property), 1);
4320
+ this.onPropertyChanged(property, undefined);
4321
+ }
4322
+ // remove linked field coordinates
4323
+ if (property === this.CASE_GEOMETRY_TYPE) {
4324
+ this.removeProperty(this.CASE_GEOMETRY_COORDINATES);
4325
+ }
4326
+ }
4327
+ hasPropertyBeenAdded(property) {
4328
+ return this.propertyList.findIndex(item => item.name === property) !== -1;
4329
+ }
4330
+ prefillValueFor(property, prefill) {
4331
+ return prefill != null ? prefill[property] : null;
4332
+ }
4333
+ translationKeyForPropertyList(property) {
4334
+ return property === this.CASE_GEOMETRY_TYPE ? 'caseGeometry' : this.translationKeyFor(property);
4335
+ }
4336
+ initPropertyList() {
4337
+ this.prefillConfiguration$.pipe(take(1)).subscribe(prefill => {
4338
+ if (prefill) {
4339
+ PatchZaakPropertyOptions.forEach(property => {
4340
+ if (!!prefill[property])
4341
+ this.addProperty(property);
4342
+ });
4343
+ }
4344
+ });
4345
+ }
4346
+ propertyFormFieldFor(property) {
4347
+ return {
4348
+ name: property,
4349
+ translationKey: this.translationKeyFor(property),
4350
+ tooltipTranslationKey: this.tooltipTranslationKeyFor(property),
4351
+ presetOptions: this.presetOptionsForProperty(property),
4352
+ };
4353
+ }
4354
+ translationKeyFor(property) {
4355
+ return property === 'description' ? 'omschrijving' : property;
4356
+ }
4357
+ tooltipTranslationKeyFor(property) {
4358
+ if (property.includes('Date')) {
4359
+ return 'dateformatTooltip';
4360
+ }
4361
+ else if (property === this.CASE_GEOMETRY_COORDINATES) {
4362
+ return `${property}Tooltip`;
4363
+ }
4364
+ return null;
4365
+ }
4366
+ presetOptionsForProperty(property) {
4367
+ switch (property) {
4368
+ case this.CASE_GEOMETRY_TYPE:
4369
+ return this.geometryTypes;
4370
+ case this.PAYMENT_INDICATION_TYPE:
4371
+ return this.paymentIndicationTypes;
4372
+ default:
4373
+ return [];
4374
+ }
4375
+ }
4376
+ handleValid(formValue) {
4377
+ const isPropertyInvalid = this.propertyList.some(property => !!!formValue[property.name]);
4378
+ const valid = !isPropertyInvalid;
4379
+ this._valid$.next(valid);
4380
+ this.valid.emit(valid);
4381
+ }
4382
+ openSaveSubscription() {
4383
+ this._saveSubscription = this.save$?.subscribe(save => {
4384
+ combineLatest([this._formValue$, this._valid$])
4385
+ .pipe(take(1))
4386
+ .subscribe(([formValue, valid]) => {
4387
+ if (valid) {
4388
+ this.configuration.emit(formValue);
4389
+ }
4390
+ });
4391
+ });
4392
+ }
4393
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PatchZaakConfigurationComponent, deps: [{ token: i1$3.IconService }], target: i0.ɵɵFactoryTarget.Component }); }
4394
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: PatchZaakConfigurationComponent, isStandalone: false, selector: "valtimo-patch-zaak-configuration", inputs: { disabled$: "disabled$", pluginId: "pluginId", save$: "save$", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'patchZaakInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n\n <div class=\"row\">\n <div class=\"col-12\">\n <button\n cdsButton=\"primary\"\n [size]=\"'md'\"\n [cdsOverflowMenu]=\"addPropertyList\"\n [customPane]=\"true\"\n placement=\"bottom\"\n class=\"add-button\"\n >\n {{ 'addPatchZaakProperty' | pluginTranslate: pluginId | async }}\n\n <svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n </button>\n </div>\n </div>\n\n <v-form (valueChange)=\"onFormValueChanged($event)\">\n @for (property of propertyList; track property) {\n <div class=\"row\">\n <div class=\"col-11\">\n <v-input\n [name]=\"property.name\"\n [title]=\"property.translationKey | pluginTranslate: pluginId | async\"\n [tooltip]=\"property.tooltipTranslationKey !== null ? (property.tooltipTranslationKey| pluginTranslate: pluginId | async) : null\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(property.name, obs.prefill)\"\n [margin]=\"true\"\n [presetOptions]=\"property.presetOptions\"\n (valueChange)=\"onPropertyChanged(CASE_GEOMETRY_TYPE, $event)\"\n />\n </div>\n <div class=\"col-1\">\n @if (property.name !== CASE_GEOMETRY_COORDINATES) {\n <button class=\"btn btn-space delete-button\" (click)=\"removeProperty(property.name)\">\n <svg class=\"cds--btn__icon\" cdsIcon=\"trash-can\" size=\"16\"></svg>\n </button>\n }\n </div>\n </div>\n }\n </v-form>\n</ng-container>\n\n<ng-template #addPropertyList>\n @for (propertyOption of propertyOptions; track propertyOption) {\n @if (propertyOption !== CASE_GEOMETRY_COORDINATES) {\n <cds-overflow-menu-option\n *ngIf=\"!hasPropertyBeenAdded(propertyOption)\"\n (click)=\"addProperty(propertyOption)\"\n >\n {{ translationKeyForPropertyList(propertyOption) | pluginTranslate: pluginId | async }}\n </cds-overflow-menu-option>\n }\n }\n</ng-template>\n", styles: ["button.delete-button{height:46px;width:46px;margin-top:20px}button.delete-button:hover{background-color:#e12717}button.add-button{margin-block-end:var(--v-input-margin)}::ng-deep .cds--overflow-menu-options{z-index:10000!important;width:230px}\n/*!\n * Copyright 2015-2025 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"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading", "dataTestId"] }, { kind: "directive", type: i1$3.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "directive", type: i1$3.OverflowMenuDirective, selector: "[cdsOverflowMenu], [ibmOverflowMenu]", inputs: ["ibmOverflowMenu", "cdsOverflowMenu", "flip", "offset", "wrapperClass", "customPane"], exportAs: ["overflowMenu"] }, { kind: "component", type: i1$3.OverflowMenuOption, selector: "cds-overflow-menu-option, ibm-overflow-menu-option", inputs: ["divider", "type", "disabled", "href", "target", "innerClass"], outputs: ["selected"] }, { kind: "directive", type: i1$3.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
4395
+ }
4396
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PatchZaakConfigurationComponent, decorators: [{
4397
+ type: Component,
4398
+ args: [{ standalone: false, selector: 'valtimo-patch-zaak-configuration', template: "<ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'patchZaakInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n\n <div class=\"row\">\n <div class=\"col-12\">\n <button\n cdsButton=\"primary\"\n [size]=\"'md'\"\n [cdsOverflowMenu]=\"addPropertyList\"\n [customPane]=\"true\"\n placement=\"bottom\"\n class=\"add-button\"\n >\n {{ 'addPatchZaakProperty' | pluginTranslate: pluginId | async }}\n\n <svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n </button>\n </div>\n </div>\n\n <v-form (valueChange)=\"onFormValueChanged($event)\">\n @for (property of propertyList; track property) {\n <div class=\"row\">\n <div class=\"col-11\">\n <v-input\n [name]=\"property.name\"\n [title]=\"property.translationKey | pluginTranslate: pluginId | async\"\n [tooltip]=\"property.tooltipTranslationKey !== null ? (property.tooltipTranslationKey| pluginTranslate: pluginId | async) : null\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(property.name, obs.prefill)\"\n [margin]=\"true\"\n [presetOptions]=\"property.presetOptions\"\n (valueChange)=\"onPropertyChanged(CASE_GEOMETRY_TYPE, $event)\"\n />\n </div>\n <div class=\"col-1\">\n @if (property.name !== CASE_GEOMETRY_COORDINATES) {\n <button class=\"btn btn-space delete-button\" (click)=\"removeProperty(property.name)\">\n <svg class=\"cds--btn__icon\" cdsIcon=\"trash-can\" size=\"16\"></svg>\n </button>\n }\n </div>\n </div>\n }\n </v-form>\n</ng-container>\n\n<ng-template #addPropertyList>\n @for (propertyOption of propertyOptions; track propertyOption) {\n @if (propertyOption !== CASE_GEOMETRY_COORDINATES) {\n <cds-overflow-menu-option\n *ngIf=\"!hasPropertyBeenAdded(propertyOption)\"\n (click)=\"addProperty(propertyOption)\"\n >\n {{ translationKeyForPropertyList(propertyOption) | pluginTranslate: pluginId | async }}\n </cds-overflow-menu-option>\n }\n }\n</ng-template>\n", styles: ["button.delete-button{height:46px;width:46px;margin-top:20px}button.delete-button:hover{background-color:#e12717}button.add-button{margin-block-end:var(--v-input-margin)}::ng-deep .cds--overflow-menu-options{z-index:10000!important;width:230px}\n/*!\n * Copyright 2015-2025 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"] }]
4399
+ }], ctorParameters: () => [{ type: i1$3.IconService }], propDecorators: { disabled$: [{
4400
+ type: Input
4401
+ }], pluginId: [{
4402
+ type: Input
4403
+ }], save$: [{
4404
+ type: Input
4405
+ }], prefillConfiguration$: [{
4406
+ type: Input
4407
+ }], valid: [{
4408
+ type: Output
4409
+ }], configuration: [{
4410
+ type: Output
4411
+ }] } });
4412
+
4198
4413
  /*
4199
4414
  * Copyright 2015-2025 Ritense BV, the Netherlands.
4200
4415
  *
@@ -4998,22 +5213,65 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
4998
5213
  * See the License for the specific language governing permissions and
4999
5214
  * limitations under the License.
5000
5215
  */
5001
- const PatchZaakPropertyOptions = [
5002
- 'description',
5003
- 'explanation',
5004
- 'plannedEndDate',
5005
- 'finalDeliveryDate',
5006
- 'publicationDate',
5007
- 'communicationChannel',
5008
- 'communicationChannelName',
5009
- 'paymentIndication',
5010
- 'lastPaymentDate',
5011
- 'caseGeometryType',
5012
- 'caseGeometryCoordinates',
5013
- 'mainCase',
5014
- 'archiveActionDate',
5015
- 'startDateRetentionPeriod',
5016
- ];
5216
+ class GetZaakInformatieobjectenComponent {
5217
+ constructor(pluginManagementService, translateService, pluginTranslationService) {
5218
+ this.pluginManagementService = pluginManagementService;
5219
+ this.translateService = translateService;
5220
+ this.pluginTranslationService = pluginTranslationService;
5221
+ this.valid = new EventEmitter();
5222
+ this.configuration = new EventEmitter();
5223
+ this.formValue$ = new BehaviorSubject(null);
5224
+ this.valid$ = new BehaviorSubject(false);
5225
+ this.authenticationPluginSelectItems$ = combineLatest([
5226
+ this.pluginManagementService.getPluginConfigurationsByCategory('get-zaak-informatieobjecten'),
5227
+ this.translateService.stream('key'),
5228
+ ]).pipe(map$1(([configurations]) => configurations.map(configuration => ({
5229
+ id: configuration.id,
5230
+ text: `${configuration.title} - ${this.pluginTranslationService.instant('title', configuration.pluginDefinition.key)}`,
5231
+ }))));
5232
+ }
5233
+ ngOnInit() {
5234
+ this.openSaveSubscription();
5235
+ }
5236
+ ngOnDestroy() {
5237
+ this.saveSubscription?.unsubscribe();
5238
+ }
5239
+ formValueChange(formValue) {
5240
+ this.formValue$.next(formValue);
5241
+ this.handleValid(formValue);
5242
+ }
5243
+ handleValid(formValue) {
5244
+ const valid = !!formValue.resultProcessVariable;
5245
+ this.valid$.next(valid);
5246
+ this.valid.emit(valid);
5247
+ }
5248
+ openSaveSubscription() {
5249
+ this.saveSubscription = this.save$
5250
+ .pipe(withLatestFrom(this.formValue$, this.valid$), map$1(([_, formValue, valid]) => valid ? formValue : null), tap$1(formValue => {
5251
+ if (formValue)
5252
+ this.configuration.emit(formValue);
5253
+ }))
5254
+ .subscribe();
5255
+ }
5256
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetZaakInformatieobjectenComponent, deps: [{ token: PluginManagementService }, { token: i2.TranslateService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component }); }
5257
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GetZaakInformatieobjectenComponent, isStandalone: false, selector: "valtimo-get-zaak-informatieobjecten-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"resultProcessVariable\"\n [title]=\"'resultProcessVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultProcessVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'resultProcessVariableTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
5258
+ }
5259
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetZaakInformatieobjectenComponent, decorators: [{
5260
+ type: Component,
5261
+ args: [{ standalone: false, selector: 'valtimo-get-zaak-informatieobjecten-configuration', template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"resultProcessVariable\"\n [title]=\"'resultProcessVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultProcessVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'resultProcessVariableTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n</v-form>\n" }]
5262
+ }], ctorParameters: () => [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }], propDecorators: { save$: [{
5263
+ type: Input
5264
+ }], disabled$: [{
5265
+ type: Input
5266
+ }], pluginId: [{
5267
+ type: Input
5268
+ }], prefillConfiguration$: [{
5269
+ type: Input
5270
+ }], valid: [{
5271
+ type: Output
5272
+ }], configuration: [{
5273
+ type: Output
5274
+ }] } });
5017
5275
 
5018
5276
  /*
5019
5277
  * Copyright 2015-2025 Ritense BV, the Netherlands.
@@ -5030,110 +5288,51 @@ const PatchZaakPropertyOptions = [
5030
5288
  * See the License for the specific language governing permissions and
5031
5289
  * limitations under the License.
5032
5290
  */
5033
- class PatchZaakConfigurationComponent {
5034
- constructor(iconService) {
5035
- this.iconService = iconService;
5291
+ class GetZaakbesluitenConfigurationComponent {
5292
+ constructor() {
5036
5293
  this.valid = new EventEmitter();
5037
5294
  this.configuration = new EventEmitter();
5038
- this.propertyOptions = Object.values(PatchZaakPropertyOptions);
5039
- this.propertyList = [];
5040
- this.geometryTypes = GEOMETRY_TYPES;
5041
- this.paymentIndicationTypes = PAYMENT_INDICATION_TYPES;
5042
- this.CASE_GEOMETRY_TYPE = 'caseGeometryType';
5043
- this.CASE_GEOMETRY_COORDINATES = 'caseGeometryCoordinates';
5044
- this.PAYMENT_INDICATION_TYPE = 'paymentIndication';
5045
- this._formValue$ = new BehaviorSubject({});
5046
- this._properties = new Map();
5047
- this._valid$ = new BehaviorSubject(false);
5048
- this.iconService.registerAll([Add16, TrashCan16]);
5295
+ this.formValue$ = new BehaviorSubject(null);
5296
+ this.valid$ = new BehaviorSubject(false);
5049
5297
  }
5050
5298
  ngOnInit() {
5051
5299
  this.openSaveSubscription();
5052
- this.prefillConfiguration$.pipe(take(1)).subscribe(prefill => {
5053
- if (prefill) {
5054
- PatchZaakPropertyOptions.filter(property => !!prefill[property]).forEach(property => this.addProperty(property));
5055
- }
5056
- });
5300
+ this.valid.emit(true);
5057
5301
  }
5058
5302
  ngOnDestroy() {
5059
- this._saveSubscription?.unsubscribe();
5060
- }
5061
- onFormValueChanged(formValue) {
5062
- this._formValue$.next(formValue);
5063
- this.handleValid(formValue);
5064
- }
5065
- onPropertyChanged(property, value) {
5066
- this._properties.set(property, value);
5067
- const formValue = this._formValue$.value;
5068
- this._properties.forEach((value, key) => {
5069
- formValue[key] = value;
5070
- });
5071
- this.onFormValueChanged(formValue);
5072
- }
5073
- prefillValueFor(property, prefill) {
5074
- return prefill != null ? prefill[property] : null;
5075
- }
5076
- translationKeyFor(property) {
5077
- return property === 'description' ? 'omschrijving' : property;
5078
- }
5079
- translationKeyForPropertyList(property) {
5080
- return property === this.CASE_GEOMETRY_TYPE ? 'caseGeometry' : this.translationKeyFor(property);
5081
- }
5082
- addProperty(property) {
5083
- // only add the property to the list if it is not in the list
5084
- if (this.propertyList.indexOf(property) == -1) {
5085
- this.propertyList.push(property);
5086
- this.onPropertyChanged(property, undefined);
5087
- }
5088
- // add linked field coordinates
5089
- if (property === this.CASE_GEOMETRY_TYPE) {
5090
- this.addProperty(this.CASE_GEOMETRY_COORDINATES);
5091
- }
5092
- }
5093
- removeProperty(property) {
5094
- // only remove the property from the list if it is in the list
5095
- if (this.propertyList.indexOf(property) != -1) {
5096
- this.propertyList.splice(this.propertyList.indexOf(property), 1);
5097
- this.onPropertyChanged(property, undefined);
5098
- }
5099
- // remove linked field coordinates
5100
- if (property === this.CASE_GEOMETRY_TYPE) {
5101
- this.removeProperty(this.CASE_GEOMETRY_COORDINATES);
5102
- }
5103
- }
5104
- hasPropertyBeenAdded(property) {
5105
- return this.propertyList.indexOf(property) !== -1;
5106
- }
5107
- handleValid(formValue) {
5108
- const isPropertyInvalid = this.propertyList.some(property => !!!formValue[property]);
5109
- const valid = !isPropertyInvalid;
5110
- this._valid$.next(valid);
5111
- this.valid.emit(valid);
5303
+ this.saveSubscription?.unsubscribe();
5112
5304
  }
5113
5305
  openSaveSubscription() {
5114
- this._saveSubscription = this.save$?.subscribe(save => {
5115
- combineLatest([this._formValue$, this._valid$])
5306
+ this.saveSubscription = this.save$?.subscribe(save => {
5307
+ combineLatest([this.formValue$, this.valid$])
5116
5308
  .pipe(take(1))
5117
5309
  .subscribe(([formValue, valid]) => {
5118
5310
  if (valid) {
5119
- const payload = {};
5120
- this.propertyList.forEach(property => (payload[property] = formValue[property]));
5121
5311
  this.configuration.emit(formValue);
5122
5312
  }
5123
5313
  });
5124
5314
  });
5125
5315
  }
5126
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PatchZaakConfigurationComponent, deps: [{ token: i1$3.IconService }], target: i0.ɵɵFactoryTarget.Component }); }
5127
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: PatchZaakConfigurationComponent, isStandalone: false, selector: "valtimo-patch-zaak-configuration", inputs: { disabled$: "disabled$", pluginId: "pluginId", save$: "save$", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'patchZaakInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n\n <div class=\"row\">\n <div class=\"col-12\">\n <button\n cdsButton=\"primary\"\n [size]=\"'md'\"\n [cdsOverflowMenu]=\"addPropertyList\"\n [customPane]=\"true\"\n placement=\"bottom\"\n class=\"add-button\"\n >\n {{ 'addPatchZaakProperty' | pluginTranslate: pluginId | async }}\n <svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n </button>\n </div>\n </div>\n\n <v-form (valueChange)=\"onFormValueChanged($event)\">\n @for (property of propertyList; track property) {\n <div class=\"row\">\n <div class=\"col-11\">\n @if (property === CASE_GEOMETRY_TYPE) {\n <v-input\n [name]=\"CASE_GEOMETRY_TYPE\"\n [title]=\"translationKeyFor(CASE_GEOMETRY_TYPE) | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(CASE_GEOMETRY_TYPE, obs.prefill)\"\n [margin]=\"true\"\n [presetOptions]=\"geometryTypes\"\n (valueChange)=\"onPropertyChanged(CASE_GEOMETRY_TYPE, $event)\"\n />\n } @else if (property === CASE_GEOMETRY_COORDINATES) {\n <v-input\n [name]=\"CASE_GEOMETRY_COORDINATES\"\n [title]=\"\n translationKeyFor(CASE_GEOMETRY_COORDINATES) | pluginTranslate: pluginId | async\n \"\n [tooltip]=\"translationKeyFor(`${CASE_GEOMETRY_COORDINATES}Tooltip`) | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(CASE_GEOMETRY_COORDINATES, obs.prefill)\"\n [margin]=\"true\"\n (valueChange)=\"onPropertyChanged(CASE_GEOMETRY_COORDINATES, $event)\"\n />\n } @else if (property.includes('Date')) {\n <v-input\n [name]=\"property\"\n [title]=\"translationKeyFor(property) | pluginTranslate: pluginId | async\"\n [tooltip]=\"'dateformatTooltip' | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(property, obs.prefill)\"\n [margin]=\"true\"\n [trim]=\"true\"\n (valueChange)=\"onPropertyChanged(property, $event)\"\n ></v-input>\n } @else {\n <v-input\n [name]=\"property\"\n [title]=\"translationKeyFor(property) | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(property, obs.prefill)\"\n [margin]=\"true\"\n [trim]=\"true\"\n [presetOptions]=\"property === PAYMENT_INDICATION_TYPE ? paymentIndicationTypes : []\"\n (valueChange)=\"onPropertyChanged(property, $event)\"\n />\n }\n </div>\n <div class=\"col-1\">\n @if (property !== CASE_GEOMETRY_COORDINATES) {\n <button class=\"btn btn-space delete-button\" (click)=\"removeProperty(property)\">\n <svg class=\"cds--btn__icon\" cdsIcon=\"trash-can\" size=\"16\"></svg>\n </button>\n }\n </div>\n </div>\n }\n </v-form>\n</ng-container>\n\n<ng-template #addPropertyList>\n @for (propertyOption of propertyOptions; track propertyOption) {\n @if (propertyOption !== CASE_GEOMETRY_COORDINATES) {\n <cds-overflow-menu-option\n *ngIf=\"!hasPropertyBeenAdded(propertyOption)\"\n (click)=\"addProperty(propertyOption)\"\n >\n {{ translationKeyForPropertyList(propertyOption) | pluginTranslate: pluginId | async }}\n </cds-overflow-menu-option>\n }\n }\n</ng-template>\n", styles: ["button.delete-button{height:46px;width:46px;margin-top:20px}button.delete-button:hover{background-color:#e12717}button.add-button{margin-block-end:var(--v-input-margin)}::ng-deep .cds--overflow-menu-options{z-index:10000!important;width:230px}\n/*!\n * Copyright 2015-2025 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"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading", "dataTestId"] }, { kind: "directive", type: i1$3.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "directive", type: i1$3.OverflowMenuDirective, selector: "[cdsOverflowMenu], [ibmOverflowMenu]", inputs: ["ibmOverflowMenu", "cdsOverflowMenu", "flip", "offset", "wrapperClass", "customPane"], exportAs: ["overflowMenu"] }, { kind: "component", type: i1$3.OverflowMenuOption, selector: "cds-overflow-menu-option, ibm-overflow-menu-option", inputs: ["divider", "type", "disabled", "href", "target", "innerClass"], outputs: ["selected"] }, { kind: "directive", type: i1$3.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
5316
+ formValueChange(formValue) {
5317
+ this.formValue$.next(formValue);
5318
+ this.handleValid(formValue);
5319
+ }
5320
+ handleValid(formValue) {
5321
+ const valid = !!formValue.resultProcessVariable;
5322
+ this.valid$.next(valid);
5323
+ this.valid.emit(valid);
5324
+ }
5325
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetZaakbesluitenConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5326
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GetZaakbesluitenConfigurationComponent, isStandalone: false, selector: "valtimo-get-zaakbesluiten-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"resultProcessVariable\"\n [title]=\"'resultProcessVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultProcessVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'resultProcessVariableTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
5128
5327
  }
5129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PatchZaakConfigurationComponent, decorators: [{
5328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetZaakbesluitenConfigurationComponent, decorators: [{
5130
5329
  type: Component,
5131
- args: [{ standalone: false, selector: 'valtimo-patch-zaak-configuration', template: "<ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'patchZaakInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n\n <div class=\"row\">\n <div class=\"col-12\">\n <button\n cdsButton=\"primary\"\n [size]=\"'md'\"\n [cdsOverflowMenu]=\"addPropertyList\"\n [customPane]=\"true\"\n placement=\"bottom\"\n class=\"add-button\"\n >\n {{ 'addPatchZaakProperty' | pluginTranslate: pluginId | async }}\n <svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n </button>\n </div>\n </div>\n\n <v-form (valueChange)=\"onFormValueChanged($event)\">\n @for (property of propertyList; track property) {\n <div class=\"row\">\n <div class=\"col-11\">\n @if (property === CASE_GEOMETRY_TYPE) {\n <v-input\n [name]=\"CASE_GEOMETRY_TYPE\"\n [title]=\"translationKeyFor(CASE_GEOMETRY_TYPE) | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(CASE_GEOMETRY_TYPE, obs.prefill)\"\n [margin]=\"true\"\n [presetOptions]=\"geometryTypes\"\n (valueChange)=\"onPropertyChanged(CASE_GEOMETRY_TYPE, $event)\"\n />\n } @else if (property === CASE_GEOMETRY_COORDINATES) {\n <v-input\n [name]=\"CASE_GEOMETRY_COORDINATES\"\n [title]=\"\n translationKeyFor(CASE_GEOMETRY_COORDINATES) | pluginTranslate: pluginId | async\n \"\n [tooltip]=\"translationKeyFor(`${CASE_GEOMETRY_COORDINATES}Tooltip`) | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(CASE_GEOMETRY_COORDINATES, obs.prefill)\"\n [margin]=\"true\"\n (valueChange)=\"onPropertyChanged(CASE_GEOMETRY_COORDINATES, $event)\"\n />\n } @else if (property.includes('Date')) {\n <v-input\n [name]=\"property\"\n [title]=\"translationKeyFor(property) | pluginTranslate: pluginId | async\"\n [tooltip]=\"'dateformatTooltip' | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(property, obs.prefill)\"\n [margin]=\"true\"\n [trim]=\"true\"\n (valueChange)=\"onPropertyChanged(property, $event)\"\n ></v-input>\n } @else {\n <v-input\n [name]=\"property\"\n [title]=\"translationKeyFor(property) | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(property, obs.prefill)\"\n [margin]=\"true\"\n [trim]=\"true\"\n [presetOptions]=\"property === PAYMENT_INDICATION_TYPE ? paymentIndicationTypes : []\"\n (valueChange)=\"onPropertyChanged(property, $event)\"\n />\n }\n </div>\n <div class=\"col-1\">\n @if (property !== CASE_GEOMETRY_COORDINATES) {\n <button class=\"btn btn-space delete-button\" (click)=\"removeProperty(property)\">\n <svg class=\"cds--btn__icon\" cdsIcon=\"trash-can\" size=\"16\"></svg>\n </button>\n }\n </div>\n </div>\n }\n </v-form>\n</ng-container>\n\n<ng-template #addPropertyList>\n @for (propertyOption of propertyOptions; track propertyOption) {\n @if (propertyOption !== CASE_GEOMETRY_COORDINATES) {\n <cds-overflow-menu-option\n *ngIf=\"!hasPropertyBeenAdded(propertyOption)\"\n (click)=\"addProperty(propertyOption)\"\n >\n {{ translationKeyForPropertyList(propertyOption) | pluginTranslate: pluginId | async }}\n </cds-overflow-menu-option>\n }\n }\n</ng-template>\n", styles: ["button.delete-button{height:46px;width:46px;margin-top:20px}button.delete-button:hover{background-color:#e12717}button.add-button{margin-block-end:var(--v-input-margin)}::ng-deep .cds--overflow-menu-options{z-index:10000!important;width:230px}\n/*!\n * Copyright 2015-2025 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"] }]
5132
- }], ctorParameters: () => [{ type: i1$3.IconService }], propDecorators: { disabled$: [{
5330
+ args: [{ selector: 'valtimo-get-zaakbesluiten-configuration', standalone: false, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"resultProcessVariable\"\n [title]=\"'resultProcessVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultProcessVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'resultProcessVariableTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n" }]
5331
+ }], propDecorators: { save$: [{
5133
5332
  type: Input
5134
- }], pluginId: [{
5333
+ }], disabled$: [{
5135
5334
  type: Input
5136
- }], save$: [{
5335
+ }], pluginId: [{
5137
5336
  type: Input
5138
5337
  }], prefillConfiguration$: [{
5139
5338
  type: Input
@@ -5143,6 +5342,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
5143
5342
  type: Output
5144
5343
  }] } });
5145
5344
 
5345
+ const ZAAKNOTIFICATIE_STATUSES = ['concept', 'definitief'];
5346
+
5347
+ const ZAAKNOTIFICATIE_TYPES = ['intern', 'extern'];
5348
+
5146
5349
  /*
5147
5350
  * Copyright 2015-2025 Ritense BV, the Netherlands.
5148
5351
  *
@@ -5158,60 +5361,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
5158
5361
  * See the License for the specific language governing permissions and
5159
5362
  * limitations under the License.
5160
5363
  */
5161
- class GetZaakInformatieobjectenComponent {
5162
- constructor(pluginManagementService, translateService, pluginTranslationService) {
5163
- this.pluginManagementService = pluginManagementService;
5164
- this.translateService = translateService;
5165
- this.pluginTranslationService = pluginTranslationService;
5364
+ class CreateZaakNotitieConfigurationComponent {
5365
+ constructor() {
5166
5366
  this.valid = new EventEmitter();
5167
5367
  this.configuration = new EventEmitter();
5168
- this.formValue$ = new BehaviorSubject(null);
5169
- this.valid$ = new BehaviorSubject(false);
5170
- this.authenticationPluginSelectItems$ = combineLatest([
5171
- this.pluginManagementService.getPluginConfigurationsByCategory('get-zaak-informatieobjecten'),
5172
- this.translateService.stream('key'),
5173
- ]).pipe(map$1(([configurations]) => configurations.map(configuration => ({
5174
- id: configuration.id,
5175
- text: `${configuration.title} - ${this.pluginTranslationService.instant('title', configuration.pluginDefinition.key)}`,
5176
- }))));
5368
+ this.statusOptions = ZAAKNOTIFICATIE_STATUSES;
5369
+ this.notitieTypeOptions = ZAAKNOTIFICATIE_TYPES;
5370
+ this._formValue$ = new BehaviorSubject(null);
5371
+ this._valid$ = new BehaviorSubject(false);
5177
5372
  }
5178
5373
  ngOnInit() {
5179
5374
  this.openSaveSubscription();
5180
5375
  }
5181
5376
  ngOnDestroy() {
5182
- this.saveSubscription?.unsubscribe();
5377
+ this._saveSubscription?.unsubscribe();
5183
5378
  }
5184
- formValueChange(formValue) {
5185
- this.formValue$.next(formValue);
5186
- this.handleValid(formValue);
5379
+ onFormValueChanged(value) {
5380
+ this._formValue$.next(value);
5381
+ this.handleValid(value);
5187
5382
  }
5188
5383
  handleValid(formValue) {
5189
- const valid = !!formValue.resultProcessVariable;
5190
- this.valid$.next(valid);
5384
+ const valid = !!formValue?.onderwerp && !!formValue?.tekst;
5385
+ this._valid$.next(valid);
5191
5386
  this.valid.emit(valid);
5192
5387
  }
5193
5388
  openSaveSubscription() {
5194
- this.saveSubscription = this.save$
5195
- .pipe(withLatestFrom(this.formValue$, this.valid$), map$1(([_, formValue, valid]) => valid ? formValue : null), tap$1(formValue => {
5196
- if (formValue)
5197
- this.configuration.emit(formValue);
5198
- }))
5199
- .subscribe();
5389
+ this._saveSubscription = this.save$.subscribe(() => {
5390
+ combineLatest([this._formValue$, this._valid$])
5391
+ .pipe(take(1))
5392
+ .subscribe(([formValue, valid]) => {
5393
+ if (valid && formValue) {
5394
+ this.configuration.emit({
5395
+ onderwerp: formValue.onderwerp,
5396
+ tekst: formValue.tekst,
5397
+ aangemaaktDoor: formValue.aangemaaktDoor,
5398
+ notitieType: formValue.notitieType,
5399
+ status: formValue.status,
5400
+ });
5401
+ }
5402
+ });
5403
+ });
5200
5404
  }
5201
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetZaakInformatieobjectenComponent, deps: [{ token: PluginManagementService }, { token: i2.TranslateService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component }); }
5202
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GetZaakInformatieobjectenComponent, isStandalone: false, selector: "valtimo-get-zaak-informatieobjecten-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"resultProcessVariable\"\n [title]=\"'resultProcessVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultProcessVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'resultProcessVariableTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
5405
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CreateZaakNotitieConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5406
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: CreateZaakNotitieConfigurationComponent, isStandalone: false, selector: "valtimo-create-zaaknotitie-configuration", inputs: { save$: "save$", disabled$: "disabled$", prefillConfiguration$: "prefillConfiguration$", pluginId: "pluginId" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 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 disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'createZaakNotitieInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n\n <v-form (valueChange)=\"onFormValueChanged($event)\">\n <v-input\n name=\"onderwerp\"\n [title]=\"'onderwerp' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.onderwerp\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [fullWidth]=\"true\"\n ></v-input>\n\n <v-input\n type=\"textarea\"\n name=\"tekst\"\n [title]=\"'tekst' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.tekst\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [fullWidth]=\"true\"\n ></v-input>\n\n <v-input\n name=\"aangemaaktDoor\"\n [title]=\"'aangemaaktDoor' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aangemaaktDoor\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [trim]=\"true\"\n [fullWidth]=\"true\"\n ></v-input>\n\n <v-input\n name=\"notitieType\"\n [title]=\"'notitieType' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.notitieType\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [trim]=\"true\"\n [fullWidth]=\"true\"\n [presetOptions]=\"notitieTypeOptions\"\n ></v-input>\n\n <v-input\n name=\"status\"\n [title]=\"'status' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.status\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [trim]=\"true\"\n [fullWidth]=\"true\"\n [presetOptions]=\"statusOptions\"\n ></v-input>\n </v-form>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading", "dataTestId"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
5203
5407
  }
5204
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetZaakInformatieobjectenComponent, decorators: [{
5408
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CreateZaakNotitieConfigurationComponent, decorators: [{
5205
5409
  type: Component,
5206
- args: [{ standalone: false, selector: 'valtimo-get-zaak-informatieobjecten-configuration', template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"resultProcessVariable\"\n [title]=\"'resultProcessVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultProcessVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'resultProcessVariableTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n</v-form>\n" }]
5207
- }], ctorParameters: () => [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }], propDecorators: { save$: [{
5410
+ args: [{ standalone: false, selector: 'valtimo-create-zaaknotitie-configuration', template: "<!--\n ~ Copyright 2015-2025 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 disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'createZaakNotitieInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n\n <v-form (valueChange)=\"onFormValueChanged($event)\">\n <v-input\n name=\"onderwerp\"\n [title]=\"'onderwerp' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.onderwerp\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [fullWidth]=\"true\"\n ></v-input>\n\n <v-input\n type=\"textarea\"\n name=\"tekst\"\n [title]=\"'tekst' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.tekst\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [fullWidth]=\"true\"\n ></v-input>\n\n <v-input\n name=\"aangemaaktDoor\"\n [title]=\"'aangemaaktDoor' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aangemaaktDoor\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [trim]=\"true\"\n [fullWidth]=\"true\"\n ></v-input>\n\n <v-input\n name=\"notitieType\"\n [title]=\"'notitieType' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.notitieType\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [trim]=\"true\"\n [fullWidth]=\"true\"\n [presetOptions]=\"notitieTypeOptions\"\n ></v-input>\n\n <v-input\n name=\"status\"\n [title]=\"'status' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.status\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [trim]=\"true\"\n [fullWidth]=\"true\"\n [presetOptions]=\"statusOptions\"\n ></v-input>\n </v-form>\n</ng-container>\n" }]
5411
+ }], propDecorators: { save$: [{
5208
5412
  type: Input
5209
5413
  }], disabled$: [{
5210
5414
  type: Input
5211
- }], pluginId: [{
5212
- type: Input
5213
5415
  }], prefillConfiguration$: [{
5214
5416
  type: Input
5417
+ }], pluginId: [{
5418
+ type: Input
5215
5419
  }], valid: [{
5216
5420
  type: Output
5217
5421
  }], configuration: [{
@@ -5233,23 +5437,135 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
5233
5437
  * See the License for the specific language governing permissions and
5234
5438
  * limitations under the License.
5235
5439
  */
5236
- class GetZaakbesluitenConfigurationComponent {
5237
- constructor() {
5440
+ const PatchZaakNotitiePropertyOptions = [
5441
+ 'onderwerp',
5442
+ 'tekst',
5443
+ 'aangemaaktDoor',
5444
+ 'notitieType',
5445
+ 'status'
5446
+ ];
5447
+
5448
+ /*
5449
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
5450
+ *
5451
+ * Licensed under EUPL, Version 1.2 (the "License");
5452
+ * you may not use this file except in compliance with the License.
5453
+ * You may obtain a copy of the License at
5454
+ *
5455
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
5456
+ *
5457
+ * Unless required by applicable law or agreed to in writing, software
5458
+ * distributed under the License is distributed on an "AS IS" basis,
5459
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5460
+ * See the License for the specific language governing permissions and
5461
+ * limitations under the License.
5462
+ */
5463
+ class PatchZaakNotitieConfigurationComponent {
5464
+ constructor(iconService) {
5465
+ this.iconService = iconService;
5238
5466
  this.valid = new EventEmitter();
5239
5467
  this.configuration = new EventEmitter();
5240
- this.formValue$ = new BehaviorSubject(null);
5241
- this.valid$ = new BehaviorSubject(false);
5468
+ this.propertyOptions = Object.values(PatchZaakNotitiePropertyOptions);
5469
+ this.propertyList = [];
5470
+ this.statusOptions = ZAAKNOTIFICATIE_STATUSES;
5471
+ this.notitieTypeOptions = ZAAKNOTIFICATIE_TYPES;
5472
+ this._formValue$ = new BehaviorSubject({ zaakNotitieUrl: undefined });
5473
+ this._properties = new Map();
5474
+ this._valid$ = new BehaviorSubject(false);
5475
+ this.iconService.registerAll([Add16, TrashCan16]);
5242
5476
  }
5243
5477
  ngOnInit() {
5478
+ this.initPropertyList();
5244
5479
  this.openSaveSubscription();
5245
- this.valid.emit(true);
5246
5480
  }
5247
5481
  ngOnDestroy() {
5248
- this.saveSubscription?.unsubscribe();
5482
+ this._saveSubscription?.unsubscribe();
5483
+ }
5484
+ onFormValueChanged(formValue) {
5485
+ const _formValue = this.formValueIncludingProperties(formValue);
5486
+ this._formValue$.next(_formValue);
5487
+ this.handleValid(_formValue);
5488
+ }
5489
+ onPropertyChanged(property, value) {
5490
+ this._properties.set(property, value);
5491
+ this.onFormValueChanged(this._formValue$.getValue());
5492
+ }
5493
+ addProperty(property) {
5494
+ if (!this.hasPropertyBeenAdded(property)) {
5495
+ this.propertyList.push(this.propertyFormFieldFor(property));
5496
+ this.onPropertyChanged(property, undefined);
5497
+ }
5498
+ }
5499
+ removeProperty(property) {
5500
+ if (this.hasPropertyBeenAdded(property)) {
5501
+ this.propertyList.splice(this.propertyList.findIndex(item => item.name === property), 1);
5502
+ this.onPropertyChanged(property, undefined);
5503
+ }
5504
+ }
5505
+ hasPropertyBeenAdded(property) {
5506
+ return this.propertyList.findIndex(item => item.name === property) !== -1;
5507
+ }
5508
+ prefillValueFor(property, prefill) {
5509
+ return prefill !== null ? prefill[property] : null;
5510
+ }
5511
+ initPropertyList() {
5512
+ this.prefillConfiguration$.pipe(take(1)).subscribe(prefill => {
5513
+ if (prefill) {
5514
+ PatchZaakNotitiePropertyOptions
5515
+ .forEach(property => {
5516
+ if (!!prefill[property])
5517
+ this.addProperty(property);
5518
+ });
5519
+ }
5520
+ });
5521
+ }
5522
+ formValueIncludingProperties(formValue) {
5523
+ this._properties.forEach((value, key) => {
5524
+ formValue[key] = value;
5525
+ });
5526
+ return formValue;
5527
+ }
5528
+ propertyFormFieldFor(property) {
5529
+ return {
5530
+ type: this.inputTypeForProperty(property),
5531
+ name: property,
5532
+ translationKey: this.translationKeyFor(property),
5533
+ presetOptions: this.presetOptionsForProperty(property)
5534
+ };
5535
+ }
5536
+ inputTypeForProperty(property) {
5537
+ switch (property) {
5538
+ case 'tekst':
5539
+ return 'textarea';
5540
+ default:
5541
+ return 'text';
5542
+ }
5543
+ }
5544
+ translationKeyFor(property) {
5545
+ return property;
5546
+ }
5547
+ translationKeyForPropertyList(property) {
5548
+ return this.translationKeyFor(property);
5549
+ }
5550
+ presetOptionsForProperty(property) {
5551
+ switch (property) {
5552
+ case 'notitieType':
5553
+ return this.notitieTypeOptions;
5554
+ case 'status':
5555
+ return this.statusOptions;
5556
+ default:
5557
+ return [];
5558
+ }
5559
+ }
5560
+ handleValid(formValue) {
5561
+ const isPropertyInvalid = this.propertyList.some(property => !!!formValue[property.name]);
5562
+ const valid = !isPropertyInvalid;
5563
+ this._valid$.next(valid);
5564
+ this.valid.emit(valid);
5249
5565
  }
5250
5566
  openSaveSubscription() {
5251
- this.saveSubscription = this.save$?.subscribe(save => {
5252
- combineLatest([this.formValue$, this.valid$])
5567
+ this._saveSubscription = this.save$.subscribe(save => {
5568
+ combineLatest([this._formValue$, this._valid$])
5253
5569
  .pipe(take(1))
5254
5570
  .subscribe(([formValue, valid]) => {
5255
5571
  if (valid) {
@@ -5258,27 +5574,18 @@ class GetZaakbesluitenConfigurationComponent {
5258
5574
  });
5259
5575
  });
5260
5576
  }
5261
- formValueChange(formValue) {
5262
- this.formValue$.next(formValue);
5263
- this.handleValid(formValue);
5264
- }
5265
- handleValid(formValue) {
5266
- const valid = !!formValue.resultProcessVariable;
5267
- this.valid$.next(valid);
5268
- this.valid.emit(valid);
5269
- }
5270
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetZaakbesluitenConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5271
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GetZaakbesluitenConfigurationComponent, isStandalone: false, selector: "valtimo-get-zaakbesluiten-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"resultProcessVariable\"\n [title]=\"'resultProcessVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultProcessVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'resultProcessVariableTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
5577
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PatchZaakNotitieConfigurationComponent, deps: [{ token: i1$3.IconService }], target: i0.ɵɵFactoryTarget.Component }); }
5578
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: PatchZaakNotitieConfigurationComponent, isStandalone: false, selector: "valtimo-patch-zaaknotitie-configuration", inputs: { disabled$: "disabled$", pluginId: "pluginId", save$: "save$", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 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 disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'patchZaakNotitieInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n\n <v-form (valueChange)=\"onFormValueChanged($event)\">\n <v-input\n name=\"zaakNotitieUrl\"\n [title]=\"'zaakNotitieUrl' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'zaakNotitieUrlTooltip' | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"obs.prefill?.zaakNotitieUrl\"\n [disabled]=\"obs.disabled\"\n [margin]=\"true\"\n [trim]=\"true\"\n ></v-input>\n\n <div class=\"row\">\n <div class=\"col-12\">\n <button\n cdsButton=\"primary\"\n class=\"add-button\"\n [size]=\"'md'\"\n [cdsOverflowMenu]=\"addPropertyList\"\n [customPane]=\"true\"\n placement=\"bottom\"\n >\n {{ 'addPatchZaakNotitieProperty' | pluginTranslate: pluginId | async }}\n\n <svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n </button>\n </div>\n </div>\n\n @for (property of propertyList; track property) {\n <div class=\"row\">\n <div class=\"col-11\">\n <v-input\n [type]=\"property.type\"\n [name]=\"property.name\"\n [title]=\"property.translationKey | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(property.name, obs.prefill)\"\n [margin]=\"true\"\n [trim]=\"true\"\n [presetOptions]=\"property.presetOptions\"\n (valueChange)=\"onPropertyChanged(property.name, $event)\"\n />\n </div>\n <div class=\"col-1\">\n <button class=\"btn btn-space delete-button\" (click)=\"removeProperty(property.name)\">\n <svg class=\"cds--btn__icon\" cdsIcon=\"trash-can\" size=\"16\"></svg>\n </button>\n </div>\n </div>\n }\n </v-form>\n</ng-container>\n\n<ng-template #addPropertyList>\n @for (propertyOption of propertyOptions; track propertyOption) {\n <cds-overflow-menu-option\n *ngIf=\"!hasPropertyBeenAdded(propertyOption)\"\n (click)=\"addProperty(propertyOption)\"\n >\n {{ translationKeyForPropertyList(propertyOption) | pluginTranslate: pluginId | async }}\n </cds-overflow-menu-option>\n }\n</ng-template>\n", styles: ["button.delete-button{height:46px;width:46px;margin-top:20px}button.delete-button:hover{background-color:#e12717}button.add-button{margin-block-end:var(--v-input-margin)}::ng-deep .cds--overflow-menu-options{z-index:10000!important;width:230px}\n/*!\n * Copyright 2015-2025 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"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading", "dataTestId"] }, { kind: "directive", type: i1$3.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "directive", type: i1$3.OverflowMenuDirective, selector: "[cdsOverflowMenu], [ibmOverflowMenu]", inputs: ["ibmOverflowMenu", "cdsOverflowMenu", "flip", "offset", "wrapperClass", "customPane"], exportAs: ["overflowMenu"] }, { kind: "component", type: i1$3.OverflowMenuOption, selector: "cds-overflow-menu-option, ibm-overflow-menu-option", inputs: ["divider", "type", "disabled", "href", "target", "innerClass"], outputs: ["selected"] }, { kind: "directive", type: i1$3.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
5272
5579
  }
5273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetZaakbesluitenConfigurationComponent, decorators: [{
5580
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PatchZaakNotitieConfigurationComponent, decorators: [{
5274
5581
  type: Component,
5275
- args: [{ selector: 'valtimo-get-zaakbesluiten-configuration', standalone: false, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"resultProcessVariable\"\n [title]=\"'resultProcessVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultProcessVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'resultProcessVariableTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n" }]
5276
- }], propDecorators: { save$: [{
5277
- type: Input
5278
- }], disabled$: [{
5582
+ args: [{ standalone: false, selector: 'valtimo-patch-zaaknotitie-configuration', template: "<!--\n ~ Copyright 2015-2025 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 disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'patchZaakNotitieInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n\n <v-form (valueChange)=\"onFormValueChanged($event)\">\n <v-input\n name=\"zaakNotitieUrl\"\n [title]=\"'zaakNotitieUrl' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'zaakNotitieUrlTooltip' | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"obs.prefill?.zaakNotitieUrl\"\n [disabled]=\"obs.disabled\"\n [margin]=\"true\"\n [trim]=\"true\"\n ></v-input>\n\n <div class=\"row\">\n <div class=\"col-12\">\n <button\n cdsButton=\"primary\"\n class=\"add-button\"\n [size]=\"'md'\"\n [cdsOverflowMenu]=\"addPropertyList\"\n [customPane]=\"true\"\n placement=\"bottom\"\n >\n {{ 'addPatchZaakNotitieProperty' | pluginTranslate: pluginId | async }}\n\n <svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n </button>\n </div>\n </div>\n\n @for (property of propertyList; track property) {\n <div class=\"row\">\n <div class=\"col-11\">\n <v-input\n [type]=\"property.type\"\n [name]=\"property.name\"\n [title]=\"property.translationKey | pluginTranslate: pluginId | async\"\n [required]=\"true\"\n [defaultValue]=\"prefillValueFor(property.name, obs.prefill)\"\n [margin]=\"true\"\n [trim]=\"true\"\n [presetOptions]=\"property.presetOptions\"\n (valueChange)=\"onPropertyChanged(property.name, $event)\"\n />\n </div>\n <div class=\"col-1\">\n <button class=\"btn btn-space delete-button\" (click)=\"removeProperty(property.name)\">\n <svg class=\"cds--btn__icon\" cdsIcon=\"trash-can\" size=\"16\"></svg>\n </button>\n </div>\n </div>\n }\n </v-form>\n</ng-container>\n\n<ng-template #addPropertyList>\n @for (propertyOption of propertyOptions; track propertyOption) {\n <cds-overflow-menu-option\n *ngIf=\"!hasPropertyBeenAdded(propertyOption)\"\n (click)=\"addProperty(propertyOption)\"\n >\n {{ translationKeyForPropertyList(propertyOption) | pluginTranslate: pluginId | async }}\n </cds-overflow-menu-option>\n }\n</ng-template>\n", styles: ["button.delete-button{height:46px;width:46px;margin-top:20px}button.delete-button:hover{background-color:#e12717}button.add-button{margin-block-end:var(--v-input-margin)}::ng-deep .cds--overflow-menu-options{z-index:10000!important;width:230px}\n/*!\n * Copyright 2015-2025 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"] }]
5583
+ }], ctorParameters: () => [{ type: i1$3.IconService }], propDecorators: { disabled$: [{
5279
5584
  type: Input
5280
5585
  }], pluginId: [{
5281
5586
  type: Input
5587
+ }], save$: [{
5588
+ type: Input
5282
5589
  }], prefillConfiguration$: [{
5283
5590
  type: Input
5284
5591
  }], valid: [{
@@ -5310,13 +5617,14 @@ class ZakenApiPluginModule {
5310
5617
  GetZaakInformatieobjectenComponent,
5311
5618
  SetZaakStatusConfigurationComponent,
5312
5619
  CreateZaakResultaatConfigurationComponent,
5313
- DeleteZaakRolComponent,
5314
5620
  CreateMedewerkerZaakRolComponent,
5315
5621
  CreateNatuurlijkPersoonZaakRolComponent,
5316
5622
  CreateNietNatuurlijkPersoonZaakRolComponent,
5317
5623
  CreateOrganisatorischeEenheidZaakRolComponent,
5318
5624
  CreateVestigingZaakRolComponent,
5625
+ DeleteZaakRolComponent,
5319
5626
  CreateZaakConfigurationComponent,
5627
+ PatchZaakConfigurationComponent,
5320
5628
  SetZaakopschortingComponent,
5321
5629
  StartHersteltermijnConfigurationComponent,
5322
5630
  EndHersteltermijnComponent,
@@ -5326,7 +5634,9 @@ class ZakenApiPluginModule {
5326
5634
  CreateZaakObjectConfigurationComponent,
5327
5635
  RelateerZakenComponent,
5328
5636
  PatchZaakConfigurationComponent,
5329
- GetZaakbesluitenConfigurationComponent], imports: [CommonModule,
5637
+ GetZaakbesluitenConfigurationComponent,
5638
+ CreateZaakNotitieConfigurationComponent,
5639
+ PatchZaakNotitieConfigurationComponent], imports: [CommonModule,
5330
5640
  PluginTranslatePipeModule,
5331
5641
  FormModule,
5332
5642
  InputModule,
@@ -5345,19 +5655,24 @@ class ZakenApiPluginModule {
5345
5655
  FormsModule,
5346
5656
  NotificationModule,
5347
5657
  ReactiveFormsModule,
5348
- TimePickerModule], exports: [ZakenApiConfigurationComponent,
5658
+ TimePickerModule,
5659
+ InputModule,
5660
+ ReactiveFormsModule,
5661
+ ReadOnlyDirective,
5662
+ InputLabelModule], exports: [ZakenApiConfigurationComponent,
5349
5663
  LinkDocumentToZaakConfigurationComponent,
5350
5664
  LinkUploadedDocumentToZaakConfigurationComponent,
5351
5665
  GetZaakInformatieobjectenComponent,
5352
5666
  SetZaakStatusConfigurationComponent,
5353
5667
  CreateZaakResultaatConfigurationComponent,
5354
5668
  CreateZaakConfigurationComponent,
5355
- DeleteZaakRolComponent,
5669
+ PatchZaakConfigurationComponent,
5356
5670
  CreateMedewerkerZaakRolComponent,
5357
5671
  CreateNatuurlijkPersoonZaakRolComponent,
5358
5672
  CreateNietNatuurlijkPersoonZaakRolComponent,
5359
5673
  CreateOrganisatorischeEenheidZaakRolComponent,
5360
5674
  CreateVestigingZaakRolComponent,
5675
+ DeleteZaakRolComponent,
5361
5676
  SetZaakopschortingComponent,
5362
5677
  StartHersteltermijnConfigurationComponent,
5363
5678
  EndHersteltermijnComponent,
@@ -5366,7 +5681,9 @@ class ZakenApiPluginModule {
5366
5681
  DeleteZaakeigenschapComponent,
5367
5682
  CreateZaakObjectConfigurationComponent,
5368
5683
  RelateerZakenComponent,
5369
- GetZaakbesluitenConfigurationComponent] }); }
5684
+ GetZaakbesluitenConfigurationComponent,
5685
+ CreateZaakNotitieConfigurationComponent,
5686
+ PatchZaakNotitieConfigurationComponent] }); }
5370
5687
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ZakenApiPluginModule, imports: [CommonModule,
5371
5688
  PluginTranslatePipeModule,
5372
5689
  FormModule,
@@ -5386,7 +5703,10 @@ class ZakenApiPluginModule {
5386
5703
  FormsModule,
5387
5704
  NotificationModule,
5388
5705
  ReactiveFormsModule,
5389
- TimePickerModule] }); }
5706
+ TimePickerModule,
5707
+ InputModule,
5708
+ ReactiveFormsModule,
5709
+ InputLabelModule] }); }
5390
5710
  }
5391
5711
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ZakenApiPluginModule, decorators: [{
5392
5712
  type: NgModule,
@@ -5398,13 +5718,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
5398
5718
  GetZaakInformatieobjectenComponent,
5399
5719
  SetZaakStatusConfigurationComponent,
5400
5720
  CreateZaakResultaatConfigurationComponent,
5401
- DeleteZaakRolComponent,
5402
5721
  CreateMedewerkerZaakRolComponent,
5403
5722
  CreateNatuurlijkPersoonZaakRolComponent,
5404
5723
  CreateNietNatuurlijkPersoonZaakRolComponent,
5405
5724
  CreateOrganisatorischeEenheidZaakRolComponent,
5406
5725
  CreateVestigingZaakRolComponent,
5726
+ DeleteZaakRolComponent,
5407
5727
  CreateZaakConfigurationComponent,
5728
+ PatchZaakConfigurationComponent,
5408
5729
  SetZaakopschortingComponent,
5409
5730
  StartHersteltermijnConfigurationComponent,
5410
5731
  EndHersteltermijnComponent,
@@ -5415,6 +5736,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
5415
5736
  RelateerZakenComponent,
5416
5737
  PatchZaakConfigurationComponent,
5417
5738
  GetZaakbesluitenConfigurationComponent,
5739
+ CreateZaakNotitieConfigurationComponent,
5740
+ PatchZaakNotitieConfigurationComponent,
5418
5741
  ],
5419
5742
  imports: [
5420
5743
  CommonModule,
@@ -5437,6 +5760,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
5437
5760
  NotificationModule,
5438
5761
  ReactiveFormsModule,
5439
5762
  TimePickerModule,
5763
+ InputModule,
5764
+ ReactiveFormsModule,
5765
+ ReadOnlyDirective,
5766
+ InputLabelModule,
5440
5767
  ],
5441
5768
  exports: [
5442
5769
  ZakenApiConfigurationComponent,
@@ -5446,12 +5773,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
5446
5773
  SetZaakStatusConfigurationComponent,
5447
5774
  CreateZaakResultaatConfigurationComponent,
5448
5775
  CreateZaakConfigurationComponent,
5449
- DeleteZaakRolComponent,
5776
+ PatchZaakConfigurationComponent,
5450
5777
  CreateMedewerkerZaakRolComponent,
5451
5778
  CreateNatuurlijkPersoonZaakRolComponent,
5452
5779
  CreateNietNatuurlijkPersoonZaakRolComponent,
5453
5780
  CreateOrganisatorischeEenheidZaakRolComponent,
5454
5781
  CreateVestigingZaakRolComponent,
5782
+ DeleteZaakRolComponent,
5455
5783
  SetZaakopschortingComponent,
5456
5784
  StartHersteltermijnConfigurationComponent,
5457
5785
  EndHersteltermijnComponent,
@@ -5461,6 +5789,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
5461
5789
  CreateZaakObjectConfigurationComponent,
5462
5790
  RelateerZakenComponent,
5463
5791
  GetZaakbesluitenConfigurationComponent,
5792
+ CreateZaakNotitieConfigurationComponent,
5793
+ PatchZaakNotitieConfigurationComponent,
5464
5794
  ],
5465
5795
  }]
5466
5796
  }] });
@@ -5523,13 +5853,14 @@ const zakenApiPluginSpecification = {
5523
5853
  'get-zaak-informatieobjecten': GetZaakInformatieobjectenComponent,
5524
5854
  'set-zaakstatus': SetZaakStatusConfigurationComponent,
5525
5855
  'create-zaakresultaat': CreateZaakResultaatConfigurationComponent,
5526
- 'delete-zaak-rol': DeleteZaakRolComponent,
5527
5856
  'create-zaak': CreateZaakConfigurationComponent,
5857
+ 'patch-zaak': PatchZaakConfigurationComponent,
5528
5858
  'create-natuurlijk-persoon-zaak-rol': CreateNatuurlijkPersoonZaakRolComponent,
5529
5859
  'create-niet-natuurlijk-persoon-zaak-rol': CreateNietNatuurlijkPersoonZaakRolComponent,
5530
5860
  'create-medewerker-zaak-rol': CreateMedewerkerZaakRolComponent,
5531
5861
  'create-organisatorische-eenheid-zaak-rol': CreateOrganisatorischeEenheidZaakRolComponent,
5532
5862
  'create-vestiging-zaak-rol': CreateVestigingZaakRolComponent,
5863
+ 'delete-zaak-rol': DeleteZaakRolComponent,
5533
5864
  'set-zaakopschorting': SetZaakopschortingComponent,
5534
5865
  'start-hersteltermijn': StartHersteltermijnConfigurationComponent,
5535
5866
  'end-hersteltermijn': EndHersteltermijnComponent,
@@ -5538,8 +5869,9 @@ const zakenApiPluginSpecification = {
5538
5869
  'delete-zaakeigenschap': DeleteZaakeigenschapComponent,
5539
5870
  'create-zaak-object': CreateZaakObjectConfigurationComponent,
5540
5871
  'relateer-zaken': RelateerZakenComponent,
5541
- 'patch-zaak': PatchZaakConfigurationComponent,
5542
5872
  'get-zaakbesluiten': GetZaakbesluitenConfigurationComponent,
5873
+ 'create-zaaknotitie': CreateZaakNotitieConfigurationComponent,
5874
+ 'patch-zaaknotitie': PatchZaakNotitieConfigurationComponent,
5543
5875
  },
5544
5876
  pluginTranslations: {
5545
5877
  nl: {
@@ -5552,6 +5884,11 @@ const zakenApiPluginSpecification = {
5552
5884
  linkUploadedDocumentToZaakMessage: 'Het koppelen van een geupload document aan een zaak heeft geen configuratie nodig.',
5553
5885
  configurationTitle: 'Configuratienaam',
5554
5886
  configurationTitleTooltip: 'Onder deze naam zal de plugin te herkennen zijn in de rest van de applicatie',
5887
+ noteEventListenerEnabled: 'Synchroniseer Dossier notitie als Zaak-notitie naar de Zaak',
5888
+ noteEventListenerEnabledTooltip: 'Wanneer geactiveerd zal bij het aanmaken, updaten of verwijderen van een Dossier notitie deze ook als Zaak-notitie worden gesynchroniseerd naar de Zaak (aangemaakt, bijgewerkt of verwijderd).',
5889
+ 'noteEventListenerEnabled.toggleOn': 'Geactiveerd',
5890
+ 'noteEventListenerEnabled.toggleOff': 'Gedeactiveerd',
5891
+ noteSubject: 'De vaste onderwerp tekst van de Zaak-notitie',
5555
5892
  documentUrl: 'URL naar het document',
5556
5893
  documentUrlTooltip: 'Dit veld ondersteunt URLs en proces variabelen. Gebruik pv:variable om een proces variabele uit te lezen',
5557
5894
  titel: 'Documenttitel',
@@ -5718,6 +6055,18 @@ const zakenApiPluginSpecification = {
5718
6055
  rolUuid: 'Rol UUID',
5719
6056
  rolUuidTooltip: 'De UUID van de rol',
5720
6057
  createZaakrolNietNatuurlijkPersoonIdentifierFieldsInformation: 'Minimaal &eacute;&eacute;n van de volgende velden moet worden ingevuld als identificatie voor de niet natuurlijke persoon:<br/>- Niet natuurlijk persoonsnummer<br/>- Ander niet natuurlijk persoon identificatie<br/>- KVK-nummer<br/>- Vestigingsnummer',
6058
+ 'create-zaaknotitie': 'Zaak-notitie aanmaken',
6059
+ createZaakNotitieInformation: 'Deze actie maakt het mogelijk een Zaak-notitie aan de Zaak in de Zaken API toe te voegen.',
6060
+ 'patch-zaaknotitie': 'Zaak-notitie bijwerken',
6061
+ patchZaakNotitieInformation: 'Deze actie maakt het mogelijk eigenschappen van de Zaak-notitie gekoppeld aan de Zaak in de Zaken API bij te werken.',
6062
+ addPatchZaakNotitieProperty: 'Voeg parameter toe',
6063
+ zaakNotitieUrl: 'Zaak-notitie URL',
6064
+ zaakNotitieUrlTooltip: 'De URL referentie naar de Zaak-notitie in de Zaken API.',
6065
+ onderwerp: 'Onderwerp',
6066
+ tekst: 'Tekst',
6067
+ aangemaaktDoor: 'Aangemaakt door',
6068
+ notitieType: 'Notitietype',
6069
+ status: 'Status',
5721
6070
  },
5722
6071
  en: {
5723
6072
  title: 'Zaken API',
@@ -5729,6 +6078,11 @@ const zakenApiPluginSpecification = {
5729
6078
  linkUploadedDocumentToZaakMessage: 'Linking an uploaded document to a zaak requires no configuration.',
5730
6079
  configurationTitle: 'Configuration name',
5731
6080
  configurationTitleTooltip: 'With this name the plugin will be recognizable in the rest of the application',
6081
+ noteEventListenerEnabled: 'Synchronise Case note as Zaak-notitie to the Zaak',
6082
+ noteEventListenerEnabledTooltip: 'When enabled, when creating, updating or deleting a Case note it will also be synchronized as a Zaak-notitie to the Zaak (created, updated or deleted)',
6083
+ 'noteEventListenerEnabled.toggleOn': 'Enabled',
6084
+ 'noteEventListenerEnabled.toggleOff': 'Disabled',
6085
+ noteSubject: 'The fixed subject text of the Zaak-notitie',
5732
6086
  documentUrl: 'URL to the document',
5733
6087
  documentUrlTooltip: 'This field supports URLs and process variables. Use pv:variable to read a process variable',
5734
6088
  titel: 'Document title',
@@ -5893,7 +6247,19 @@ const zakenApiPluginSpecification = {
5893
6247
  rolUuid: 'Rol UUID',
5894
6248
  rolUuidTooltip: 'The UUID of the rol',
5895
6249
  'get-zaak-informatieobjecten': 'Get zaak informatieobjecten',
5896
- resultProcessVariableTooltip: 'The name of the process variable in which the result is stored.'
6250
+ resultProcessVariableTooltip: 'The name of the process variable in which the result is stored.',
6251
+ 'create-zaaknotitie': 'Create Zaak-notitie',
6252
+ createZaakNotitieInformation: 'This action allows you to add a Zaak-notitie to the Zaak in the Zaken API.',
6253
+ 'patch-zaaknotitie': 'Update Zaak-notitie',
6254
+ patchZaakNotitieInformation: 'This action allows you to update properties of the Zaak-notitie linked to the Zaak in the Zaken API.',
6255
+ addPatchZaakNotitieProperty: 'Add property',
6256
+ zaakNotitieUrl: 'Zaak-notitie URL',
6257
+ zaakNotitieUrlTooltip: 'The reference URL to the Zaak-notitie in the Zaken API',
6258
+ onderwerp: 'Subject',
6259
+ tekst: 'Text',
6260
+ aangemaaktDoor: 'Created by',
6261
+ notitieType: 'Note type',
6262
+ status: 'Status',
5897
6263
  },
5898
6264
  de: {
5899
6265
  title: 'Zaken API',
@@ -5905,6 +6271,11 @@ const zakenApiPluginSpecification = {
5905
6271
  linkUploadedDocumentToZaakMessage: 'Das Verknüpfen eines hochgeladenen Dokuments mit einem Zaak erfordert keine Konfiguration.',
5906
6272
  configurationTitle: 'Konfigurationsname',
5907
6273
  configurationTitleTooltip: 'An diesem Namen wird das Plugin im Rest der Anwendung erkennbar sein',
6274
+ noteEventListenerEnabled: 'Fallnotiz als Zaak-notitie mit Zaak synchronisieren',
6275
+ noteEventListenerEnabledTooltip: 'Wenn aktiviert, wird beim Erstellen, Aktualisieren oder Löschen einer Fallnotiz diese auch als Zaak-notitie mit dem entsprechenden Zaak (erstellt, aktualisiert oder gelöscht) synchronisiert.',
6276
+ 'noteEventListenerEnabled.toggleOn': 'Aktiviert',
6277
+ 'noteEventListenerEnabled.toggleOff': 'Deaktiviert',
6278
+ noteSubject: 'Der festgelegte Betrefftext der Zaak-notitie',
5908
6279
  documentUrl: 'URL zum Dokument',
5909
6280
  documentUrlTooltip: 'Dieses Feld unterstützt URLs und Prozessvariablen. Verwenden Sie pv:Variablen, um eine Prozessvariable zu lesen',
5910
6281
  titel: 'Dokumenttitel',
@@ -6070,6 +6441,18 @@ const zakenApiPluginSpecification = {
6070
6441
  rolUuid: 'Rolle UUID',
6071
6442
  rolUuidTooltip: 'Die UUID der Rolle',
6072
6443
  createZaakrolNietNatuurlijkPersoonIdentifierFieldsInformation: 'At least one of the following fields must be completed to identify the non-natural person:<br/>- Not a natural person identification<br/>- Other not natural person number<br/>- Chamber of Commerce number<br/>- Branch number',
6444
+ 'create-zaaknotitie': 'Zaak-notitie erstellen',
6445
+ createZaakNotitieInformation: 'Mit dieser Aktion können Sie dem Zaak in der Zaken-API eine Zaak-notitie hinzufügen.',
6446
+ 'patch-zaaknotitie': 'Zaak-notitie aktualisieren',
6447
+ patchZaakNotitieInformation: 'Mit dieser Aktion können Sie die Eigenschaften der mit dem Zaak verknüpften Zaak-notitie in der Zaken-API aktualisieren.',
6448
+ addPatchZaakNotitieProperty: 'Parameter hinzufügen',
6449
+ zaakNotitieUrl: 'Zaak-notitie-URL',
6450
+ zaakNotitieUrlTooltip: 'URL-Referenz zur der Zaak-notitie in der Zaken-API',
6451
+ onderwerp: 'Betreff',
6452
+ tekst: 'Text',
6453
+ aangemaaktDoor: 'Erstellt von',
6454
+ notitieType: 'Notiztyp',
6455
+ status: 'Status',
6073
6456
  },
6074
6457
  },
6075
6458
  };
@@ -6686,11 +7069,11 @@ class GetResultaattypenConfigurationComponent {
6686
7069
  });
6687
7070
  }
6688
7071
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetResultaattypenConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6689
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GetResultaattypenConfigurationComponent, isStandalone: false, selector: "valtimo-get-resultaattypen-configuration", inputs: { disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$", save$: "save$" }, outputs: { configuration: "configuration", valid: "valid" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 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 disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'getResultaattypenInformation' | pluginTranslate: pluginId }}\n </v-paragraph>\n\n <v-form (valueChange)=\"formValueChange($event)\">\n <v-input\n name=\"processVariable\"\n [title]=\"'processVariable' | pluginTranslate: pluginId\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.processVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'processVariableTooltip' | pluginTranslate: pluginId\"\n [fullWidth]=\"true\"\n >\n </v-input>\n\n <v-input\n name=\"zaakTypeUrl\"\n [title]=\"'zaakTypeUrl' | pluginTranslate: pluginId\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.zaakTypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [trim]=\"true\"\n [tooltip]=\"'zaakTypeUrlTooltip' | pluginTranslate: pluginId\"\n [fullWidth]=\"true\"\n >\n </v-input>\n </v-form>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading", "dataTestId"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
7072
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GetResultaattypenConfigurationComponent, isStandalone: false, selector: "valtimo-get-resultaattypen-configuration", inputs: { disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$", save$: "save$" }, outputs: { configuration: "configuration", valid: "valid" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 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 disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'getResultaattypenInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n\n <v-form (valueChange)=\"formValueChange($event)\">\n <v-input\n name=\"processVariable\"\n [title]=\"'processVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.processVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'processVariableTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n\n <v-input\n name=\"zaakTypeUrl\"\n [title]=\"'zaakTypeUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.zaakTypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [trim]=\"true\"\n [tooltip]=\"'zaakTypeUrlTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n </v-form>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading", "dataTestId"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
6690
7073
  }
6691
7074
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetResultaattypenConfigurationComponent, decorators: [{
6692
7075
  type: Component,
6693
- args: [{ standalone: false, selector: 'valtimo-get-resultaattypen-configuration', template: "<!--\n ~ Copyright 2015-2025 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 disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'getResultaattypenInformation' | pluginTranslate: pluginId }}\n </v-paragraph>\n\n <v-form (valueChange)=\"formValueChange($event)\">\n <v-input\n name=\"processVariable\"\n [title]=\"'processVariable' | pluginTranslate: pluginId\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.processVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'processVariableTooltip' | pluginTranslate: pluginId\"\n [fullWidth]=\"true\"\n >\n </v-input>\n\n <v-input\n name=\"zaakTypeUrl\"\n [title]=\"'zaakTypeUrl' | pluginTranslate: pluginId\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.zaakTypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [trim]=\"true\"\n [tooltip]=\"'zaakTypeUrlTooltip' | pluginTranslate: pluginId\"\n [fullWidth]=\"true\"\n >\n </v-input>\n </v-form>\n</ng-container>\n" }]
7076
+ args: [{ standalone: false, selector: 'valtimo-get-resultaattypen-configuration', template: "<!--\n ~ Copyright 2015-2025 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 disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'getResultaattypenInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n\n <v-form (valueChange)=\"formValueChange($event)\">\n <v-input\n name=\"processVariable\"\n [title]=\"'processVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.processVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'processVariableTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n\n <v-input\n name=\"zaakTypeUrl\"\n [title]=\"'zaakTypeUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.zaakTypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [trim]=\"true\"\n [tooltip]=\"'zaakTypeUrlTooltip' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n </v-form>\n</ng-container>\n" }]
6694
7077
  }], propDecorators: { disabled$: [{
6695
7078
  type: Input
6696
7079
  }], pluginId: [{
@@ -9804,5 +10187,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
9804
10187
  * Generated bundle index. Do not edit.
9805
10188
  */
9806
10189
 
9807
- export { BesluitenApiConfigurationComponent, BesluitenApiPluginModule, CatalogiApiConfigurationComponent, CatalogiApiPluginModule, CompletePortalTaskComponent, CreateMedewerkerZaakRolComponent, CreateNatuurlijkPersoonZaakRolComponent, CreateNietNatuurlijkPersoonZaakRolComponent, CreateOrganisatorischeEenheidZaakRolComponent, CreatePersoonComponent, CreatePortalTaskComponent, CreateVestigingZaakRolComponent, CreateZaakBesluitConfigurationComponent, CreateZaakConfigurationComponent, CreateZaakObjectConfigurationComponent, CreateZaakResultaatConfigurationComponent, CreateZaakeigenschapComponent, DeleteObjectComponent, DeleteZaakRolComponent, DeleteZaakeigenschapComponent, DocumentenApiConfigurationComponent, DocumentenApiPluginModule, DownloadDocumentConfigurationComponent, EndHersteltermijnComponent, ExactPluginModule, GenerateDocumentConfigurationComponent, GetBesluitConfigurationComponent, GetBesluittypeConfigurationComponent, GetEigenschapConfigurationComponent, GetResultaattypeConfigurationComponent, GetResultaattypenConfigurationComponent, GetStatustypeConfigurationComponent, GetStatustypenConfigurationComponent, GetTemplateNamesComponent, GetZaakInformatieobjectenComponent, GetZaakbesluitenConfigurationComponent, IkoConfigurationComponent, IkoPluginModule, KlantinteractiesApiConfigurationComponent, KlantinteractiesApiPluginModule, LinkDocumentToBesluitConfigurationComponent, LinkDocumentToZaakConfigurationComponent, LinkUploadedDocumentToZaakConfigurationComponent, NotificatiesApiConfigurationComponent, NotificatiesApiPluginModule, ObjectTokenAuthencationConfigurationComponent, ObjectTokenAuthenticationPluginModule, ObjectenApiConfigurationComponent, ObjectenApiPluginModule, ObjecttypenApiConfigurationComponent, ObjecttypenApiPluginModule, OpenKlantTokenAuthenticationConfigurationComponent, OpenKlantTokenAuthenticationPluginModule, OpenNotificatiesConfigurationComponent, OpenNotificatiesPluginModule, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PatchZaakBesluitConfigurationComponent, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginManagementService, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, PortaaltaakConfigurationComponent, PortaaltaakPluginModule, RelateerZakenComponent, SetZaakStatusConfigurationComponent, SetZaakopschortingComponent, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, StartHersteltermijnConfigurationComponent, StoreTempDocumentConfigurationComponent, StoreUploadedDocumentConfigurationComponent, StoreUploadedDocumentInPartsConfigurationComponent, UpdateZaakeigenschapComponent, VerzoekConfigurationComponent, VerzoekPluginModule, ZakenApiConfigurationComponent, ZakenApiPluginModule, besluitenApiPluginSpecification, catalogiApiPluginSpecification, documentenApiPluginSpecification, exactPluginSpecification, ikoPluginSpecification, klantinteractiesApiPluginSpecification, notificatiesApiPluginSpecification, objectTokenAuthenticationPluginSpecification, objectenApiPluginSpecification, objecttypenApiPluginSpecification, openKlantTokenAuthenticationPluginSpecification, openNotificatiesPluginSpecification, openZaakPluginSpecification, portaaltaakPluginSpecification, smartDocumentsPluginSpecification, verzoekPluginSpecification, zakenApiPluginSpecification };
10190
+ export { BesluitenApiConfigurationComponent, BesluitenApiPluginModule, CatalogiApiConfigurationComponent, CatalogiApiPluginModule, CompletePortalTaskComponent, CreateMedewerkerZaakRolComponent, CreateNatuurlijkPersoonZaakRolComponent, CreateNietNatuurlijkPersoonZaakRolComponent, CreateOrganisatorischeEenheidZaakRolComponent, CreatePersoonComponent, CreatePortalTaskComponent, CreateVestigingZaakRolComponent, CreateZaakBesluitConfigurationComponent, CreateZaakConfigurationComponent, CreateZaakNotitieConfigurationComponent, CreateZaakObjectConfigurationComponent, CreateZaakResultaatConfigurationComponent, CreateZaakeigenschapComponent, DeleteObjectComponent, DeleteZaakRolComponent, DeleteZaakeigenschapComponent, DocumentenApiConfigurationComponent, DocumentenApiPluginModule, DownloadDocumentConfigurationComponent, EndHersteltermijnComponent, ExactPluginModule, GenerateDocumentConfigurationComponent, GetBesluitConfigurationComponent, GetBesluittypeConfigurationComponent, GetEigenschapConfigurationComponent, GetResultaattypeConfigurationComponent, GetResultaattypenConfigurationComponent, GetStatustypeConfigurationComponent, GetStatustypenConfigurationComponent, GetTemplateNamesComponent, GetZaakInformatieobjectenComponent, GetZaakbesluitenConfigurationComponent, IkoConfigurationComponent, IkoPluginModule, KlantinteractiesApiConfigurationComponent, KlantinteractiesApiPluginModule, LinkDocumentToBesluitConfigurationComponent, LinkDocumentToZaakConfigurationComponent, LinkUploadedDocumentToZaakConfigurationComponent, NotificatiesApiConfigurationComponent, NotificatiesApiPluginModule, ObjectTokenAuthencationConfigurationComponent, ObjectTokenAuthenticationPluginModule, ObjectenApiConfigurationComponent, ObjectenApiPluginModule, ObjecttypenApiConfigurationComponent, ObjecttypenApiPluginModule, OpenKlantTokenAuthenticationConfigurationComponent, OpenKlantTokenAuthenticationPluginModule, OpenNotificatiesConfigurationComponent, OpenNotificatiesPluginModule, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PatchZaakBesluitConfigurationComponent, PatchZaakConfigurationComponent, PatchZaakNotitieConfigurationComponent, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginManagementService, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, PortaaltaakConfigurationComponent, PortaaltaakPluginModule, RelateerZakenComponent, SetZaakStatusConfigurationComponent, SetZaakopschortingComponent, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, StartHersteltermijnConfigurationComponent, StoreTempDocumentConfigurationComponent, StoreUploadedDocumentConfigurationComponent, StoreUploadedDocumentInPartsConfigurationComponent, UpdateZaakeigenschapComponent, VerzoekConfigurationComponent, VerzoekPluginModule, ZakenApiConfigurationComponent, ZakenApiPluginModule, besluitenApiPluginSpecification, catalogiApiPluginSpecification, documentenApiPluginSpecification, exactPluginSpecification, ikoPluginSpecification, klantinteractiesApiPluginSpecification, notificatiesApiPluginSpecification, objectTokenAuthenticationPluginSpecification, objectenApiPluginSpecification, objecttypenApiPluginSpecification, openKlantTokenAuthenticationPluginSpecification, openNotificatiesPluginSpecification, openZaakPluginSpecification, portaaltaakPluginSpecification, smartDocumentsPluginSpecification, verzoekPluginSpecification, zakenApiPluginSpecification };
9808
10191
  //# sourceMappingURL=valtimo-plugin.mjs.map