@valtimo/plugin 13.6.0 → 13.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3166,7 +3166,7 @@ class SetZaakStatusConfigurationComponent {
3166
3166
  this.clearStatusSelection$ = new Subject();
3167
3167
  this.loading$ = new BehaviorSubject(true);
3168
3168
  this.selectedInputOption$ = new BehaviorSubject('selection');
3169
- this.datumStatusGezetSelectedInputOption$ = new BehaviorSubject('selection');
3169
+ this.datumStatusGezetSelectedInputOption$ = new BehaviorSubject('now');
3170
3170
  this.pluginId$ = new BehaviorSubject('');
3171
3171
  this.formValue$ = new BehaviorSubject(null);
3172
3172
  this.valid$ = new BehaviorSubject(false);
@@ -3179,6 +3179,15 @@ class SetZaakStatusConfigurationComponent {
3179
3179
  { value: 'selection', title: selectionTranslation },
3180
3180
  { value: 'text', title: textTranslation },
3181
3181
  ]));
3182
+ this.datePickerInputTypeOptions$ = this.pluginId$.pipe(filter(pluginId => !!pluginId), switchMap(pluginId => combineLatest([
3183
+ this.pluginTranslatePipe.transform('now', pluginId),
3184
+ this.pluginTranslatePipe.transform('selection', pluginId),
3185
+ this.pluginTranslatePipe.transform('text', pluginId),
3186
+ ])), map(([nowTranslation, selectionTranslation, textTranslation]) => [
3187
+ { value: 'now', title: nowTranslation },
3188
+ { value: 'selection', title: selectionTranslation },
3189
+ { value: 'text', title: textTranslation },
3190
+ ]));
3182
3191
  this.theme$ = this.cdsThemeService.currentTheme$.pipe(map((theme) => theme === CurrentCarbonTheme.G10 ? CARBON_THEME.WHITE : CARBON_THEME.G100));
3183
3192
  this._subscriptions = new Subscription();
3184
3193
  this.selectedDate = null;
@@ -3206,6 +3215,10 @@ class SetZaakStatusConfigurationComponent {
3206
3215
  if (updatedFormValue.inputDatumStatusGezetToggle) {
3207
3216
  this.datumStatusGezetSelectedInputOption$.next(updatedFormValue.inputDatumStatusGezetToggle);
3208
3217
  }
3218
+ if (updatedFormValue.inputDatumStatusGezetToggle === 'now') {
3219
+ this.selectedDate = null;
3220
+ this.selectedTime = null;
3221
+ }
3209
3222
  }
