@valtimo-plugins/open-product 1.4.0 → 1.4.1

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.
@@ -1,20 +1,20 @@
1
+ import { combineLatest, map, BehaviorSubject, take, Subscription, of, filter, distinctUntilChanged, switchMap, catchError, tap } from 'rxjs';
1
2
  import * as i0 from '@angular/core';
2
3
  import { EventEmitter, Output, Input, Component, Injectable, NgModule } from '@angular/core';
3
- import { BehaviorSubject, combineLatest, map, take, Subscription, of, filter, distinctUntilChanged, switchMap, catchError, tap } from 'rxjs';
4
- import * as i3 from '@valtimo/plugin';
4
+ import * as i1 from '@valtimo/plugin';
5
5
  import { PluginTranslatePipeModule } from '@valtimo/plugin';
6
6
  import * as i2 from '@ngx-translate/core';
7
- import * as i1 from '@angular/common';
7
+ import * as i1$1 from '@angular/common';
8
8
  import { CommonModule } from '@angular/common';
9
9
  import * as i2$1 from '@valtimo/components';
10
10
  import { FormModule, InputModule, SelectModule, CarbonMultiInputModule } from '@valtimo/components';
11
- import * as i1$2 from '@angular/forms';
11
+ import * as i1$3 from '@angular/forms';
12
12
  import { ReactiveFormsModule } from '@angular/forms';
13
13
  import * as i4 from 'carbon-components-angular';
14
14
  import { InputModule as InputModule$1, SelectModule as SelectModule$1 } from 'carbon-components-angular';
15
15
  import * as i2$2 from '@valtimo/shared';
16
16
  import { BaseApiService } from '@valtimo/shared';
17
- import * as i1$1 from '@angular/common/http';
17
+ import * as i1$2 from '@angular/common/http';
18
18
 
19
19
  /*
20
20
  * Copyright 2015-2025 Ritense BV, the Netherlands.
@@ -32,6 +32,31 @@ import * as i1$1 from '@angular/common/http';
32
32
  * limitations under the License.
33
33
  */
34
34
 
