@valtimo/plugin 11.2.2 → 11.3.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.
- package/esm2022/lib/plugins/besluiten-api/besluiten-api-plugin.specification.mjs +13 -7
- package/esm2022/lib/plugins/besluiten-api/components/create-zaak-besluit/create-zaak-besluit-configuration.component.mjs +28 -6
- package/esm2022/lib/plugins/besluiten-api/models/config.mjs +1 -1
- package/esm2022/lib/plugins/zaken-api/components/create-zaakeigenschap/create-zaakeigenschap.component.mjs +160 -0
- package/esm2022/lib/plugins/zaken-api/components/delete-zaakeigenschap/delete-zaakeigenschap.component.mjs +159 -0
- package/esm2022/lib/plugins/zaken-api/components/end-hersteltermijn/end-hersteltermijn.component.mjs +63 -0
- package/esm2022/lib/plugins/zaken-api/components/start-hersteltermijn/start-hersteltermijn-configuration.component.mjs +77 -0
- package/esm2022/lib/plugins/zaken-api/components/update-zaakeigenschap/update-zaakeigenschap.component.mjs +160 -0
- package/esm2022/lib/plugins/zaken-api/models/config.mjs +1 -1
- package/esm2022/lib/plugins/zaken-api/models/eigenschap.mjs +17 -0
- package/esm2022/lib/plugins/zaken-api/models/index.mjs +2 -1
- package/esm2022/lib/plugins/zaken-api/services/zaken-api.service.mjs +4 -1
- package/esm2022/lib/plugins/zaken-api/zaken-api-plugin.module.mjs +28 -3
- package/esm2022/lib/plugins/zaken-api/zaken-api-plugin.specification.mjs +62 -1
- package/esm2022/public-api.mjs +6 -1
- package/fesm2022/valtimo-plugin.mjs +691 -15
- package/fesm2022/valtimo-plugin.mjs.map +1 -1
- package/lib/plugins/besluiten-api/besluiten-api-plugin.specification.d.ts.map +1 -1
- package/lib/plugins/besluiten-api/components/create-zaak-besluit/create-zaak-besluit-configuration.component.d.ts +4 -0
- package/lib/plugins/besluiten-api/components/create-zaak-besluit/create-zaak-besluit-configuration.component.d.ts.map +1 -1
- package/lib/plugins/besluiten-api/models/config.d.ts +2 -0
- package/lib/plugins/besluiten-api/models/config.d.ts.map +1 -1
- package/lib/plugins/zaken-api/components/create-zaakeigenschap/create-zaakeigenschap.component.d.ts +45 -0
- package/lib/plugins/zaken-api/components/create-zaakeigenschap/create-zaakeigenschap.component.d.ts.map +1 -0
- package/lib/plugins/zaken-api/components/delete-zaakeigenschap/delete-zaakeigenschap.component.d.ts +45 -0
- package/lib/plugins/zaken-api/components/delete-zaakeigenschap/delete-zaakeigenschap.component.d.ts.map +1 -0
- package/lib/plugins/zaken-api/components/end-hersteltermijn/end-hersteltermijn.component.d.ts +20 -0
- package/lib/plugins/zaken-api/components/end-hersteltermijn/end-hersteltermijn.component.d.ts.map +1 -0
- package/lib/plugins/zaken-api/components/start-hersteltermijn/start-hersteltermijn-configuration.component.d.ts +24 -0
- package/lib/plugins/zaken-api/components/start-hersteltermijn/start-hersteltermijn-configuration.component.d.ts.map +1 -0
- package/lib/plugins/zaken-api/components/update-zaakeigenschap/update-zaakeigenschap.component.d.ts +45 -0
- package/lib/plugins/zaken-api/components/update-zaakeigenschap/update-zaakeigenschap.component.d.ts.map +1 -0
- package/lib/plugins/zaken-api/models/config.d.ts +18 -1
- package/lib/plugins/zaken-api/models/config.d.ts.map +1 -1
- package/lib/plugins/zaken-api/models/eigenschap.d.ts +6 -0
- package/lib/plugins/zaken-api/models/eigenschap.d.ts.map +1 -0
- package/lib/plugins/zaken-api/models/index.d.ts +1 -0
- package/lib/plugins/zaken-api/models/index.d.ts.map +1 -1
- package/lib/plugins/zaken-api/services/zaken-api.service.d.ts +2 -0
- package/lib/plugins/zaken-api/services/zaken-api.service.d.ts.map +1 -1
- package/lib/plugins/zaken-api/zaken-api-plugin.module.d.ts +10 -5
- package/lib/plugins/zaken-api/zaken-api-plugin.module.d.ts.map +1 -1
- package/lib/plugins/zaken-api/zaken-api-plugin.specification.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
- package/public-api.d.ts.map +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, Injectable, Inject, Pipe, NgModule, EventEmitter, Component, Input, Output, ViewContainerRef, ViewChild } from '@angular/core';
|
|
3
|
-
import { BehaviorSubject, combineLatest, take, map as map$1, Subject, switchMap, tap as tap$1, of, filter, catchError } from 'rxjs';
|
|
3
|
+
import { BehaviorSubject, combineLatest, take, map as map$1, Subject, switchMap, tap as tap$1, of, filter, Subscription, catchError } from 'rxjs';
|
|
4
4
|
import { map, tap } from 'rxjs/operators';
|
|
5
5
|
import * as i2 from '@ngx-translate/core';
|
|
6
6
|
import { TranslateModule } from '@ngx-translate/core';
|
|
@@ -2403,6 +2403,9 @@ class ZakenApiService {
|
|
|
2403
2403
|
getResultaatTypesByCaseDefinition(caseDefinitionId) {
|
|
2404
2404
|
return this.http.get(`${this.valtimoEndpointUri}v1/case-definition/${caseDefinitionId}/zaaktype/resultaattype`);
|
|
2405
2405
|
}
|
|
2406
|
+
getEigenschappenByCaseDefinition(caseDefinitionName) {
|
|
2407
|
+
return this.http.get(`${this.valtimoEndpointUri}management/v1/case-definition/${caseDefinitionName}/catalogi-eigenschappen`);
|
|
2408
|
+
}
|
|
2406
2409
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ZakenApiService, deps: [{ token: i1.HttpClient }, { token: i2$1.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2407
2410
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ZakenApiService, providedIn: 'root' }); }
|
|
2408
2411
|
}
|
|
@@ -3060,6 +3063,575 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3060
3063
|
type: Output
|
|
3061
3064
|
}] } });
|
|
3062
3065
|
|
|
3066
|
+
/*
|
|
3067
|
+
* Copyright 2015-2023 Ritense BV, the Netherlands.
|
|
3068
|
+
*
|
|
3069
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
3070
|
+
* you may not use this file except in compliance with the License.
|
|
3071
|
+
* You may obtain a copy of the License at
|
|
3072
|
+
*
|
|
3073
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
3074
|
+
*
|
|
3075
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3076
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
3077
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3078
|
+
* See the License for the specific language governing permissions and
|
|
3079
|
+
* limitations under the License.
|
|
3080
|
+
*/
|
|
3081
|
+
class StartHersteltermijnConfigurationComponent {
|
|
3082
|
+
constructor() {
|
|
3083
|
+
this.valid = new EventEmitter();
|
|
3084
|
+
this.configuration = new EventEmitter();
|
|
3085
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
3086
|
+
this.valid$ = new BehaviorSubject(false);
|
|
3087
|
+
}
|
|
3088
|
+
ngOnInit() {
|
|
3089
|
+
this.openSaveSubscription();
|
|
3090
|
+
}
|
|
3091
|
+
ngOnDestroy() {
|
|
3092
|
+
this.saveSubscription?.unsubscribe();
|
|
3093
|
+
}
|
|
3094
|
+
formValueChange(formValue) {
|
|
3095
|
+
this.formValue$.next(formValue);
|
|
3096
|
+
this.handleValid(formValue);
|
|
3097
|
+
}
|
|
3098
|
+
handleValid(formValue) {
|
|
3099
|
+
const valid = !!formValue.maxDurationInDays;
|
|
3100
|
+
this.valid$.next(valid);
|
|
3101
|
+
this.valid.emit(valid);
|
|
3102
|
+
}
|
|
3103
|
+
openSaveSubscription() {
|
|
3104
|
+
this.saveSubscription = this.save$?.subscribe(save => {
|
|
3105
|
+
combineLatest([this.formValue$, this.valid$])
|
|
3106
|
+
.pipe(take(1))
|
|
3107
|
+
.subscribe(([formValue, valid]) => {
|
|
3108
|
+
if (valid) {
|
|
3109
|
+
this.configuration.emit({
|
|
3110
|
+
maxDurationInDays: formValue.maxDurationInDays,
|
|
3111
|
+
});
|
|
3112
|
+
}
|
|
3113
|
+
});
|
|
3114
|
+
});
|
|
3115
|
+
}
|
|
3116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StartHersteltermijnConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3117
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StartHersteltermijnConfigurationComponent, selector: "valtimo-start-hersteltermijn-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, providers: [PluginTranslatePipe], ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <ng-container>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'startHersteltermijnInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n <v-form (valueChange)=\"formValueChange($event)\">\n <v-input\n name=\"maxDurationInDays\"\n [min]=\"1\"\n [title]=\"'maxDurationInDays' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.maxDurationInDays\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'maxDurationInDaysTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n </v-form>\n </ng-container>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
3118
|
+
}
|
|
3119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StartHersteltermijnConfigurationComponent, decorators: [{
|
|
3120
|
+
type: Component,
|
|
3121
|
+
args: [{ selector: 'valtimo-start-hersteltermijn-configuration', providers: [PluginTranslatePipe], template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <ng-container>\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'startHersteltermijnInformation' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n <v-form (valueChange)=\"formValueChange($event)\">\n <v-input\n name=\"maxDurationInDays\"\n [min]=\"1\"\n [title]=\"'maxDurationInDays' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.maxDurationInDays\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'maxDurationInDaysTooltip' | pluginTranslate: pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n </v-form>\n </ng-container>\n</ng-container>\n" }]
|
|
3122
|
+
}], propDecorators: { save$: [{
|
|
3123
|
+
type: Input
|
|
3124
|
+
}], disabled$: [{
|
|
3125
|
+
type: Input
|
|
3126
|
+
}], pluginId: [{
|
|
3127
|
+
type: Input
|
|
3128
|
+
}], prefillConfiguration$: [{
|
|
3129
|
+
type: Input
|
|
3130
|
+
}], valid: [{
|
|
3131
|
+
type: Output
|
|
3132
|
+
}], configuration: [{
|
|
3133
|
+
type: Output
|
|
3134
|
+
}] } });
|
|
3135
|
+
|
|
3136
|
+
/*
|
|
3137
|
+
* Copyright 2015-2024 Ritense BV, the Netherlands.
|
|
3138
|
+
*
|
|
3139
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
3140
|
+
* you may not use this file except in compliance with the License.
|
|
3141
|
+
* You may obtain a copy of the License at
|
|
3142
|
+
*
|
|
3143
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
3144
|
+
*
|
|
3145
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3146
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
3147
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3148
|
+
* See the License for the specific language governing permissions and
|
|
3149
|
+
* limitations under the License.
|
|
3150
|
+
*/
|
|
3151
|
+
class EndHersteltermijnComponent {
|
|
3152
|
+
constructor() {
|
|
3153
|
+
this.configuration = new EventEmitter();
|
|
3154
|
+
this.valid = new EventEmitter();
|
|
3155
|
+
this._saveSubscription = new Subscription();
|
|
3156
|
+
}
|
|
3157
|
+
ngOnInit() {
|
|
3158
|
+
this.openSaveSubscription();
|
|
3159
|
+
this.emitValid();
|
|
3160
|
+
}
|
|
3161
|
+
ngOnDestroy() {
|
|
3162
|
+
this._saveSubscription.unsubscribe();
|
|
3163
|
+
}
|
|
3164
|
+
emitValid() {
|
|
3165
|
+
this.valid.emit(true);
|
|
3166
|
+
}
|
|
3167
|
+
openSaveSubscription() {
|
|
3168
|
+
this._saveSubscription.add(this.save$?.subscribe(() => {
|
|
3169
|
+
this.configuration.emit({});
|
|
3170
|
+
}));
|
|
3171
|
+
}
|
|
3172
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EndHersteltermijnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3173
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EndHersteltermijnComponent, selector: "valtimo-end-hersteltermijn", inputs: { disabled$: "disabled$", save$: "save$", prefillConfiguration$: "prefillConfiguration$", pluginId: "pluginId" }, outputs: { configuration: "configuration", valid: "valid" }, providers: [PluginTranslatePipe], 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-paragraph [center]=\"true\" [fullWidth]=\"true\">\n {{ 'endHersteltermijnInformation' | pluginTranslate: pluginId | async }}\n</v-paragraph>\n", dependencies: [{ kind: "component", type: i2$2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
3174
|
+
}
|
|
3175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EndHersteltermijnComponent, decorators: [{
|
|
3176
|
+
type: Component,
|
|
3177
|
+
args: [{ selector: 'valtimo-end-hersteltermijn', providers: [PluginTranslatePipe], 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-paragraph [center]=\"true\" [fullWidth]=\"true\">\n {{ 'endHersteltermijnInformation' | pluginTranslate: pluginId | async }}\n</v-paragraph>\n" }]
|
|
3178
|
+
}], propDecorators: { disabled$: [{
|
|
3179
|
+
type: Input
|
|
3180
|
+
}], save$: [{
|
|
3181
|
+
type: Input
|
|
3182
|
+
}], prefillConfiguration$: [{
|
|
3183
|
+
type: Input
|
|
3184
|
+
}], pluginId: [{
|
|
3185
|
+
type: Input
|
|
3186
|
+
}], configuration: [{
|
|
3187
|
+
type: Output
|
|
3188
|
+
}], valid: [{
|
|
3189
|
+
type: Output
|
|
3190
|
+
}] } });
|
|
3191
|
+
|
|
3192
|
+
/*
|
|
3193
|
+
* Copyright 2015-2023 Ritense BV, the Netherlands.
|
|
3194
|
+
*
|
|
3195
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
3196
|
+
* you may not use this file except in compliance with the License.
|
|
3197
|
+
* You may obtain a copy of the License at
|
|
3198
|
+
*
|
|
3199
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
3200
|
+
*
|
|
3201
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3202
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
3203
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3204
|
+
* See the License for the specific language governing permissions and
|
|
3205
|
+
* limitations under the License.
|
|
3206
|
+
*/
|
|
3207
|
+
class CreateZaakeigenschapComponent {
|
|
3208
|
+
set pluginId(value) {
|
|
3209
|
+
this.pluginId$.next(value);
|
|
3210
|
+
}
|
|
3211
|
+
constructor(modalService, documentService, zakenApiService, pluginTranslatePipe) {
|
|
3212
|
+
this.modalService = modalService;
|
|
3213
|
+
this.documentService = documentService;
|
|
3214
|
+
this.zakenApiService = zakenApiService;
|
|
3215
|
+
this.pluginTranslatePipe = pluginTranslatePipe;
|
|
3216
|
+
this.valid = new EventEmitter();
|
|
3217
|
+
this.configuration = new EventEmitter();
|
|
3218
|
+
this.caseDefinitionSelectItems$ = new BehaviorSubject(null);
|
|
3219
|
+
this.selectedCaseDefinitionName$ = new BehaviorSubject('');
|
|
3220
|
+
this.clearEigenschapSelection$ = new Subject();
|
|
3221
|
+
this.loading$ = new BehaviorSubject(true);
|
|
3222
|
+
this.eigenschapSelectItems$ = this.modalService.modalData$.pipe(switchMap(params => this.documentService.findProcessDocumentDefinitionsByProcessDefinitionKey(params?.processDefinitionKey)), tap$1(processDocumentDefinitions => {
|
|
3223
|
+
const caseDefSelectItems = processDocumentDefinitions.map(processDocDef => ({
|
|
3224
|
+
text: processDocDef.id.documentDefinitionId.name,
|
|
3225
|
+
id: processDocDef.id.documentDefinitionId.name,
|
|
3226
|
+
}));
|
|
3227
|
+
this.caseDefinitionSelectItems$.next(caseDefSelectItems);
|
|
3228
|
+
if (this.oneSelectItem(caseDefSelectItems)) {
|
|
3229
|
+
this.selectedCaseDefinitionName$.next(caseDefSelectItems[0].id);
|
|
3230
|
+
}
|
|
3231
|
+
}), switchMap(processDocumentDefinitions => combineLatest([
|
|
3232
|
+
of(processDocumentDefinitions.map(processDoc => processDoc.id.documentDefinitionId.name)),
|
|
3233
|
+
...processDocumentDefinitions.map(processDocDef => this.zakenApiService.getEigenschappenByCaseDefinition(processDocDef.id.documentDefinitionId.name)),
|
|
3234
|
+
])), map(res => {
|
|
3235
|
+
const caseDefinitionIds = res[0];
|
|
3236
|
+
const eigenschappen = res.filter((curr, index) => index !== 0);
|
|
3237
|
+
const selectObject = {};
|
|
3238
|
+
caseDefinitionIds.forEach((caseDefinitionId, index) => {
|
|
3239
|
+
selectObject[caseDefinitionId] = eigenschappen[index].map(eigenschap => ({
|
|
3240
|
+
id: eigenschap.url,
|
|
3241
|
+
text: eigenschap.name,
|
|
3242
|
+
}));
|
|
3243
|
+
});
|
|
3244
|
+
return selectObject;
|
|
3245
|
+
}), tap$1(selectObject => {
|
|
3246
|
+
this.prefillConfiguration$.pipe(take(1)).subscribe(prefillConfig => {
|
|
3247
|
+
const eigenschapUrl = prefillConfig?.eigenschapUrl;
|
|
3248
|
+
if (eigenschapUrl) {
|
|
3249
|
+
let selectedCaseDefinitionId;
|
|
3250
|
+
Object.keys(selectObject).forEach(caseDefinitionId => {
|
|
3251
|
+
if (selectObject[caseDefinitionId].find(item => item.id === eigenschapUrl)) {
|
|
3252
|
+
selectedCaseDefinitionId = caseDefinitionId;
|
|
3253
|
+
}
|
|
3254
|
+
if (selectedCaseDefinitionId) {
|
|
3255
|
+
this.selectedCaseDefinitionName$.next(selectedCaseDefinitionId);
|
|
3256
|
+
}
|
|
3257
|
+
else {
|
|
3258
|
+
this.selectedInputOption$.next('text');
|
|
3259
|
+
}
|
|
3260
|
+
});
|
|
3261
|
+
}
|
|
3262
|
+
});
|
|
3263
|
+
}), tap$1(() => {
|
|
3264
|
+
this.loading$.next(false);
|
|
3265
|
+
}));
|
|
3266
|
+
this.selectedInputOption$ = new BehaviorSubject('selection');
|
|
3267
|
+
this.pluginId$ = new BehaviorSubject('');
|
|
3268
|
+
this.inputTypeOptions$ = this.pluginId$.pipe(filter(pluginId => !!pluginId), switchMap(pluginId => combineLatest([
|
|
3269
|
+
this.pluginTranslatePipe.transform('selection', pluginId),
|
|
3270
|
+
this.pluginTranslatePipe.transform('text', pluginId),
|
|
3271
|
+
])), map(([selectionTranslation, textTranslation]) => [
|
|
3272
|
+
{ value: 'selection', title: selectionTranslation },
|
|
3273
|
+
{ value: 'text', title: textTranslation },
|
|
3274
|
+
]));
|
|
3275
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
3276
|
+
this.valid$ = new BehaviorSubject(false);
|
|
3277
|
+
}
|
|
3278
|
+
ngOnInit() {
|
|
3279
|
+
this.openSaveSubscription();
|
|
3280
|
+
}
|
|
3281
|
+
ngOnDestroy() {
|
|
3282
|
+
this.saveSubscription?.unsubscribe();
|
|
3283
|
+
}
|
|
3284
|
+
formValueChange(formValue) {
|
|
3285
|
+
this.formValue$.next(formValue);
|
|
3286
|
+
this.handleValid(formValue);
|
|
3287
|
+
if (formValue.inputTypeEigenschapToggle) {
|
|
3288
|
+
this.selectedInputOption$.next(formValue.inputTypeEigenschapToggle);
|
|
3289
|
+
}
|
|
3290
|
+
}
|
|
3291
|
+
selectCaseDefinition(caseDefinitionName) {
|
|
3292
|
+
this.selectedCaseDefinitionName$.next(caseDefinitionName);
|
|
3293
|
+
this.clearEigenschapSelection$.next();
|
|
3294
|
+
}
|
|
3295
|
+
oneSelectItem(selectItems) {
|
|
3296
|
+
if (Array.isArray(selectItems)) {
|
|
3297
|
+
return selectItems.length === 1;
|
|
3298
|
+
}
|
|
3299
|
+
return false;
|
|
3300
|
+
}
|
|
3301
|
+
handleValid(formValue) {
|
|
3302
|
+
const valid = !!formValue.eigenschapUrl;
|
|
3303
|
+
this.valid$.next(valid);
|
|
3304
|
+
this.valid.emit(valid);
|
|
3305
|
+
}
|
|
3306
|
+
openSaveSubscription() {
|
|
3307
|
+
this.saveSubscription = this.save$?.subscribe(save => {
|
|
3308
|
+
combineLatest([this.formValue$, this.valid$])
|
|
3309
|
+
.pipe(take(1))
|
|
3310
|
+
.subscribe(([formValue, valid]) => {
|
|
3311
|
+
if (valid) {
|
|
3312
|
+
this.configuration.emit({
|
|
3313
|
+
eigenschapUrl: formValue.eigenschapUrl,
|
|
3314
|
+
eigenschapValue: formValue.eigenschapValue,
|
|
3315
|
+
});
|
|
3316
|
+
}
|
|
3317
|
+
});
|
|
3318
|
+
});
|
|
3319
|
+
}
|
|
3320
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateZaakeigenschapComponent, deps: [{ token: i2$2.ModalService }, { token: i2$3.DocumentService }, { token: ZakenApiService }, { token: PluginTranslatePipe }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3321
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CreateZaakeigenschapComponent, selector: "valtimo-create-zaakeigenschap", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, providers: [PluginTranslatePipe], ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 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 loading: loading$ | async,\n caseDefinitionItems: caseDefinitionSelectItems$ | async,\n eigenschapItems: eigenschapSelectItems$ | async,\n selectedCaseDefinitionId: selectedCaseDefinitionName$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-radio\n name=\"inputTypeEigenschapToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeEigenschapToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenschapUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'eigenschapUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.caseDefinitionItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"caseDefinition\"\n [title]=\"'caseDefinition' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.caseDefinitionItems ||\n oneSelectItem(obs.caseDefinitionItems)\n \"\n [required]=\"true\"\n [loading]=\"!obs.caseDefinitionItems\"\n [tooltip]=\"'caseDefinitionTooltipEigenschap' | pluginTranslate: obs.pluginId | async\"\n (selectedChange)=\"selectCaseDefinition($event)\"\n [defaultSelectionId]=\"obs?.selectedCaseDefinitionId\"\n ></v-select>\n <v-select\n [items]=\"obs.eigenschapItems && obs.eigenschapItems[obs.selectedCaseDefinitionId]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.eigenschapItems ||\n !obs.eigenschapItems[obs.selectedCaseDefinitionId]\n \"\n [defaultSelectionId]=\"obs.prefill?.eigenschapUrl\"\n [required]=\"true\"\n [loading]=\"!obs.eigenschapItems\"\n [tooltip]=\"'eigenschapUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearEigenschapSelection$\"\n ></v-select>\n </ng-container>\n <v-input\n name=\"eigenschapValue\"\n [title]=\"'eigenschapValue' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenschapValue\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'eigenschapValueTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\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", 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"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme"], 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: i8.Loading, selector: "cds-loading, ibm-loading", inputs: ["title", "isActive", "size", "overlay"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
3322
|
+
}
|
|
3323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateZaakeigenschapComponent, decorators: [{
|
|
3324
|
+
type: Component,
|
|
3325
|
+
args: [{ selector: 'valtimo-create-zaakeigenschap', providers: [PluginTranslatePipe], template: "<!--\n ~ Copyright 2015-2023 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 loading: loading$ | async,\n caseDefinitionItems: caseDefinitionSelectItems$ | async,\n eigenschapItems: eigenschapSelectItems$ | async,\n selectedCaseDefinitionId: selectedCaseDefinitionName$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-radio\n name=\"inputTypeEigenschapToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeEigenschapToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenschapUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'eigenschapUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.caseDefinitionItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"caseDefinition\"\n [title]=\"'caseDefinition' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.caseDefinitionItems ||\n oneSelectItem(obs.caseDefinitionItems)\n \"\n [required]=\"true\"\n [loading]=\"!obs.caseDefinitionItems\"\n [tooltip]=\"'caseDefinitionTooltipEigenschap' | pluginTranslate: obs.pluginId | async\"\n (selectedChange)=\"selectCaseDefinition($event)\"\n [defaultSelectionId]=\"obs?.selectedCaseDefinitionId\"\n ></v-select>\n <v-select\n [items]=\"obs.eigenschapItems && obs.eigenschapItems[obs.selectedCaseDefinitionId]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.eigenschapItems ||\n !obs.eigenschapItems[obs.selectedCaseDefinitionId]\n \"\n [defaultSelectionId]=\"obs.prefill?.eigenschapUrl\"\n [required]=\"true\"\n [loading]=\"!obs.eigenschapItems\"\n [tooltip]=\"'eigenschapUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearEigenschapSelection$\"\n ></v-select>\n </ng-container>\n <v-input\n name=\"eigenschapValue\"\n [title]=\"'eigenschapValue' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenschapValue\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'eigenschapValueTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\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" }]
|
|
3326
|
+
}], ctorParameters: function () { return [{ type: i2$2.ModalService }, { type: i2$3.DocumentService }, { type: ZakenApiService }, { type: PluginTranslatePipe }]; }, propDecorators: { save$: [{
|
|
3327
|
+
type: Input
|
|
3328
|
+
}], disabled$: [{
|
|
3329
|
+
type: Input
|
|
3330
|
+
}], pluginId: [{
|
|
3331
|
+
type: Input
|
|
3332
|
+
}], prefillConfiguration$: [{
|
|
3333
|
+
type: Input
|
|
3334
|
+
}], valid: [{
|
|
3335
|
+
type: Output
|
|
3336
|
+
}], configuration: [{
|
|
3337
|
+
type: Output
|
|
3338
|
+
}] } });
|
|
3339
|
+
|
|
3340
|
+
/*
|
|
3341
|
+
* Copyright 2015-2023 Ritense BV, the Netherlands.
|
|
3342
|
+
*
|
|
3343
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
3344
|
+
* you may not use this file except in compliance with the License.
|
|
3345
|
+
* You may obtain a copy of the License at
|
|
3346
|
+
*
|
|
3347
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
3348
|
+
*
|
|
3349
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3350
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
3351
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3352
|
+
* See the License for the specific language governing permissions and
|
|
3353
|
+
* limitations under the License.
|
|
3354
|
+
*/
|
|
3355
|
+
class UpdateZaakeigenschapComponent {
|
|
3356
|
+
set pluginId(value) {
|
|
3357
|
+
this.pluginId$.next(value);
|
|
3358
|
+
}
|
|
3359
|
+
constructor(modalService, documentService, zakenApiService, pluginTranslatePipe) {
|
|
3360
|
+
this.modalService = modalService;
|
|
3361
|
+
this.documentService = documentService;
|
|
3362
|
+
this.zakenApiService = zakenApiService;
|
|
3363
|
+
this.pluginTranslatePipe = pluginTranslatePipe;
|
|
3364
|
+
this.valid = new EventEmitter();
|
|
3365
|
+
this.configuration = new EventEmitter();
|
|
3366
|
+
this.caseDefinitionSelectItems$ = new BehaviorSubject(null);
|
|
3367
|
+
this.selectedCaseDefinitionName$ = new BehaviorSubject('');
|
|
3368
|
+
this.clearEigenschapSelection$ = new Subject();
|
|
3369
|
+
this.loading$ = new BehaviorSubject(true);
|
|
3370
|
+
this.eigenschapSelectItems$ = this.modalService.modalData$.pipe(switchMap(params => this.documentService.findProcessDocumentDefinitionsByProcessDefinitionKey(params?.processDefinitionKey)), tap$1(processDocumentDefinitions => {
|
|
3371
|
+
const caseDefSelectItems = processDocumentDefinitions.map(processDocDef => ({
|
|
3372
|
+
text: processDocDef.id.documentDefinitionId.name,
|
|
3373
|
+
id: processDocDef.id.documentDefinitionId.name,
|
|
3374
|
+
}));
|
|
3375
|
+
this.caseDefinitionSelectItems$.next(caseDefSelectItems);
|
|
3376
|
+
if (this.oneSelectItem(caseDefSelectItems)) {
|
|
3377
|
+
this.selectedCaseDefinitionName$.next(caseDefSelectItems[0].id);
|
|
3378
|
+
}
|
|
3379
|
+
}), switchMap(processDocumentDefinitions => combineLatest([
|
|
3380
|
+
of(processDocumentDefinitions.map(processDoc => processDoc.id.documentDefinitionId.name)),
|
|
3381
|
+
...processDocumentDefinitions.map(processDocDef => this.zakenApiService.getEigenschappenByCaseDefinition(processDocDef.id.documentDefinitionId.name)),
|
|
3382
|
+
])), map(res => {
|
|
3383
|
+
const caseDefinitionIds = res[0];
|
|
3384
|
+
const eigenschappen = res.filter((curr, index) => index !== 0);
|
|
3385
|
+
const selectObject = {};
|
|
3386
|
+
caseDefinitionIds.forEach((caseDefinitionId, index) => {
|
|
3387
|
+
selectObject[caseDefinitionId] = eigenschappen[index].map(eigenschap => ({
|
|
3388
|
+
id: eigenschap.url,
|
|
3389
|
+
text: eigenschap.name,
|
|
3390
|
+
}));
|
|
3391
|
+
});
|
|
3392
|
+
return selectObject;
|
|
3393
|
+
}), tap$1(selectObject => {
|
|
3394
|
+
this.prefillConfiguration$.pipe(take(1)).subscribe(prefillConfig => {
|
|
3395
|
+
const eigenschapUrl = prefillConfig?.eigenschapUrl;
|
|
3396
|
+
if (eigenschapUrl) {
|
|
3397
|
+
let selectedCaseDefinitionId;
|
|
3398
|
+
Object.keys(selectObject).forEach(caseDefinitionId => {
|
|
3399
|
+
if (selectObject[caseDefinitionId].find(item => item.id === eigenschapUrl)) {
|
|
3400
|
+
selectedCaseDefinitionId = caseDefinitionId;
|
|
3401
|
+
}
|
|
3402
|
+
if (selectedCaseDefinitionId) {
|
|
3403
|
+
this.selectedCaseDefinitionName$.next(selectedCaseDefinitionId);
|
|
3404
|
+
}
|
|
3405
|
+
else {
|
|
3406
|
+
this.selectedInputOption$.next('text');
|
|
3407
|
+
}
|
|
3408
|
+
});
|
|
3409
|
+
}
|
|
3410
|
+
});
|
|
3411
|
+
}), tap$1(() => {
|
|
3412
|
+
this.loading$.next(false);
|
|
3413
|
+
}));
|
|
3414
|
+
this.selectedInputOption$ = new BehaviorSubject('selection');
|
|
3415
|
+
this.pluginId$ = new BehaviorSubject('');
|
|
3416
|
+
this.inputTypeOptions$ = this.pluginId$.pipe(filter(pluginId => !!pluginId), switchMap(pluginId => combineLatest([
|
|
3417
|
+
this.pluginTranslatePipe.transform('selection', pluginId),
|
|
3418
|
+
this.pluginTranslatePipe.transform('text', pluginId),
|
|
3419
|
+
])), map(([selectionTranslation, textTranslation]) => [
|
|
3420
|
+
{ value: 'selection', title: selectionTranslation },
|
|
3421
|
+
{ value: 'text', title: textTranslation },
|
|
3422
|
+
]));
|
|
3423
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
3424
|
+
this.valid$ = new BehaviorSubject(false);
|
|
3425
|
+
}
|
|
3426
|
+
ngOnInit() {
|
|
3427
|
+
this.openSaveSubscription();
|
|
3428
|
+
}
|
|
3429
|
+
ngOnDestroy() {
|
|
3430
|
+
this.saveSubscription?.unsubscribe();
|
|
3431
|
+
}
|
|
3432
|
+
formValueChange(formValue) {
|
|
3433
|
+
this.formValue$.next(formValue);
|
|
3434
|
+
this.handleValid(formValue);
|
|
3435
|
+
if (formValue.inputTypeEigenschapToggle) {
|
|
3436
|
+
this.selectedInputOption$.next(formValue.inputTypeEigenschapToggle);
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
selectCaseDefinition(caseDefinitionName) {
|
|
3440
|
+
this.selectedCaseDefinitionName$.next(caseDefinitionName);
|
|
3441
|
+
this.clearEigenschapSelection$.next();
|
|
3442
|
+
}
|
|
3443
|
+
oneSelectItem(selectItems) {
|
|
3444
|
+
if (Array.isArray(selectItems)) {
|
|
3445
|
+
return selectItems.length === 1;
|
|
3446
|
+
}
|
|
3447
|
+
return false;
|
|
3448
|
+
}
|
|
3449
|
+
handleValid(formValue) {
|
|
3450
|
+
const valid = !!formValue.eigenschapUrl;
|
|
3451
|
+
this.valid$.next(valid);
|
|
3452
|
+
this.valid.emit(valid);
|
|
3453
|
+
}
|
|
3454
|
+
openSaveSubscription() {
|
|
3455
|
+
this.saveSubscription = this.save$?.subscribe(save => {
|
|
3456
|
+
combineLatest([this.formValue$, this.valid$])
|
|
3457
|
+
.pipe(take(1))
|
|
3458
|
+
.subscribe(([formValue, valid]) => {
|
|
3459
|
+
if (valid) {
|
|
3460
|
+
this.configuration.emit({
|
|
3461
|
+
eigenschapUrl: formValue.eigenschapUrl,
|
|
3462
|
+
eigenschapValue: formValue.eigenschapValue,
|
|
3463
|
+
});
|
|
3464
|
+
}
|
|
3465
|
+
});
|
|
3466
|
+
});
|
|
3467
|
+
}
|
|
3468
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UpdateZaakeigenschapComponent, deps: [{ token: i2$2.ModalService }, { token: i2$3.DocumentService }, { token: ZakenApiService }, { token: PluginTranslatePipe }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3469
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: UpdateZaakeigenschapComponent, selector: "valtimo-update-zaakeigenschap", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, providers: [PluginTranslatePipe], ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 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 loading: loading$ | async,\n caseDefinitionItems: caseDefinitionSelectItems$ | async,\n eigenschapItems: eigenschapSelectItems$ | async,\n selectedCaseDefinitionId: selectedCaseDefinitionName$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-radio\n name=\"inputTypeEigenschapToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeEigenschapToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenschapUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'eigenschapUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.caseDefinitionItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"caseDefinition\"\n [title]=\"'caseDefinition' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.caseDefinitionItems ||\n oneSelectItem(obs.caseDefinitionItems)\n \"\n [required]=\"true\"\n [loading]=\"!obs.caseDefinitionItems\"\n [tooltip]=\"'caseDefinitionTooltipEigenschap' | pluginTranslate: obs.pluginId | async\"\n (selectedChange)=\"selectCaseDefinition($event)\"\n [defaultSelectionId]=\"obs?.selectedCaseDefinitionId\"\n ></v-select>\n <v-select\n [items]=\"obs.eigenschapItems && obs.eigenschapItems[obs.selectedCaseDefinitionId]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.eigenschapItems ||\n !obs.eigenschapItems[obs.selectedCaseDefinitionId]\n \"\n [defaultSelectionId]=\"obs.prefill?.eigenschapUrl\"\n [required]=\"true\"\n [loading]=\"!obs.eigenschapItems\"\n [tooltip]=\"'eigenschapUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearEigenschapSelection$\"\n ></v-select>\n </ng-container>\n <v-input\n name=\"eigenschapValue\"\n [title]=\"'eigenschapValue' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenschapValue\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'eigenschapValueTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\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", 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"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme"], 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: i8.Loading, selector: "cds-loading, ibm-loading", inputs: ["title", "isActive", "size", "overlay"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
3470
|
+
}
|
|
3471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UpdateZaakeigenschapComponent, decorators: [{
|
|
3472
|
+
type: Component,
|
|
3473
|
+
args: [{ selector: 'valtimo-update-zaakeigenschap', providers: [PluginTranslatePipe], template: "<!--\n ~ Copyright 2015-2023 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 loading: loading$ | async,\n caseDefinitionItems: caseDefinitionSelectItems$ | async,\n eigenschapItems: eigenschapSelectItems$ | async,\n selectedCaseDefinitionId: selectedCaseDefinitionName$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-radio\n name=\"inputTypeEigenschapToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeEigenschapToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenschapUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'eigenschapUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.caseDefinitionItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"caseDefinition\"\n [title]=\"'caseDefinition' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.caseDefinitionItems ||\n oneSelectItem(obs.caseDefinitionItems)\n \"\n [required]=\"true\"\n [loading]=\"!obs.caseDefinitionItems\"\n [tooltip]=\"'caseDefinitionTooltipEigenschap' | pluginTranslate: obs.pluginId | async\"\n (selectedChange)=\"selectCaseDefinition($event)\"\n [defaultSelectionId]=\"obs?.selectedCaseDefinitionId\"\n ></v-select>\n <v-select\n [items]=\"obs.eigenschapItems && obs.eigenschapItems[obs.selectedCaseDefinitionId]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.eigenschapItems ||\n !obs.eigenschapItems[obs.selectedCaseDefinitionId]\n \"\n [defaultSelectionId]=\"obs.prefill?.eigenschapUrl\"\n [required]=\"true\"\n [loading]=\"!obs.eigenschapItems\"\n [tooltip]=\"'eigenschapUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearEigenschapSelection$\"\n ></v-select>\n </ng-container>\n <v-input\n name=\"eigenschapValue\"\n [title]=\"'eigenschapValue' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenschapValue\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'eigenschapValueTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\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" }]
|
|
3474
|
+
}], ctorParameters: function () { return [{ type: i2$2.ModalService }, { type: i2$3.DocumentService }, { type: ZakenApiService }, { type: PluginTranslatePipe }]; }, propDecorators: { save$: [{
|
|
3475
|
+
type: Input
|
|
3476
|
+
}], disabled$: [{
|
|
3477
|
+
type: Input
|
|
3478
|
+
}], pluginId: [{
|
|
3479
|
+
type: Input
|
|
3480
|
+
}], prefillConfiguration$: [{
|
|
3481
|
+
type: Input
|
|
3482
|
+
}], valid: [{
|
|
3483
|
+
type: Output
|
|
3484
|
+
}], configuration: [{
|
|
3485
|
+
type: Output
|
|
3486
|
+
}] } });
|
|
3487
|
+
|
|
3488
|
+
/*
|
|
3489
|
+
* Copyright 2015-2023 Ritense BV, the Netherlands.
|
|
3490
|
+
*
|
|
3491
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
3492
|
+
* you may not use this file except in compliance with the License.
|
|
3493
|
+
* You may obtain a copy of the License at
|
|
3494
|
+
*
|
|
3495
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
3496
|
+
*
|
|
3497
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3498
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
3499
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3500
|
+
* See the License for the specific language governing permissions and
|
|
3501
|
+
* limitations under the License.
|
|
3502
|
+
*/
|
|
3503
|
+
class DeleteZaakeigenschapComponent {
|
|
3504
|
+
set pluginId(value) {
|
|
3505
|
+
this.pluginId$.next(value);
|
|
3506
|
+
}
|
|
3507
|
+
constructor(modalService, documentService, zakenApiService, pluginTranslatePipe) {
|
|
3508
|
+
this.modalService = modalService;
|
|
3509
|
+
this.documentService = documentService;
|
|
3510
|
+
this.zakenApiService = zakenApiService;
|
|
3511
|
+
this.pluginTranslatePipe = pluginTranslatePipe;
|
|
3512
|
+
this.valid = new EventEmitter();
|
|
3513
|
+
this.configuration = new EventEmitter();
|
|
3514
|
+
this.caseDefinitionSelectItems$ = new BehaviorSubject(null);
|
|
3515
|
+
this.selectedCaseDefinitionName$ = new BehaviorSubject('');
|
|
3516
|
+
this.clearEigenschapSelection$ = new Subject();
|
|
3517
|
+
this.loading$ = new BehaviorSubject(true);
|
|
3518
|
+
this.eigenschapSelectItems$ = this.modalService.modalData$.pipe(switchMap(params => this.documentService.findProcessDocumentDefinitionsByProcessDefinitionKey(params?.processDefinitionKey)), tap$1(processDocumentDefinitions => {
|
|
3519
|
+
const caseDefSelectItems = processDocumentDefinitions.map(processDocDef => ({
|
|
3520
|
+
text: processDocDef.id.documentDefinitionId.name,
|
|
3521
|
+
id: processDocDef.id.documentDefinitionId.name,
|
|
3522
|
+
}));
|
|
3523
|
+
this.caseDefinitionSelectItems$.next(caseDefSelectItems);
|
|
3524
|
+
if (this.oneSelectItem(caseDefSelectItems)) {
|
|
3525
|
+
this.selectedCaseDefinitionName$.next(caseDefSelectItems[0].id);
|
|
3526
|
+
}
|
|
3527
|
+
}), switchMap(processDocumentDefinitions => combineLatest([
|
|
3528
|
+
of(processDocumentDefinitions.map(processDoc => processDoc.id.documentDefinitionId.name)),
|
|
3529
|
+
...processDocumentDefinitions.map(processDocDef => this.zakenApiService.getEigenschappenByCaseDefinition(processDocDef.id.documentDefinitionId.name)),
|
|
3530
|
+
])), map(res => {
|
|
3531
|
+
const caseDefinitionIds = res[0];
|
|
3532
|
+
const eigenschappen = res.filter((curr, index) => index !== 0);
|
|
3533
|
+
const selectObject = {};
|
|
3534
|
+
caseDefinitionIds.forEach((caseDefinitionId, index) => {
|
|
3535
|
+
selectObject[caseDefinitionId] = eigenschappen[index].map(eigenschap => ({
|
|
3536
|
+
id: eigenschap.url,
|
|
3537
|
+
text: eigenschap.name,
|
|
3538
|
+
}));
|
|
3539
|
+
});
|
|
3540
|
+
return selectObject;
|
|
3541
|
+
}), tap$1(selectObject => {
|
|
3542
|
+
this.prefillConfiguration$.pipe(take(1)).subscribe(prefillConfig => {
|
|
3543
|
+
const eigenschapUrl = prefillConfig?.eigenschapUrl;
|
|
3544
|
+
if (eigenschapUrl) {
|
|
3545
|
+
let selectedCaseDefinitionId;
|
|
3546
|
+
Object.keys(selectObject).forEach(caseDefinitionId => {
|
|
3547
|
+
if (selectObject[caseDefinitionId].find(item => item.id === eigenschapUrl)) {
|
|
3548
|
+
selectedCaseDefinitionId = caseDefinitionId;
|
|
3549
|
+
}
|
|
3550
|
+
if (selectedCaseDefinitionId) {
|
|
3551
|
+
this.selectedCaseDefinitionName$.next(selectedCaseDefinitionId);
|
|
3552
|
+
}
|
|
3553
|
+
else {
|
|
3554
|
+
this.selectedInputOption$.next('text');
|
|
3555
|
+
}
|
|
3556
|
+
});
|
|
3557
|
+
}
|
|
3558
|
+
});
|
|
3559
|
+
}), tap$1(() => {
|
|
3560
|
+
this.loading$.next(false);
|
|
3561
|
+
}));
|
|
3562
|
+
this.selectedInputOption$ = new BehaviorSubject('selection');
|
|
3563
|
+
this.pluginId$ = new BehaviorSubject('');
|
|
3564
|
+
this.inputTypeOptions$ = this.pluginId$.pipe(filter(pluginId => !!pluginId), switchMap(pluginId => combineLatest([
|
|
3565
|
+
this.pluginTranslatePipe.transform('selection', pluginId),
|
|
3566
|
+
this.pluginTranslatePipe.transform('text', pluginId),
|
|
3567
|
+
])), map(([selectionTranslation, textTranslation]) => [
|
|
3568
|
+
{ value: 'selection', title: selectionTranslation },
|
|
3569
|
+
{ value: 'text', title: textTranslation },
|
|
3570
|
+
]));
|
|
3571
|
+
this.formValue$ = new BehaviorSubject(null);
|
|
3572
|
+
this.valid$ = new BehaviorSubject(false);
|
|
3573
|
+
}
|
|
3574
|
+
ngOnInit() {
|
|
3575
|
+
this.openSaveSubscription();
|
|
3576
|
+
}
|
|
3577
|
+
ngOnDestroy() {
|
|
3578
|
+
this.saveSubscription?.unsubscribe();
|
|
3579
|
+
}
|
|
3580
|
+
formValueChange(formValue) {
|
|
3581
|
+
this.formValue$.next(formValue);
|
|
3582
|
+
this.handleValid(formValue);
|
|
3583
|
+
if (formValue.inputTypeEigenschapToggle) {
|
|
3584
|
+
this.selectedInputOption$.next(formValue.inputTypeEigenschapToggle);
|
|
3585
|
+
}
|
|
3586
|
+
}
|
|
3587
|
+
selectCaseDefinition(caseDefinitionName) {
|
|
3588
|
+
this.selectedCaseDefinitionName$.next(caseDefinitionName);
|
|
3589
|
+
this.clearEigenschapSelection$.next();
|
|
3590
|
+
}
|
|
3591
|
+
oneSelectItem(selectItems) {
|
|
3592
|
+
if (Array.isArray(selectItems)) {
|
|
3593
|
+
return selectItems.length === 1;
|
|
3594
|
+
}
|
|
3595
|
+
return false;
|
|
3596
|
+
}
|
|
3597
|
+
handleValid(formValue) {
|
|
3598
|
+
const valid = !!formValue.eigenschapUrl;
|
|
3599
|
+
this.valid$.next(valid);
|
|
3600
|
+
this.valid.emit(valid);
|
|
3601
|
+
}
|
|
3602
|
+
openSaveSubscription() {
|
|
3603
|
+
this.saveSubscription = this.save$?.subscribe(save => {
|
|
3604
|
+
combineLatest([this.formValue$, this.valid$])
|
|
3605
|
+
.pipe(take(1))
|
|
3606
|
+
.subscribe(([formValue, valid]) => {
|
|
3607
|
+
if (valid) {
|
|
3608
|
+
this.configuration.emit({
|
|
3609
|
+
eigenschapUrl: formValue.eigenschapUrl,
|
|
3610
|
+
});
|
|
3611
|
+
}
|
|
3612
|
+
});
|
|
3613
|
+
});
|
|
3614
|
+
}
|
|
3615
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DeleteZaakeigenschapComponent, deps: [{ token: i2$2.ModalService }, { token: i2$3.DocumentService }, { token: ZakenApiService }, { token: PluginTranslatePipe }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3616
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DeleteZaakeigenschapComponent, selector: "valtimo-delete-zaakeigenschap", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, providers: [PluginTranslatePipe], ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 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 loading: loading$ | async,\n caseDefinitionItems: caseDefinitionSelectItems$ | async,\n eigenschapItems: eigenschapSelectItems$ | async,\n selectedCaseDefinitionId: selectedCaseDefinitionName$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-radio\n name=\"inputTypeEigenschapToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeEigenschapToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenschapUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'eigenschapUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.caseDefinitionItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"caseDefinition\"\n [title]=\"'caseDefinition' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.caseDefinitionItems ||\n oneSelectItem(obs.caseDefinitionItems)\n \"\n [required]=\"true\"\n [loading]=\"!obs.caseDefinitionItems\"\n [tooltip]=\"'caseDefinitionTooltipEigenschap' | pluginTranslate: obs.pluginId | async\"\n (selectedChange)=\"selectCaseDefinition($event)\"\n [defaultSelectionId]=\"obs?.selectedCaseDefinitionId\"\n ></v-select>\n <v-select\n [items]=\"obs.eigenschapItems && obs.eigenschapItems[obs.selectedCaseDefinitionId]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.eigenschapItems ||\n !obs.eigenschapItems[obs.selectedCaseDefinitionId]\n \"\n [defaultSelectionId]=\"obs.prefill?.eigenschapUrl\"\n [required]=\"true\"\n [loading]=\"!obs.eigenschapItems\"\n [tooltip]=\"'eigenschapUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearEigenschapSelection$\"\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", 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"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme"], 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: i8.Loading, selector: "cds-loading, ibm-loading", inputs: ["title", "isActive", "size", "overlay"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
3617
|
+
}
|
|
3618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DeleteZaakeigenschapComponent, decorators: [{
|
|
3619
|
+
type: Component,
|
|
3620
|
+
args: [{ selector: 'valtimo-delete-zaakeigenschap', providers: [PluginTranslatePipe], template: "<!--\n ~ Copyright 2015-2023 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 loading: loading$ | async,\n caseDefinitionItems: caseDefinitionSelectItems$ | async,\n eigenschapItems: eigenschapSelectItems$ | async,\n selectedCaseDefinitionId: selectedCaseDefinitionName$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-radio\n name=\"inputTypeEigenschapToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeEigenschapToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.eigenschapUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'eigenschapUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [fullWidth]=\"true\"\n >\n </v-input>\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.caseDefinitionItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"caseDefinition\"\n [title]=\"'caseDefinition' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.caseDefinitionItems ||\n oneSelectItem(obs.caseDefinitionItems)\n \"\n [required]=\"true\"\n [loading]=\"!obs.caseDefinitionItems\"\n [tooltip]=\"'caseDefinitionTooltipEigenschap' | pluginTranslate: obs.pluginId | async\"\n (selectedChange)=\"selectCaseDefinition($event)\"\n [defaultSelectionId]=\"obs?.selectedCaseDefinitionId\"\n ></v-select>\n <v-select\n [items]=\"obs.eigenschapItems && obs.eigenschapItems[obs.selectedCaseDefinitionId]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"eigenschapUrl\"\n [title]=\"'eigenschapUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.eigenschapItems ||\n !obs.eigenschapItems[obs.selectedCaseDefinitionId]\n \"\n [defaultSelectionId]=\"obs.prefill?.eigenschapUrl\"\n [required]=\"true\"\n [loading]=\"!obs.eigenschapItems\"\n [tooltip]=\"'eigenschapUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearEigenschapSelection$\"\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" }]
|
|
3621
|
+
}], ctorParameters: function () { return [{ type: i2$2.ModalService }, { type: i2$3.DocumentService }, { type: ZakenApiService }, { type: PluginTranslatePipe }]; }, propDecorators: { save$: [{
|
|
3622
|
+
type: Input
|
|
3623
|
+
}], disabled$: [{
|
|
3624
|
+
type: Input
|
|
3625
|
+
}], pluginId: [{
|
|
3626
|
+
type: Input
|
|
3627
|
+
}], prefillConfiguration$: [{
|
|
3628
|
+
type: Input
|
|
3629
|
+
}], valid: [{
|
|
3630
|
+
type: Output
|
|
3631
|
+
}], configuration: [{
|
|
3632
|
+
type: Output
|
|
3633
|
+
}] } });
|
|
3634
|
+
|
|
3063
3635
|
/*
|
|
3064
3636
|
* Copyright 2015-2023 Ritense BV, the Netherlands.
|
|
3065
3637
|
*
|
|
@@ -3085,7 +3657,12 @@ class ZakenApiPluginModule {
|
|
|
3085
3657
|
CreateNatuurlijkPersoonZaakRolComponent,
|
|
3086
3658
|
CreateNietNatuurlijkPersoonZaakRolComponent,
|
|
3087
3659
|
CreateZaakConfigurationComponent,
|
|
3088
|
-
SetZaakopschortingComponent
|
|
3660
|
+
SetZaakopschortingComponent,
|
|
3661
|
+
StartHersteltermijnConfigurationComponent,
|
|
3662
|
+
EndHersteltermijnComponent,
|
|
3663
|
+
CreateZaakeigenschapComponent,
|
|
3664
|
+
UpdateZaakeigenschapComponent,
|
|
3665
|
+
DeleteZaakeigenschapComponent], imports: [CommonModule,
|
|
3089
3666
|
PluginTranslatePipeModule,
|
|
3090
3667
|
FormModule,
|
|
3091
3668
|
InputModule,
|
|
@@ -3102,7 +3679,12 @@ class ZakenApiPluginModule {
|
|
|
3102
3679
|
CreateZaakConfigurationComponent,
|
|
3103
3680
|
CreateNatuurlijkPersoonZaakRolComponent,
|
|
3104
3681
|
CreateNietNatuurlijkPersoonZaakRolComponent,
|
|
3105
|
-
SetZaakopschortingComponent
|
|
3682
|
+
SetZaakopschortingComponent,
|
|
3683
|
+
StartHersteltermijnConfigurationComponent,
|
|
3684
|
+
EndHersteltermijnComponent,
|
|
3685
|
+
CreateZaakeigenschapComponent,
|
|
3686
|
+
UpdateZaakeigenschapComponent,
|
|
3687
|
+
DeleteZaakeigenschapComponent] }); }
|
|
3106
3688
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ZakenApiPluginModule, imports: [CommonModule,
|
|
3107
3689
|
PluginTranslatePipeModule,
|
|
3108
3690
|
FormModule,
|
|
@@ -3127,6 +3709,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3127
3709
|
CreateNietNatuurlijkPersoonZaakRolComponent,
|
|
3128
3710
|
CreateZaakConfigurationComponent,
|
|
3129
3711
|
SetZaakopschortingComponent,
|
|
3712
|
+
StartHersteltermijnConfigurationComponent,
|
|
3713
|
+
EndHersteltermijnComponent,
|
|
3714
|
+
CreateZaakeigenschapComponent,
|
|
3715
|
+
UpdateZaakeigenschapComponent,
|
|
3716
|
+
DeleteZaakeigenschapComponent,
|
|
3130
3717
|
],
|
|
3131
3718
|
imports: [
|
|
3132
3719
|
CommonModule,
|
|
@@ -3150,6 +3737,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3150
3737
|
CreateNatuurlijkPersoonZaakRolComponent,
|
|
3151
3738
|
CreateNietNatuurlijkPersoonZaakRolComponent,
|
|
3152
3739
|
SetZaakopschortingComponent,
|
|
3740
|
+
StartHersteltermijnConfigurationComponent,
|
|
3741
|
+
EndHersteltermijnComponent,
|
|
3742
|
+
CreateZaakeigenschapComponent,
|
|
3743
|
+
UpdateZaakeigenschapComponent,
|
|
3744
|
+
DeleteZaakeigenschapComponent,
|
|
3153
3745
|
],
|
|
3154
3746
|
}]
|
|
3155
3747
|
}] });
|
|
@@ -3215,6 +3807,11 @@ const zakenApiPluginSpecification = {
|
|
|
3215
3807
|
'create-natuurlijk-persoon-zaak-rol': CreateNatuurlijkPersoonZaakRolComponent,
|
|
3216
3808
|
'create-niet-natuurlijk-persoon-zaak-rol': CreateNietNatuurlijkPersoonZaakRolComponent,
|
|
3217
3809
|
'set-zaakopschorting': SetZaakopschortingComponent,
|
|
3810
|
+
'start-hersteltermijn': StartHersteltermijnConfigurationComponent,
|
|
3811
|
+
'end-hersteltermijn': EndHersteltermijnComponent,
|
|
3812
|
+
'create-zaakeigenschap': CreateZaakeigenschapComponent,
|
|
3813
|
+
'update-zaakeigenschap': UpdateZaakeigenschapComponent,
|
|
3814
|
+
'delete-zaakeigenschap': DeleteZaakeigenschapComponent,
|
|
3218
3815
|
},
|
|
3219
3816
|
pluginTranslations: {
|
|
3220
3817
|
nl: {
|
|
@@ -3253,6 +3850,23 @@ const zakenApiPluginSpecification = {
|
|
|
3253
3850
|
'create-natuurlijk-persoon-zaak-rol': 'Zaakrol aanmaken - natuurlijk persoon',
|
|
3254
3851
|
'create-niet-natuurlijk-persoon-zaak-rol': 'Zaakrol aanmaken - niet natuurlijk persoon',
|
|
3255
3852
|
'set-zaakopschorting': 'Schort een zaak op',
|
|
3853
|
+
'start-hersteltermijn': 'Start hersteltermijn',
|
|
3854
|
+
startRecoveryPeriodInformation: 'Deze actie start een hersteltermijn voor de zaak die aan dit proces is gekoppeld.',
|
|
3855
|
+
maxDurationInDays: 'Maximale duur in dagen',
|
|
3856
|
+
maxDurationInDaysTooltip: 'De ingevoerde waarde vertegenwoordigt de maximale duur van de hersteltermijn in dagen.',
|
|
3857
|
+
'end-hersteltermijn': 'Beëindig hersteltermijn',
|
|
3858
|
+
endHersteltermijnInformation: 'Beëindigt de momenteel lopende hersteltermijn van de Zaak',
|
|
3859
|
+
'create-zaakeigenschap': 'Creëer zaakeigenschap',
|
|
3860
|
+
'update-zaakeigenschap': 'Bijwerken zaakeigenschap',
|
|
3861
|
+
'delete-zaakeigenschap': 'Verwijder zaakeigenschap',
|
|
3862
|
+
eigenschapUrl: 'Eigenschap URL',
|
|
3863
|
+
eigenschapUrlTooltip: 'URL-referentie naar de eigenschap.',
|
|
3864
|
+
eigenschapValue: 'Eigenschap waarde',
|
|
3865
|
+
eigenschapValueTooltip: 'De waarde van de zaakeigenschap',
|
|
3866
|
+
eigenschapUrlSelect: 'Eigenschap',
|
|
3867
|
+
eigenschapUrlSelectTooltip: 'Selecteer een eigenschap.',
|
|
3868
|
+
inputTypeEigenschapToggle: 'Invoertype eigenschap-URL',
|
|
3869
|
+
caseDefinitionTooltipEigenschap: 'Selecteer de dossierdefinitie waarvan u een eigenschap wilt selecteren. Als er slechts één eigenschap beschikbaar is, wordt deze standaard geselecteerd.',
|
|
3256
3870
|
roltypeUrl: 'Roltype URL',
|
|
3257
3871
|
rolToelichting: 'Roltoelichting',
|
|
3258
3872
|
inpBsn: 'Initiator BSN',
|
|
@@ -3323,6 +3937,23 @@ const zakenApiPluginSpecification = {
|
|
|
3323
3937
|
'create-natuurlijk-persoon-zaak-rol': 'Create Zaakrol - natural person',
|
|
3324
3938
|
'create-niet-natuurlijk-persoon-zaak-rol': 'Create Zaakrol - not a natural person',
|
|
3325
3939
|
'set-zaakopschorting': 'Suspend case',
|
|
3940
|
+
'start-hersteltermijn': 'Start recovery period',
|
|
3941
|
+
startHersteltermijnInformation: 'This action initiates a recovery period for the case associated with this process.',
|
|
3942
|
+
maxDurationInDays: 'Maximum duration in days',
|
|
3943
|
+
maxDurationInDaysTooltip: 'The entered value represents the maximum duration of the recovery period in days.',
|
|
3944
|
+
'end-hersteltermijn': 'End recovery period',
|
|
3945
|
+
endHersteltermijnInformation: 'Ends the currently running recovery period of the Zaak',
|
|
3946
|
+
'create-zaakeigenschap': 'Create zaakeigenschap',
|
|
3947
|
+
'update-zaakeigenschap': 'Update zaakeigenschap',
|
|
3948
|
+
'delete-zaakeigenschap': 'Delete zaakeigenschap',
|
|
3949
|
+
eigenschapUrl: 'Property URL',
|
|
3950
|
+
eigenschapUrlTooltip: 'URL reference to the eigenschap.',
|
|
3951
|
+
eigenschapValue: 'Eigenschap value',
|
|
3952
|
+
eigenschapValueTooltip: 'The value of the zaakeigenschap',
|
|
3953
|
+
eigenschapUrlSelect: 'Eigenschap',
|
|
3954
|
+
eigenschapUrlSelectTooltip: 'Select a eigenschap.',
|
|
3955
|
+
inputTypeEigenschapToggle: 'Input type eigenschap-URL',
|
|
3956
|
+
caseDefinitionTooltipEigenschap: 'Select the case definition from which you want to select an eigenschap. If only one eigenschap is available, it will be selected by default.',
|
|
3326
3957
|
roltypeUrl: 'Role type URL',
|
|
3327
3958
|
rolToelichting: 'Role explanation',
|
|
3328
3959
|
inpBsn: 'Initiator BSN',
|
|
@@ -3393,6 +4024,23 @@ const zakenApiPluginSpecification = {
|
|
|
3393
4024
|
'create-natuurlijk-persoon-zaak-rol': 'Zaakrol erstellen – natürliche Person',
|
|
3394
4025
|
'create-niet-natuurlijk-persoon-zaak-rol': 'Zaakrol erstellen – keine natürliche Person',
|
|
3395
4026
|
'set-zaakopschorting': 'Einen Fall aussetzen',
|
|
4027
|
+
'start-hersteltermijn': 'Beginnen Sie mit der Erholungsphase',
|
|
4028
|
+
startHersteltermijnInformation: 'Diese Aktion startet eine Erholungszeit für den Fall, der mit diesem Prozess verknüpft ist.',
|
|
4029
|
+
maxDurationInDays: 'Maximale Dauer in Tagen',
|
|
4030
|
+
maxDurationInDaysTooltip: 'Der eingegebene Wert stellt die maximale Dauer der Erholungszeit in Tagen dar.',
|
|
4031
|
+
'end-hersteltermijn': 'Beenden Sie mit der Erholungsphase',
|
|
4032
|
+
endHersteltermijnInformation: 'Beenden die aktuelle Erholungsphase des Case',
|
|
4033
|
+
'create-zaakeigenschap': 'Zaakeigenschaft erstellen',
|
|
4034
|
+
'update-zaakeigenschap': 'Zaakeigenschaft aktualisieren',
|
|
4035
|
+
'delete-zaakeigenschap': 'Zaakeigenschaft löschen',
|
|
4036
|
+
eigenschapUrl: 'Eigenschafts-URL',
|
|
4037
|
+
eigenschapUrlTooltip: 'URL-Referenz zur Eigenschaft.',
|
|
4038
|
+
eigenschapValue: 'Eigenschaftswert',
|
|
4039
|
+
eigenschapValueTooltip: 'Der Wert der Zaakeigenschaft',
|
|
4040
|
+
inputTypeEigenschapToggle: 'Eingabetyp eigenschap-URL',
|
|
4041
|
+
eigenschapUrlSelect: 'Eigenschap',
|
|
4042
|
+
eigenschapUrlSelectTooltip: 'Wählen Sie den eigenschap aus.',
|
|
4043
|
+
caseDefinitionTooltipEigenschap: 'Wählen Sie die eigenschap aus, aus der Sie einen eigenschap auswählen möchten. Wenn nur ein Statustyp verfügbar ist, wird dieser standardmäßig ausgewählt.',
|
|
3396
4044
|
roltypeUrl: 'Rollentyp-URL',
|
|
3397
4045
|
rolToelichting: 'Rollenerklärung',
|
|
3398
4046
|
inpBsn: 'Initiator BSN',
|
|
@@ -5760,13 +6408,15 @@ class CreateZaakBesluitConfigurationComponent {
|
|
|
5760
6408
|
'ingetrokken_overheid',
|
|
5761
6409
|
'ingetrokken_belanghebbende',
|
|
5762
6410
|
];
|
|
5763
|
-
this.vervalredenenSelectItems$ = this.translateService.stream('key').pipe(map$1(
|
|
6411
|
+
this.vervalredenenSelectItems$ = this.translateService.stream('key').pipe(switchMap(() => this.pluginId$), map$1(pluginId => this.VERVALREDENEN.map(item => ({
|
|
5764
6412
|
id: item,
|
|
5765
|
-
text: this.pluginTranslationService.instant(item,
|
|
6413
|
+
text: this.pluginTranslationService.instant(item, pluginId),
|
|
5766
6414
|
}))));
|
|
5767
6415
|
this.caseDefinitionSelectItems$ = new BehaviorSubject(null);
|
|
5768
6416
|
this.selectedCaseDefinitionId$ = new BehaviorSubject('');
|
|
5769
6417
|
this.selectedInputOption$ = new BehaviorSubject('selection');
|
|
6418
|
+
this.selectedStartDateInputOption$ = new BehaviorSubject('selection');
|
|
6419
|
+
this.selectedExpirationDateInputOption$ = new BehaviorSubject('selection');
|
|
5770
6420
|
this.loading$ = new BehaviorSubject(true);
|
|
5771
6421
|
this.pluginId$ = new BehaviorSubject('');
|
|
5772
6422
|
this.inputTypeOptions$ = this.pluginId$.pipe(filter(pluginId => !!pluginId), switchMap(pluginId => combineLatest([
|
|
@@ -5776,6 +6426,20 @@ class CreateZaakBesluitConfigurationComponent {
|
|
|
5776
6426
|
{ value: 'selection', title: selectionTranslation },
|
|
5777
6427
|
{ value: 'text', title: textTranslation },
|
|
5778
6428
|
]));
|
|
6429
|
+
this.startDateInputTypeOptions$ = this.pluginId$.pipe(filter(pluginId => !!pluginId), switchMap(pluginId => combineLatest([
|
|
6430
|
+
this.pluginTranslatePipe.transform('selection', pluginId),
|
|
6431
|
+
this.pluginTranslatePipe.transform('text', pluginId),
|
|
6432
|
+
])), map$1(([selectionTranslation, textTranslation]) => [
|
|
6433
|
+
{ value: 'selection', title: selectionTranslation },
|
|
6434
|
+
{ value: 'text', title: textTranslation },
|
|
6435
|
+
]));
|
|
6436
|
+
this.expirationDateInputTypeOptions$ = this.pluginId$.pipe(filter(pluginId => !!pluginId), switchMap(pluginId => combineLatest([
|
|
6437
|
+
this.pluginTranslatePipe.transform('selection', pluginId),
|
|
6438
|
+
this.pluginTranslatePipe.transform('text', pluginId),
|
|
6439
|
+
])), map$1(([selectionTranslation, textTranslation]) => [
|
|
6440
|
+
{ value: 'selection', title: selectionTranslation },
|
|
6441
|
+
{ value: 'text', title: textTranslation },
|
|
6442
|
+
]));
|
|
5779
6443
|
this.besluitTypeSelectItems$ = this.modalService.modalData$.pipe(switchMap(params => this.documentService.findProcessDocumentDefinitionsByProcessDefinitionKey(params?.processDefinitionKey)), tap$1(processDocumentDefinitions => {
|
|
5780
6444
|
const caseDefSelectItems = processDocumentDefinitions.map(processDocDef => ({
|
|
5781
6445
|
text: processDocDef.id.documentDefinitionId.name,
|
|
@@ -5836,6 +6500,12 @@ class CreateZaakBesluitConfigurationComponent {
|
|
|
5836
6500
|
if (formValue.inputTypeBesluitToggle) {
|
|
5837
6501
|
this.selectedInputOption$.next(formValue.inputTypeBesluitToggle);
|
|
5838
6502
|
}
|
|
6503
|
+
if (formValue.inputTypeStartingDateToggle) {
|
|
6504
|
+
this.selectedStartDateInputOption$.next(formValue.inputTypeStartingDateToggle);
|
|
6505
|
+
}
|
|
6506
|
+
if (formValue.inputTypeExpirationDateToggle) {
|
|
6507
|
+
this.selectedExpirationDateInputOption$.next(formValue.inputTypeExpirationDateToggle);
|
|
6508
|
+
}
|
|
5839
6509
|
}
|
|
5840
6510
|
oneSelectItem(selectItems) {
|
|
5841
6511
|
if (Array.isArray(selectItems)) {
|
|
@@ -5848,7 +6518,7 @@ class CreateZaakBesluitConfigurationComponent {
|
|
|
5848
6518
|
this.clearBesluitSelection$.next();
|
|
5849
6519
|
}
|
|
5850
6520
|
handleValid(formValue) {
|
|
5851
|
-
const valid = !!formValue.besluittypeUrl;
|
|
6521
|
+
const valid = !!formValue.besluittypeUrl && !!formValue.ingangsdatum;
|
|
5852
6522
|
this.valid$.next(valid);
|
|
5853
6523
|
this.valid.emit(valid);
|
|
5854
6524
|
}
|
|
@@ -5864,11 +6534,11 @@ class CreateZaakBesluitConfigurationComponent {
|
|
|
5864
6534
|
});
|
|
5865
6535
|
}
|
|
5866
6536
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateZaakBesluitConfigurationComponent, deps: [{ token: i2.TranslateService }, { token: PluginTranslationService }, { token: i2$2.ModalService }, { token: i2$3.DocumentService }, { token: BesluitenApiService }, { token: PluginTranslatePipe }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5867
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CreateZaakBesluitConfigurationComponent, selector: "valtimo-create-zaak-besluit-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, providers: [PluginTranslatePipe], ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n besluitTypeItems: besluitTypeSelectItems$ | async,\n selectedInputOption: selectedInputOption$ | async,\n caseDefinitionItems: caseDefinitionSelectItems$ | async,\n pluginId: pluginId$ | async,\n selectedCaseDefinitionId: selectedCaseDefinitionId$ | async,\n loading: loading$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'createZaakBesluitInformation' | pluginTranslate: obs.pluginId | async }}\n </v-paragraph>\n <v-form (valueChange)=\"formValueChange($event)\">\n <v-radio\n name=\"inputTypeBesluitToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeBesluitToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"besluittypeUrl\"\n [title]=\"'besluittypeUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.besluittypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'besluittypeUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.caseDefinitionItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"caseDefinition\"\n [title]=\"'caseDefinition' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.caseDefinitionItems ||\n oneSelectItem(obs.caseDefinitionItems)\n \"\n [required]=\"true\"\n [loading]=\"!obs.caseDefinitionItems\"\n [tooltip]=\"'caseDefinitionTooltip' | pluginTranslate: obs.pluginId | async\"\n (selectedChange)=\"selectCaseDefinition($event)\"\n [defaultSelectionId]=\"obs?.selectedCaseDefinitionId\"\n ></v-select>\n <v-select\n [items]=\"obs.besluitTypeItems && obs.besluitTypeItems[obs.selectedCaseDefinitionId]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"besluittypeUrl\"\n [title]=\"'besluittypeUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.besluitTypeItems ||\n !obs.besluitTypeItems[obs.selectedCaseDefinitionId]\n \"\n [defaultSelectionId]=\"obs.prefill?.besluittypeUrl\"\n [required]=\"true\"\n [loading]=\"!obs.besluitTypeItems\"\n [tooltip]=\"'besluittypeUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearBesluitSelection$\"\n ></v-select>\n </ng-container>\n <v-input\n name=\"toelichting\"\n [title]=\"'toelichting' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.toelichting\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'toelichtingTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"bestuursorgaan\"\n [title]=\"'bestuursorgaan' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.bestuursorgaan\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'bestuursorgaanTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-date-picker\n name=\"ingangsdatum\"\n [title]=\"'ingangsdatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.ingangsdatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'ingangsdatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-date-picker\n name=\"vervaldatum\"\n [title]=\"'vervaldatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.vervaldatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'vervaldatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-select\n name=\"vervalreden\"\n [title]=\"'vervalreden' | pluginTranslate: obs.pluginId | async\"\n [items]=\"vervalredenenSelectItems$ | async\"\n [defaultSelectionId]=\"obs.prefill?.vervalreden\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'vervalredenTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthInPx]=\"350\"\n [margin]=\"true\"\n ></v-select>\n <v-date-picker\n name=\"publicatiedatum\"\n [title]=\"'publicatiedatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.publicatiedatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'publicatiedatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-date-picker\n name=\"verzenddatum\"\n [title]=\"'verzenddatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.verzenddatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'verzenddatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-date-picker\n name=\"uiterlijkeReactieDatum\"\n [title]=\"'uiterlijkeReactieDatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.uiterlijkeReactieDatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'uiterlijkeReactieDatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-input\n name=\"createdBesluitUrl\"\n [title]=\"'besluitUrlProcessVariable' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.createdBesluitUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'besluitUrlProcessVariableTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n </v-form>\n </ng-container>\n</ng-container>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: ["/*!\n * Copyright 2015-2023 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 */.loading-container{display:flex;flex-direction:row;justify-content:center;height:100%;width:100%;align-items:center}\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"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme"], outputs: ["selectedChange"] }, { kind: "component", type: i2$2.DatePickerComponent, selector: "v-date-picker", inputs: ["name", "title", "titleTranslationKey", "widthPx", "fullWidth", "margin", "disabled", "tooltip", "required", "defaultDate", "defaultDateIsToday", "smallLabel", "clear$", "enableTime", "carbonTheme"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading"] }, { 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: i8.Loading, selector: "cds-loading, ibm-loading", inputs: ["title", "isActive", "size", "overlay"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
6537
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CreateZaakBesluitConfigurationComponent, selector: "valtimo-create-zaak-besluit-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, providers: [PluginTranslatePipe], ngImport: i0, template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n besluitTypeItems: besluitTypeSelectItems$ | async,\n selectedInputOption: selectedInputOption$ | async,\n selectedStartDateInputOption: selectedStartDateInputOption$ | async,\n selectedExpirationDateInputOption: selectedExpirationDateInputOption$ | async,\n caseDefinitionItems: caseDefinitionSelectItems$ | async,\n pluginId: pluginId$ | async,\n selectedCaseDefinitionId: selectedCaseDefinitionId$ | async,\n loading: loading$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'createZaakBesluitInformation' | pluginTranslate: obs.pluginId | async }}\n </v-paragraph>\n <v-form (valueChange)=\"formValueChange($event)\">\n <v-radio\n name=\"inputTypeBesluitToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeBesluitToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"besluittypeUrl\"\n [title]=\"'besluittypeUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.besluittypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'besluittypeUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.caseDefinitionItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"caseDefinition\"\n [title]=\"'caseDefinition' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.caseDefinitionItems ||\n oneSelectItem(obs.caseDefinitionItems)\n \"\n [required]=\"true\"\n [loading]=\"!obs.caseDefinitionItems\"\n [tooltip]=\"'caseDefinitionTooltip' | pluginTranslate: obs.pluginId | async\"\n (selectedChange)=\"selectCaseDefinition($event)\"\n [defaultSelectionId]=\"obs?.selectedCaseDefinitionId\"\n ></v-select>\n <v-select\n [items]=\"obs.besluitTypeItems && obs.besluitTypeItems[obs.selectedCaseDefinitionId]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"besluittypeUrl\"\n [title]=\"'besluittypeUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.besluitTypeItems ||\n !obs.besluitTypeItems[obs.selectedCaseDefinitionId]\n \"\n [defaultSelectionId]=\"obs.prefill?.besluittypeUrl\"\n [required]=\"true\"\n [loading]=\"!obs.besluitTypeItems\"\n [tooltip]=\"'besluittypeUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearBesluitSelection$\"\n ></v-select>\n </ng-container>\n <v-input\n name=\"toelichting\"\n [title]=\"'toelichting' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.toelichting\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'toelichtingTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"bestuursorgaan\"\n [title]=\"'bestuursorgaan' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.bestuursorgaan\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'bestuursorgaanTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-radio\n name=\"inputTypeStartingDateToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeStartingDateToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"startDateInputTypeOptions$ | async\"\n [defaultValue]=\"obs.prefill?.inputTypeStartingDateToggle\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedStartDateInputOption === 'text'\"\n name=\"ingangsdatum\"\n [title]=\"'ingangsdatum' | pluginTranslate: obs.pluginId | async\"\n [defaultValue]=\"obs.prefill?.ingangsdatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'ingangsdatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n [margin]=\"true\"\n >\n </v-input>\n <v-date-picker\n *ngIf=\"obs.selectedStartDateInputOption === 'selection'\"\n name=\"ingangsdatum\"\n [title]=\"'ingangsdatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.ingangsdatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'ingangsdatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-radio\n name=\"inputTypeExpirationDateToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeExpirationDateToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"expirationDateInputTypeOptions$ | async\"\n [defaultValue]=\"obs.prefill?.inputTypeExpirationDateToggle\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedExpirationDateInputOption === 'text'\"\n name=\"vervaldatum\"\n [title]=\"'vervaldatum' | pluginTranslate: obs.pluginId | async\"\n [defaultValue]=\"obs.prefill?.vervaldatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'vervaldatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n [margin]=\"true\"\n >\n </v-input>\n <v-date-picker\n *ngIf=\"obs.selectedExpirationDateInputOption === 'selection'\"\n name=\"vervaldatum\"\n [title]=\"'vervaldatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.vervaldatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'vervaldatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-select\n name=\"vervalreden\"\n [title]=\"'vervalreden' | pluginTranslate: obs.pluginId | async\"\n [items]=\"vervalredenenSelectItems$ | async\"\n [defaultSelectionId]=\"obs.prefill?.vervalreden\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'vervalredenTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthInPx]=\"350\"\n [margin]=\"true\"\n ></v-select>\n <v-date-picker\n name=\"publicatiedatum\"\n [title]=\"'publicatiedatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.publicatiedatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'publicatiedatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-date-picker\n name=\"verzenddatum\"\n [title]=\"'verzenddatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.verzenddatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'verzenddatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-date-picker\n name=\"uiterlijkeReactieDatum\"\n [title]=\"'uiterlijkeReactieDatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.uiterlijkeReactieDatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'uiterlijkeReactieDatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-input\n name=\"createdBesluitUrl\"\n [title]=\"'besluitUrlProcessVariable' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.createdBesluitUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'besluitUrlProcessVariableTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n </v-form>\n </ng-container>\n</ng-container>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: ["/*!\n * Copyright 2015-2023 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 */.loading-container{display:flex;flex-direction:row;justify-content:center;height:100%;width:100%;align-items:center}\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"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme"], outputs: ["selectedChange"] }, { kind: "component", type: i2$2.DatePickerComponent, selector: "v-date-picker", inputs: ["name", "title", "titleTranslationKey", "widthPx", "fullWidth", "margin", "disabled", "tooltip", "required", "defaultDate", "defaultDateIsToday", "smallLabel", "clear$", "enableTime", "carbonTheme"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading"] }, { 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: i8.Loading, selector: "cds-loading, ibm-loading", inputs: ["title", "isActive", "size", "overlay"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
5868
6538
|
}
|
|
5869
6539
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CreateZaakBesluitConfigurationComponent, decorators: [{
|
|
5870
6540
|
type: Component,
|
|
5871
|
-
args: [{ selector: 'valtimo-create-zaak-besluit-configuration', providers: [PluginTranslatePipe], template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n besluitTypeItems: besluitTypeSelectItems$ | async,\n selectedInputOption: selectedInputOption$ | async,\n caseDefinitionItems: caseDefinitionSelectItems$ | async,\n pluginId: pluginId$ | async,\n selectedCaseDefinitionId: selectedCaseDefinitionId$ | async,\n loading: loading$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'createZaakBesluitInformation' | pluginTranslate: obs.pluginId | async }}\n </v-paragraph>\n <v-form (valueChange)=\"formValueChange($event)\">\n <v-radio\n name=\"inputTypeBesluitToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeBesluitToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"besluittypeUrl\"\n [title]=\"'besluittypeUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.besluittypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'besluittypeUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.caseDefinitionItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"caseDefinition\"\n [title]=\"'caseDefinition' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.caseDefinitionItems ||\n oneSelectItem(obs.caseDefinitionItems)\n \"\n [required]=\"true\"\n [loading]=\"!obs.caseDefinitionItems\"\n [tooltip]=\"'caseDefinitionTooltip' | pluginTranslate: obs.pluginId | async\"\n (selectedChange)=\"selectCaseDefinition($event)\"\n [defaultSelectionId]=\"obs?.selectedCaseDefinitionId\"\n ></v-select>\n <v-select\n [items]=\"obs.besluitTypeItems && obs.besluitTypeItems[obs.selectedCaseDefinitionId]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"besluittypeUrl\"\n [title]=\"'besluittypeUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.besluitTypeItems ||\n !obs.besluitTypeItems[obs.selectedCaseDefinitionId]\n \"\n [defaultSelectionId]=\"obs.prefill?.besluittypeUrl\"\n [required]=\"true\"\n [loading]=\"!obs.besluitTypeItems\"\n [tooltip]=\"'besluittypeUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearBesluitSelection$\"\n ></v-select>\n </ng-container>\n <v-input\n name=\"toelichting\"\n [title]=\"'toelichting' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.toelichting\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'toelichtingTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"bestuursorgaan\"\n [title]=\"'bestuursorgaan' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.bestuursorgaan\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'bestuursorgaanTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-date-picker\n name=\"ingangsdatum\"\n [title]=\"'ingangsdatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.ingangsdatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'ingangsdatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-date-picker\n name=\"vervaldatum\"\n [title]=\"'vervaldatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.vervaldatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'vervaldatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-select\n name=\"vervalreden\"\n [title]=\"'vervalreden' | pluginTranslate: obs.pluginId | async\"\n [items]=\"vervalredenenSelectItems$ | async\"\n [defaultSelectionId]=\"obs.prefill?.vervalreden\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'vervalredenTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthInPx]=\"350\"\n [margin]=\"true\"\n ></v-select>\n <v-date-picker\n name=\"publicatiedatum\"\n [title]=\"'publicatiedatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.publicatiedatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'publicatiedatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-date-picker\n name=\"verzenddatum\"\n [title]=\"'verzenddatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.verzenddatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'verzenddatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-date-picker\n name=\"uiterlijkeReactieDatum\"\n [title]=\"'uiterlijkeReactieDatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.uiterlijkeReactieDatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'uiterlijkeReactieDatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-input\n name=\"createdBesluitUrl\"\n [title]=\"'besluitUrlProcessVariable' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.createdBesluitUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'besluitUrlProcessVariableTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n </v-form>\n </ng-container>\n</ng-container>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: ["/*!\n * Copyright 2015-2023 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 */.loading-container{display:flex;flex-direction:row;justify-content:center;height:100%;width:100%;align-items:center}\n"] }]
|
|
6541
|
+
args: [{ selector: 'valtimo-create-zaak-besluit-configuration', providers: [PluginTranslatePipe], template: "<!--\n ~ Copyright 2015-2023 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n besluitTypeItems: besluitTypeSelectItems$ | async,\n selectedInputOption: selectedInputOption$ | async,\n selectedStartDateInputOption: selectedStartDateInputOption$ | async,\n selectedExpirationDateInputOption: selectedExpirationDateInputOption$ | async,\n caseDefinitionItems: caseDefinitionSelectItems$ | async,\n pluginId: pluginId$ | async,\n selectedCaseDefinitionId: selectedCaseDefinitionId$ | async,\n loading: loading$ | async\n } as obs\"\n>\n <ng-container *ngIf=\"obs.loading === false; else loading\">\n <v-paragraph [margin]=\"true\" [italic]=\"true\">\n {{ 'createZaakBesluitInformation' | pluginTranslate: obs.pluginId | async }}\n </v-paragraph>\n <v-form (valueChange)=\"formValueChange($event)\">\n <v-radio\n name=\"inputTypeBesluitToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeBesluitToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"inputTypeOptions$ | async\"\n [defaultValue]=\"selectedInputOption$ | async\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedInputOption === 'text'\"\n name=\"besluittypeUrl\"\n [title]=\"'besluittypeUrl' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.besluittypeUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'besluittypeUrlTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <ng-container *ngIf=\"obs.selectedInputOption === 'selection'\">\n <v-select\n [items]=\"obs.caseDefinitionItems\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"caseDefinition\"\n [title]=\"'caseDefinition' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.caseDefinitionItems ||\n oneSelectItem(obs.caseDefinitionItems)\n \"\n [required]=\"true\"\n [loading]=\"!obs.caseDefinitionItems\"\n [tooltip]=\"'caseDefinitionTooltip' | pluginTranslate: obs.pluginId | async\"\n (selectedChange)=\"selectCaseDefinition($event)\"\n [defaultSelectionId]=\"obs?.selectedCaseDefinitionId\"\n ></v-select>\n <v-select\n [items]=\"obs.besluitTypeItems && obs.besluitTypeItems[obs.selectedCaseDefinitionId]\"\n [margin]=\"true\"\n [widthInPx]=\"350\"\n name=\"besluittypeUrl\"\n [title]=\"'besluittypeUrlSelect' | pluginTranslate: obs.pluginId | async\"\n [disabled]=\"\n obs.disabled ||\n obs.selectedInputOption === 'text' ||\n !obs.besluitTypeItems ||\n !obs.besluitTypeItems[obs.selectedCaseDefinitionId]\n \"\n [defaultSelectionId]=\"obs.prefill?.besluittypeUrl\"\n [required]=\"true\"\n [loading]=\"!obs.besluitTypeItems\"\n [tooltip]=\"'besluittypeUrlSelectTooltip' | pluginTranslate: obs.pluginId | async\"\n [clearSelectionSubject$]=\"clearBesluitSelection$\"\n ></v-select>\n </ng-container>\n <v-input\n name=\"toelichting\"\n [title]=\"'toelichting' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.toelichting\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'toelichtingTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-input\n name=\"bestuursorgaan\"\n [title]=\"'bestuursorgaan' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.bestuursorgaan\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'bestuursorgaanTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n <v-radio\n name=\"inputTypeStartingDateToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeStartingDateToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"startDateInputTypeOptions$ | async\"\n [defaultValue]=\"obs.prefill?.inputTypeStartingDateToggle\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedStartDateInputOption === 'text'\"\n name=\"ingangsdatum\"\n [title]=\"'ingangsdatum' | pluginTranslate: obs.pluginId | async\"\n [defaultValue]=\"obs.prefill?.ingangsdatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'ingangsdatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n [margin]=\"true\"\n >\n </v-input>\n <v-date-picker\n *ngIf=\"obs.selectedStartDateInputOption === 'selection'\"\n name=\"ingangsdatum\"\n [title]=\"'ingangsdatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.ingangsdatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [tooltip]=\"'ingangsdatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-radio\n name=\"inputTypeExpirationDateToggle\"\n [disabled]=\"obs.disabled\"\n [title]=\"'inputTypeExpirationDateToggle' | pluginTranslate: obs.pluginId | async\"\n [radioValues]=\"expirationDateInputTypeOptions$ | async\"\n [defaultValue]=\"obs.prefill?.inputTypeExpirationDateToggle\"\n [margin]=\"true\"\n >\n </v-radio>\n <v-input\n *ngIf=\"obs.selectedExpirationDateInputOption === 'text'\"\n name=\"vervaldatum\"\n [title]=\"'vervaldatum' | pluginTranslate: obs.pluginId | async\"\n [defaultValue]=\"obs.prefill?.vervaldatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'vervaldatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n [margin]=\"true\"\n >\n </v-input>\n <v-date-picker\n *ngIf=\"obs.selectedExpirationDateInputOption === 'selection'\"\n name=\"vervaldatum\"\n [title]=\"'vervaldatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.vervaldatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'vervaldatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-select\n name=\"vervalreden\"\n [title]=\"'vervalreden' | pluginTranslate: obs.pluginId | async\"\n [items]=\"vervalredenenSelectItems$ | async\"\n [defaultSelectionId]=\"obs.prefill?.vervalreden\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'vervalredenTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthInPx]=\"350\"\n [margin]=\"true\"\n ></v-select>\n <v-date-picker\n name=\"publicatiedatum\"\n [title]=\"'publicatiedatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.publicatiedatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'publicatiedatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-date-picker\n name=\"verzenddatum\"\n [title]=\"'verzenddatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.verzenddatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'verzenddatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-date-picker\n name=\"uiterlijkeReactieDatum\"\n [title]=\"'uiterlijkeReactieDatum' | pluginTranslate: obs.pluginId | async\"\n [defaultDate]=\"obs.prefill?.uiterlijkeReactieDatum\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'uiterlijkeReactieDatumTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"100\"\n [margin]=\"true\"\n ></v-date-picker>\n <v-input\n name=\"createdBesluitUrl\"\n [title]=\"'besluitUrlProcessVariable' | pluginTranslate: obs.pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.createdBesluitUrl\"\n [disabled]=\"obs.disabled\"\n [required]=\"false\"\n [tooltip]=\"'besluitUrlProcessVariableTooltip' | pluginTranslate: obs.pluginId | async\"\n [widthPx]=\"350\"\n >\n </v-input>\n </v-form>\n </ng-container>\n</ng-container>\n\n<ng-template #loading>\n <div class=\"loading-container\">\n <cds-loading></cds-loading>\n </div>\n</ng-template>\n", styles: ["/*!\n * Copyright 2015-2023 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 */.loading-container{display:flex;flex-direction:row;justify-content:center;height:100%;width:100%;align-items:center}\n"] }]
|
|
5872
6542
|
}], ctorParameters: function () { return [{ type: i2.TranslateService }, { type: PluginTranslationService }, { type: i2$2.ModalService }, { type: i2$3.DocumentService }, { type: BesluitenApiService }, { type: PluginTranslatePipe }]; }, propDecorators: { save$: [{
|
|
5873
6543
|
type: Input
|
|
5874
6544
|
}], disabled$: [{
|
|
@@ -6094,9 +6764,9 @@ const besluitenApiPluginSpecification = {
|
|
|
6094
6764
|
bestuursorgaan: 'Bestuursorgaan',
|
|
6095
6765
|
bestuursorgaanTooltip: 'Een orgaan van een rechtspersoon krachtens publiekrecht ingesteld of een persoon of college, met enig openbaar gezag bekleed onder wiens verantwoordelijkheid het besluit vastgesteld is.',
|
|
6096
6766
|
ingangsdatum: 'Ingangsdatum',
|
|
6097
|
-
ingangsdatumTooltip: 'Ingangsdatum van de werkingsperiode van het besluit.',
|
|
6767
|
+
ingangsdatumTooltip: 'Ingangsdatum van de werkingsperiode van het besluit. Ondersteunt de value resolver, bijv: pv:ingangsdatum of doc:/besluit/ingangsdatum. Ondersteunende datum voorbeelden: 2024-04-01, 2024-04-01T12:10:00, 2024-04-01T12:10:06.069Z. Selecteer Tekst om de document of proces variabel property te gebruiken en Selectie om een datum uit een kalender te selecteren',
|
|
6098
6768
|
vervaldatum: 'Vervaldatum',
|
|
6099
|
-
vervaldatumTooltip: 'Datum waarop de werkingsperiode van het besluit eindigt.',
|
|
6769
|
+
vervaldatumTooltip: 'Datum waarop de werkingsperiode van het besluit eindigt. Ondersteunt de value resolver, bijv: pv:vervaldatum of doc:/besluit/vervaldatum. Ondersteunende datum voorbeelden: 2024-04-01, 2024-04-01T12:10:00, 2024-04-01T12:10:06.069Z. Selecteer Tekst om de document of proces variabel property te gebruiken en Selectie om een datum uit een kalender te selecteren',
|
|
6100
6770
|
vervalreden: 'Vervalreden',
|
|
6101
6771
|
vervalredenTooltip: 'De omschrijving die aangeeft op grond waarvan het besluit is of komt te vervallen.',
|
|
6102
6772
|
tijdelijk: 'Tijdelijk',
|
|
@@ -6117,6 +6787,8 @@ const besluitenApiPluginSpecification = {
|
|
|
6117
6787
|
documentUrl: 'Document URL',
|
|
6118
6788
|
documentUrlTooltip: 'URL-referentie naar het document',
|
|
6119
6789
|
inputTypeBesluitToggle: 'Invoertype Besluit-URL',
|
|
6790
|
+
inputTypeStartingDateToggle: 'Invoertype Begindatum',
|
|
6791
|
+
inputTypeExpirationDateToggle: 'Invoertype vervaldatum',
|
|
6120
6792
|
text: 'Tekst',
|
|
6121
6793
|
selection: 'Selectie',
|
|
6122
6794
|
caseDefinition: 'Dossierdefinitie',
|
|
@@ -6143,9 +6815,9 @@ const besluitenApiPluginSpecification = {
|
|
|
6143
6815
|
bestuursorgaan: 'Governing body',
|
|
6144
6816
|
bestuursorgaanTooltip: 'A body of a legal person established under public law or a person or body with any public authority under whose responsibility the decision has been adopted.',
|
|
6145
6817
|
ingangsdatum: 'Starting date',
|
|
6146
|
-
ingangsdatumTooltip: 'Commencement date of the effective period of the besluit.',
|
|
6818
|
+
ingangsdatumTooltip: 'Commencement date of the effective period of the besluit. Supports the value resolver eg: pv:ingangsdatum or doc:/besluit/ingangsdatum. Supporting date format examples: 2024-04-01, 2024-04-01T12:10:00, 2024-04-01T12:10:06.069Z. Select Text to use document or process variable property and Selection to select a date from a calendar.',
|
|
6147
6819
|
vervaldatum: 'Expiration date',
|
|
6148
|
-
vervaldatumTooltip: 'Date on which the period of operation of the besluit ends.',
|
|
6820
|
+
vervaldatumTooltip: 'Date on which the period of operation of the besluit ends. Supports the value resolver eg: pv:vervaldatum or doc:/besluit/vervaldatum. Supporting date format examples: 2024-04-01, 2024-04-01T12:10:00, 2024-04-01T12:10:06.069Z. Select Text to use document or process variable property and Selection to select a date from a calendar.',
|
|
6149
6821
|
vervalreden: 'Reason for expiry',
|
|
6150
6822
|
vervalredenTooltip: 'The description that indicates on the basis of which the decision has been or will be cancelled.',
|
|
6151
6823
|
tijdelijk: 'Temporary',
|
|
@@ -6166,6 +6838,8 @@ const besluitenApiPluginSpecification = {
|
|
|
6166
6838
|
documentUrl: 'Document URL',
|
|
6167
6839
|
documentUrlTooltip: 'URL reference to the document',
|
|
6168
6840
|
inputTypeBesluitToggle: 'Input type Besluit-URL',
|
|
6841
|
+
inputTypeStartingDateToggle: 'Input type start date',
|
|
6842
|
+
inputTypeExpirationDateToggle: 'Input type expiration date',
|
|
6169
6843
|
text: 'Text',
|
|
6170
6844
|
selection: 'Selection',
|
|
6171
6845
|
caseDefinition: 'Case definition',
|
|
@@ -6192,9 +6866,9 @@ const besluitenApiPluginSpecification = {
|
|
|
6192
6866
|
bestuursorgaan: 'Leitungsgremium',
|
|
6193
6867
|
bestuursorgaanTooltip: 'Eine Körperschaft einer juristischen Person des öffentlichen Rechts oder eine Person oder Körperschaft einer öffentlichen Behörde, unter deren Verantwortung die Entscheidung getroffen wurde.',
|
|
6194
6868
|
ingangsdatum: 'Anfangsdatum',
|
|
6195
|
-
ingangsdatumTooltip: 'Datum des Beginns der Geltungsdauer der Entscheidung.',
|
|
6869
|
+
ingangsdatumTooltip: 'Datum des Beginns der Geltungsdauer der Entscheidung. Unterstützt den Werteauflöser, z. B.: pv:ingangsdatum oder doc:/besluit/ingangdatum. Beispiele für unterstützende Datumsformate: 2024-04-01, 2024-04-01T12:10:00, 2024-04-01T12:10:06.069Z. Wählen Sie Text, um die Dokument- oder Prozessvariableneigenschaft zu verwenden, und Auswahl, um ein Datum aus einem Kalender auszuwählen',
|
|
6196
6870
|
vervaldatum: 'Verfallsdatum',
|
|
6197
|
-
vervaldatumTooltip: 'Datum, an dem die Geltungsdauer der Entscheidung endet.',
|
|
6871
|
+
vervaldatumTooltip: 'Datum, an dem die Geltungsdauer der Entscheidung endet. Unterstützt den Werteauflöser, z. B.: pv:vervaldatum oder doc:/besluit/vervaldatum. Beispiele für unterstützende Datumsformate: 2024-04-01, 2024-04-01T12:10:00, 2024-04-01T12:10:06.069Z. Wählen Sie Text, um die Dokument- oder Prozessvariableneigenschaft zu verwenden, und Auswahl, um ein Datum aus einem Kalender auszuwählen',
|
|
6198
6872
|
vervalreden: 'Ablaufgrund',
|
|
6199
6873
|
vervalredenTooltip: 'Die Beschreibung, auf deren Grundlage die Entscheidung aufgehoben wurde oder wird.',
|
|
6200
6874
|
tijdelijk: 'Temporär',
|
|
@@ -6215,6 +6889,8 @@ const besluitenApiPluginSpecification = {
|
|
|
6215
6889
|
documentUrl: 'Document URL',
|
|
6216
6890
|
documentUrlTooltip: 'URL-Referenz zum document',
|
|
6217
6891
|
inputTypeBesluitToggle: 'Eingabetyp Besluit-URL',
|
|
6892
|
+
inputTypeStartingDateToggle: 'Eingabetyp Begindatum',
|
|
6893
|
+
inputTypeExpirationDateToggle: 'Eingabetyp Einddatum',
|
|
6218
6894
|
text: 'Text',
|
|
6219
6895
|
selection: 'Auswahl',
|
|
6220
6896
|
caseDefinition: 'Falltyp',
|
|
@@ -6248,5 +6924,5 @@ const besluitenApiPluginSpecification = {
|
|
|
6248
6924
|
* Generated bundle index. Do not edit.
|
|
6249
6925
|
*/
|
|
6250
6926
|
|
|
6251
|
-
export { BesluitenApiConfigurationComponent, BesluitenApiPluginModule, CatalogiApiConfigurationComponent, CatalogiApiPluginModule, CompletePortalTaskComponent, CreateNatuurlijkPersoonZaakRolComponent, CreateNietNatuurlijkPersoonZaakRolComponent, CreatePortalTaskComponent, CreateZaakBesluitConfigurationComponent, CreateZaakConfigurationComponent, CreateZaakResultaatConfigurationComponent, DeleteObjectComponent, DocumentenApiConfigurationComponent, DocumentenApiPluginModule, DownloadDocumentConfigurationComponent, GenerateDocumentConfigurationComponent, GetBesluittypeConfigurationComponent, GetResultaattypeConfigurationComponent, GetStatustypeConfigurationComponent, GetTemplateNamesComponent, LinkDocumentToBesluitConfigurationComponent, LinkDocumentToZaakConfigurationComponent, LinkUploadedDocumentToZaakConfigurationComponent, NotificatiesApiConfigurationComponent, NotificatiesApiPluginModule, ObjectTokenAuthencationConfigurationComponent, ObjectTokenAuthenticationPluginModule, ObjectenApiConfigurationComponent, ObjectenApiPluginModule, ObjecttypenApiConfigurationComponent, ObjecttypenApiPluginModule, OpenNotificatiesConfigurationComponent, OpenNotificatiesPluginModule, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginManagementService, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, PortaaltaakConfigurationComponent, PortaaltaakPluginModule, SetZaakStatusConfigurationComponent, SetZaakopschortingComponent, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, StoreTempDocumentConfigurationComponent, StoreUploadedDocumentConfigurationComponent, VerzoekConfigurationComponent, VerzoekPluginModule, ZakenApiConfigurationComponent, ZakenApiPluginModule, besluitenApiPluginSpecification, catalogiApiPluginSpecification, documentenApiPluginSpecification, notificatiesApiPluginSpecification, objectTokenAuthenticationPluginSpecification, objectenApiPluginSpecification, objecttypenApiPluginSpecification, openNotificatiesPluginSpecification, openZaakPluginSpecification, portaaltaakPluginSpecification, smartDocumentsPluginSpecification, verzoekPluginSpecification, zakenApiPluginSpecification };
|
|
6927
|
+
export { BesluitenApiConfigurationComponent, BesluitenApiPluginModule, CatalogiApiConfigurationComponent, CatalogiApiPluginModule, CompletePortalTaskComponent, CreateNatuurlijkPersoonZaakRolComponent, CreateNietNatuurlijkPersoonZaakRolComponent, CreatePortalTaskComponent, CreateZaakBesluitConfigurationComponent, CreateZaakConfigurationComponent, CreateZaakResultaatConfigurationComponent, CreateZaakeigenschapComponent, DeleteObjectComponent, DeleteZaakeigenschapComponent, DocumentenApiConfigurationComponent, DocumentenApiPluginModule, DownloadDocumentConfigurationComponent, EndHersteltermijnComponent, GenerateDocumentConfigurationComponent, GetBesluittypeConfigurationComponent, GetResultaattypeConfigurationComponent, GetStatustypeConfigurationComponent, GetTemplateNamesComponent, LinkDocumentToBesluitConfigurationComponent, LinkDocumentToZaakConfigurationComponent, LinkUploadedDocumentToZaakConfigurationComponent, NotificatiesApiConfigurationComponent, NotificatiesApiPluginModule, ObjectTokenAuthencationConfigurationComponent, ObjectTokenAuthenticationPluginModule, ObjectenApiConfigurationComponent, ObjectenApiPluginModule, ObjecttypenApiConfigurationComponent, ObjecttypenApiPluginModule, OpenNotificatiesConfigurationComponent, OpenNotificatiesPluginModule, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginManagementService, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, PortaaltaakConfigurationComponent, PortaaltaakPluginModule, SetZaakStatusConfigurationComponent, SetZaakopschortingComponent, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, StartHersteltermijnConfigurationComponent, StoreTempDocumentConfigurationComponent, StoreUploadedDocumentConfigurationComponent, UpdateZaakeigenschapComponent, VerzoekConfigurationComponent, VerzoekPluginModule, ZakenApiConfigurationComponent, ZakenApiPluginModule, besluitenApiPluginSpecification, catalogiApiPluginSpecification, documentenApiPluginSpecification, notificatiesApiPluginSpecification, objectTokenAuthenticationPluginSpecification, objectenApiPluginSpecification, objecttypenApiPluginSpecification, openNotificatiesPluginSpecification, openZaakPluginSpecification, portaaltaakPluginSpecification, smartDocumentsPluginSpecification, verzoekPluginSpecification, zakenApiPluginSpecification };
|
|
6252
6928
|
//# sourceMappingURL=valtimo-plugin.mjs.map
|