3210
3223
  onDateSelected(event) {
3211
3224
  const date = Array.isArray(event) && event[0];
@@ -3219,10 +3232,18 @@ class SetZaakStatusConfigurationComponent {
3219
3232
  this.updateDatumStatusGezet();
3220
3233
  }
3221
3234
  updateDatumStatusGezet() {
3222
- if (!this.selectedDate || !this.selectedTime) {
3235
+ if (!this.selectedDate && !this.selectedTime) {
3223
3236
  return;
3224
3237
  }
3225
- const [hoursStr, minutesStr = '00', secondsStr = '00'] = this.selectedTime.split(':');
3238
+ let hoursStr;
3239
+ let minutesStr;
3240
+ let secondsStr;
3241
+ try {
3242
+ [hoursStr, minutesStr = '00', secondsStr = '00'] = this.selectedTime.split(':');
3243
+ }
3244
+ catch (error) {
3245
+ [hoursStr, minutesStr = '00', secondsStr = '00'] = ['00', '00'];
3246
+ }
3226
3247
  const date = new Date(this.selectedDate);
3227
3248
  const year = date.getFullYear();
3228
3249
  const month = String(date.getMonth() + 1).padStart(2, '0');
@@ -3241,12 +3262,19 @@ class SetZaakStatusConfigurationComponent {
3241
3262
  prefillToday() {
3242
3263
  this._subscriptions.add(this.prefillConfiguration$.subscribe(config => {
3243
3264
  let baseDate;
3244
- try {
3245
- baseDate = flatpickr.formatDate(!!config?.datumStatusGezet ? new Date(config.datumStatusGezet) : new Date(), 'Z');
3265
+ if (config?.datumStatusGezet !== null) {
3266
+ try {
3267
+ baseDate = flatpickr.formatDate(!!config?.datumStatusGezet ? new Date(config.datumStatusGezet) : new Date(), 'Z');
3268
+ this.datumStatusGezetSelectedInputOption$.next('selection');
3269
+ }
3270
+ catch (error) {
3271
+ baseDate = config.datumStatusGezet;
3272
+ this.datumStatusGezetSelectedInputOption$.next('text');
3273
+ }
3246
3274
  }
3247
- catch (error) {
3248
- baseDate = config.datumStatusGezet;
3249
- this.datumStatusGezetSelectedInputOption$.next('text');
3275
+ else {
3276
+ baseDate = null;
3277
+ this.datumStatusGezetSelectedInputOption$.next('now');
3250
3278
  }
3251
3279
  this.selectedDate = baseDate;
3252
3280
  this.selectedTime = this.formatTime(baseDate);
@@ -3291,6 +3319,9 @@ class SetZaakStatusConfigurationComponent {
3291
3319
  .pipe(take(1))
3292
3320
  .subscribe(([formValue, valid]) => {
3293
3321
  if (valid) {
3322
+ if (formValue.inputDatumStatusGezetToggle == 'now') {
3323
+ formValue.datumStatusGezet = null;
3324
+ }
3294
3325
  this.configuration.emit({
3295
3326
  statustoelichting: formValue.statustoelichting,
3296
3327
  statustypeUrl: formValue.statustypeUrl,
@@ -3302,12 +3333,12 @@ class SetZaakStatusConfigurationComponent {
3302
3333
  this._subscriptions.add(saveSub);
3303
3334
  }
3304
3335
  isValidDatumStatusGezet(value) {
3336
+ if (['text', 'now'].includes(this.datumStatusGezetSelectedInputOption$.getValue())) {
3337
+ return true;
3338
+ }
3305
3339
  if (!value) {
3306
3340
  return false;
3307
3341
  }
3308
- if (this.datumStatusGezetSelectedInputOption$.getValue() === 'text') {
3309
- return true;
3310
- }
3311
3342
  const trimmed = value.trim();
3312
3343
  // Required format: YYYY-MM-DDTHH:mm:ssZ
3313
3344
  const regex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$/;
@@ -3318,32 +3349,39 @@ class SetZaakStatusConfigurationComponent {
3318
3349
  return !isNaN(date.getTime());
3319
3350
  }
3320
3351
  isDateNotInFuture(value) {
3352
+ if (['text', 'now'].includes(this.datumStatusGezetSelectedInputOption$.getValue())) {
3353
+ return true;
3354
+ }
3321
3355
  if (!value) {
3322
3356
  return false;
3323
3357
  }
3324
- if (this.datumStatusGezetSelectedInputOption$.getValue() === 'text') {
3325
- return true;
3326
- }
3327
3358
  const date = new Date(value);
3328
3359
  const now = new Date();
3329
3360
  const isDateNotInFuture = date.getTime() <= now.getTime();
3330
3361
  this.datePickerInvalid$.next(!isDateNotInFuture);
3331
3362
  return isDateNotInFuture;
3332
3363
  }
3364
+ hasEnteredDateText(value) {
3365
+ if (this.datumStatusGezetSelectedInputOption$.getValue() !== 'text') {
3366
+ return true;
3367
+ }
3368
+ return !value === false;
3369
+ }
3333
3370
  handleValid(formValue) {
3334
3371
  const hasStatusType = !!formValue.statustypeUrl;
3335
3372
  const hasValidDatumStatusGezet = this.isValidDatumStatusGezet(formValue.datumStatusGezet);
3336
3373
  const dateIsNotInFuture = this.isDateNotInFuture(formValue.datumStatusGezet);
3337
- const valid = hasStatusType && hasValidDatumStatusGezet && dateIsNotInFuture;
3374
+ const hasEnteredDateText = this.hasEnteredDateText(formValue.datumStatusGezet);
3375
+ const valid = hasStatusType && hasValidDatumStatusGezet && dateIsNotInFuture && hasEnteredDateText;
3338
3376
  this.valid$.next(valid);
3339
3377
  this.valid.emit(valid);
3340
3378
  }
3341
3379
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SetZaakStatusConfigurationComponent, deps: [{ token: ZakenApiService }, { token: PluginTranslatePipe }, { token: i2$2.CdsThemeService }], target: i0.ɵɵFactoryTarget.Component }); }
3342
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: SetZaakStatusConfigurationComponent, isStandalone: false, selector: "valtimo-set-zaak-status-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$", context$: "context$" }, outputs: { valid: "valid", configuration: "configuration" }, providers: [PluginTranslatePipe], ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n pluginId: pluginId$ | async,\n selectedInputOption: selectedInputOption$ | async,\n datumStatusGezetSelectedInputOption: datumStatusGezetSelectedInputOption$ | async,\n loading: loading$ | async,\n statusTypeItems: statusTypeSelectItems$ | async,\n context: context$ | async,\n datePickerInvalid: datePickerInvalid$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-input\n name=\"statustoelichting\"\n [title]=\"'statustoelichting' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.statustoelichting\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'statustoelichtingTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n [placeholder]=\"'statustoelichting' | pluginTranslate: obs.pluginId | async\"\n >\n </v-input>\n\n <v-radio\n name=\"inputDatumStatusGezetToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputDatumStatusGezetToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"obs.datumStatusGezetSelectedInputOption\"\n [margin]=\"true\"\n ></v-radio>\n\n <div class=\"date-time-row\" *ngIf=\"obs.datumStatusGezetSelectedInputOption === 'selection'\">\n <cds-date-picker\n [attr.data-carbon-theme]=\"theme$ | async\"\n [label]=\"'logging.search.afterTimestamp' | translate\"\n placeholder=\"DD-MM-YYYY\"\n [dateFormat]=\"'d-m-Y'\"\n [value]=\"[selectedDate]\"\n [invalid]=\"obs.datePickerInvalid\"\n [invalidText]=\"'datumStatusGezetInvalidText' | pluginTranslate: obs.pluginId | async\"\n (valueChange)=\"onDateSelected($event)\"\n ></cds-date-picker>\n\n <cds-timepicker\n class=\"timepicker\"\n [attr.data-carbon-theme]=\"theme$ | async\"\n [value]=\"selectedTime\"\n [invalid]=\"obs.datePickerInvalid\"\n (valueChange)=\"onTimeSelected($event)\"\n ></cds-timepicker>\n </div>\n\n <v-input\n *ngIf=\"obs.datumStatusGezetSelectedInputOption === 'text'\"\n name=\"datumStatusGezet\"\n [title]=\"'datumStatusGezet' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.datumStatusGezet\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'datumStatusGezetTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n ></v-input>\n\n <v-radio\n *ngIf=\"obs?.context?.[0] === 'case'\"\n name=\"inputTypeZaakStatusToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeZaakStatusToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"statustypeUrl\"\n [title]=\"'statustypeUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.statustypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'statustypeUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.statusTypeItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"statustypeUrl\"\n [title]=\"'statustypeUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"obs.disabled || obs.selectedInputOption === 'text' || !obs.statusTypeItems\"\n [defaultSelectionId]=\"obs.prefill?.statustypeUrl\"\n [required]=\"true\"\n [loading]=\"!obs.statusTypeItems\"\n [tooltip]=\"'statustypeUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearStatusSelection$\"\n ></v-select>\n </ng-container>\n </ng-container>\n</v-form>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: [".loading-container{display:flex;flex-direction:row;justify-content:center;height:100%;width:100%;align-items:center}.date-time-row{display:flex;align-items:flex-start;gap:16px;margin-bottom:34px}.timepicker{margin-top:24px!important;height:48px!important}.date-time-row cds-date-picker,.date-time-row cds-timepicker{display:block}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "dropUp", "invalid", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "clearable", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme", "appendInline", "dataTestId"], outputs: ["selectedChange"] }, { kind: "component", type: i2$2.RadioComponent, selector: "v-radio", inputs: ["name", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "tooltip", "required", "smallLabel", "rows", "clear$", "radioValues"], outputs: ["valueChange"] }, { kind: "component", type: i1$3.Loading, selector: "cds-loading, ibm-loading", inputs: ["title", "isActive", "size", "overlay"] }, { kind: "component", type: i1$3.DatePicker, selector: "cds-date-picker, ibm-date-picker", inputs: ["range", "dateFormat", "language", "label", "helperText", "rangeHelperText", "rangeLabel", "placeholder", "ariaLabel", "inputPattern", "id", "value", "theme", "disabled", "readonly", "invalid", "invalidText", "warn", "warnText", "size", "rangeInvalid", "rangeInvalidText", "rangeWarn", "rangeWarnText", "skeleton", "plugins", "flatpickrOptions"], outputs: ["valueChange", "onClose"] }, { kind: "component", type: i1$3.TimePicker, selector: "cds-timepicker, ibm-timepicker", inputs: ["invalid", "invalidText", "label", "hideLabel", "placeholder", "pattern", "id", "disabled", "value", "maxLength", "skeleton", "theme", "size"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
3380
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: SetZaakStatusConfigurationComponent, isStandalone: false, selector: "valtimo-set-zaak-status-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$", context$: "context$" }, outputs: { valid: "valid", configuration: "configuration" }, providers: [PluginTranslatePipe], ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n pluginId: pluginId$ | async,\n selectedInputOption: selectedInputOption$ | async,\n datumStatusGezetSelectedInputOption: datumStatusGezetSelectedInputOption$ | async,\n loading: loading$ | async,\n statusTypeItems: statusTypeSelectItems$ | async,\n context: context$ | async,\n datePickerInvalid: datePickerInvalid$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-input\n name=\"statustoelichting\"\n [title]=\"'statustoelichting' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.statustoelichting\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'statustoelichtingTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n [placeholder]=\"'statustoelichting' | pluginTranslate: obs.pluginId | async\"\n >\n </v-input>\n\n <v-radio\n name=\"inputDatumStatusGezetToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputDatumStatusGezetToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"datePickerInputTypeOptions$ | async\"\n [defaultValue]=\"obs.datumStatusGezetSelectedInputOption\"\n [margin]=\"true\"\n ></v-radio>\n\n <div class=\"date-time-row\" *ngIf=\"obs.datumStatusGezetSelectedInputOption === 'selection'\">\n <cds-date-picker\n [attr.data-carbon-theme]=\"theme$ | async\"\n [label]=\"'logging.search.afterTimestamp' | translate\"\n placeholder=\"DD-MM-YYYY\"\n [dateFormat]=\"'d-m-Y'\"\n [value]=\"[selectedDate]\"\n [invalid]=\"obs.datePickerInvalid\"\n [invalidText]=\"'datumStatusGezetInvalidText' | pluginTranslate: obs.pluginId | async\"\n (valueChange)=\"onDateSelected($event)\"\n ></cds-date-picker>\n\n <cds-timepicker\n class=\"timepicker\"\n [attr.data-carbon-theme]=\"theme$ | async\"\n [value]=\"selectedTime\"\n [invalid]=\"obs.datePickerInvalid\"\n (valueChange)=\"onTimeSelected($event)\"\n ></cds-timepicker>\n </div>\n\n <v-input\n *ngIf=\"obs.datumStatusGezetSelectedInputOption === 'text'\"\n name=\"datumStatusGezet\"\n [title]=\"'datumStatusGezet' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.datumStatusGezet\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'datumStatusGezetTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n ></v-input>\n\n <v-radio\n *ngIf=\"obs?.context?.[0] === 'case'\"\n name=\"inputTypeZaakStatusToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeZaakStatusToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"statustypeUrl\"\n [title]=\"'statustypeUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.statustypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'statustypeUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.statusTypeItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"statustypeUrl\"\n [title]=\"'statustypeUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"obs.disabled || obs.selectedInputOption === 'text' || !obs.statusTypeItems\"\n [defaultSelectionId]=\"obs.prefill?.statustypeUrl\"\n [required]=\"true\"\n [loading]=\"!obs.statusTypeItems\"\n [tooltip]=\"'statustypeUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearStatusSelection$\"\n ></v-select>\n </ng-container>\n </ng-container>\n</v-form>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: [".loading-container{display:flex;flex-direction:row;justify-content:center;height:100%;width:100%;align-items:center}.date-time-row{display:flex;align-items:flex-start;gap:16px;margin-bottom:34px}.timepicker{margin-top:24px!important;height:48px!important}.date-time-row cds-date-picker,.date-time-row cds-timepicker{display:block}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "dropUp", "invalid", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "clearable", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme", "appendInline", "dataTestId"], outputs: ["selectedChange"] }, { kind: "component", type: i2$2.RadioComponent, selector: "v-radio", inputs: ["name", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "tooltip", "required", "smallLabel", "rows", "clear$", "radioValues"], outputs: ["valueChange"] }, { kind: "component", type: i1$3.Loading, selector: "cds-loading, ibm-loading", inputs: ["title", "isActive", "size", "overlay"] }, { kind: "component", type: i1$3.DatePicker, selector: "cds-date-picker, ibm-date-picker", inputs: ["range", "dateFormat", "language", "label", "helperText", "rangeHelperText", "rangeLabel", "placeholder", "ariaLabel", "inputPattern", "id", "value", "theme", "disabled", "readonly", "invalid", "invalidText", "warn", "warnText", "size", "rangeInvalid", "rangeInvalidText", "rangeWarn", "rangeWarnText", "skeleton", "plugins", "flatpickrOptions"], outputs: ["valueChange", "onClose"] }, { kind: "component", type: i1$3.TimePicker, selector: "cds-timepicker, ibm-timepicker", inputs: ["invalid", "invalidText", "label", "hideLabel", "placeholder", "pattern", "id", "disabled", "value", "maxLength", "skeleton", "theme", "size"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
3343
3381
  }
3344
3382
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SetZaakStatusConfigurationComponent, decorators: [{
3345
3383
  type: Component,
3346
- args: [{ standalone: false, selector: 'valtimo-set-zaak-status-configuration', providers: [PluginTranslatePipe], template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n pluginId: pluginId$ | async,\n selectedInputOption: selectedInputOption$ | async,\n datumStatusGezetSelectedInputOption: datumStatusGezetSelectedInputOption$ | async,\n loading: loading$ | async,\n statusTypeItems: statusTypeSelectItems$ | async,\n context: context$ | async,\n datePickerInvalid: datePickerInvalid$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-input\n name=\"statustoelichting\"\n [title]=\"'statustoelichting' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.statustoelichting\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'statustoelichtingTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n [placeholder]=\"'statustoelichting' | pluginTranslate: obs.pluginId | async\"\n >\n </v-input>\n\n <v-radio\n name=\"inputDatumStatusGezetToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputDatumStatusGezetToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"obs.datumStatusGezetSelectedInputOption\"\n [margin]=\"true\"\n ></v-radio>\n\n <div class=\"date-time-row\" *ngIf=\"obs.datumStatusGezetSelectedInputOption === 'selection'\">\n <cds-date-picker\n [attr.data-carbon-theme]=\"theme$ | async\"\n [label]=\"'logging.search.afterTimestamp' | translate\"\n placeholder=\"DD-MM-YYYY\"\n [dateFormat]=\"'d-m-Y'\"\n [value]=\"[selectedDate]\"\n [invalid]=\"obs.datePickerInvalid\"\n [invalidText]=\"'datumStatusGezetInvalidText' | pluginTranslate: obs.pluginId | async\"\n (valueChange)=\"onDateSelected($event)\"\n ></cds-date-picker>\n\n <cds-timepicker\n class=\"timepicker\"\n [attr.data-carbon-theme]=\"theme$ | async\"\n [value]=\"selectedTime\"\n [invalid]=\"obs.datePickerInvalid\"\n (valueChange)=\"onTimeSelected($event)\"\n ></cds-timepicker>\n </div>\n\n <v-input\n *ngIf=\"obs.datumStatusGezetSelectedInputOption === 'text'\"\n name=\"datumStatusGezet\"\n [title]=\"'datumStatusGezet' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.datumStatusGezet\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'datumStatusGezetTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n ></v-input>\n\n <v-radio\n *ngIf=\"obs?.context?.[0] === 'case'\"\n name=\"inputTypeZaakStatusToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeZaakStatusToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"statustypeUrl\"\n [title]=\"'statustypeUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.statustypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'statustypeUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.statusTypeItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"statustypeUrl\"\n [title]=\"'statustypeUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"obs.disabled || obs.selectedInputOption === 'text' || !obs.statusTypeItems\"\n [defaultSelectionId]=\"obs.prefill?.statustypeUrl\"\n [required]=\"true\"\n [loading]=\"!obs.statusTypeItems\"\n [tooltip]=\"'statustypeUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearStatusSelection$\"\n ></v-select>\n </ng-container>\n </ng-container>\n</v-form>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: [".loading-container{display:flex;flex-direction:row;justify-content:center;height:100%;width:100%;align-items:center}.date-time-row{display:flex;align-items:flex-start;gap:16px;margin-bottom:34px}.timepicker{margin-top:24px!important;height:48px!important}.date-time-row cds-date-picker,.date-time-row cds-timepicker{display:block}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
3384
+ args: [{ standalone: false, selector: 'valtimo-set-zaak-status-configuration', providers: [PluginTranslatePipe], template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n pluginId: pluginId$ | async,\n selectedInputOption: selectedInputOption$ | async,\n datumStatusGezetSelectedInputOption: datumStatusGezetSelectedInputOption$ | async,\n loading: loading$ | async,\n statusTypeItems: statusTypeSelectItems$ | async,\n context: context$ | async,\n datePickerInvalid: datePickerInvalid$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-input\n name=\"statustoelichting\"\n [title]=\"'statustoelichting' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.statustoelichting\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'statustoelichtingTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n [placeholder]=\"'statustoelichting' | pluginTranslate: obs.pluginId | async\"\n >\n </v-input>\n\n <v-radio\n name=\"inputDatumStatusGezetToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputDatumStatusGezetToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"datePickerInputTypeOptions$ | async\"\n [defaultValue]=\"obs.datumStatusGezetSelectedInputOption\"\n [margin]=\"true\"\n ></v-radio>\n\n <div class=\"date-time-row\" *ngIf=\"obs.datumStatusGezetSelectedInputOption === 'selection'\">\n <cds-date-picker\n [attr.data-carbon-theme]=\"theme$ | async\"\n [label]=\"'logging.search.afterTimestamp' | translate\"\n placeholder=\"DD-MM-YYYY\"\n [dateFormat]=\"'d-m-Y'\"\n [value]=\"[selectedDate]\"\n [invalid]=\"obs.datePickerInvalid\"\n [invalidText]=\"'datumStatusGezetInvalidText' | pluginTranslate: obs.pluginId | async\"\n (valueChange)=\"onDateSelected($event)\"\n ></cds-date-picker>\n\n <cds-timepicker\n class=\"timepicker\"\n [attr.data-carbon-theme]=\"theme$ | async\"\n [value]=\"selectedTime\"\n [invalid]=\"obs.datePickerInvalid\"\n (valueChange)=\"onTimeSelected($event)\"\n ></cds-timepicker>\n </div>\n\n <v-input\n *ngIf=\"obs.datumStatusGezetSelectedInputOption === 'text'\"\n name=\"datumStatusGezet\"\n [title]=\"'datumStatusGezet' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.datumStatusGezet\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'datumStatusGezetTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n ></v-input>\n\n <v-radio\n *ngIf=\"obs?.context?.[0] === 'case'\"\n name=\"inputTypeZaakStatusToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeZaakStatusToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"statustypeUrl\"\n [title]=\"'statustypeUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.statustypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'statustypeUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.statusTypeItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"statustypeUrl\"\n [title]=\"'statustypeUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"obs.disabled || obs.selectedInputOption === 'text' || !obs.statusTypeItems\"\n [defaultSelectionId]=\"obs.prefill?.statustypeUrl\"\n [required]=\"true\"\n [loading]=\"!obs.statusTypeItems\"\n [tooltip]=\"'statustypeUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearStatusSelection$\"\n ></v-select>\n </ng-container>\n </ng-container>\n</v-form>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: [".loading-container{display:flex;flex-direction:row;justify-content:center;height:100%;width:100%;align-items:center}.date-time-row{display:flex;align-items:flex-start;gap:16px;margin-bottom:34px}.timepicker{margin-top:24px!important;height:48px!important}.date-time-row cds-date-picker,.date-time-row cds-timepicker{display:block}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
3347
3385
  }], ctorParameters: () => [{ type: ZakenApiService }, { type: PluginTranslatePipe }, { type: i2$2.CdsThemeService }], propDecorators: { save$: [{
3348
3386
  type: Input
3349
3387
  }], disabled$: [{
@@ -5536,6 +5574,7 @@ const zakenApiPluginSpecification = {
5536
5574
  zaakTypeTooltip: 'In dit veld moet de verwijzing komen naar de type zaak.',
5537
5575
  zaakTypeSelectTooltip: 'In dit veld moet de verwijzing komen naar de type zaak. Als er slechts één zaaktype beschikbaar is, wordt deze standaard geselecteerd.',
5538
5576
  inputTypeZaakTypeToggle: 'Invoertype Zaaktype-URL',
5577
+ now: 'Gebruik huidige datum/tijd',
5539
5578
  text: 'Tekst',
5540
5579
  selection: 'Selectie',
5541
5580
  'create-natuurlijk-persoon-zaak-rol': 'Zaakrol aanmaken - Natuurlijk persoon',
@@ -5712,6 +5751,7 @@ const zakenApiPluginSpecification = {
5712
5751
  zaakTypeTooltip: 'In this field the reference must be made to the type of the zaak.',
5713
5752
  zaakTypeSelectTooltip: 'In this field the reference must be made to the type of the zaak. If only one zaaktype is available, it will be selected by default.',
5714
5753
  inputTypeZaakTypeToggle: 'Input type Zaaktype-URL',
5754
+ now: 'Use current date/time',
5715
5755
  text: 'Text',
5716
5756
  selection: 'Selection',
5717
5757
  'create-natuurlijk-persoon-zaak-rol': 'Create Zaakrol - natural person',
@@ -5887,6 +5927,7 @@ const zakenApiPluginSpecification = {
5887
5927
  zaakTypeTooltip: 'In diesem Feld muss auf die zaaktype verwiesen werden.',
5888
5928
  zaakTypeSelectTooltip: 'In diesem Feld muss auf die zaaktype verwiesen werden. Wenn nur ein Zaaktyp verfügbar ist, wird dieser standardmäßig ausgewählt.',
5889
5929
  inputTypeZaakTypeToggle: 'Eingabetyp Zaaktype-URL',
5930
+ now: 'Aktuelles Datum/Uhrzeit verwenden',
5890
5931
  text: 'Text',
5891
5932
  selection: 'Auswahl',
5892
5933
  'create-natuurlijk-persoon-zaak-rol': 'Zaakrol erstellen – natürliche Person',
@@ -8845,6 +8886,75 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
8845
8886
  type: Output
8846
8887
  }] } });
8847
8888
 
8889
+ /*
8890
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
8891
+ *
8892
+ * Licensed under EUPL, Version 1.2 (the "License");
8893
+ * you may not use this file except in compliance with the License.
8894
+ * You may obtain a copy of the License at
8895
+ *
8896
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
8897
+ *
8898
+ * Unless required by applicable law or agreed to in writing, software
8899
+ * distributed under the License is distributed on an "AS IS" basis,
8900
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8901
+ * See the License for the specific language governing permissions and
8902
+ * limitations under the License.
8903
+ */
8904
+ class GetBesluitConfigurationComponent {
8905
+ constructor() {
8906
+ this.valid = new EventEmitter();
8907
+ this.configuration = new EventEmitter();
8908
+ this.formValue$ = new BehaviorSubject(null);
8909
+ this.valid$ = new BehaviorSubject(false);
8910
+ }
8911
+ ngOnInit() {
8912
+ this.openSaveSubscription();
8913
+ this.valid.emit(false);
8914
+ }
8915
+ ngOnDestroy() {
8916
+ this.saveSubscription?.unsubscribe();
8917
+ }
8918
+ openSaveSubscription() {
8919
+ this.saveSubscription = this.save$?.subscribe(() => {
8920
+ combineLatest([this.formValue$, this.valid$])
8921
+ .pipe(take(1))
8922
+ .subscribe(([formValue, valid]) => {
8923
+ if (valid) {
8924
+ this.configuration.emit(formValue);
8925
+ }
8926
+ });
8927
+ });
8928
+ }
8929
+ formValueChange(formValue) {
8930
+ this.formValue$.next(formValue);
8931
+ this.handleValid(formValue);
8932
+ }
8933
+ handleValid(formValue) {
8934
+ const valid = !!formValue?.besluitUrl && !!formValue?.resultProcessVariable;
8935
+ this.valid$.next(valid);
8936
+ this.valid.emit(valid);
8937
+ }
8938
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetBesluitConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8939
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GetBesluitConfigurationComponent, isStandalone: false, selector: "valtimo-get-besluit-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"besluitUrl\"\n [title]=\"'besluitUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.besluitUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'besluitUrlTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input\n name=\"resultProcessVariable\"\n [title]=\"'resultProcessVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultProcessVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'resultProcessVariableTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
8940
+ }
8941
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetBesluitConfigurationComponent, decorators: [{
8942
+ type: Component,
8943
+ args: [{ selector: 'valtimo-get-besluit-configuration', standalone: false, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"besluitUrl\"\n [title]=\"'besluitUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.besluitUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'besluitUrlTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n <v-input\n name=\"resultProcessVariable\"\n [title]=\"'resultProcessVariable' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.resultProcessVariable\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'resultProcessVariableTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n" }]
8944
+ }], propDecorators: { save$: [{
8945
+ type: Input
8946
+ }], disabled$: [{
8947
+ type: Input
8948
+ }], pluginId: [{
8949
+ type: Input
8950
+ }], prefillConfiguration$: [{
8951
+ type: Input
8952
+ }], valid: [{
8953
+ type: Output
8954
+ }], configuration: [{
8955
+ type: Output
8956
+ }] } });
8957
+
8848
8958
  /*
8849
8959
  * Copyright 2015-2025 Ritense BV, the Netherlands.
8850
8960
  *
@@ -8865,7 +8975,8 @@ class BesluitenApiPluginModule {
8865
8975
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: BesluitenApiPluginModule, declarations: [BesluitenApiConfigurationComponent,
8866
8976
  CreateZaakBesluitConfigurationComponent,
8867
8977
  PatchZaakBesluitConfigurationComponent,
8868
- LinkDocumentToBesluitConfigurationComponent], imports: [CommonModule,
8978
+ LinkDocumentToBesluitConfigurationComponent,
8979
+ GetBesluitConfigurationComponent], imports: [CommonModule,
8869
8980
  PluginTranslatePipeModule,
8870
8981
  FormModule,
8871
8982
  InputModule,
@@ -8879,7 +8990,8 @@ class BesluitenApiPluginModule {
8879
8990
  IconModule], exports: [BesluitenApiConfigurationComponent,
8880
8991
  CreateZaakBesluitConfigurationComponent,
8881
8992
  PatchZaakBesluitConfigurationComponent,
8882
- LinkDocumentToBesluitConfigurationComponent] }); }
8993
+ LinkDocumentToBesluitConfigurationComponent,
8994
+ GetBesluitConfigurationComponent] }); }
8883
8995
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BesluitenApiPluginModule, imports: [CommonModule,
8884
8996
  PluginTranslatePipeModule,
8885
8997
  FormModule,
@@ -8901,6 +9013,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
8901
9013
  CreateZaakBesluitConfigurationComponent,
8902
9014
  PatchZaakBesluitConfigurationComponent,
8903
9015
  LinkDocumentToBesluitConfigurationComponent,
9016
+ GetBesluitConfigurationComponent,
8904
9017
  ],
8905
9018
  imports: [
8906
9019
  CommonModule,
@@ -8921,6 +9034,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
8921
9034
  CreateZaakBesluitConfigurationComponent,
8922
9035
  PatchZaakBesluitConfigurationComponent,
8923
9036
  LinkDocumentToBesluitConfigurationComponent,
9037
+ GetBesluitConfigurationComponent,
8924
9038
  ],
8925
9039
  }]
8926
9040
  }] });
@@ -8981,6 +9095,7 @@ const besluitenApiPluginSpecification = {
8981
9095
  'create-besluit': CreateZaakBesluitConfigurationComponent,
8982
9096
  'patch-besluit': PatchZaakBesluitConfigurationComponent,
8983
9097
  'link-document-to-besluit': LinkDocumentToBesluitConfigurationComponent,
9098
+ 'get-besluit': GetBesluitConfigurationComponent,
8984
9099
  },
8985
9100
  pluginTranslations: {
8986
9101
  nl: {
@@ -9038,6 +9153,9 @@ const besluitenApiPluginSpecification = {
9038
9153
  beslisdatum: 'Beslisdatum',
9039
9154
  beslisdatumTooltip: 'De beslisdatum (AWB) van het besluit. Ondersteunt value resolver. Ondersteunende datum voorbeelden: 2024-04-01, 2024-04-01T12:10:00, 2024-04-01T12:10:06.069Z',
9040
9155
  addPatchBesluitProperty: 'Voeg nieuwe parameter toe',
9156
+ 'get-besluit': 'Besluit ophalen',
9157
+ resultProcessVariable: 'Resultaat process variable',
9158
+ resultProcessVariableTooltip: 'De naam van de procesvariabele waarin het resultaat moet worden opgeslagen.',
9041
9159
  },
9042
9160
  en: {
9043
9161
  title: 'Besluiten API',
@@ -9094,6 +9212,9 @@ const besluitenApiPluginSpecification = {
9094
9212
  beslisdatum: 'Decision date',
9095
9213
  beslisdatumTooltip: 'The decision date (AWB) of the decision. Supports value resolver. Supported date examples: 2024-04-01, 2024-04-01T12:10:00, 2024-04-01T12:10:06.069Z',
9096
9214
  addPatchBesluitProperty: 'Add besluit property',
9215
+ 'get-besluit': 'Retrieve besluit',
9216
+ resultProcessVariable: 'Result process variable',
9217
+ resultProcessVariableTooltip: 'The name of the process variable in which the result must be stored.',
9097
9218
  },
9098
9219
  },
9099
9220
  };
@@ -9683,5 +9804,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
9683
9804
  * Generated bundle index. Do not edit.
9684
9805
  */
9685
9806
 
9686
- export { BesluitenApiConfigurationComponent, BesluitenApiPluginModule, CatalogiApiConfigurationComponent, CatalogiApiPluginModule, CompletePortalTaskComponent, CreateMedewerkerZaakRolComponent, CreateNatuurlijkPersoonZaakRolComponent, CreateNietNatuurlijkPersoonZaakRolComponent, CreateOrganisatorischeEenheidZaakRolComponent, CreatePersoonComponent, CreatePortalTaskComponent, CreateVestigingZaakRolComponent, CreateZaakBesluitConfigurationComponent, CreateZaakConfigurationComponent, CreateZaakObjectConfigurationComponent, CreateZaakResultaatConfigurationComponent, CreateZaakeigenschapComponent, DeleteObjectComponent, DeleteZaakRolComponent, DeleteZaakeigenschapComponent, DocumentenApiConfigurationComponent, DocumentenApiPluginModule, DownloadDocumentConfigurationComponent, EndHersteltermijnComponent, ExactPluginModule, GenerateDocumentConfigurationComponent, GetBesluittypeConfigurationComponent, GetEigenschapConfigurationComponent, GetResultaattypeConfigurationComponent, GetResultaattypenConfigurationComponent, GetStatustypeConfigurationComponent, GetStatustypenConfigurationComponent, GetTemplateNamesComponent, GetZaakInformatieobjectenComponent, GetZaakbesluitenConfigurationComponent, IkoConfigurationComponent, IkoPluginModule, KlantinteractiesApiConfigurationComponent, KlantinteractiesApiPluginModule, LinkDocumentToBesluitConfigurationComponent, LinkDocumentToZaakConfigurationComponent, LinkUploadedDocumentToZaakConfigurationComponent, NotificatiesApiConfigurationComponent, NotificatiesApiPluginModule, ObjectTokenAuthencationConfigurationComponent, ObjectTokenAuthenticationPluginModule, ObjectenApiConfigurationComponent, ObjectenApiPluginModule, ObjecttypenApiConfigurationComponent, ObjecttypenApiPluginModule, OpenKlantTokenAuthenticationConfigurationComponent, OpenKlantTokenAuthenticationPluginModule, OpenNotificatiesConfigurationComponent, OpenNotificatiesPluginModule, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PatchZaakBesluitConfigurationComponent, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginManagementService, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, PortaaltaakConfigurationComponent, PortaaltaakPluginModule, RelateerZakenComponent, SetZaakStatusConfigurationComponent, SetZaakopschortingComponent, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, StartHersteltermijnConfigurationComponent, StoreTempDocumentConfigurationComponent, StoreUploadedDocumentConfigurationComponent, StoreUploadedDocumentInPartsConfigurationComponent, UpdateZaakeigenschapComponent, VerzoekConfigurationComponent, VerzoekPluginModule, ZakenApiConfigurationComponent, ZakenApiPluginModule, besluitenApiPluginSpecification, catalogiApiPluginSpecification, documentenApiPluginSpecification, exactPluginSpecification, ikoPluginSpecification, klantinteractiesApiPluginSpecification, notificatiesApiPluginSpecification, objectTokenAuthenticationPluginSpecification, objectenApiPluginSpecification, objecttypenApiPluginSpecification, openKlantTokenAuthenticationPluginSpecification, openNotificatiesPluginSpecification, openZaakPluginSpecification, portaaltaakPluginSpecification, smartDocumentsPluginSpecification, verzoekPluginSpecification, zakenApiPluginSpecification };
9807
+ export { BesluitenApiConfigurationComponent, BesluitenApiPluginModule, CatalogiApiConfigurationComponent, CatalogiApiPluginModule, CompletePortalTaskComponent, CreateMedewerkerZaakRolComponent, CreateNatuurlijkPersoonZaakRolComponent, CreateNietNatuurlijkPersoonZaakRolComponent, CreateOrganisatorischeEenheidZaakRolComponent, CreatePersoonComponent, CreatePortalTaskComponent, CreateVestigingZaakRolComponent, CreateZaakBesluitConfigurationComponent, CreateZaakConfigurationComponent, CreateZaakObjectConfigurationComponent, CreateZaakResultaatConfigurationComponent, CreateZaakeigenschapComponent, DeleteObjectComponent, DeleteZaakRolComponent, DeleteZaakeigenschapComponent, DocumentenApiConfigurationComponent, DocumentenApiPluginModule, DownloadDocumentConfigurationComponent, EndHersteltermijnComponent, ExactPluginModule, GenerateDocumentConfigurationComponent, GetBesluitConfigurationComponent, GetBesluittypeConfigurationComponent, GetEigenschapConfigurationComponent, GetResultaattypeConfigurationComponent, GetResultaattypenConfigurationComponent, GetStatustypeConfigurationComponent, GetStatustypenConfigurationComponent, GetTemplateNamesComponent, GetZaakInformatieobjectenComponent, GetZaakbesluitenConfigurationComponent, IkoConfigurationComponent, IkoPluginModule, KlantinteractiesApiConfigurationComponent, KlantinteractiesApiPluginModule, LinkDocumentToBesluitConfigurationComponent, LinkDocumentToZaakConfigurationComponent, LinkUploadedDocumentToZaakConfigurationComponent, NotificatiesApiConfigurationComponent, NotificatiesApiPluginModule, ObjectTokenAuthencationConfigurationComponent, ObjectTokenAuthenticationPluginModule, ObjectenApiConfigurationComponent, ObjectenApiPluginModule, ObjecttypenApiConfigurationComponent, ObjecttypenApiPluginModule, OpenKlantTokenAuthenticationConfigurationComponent, OpenKlantTokenAuthenticationPluginModule, OpenNotificatiesConfigurationComponent, OpenNotificatiesPluginModule, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PatchZaakBesluitConfigurationComponent, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginManagementService, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, PortaaltaakConfigurationComponent, PortaaltaakPluginModule, RelateerZakenComponent, SetZaakStatusConfigurationComponent, SetZaakopschortingComponent, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, StartHersteltermijnConfigurationComponent, StoreTempDocumentConfigurationComponent, StoreUploadedDocumentConfigurationComponent, StoreUploadedDocumentInPartsConfigurationComponent, UpdateZaakeigenschapComponent, VerzoekConfigurationComponent, VerzoekPluginModule, ZakenApiConfigurationComponent, ZakenApiPluginModule, besluitenApiPluginSpecification, catalogiApiPluginSpecification, documentenApiPluginSpecification, exactPluginSpecification, ikoPluginSpecification, klantinteractiesApiPluginSpecification, notificatiesApiPluginSpecification, objectTokenAuthenticationPluginSpecification, objectenApiPluginSpecification, objecttypenApiPluginSpecification, openKlantTokenAuthenticationPluginSpecification, openNotificatiesPluginSpecification, openZaakPluginSpecification, portaaltaakPluginSpecification, smartDocumentsPluginSpecification, verzoekPluginSpecification, zakenApiPluginSpecification };
9687
9808
  //# sourceMappingURL=valtimo-plugin.mjs.map