35
+ /*
36
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
37
+ *
38
+ * Licensed under EUPL, Version 1.2 (the "License");
39
+ * you may not use this file except in compliance with the License.
40
+ * You may obtain a copy of the License at
41
+ *
42
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
43
+ *
44
+ * Unless required by applicable law or agreed to in writing, software
45
+ * distributed under the License is distributed on an "AS IS" basis,
46
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
47
+ * See the License for the specific language governing permissions and
48
+ * limitations under the License.
49
+ */
50
+ const JA = 'true';
51
+ const NEE = 'false';
52
+ const jaNeeSelectItems$ = (pluginTranslationService, pluginId) => combineLatest([
53
+ pluginTranslationService.translate('ja', pluginId),
54
+ pluginTranslationService.translate('nee', pluginId),
55
+ ]).pipe(map(([ja, nee]) => [{ id: JA, text: ja }, { id: NEE, text: nee }]));
56
+ // Process links written by hand can hold the value as a string ("true"), the UI stores a boolean.
57
+ const toJaNeeSelectionId = (value) => value === true || value === JA ? JA : NEE;
58
+ const fromJaNeeSelectionId = (value) => value === true || value === JA;
59
+
35
60
  /*
36
61
  * Copyright 2015-2025 Ritense BV, the Netherlands.
37
62
  *
@@ -106,13 +131,13 @@ class OpenProductConfigurationComponent {
106
131
  });
107
132
  });
108
133
  }
109
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: OpenProductConfigurationComponent, deps: [{ token: i3.PluginManagementService }, { token: i2.TranslateService }, { token: i3.PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component }); }
110
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: OpenProductConfigurationComponent, isStandalone: false, selector: "valtimo-open-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2024 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=\"Open Product Plugin\"\n >\n </v-input>\n <v-input\n name=\"baseUrl\"\n [title]=\"'baseUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.baseUrl\"\n [required]=\"true\"\n [tooltip]=\"'baseUrlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n ></v-select>\n </ng-container>\n\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2024 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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$1.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", "warn", "warnText", "dataTestId"], outputs: ["selectedChange"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
134
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: OpenProductConfigurationComponent, deps: [{ token: i1.PluginManagementService }, { token: i2.TranslateService }, { token: i1.PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component }); }
135
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: OpenProductConfigurationComponent, isStandalone: false, selector: "valtimo-open-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2024 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=\"Open Product Plugin\"\n >\n </v-input>\n <v-input\n name=\"baseUrl\"\n [title]=\"'baseUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.baseUrl\"\n [required]=\"true\"\n [tooltip]=\"'baseUrlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n ></v-select>\n </ng-container>\n\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2024 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$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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$1.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", "warn", "warnText", "dataTestId"], outputs: ["selectedChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
111
136
  }
112
137
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: OpenProductConfigurationComponent, decorators: [{
113
138
  type: Component,
114
139
  args: [{ standalone: false, selector: 'valtimo-open-product-configuration', template: "<!--\n ~ Copyright 2015-2024 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=\"Open Product Plugin\"\n >\n </v-input>\n <v-input\n name=\"baseUrl\"\n [title]=\"'baseUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.baseUrl\"\n [required]=\"true\"\n [tooltip]=\"'baseUrlTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{authenticationPluginSelectItems: authenticationPluginSelectItems$ | async} as authObs\"\n >\n <v-select\n [items]=\"authObs.authenticationPluginSelectItems\"\n [margin]=\"true\"\n name=\"authenticationPluginConfiguration\"\n [title]=\"'authenticationPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.authenticationPluginConfiguration\"\n [required]=\"true\"\n [loading]=\"!authObs.authenticationPluginSelectItems\"\n ></v-select>\n </ng-container>\n\n</v-form>\n", styles: ["/*!\n * Copyright 2015-2024 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"] }]
115
- }], ctorParameters: () => [{ type: i3.PluginManagementService }, { type: i2.TranslateService }, { type: i3.PluginTranslationService }], propDecorators: { save$: [{
140
+ }], ctorParameters: () => [{ type: i1.PluginManagementService }, { type: i2.TranslateService }, { type: i1.PluginTranslationService }], propDecorators: { save$: [{
116
141
  type: Input
117
142
  }], disabled$: [{
118
143
  type: Input
@@ -160,7 +185,7 @@ class GetProductConfigurationComponent {
160
185
  });
161
186
  }
162
187
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GetProductConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
163
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: GetProductConfigurationComponent, isStandalone: false, selector: "valtimo-get-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"productUuid\"\n [title]=\"'productUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
188
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: GetProductConfigurationComponent, isStandalone: false, selector: "valtimo-get-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"productUuid\"\n [title]=\"'productUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"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$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
164
189
  }
165
190
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GetProductConfigurationComponent, decorators: [{
166
191
  type: Component,
@@ -180,15 +205,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
180
205
  }] } });
181
206
 
182
207
  class CreateProductConfigurationComponent {
183
- constructor() {
208
+ constructor(pluginTranslationService) {
209
+ this.pluginTranslationService = pluginTranslationService;
184
210
  this.valid = new EventEmitter();
185
211
  this.configuration = new EventEmitter();
186
212
  this.formValue$ = new BehaviorSubject(null);
187
213
  this.valid$ = new BehaviorSubject(false);
188
214
  }
189
215
  ngOnInit() {
216
+ this.jaNeeSelectItems$ = jaNeeSelectItems$(this.pluginTranslationService, this.pluginId);
190
217
  this.openSaveSubscription();
191
218
  }
219
+ gepubliceerdSelectionId(prefill) {
220
+ return toJaNeeSelectionId(prefill?.gepubliceerd);
221
+ }
222
+ koppelZaakDocumentenSelectionId(prefill) {
223
+ return toJaNeeSelectionId(prefill?.koppelZaakDocumenten);
224
+ }
192
225
  ngOnDestroy() {
193
226
  this.saveSubscription?.unsubscribe();
194
227
  }
@@ -197,7 +230,12 @@ class CreateProductConfigurationComponent {
197
230
  this.handleValid(formValue);
198
231
  }
199
232
  handleValid(formValue) {
200
- const valid = !!(formValue.productTypeUuid && formValue.eigenaarBsn && formValue.productPrijs && formValue.productStatus && formValue.aanvraagZaakUrn);
233
+ const valid = !!(formValue.productTypeUuid &&
234
+ formValue.eigenaarBsn &&
235
+ formValue.productStatus &&
236
+ formValue.aanvraagZaakUrl &&
237
+ formValue.productPrijs &&
238
+ formValue.productFrequentie);
201
239
  this.valid$.next(valid);
202
240
  this.valid.emit(valid);
203
241
  }
@@ -207,18 +245,22 @@ class CreateProductConfigurationComponent {
207
245
  .pipe(take(1))
208
246
  .subscribe(([formValue, valid]) => {
209
247
  if (valid) {
210
- this.configuration.emit(formValue);
248
+ this.configuration.emit({
249
+ ...formValue,
250
+ gepubliceerd: fromJaNeeSelectionId(formValue.gepubliceerd),
251
+ koppelZaakDocumenten: fromJaNeeSelectionId(formValue.koppelZaakDocumenten),
252
+ });
211
253
  }
212
254
  });
213
255
  });
214
256
  }
215
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CreateProductConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
216
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: CreateProductConfigurationComponent, isStandalone: false, selector: "valtimo-create-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"productNaam\"\n [title]=\"'productNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productTypeUuid\"\n [title]=\"'productTypeUUID' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productTypeUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"eigenaarBsn\"\n [title]=\"'eigenaarBsn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenaarBsn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrn\"\n [title]=\"'aanvraagZaakUrn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrl\"\n [title]=\"'aanvraagZaakUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productPrijs\"\n [title]=\"'productPrijs' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productPrijs\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productFrequentie\"\n [title]=\"'productFrequentie' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productFrequentie\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productStatus\"\n [title]=\"'productStatus' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productStatus\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"gepubliceerd\"\n [title]=\"'gepubliceerd' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.gepubliceerd.toString()\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"dataobjectVariabelNaam\"\n [title]=\"'dataobjectVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.dataobjectVariabelNaam\"\n [disabled]=\"obs.disabled\"\n >\n </v-input>\n</v-form>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
257
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CreateProductConfigurationComponent, deps: [{ token: i1.PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component }); }
258
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: CreateProductConfigurationComponent, isStandalone: false, selector: "valtimo-create-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"productNaam\"\n [title]=\"'productNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productTypeUuid\"\n [title]=\"'productTypeUUID' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productTypeUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"eigenaarBsn\"\n [title]=\"'eigenaarBsn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenaarBsn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrn\"\n [title]=\"'aanvraagZaakUrn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrn\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrl\"\n [title]=\"'aanvraagZaakUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productPrijs\"\n [title]=\"'productPrijs' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productPrijs\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productFrequentie\"\n [title]=\"'productFrequentie' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productFrequentie\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productStatus\"\n [title]=\"'productStatus' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productStatus\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-select\n name=\"gepubliceerd\"\n [items]=\"jaNeeSelectItems$ | async\"\n [title]=\"'gepubliceerd' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultSelectionId]=\"gepubliceerdSelectionId(obs.prefill)\"\n [disabled]=\"obs.disabled\"\n ></v-select>\n <v-input\n name=\"dataobjectVariabelNaam\"\n [title]=\"'dataobjectVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.dataobjectVariabelNaam\"\n [disabled]=\"obs.disabled\"\n >\n </v-input>\n <v-select\n name=\"koppelZaakDocumenten\"\n [items]=\"jaNeeSelectItems$ | async\"\n [title]=\"'koppelZaakDocumenten' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'koppelZaakDocumentenTooltip' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultSelectionId]=\"koppelZaakDocumentenSelectionId(obs.prefill)\"\n [disabled]=\"obs.disabled\"\n ></v-select>\n</v-form>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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$1.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", "warn", "warnText", "dataTestId"], outputs: ["selectedChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
217
259
  }
218
260
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CreateProductConfigurationComponent, decorators: [{
219
261
  type: Component,
220
- args: [{ standalone: false, selector: 'valtimo-create-product-configuration', template: "<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=\"productNaam\"\n [title]=\"'productNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productTypeUuid\"\n [title]=\"'productTypeUUID' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productTypeUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"eigenaarBsn\"\n [title]=\"'eigenaarBsn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenaarBsn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrn\"\n [title]=\"'aanvraagZaakUrn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrl\"\n [title]=\"'aanvraagZaakUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productPrijs\"\n [title]=\"'productPrijs' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productPrijs\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productFrequentie\"\n [title]=\"'productFrequentie' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productFrequentie\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productStatus\"\n [title]=\"'productStatus' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productStatus\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"gepubliceerd\"\n [title]=\"'gepubliceerd' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.gepubliceerd.toString()\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"dataobjectVariabelNaam\"\n [title]=\"'dataobjectVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.dataobjectVariabelNaam\"\n [disabled]=\"obs.disabled\"\n >\n </v-input>\n</v-form>\n" }]
221
- }], propDecorators: { save$: [{
262
+ args: [{ standalone: false, selector: 'valtimo-create-product-configuration', template: "<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=\"productNaam\"\n [title]=\"'productNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productTypeUuid\"\n [title]=\"'productTypeUUID' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productTypeUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"eigenaarBsn\"\n [title]=\"'eigenaarBsn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenaarBsn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrn\"\n [title]=\"'aanvraagZaakUrn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrn\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrl\"\n [title]=\"'aanvraagZaakUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productPrijs\"\n [title]=\"'productPrijs' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productPrijs\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productFrequentie\"\n [title]=\"'productFrequentie' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productFrequentie\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productStatus\"\n [title]=\"'productStatus' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productStatus\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-select\n name=\"gepubliceerd\"\n [items]=\"jaNeeSelectItems$ | async\"\n [title]=\"'gepubliceerd' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultSelectionId]=\"gepubliceerdSelectionId(obs.prefill)\"\n [disabled]=\"obs.disabled\"\n ></v-select>\n <v-input\n name=\"dataobjectVariabelNaam\"\n [title]=\"'dataobjectVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.dataobjectVariabelNaam\"\n [disabled]=\"obs.disabled\"\n >\n </v-input>\n <v-select\n name=\"koppelZaakDocumenten\"\n [items]=\"jaNeeSelectItems$ | async\"\n [title]=\"'koppelZaakDocumenten' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'koppelZaakDocumentenTooltip' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultSelectionId]=\"koppelZaakDocumentenSelectionId(obs.prefill)\"\n [disabled]=\"obs.disabled\"\n ></v-select>\n</v-form>\n" }]
263
+ }], ctorParameters: () => [{ type: i1.PluginTranslationService }], propDecorators: { save$: [{
222
264
  type: Input
223
265
  }], disabled$: [{
224
266
  type: Input
@@ -233,15 +275,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
233
275
  }] } });
234
276
 
235
277
  class UpdateProductConfigurationComponent {
236
- constructor() {
278
+ constructor(pluginTranslationService) {
279
+ this.pluginTranslationService = pluginTranslationService;
237
280
  this.valid = new EventEmitter();
238
281
  this.configuration = new EventEmitter();
239
282
  this.formValue$ = new BehaviorSubject(null);
240
283
  this.valid$ = new BehaviorSubject(false);
241
284
  }
242
285
  ngOnInit() {
286
+ this.jaNeeSelectItems$ = jaNeeSelectItems$(this.pluginTranslationService, this.pluginId);
243
287
  this.openSaveSubscription();
244
288
  }
289
+ koppelZaakDocumentenSelectionId(prefill) {
290
+ return toJaNeeSelectionId(prefill?.koppelZaakDocumenten);
291
+ }
245
292
  ngOnDestroy() {
246
293
  this.saveSubscription?.unsubscribe();
247
294
  }
@@ -260,18 +307,21 @@ class UpdateProductConfigurationComponent {
260
307
  .pipe(take(1))
261
308
  .subscribe(([formValue, valid]) => {
262
309
  if (valid) {
263
- this.configuration.emit(formValue);
310
+ this.configuration.emit({
311
+ ...formValue,
312
+ koppelZaakDocumenten: fromJaNeeSelectionId(formValue.koppelZaakDocumenten),
313
+ });
264
314
  }
265
315
  });
266
316
  });
267
317
  }
268
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UpdateProductConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
269
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: UpdateProductConfigurationComponent, isStandalone: false, selector: "valtimo-update-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"productUuid\"\n [title]=\"'productUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productNaam\"\n [title]=\"'productNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productTypeUuid\"\n [title]=\"'productTypeUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productTypeUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"eigenaarBsn\"\n [title]=\"'eigenaarBsn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenaarBsn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrn\"\n [title]=\"'aanvraagZaakUrn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrl\"\n [title]=\"'aanvraagZaakUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productPrijs\"\n [title]=\"'productPrijs' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productPrijs\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productFrequentie\"\n [title]=\"'productFrequentie' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productFrequentie\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productStatus\"\n [title]=\"'productStatus' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productStatus\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"gepubliceerd\"\n [title]=\"'gepubliceerd' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.gepubliceerd.toString()\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"dataobjectVariabelNaam\"\n [title]=\"'dataobjectVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.dataobjectVariabelNaam\"\n [disabled]=\"obs.disabled\"\n >\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
318
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UpdateProductConfigurationComponent, deps: [{ token: i1.PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component }); }
319
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: UpdateProductConfigurationComponent, isStandalone: false, selector: "valtimo-update-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"productUuid\"\n [title]=\"'productUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productNaam\"\n [title]=\"'productNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productTypeUuid\"\n [title]=\"'productTypeUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productTypeUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"eigenaarBsn\"\n [title]=\"'eigenaarBsn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenaarBsn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrn\"\n [title]=\"'aanvraagZaakUrn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrl\"\n [title]=\"'aanvraagZaakUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productPrijs\"\n [title]=\"'productPrijs' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productPrijs\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productFrequentie\"\n [title]=\"'productFrequentie' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productFrequentie\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productStatus\"\n [title]=\"'productStatus' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productStatus\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"gepubliceerd\"\n [title]=\"'gepubliceerd' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.gepubliceerd.toString()\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"dataobjectVariabelNaam\"\n [title]=\"'dataobjectVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.dataobjectVariabelNaam\"\n [disabled]=\"obs.disabled\"\n >\n </v-input>\n <v-select\n name=\"koppelZaakDocumenten\"\n [items]=\"jaNeeSelectItems$ | async\"\n [title]=\"'koppelZaakDocumenten' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'koppelZaakDocumentenUpdateTooltip' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultSelectionId]=\"koppelZaakDocumentenSelectionId(obs.prefill)\"\n [disabled]=\"obs.disabled\"\n ></v-select>\n <v-input\n name=\"documentenVariabelNaam\"\n [title]=\"'documentenVariabelNaam' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'documentenVariabelNaamTooltip' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.documentenVariabelNaam\"\n [disabled]=\"obs.disabled\"\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$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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$1.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", "warn", "warnText", "dataTestId"], outputs: ["selectedChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
270
320
  }
271
321
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UpdateProductConfigurationComponent, decorators: [{
272
322
  type: Component,
273
- args: [{ standalone: false, selector: 'valtimo-update-product-configuration', template: "<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=\"productUuid\"\n [title]=\"'productUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productNaam\"\n [title]=\"'productNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productTypeUuid\"\n [title]=\"'productTypeUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productTypeUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"eigenaarBsn\"\n [title]=\"'eigenaarBsn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenaarBsn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrn\"\n [title]=\"'aanvraagZaakUrn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrl\"\n [title]=\"'aanvraagZaakUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productPrijs\"\n [title]=\"'productPrijs' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productPrijs\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productFrequentie\"\n [title]=\"'productFrequentie' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productFrequentie\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productStatus\"\n [title]=\"'productStatus' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productStatus\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"gepubliceerd\"\n [title]=\"'gepubliceerd' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.gepubliceerd.toString()\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"dataobjectVariabelNaam\"\n [title]=\"'dataobjectVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.dataobjectVariabelNaam\"\n [disabled]=\"obs.disabled\"\n >\n </v-input>\n</v-form>\n" }]
274
- }], propDecorators: { save$: [{
323
+ args: [{ standalone: false, selector: 'valtimo-update-product-configuration', template: "<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=\"productUuid\"\n [title]=\"'productUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productNaam\"\n [title]=\"'productNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productTypeUuid\"\n [title]=\"'productTypeUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productTypeUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"eigenaarBsn\"\n [title]=\"'eigenaarBsn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenaarBsn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrn\"\n [title]=\"'aanvraagZaakUrn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrn\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"aanvraagZaakUrl\"\n [title]=\"'aanvraagZaakUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productPrijs\"\n [title]=\"'productPrijs' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productPrijs\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productFrequentie\"\n [title]=\"'productFrequentie' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productFrequentie\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"productStatus\"\n [title]=\"'productStatus' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productStatus\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"gepubliceerd\"\n [title]=\"'gepubliceerd' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.gepubliceerd.toString()\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"dataobjectVariabelNaam\"\n [title]=\"'dataobjectVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.dataobjectVariabelNaam\"\n [disabled]=\"obs.disabled\"\n >\n </v-input>\n <v-select\n name=\"koppelZaakDocumenten\"\n [items]=\"jaNeeSelectItems$ | async\"\n [title]=\"'koppelZaakDocumenten' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'koppelZaakDocumentenUpdateTooltip' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultSelectionId]=\"koppelZaakDocumentenSelectionId(obs.prefill)\"\n [disabled]=\"obs.disabled\"\n ></v-select>\n <v-input\n name=\"documentenVariabelNaam\"\n [title]=\"'documentenVariabelNaam' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'documentenVariabelNaamTooltip' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.documentenVariabelNaam\"\n [disabled]=\"obs.disabled\"\n >\n </v-input>\n</v-form>\n" }]
324
+ }], ctorParameters: () => [{ type: i1.PluginTranslationService }], propDecorators: { save$: [{
275
325
  type: Input
276
326
  }], disabled$: [{
277
327
  type: Input
@@ -319,7 +369,7 @@ class DeleteProductConfigurationComponent {
319
369
  });
320
370
  }
321
371
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DeleteProductConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
322
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: DeleteProductConfigurationComponent, isStandalone: false, selector: "valtimo-delete-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"productUuid\"\n [title]=\"'productUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
372
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: DeleteProductConfigurationComponent, isStandalone: false, selector: "valtimo-delete-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"productUuid\"\n [title]=\"'productUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.productUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"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$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
323
373
  }
324
374
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DeleteProductConfigurationComponent, decorators: [{
325
375
  type: Component,
@@ -372,7 +422,7 @@ class GetAllProductsConfigurationComponent {
372
422
  });
373
423
  }
374
424
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GetAllProductsConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
375
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: GetAllProductsConfigurationComponent, isStandalone: false, selector: "valtimo-get-all-products-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"producttypeUuid\"\n [title]=\"'producttypeUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.producttypeUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n >\n </v-input>\n <v-input\n name=\"eigenaarBsn\"\n [title]=\"'eigenaarBsn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenaarBsn\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n >\n </v-input>\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 >\n </v-input>\n <v-input\n name=\"resultaatVariabelNaam\"\n [title]=\"'resultaatVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultaatVariabelNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n >\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
425
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: GetAllProductsConfigurationComponent, isStandalone: false, selector: "valtimo-get-all-products-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"producttypeUuid\"\n [title]=\"'producttypeUuid' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.producttypeUuid\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n >\n </v-input>\n <v-input\n name=\"eigenaarBsn\"\n [title]=\"'eigenaarBsn' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenaarBsn\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n >\n </v-input>\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 >\n </v-input>\n <v-input\n name=\"resultaatVariabelNaam\"\n [title]=\"'resultaatVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultaatVariabelNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\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$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
376
426
  }
377
427
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GetAllProductsConfigurationComponent, decorators: [{
378
428
  type: Component,
@@ -425,7 +475,7 @@ class GetZaakDocumentenConfigurationComponent {
425
475
  });
426
476
  }
427
477
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GetZaakDocumentenConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
428
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: GetZaakDocumentenConfigurationComponent, isStandalone: false, selector: "valtimo-get-zaak-documenten-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"aanvraagZaakUrl\"\n [title]=\"'aanvraagZaakUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"zaakDocumentenVariabelNaam\"\n [title]=\"'zaakDocumentenVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.zaakDocumentenVariabelNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n >\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
478
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: GetZaakDocumentenConfigurationComponent, isStandalone: false, selector: "valtimo-get-zaak-documenten-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<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=\"aanvraagZaakUrl\"\n [title]=\"'aanvraagZaakUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.aanvraagZaakUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n >\n </v-input>\n <v-input\n name=\"zaakDocumentenVariabelNaam\"\n [title]=\"'zaakDocumentenVariabelNaam' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.zaakDocumentenVariabelNaam\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\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$1.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$1.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: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
429
479
  }
430
480
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GetZaakDocumentenConfigurationComponent, decorators: [{
431
481
  type: Component,
@@ -456,13 +506,13 @@ class OpenProductApiService extends BaseApiService {
456
506
  getDataobjectSchema(pluginConfigurationId, producttypeUuid) {
457
507
  return this.httpClient.get(this.getApiUrl(`/management/v1/openproduct/${pluginConfigurationId}/producttypen/${producttypeUuid}/dataobject-schema`));
458
508
  }
459
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: OpenProductApiService, deps: [{ token: i1$1.HttpClient }, { token: i2$2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
509
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: OpenProductApiService, deps: [{ token: i1$2.HttpClient }, { token: i2$2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
460
510
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: OpenProductApiService, providedIn: 'root' }); }
461
511
  }
462
512
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: OpenProductApiService, decorators: [{
463
513
  type: Injectable,
464
514
  args: [{ providedIn: 'root' }]
465
- }], ctorParameters: () => [{ type: i1$1.HttpClient }, { type: i2$2.ConfigService }] });
515
+ }], ctorParameters: () => [{ type: i1$2.HttpClient }, { type: i2$2.ConfigService }] });
466
516
 
467
517
  /*
468
518
  * Copyright 2015-2025 Ritense BV, the Netherlands.
@@ -694,13 +744,13 @@ class CreateOrUpdateProductConfigurationComponent {
694
744
  withoutPvPrefix(stored) {
695
745
  return stored?.startsWith(PV_PREFIX) ? stored.substring(PV_PREFIX.length) : stored ?? '';
696
746
  }
697
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CreateOrUpdateProductConfigurationComponent, deps: [{ token: i1$2.FormBuilder }, { token: OpenProductApiService }], target: i0.ɵɵFactoryTarget.Component }); }
698
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: CreateOrUpdateProductConfigurationComponent, isStandalone: false, selector: "valtimo-create-or-update-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$", selectedPluginConfigurationData$: "selectedPluginConfigurationData$" }, 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<form class=\"create-or-update-product\" [formGroup]=\"form\">\n <cds-select\n class=\"create-or-update-product__field\"\n formControlName=\"producttypeUuid\"\n data-testid=\"producttype\"\n [label]=\"'producttypeKeuze' | pluginTranslate: pluginId | async\"\n [helperText]=\"'producttypeKeuzeTooltip' | pluginTranslate: pluginId | async\"\n >\n <option value=\"\" disabled hidden>{{ 'producttypeKiezen' | pluginTranslate: pluginId | async }}</option>\n <option *ngFor=\"let producttype of producttypen$ | async\" [value]=\"producttype.uuid\">\n {{ producttype.naam || producttype.code || producttype.uuid }}\n </option>\n </cds-select>\n <p *ngIf=\"loadError$ | async\" class=\"create-or-update-product__error\" data-testid=\"load-error\">\n {{ 'openProductNietBereikbaar' | pluginTranslate: pluginId | async }}\n </p>\n\n <h4 class=\"create-or-update-product__heading\">{{ 'eigenaarKop' | pluginTranslate: pluginId | async }}</h4>\n <cds-select\n class=\"create-or-update-product__field\"\n formControlName=\"eigenaarType\"\n data-testid=\"eigenaarType\"\n [label]=\"'eigenaarType' | pluginTranslate: pluginId | async\"\n >\n <option *ngFor=\"let eigenaarType of eigenaarTypes\" [value]=\"eigenaarType\">\n {{ 'eigenaarType_' + eigenaarType | pluginTranslate: pluginId | async }}\n </option>\n </cds-select>\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: form.get('eigenaarIdentificatie'), fieldKey: 'eigenaarIdentificatie', label: 'eigenaarIdentificatie', required: true}\"\n ></ng-container>\n <ng-container *ngIf=\"form.get('eigenaarType').value === 'kvk_nummer'\">\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: form.get('eigenaarVestigingsnummer'), fieldKey: 'eigenaarVestigingsnummer', label: 'eigenaarVestigingsnummer'}\"\n ></ng-container>\n </ng-container>\n\n <h4 class=\"create-or-update-product__heading\">{{ 'productgegevensKop' | pluginTranslate: pluginId | async }}</h4>\n <p class=\"create-or-update-product__hint\">{{ 'productgegevensUitleg' | pluginTranslate: pluginId | async }}</p>\n <ng-container *ngFor=\"let field of standardFields\">\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: form.get(['standard', field.key]), fieldKey: field.key, label: field.key, options: field.options}\"\n ></ng-container>\n </ng-container>\n <cds-text-label class=\"create-or-update-product__field\" [helperText]=\"'documentenTooltip' | pluginTranslate: pluginId | async\">\n {{ 'documenten' | pluginTranslate: pluginId | async }}\n <input cdsText formControlName=\"documenten\" data-testid=\"documenten\" />\n </cds-text-label>\n\n <h4 class=\"create-or-update-product__heading\">{{ 'dataobjectKop' | pluginTranslate: pluginId | async }}</h4>\n <p\n *ngIf=\"form.get('producttypeUuid').value && !(dataobjectFields$ | async)?.length\"\n class=\"create-or-update-product__hint\"\n data-testid=\"no-dataobject-fields\"\n >\n {{ 'geenDataobjectVelden' | pluginTranslate: pluginId | async }}\n </p>\n <ng-container *ngFor=\"let field of dataobjectFields$ | async; let index = index\">\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: dataobjectArray.at(index), fieldKey: 'dataobject.' + field.key, text: field.key + (field.type ? ' (' + field.type + ')' : ''), required: field.required}\"\n ></ng-container>\n </ng-container>\n\n <cds-text-label class=\"create-or-update-product__field\" [helperText]=\"'resultaatVariabelNaamTooltip' | pluginTranslate: pluginId | async\">\n {{ 'resultaatVariabelNaamUpsert' | pluginTranslate: pluginId | async }}\n <input cdsText formControlName=\"resultaatVariabelNaam\" placeholder=\"productUuid\" data-testid=\"resultaatVariabelNaam\" />\n </cds-text-label>\n</form>\n\n<ng-template #valueRow let-group=\"group\" let-fieldKey=\"fieldKey\" let-label=\"label\" let-text=\"text\" let-options=\"options\" let-required=\"required\">\n <div class=\"create-or-update-product__value-row\" [formGroup]=\"group\" [attr.data-testid]=\"'row-' + fieldKey\">\n <span class=\"create-or-update-product__value-label\">\n {{ text || (label | pluginTranslate: pluginId | async) }}<span *ngIf=\"required\"> *</span>\n </span>\n <cds-select size=\"sm\" formControlName=\"mode\" [attr.data-testid]=\"'mode-' + fieldKey\">\n <option value=\"fixed\">{{ 'vasteWaarde' | pluginTranslate: pluginId | async }}</option>\n <option value=\"pv\">{{ 'procesvariabele' | pluginTranslate: pluginId | async }}</option>\n </cds-select>\n <cds-select\n *ngIf=\"options && group.get('mode').value === 'fixed'; else textInput\"\n size=\"sm\"\n formControlName=\"value\"\n [attr.data-testid]=\"'value-' + fieldKey\"\n >\n <option value=\"\"></option>\n <option *ngFor=\"let option of options\" [value]=\"option\">{{ option }}</option>\n </cds-select>\n <ng-template #textInput>\n <input\n cdsText\n size=\"sm\"\n formControlName=\"value\"\n [attr.data-testid]=\"'value-' + fieldKey\"\n [placeholder]=\"(group.get('mode').value === 'pv' ? 'procesvariabeleNaam' : 'vasteWaarde') | pluginTranslate: pluginId | async\"\n />\n </ng-template>\n </div>\n</ng-template>\n", styles: [".create-or-update-product{display:flex;flex-direction:column;gap:16px}.create-or-update-product__heading{margin-top:8px}.create-or-update-product__value-row{display:grid;grid-template-columns:minmax(160px,1fr) 180px 2fr;gap:8px;align-items:center}.create-or-update-product__error{color:var(--cds-text-error)}.create-or-update-product__hint{color:var(--cds-text-secondary)}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.TextInputLabelComponent, selector: "cds-text-label, ibm-text-label", inputs: ["labelInputID", "disabled", "skeleton", "labelTemplate", "textInputTemplate", "helperText", "invalidText", "invalid", "warn", "warnText", "ariaLabel", "fluid"] }, { kind: "directive", type: i4.TextInput, selector: "[cdsText], [ibmText]", inputs: ["theme", "size", "invalid", "warn", "skeleton"] }, { kind: "component", type: i4.Select, selector: "cds-select, ibm-select", inputs: ["value", "display", "label", "helperText", "invalidText", "warn", "warnText", "id", "size", "disabled", "skeleton", "invalid", "readonly", "theme", "ariaLabel", "fluid"], outputs: ["valueChange"] }, { kind: "directive", type: i4.Option, selector: "option" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
747
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CreateOrUpdateProductConfigurationComponent, deps: [{ token: i1$3.FormBuilder }, { token: OpenProductApiService }], target: i0.ɵɵFactoryTarget.Component }); }
748
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: CreateOrUpdateProductConfigurationComponent, isStandalone: false, selector: "valtimo-create-or-update-product-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$", selectedPluginConfigurationData$: "selectedPluginConfigurationData$" }, 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<form class=\"create-or-update-product\" [formGroup]=\"form\">\n <cds-select\n class=\"create-or-update-product__field\"\n formControlName=\"producttypeUuid\"\n data-testid=\"producttype\"\n [label]=\"'producttypeKeuze' | pluginTranslate: pluginId | async\"\n [helperText]=\"'producttypeKeuzeTooltip' | pluginTranslate: pluginId | async\"\n >\n <option value=\"\" disabled hidden>{{ 'producttypeKiezen' | pluginTranslate: pluginId | async }}</option>\n <option *ngFor=\"let producttype of producttypen$ | async\" [value]=\"producttype.uuid\">\n {{ producttype.naam || producttype.code || producttype.uuid }}\n </option>\n </cds-select>\n <p *ngIf=\"loadError$ | async\" class=\"create-or-update-product__error\" data-testid=\"load-error\">\n {{ 'openProductNietBereikbaar' | pluginTranslate: pluginId | async }}\n </p>\n\n <h4 class=\"create-or-update-product__heading\">{{ 'eigenaarKop' | pluginTranslate: pluginId | async }}</h4>\n <cds-select\n class=\"create-or-update-product__field\"\n formControlName=\"eigenaarType\"\n data-testid=\"eigenaarType\"\n [label]=\"'eigenaarType' | pluginTranslate: pluginId | async\"\n >\n <option *ngFor=\"let eigenaarType of eigenaarTypes\" [value]=\"eigenaarType\">\n {{ 'eigenaarType_' + eigenaarType | pluginTranslate: pluginId | async }}\n </option>\n </cds-select>\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: form.get('eigenaarIdentificatie'), fieldKey: 'eigenaarIdentificatie', label: 'eigenaarIdentificatie', required: true}\"\n ></ng-container>\n <ng-container *ngIf=\"form.get('eigenaarType').value === 'kvk_nummer'\">\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: form.get('eigenaarVestigingsnummer'), fieldKey: 'eigenaarVestigingsnummer', label: 'eigenaarVestigingsnummer'}\"\n ></ng-container>\n </ng-container>\n\n <h4 class=\"create-or-update-product__heading\">{{ 'productgegevensKop' | pluginTranslate: pluginId | async }}</h4>\n <p class=\"create-or-update-product__hint\">{{ 'productgegevensUitleg' | pluginTranslate: pluginId | async }}</p>\n <ng-container *ngFor=\"let field of standardFields\">\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: form.get(['standard', field.key]), fieldKey: field.key, label: field.key, options: field.options}\"\n ></ng-container>\n </ng-container>\n <cds-text-label class=\"create-or-update-product__field\" [helperText]=\"'documentenTooltip' | pluginTranslate: pluginId | async\">\n {{ 'documenten' | pluginTranslate: pluginId | async }}\n <input cdsText formControlName=\"documenten\" data-testid=\"documenten\" />\n </cds-text-label>\n\n <h4 class=\"create-or-update-product__heading\">{{ 'dataobjectKop' | pluginTranslate: pluginId | async }}</h4>\n <p\n *ngIf=\"form.get('producttypeUuid').value && !(dataobjectFields$ | async)?.length\"\n class=\"create-or-update-product__hint\"\n data-testid=\"no-dataobject-fields\"\n >\n {{ 'geenDataobjectVelden' | pluginTranslate: pluginId | async }}\n </p>\n <ng-container *ngFor=\"let field of dataobjectFields$ | async; let index = index\">\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: dataobjectArray.at(index), fieldKey: 'dataobject.' + field.key, text: field.key + (field.type ? ' (' + field.type + ')' : ''), required: field.required}\"\n ></ng-container>\n </ng-container>\n\n <cds-text-label class=\"create-or-update-product__field\" [helperText]=\"'resultaatVariabelNaamTooltip' | pluginTranslate: pluginId | async\">\n {{ 'resultaatVariabelNaamUpsert' | pluginTranslate: pluginId | async }}\n <input cdsText formControlName=\"resultaatVariabelNaam\" placeholder=\"productUuid\" data-testid=\"resultaatVariabelNaam\" />\n </cds-text-label>\n</form>\n\n<ng-template #valueRow let-group=\"group\" let-fieldKey=\"fieldKey\" let-label=\"label\" let-text=\"text\" let-options=\"options\" let-required=\"required\">\n <div class=\"create-or-update-product__value-row\" [formGroup]=\"group\" [attr.data-testid]=\"'row-' + fieldKey\">\n <span class=\"create-or-update-product__value-label\">\n {{ text || (label | pluginTranslate: pluginId | async) }}<span *ngIf=\"required\"> *</span>\n </span>\n <cds-select size=\"sm\" formControlName=\"mode\" [attr.data-testid]=\"'mode-' + fieldKey\">\n <option value=\"fixed\">{{ 'vasteWaarde' | pluginTranslate: pluginId | async }}</option>\n <option value=\"pv\">{{ 'procesvariabele' | pluginTranslate: pluginId | async }}</option>\n </cds-select>\n <cds-select\n *ngIf=\"options && group.get('mode').value === 'fixed'; else textInput\"\n size=\"sm\"\n formControlName=\"value\"\n [attr.data-testid]=\"'value-' + fieldKey\"\n >\n <option value=\"\"></option>\n <option *ngFor=\"let option of options\" [value]=\"option\">{{ option }}</option>\n </cds-select>\n <ng-template #textInput>\n <input\n cdsText\n size=\"sm\"\n formControlName=\"value\"\n [attr.data-testid]=\"'value-' + fieldKey\"\n [placeholder]=\"(group.get('mode').value === 'pv' ? 'procesvariabeleNaam' : 'vasteWaarde') | pluginTranslate: pluginId | async\"\n />\n </ng-template>\n </div>\n</ng-template>\n", styles: [".create-or-update-product{display:flex;flex-direction:column;gap:16px}.create-or-update-product__heading{margin-top:8px}.create-or-update-product__value-row{display:grid;grid-template-columns:minmax(160px,1fr) 180px 2fr;gap:8px;align-items:center}.create-or-update-product__error{color:var(--cds-text-error)}.create-or-update-product__hint{color:var(--cds-text-secondary)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.TextInputLabelComponent, selector: "cds-text-label, ibm-text-label", inputs: ["labelInputID", "disabled", "skeleton", "labelTemplate", "textInputTemplate", "helperText", "invalidText", "invalid", "warn", "warnText", "ariaLabel", "fluid"] }, { kind: "directive", type: i4.TextInput, selector: "[cdsText], [ibmText]", inputs: ["theme", "size", "invalid", "warn", "skeleton"] }, { kind: "component", type: i4.Select, selector: "cds-select, ibm-select", inputs: ["value", "display", "label", "helperText", "invalidText", "warn", "warnText", "id", "size", "disabled", "skeleton", "invalid", "readonly", "theme", "ariaLabel", "fluid"], outputs: ["valueChange"] }, { kind: "directive", type: i4.Option, selector: "option" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
699
749
  }
700
750
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CreateOrUpdateProductConfigurationComponent, decorators: [{
701
751
  type: Component,
702
752
  args: [{ standalone: false, selector: 'valtimo-create-or-update-product-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<form class=\"create-or-update-product\" [formGroup]=\"form\">\n <cds-select\n class=\"create-or-update-product__field\"\n formControlName=\"producttypeUuid\"\n data-testid=\"producttype\"\n [label]=\"'producttypeKeuze' | pluginTranslate: pluginId | async\"\n [helperText]=\"'producttypeKeuzeTooltip' | pluginTranslate: pluginId | async\"\n >\n <option value=\"\" disabled hidden>{{ 'producttypeKiezen' | pluginTranslate: pluginId | async }}</option>\n <option *ngFor=\"let producttype of producttypen$ | async\" [value]=\"producttype.uuid\">\n {{ producttype.naam || producttype.code || producttype.uuid }}\n </option>\n </cds-select>\n <p *ngIf=\"loadError$ | async\" class=\"create-or-update-product__error\" data-testid=\"load-error\">\n {{ 'openProductNietBereikbaar' | pluginTranslate: pluginId | async }}\n </p>\n\n <h4 class=\"create-or-update-product__heading\">{{ 'eigenaarKop' | pluginTranslate: pluginId | async }}</h4>\n <cds-select\n class=\"create-or-update-product__field\"\n formControlName=\"eigenaarType\"\n data-testid=\"eigenaarType\"\n [label]=\"'eigenaarType' | pluginTranslate: pluginId | async\"\n >\n <option *ngFor=\"let eigenaarType of eigenaarTypes\" [value]=\"eigenaarType\">\n {{ 'eigenaarType_' + eigenaarType | pluginTranslate: pluginId | async }}\n </option>\n </cds-select>\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: form.get('eigenaarIdentificatie'), fieldKey: 'eigenaarIdentificatie', label: 'eigenaarIdentificatie', required: true}\"\n ></ng-container>\n <ng-container *ngIf=\"form.get('eigenaarType').value === 'kvk_nummer'\">\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: form.get('eigenaarVestigingsnummer'), fieldKey: 'eigenaarVestigingsnummer', label: 'eigenaarVestigingsnummer'}\"\n ></ng-container>\n </ng-container>\n\n <h4 class=\"create-or-update-product__heading\">{{ 'productgegevensKop' | pluginTranslate: pluginId | async }}</h4>\n <p class=\"create-or-update-product__hint\">{{ 'productgegevensUitleg' | pluginTranslate: pluginId | async }}</p>\n <ng-container *ngFor=\"let field of standardFields\">\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: form.get(['standard', field.key]), fieldKey: field.key, label: field.key, options: field.options}\"\n ></ng-container>\n </ng-container>\n <cds-text-label class=\"create-or-update-product__field\" [helperText]=\"'documentenTooltip' | pluginTranslate: pluginId | async\">\n {{ 'documenten' | pluginTranslate: pluginId | async }}\n <input cdsText formControlName=\"documenten\" data-testid=\"documenten\" />\n </cds-text-label>\n\n <h4 class=\"create-or-update-product__heading\">{{ 'dataobjectKop' | pluginTranslate: pluginId | async }}</h4>\n <p\n *ngIf=\"form.get('producttypeUuid').value && !(dataobjectFields$ | async)?.length\"\n class=\"create-or-update-product__hint\"\n data-testid=\"no-dataobject-fields\"\n >\n {{ 'geenDataobjectVelden' | pluginTranslate: pluginId | async }}\n </p>\n <ng-container *ngFor=\"let field of dataobjectFields$ | async; let index = index\">\n <ng-container\n *ngTemplateOutlet=\"valueRow; context: {group: dataobjectArray.at(index), fieldKey: 'dataobject.' + field.key, text: field.key + (field.type ? ' (' + field.type + ')' : ''), required: field.required}\"\n ></ng-container>\n </ng-container>\n\n <cds-text-label class=\"create-or-update-product__field\" [helperText]=\"'resultaatVariabelNaamTooltip' | pluginTranslate: pluginId | async\">\n {{ 'resultaatVariabelNaamUpsert' | pluginTranslate: pluginId | async }}\n <input cdsText formControlName=\"resultaatVariabelNaam\" placeholder=\"productUuid\" data-testid=\"resultaatVariabelNaam\" />\n </cds-text-label>\n</form>\n\n<ng-template #valueRow let-group=\"group\" let-fieldKey=\"fieldKey\" let-label=\"label\" let-text=\"text\" let-options=\"options\" let-required=\"required\">\n <div class=\"create-or-update-product__value-row\" [formGroup]=\"group\" [attr.data-testid]=\"'row-' + fieldKey\">\n <span class=\"create-or-update-product__value-label\">\n {{ text || (label | pluginTranslate: pluginId | async) }}<span *ngIf=\"required\"> *</span>\n </span>\n <cds-select size=\"sm\" formControlName=\"mode\" [attr.data-testid]=\"'mode-' + fieldKey\">\n <option value=\"fixed\">{{ 'vasteWaarde' | pluginTranslate: pluginId | async }}</option>\n <option value=\"pv\">{{ 'procesvariabele' | pluginTranslate: pluginId | async }}</option>\n </cds-select>\n <cds-select\n *ngIf=\"options && group.get('mode').value === 'fixed'; else textInput\"\n size=\"sm\"\n formControlName=\"value\"\n [attr.data-testid]=\"'value-' + fieldKey\"\n >\n <option value=\"\"></option>\n <option *ngFor=\"let option of options\" [value]=\"option\">{{ option }}</option>\n </cds-select>\n <ng-template #textInput>\n <input\n cdsText\n size=\"sm\"\n formControlName=\"value\"\n [attr.data-testid]=\"'value-' + fieldKey\"\n [placeholder]=\"(group.get('mode').value === 'pv' ? 'procesvariabeleNaam' : 'vasteWaarde') | pluginTranslate: pluginId | async\"\n />\n </ng-template>\n </div>\n</ng-template>\n", styles: [".create-or-update-product{display:flex;flex-direction:column;gap:16px}.create-or-update-product__heading{margin-top:8px}.create-or-update-product__value-row{display:grid;grid-template-columns:minmax(160px,1fr) 180px 2fr;gap:8px;align-items:center}.create-or-update-product__error{color:var(--cds-text-error)}.create-or-update-product__hint{color:var(--cds-text-secondary)}\n"] }]
703
- }], ctorParameters: () => [{ type: i1$2.FormBuilder }, { type: OpenProductApiService }], propDecorators: { save$: [{
753
+ }], ctorParameters: () => [{ type: i1$3.FormBuilder }, { type: OpenProductApiService }], propDecorators: { save$: [{
704
754
  type: Input
705
755
  }], disabled$: [{
706
756
  type: Input
@@ -835,6 +885,13 @@ const openProductPluginSpecification = {
835
885
  resultaatPV: 'De naam van de process variable waar het resultaat in komt',
836
886
  authenticationPluginConfiguration: 'Selecteer de authenticatie plugin configuratie',
837
887
  dataobjectVariabelNaam: 'Naam van de procesvariabele voor het dataobject (optioneel)',
888
+ koppelZaakDocumenten: 'Zaakdocumenten koppelen aan het product?',
889
+ koppelZaakDocumentenTooltip: 'Bij Ja worden alle documenten die op dat moment aan de zaak (aanvraagZaakUrl) gekoppeld zijn aan het product toegevoegd.',
890
+ koppelZaakDocumentenUpdateTooltip: 'Bij Ja worden de documenten van de zaak (aanvraagZaakUrl) op het product gezet. Wordt genegeerd als een procesvariabele met documenten is ingevuld.',
891
+ documentenVariabelNaam: 'Procesvariabele met de documenten (optioneel)',
892
+ documentenVariabelNaamTooltip: 'Een lijst met { url } per document, bijvoorbeeld gevuld door de actie "Zaakdocumenten ophalen als productdocumenten". Gaat voor op "Zaakdocumenten koppelen".',
893
+ ja: 'Ja',
894
+ nee: 'Nee',
838
895
  producttypeUuid: 'UUID van het producttype om op te filteren (optioneel)',
839
896
  status: 'Status van het product om op te filteren (optioneel, bijv. gereed, actief)',
840
897
  resultaatVariabelNaam: 'Naam van de procesvariabele voor de resultatenlijst (standaard: alleProducten)',
@@ -890,6 +947,13 @@ const openProductPluginSpecification = {
890
947
  resultaatPV: 'The name of the process variable that will contain the result',
891
948
  authenticationPluginConfiguration: 'Select the authentication plugin configuration',
892
949
  dataobjectVariabelNaam: 'Process variable name for the data object (optional)',
950
+ koppelZaakDocumenten: 'Link zaak documents to the product?',
951
+ koppelZaakDocumentenTooltip: 'When Yes, all documents linked to the zaak (aanvraagZaakUrl) at that moment are added to the product.',
952
+ koppelZaakDocumentenUpdateTooltip: 'When Yes, the documents of the zaak (aanvraagZaakUrl) are set on the product. Ignored when a documents process variable is filled in.',
953
+ documentenVariabelNaam: 'Process variable holding the documents (optional)',
954
+ documentenVariabelNaamTooltip: 'A list with a { url } per document, for example filled by the action "Retrieve zaak documents as product documents". Takes precedence over "Link zaak documents".',
955
+ ja: 'Yes',
956
+ nee: 'No',
893
957
  producttypeUuid: 'Product type UUID to filter on (optional)',
894
958
  status: 'Product status to filter on (optional, e.g. gereed, actief)',
895
959
  resultaatVariabelNaam: 'Process variable name for the results list (default: alleProducten)',
@@ -939,6 +1003,13 @@ const openProductPluginSpecification = {
939
1003
  resultaatPV: 'Der Name der Prozessvariablen, in der das Ergebnis gespeichert wird',
940
1004
  authenticationPluginConfiguration: 'Wählen Sie die Authentifizierungs-Plugin-Konfiguration aus',
941
1005
  dataobjectVariabelNaam: 'Prozessvariablenname für das Datenobjekt (optional)',
1006
+ koppelZaakDocumenten: 'Zaakdokumente mit dem Produkt verknüpfen?',
1007
+ koppelZaakDocumentenTooltip: 'Bei Ja werden alle Dokumente, die zu diesem Zeitpunkt mit der Zaak (aanvraagZaakUrl) verknüpft sind, dem Produkt hinzugefügt.',
1008
+ koppelZaakDocumentenUpdateTooltip: 'Bei Ja werden die Dokumente der Zaak (aanvraagZaakUrl) am Produkt gesetzt. Wird ignoriert, wenn eine Prozessvariable mit Dokumenten angegeben ist.',
1009
+ documentenVariabelNaam: 'Prozessvariable mit den Dokumenten (optional)',
1010
+ documentenVariabelNaamTooltip: 'Eine Liste mit einer { url } pro Dokument, z. B. gefüllt durch die Aktion "Zaakdokumente als Produktdokumente abrufen". Hat Vorrang vor "Zaakdokumente verknüpfen".',
1011
+ ja: 'Ja',
1012
+ nee: 'Nein',
942
1013
  producttypeUuid: 'Produkttyp-UUID zum Filtern (optional)',
943
1014
  status: 'Produktstatus zum Filtern (optional, z. B. gereed, actief)',
944
1015
  resultaatVariabelNaam: 'Prozessvariablenname für die Ergebnisliste (Standard: alleProducten)',
@@ -996,5 +1067,5 @@ const openProductPluginSpecification = {
996
1067
  * Generated bundle index. Do not edit.
997
1068
  */
998
1069
 
999
- export { CreateOrUpdateProductConfigurationComponent, CreateProductConfigurationComponent, DeleteProductConfigurationComponent, GetAllProductsConfigurationComponent, GetProductConfigurationComponent, GetZaakDocumentenConfigurationComponent, OpenProductConfigurationComponent, OpenProductPluginModule, UpdateProductConfigurationComponent, openProductPluginSpecification };
1070
+ export { CreateOrUpdateProductConfigurationComponent, CreateProductConfigurationComponent, DeleteProductConfigurationComponent, GetAllProductsConfigurationComponent, GetProductConfigurationComponent, GetZaakDocumentenConfigurationComponent, OpenProductConfigurationComponent, OpenProductPluginModule, UpdateProductConfigurationComponent, fromJaNeeSelectionId, jaNeeSelectItems$, openProductPluginSpecification, toJaNeeSelectionId };
1000
1071
  //# sourceMappingURL=valtimo-plugins-open-product.mjs.map