@valtimo-plugins/archief 0.0.1-hackathon

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.
@@ -0,0 +1,413 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Output, Input, Component, NgModule } from '@angular/core';
3
+ import { combineLatest, map, BehaviorSubject, take, filter } from 'rxjs';
4
+ import * as i1 from '@valtimo/plugin';
5
+ import { PluginTranslatePipeModule } from '@valtimo/plugin';
6
+ import * as i2 from '@ngx-translate/core';
7
+ import * as i3 from '@valtimo/process';
8
+ import * as i4 from '@angular/common';
9
+ import { CommonModule } from '@angular/common';
10
+ import * as i5 from '@valtimo/components';
11
+ import { FormModule, InputModule, SelectModule, MultiInputFormModule, CarbonMultiInputModule, ParagraphModule } from '@valtimo/components';
12
+
13
+ /*
14
+ * Copyright 2015-2026 Ritense BV, the Netherlands.
15
+ *
16
+ * Licensed under EUPL, Version 1.2 (the "License");
17
+ * you may not use this file except in compliance with the License.
18
+ * You may obtain a copy of the License at
19
+ *
20
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
21
+ *
22
+ * Unless required by applicable law or agreed to in writing, software
23
+ * distributed under the License is distributed on an "AS IS" basis,
24
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25
+ * See the License for the specific language governing permissions and
26
+ * limitations under the License.
27
+ */
28
+
29
+ /*
30
+ * Copyright 2015-2026 Ritense BV, the Netherlands.
31
+ *
32
+ * Licensed under EUPL, Version 1.2 (the "License");
33
+ * you may not use this file except in compliance with the License.
34
+ * You may obtain a copy of the License at
35
+ *
36
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
37
+ *
38
+ * Unless required by applicable law or agreed to in writing, software
39
+ * distributed under the License is distributed on an "AS IS" basis,
40
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
41
+ * See the License for the specific language governing permissions and
42
+ * limitations under the License.
43
+ */
44
+
45
+ /*
46
+ * Copyright 2015-2026 Ritense BV, the Netherlands.
47
+ *
48
+ * Licensed under EUPL, Version 1.2 (the "License");
49
+ * you may not use this file except in compliance with the License.
50
+ * You may obtain a copy of the License at
51
+ *
52
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
53
+ *
54
+ * Unless required by applicable law or agreed to in writing, software
55
+ * distributed under the License is distributed on an "AS IS" basis,
56
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
57
+ * See the License for the specific language governing permissions and
58
+ * limitations under the License.
59
+ */
60
+ class ArchiefConfigurationComponent {
61
+ constructor(pluginManagementService, translateService, pluginTranslationService, processService) {
62
+ this.pluginManagementService = pluginManagementService;
63
+ this.translateService = translateService;
64
+ this.pluginTranslationService = pluginTranslationService;
65
+ this.processService = processService;
66
+ this.valid = new EventEmitter();
67
+ this.configuration = new EventEmitter();
68
+ this.notificatiePluginSelectItems$ = combineLatest([
69
+ this.pluginManagementService.getPluginConfigurationsByPluginDefinitionKey("notificatiesapi"),
70
+ this.translateService.stream("key"),
71
+ ]).pipe(map(([configurations]) => configurations.map((configuration) => ({
72
+ id: configuration.id,
73
+ text: `${configuration.title} - ${this.pluginTranslationService.instant("title", configuration.pluginDefinition.key)}`,
74
+ }))));
75
+ this.processSelectItems$ = this.processService.getProcessDefinitions().pipe(map((processDefinitions) => processDefinitions.map((processDefinition) => ({
76
+ id: processDefinition.key,
77
+ text: processDefinition.name ?? `<${processDefinition.key}>`,
78
+ }))));
79
+ this.filterMappings = {};
80
+ this.formValue$ = new BehaviorSubject(null);
81
+ this.valid$ = new BehaviorSubject(false);
82
+ }
83
+ ngOnInit() {
84
+ this.openSaveSubscription();
85
+ this.setPrefill();
86
+ }
87
+ ngOnDestroy() {
88
+ this.saveSubscription?.unsubscribe();
89
+ }
90
+ formValueChange(formValue) {
91
+ this.formValue$.next(formValue);
92
+ this.handleValid(formValue);
93
+ }
94
+ filterValueChange(newValue, uuid) {
95
+ this.filterMappings[uuid] = newValue;
96
+ }
97
+ deleteRow(uuid) {
98
+ delete this.filterMappings[uuid];
99
+ }
100
+ handleValid(formValue) {
101
+ const validForm = !!(formValue.configurationTitle && formValue.notificatiesApiPluginConfiguration && formValue.processToStart);
102
+ const archiefProperties = formValue.archiefProperties || [];
103
+ const validProperties = archiefProperties.filter((prop) => !!prop.kanaal);
104
+ const valid = validForm && archiefProperties.length === validProperties.length;
105
+ this.valid$.next(valid);
106
+ this.valid.emit(valid);
107
+ }
108
+ openSaveSubscription() {
109
+ this.saveSubscription = this.save$?.subscribe(() => {
110
+ combineLatest([this.formValue$, this.valid$])
111
+ .pipe(take(1))
112
+ .subscribe(([formValue, valid]) => {
113
+ if (valid) {
114
+ const formValueToSave = {
115
+ ...formValue,
116
+ archiefProperties: formValue.archiefProperties.map((prop) => {
117
+ const propToSave = {
118
+ kanaal: prop.kanaal,
119
+ filters: [],
120
+ };
121
+ if (this.filterMappings[prop.uuid]) {
122
+ propToSave.filters = this.filterMappings[prop.uuid].map((f) => ({
123
+ key: f.key,
124
+ value: f.value,
125
+ }));
126
+ }
127
+ return propToSave;
128
+ }),
129
+ };
130
+ this.configuration.emit(formValueToSave);
131
+ }
132
+ });
133
+ });
134
+ }
135
+ setPrefill() {
136
+ this.prefillConfig$ = this.prefillConfiguration$.pipe(filter((prefill) => !!prefill), map((prefill) => ({
137
+ ...prefill,
138
+ archiefProperties: prefill.archiefProperties?.map((prop) => ({
139
+ ...prop,
140
+ filters: prop.filters?.map((f) => ({ key: f.key, value: f.value })) || [],
141
+ })) || [],
142
+ })));
143
+ }
144
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ArchiefConfigurationComponent, deps: [{ token: i1.PluginManagementService }, { token: i2.TranslateService }, { token: i1.PluginTranslationService }, { token: i3.ProcessService }], target: i0.ɵɵFactoryTarget.Component }); }
145
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: ArchiefConfigurationComponent, isStandalone: false, selector: "valtimo-archief-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2026 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: prefillConfig$ ? (prefillConfig$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"Archief Plugin\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{notificatiePluginSelectItems: notificatiePluginSelectItems$ | async} as vars\"\n >\n <v-select\n [items]=\"vars.notificatiePluginSelectItems\"\n [margin]=\"true\"\n name=\"notificatiesApiPluginConfiguration\"\n [title]=\"'notificatiesApiPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.notificatiesApiPluginConfiguration\"\n [required]=\"true\"\n [loading]=\"!vars.notificatiePluginSelectItems\"\n [tooltip]=\"'notificatiesApiPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n <ng-container *ngIf=\"{processSelectItems: processSelectItems$ | async} as vars\">\n <v-select\n [items]=\"vars.processSelectItems\"\n [margin]=\"true\"\n name=\"processToStart\"\n [title]=\"'processToStart' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.processToStart\"\n [required]=\"true\"\n [loading]=\"!vars.processSelectItems\"\n [tooltip]=\"'processToStartTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n <v-multi-input-form\n name=\"archiefProperties\"\n [title]=\"'archiefProperties' | pluginTranslate: pluginId | async\"\n [formTemplate]=\"archiefPropertyForm\"\n [addRowText]=\"'addArchiefProperty' | pluginTranslate: pluginId | async\"\n [required]=\"false\"\n [tooltip]=\"'archiefPropertiesTooltip' | pluginTranslate: pluginId | async\"\n (deleteRowEvent)=\"deleteRow($event)\"\n [initialAmountOfRows]=\"0\"\n [minimumAmountOfRows]=\"0\"\n [defaultValues]=\"obs.prefill?.archiefProperties\"\n >\n </v-multi-input-form>\n</v-form>\n\n<ng-template\n #archiefPropertyForm\n let-index=\"index\"\n let-uuid=\"uuid\"\n let-changeFunction=\"changeFunction\"\n let-prefill=\"prefill\"\n>\n <ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n } as obs\"\n >\n <v-form (valueChange)=\"changeFunction($event, uuid)\">\n <v-input\n name=\"kanaal\"\n [title]=\"'kanaal' | pluginTranslate: pluginId | async\"\n [margin]=\"false\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"prefill?.kanaal\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'kanaalTooltip' | pluginTranslate: pluginId | async\"\n [smallMargin]=\"true\"\n placeholder=\"\"\n >\n </v-input>\n <valtimo-carbon-multi-input\n type=\"keyValue\"\n (valueChange)=\"filterValueChange($event, uuid)\"\n [defaultValues]=\"prefill?.filters\"\n [keyColumnTitle]=\"'filterKey' | pluginTranslate: pluginId | async\"\n [valueColumnTitle]=\"'filterValue' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n ></valtimo-carbon-multi-input>\n <v-input class=\"hidden-input\" name=\"uuid\" [defaultValue]=\"uuid\"> </v-input>\n </v-form>\n </ng-container>\n</ng-template>\n", styles: [".hidden-input{display:none}\n/*!\n * Copyright 2015-2026 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i5.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i5.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "dropUp", "invalid", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "clearable", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme", "appendInline", "warn", "warnText", "dataTestId"], outputs: ["selectedChange"] }, { kind: "component", type: i5.MultiInputFormComponent, selector: "v-multi-input-form", inputs: ["name", "title", "titleTranslationKey", "type", "initialAmountOfRows", "minimumAmountOfRows", "maxRows", "addRowText", "addRowTranslationKey", "deleteRowText", "deleteRowTranslationKey", "disabled", "defaultValues", "margin", "tooltip", "required", "formTemplate"], outputs: ["valueChange", "deleteRowEvent"] }, { kind: "component", type: i5.CarbonMultiInputComponent, selector: "valtimo-carbon-multi-input", inputs: ["addRowText", "addButtonType", "addRowTranslationKey", "arbitraryAmountTitles", "arbitraryValueAmount", "defaultValues", "deleteRowText", "deleteRowTranslationKey", "disabled", "dropdownColumnTitle", "dropdownItems", "dropdownWidth", "fullWidth", "hideAddButton", "hideDeleteButton", "initialAmountOfRows", "keyColumnTitle", "margin", "maxRows", "minimumAmountOfRows", "name", "required", "title", "titleTranslationKey", "tooltip", "type", "valueColumnTitle", "valuePathSelectorCaseDefinitionKey", "valuePathSelectorPrefixes", "valuePathSelectorShowCaseDefinitionSelector", "valuePathSelectorNotation", "keyColumnFlex", "dropdownColumnFlex", "valueColumnFlex"], outputs: ["valueChange", "allValuesValidEvent"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
146
+ }
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ArchiefConfigurationComponent, decorators: [{
148
+ type: Component,
149
+ args: [{ standalone: false, selector: "valtimo-archief-configuration", template: "<!--\n ~ Copyright 2015-2026 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: prefillConfig$ ? (prefillConfig$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"Archief Plugin\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{notificatiePluginSelectItems: notificatiePluginSelectItems$ | async} as vars\"\n >\n <v-select\n [items]=\"vars.notificatiePluginSelectItems\"\n [margin]=\"true\"\n name=\"notificatiesApiPluginConfiguration\"\n [title]=\"'notificatiesApiPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.notificatiesApiPluginConfiguration\"\n [required]=\"true\"\n [loading]=\"!vars.notificatiePluginSelectItems\"\n [tooltip]=\"'notificatiesApiPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n <ng-container *ngIf=\"{processSelectItems: processSelectItems$ | async} as vars\">\n <v-select\n [items]=\"vars.processSelectItems\"\n [margin]=\"true\"\n name=\"processToStart\"\n [title]=\"'processToStart' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.processToStart\"\n [required]=\"true\"\n [loading]=\"!vars.processSelectItems\"\n [tooltip]=\"'processToStartTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n <v-multi-input-form\n name=\"archiefProperties\"\n [title]=\"'archiefProperties' | pluginTranslate: pluginId | async\"\n [formTemplate]=\"archiefPropertyForm\"\n [addRowText]=\"'addArchiefProperty' | pluginTranslate: pluginId | async\"\n [required]=\"false\"\n [tooltip]=\"'archiefPropertiesTooltip' | pluginTranslate: pluginId | async\"\n (deleteRowEvent)=\"deleteRow($event)\"\n [initialAmountOfRows]=\"0\"\n [minimumAmountOfRows]=\"0\"\n [defaultValues]=\"obs.prefill?.archiefProperties\"\n >\n </v-multi-input-form>\n</v-form>\n\n<ng-template\n #archiefPropertyForm\n let-index=\"index\"\n let-uuid=\"uuid\"\n let-changeFunction=\"changeFunction\"\n let-prefill=\"prefill\"\n>\n <ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n } as obs\"\n >\n <v-form (valueChange)=\"changeFunction($event, uuid)\">\n <v-input\n name=\"kanaal\"\n [title]=\"'kanaal' | pluginTranslate: pluginId | async\"\n [margin]=\"false\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"prefill?.kanaal\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'kanaalTooltip' | pluginTranslate: pluginId | async\"\n [smallMargin]=\"true\"\n placeholder=\"\"\n >\n </v-input>\n <valtimo-carbon-multi-input\n type=\"keyValue\"\n (valueChange)=\"filterValueChange($event, uuid)\"\n [defaultValues]=\"prefill?.filters\"\n [keyColumnTitle]=\"'filterKey' | pluginTranslate: pluginId | async\"\n [valueColumnTitle]=\"'filterValue' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n ></valtimo-carbon-multi-input>\n <v-input class=\"hidden-input\" name=\"uuid\" [defaultValue]=\"uuid\"> </v-input>\n </v-form>\n </ng-container>\n</ng-template>\n", styles: [".hidden-input{display:none}\n/*!\n * Copyright 2015-2026 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"] }]
150
+ }], ctorParameters: () => [{ type: i1.PluginManagementService }, { type: i2.TranslateService }, { type: i1.PluginTranslationService }, { type: i3.ProcessService }], propDecorators: { save$: [{
151
+ type: Input
152
+ }], disabled$: [{
153
+ type: Input
154
+ }], pluginId: [{
155
+ type: Input
156
+ }], prefillConfiguration$: [{
157
+ type: Input
158
+ }], valid: [{
159
+ type: Output
160
+ }], configuration: [{
161
+ type: Output
162
+ }] } });
163
+
164
+ /*
165
+ * Copyright 2015-2026 Ritense BV, the Netherlands.
166
+ *
167
+ * Licensed under EUPL, Version 1.2 (the "License");
168
+ * you may not use this file except in compliance with the License.
169
+ * You may obtain a copy of the License at
170
+ *
171
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
172
+ *
173
+ * Unless required by applicable law or agreed to in writing, software
174
+ * distributed under the License is distributed on an "AS IS" basis,
175
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
176
+ * See the License for the specific language governing permissions and
177
+ * limitations under the License.
178
+ */
179
+ class DeleteDocumentConfigurationComponent {
180
+ constructor() {
181
+ this.valid = new EventEmitter();
182
+ this.configuration = new EventEmitter();
183
+ }
184
+ ngOnInit() {
185
+ this.openSaveSubscription();
186
+ this.valid.emit(true);
187
+ }
188
+ ngOnDestroy() {
189
+ this.saveSubscription?.unsubscribe();
190
+ }
191
+ openSaveSubscription() {
192
+ this.saveSubscription = this.save$?.subscribe(() => {
193
+ this.configuration.emit({});
194
+ });
195
+ }
196
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DeleteDocumentConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
197
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: DeleteDocumentConfigurationComponent, isStandalone: false, selector: "valtimo-delete-document-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2026 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 [fullWidth]=\"true\">\n {{ 'deleteDocumentMessage' | pluginTranslate: pluginId | async }}\n</v-paragraph>\n", dependencies: [{ kind: "component", type: i5.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading", "dataTestId"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
198
+ }
199
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DeleteDocumentConfigurationComponent, decorators: [{
200
+ type: Component,
201
+ args: [{ standalone: false, selector: "valtimo-delete-document-configuration", template: "<!--\n ~ Copyright 2015-2026 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 [fullWidth]=\"true\">\n {{ 'deleteDocumentMessage' | pluginTranslate: pluginId | async }}\n</v-paragraph>\n" }]
202
+ }], propDecorators: { save$: [{
203
+ type: Input
204
+ }], disabled$: [{
205
+ type: Input
206
+ }], pluginId: [{
207
+ type: Input
208
+ }], prefillConfiguration$: [{
209
+ type: Input
210
+ }], valid: [{
211
+ type: Output
212
+ }], configuration: [{
213
+ type: Output
214
+ }] } });
215
+
216
+ /*
217
+ * Copyright 2015-2026 Ritense BV, the Netherlands.
218
+ *
219
+ * Licensed under EUPL, Version 1.2 (the "License");
220
+ * you may not use this file except in compliance with the License.
221
+ * You may obtain a copy of the License at
222
+ *
223
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
224
+ *
225
+ * Unless required by applicable law or agreed to in writing, software
226
+ * distributed under the License is distributed on an "AS IS" basis,
227
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
228
+ * See the License for the specific language governing permissions and
229
+ * limitations under the License.
230
+ */
231
+ class ZaakInstanceUrlConfigurationComponent {
232
+ constructor() {
233
+ this.valid = new EventEmitter();
234
+ this.configuration = new EventEmitter();
235
+ this.formValue$ = new BehaviorSubject(null);
236
+ this.valid$ = new BehaviorSubject(false);
237
+ }
238
+ ngOnInit() {
239
+ this.openSaveSubscription();
240
+ }
241
+ ngOnDestroy() {
242
+ this.saveSubscription?.unsubscribe();
243
+ }
244
+ formValueChange(formValue) {
245
+ this.formValue$.next(formValue);
246
+ const valid = !!(formValue.zaakInstanceUrl || formValue.documentId);
247
+ this.valid$.next(valid);
248
+ this.valid.emit(valid);
249
+ }
250
+ openSaveSubscription() {
251
+ this.saveSubscription = this.save$?.subscribe(() => {
252
+ combineLatest([this.formValue$, this.valid$])
253
+ .pipe(take(1))
254
+ .subscribe(([formValue, valid]) => {
255
+ if (valid) {
256
+ this.configuration.emit(formValue);
257
+ }
258
+ });
259
+ });
260
+ }
261
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ZaakInstanceUrlConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
262
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: ZaakInstanceUrlConfigurationComponent, isStandalone: false, selector: "valtimo-zaak-instance-url-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2026 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-paragraph [fullWidth]=\"true\">\n {{ 'linkProcessToDocumentMessage' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n <div class=\"spacer\"></div>\n <v-input\n name=\"zaakInstanceUrl\"\n [title]=\"'zaakInstanceUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.zaakInstanceUrl\"\n [required]=\"false\"\n [tooltip]=\"'zaakInstanceUrlTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"pv:resourceUrl\"\n >\n </v-input>\n <v-input\n name=\"documentId\"\n [title]=\"'documentId' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.documentId\"\n [required]=\"false\"\n [tooltip]=\"'documentIdTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"pv:documentId\"\n >\n </v-input>\n</v-form>\n", styles: [".spacer{margin-bottom:1rem}\n/*!\n * Copyright 2015-2026 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i5.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i5.ParagraphComponent, selector: "v-paragraph", inputs: ["center", "fullWidth", "margin", "italic", "loading", "dataTestId"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.PluginTranslatePipe, name: "pluginTranslate" }] }); }
263
+ }
264
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ZaakInstanceUrlConfigurationComponent, decorators: [{
265
+ type: Component,
266
+ args: [{ standalone: false, selector: "valtimo-zaak-instance-url-configuration", template: "<!--\n ~ Copyright 2015-2026 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-paragraph [fullWidth]=\"true\">\n {{ 'linkProcessToDocumentMessage' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n <div class=\"spacer\"></div>\n <v-input\n name=\"zaakInstanceUrl\"\n [title]=\"'zaakInstanceUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.zaakInstanceUrl\"\n [required]=\"false\"\n [tooltip]=\"'zaakInstanceUrlTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"pv:resourceUrl\"\n >\n </v-input>\n <v-input\n name=\"documentId\"\n [title]=\"'documentId' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.documentId\"\n [required]=\"false\"\n [tooltip]=\"'documentIdTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"pv:documentId\"\n >\n </v-input>\n</v-form>\n", styles: [".spacer{margin-bottom:1rem}\n/*!\n * Copyright 2015-2026 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"] }]
267
+ }], propDecorators: { save$: [{
268
+ type: Input
269
+ }], disabled$: [{
270
+ type: Input
271
+ }], pluginId: [{
272
+ type: Input
273
+ }], prefillConfiguration$: [{
274
+ type: Input
275
+ }], valid: [{
276
+ type: Output
277
+ }], configuration: [{
278
+ type: Output
279
+ }] } });
280
+
281
+ /*
282
+ * Copyright 2015-2026 Ritense BV, the Netherlands.
283
+ *
284
+ * Licensed under EUPL, Version 1.2 (the "License");
285
+ * you may not use this file except in compliance with the License.
286
+ * You may obtain a copy of the License at
287
+ *
288
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
289
+ *
290
+ * Unless required by applicable law or agreed to in writing, software
291
+ * distributed under the License is distributed on an "AS IS" basis,
292
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
293
+ * See the License for the specific language governing permissions and
294
+ * limitations under the License.
295
+ */
296
+ class ArchiefPluginModule {
297
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ArchiefPluginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
298
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: ArchiefPluginModule, declarations: [ArchiefConfigurationComponent, DeleteDocumentConfigurationComponent, ZaakInstanceUrlConfigurationComponent], imports: [CommonModule, PluginTranslatePipeModule, FormModule, InputModule, SelectModule, MultiInputFormModule, CarbonMultiInputModule, ParagraphModule], exports: [ArchiefConfigurationComponent, DeleteDocumentConfigurationComponent, ZaakInstanceUrlConfigurationComponent] }); }
299
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ArchiefPluginModule, imports: [CommonModule, PluginTranslatePipeModule, FormModule, InputModule, SelectModule, MultiInputFormModule, CarbonMultiInputModule, ParagraphModule] }); }
300
+ }
301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ArchiefPluginModule, decorators: [{
302
+ type: NgModule,
303
+ args: [{
304
+ declarations: [ArchiefConfigurationComponent, DeleteDocumentConfigurationComponent, ZaakInstanceUrlConfigurationComponent],
305
+ imports: [CommonModule, PluginTranslatePipeModule, FormModule, InputModule, SelectModule, MultiInputFormModule, CarbonMultiInputModule, ParagraphModule],
306
+ exports: [ArchiefConfigurationComponent, DeleteDocumentConfigurationComponent, ZaakInstanceUrlConfigurationComponent],
307
+ }]
308
+ }] });
309
+
310
+ /*
311
+ * Copyright 2015-2026 Ritense BV, the Netherlands.
312
+ *
313
+ * Licensed under EUPL, Version 1.2 (the "License");
314
+ * you may not use this file except in compliance with the License.
315
+ * You may obtain a copy of the License at
316
+ *
317
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
318
+ *
319
+ * Unless required by applicable law or agreed to in writing, software
320
+ * distributed under the License is distributed on an "AS IS" basis,
321
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
322
+ * See the License for the specific language governing permissions and
323
+ * limitations under the License.
324
+ */
325
+ const ARCHIEF_PLUGIN_LOGO_BASE64 = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIxNTAgMTUgOTYgNTAiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNNTcuMzk2LjIxMUguMjgxdjQ5LjQwNWg1Ny4xMTVWLjIxeiIvPjxwYXRoIGlkPSJjIiBkPSJNNTcuNTY0LjIxMUguNDQ4djQ5LjQwNWg1Ny4xMTZWLjIxeiIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4Ny45MzEgMTUpIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPj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2NCAwIDIuOTItLjE1MiA0LjMzLS40NTJhMTYuMDU0IDE2LjA1NCAwIDAgMCA0LjA5LTEuNDc4bC4xNzctLjA5VjM3LjczM2gtOC4zNjZ6Ii8+PC9nPjwvc3ZnPg==";
326
+
327
+ /*
328
+ * Copyright 2015-2026 Ritense BV, the Netherlands.
329
+ *
330
+ * Licensed under EUPL, Version 1.2 (the "License");
331
+ * you may not use this file except in compliance with the License.
332
+ * You may obtain a copy of the License at
333
+ *
334
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
335
+ *
336
+ * Unless required by applicable law or agreed to in writing, software
337
+ * distributed under the License is distributed on an "AS IS" basis,
338
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
339
+ * See the License for the specific language governing permissions and
340
+ * limitations under the License.
341
+ */
342
+ const archiefPluginSpecification = {
343
+ pluginId: "archief",
344
+ pluginConfigurationComponent: ArchiefConfigurationComponent,
345
+ pluginLogoBase64: ARCHIEF_PLUGIN_LOGO_BASE64,
346
+ functionConfigurationComponents: {
347
+ "delete-document": DeleteDocumentConfigurationComponent,
348
+ "link-process-to-document": ZaakInstanceUrlConfigurationComponent,
349
+ },
350
+ pluginTranslations: {
351
+ nl: {
352
+ title: "Archief",
353
+ description: "De Archief-plugin kan archief-eventnotificaties ontvangen en verwerken van de Notificaties API.",
354
+ configurationTitle: "Configuratienaam",
355
+ configurationTitleTooltip: "De naam van de huidige plugin-configuratie. Onder deze naam kan de configuratie in de rest van de applicatie teruggevonden worden.",
356
+ notificatiesApiPluginConfiguration: "Notificaties API-configuratie",
357
+ notificatiesApiPluginConfigurationTooltip: "Configuratie van de Notificaties API die wordt gebruikt om te communiceren tussen GZAC en andere applicaties.",
358
+ processToStart: "Proces",
359
+ processToStartTooltip: "Het proces dat gestart wordt wanneer een notificatie binnenkomt.",
360
+ archiefProperties: "Kanalen",
361
+ archiefPropertiesTooltip: "De kanalen en filters waarop geluisterd wordt voor notificaties.",
362
+ addArchiefProperty: "Kanaal toevoegen",
363
+ kanaal: "Kanaal",
364
+ kanaalTooltip: "De naam van het kanaal waarop geluisterd wordt.",
365
+ filters: "Filters",
366
+ filtersTooltip: "Key-value paren die overeenkomen met de kenmerken van de notificatie.",
367
+ filterKey: "Sleutel",
368
+ filterValue: "Waarde",
369
+ deleteDocumentMessage: "Deze actie verwijdert het document dat gekoppeld is aan het huidige proces. Er is geen verdere configuratie nodig.",
370
+ zaakInstanceUrl: "Zaak instantie URL",
371
+ zaakInstanceUrlTooltip: "De URL van de zaak instantie. Gebruik een process variabele zoals pv:zaakInstanceUrl.",
372
+ "delete-document": "Document verwijderen",
373
+ documentId: "Document ID",
374
+ documentIdTooltip: "Het UUID van het document. Gebruik een procesvariabele zoals pv:documentId.",
375
+ linkProcessToDocumentMessage: "Koppelt het huidige systeemproces aan een document. Vul een zaak instantie URL of een document ID in (minimaal één van beide).",
376
+ "link-process-to-document": "Systeemproces koppelen aan document",
377
+ },
378
+ en: {
379
+ title: "Archief",
380
+ description: "The Archief plugin can receive and handle archief event notifications from the Notificaties API.",
381
+ configurationTitle: "Configuration name",
382
+ configurationTitleTooltip: "The name of the current plugin configuration. Under this name, the configuration can be found in the rest of the application.",
383
+ notificatiesApiPluginConfiguration: "Notificaties API configuration",
384
+ notificatiesApiPluginConfigurationTooltip: "Configuration of the Notificaties API used to communicate between GZAC and other applications.",
385
+ processToStart: "Process",
386
+ processToStartTooltip: "The process that is started when a notification is received.",
387
+ archiefProperties: "Channels",
388
+ archiefPropertiesTooltip: "The channels and filters to listen on for notifications.",
389
+ addArchiefProperty: "Add channel",
390
+ kanaal: "Channel",
391
+ kanaalTooltip: "The name of the channel to listen on.",
392
+ filters: "Filters",
393
+ filtersTooltip: "Key-value pairs that match the notification attributes.",
394
+ filterKey: "Key",
395
+ filterValue: "Value",
396
+ deleteDocumentMessage: "This action deletes the document associated with the current process. No further configuration is needed.",
397
+ zaakInstanceUrl: "Zaak instance URL",
398
+ zaakInstanceUrlTooltip: "The URL of the zaak instance. Use a process variable such as pv:zaakInstanceUrl.",
399
+ "delete-document": "Delete document",
400
+ documentId: "Document ID",
401
+ documentIdTooltip: "The UUID of the document. Use a process variable such as pv:documentId.",
402
+ linkProcessToDocumentMessage: "Links the current system process to a document. Provide either a zaak instance URL or a document ID (at least one is required).",
403
+ "link-process-to-document": "Link system process to document",
404
+ },
405
+ },
406
+ };
407
+
408
+ /**
409
+ * Generated bundle index. Do not edit.
410
+ */
411
+
412
+ export { ArchiefConfigurationComponent, ArchiefPluginModule, DeleteDocumentConfigurationComponent, ZaakInstanceUrlConfigurationComponent, archiefPluginSpecification };
413
+ //# sourceMappingURL=valtimo-plugins-archief.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valtimo-plugins-archief.mjs","sources":["../../../../projects/valtimo-plugins/archief/src/lib/models/config.ts","../../../../projects/valtimo-plugins/archief/src/lib/models/index.ts","../../../../projects/valtimo-plugins/archief/src/lib/components/archief-configuration/archief-configuration.component.ts","../../../../projects/valtimo-plugins/archief/src/lib/components/archief-configuration/archief-configuration.component.html","../../../../projects/valtimo-plugins/archief/src/lib/components/delete-document/delete-document-configuration.component.ts","../../../../projects/valtimo-plugins/archief/src/lib/components/delete-document/delete-document-configuration.component.html","../../../../projects/valtimo-plugins/archief/src/lib/components/zaak-instance-url/zaak-instance-url-configuration.component.ts","../../../../projects/valtimo-plugins/archief/src/lib/components/zaak-instance-url/zaak-instance-url-configuration.component.html","../../../../projects/valtimo-plugins/archief/src/lib/archief-plugin.module.ts","../../../../projects/valtimo-plugins/archief/src/lib/assets/archief-plugin-logo.ts","../../../../projects/valtimo-plugins/archief/src/lib/archief-plugin.specification.ts","../../../../projects/valtimo-plugins/archief/src/valtimo-plugins-archief.ts"],"sourcesContent":["/*\n * Copyright 2015-2026 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\nimport { PluginConfigurationData } from \"@valtimo/plugin\";\n\ninterface Filter {\n key: string;\n value: string;\n}\n\ninterface ArchiefPropertyConfig {\n uuid?: string;\n kanaal: string;\n filters: Array<Filter>;\n}\n\ninterface ArchiefConfig extends PluginConfigurationData {\n notificatiesApiPluginConfiguration: string;\n processToStart: string;\n archiefProperties: Array<ArchiefPropertyConfig>;\n}\n\nexport { ArchiefConfig, ArchiefPropertyConfig, Filter };\n","/*\n * Copyright 2015-2026 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\nexport * from \"./config\";\n","/*\n * Copyright 2015-2026 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\nimport { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from \"@angular/core\";\nimport { PluginConfigurationComponent } from \"@valtimo/plugin\";\nimport { BehaviorSubject, combineLatest, filter, map, Observable, Subscription, take } from \"rxjs\";\nimport { ArchiefConfig, ArchiefPropertyConfig } from \"../../models\";\nimport { PluginManagementService, PluginTranslationService } from \"@valtimo/plugin\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { MultiInputValues, SelectItem } from \"@valtimo/components\";\nimport { ProcessService } from \"@valtimo/process\";\n\n@Component({\n standalone: false,\n selector: \"valtimo-archief-configuration\",\n templateUrl: \"./archief-configuration.component.html\",\n styleUrls: [\"./archief-configuration.component.scss\"],\n})\nexport class ArchiefConfigurationComponent implements PluginConfigurationComponent, OnInit, OnDestroy {\n @Input() save$: Observable<void>;\n @Input() disabled$: Observable<boolean>;\n @Input() pluginId: string;\n @Input() prefillConfiguration$: Observable<ArchiefConfig>;\n @Output() valid: EventEmitter<boolean> = new EventEmitter<boolean>();\n @Output() configuration: EventEmitter<ArchiefConfig> = new EventEmitter<ArchiefConfig>();\n\n prefillConfig$: Observable<ArchiefConfig>;\n\n readonly notificatiePluginSelectItems$: Observable<Array<SelectItem>> = combineLatest([\n this.pluginManagementService.getPluginConfigurationsByPluginDefinitionKey(\"notificatiesapi\"),\n this.translateService.stream(\"key\"),\n ]).pipe(\n map(([configurations]) =>\n configurations.map((configuration) => ({\n id: configuration.id,\n text: `${configuration.title} - ${this.pluginTranslationService.instant(\"title\", configuration.pluginDefinition.key)}`,\n })),\n ),\n );\n\n readonly processSelectItems$: Observable<Array<SelectItem>> = this.processService.getProcessDefinitions().pipe(\n map((processDefinitions) =>\n processDefinitions.map((processDefinition) => ({\n id: processDefinition.key,\n text: processDefinition.name ?? `<${processDefinition.key}>`,\n })),\n ),\n );\n\n readonly filterMappings: { [uuid: string]: MultiInputValues } = {};\n\n private saveSubscription!: Subscription;\n private readonly formValue$ = new BehaviorSubject<ArchiefConfig | null>(null);\n private readonly valid$ = new BehaviorSubject<boolean>(false);\n\n constructor(\n private readonly pluginManagementService: PluginManagementService,\n private readonly translateService: TranslateService,\n private readonly pluginTranslationService: PluginTranslationService,\n private readonly processService: ProcessService,\n ) {}\n\n ngOnInit(): void {\n this.openSaveSubscription();\n this.setPrefill();\n }\n\n ngOnDestroy() {\n this.saveSubscription?.unsubscribe();\n }\n\n formValueChange(formValue: ArchiefConfig): void {\n this.formValue$.next(formValue);\n this.handleValid(formValue);\n }\n\n filterValueChange(newValue: MultiInputValues, uuid: string): void {\n this.filterMappings[uuid] = newValue;\n }\n\n deleteRow(uuid: string): void {\n delete this.filterMappings[uuid];\n }\n\n private handleValid(formValue: ArchiefConfig): void {\n const validForm = !!(formValue.configurationTitle && formValue.notificatiesApiPluginConfiguration && formValue.processToStart);\n const archiefProperties = formValue.archiefProperties || [];\n const validProperties = archiefProperties.filter((prop) => !!prop.kanaal);\n const valid = validForm && archiefProperties.length === validProperties.length;\n this.valid$.next(valid);\n this.valid.emit(valid);\n }\n\n private openSaveSubscription(): void {\n this.saveSubscription = this.save$?.subscribe(() => {\n combineLatest([this.formValue$, this.valid$])\n .pipe(take(1))\n .subscribe(([formValue, valid]) => {\n if (valid) {\n const formValueToSave: ArchiefConfig = {\n ...formValue,\n archiefProperties: formValue.archiefProperties.map((prop) => {\n const propToSave: ArchiefPropertyConfig = {\n kanaal: prop.kanaal,\n filters: [],\n };\n if (this.filterMappings[prop.uuid]) {\n propToSave.filters = this.filterMappings[prop.uuid].map((f) => ({\n key: f.key as string,\n value: f.value as string,\n }));\n }\n return propToSave;\n }),\n };\n this.configuration.emit(formValueToSave);\n }\n });\n });\n }\n\n private setPrefill(): void {\n this.prefillConfig$ = this.prefillConfiguration$.pipe(\n filter((prefill) => !!prefill),\n map((prefill) => ({\n ...prefill,\n archiefProperties:\n prefill.archiefProperties?.map((prop) => ({\n ...prop,\n filters: prop.filters?.map((f) => ({ key: f.key, value: f.value })) || [],\n })) || [],\n })),\n );\n }\n}\n","<!--\n ~ Copyright 2015-2026 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: prefillConfig$ ? (prefillConfig$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"Archief Plugin\"\n >\n </v-input>\n <ng-container\n *ngIf=\"{notificatiePluginSelectItems: notificatiePluginSelectItems$ | async} as vars\"\n >\n <v-select\n [items]=\"vars.notificatiePluginSelectItems\"\n [margin]=\"true\"\n name=\"notificatiesApiPluginConfiguration\"\n [title]=\"'notificatiesApiPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.notificatiesApiPluginConfiguration\"\n [required]=\"true\"\n [loading]=\"!vars.notificatiePluginSelectItems\"\n [tooltip]=\"'notificatiesApiPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n <ng-container *ngIf=\"{processSelectItems: processSelectItems$ | async} as vars\">\n <v-select\n [items]=\"vars.processSelectItems\"\n [margin]=\"true\"\n name=\"processToStart\"\n [title]=\"'processToStart' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.processToStart\"\n [required]=\"true\"\n [loading]=\"!vars.processSelectItems\"\n [tooltip]=\"'processToStartTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n </ng-container>\n <v-multi-input-form\n name=\"archiefProperties\"\n [title]=\"'archiefProperties' | pluginTranslate: pluginId | async\"\n [formTemplate]=\"archiefPropertyForm\"\n [addRowText]=\"'addArchiefProperty' | pluginTranslate: pluginId | async\"\n [required]=\"false\"\n [tooltip]=\"'archiefPropertiesTooltip' | pluginTranslate: pluginId | async\"\n (deleteRowEvent)=\"deleteRow($event)\"\n [initialAmountOfRows]=\"0\"\n [minimumAmountOfRows]=\"0\"\n [defaultValues]=\"obs.prefill?.archiefProperties\"\n >\n </v-multi-input-form>\n</v-form>\n\n<ng-template\n #archiefPropertyForm\n let-index=\"index\"\n let-uuid=\"uuid\"\n let-changeFunction=\"changeFunction\"\n let-prefill=\"prefill\"\n>\n <ng-container\n *ngIf=\"{\n disabled: disabled$ | async,\n } as obs\"\n >\n <v-form (valueChange)=\"changeFunction($event, uuid)\">\n <v-input\n name=\"kanaal\"\n [title]=\"'kanaal' | pluginTranslate: pluginId | async\"\n [margin]=\"false\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"prefill?.kanaal\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'kanaalTooltip' | pluginTranslate: pluginId | async\"\n [smallMargin]=\"true\"\n placeholder=\"\"\n >\n </v-input>\n <valtimo-carbon-multi-input\n type=\"keyValue\"\n (valueChange)=\"filterValueChange($event, uuid)\"\n [defaultValues]=\"prefill?.filters\"\n [keyColumnTitle]=\"'filterKey' | pluginTranslate: pluginId | async\"\n [valueColumnTitle]=\"'filterValue' | pluginTranslate: pluginId | async\"\n [fullWidth]=\"true\"\n ></valtimo-carbon-multi-input>\n <v-input class=\"hidden-input\" name=\"uuid\" [defaultValue]=\"uuid\"> </v-input>\n </v-form>\n </ng-container>\n</ng-template>\n","/*\n * Copyright 2015-2026 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\nimport { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from \"@angular/core\";\nimport { FunctionConfigurationComponent } from \"@valtimo/plugin\";\nimport { Observable, Subscription } from \"rxjs\";\n\n@Component({\n standalone: false,\n selector: \"valtimo-delete-document-configuration\",\n templateUrl: \"./delete-document-configuration.component.html\",\n})\nexport class DeleteDocumentConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {\n @Input() save$: Observable<void>;\n @Input() disabled$: Observable<boolean>;\n @Input() pluginId: string;\n @Input() prefillConfiguration$: Observable<any>;\n @Output() valid: EventEmitter<boolean> = new EventEmitter<boolean>();\n @Output() configuration: EventEmitter<any> = new EventEmitter<any>();\n\n private saveSubscription!: Subscription;\n\n ngOnInit(): void {\n this.openSaveSubscription();\n this.valid.emit(true);\n }\n\n ngOnDestroy(): void {\n this.saveSubscription?.unsubscribe();\n }\n\n private openSaveSubscription(): void {\n this.saveSubscription = this.save$?.subscribe(() => {\n this.configuration.emit({});\n });\n }\n}\n","<!--\n ~ Copyright 2015-2026 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 [fullWidth]=\"true\">\n {{ 'deleteDocumentMessage' | pluginTranslate: pluginId | async }}\n</v-paragraph>\n","/*\n * Copyright 2015-2026 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\nimport { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from \"@angular/core\";\nimport { FunctionConfigurationComponent } from \"@valtimo/plugin\";\nimport { BehaviorSubject, combineLatest, Observable, Subscription, take } from \"rxjs\";\n\n@Component({\n standalone: false,\n selector: \"valtimo-zaak-instance-url-configuration\",\n templateUrl: \"./zaak-instance-url-configuration.component.html\",\n styleUrls: [\"./zaak-instance-url-configuration.component.scss\"],\n})\nexport class ZaakInstanceUrlConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {\n @Input() save$: Observable<void>;\n @Input() disabled$: Observable<boolean>;\n @Input() pluginId: string;\n @Input() prefillConfiguration$: Observable<any>;\n @Output() valid: EventEmitter<boolean> = new EventEmitter<boolean>();\n @Output() configuration: EventEmitter<any> = new EventEmitter<any>();\n\n private saveSubscription!: Subscription;\n private readonly formValue$ = new BehaviorSubject<any>(null);\n private readonly valid$ = new BehaviorSubject<boolean>(false);\n\n ngOnInit(): void {\n this.openSaveSubscription();\n }\n\n ngOnDestroy(): void {\n this.saveSubscription?.unsubscribe();\n }\n\n formValueChange(formValue: any): void {\n this.formValue$.next(formValue);\n const valid = !!(formValue.zaakInstanceUrl || formValue.documentId);\n this.valid$.next(valid);\n this.valid.emit(valid);\n }\n\n private openSaveSubscription(): void {\n this.saveSubscription = this.save$?.subscribe(() => {\n combineLatest([this.formValue$, this.valid$])\n .pipe(take(1))\n .subscribe(([formValue, valid]) => {\n if (valid) {\n this.configuration.emit(formValue);\n }\n });\n });\n }\n}\n","<!--\n ~ Copyright 2015-2026 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null\n } as obs\"\n>\n <v-paragraph [fullWidth]=\"true\">\n {{ 'linkProcessToDocumentMessage' | pluginTranslate: pluginId | async }}\n </v-paragraph>\n <div class=\"spacer\"></div>\n <v-input\n name=\"zaakInstanceUrl\"\n [title]=\"'zaakInstanceUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.zaakInstanceUrl\"\n [required]=\"false\"\n [tooltip]=\"'zaakInstanceUrlTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"pv:resourceUrl\"\n >\n </v-input>\n <v-input\n name=\"documentId\"\n [title]=\"'documentId' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.documentId\"\n [required]=\"false\"\n [tooltip]=\"'documentIdTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"pv:documentId\"\n >\n </v-input>\n</v-form>\n","/*\n * Copyright 2015-2026 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\nimport { NgModule } from \"@angular/core\";\nimport { ArchiefConfigurationComponent } from \"./components/archief-configuration/archief-configuration.component\";\nimport { DeleteDocumentConfigurationComponent } from \"./components/delete-document/delete-document-configuration.component\";\nimport { ZaakInstanceUrlConfigurationComponent } from \"./components/zaak-instance-url/zaak-instance-url-configuration.component\";\nimport { PluginTranslatePipeModule } from \"@valtimo/plugin\";\nimport { CommonModule } from \"@angular/common\";\nimport { CarbonMultiInputModule, FormModule, InputModule, MultiInputFormModule, ParagraphModule, SelectModule } from \"@valtimo/components\";\n\n@NgModule({\n declarations: [ArchiefConfigurationComponent, DeleteDocumentConfigurationComponent, ZaakInstanceUrlConfigurationComponent],\n imports: [CommonModule, PluginTranslatePipeModule, FormModule, InputModule, SelectModule, MultiInputFormModule, CarbonMultiInputModule, ParagraphModule],\n exports: [ArchiefConfigurationComponent, DeleteDocumentConfigurationComponent, ZaakInstanceUrlConfigurationComponent],\n})\nexport class ArchiefPluginModule {}\n","/*\n * Copyright 2015-2026 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\nconst ARCHIEF_PLUGIN_LOGO_BASE64 =\n \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIxNTAgMTUgOTYgNTAiPjxkZWZzPjxwYXRoIGlkPSJhIiBk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YTEwLjEzOSAxMC4xMzkgMCAwIDAtMy40ODEgMi4xNDNjLS45NzUuOTI4LTEuNzQ2IDIuMDY2LTIuMjkgMy4zODQtLjU0MyAxLjMxNS0uODE5IDIuOC0uODE5IDQuNDEzIDAgMS42MTMuMjc2IDMuMDk4LjgyIDQuNDEzLjU0NSAxLjMxOSAxLjMxNCAyLjQ1NyAyLjI4OSAzLjM4NC45NzQuOTI2IDIuMTQ2IDEuNjQ3IDMuNDggMi4xNDMgMS4zMy40OTQgMi44MDIuNzQ0IDQuMzc0Ljc0NCAxLjQ2NCAwIDIuOTItLjE1MiA0LjMzLS40NTJhMTYuMDU0IDE2LjA1NCAwIDAgMCA0LjA5LTEuNDc4bC4xNzctLjA5VjM3LjczM2gtOC4zNjZ6Ii8+PC9nPjwvc3ZnPg==\";\n\nexport { ARCHIEF_PLUGIN_LOGO_BASE64 };\n","/*\n * Copyright 2015-2026 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\nimport { PluginSpecification } from \"@valtimo/plugin\";\nimport { ArchiefConfigurationComponent } from \"./components/archief-configuration/archief-configuration.component\";\nimport { DeleteDocumentConfigurationComponent } from \"./components/delete-document/delete-document-configuration.component\";\nimport { ZaakInstanceUrlConfigurationComponent } from \"./components/zaak-instance-url/zaak-instance-url-configuration.component\";\nimport { ARCHIEF_PLUGIN_LOGO_BASE64 } from \"./assets/archief-plugin-logo\";\n\nconst archiefPluginSpecification: PluginSpecification = {\n pluginId: \"archief\",\n pluginConfigurationComponent: ArchiefConfigurationComponent,\n pluginLogoBase64: ARCHIEF_PLUGIN_LOGO_BASE64,\n functionConfigurationComponents: {\n \"delete-document\": DeleteDocumentConfigurationComponent,\n \"link-process-to-document\": ZaakInstanceUrlConfigurationComponent,\n },\n pluginTranslations: {\n nl: {\n title: \"Archief\",\n description: \"De Archief-plugin kan archief-eventnotificaties ontvangen en verwerken van de Notificaties API.\",\n configurationTitle: \"Configuratienaam\",\n configurationTitleTooltip:\n \"De naam van de huidige plugin-configuratie. Onder deze naam kan de configuratie in de rest van de applicatie teruggevonden worden.\",\n notificatiesApiPluginConfiguration: \"Notificaties API-configuratie\",\n notificatiesApiPluginConfigurationTooltip:\n \"Configuratie van de Notificaties API die wordt gebruikt om te communiceren tussen GZAC en andere applicaties.\",\n processToStart: \"Proces\",\n processToStartTooltip: \"Het proces dat gestart wordt wanneer een notificatie binnenkomt.\",\n archiefProperties: \"Kanalen\",\n archiefPropertiesTooltip: \"De kanalen en filters waarop geluisterd wordt voor notificaties.\",\n addArchiefProperty: \"Kanaal toevoegen\",\n kanaal: \"Kanaal\",\n kanaalTooltip: \"De naam van het kanaal waarop geluisterd wordt.\",\n filters: \"Filters\",\n filtersTooltip: \"Key-value paren die overeenkomen met de kenmerken van de notificatie.\",\n filterKey: \"Sleutel\",\n filterValue: \"Waarde\",\n deleteDocumentMessage: \"Deze actie verwijdert het document dat gekoppeld is aan het huidige proces. Er is geen verdere configuratie nodig.\",\n zaakInstanceUrl: \"Zaak instantie URL\",\n zaakInstanceUrlTooltip: \"De URL van de zaak instantie. Gebruik een process variabele zoals pv:zaakInstanceUrl.\",\n \"delete-document\": \"Document verwijderen\",\n documentId: \"Document ID\",\n documentIdTooltip: \"Het UUID van het document. Gebruik een procesvariabele zoals pv:documentId.\",\n linkProcessToDocumentMessage: \"Koppelt het huidige systeemproces aan een document. Vul een zaak instantie URL of een document ID in (minimaal één van beide).\",\n \"link-process-to-document\": \"Systeemproces koppelen aan document\",\n },\n en: {\n title: \"Archief\",\n description: \"The Archief plugin can receive and handle archief event notifications from the Notificaties API.\",\n configurationTitle: \"Configuration name\",\n configurationTitleTooltip:\n \"The name of the current plugin configuration. Under this name, the configuration can be found in the rest of the application.\",\n notificatiesApiPluginConfiguration: \"Notificaties API configuration\",\n notificatiesApiPluginConfigurationTooltip:\n \"Configuration of the Notificaties API used to communicate between GZAC and other applications.\",\n processToStart: \"Process\",\n processToStartTooltip: \"The process that is started when a notification is received.\",\n archiefProperties: \"Channels\",\n archiefPropertiesTooltip: \"The channels and filters to listen on for notifications.\",\n addArchiefProperty: \"Add channel\",\n kanaal: \"Channel\",\n kanaalTooltip: \"The name of the channel to listen on.\",\n filters: \"Filters\",\n filtersTooltip: \"Key-value pairs that match the notification attributes.\",\n filterKey: \"Key\",\n filterValue: \"Value\",\n deleteDocumentMessage: \"This action deletes the document associated with the current process. No further configuration is needed.\",\n zaakInstanceUrl: \"Zaak instance URL\",\n zaakInstanceUrlTooltip: \"The URL of the zaak instance. Use a process variable such as pv:zaakInstanceUrl.\",\n \"delete-document\": \"Delete document\",\n documentId: \"Document ID\",\n documentIdTooltip: \"The UUID of the document. Use a process variable such as pv:documentId.\",\n linkProcessToDocumentMessage: \"Links the current system process to a document. Provide either a zaak instance URL or a document ID (at least one is required).\",\n \"link-process-to-document\": \"Link system process to document\",\n },\n },\n};\n\nexport { archiefPluginSpecification };\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;MAiBU,6BAA6B,CAAA;AAqCxC,IAAA,WAAA,CACmB,uBAAgD,EAChD,gBAAkC,EAClC,wBAAkD,EAClD,cAA8B,EAAA;QAH9B,IAAA,CAAA,uBAAuB,GAAvB,uBAAuB;QACvB,IAAA,CAAA,gBAAgB,GAAhB,gBAAgB;QAChB,IAAA,CAAA,wBAAwB,GAAxB,wBAAwB;QACxB,IAAA,CAAA,cAAc,GAAd,cAAc;A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AAA,MAAM,EAAE,SAAS;AACjB,YAAA,aAAa,EAAE,uCAAuC;AACtD,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,cAAc,EAAE,yDAAyD;AACzE,YAAA,SAAS,EAAE,KAAK;AAChB,YAAA,WAAW,EAAE,OAAO;AACpB,YAAA,qBAAqB,EAAE,2GAA2G;AAClI,YAAA,eAAe,EAAE,mBAAmB;AACpC,YAAA,sBAAsB,EAAE,kFAAkF;AAC1G,YAAA,iBAAiB,EAAE,iBAAiB;AACpC,YAAA,UAAU,EAAE,aAAa;AACzB,YAAA,iBAAiB,EAAE,yEAAyE;AAC5F,YAAA,4BAA4B,EAAE,iIAAiI;AAC/J,YAAA,0BAA0B,EAAE,iCAAiC;AAC9D,SAAA;AACF,KAAA;;;ACzFH;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@valtimo-plugins/archief" />
5
+ export * from './public_api';
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/archief-configuration/archief-configuration.component";
3
+ import * as i2 from "./components/delete-document/delete-document-configuration.component";
4
+ import * as i3 from "./components/zaak-instance-url/zaak-instance-url-configuration.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@valtimo/plugin";
7
+ import * as i6 from "@valtimo/components";
8
+ export declare class ArchiefPluginModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArchiefPluginModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArchiefPluginModule, [typeof i1.ArchiefConfigurationComponent, typeof i2.DeleteDocumentConfigurationComponent, typeof i3.ZaakInstanceUrlConfigurationComponent], [typeof i4.CommonModule, typeof i5.PluginTranslatePipeModule, typeof i6.FormModule, typeof i6.InputModule, typeof i6.SelectModule, typeof i6.MultiInputFormModule, typeof i6.CarbonMultiInputModule, typeof i6.ParagraphModule], [typeof i1.ArchiefConfigurationComponent, typeof i2.DeleteDocumentConfigurationComponent, typeof i3.ZaakInstanceUrlConfigurationComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<ArchiefPluginModule>;
12
+ }
@@ -0,0 +1,3 @@
1
+ import { PluginSpecification } from "@valtimo/plugin";
2
+ declare const archiefPluginSpecification: PluginSpecification;
3
+ export { archiefPluginSpecification };
@@ -0,0 +1,2 @@
1
+ declare const ARCHIEF_PLUGIN_LOGO_BASE64 = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIxNTAgMTUgOTYgNTAiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNNTcuMzk2LjIxMUguMjgxdjQ5LjQwNWg1Ny4xMTVWLjIxeiIvPjxwYXRoIGlkPSJjIiBkPSJNNTcuNTY0LjIxMUguNDQ4djQ5LjQwNWg1Ny4xMTZWLjIxeiIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4Ny45MzEgMTUpIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNNTcuMzk2IDI0LjkxM2MwLTEzLjU3My0xMS4wMDQtMjQuNjIyLTI0LjU2LTI0LjctLjAyNCAwLS4wNDgtLjAwMy0uMDczLS4wMDNIMjQuNzVhMi41MDQgMi41MDQgMCAxIDAgMCA1LjAxaDcuOTQ1YzEwLjg1OCAwIDE5LjY5NCA4LjgzNCAxOS42OTQgMTkuNjkzIDAgMTAuODYtOC44MzYgMTkuNjk0LTE5LjY5NCAxOS42OTRINS4yODl2LTQuNTc4SC4yODF2OS41ODdoMzIuNDgydi0uMDAxYzEzLjU5LS4w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0xLjg5NGMtLjI3Mi0uNzI5LS40MS0xLjU0OS0uNDEtMi40MzMgMC0uODY3LjEzOC0xLjY4MS40MS0yLjQyYTUuNTAyIDUuNTAyIDAgMCAxIDEuMTctMS45MDggNS4zNzQgNS4zNzQgMCAwIDEgMS44MjQtMS4yNDZjLjcwOS0uMjk4IDEuNTE0LS40NDkgMi4zOTQtLjQ0OSAxLjA2NCAwIDEuOTU5LjE1MSAyLjY1Ny40NDkuNy4yOTcgMS4zMzguNzQgMS44OTggMS4zMThsLjI0Mi4yNDggMy41MTUtMy44MzUtLjIzNy0uMjIxYTguOTIzIDguOTIzIDAgMCAwLTMuNjI3LTIuMDM4Yy0xLjM1LS4zODYtMi44NDctLjU4My00LjQ0OC0uNTgzLTEuNTcyIDAtMy4wNDQuMjUtNC4zNzMuNzQ1YTEwLjEzOSAxMC4xMzkgMCAwIDAtMy40ODEgMi4xNDNjLS45NzUuOTI4LTEuNzQ2IDIuMDY2LTIuMjkgMy4zODQtLjU0MyAxLjMxNS0uODE5IDIuOC0uODE5IDQuNDEzIDAgMS42MTMuMjc2IDMuMDk4LjgyIDQuNDEzLjU0NSAxLjMxOSAxLjMxNCAyLjQ1NyAyLjI4OSAzLjM4NC45NzQuOTI2IDIuMTQ2IDEuNjQ3IDMuNDggMi4xNDMgMS4zMy40OTQgMi44MDIuNzQ0IDQuMzc0Ljc0NCAxLjQ2NCAwIDIuOTItLjE1MiA0LjMzLS40NTJhMTYuMDU0IDE2LjA1NCAwIDAgMCA0LjA5LTEuNDc4bC4xNzctLjA5VjM3LjczM2gtOC4zNjZ6Ii8+PC9nPjwvc3ZnPg==";
2
+ export { ARCHIEF_PLUGIN_LOGO_BASE64 };
@@ -0,0 +1,41 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
+ import { PluginConfigurationComponent } from "@valtimo/plugin";
3
+ import { Observable } from "rxjs";
4
+ import { ArchiefConfig } from "../../models";
5
+ import { PluginManagementService, PluginTranslationService } from "@valtimo/plugin";
6
+ import { TranslateService } from "@ngx-translate/core";
7
+ import { MultiInputValues, SelectItem } from "@valtimo/components";
8
+ import { ProcessService } from "@valtimo/process";
9
+ import * as i0 from "@angular/core";
10
+ export declare class ArchiefConfigurationComponent implements PluginConfigurationComponent, OnInit, OnDestroy {
11
+ private readonly pluginManagementService;
12
+ private readonly translateService;
13
+ private readonly pluginTranslationService;
14
+ private readonly processService;
15
+ save$: Observable<void>;
16
+ disabled$: Observable<boolean>;
17
+ pluginId: string;
18
+ prefillConfiguration$: Observable<ArchiefConfig>;
19
+ valid: EventEmitter<boolean>;
20
+ configuration: EventEmitter<ArchiefConfig>;
21
+ prefillConfig$: Observable<ArchiefConfig>;
22
+ readonly notificatiePluginSelectItems$: Observable<Array<SelectItem>>;
23
+ readonly processSelectItems$: Observable<Array<SelectItem>>;
24
+ readonly filterMappings: {
25
+ [uuid: string]: MultiInputValues;
26
+ };
27
+ private saveSubscription;
28
+ private readonly formValue$;
29
+ private readonly valid$;
30
+ constructor(pluginManagementService: PluginManagementService, translateService: TranslateService, pluginTranslationService: PluginTranslationService, processService: ProcessService);
31
+ ngOnInit(): void;
32
+ ngOnDestroy(): void;
33
+ formValueChange(formValue: ArchiefConfig): void;
34
+ filterValueChange(newValue: MultiInputValues, uuid: string): void;
35
+ deleteRow(uuid: string): void;
36
+ private handleValid;
37
+ private openSaveSubscription;
38
+ private setPrefill;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArchiefConfigurationComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArchiefConfigurationComponent, "valtimo-archief-configuration", never, { "save$": { "alias": "save$"; "required": false; }; "disabled$": { "alias": "disabled$"; "required": false; }; "pluginId": { "alias": "pluginId"; "required": false; }; "prefillConfiguration$": { "alias": "prefillConfiguration$"; "required": false; }; }, { "valid": "valid"; "configuration": "configuration"; }, never, never, false, never>;
41
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
+ import { FunctionConfigurationComponent } from "@valtimo/plugin";
3
+ import { Observable } from "rxjs";
4
+ import * as i0 from "@angular/core";
5
+ export declare class DeleteDocumentConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {
6
+ save$: Observable<void>;
7
+ disabled$: Observable<boolean>;
8
+ pluginId: string;
9
+ prefillConfiguration$: Observable<any>;
10
+ valid: EventEmitter<boolean>;
11
+ configuration: EventEmitter<any>;
12
+ private saveSubscription;
13
+ ngOnInit(): void;
14
+ ngOnDestroy(): void;
15
+ private openSaveSubscription;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeleteDocumentConfigurationComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeleteDocumentConfigurationComponent, "valtimo-delete-document-configuration", never, { "save$": { "alias": "save$"; "required": false; }; "disabled$": { "alias": "disabled$"; "required": false; }; "pluginId": { "alias": "pluginId"; "required": false; }; "prefillConfiguration$": { "alias": "prefillConfiguration$"; "required": false; }; }, { "valid": "valid"; "configuration": "configuration"; }, never, never, false, never>;
18
+ }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
+ import { FunctionConfigurationComponent } from "@valtimo/plugin";
3
+ import { Observable } from "rxjs";
4
+ import * as i0 from "@angular/core";
5
+ export declare class ZaakInstanceUrlConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {
6
+ save$: Observable<void>;
7
+ disabled$: Observable<boolean>;
8
+ pluginId: string;
9
+ prefillConfiguration$: Observable<any>;
10
+ valid: EventEmitter<boolean>;
11
+ configuration: EventEmitter<any>;
12
+ private saveSubscription;
13
+ private readonly formValue$;
14
+ private readonly valid$;
15
+ ngOnInit(): void;
16
+ ngOnDestroy(): void;
17
+ formValueChange(formValue: any): void;
18
+ private openSaveSubscription;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ZaakInstanceUrlConfigurationComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZaakInstanceUrlConfigurationComponent, "valtimo-zaak-instance-url-configuration", never, { "save$": { "alias": "save$"; "required": false; }; "disabled$": { "alias": "disabled$"; "required": false; }; "pluginId": { "alias": "pluginId"; "required": false; }; "prefillConfiguration$": { "alias": "prefillConfiguration$"; "required": false; }; }, { "valid": "valid"; "configuration": "configuration"; }, never, never, false, never>;
21
+ }
@@ -0,0 +1,16 @@
1
+ import { PluginConfigurationData } from "@valtimo/plugin";
2
+ interface Filter {
3
+ key: string;
4
+ value: string;
5
+ }
6
+ interface ArchiefPropertyConfig {
7
+ uuid?: string;
8
+ kanaal: string;
9
+ filters: Array<Filter>;
10
+ }
11
+ interface ArchiefConfig extends PluginConfigurationData {
12
+ notificatiesApiPluginConfiguration: string;
13
+ processToStart: string;
14
+ archiefProperties: Array<ArchiefPropertyConfig>;
15
+ }
16
+ export { ArchiefConfig, ArchiefPropertyConfig, Filter };
@@ -0,0 +1 @@
1
+ export * from "./config";
package/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@valtimo-plugins/archief",
3
+ "license": "EUPL-1.2",
4
+ "version": "0.0.1-hackathon",
5
+ "peerDependencies": {
6
+ "@angular/common": "^19.2.8",
7
+ "@angular/core": "^19.2.8"
8
+ },
9
+ "dependencies": {
10
+ "tslib": "2.8.1"
11
+ },
12
+ "module": "fesm2022/valtimo-plugins-archief.mjs",
13
+ "typings": "index.d.ts",
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./index.d.ts",
20
+ "default": "./fesm2022/valtimo-plugins-archief.mjs"
21
+ }
22
+ },
23
+ "sideEffects": false
24
+ }
@@ -0,0 +1,6 @@
1
+ export * from "./lib/models";
2
+ export * from "./lib/archief-plugin.module";
3
+ export * from "./lib/archief-plugin.specification";
4
+ export * from "./lib/components/archief-configuration/archief-configuration.component";
5
+ export * from "./lib/components/delete-document/delete-document-configuration.component";
6
+ export * from "./lib/components/zaak-instance-url/zaak-instance-url-configuration.component";