@valtimo/shared 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/README.md +31 -0
  2. package/assets/core/de.json +2279 -0
  3. package/assets/core/en.json +2292 -0
  4. package/assets/core/nl.json +2328 -0
  5. package/fesm2022/valtimo-shared.mjs +1806 -0
  6. package/fesm2022/valtimo-shared.mjs.map +1 -0
  7. package/index.d.ts +6 -0
  8. package/lib/components/global-notification.component.d.ts +13 -0
  9. package/lib/components/global-notification.component.d.ts.map +1 -0
  10. package/lib/config.module.d.ts +11 -0
  11. package/lib/config.module.d.ts.map +1 -0
  12. package/lib/constants/case-configuration-extensions-token.d.ts +4 -0
  13. package/lib/constants/case-configuration-extensions-token.d.ts.map +1 -0
  14. package/lib/constants/case-management-tab-token.d.ts +5 -0
  15. package/lib/constants/case-management-tab-token.d.ts.map +1 -0
  16. package/lib/constants/error.constants.d.ts +5 -0
  17. package/lib/constants/error.constants.d.ts.map +1 -0
  18. package/lib/constants/form-view-model-token.d.ts +5 -0
  19. package/lib/constants/form-view-model-token.d.ts.map +1 -0
  20. package/lib/constants/iko.token.d.ts +4 -0
  21. package/lib/constants/iko.token.d.ts.map +1 -0
  22. package/lib/constants/index.d.ts +7 -0
  23. package/lib/constants/index.d.ts.map +1 -0
  24. package/lib/constants/versions.d.ts +4 -0
  25. package/lib/constants/versions.d.ts.map +1 -0
  26. package/lib/extension/extension.component.d.ts +19 -0
  27. package/lib/extension/extension.component.d.ts.map +1 -0
  28. package/lib/models/case-management.model.d.ts +12 -0
  29. package/lib/models/case-management.model.d.ts.map +1 -0
  30. package/lib/models/condition.model.d.ts +15 -0
  31. package/lib/models/condition.model.d.ts.map +1 -0
  32. package/lib/models/config.d.ts +144 -0
  33. package/lib/models/config.d.ts.map +1 -0
  34. package/lib/models/display-type.model.d.ts +13 -0
  35. package/lib/models/display-type.model.d.ts.map +1 -0
  36. package/lib/models/email-notification-settings.model.d.ts +12 -0
  37. package/lib/models/email-notification-settings.model.d.ts.map +1 -0
  38. package/lib/models/extension.model.d.ts +33 -0
  39. package/lib/models/extension.model.d.ts.map +1 -0
  40. package/lib/models/form-view-model.model.d.ts +6 -0
  41. package/lib/models/form-view-model.model.d.ts.map +1 -0
  42. package/lib/models/global-configuration.model.d.ts +5 -0
  43. package/lib/models/global-configuration.model.d.ts.map +1 -0
  44. package/lib/models/http-loader.d.ts +4 -0
  45. package/lib/models/http-loader.d.ts.map +1 -0
  46. package/lib/models/index.d.ts +25 -0
  47. package/lib/models/index.d.ts.map +1 -0
  48. package/lib/models/localization.model.d.ts +10 -0
  49. package/lib/models/localization.model.d.ts.map +1 -0
  50. package/lib/models/management.model.d.ts +3 -0
  51. package/lib/models/management.model.d.ts.map +1 -0
  52. package/lib/models/menu-item.model.d.ts +19 -0
  53. package/lib/models/menu-item.model.d.ts.map +1 -0
  54. package/lib/models/menu.config.d.ts +5 -0
  55. package/lib/models/menu.config.d.ts.map +1 -0
  56. package/lib/models/modal.model.d.ts +4 -0
  57. package/lib/models/modal.model.d.ts.map +1 -0
  58. package/lib/models/page.d.ts +27 -0
  59. package/lib/models/page.d.ts.map +1 -0
  60. package/lib/models/roles.d.ts +4 -0
  61. package/lib/models/roles.d.ts.map +1 -0
  62. package/lib/models/search.model.d.ts +52 -0
  63. package/lib/models/search.model.d.ts.map +1 -0
  64. package/lib/models/security.config.d.ts +47 -0
  65. package/lib/models/security.config.d.ts.map +1 -0
  66. package/lib/models/tag-color.model.d.ts +16 -0
  67. package/lib/models/tag-color.model.d.ts.map +1 -0
  68. package/lib/models/translation.model.d.ts +7 -0
  69. package/lib/models/translation.model.d.ts.map +1 -0
  70. package/lib/models/user-management.model.d.ts +22 -0
  71. package/lib/models/user-management.model.d.ts.map +1 -0
  72. package/lib/models/user-settings.model.d.ts +9 -0
  73. package/lib/models/user-settings.model.d.ts.map +1 -0
  74. package/lib/models/versions.model.d.ts +5 -0
  75. package/lib/models/versions.model.d.ts.map +1 -0
  76. package/lib/models/window.model.d.ts +12 -0
  77. package/lib/models/window.model.d.ts.map +1 -0
  78. package/lib/services/base-api.service.d.ts +10 -0
  79. package/lib/services/base-api.service.d.ts.map +1 -0
  80. package/lib/services/config.service.d.ts +27 -0
  81. package/lib/services/config.service.d.ts.map +1 -0
  82. package/lib/services/draft-version.service.d.ts +14 -0
  83. package/lib/services/draft-version.service.d.ts.map +1 -0
  84. package/lib/services/edit-permissions.service.d.ts +19 -0
  85. package/lib/services/edit-permissions.service.d.ts.map +1 -0
  86. package/lib/services/environment.service.d.ts +14 -0
  87. package/lib/services/environment.service.d.ts.map +1 -0
  88. package/lib/services/global-notification.service.d.ts +22 -0
  89. package/lib/services/global-notification.service.d.ts.map +1 -0
  90. package/lib/services/index.d.ts +10 -0
  91. package/lib/services/index.d.ts.map +1 -0
  92. package/lib/services/localization.service.d.ts +19 -0
  93. package/lib/services/localization.service.d.ts.map +1 -0
  94. package/lib/services/menu-include.service.d.ts +13 -0
  95. package/lib/services/menu-include.service.d.ts.map +1 -0
  96. package/lib/services/user-settings.service.d.ts +16 -0
  97. package/lib/services/user-settings.service.d.ts.map +1 -0
  98. package/lib/testing/index.d.ts +2 -0
  99. package/lib/testing/index.d.ts.map +1 -0
  100. package/lib/testing/services/index.d.ts +4 -0
  101. package/lib/testing/services/index.d.ts.map +1 -0
  102. package/lib/testing/services/mock-icon.service.d.ts +7 -0
  103. package/lib/testing/services/mock-icon.service.d.ts.map +1 -0
  104. package/lib/testing/services/mock-keycloak.service.d.ts +14 -0
  105. package/lib/testing/services/mock-keycloak.service.d.ts.map +1 -0
  106. package/lib/testing/services/mock-translate.service.d.ts +9 -0
  107. package/lib/testing/services/mock-translate.service.d.ts.map +1 -0
  108. package/lib/translation/custom-multi-translate-http-loader-factory.d.ts +6 -0
  109. package/lib/translation/custom-multi-translate-http-loader-factory.d.ts.map +1 -0
  110. package/lib/translation/custom-multi-translate-http-loader.d.ts +14 -0
  111. package/lib/translation/custom-multi-translate-http-loader.d.ts.map +1 -0
  112. package/lib/translation/index.d.ts +4 -0
  113. package/lib/translation/index.d.ts.map +1 -0
  114. package/lib/translation/multi-translate-http-loader-factory.d.ts +5 -0
  115. package/lib/translation/multi-translate-http-loader-factory.d.ts.map +1 -0
  116. package/lib/utils/display-type.utils.d.ts +4 -0
  117. package/lib/utils/display-type.utils.d.ts.map +1 -0
  118. package/lib/utils/global-notification.utils.d.ts +7 -0
  119. package/lib/utils/global-notification.utils.d.ts.map +1 -0
  120. package/lib/utils/index.d.ts +7 -0
  121. package/lib/utils/index.d.ts.map +1 -0
  122. package/lib/utils/route-params.utils.d.ts +8 -0
  123. package/lib/utils/route-params.utils.d.ts.map +1 -0
  124. package/lib/utils/router.utils.d.ts +6 -0
  125. package/lib/utils/router.utils.d.ts.map +1 -0
  126. package/lib/utils/url.utils.d.ts +7 -0
  127. package/lib/utils/url.utils.d.ts.map +1 -0
  128. package/lib/utils/validate-bsn.utils.d.ts +6 -0
  129. package/lib/utils/validate-bsn.utils.d.ts.map +1 -0
  130. package/lib/zgw/constants/index.d.ts +3 -0
  131. package/lib/zgw/constants/index.d.ts.map +1 -0
  132. package/lib/zgw/constants/zgw-documenten-api-documents-component-token.d.ts +4 -0
  133. package/lib/zgw/constants/zgw-documenten-api-documents-component-token.d.ts.map +1 -0
  134. package/lib/zgw/constants/zgw-object-type-component-token.d.ts +4 -0
  135. package/lib/zgw/constants/zgw-object-type-component-token.d.ts.map +1 -0
  136. package/lib/zgw/index.d.ts +2 -0
  137. package/lib/zgw/index.d.ts.map +1 -0
  138. package/package.json +26 -0
  139. package/public-api.d.ts +11 -0
  140. package/public-api.d.ts.map +1 -0
  141. package/valtimo-shared.d.ts.map +1 -0
@@ -0,0 +1,1806 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { InjectionToken, Inject, Injectable, Component, ViewContainerRef, ViewChild, Input, NgModule } from '@angular/core';
4
+ import * as i2 from 'carbon-components-angular';
5
+ import { Notification, Toast, ActionableNotification, NotificationService } from 'carbon-components-angular';
6
+ import { of, combineLatest, map, filter, distinctUntilChanged, switchMap, take, forkJoin } from 'rxjs';
7
+ import { isEqual } from 'lodash';
8
+ import { TranslateHttpLoader } from '@ngx-translate/http-loader';
9
+ import * as i1 from '@angular/common/http';
10
+ import { HttpHeaders, HttpClient } from '@angular/common/http';
11
+ import { catchError, switchMap as switchMap$1, map as map$1 } from 'rxjs/operators';
12
+ import { deepmerge } from 'deepmerge-ts';
13
+ import { MultiTranslateHttpLoader } from 'ngx-translate-multi-http-loader';
14
+
15
+ /*
16
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
17
+ *
18
+ * Licensed under EUPL, Version 1.2 (the "License");
19
+ * you may not use this file except in compliance with the License.
20
+ * You may obtain a copy of the License at
21
+ *
22
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
23
+ *
24
+ * Unless required by applicable law or agreed to in writing, software
25
+ * distributed under the License is distributed on an "AS IS" basis,
26
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
+ * See the License for the specific language governing permissions and
28
+ * limitations under the License.
29
+ */
30
+ class RouterUtils {
31
+ static getRouterExtraOptions() {
32
+ return { canceledNavigationResolution: 'computed' };
33
+ }
34
+ }
35
+
36
+ /*
37
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
38
+ *
39
+ * Licensed under EUPL, Version 1.2 (the "License");
40
+ * you may not use this file except in compliance with the License.
41
+ * You may obtain a copy of the License at
42
+ *
43
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
44
+ *
45
+ * Unless required by applicable law or agreed to in writing, software
46
+ * distributed under the License is distributed on an "AS IS" basis,
47
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
48
+ * See the License for the specific language governing permissions and
49
+ * limitations under the License.
50
+ */
51
+ class UrlUtils {
52
+ static formatUrlTrailingSlash(url, returnWithTrailingSlash) {
53
+ if (url && typeof url === 'string') {
54
+ const urlLastCharacter = url[url.length - 1];
55
+ const urlLastCharacterIsSlash = urlLastCharacter === '/';
56
+ if (!returnWithTrailingSlash && urlLastCharacterIsSlash) {
57
+ return url.slice(0, -1);
58
+ }
59
+ else if (returnWithTrailingSlash && !urlLastCharacterIsSlash) {
60
+ return `${url}/`;
61
+ }
62
+ }
63
+ return url;
64
+ }
65
+ static formatUrlStartWithSlash(url) {
66
+ if (url && typeof url === 'string' && url.length > 0 && url[0] !== '/') {
67
+ return `/${url}`;
68
+ }
69
+ return `${url}`;
70
+ }
71
+ static getUrlHost(urlString) {
72
+ let url;
73
+ try {
74
+ url = new URL(urlString);
75
+ }
76
+ catch (_) { }
77
+ return url ? url.host : '';
78
+ }
79
+ }
80
+
81
+ /*
82
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
83
+ *
84
+ * Licensed under EUPL, Version 1.2 (the "License");
85
+ * you may not use this file except in compliance with the License.
86
+ * You may obtain a copy of the License at
87
+ *
88
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
89
+ *
90
+ * Unless required by applicable law or agreed to in writing, software
91
+ * distributed under the License is distributed on an "AS IS" basis,
92
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
93
+ * See the License for the specific language governing permissions and
94
+ * limitations under the License.
95
+ */
96
+ const DEFAULT_NOTIFICATION_PARAMS = {
97
+ duration: 4000,
98
+ showClose: true,
99
+ };
100
+ const getNotificationObject = (content) => ({
101
+ ...DEFAULT_NOTIFICATION_PARAMS,
102
+ ...content,
103
+ });
104
+
105
+ const getCaseManagementRouteParams = (route, doFilter = false) => {
106
+ const rootParams$ = route.params ? route.params : of({});
107
+ const parentParams$ = route.parent?.params ? route.parent.params : of({});
108
+ return combineLatest([rootParams$, parentParams$]).pipe(map(([rootParams, parentParams]) => {
109
+ const caseDefinitionKey = rootParams['caseDefinitionKey'] || parentParams['caseDefinitionKey'];
110
+ const caseDefinitionVersionTag = rootParams['caseDefinitionVersionTag'] || parentParams['caseDefinitionVersionTag'];
111
+ if (caseDefinitionKey && caseDefinitionVersionTag) {
112
+ return { caseDefinitionKey, caseDefinitionVersionTag };
113
+ }
114
+ return null;
115
+ }), filter((params) => (doFilter ? params !== null : true)), distinctUntilChanged((previous, current) => isEqual(previous, current)));
116
+ };
117
+ function getContextObservable(route) {
118
+ return route.data.pipe(map(data => (data && data['context']) || null), distinctUntilChanged());
119
+ }
120
+ function getCaseManagementRouteParamsAndContext(route) {
121
+ const params$ = getCaseManagementRouteParams(route, true);
122
+ const context$ = getContextObservable(route);
123
+ return context$.pipe(switchMap(context => {
124
+ if (context === 'case') {
125
+ return combineLatest([of(context), params$]);
126
+ }
127
+ const fallbackParams = {
128
+ caseDefinitionKey: '',
129
+ caseDefinitionVersionTag: '',
130
+ };
131
+ return of([context, fallbackParams]);
132
+ }));
133
+ }
134
+
135
+ /*
136
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
137
+ *
138
+ * Licensed under EUPL, Version 1.2 (the "License");
139
+ * you may not use this file except in compliance with the License.
140
+ * You may obtain a copy of the License at
141
+ *
142
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
143
+ *
144
+ * Unless required by applicable law or agreed to in writing, software
145
+ * distributed under the License is distributed on an "AS IS" basis,
146
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
147
+ * See the License for the specific language governing permissions and
148
+ * limitations under the License.
149
+ */
150
+ const getDisplayTypeParametersView = (displayTypeParameters) => {
151
+ if (displayTypeParameters?.dateFormat) {
152
+ return displayTypeParameters.dateFormat;
153
+ }
154
+ else if (displayTypeParameters?.tagAmount) {
155
+ return displayTypeParameters.tagAmount.toString();
156
+ }
157
+ else if (displayTypeParameters?.enum) {
158
+ return Object.keys(displayTypeParameters.enum).reduce((acc, curr) => {
159
+ const keyValuePairString = `${curr}: ${displayTypeParameters.enum?.[curr]}`;
160
+ if (!acc) {
161
+ return `${keyValuePairString}`;
162
+ }
163
+ return `${acc}, ${keyValuePairString}`;
164
+ }, '');
165
+ }
166
+ return '-';
167
+ };
168
+
169
+ /*
170
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
171
+ *
172
+ * Licensed under EUPL, Version 1.2 (the "License");
173
+ * you may not use this file except in compliance with the License.
174
+ * You may obtain a copy of the License at
175
+ *
176
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
177
+ *
178
+ * Unless required by applicable law or agreed to in writing, software
179
+ * distributed under the License is distributed on an "AS IS" basis,
180
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
181
+ * See the License for the specific language governing permissions and
182
+ * limitations under the License.
183
+ */
184
+ const validateBsn = (value) => {
185
+ const baseKey = 'interface.dataValidation.bsnValidator';
186
+ if (!value) {
187
+ return { isValid: false, errorKey: `${baseKey}.valueEmpty` };
188
+ }
189
+ const trimmed = value.toString().trim();
190
+ if (!/^\d+$/.test(trimmed)) {
191
+ return { isValid: false, errorKey: `${baseKey}.valueOnlyDigits` };
192
+ }
193
+ if (trimmed.length < 8 || trimmed.length > 9) {
194
+ return { isValid: false, errorKey: `${baseKey}.valueMinLength` };
195
+ }
196
+ if (trimmed.length > 9) {
197
+ return { isValid: false, errorKey: `${baseKey}.valueMaxLength` };
198
+ }
199
+ if (/^0+$/.test(trimmed) || /^9+$/.test(trimmed)) {
200
+ return { isValid: false, errorKey: `${baseKey}.valueAllZerosOrNines` };
201
+ }
202
+ const digits = trimmed.split('').map(d => parseInt(d, 10));
203
+ let sum = 0;
204
+ const length = digits.length;
205
+ for (let i = 0; i < length; i++) {
206
+ const weight = i === length - 1 ? -1 : length - i;
207
+ sum += digits[i] * weight;
208
+ }
209
+ if (sum % 11 !== 0) {
210
+ return { isValid: false, errorKey: `${baseKey}.valueElfCheck` };
211
+ }
212
+ return { isValid: true, errorKey: null };
213
+ };
214
+
215
+ /*
216
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
217
+ *
218
+ * Licensed under EUPL, Version 1.2 (the "License");
219
+ * you may not use this file except in compliance with the License.
220
+ * You may obtain a copy of the License at
221
+ *
222
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
223
+ *
224
+ * Unless required by applicable law or agreed to in writing, software
225
+ * distributed under the License is distributed on an "AS IS" basis,
226
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
227
+ * See the License for the specific language governing permissions and
228
+ * limitations under the License.
229
+ */
230
+
231
+ /*
232
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
233
+ *
234
+ * Licensed under EUPL, Version 1.2 (the "License");
235
+ * you may not use this file except in compliance with the License.
236
+ * You may obtain a copy of the License at
237
+ *
238
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
239
+ *
240
+ * Unless required by applicable law or agreed to in writing, software
241
+ * distributed under the License is distributed on an "AS IS" basis,
242
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
243
+ * See the License for the specific language governing permissions and
244
+ * limitations under the License.
245
+ */
246
+ class BaseApiService {
247
+ constructor(httpClient, configService) {
248
+ this.httpClient = httpClient;
249
+ this.configService = configService;
250
+ this._valtimoEndpointUri = configService.config.valtimoApi.endpointUri;
251
+ }
252
+ getApiUrl(urlPart) {
253
+ const urlWithStartSlash = UrlUtils.formatUrlStartWithSlash(urlPart);
254
+ const urlFormattedWithTrailingSlash = `${UrlUtils.formatUrlTrailingSlash(this._valtimoEndpointUri, false)}${urlWithStartSlash}`;
255
+ return urlFormattedWithTrailingSlash;
256
+ }
257
+ }
258
+
259
+ /*
260
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
261
+ *
262
+ * Licensed under EUPL, Version 1.2 (the "License");
263
+ * you may not use this file except in compliance with the License.
264
+ * You may obtain a copy of the License at
265
+ *
266
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
267
+ *
268
+ * Unless required by applicable law or agreed to in writing, software
269
+ * distributed under the License is distributed on an "AS IS" basis,
270
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
271
+ * See the License for the specific language governing permissions and
272
+ * limitations under the License.
273
+ */
274
+ const VALTIMO_CONFIG = new InjectionToken('valtimoConfig');
275
+ // eslint-disable-next-line
276
+ const INITIALIZERS = new InjectionToken('initializers');
277
+ var UploadProvider;
278
+ (function (UploadProvider) {
279
+ UploadProvider[UploadProvider["S3"] = 0] = "S3";
280
+ /**@deprecated This upload provider will be removed in the future. */
281
+ UploadProvider[UploadProvider["OPEN_ZAAK"] = 1] = "OPEN_ZAAK";
282
+ UploadProvider[UploadProvider["DOCUMENTEN_API"] = 2] = "DOCUMENTEN_API";
283
+ })(UploadProvider || (UploadProvider = {}));
284
+ var TaskListTab;
285
+ (function (TaskListTab) {
286
+ TaskListTab["MINE"] = "mine";
287
+ TaskListTab["OPEN"] = "open";
288
+ TaskListTab["ALL"] = "all";
289
+ })(TaskListTab || (TaskListTab = {}));
290
+ var CaseListTab;
291
+ (function (CaseListTab) {
292
+ CaseListTab["MINE"] = "MINE";
293
+ CaseListTab["OPEN"] = "OPEN";
294
+ CaseListTab["ALL"] = "ALL";
295
+ })(CaseListTab || (CaseListTab = {}));
296
+ var Language;
297
+ (function (Language) {
298
+ Language["NL"] = "nl";
299
+ Language["EN"] = "en";
300
+ })(Language || (Language = {}));
301
+
302
+ /*
303
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
304
+ *
305
+ * Licensed under EUPL, Version 1.2 (the "License");
306
+ * you may not use this file except in compliance with the License.
307
+ * You may obtain a copy of the License at
308
+ *
309
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
310
+ *
311
+ * Unless required by applicable law or agreed to in writing, software
312
+ * distributed under the License is distributed on an "AS IS" basis,
313
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
314
+ * See the License for the specific language governing permissions and
315
+ * limitations under the License.
316
+ */
317
+
318
+ /*
319
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
320
+ *
321
+ * Licensed under EUPL, Version 1.2 (the "License");
322
+ * you may not use this file except in compliance with the License.
323
+ * You may obtain a copy of the License at
324
+ *
325
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
326
+ *
327
+ * Unless required by applicable law or agreed to in writing, software
328
+ * distributed under the License is distributed on an "AS IS" basis,
329
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
330
+ * See the License for the specific language governing permissions and
331
+ * limitations under the License.
332
+ */
333
+ var IncludeFunction;
334
+ (function (IncludeFunction) {
335
+ IncludeFunction[IncludeFunction["ObjectManagementEnabled"] = 0] = "ObjectManagementEnabled";
336
+ })(IncludeFunction || (IncludeFunction = {}));
337
+
338
+ /*
339
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
340
+ *
341
+ * Licensed under EUPL, Version 1.2 (the "License");
342
+ * you may not use this file except in compliance with the License.
343
+ * You may obtain a copy of the License at
344
+ *
345
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
346
+ *
347
+ * Unless required by applicable law or agreed to in writing, software
348
+ * distributed under the License is distributed on an "AS IS" basis,
349
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
350
+ * See the License for the specific language governing permissions and
351
+ * limitations under the License.
352
+ */
353
+
354
+ /*
355
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
356
+ *
357
+ * Licensed under EUPL, Version 1.2 (the "License");
358
+ * you may not use this file except in compliance with the License.
359
+ * You may obtain a copy of the License at
360
+ *
361
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
362
+ *
363
+ * Unless required by applicable law or agreed to in writing, software
364
+ * distributed under the License is distributed on an "AS IS" basis,
365
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
366
+ * See the License for the specific language governing permissions and
367
+ * limitations under the License.
368
+ */
369
+ class ValtimoUserIdentity {
370
+ constructor(email, firstName, lastName, roles, username, id) {
371
+ this._email = email;
372
+ this._firstName = firstName;
373
+ this._lastName = lastName;
374
+ this._roles = roles;
375
+ this._username = username;
376
+ this._id = id;
377
+ }
378
+ get email() {
379
+ return this._email;
380
+ }
381
+ get firstName() {
382
+ return this._firstName;
383
+ }
384
+ get lastName() {
385
+ return this._lastName;
386
+ }
387
+ get roles() {
388
+ return this._roles;
389
+ }
390
+ get username() {
391
+ return this._username;
392
+ }
393
+ get id() {
394
+ return this._id;
395
+ }
396
+ }
397
+
398
+ /*
399
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
400
+ *
401
+ * Licensed under EUPL, Version 1.2 (the "License");
402
+ * you may not use this file except in compliance with the License.
403
+ * You may obtain a copy of the License at
404
+ *
405
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
406
+ *
407
+ * Unless required by applicable law or agreed to in writing, software
408
+ * distributed under the License is distributed on an "AS IS" basis,
409
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
410
+ * See the License for the specific language governing permissions and
411
+ * limitations under the License.
412
+ */
413
+ class ExtensionLoader {
414
+ constructor(componentFactoryResolver) {
415
+ this.componentFactoryResolver = null;
416
+ this.componentRef = null;
417
+ this.componentFactoryResolver = componentFactoryResolver;
418
+ }
419
+ loadExtensionPoint(viewContainerRef, extensionPoint) {
420
+ const componentFactory = this.componentFactoryResolver.resolveComponentFactory(extensionPoint.component);
421
+ this.componentRef = viewContainerRef.createComponent(componentFactory);
422
+ }
423
+ loadAndClearExtensionPoint(viewContainerRef, extensionPoint) {
424
+ const componentFactory = this.componentFactoryResolver.resolveComponentFactory(extensionPoint.component);
425
+ viewContainerRef.clear();
426
+ return (this.componentRef = viewContainerRef.createComponent(componentFactory));
427
+ }
428
+ }
429
+ class Extension {
430
+ constructor(name, extensionPoint) {
431
+ this._name = name;
432
+ this._extensionPoint = extensionPoint;
433
+ }
434
+ get extensionPoint() {
435
+ return this._extensionPoint;
436
+ }
437
+ }
438
+ class BasicExtensionPoint {
439
+ constructor(module, page, section, component) {
440
+ this._module = module;
441
+ this._page = page;
442
+ this._section = section;
443
+ this._component = component;
444
+ }
445
+ supports(module, page, section) {
446
+ return this._module === module && this._page === page && this._section === section;
447
+ }
448
+ get module() {
449
+ return this._module;
450
+ }
451
+ get page() {
452
+ return this._page;
453
+ }
454
+ get section() {
455
+ return this._section;
456
+ }
457
+ get component() {
458
+ return this._component;
459
+ }
460
+ }
461
+
462
+ /*
463
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
464
+ *
465
+ * Licensed under EUPL, Version 1.2 (the "License");
466
+ * you may not use this file except in compliance with the License.
467
+ * You may obtain a copy of the License at
468
+ *
469
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
470
+ *
471
+ * Unless required by applicable law or agreed to in writing, software
472
+ * distributed under the License is distributed on an "AS IS" basis,
473
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
474
+ * See the License for the specific language governing permissions and
475
+ * limitations under the License.
476
+ */
477
+ function HttpLoaderFactory(httpClient) {
478
+ return new TranslateHttpLoader(httpClient);
479
+ }
480
+
481
+ /*
482
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
483
+ *
484
+ * Licensed under EUPL, Version 1.2 (the "License");
485
+ * you may not use this file except in compliance with the License.
486
+ * You may obtain a copy of the License at
487
+ *
488
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
489
+ *
490
+ * Unless required by applicable law or agreed to in writing, software
491
+ * distributed under the License is distributed on an "AS IS" basis,
492
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
493
+ * See the License for the specific language governing permissions and
494
+ * limitations under the License.
495
+ */
496
+ const ROLE_ADMIN = 'ROLE_ADMIN';
497
+ const ROLE_USER = 'ROLE_USER';
498
+ const ROLE_DEVELOPER = 'ROLE_DEVELOPER';
499
+
500
+ /*
501
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
502
+ *
503
+ * Licensed under EUPL, Version 1.2 (the "License");
504
+ * you may not use this file except in compliance with the License.
505
+ * You may obtain a copy of the License at
506
+ *
507
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
508
+ *
509
+ * Unless required by applicable law or agreed to in writing, software
510
+ * distributed under the License is distributed on an "AS IS" basis,
511
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
512
+ * See the License for the specific language governing permissions and
513
+ * limitations under the License.
514
+ */
515
+
516
+ /*
517
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
518
+ *
519
+ * Licensed under EUPL, Version 1.2 (the "License");
520
+ * you may not use this file except in compliance with the License.
521
+ * You may obtain a copy of the License at
522
+ *
523
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
524
+ *
525
+ * Unless required by applicable law or agreed to in writing, software
526
+ * distributed under the License is distributed on an "AS IS" basis,
527
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
528
+ * See the License for the specific language governing permissions and
529
+ * limitations under the License.
530
+ */
531
+
532
+ /*
533
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
534
+ *
535
+ * Licensed under EUPL, Version 1.2 (the "License");
536
+ * you may not use this file except in compliance with the License.
537
+ * You may obtain a copy of the License at
538
+ *
539
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
540
+ *
541
+ * Unless required by applicable law or agreed to in writing, software
542
+ * distributed under the License is distributed on an "AS IS" basis,
543
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
544
+ * See the License for the specific language governing permissions and
545
+ * limitations under the License.
546
+ */
547
+
548
+ /*
549
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
550
+ *
551
+ * Licensed under EUPL, Version 1.2 (the "License");
552
+ * you may not use this file except in compliance with the License.
553
+ * You may obtain a copy of the License at
554
+ *
555
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
556
+ *
557
+ * Unless required by applicable law or agreed to in writing, software
558
+ * distributed under the License is distributed on an "AS IS" basis,
559
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
560
+ * See the License for the specific language governing permissions and
561
+ * limitations under the License.
562
+ */
563
+
564
+ /*
565
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
566
+ *
567
+ * Licensed under EUPL, Version 1.2 (the "License");
568
+ * you may not use this file except in compliance with the License.
569
+ * You may obtain a copy of the License at
570
+ *
571
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
572
+ *
573
+ * Unless required by applicable law or agreed to in writing, software
574
+ * distributed under the License is distributed on an "AS IS" basis,
575
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
576
+ * See the License for the specific language governing permissions and
577
+ * limitations under the License.
578
+ */
579
+
580
+ /*
581
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
582
+ *
583
+ * Licensed under EUPL, Version 1.2 (the "License");
584
+ * you may not use this file except in compliance with the License.
585
+ * You may obtain a copy of the License at
586
+ *
587
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
588
+ *
589
+ * Unless required by applicable law or agreed to in writing, software
590
+ * distributed under the License is distributed on an "AS IS" basis,
591
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
592
+ * See the License for the specific language governing permissions and
593
+ * limitations under the License.
594
+ */
595
+
596
+ /*
597
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
598
+ *
599
+ * Licensed under EUPL, Version 1.2 (the "License");
600
+ * you may not use this file except in compliance with the License.
601
+ * You may obtain a copy of the License at
602
+ *
603
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
604
+ *
605
+ * Unless required by applicable law or agreed to in writing, software
606
+ * distributed under the License is distributed on an "AS IS" basis,
607
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
608
+ * See the License for the specific language governing permissions and
609
+ * limitations under the License.
610
+ */
611
+
612
+ /*
613
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
614
+ *
615
+ * Licensed under EUPL, Version 1.2 (the "License");
616
+ * you may not use this file except in compliance with the License.
617
+ * You may obtain a copy of the License at
618
+ *
619
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
620
+ *
621
+ * Unless required by applicable law or agreed to in writing, software
622
+ * distributed under the License is distributed on an "AS IS" basis,
623
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
624
+ * See the License for the specific language governing permissions and
625
+ * limitations under the License.
626
+ */
627
+
628
+ /*
629
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
630
+ *
631
+ * Licensed under EUPL, Version 1.2 (the "License");
632
+ * you may not use this file except in compliance with the License.
633
+ * You may obtain a copy of the License at
634
+ *
635
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
636
+ *
637
+ * Unless required by applicable law or agreed to in writing, software
638
+ * distributed under the License is distributed on an "AS IS" basis,
639
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
640
+ * See the License for the specific language governing permissions and
641
+ * limitations under the License.
642
+ */
643
+
644
+ /*
645
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
646
+ *
647
+ * Licensed under EUPL, Version 1.2 (the "License");
648
+ * you may not use this file except in compliance with the License.
649
+ * You may obtain a copy of the License at
650
+ *
651
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
652
+ *
653
+ * Unless required by applicable law or agreed to in writing, software
654
+ * distributed under the License is distributed on an "AS IS" basis,
655
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
656
+ * See the License for the specific language governing permissions and
657
+ * limitations under the License.
658
+ */
659
+
660
+ /*
661
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
662
+ *
663
+ * Licensed under EUPL, Version 1.2 (the "License");
664
+ * you may not use this file except in compliance with the License.
665
+ * You may obtain a copy of the License at
666
+ *
667
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
668
+ *
669
+ * Unless required by applicable law or agreed to in writing, software
670
+ * distributed under the License is distributed on an "AS IS" basis,
671
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
672
+ * See the License for the specific language governing permissions and
673
+ * limitations under the License.
674
+ */
675
+ var TagColor;
676
+ (function (TagColor) {
677
+ TagColor["WarmGray"] = "WARMGRAY";
678
+ TagColor["Red"] = "RED";
679
+ TagColor["Magenta"] = "MAGENTA";
680
+ TagColor["Purple"] = "PURPLE";
681
+ TagColor["Blue"] = "BLUE";
682
+ TagColor["Cyan"] = "CYAN";
683
+ TagColor["Teal"] = "TEAL";
684
+ TagColor["Green"] = "GREEN";
685
+ TagColor["Gray"] = "GRAY";
686
+ TagColor["CoolGray"] = "COOLGRAY";
687
+ TagColor["HighContrast"] = "HIGHCONTRAST";
688
+ TagColor["Outline"] = "OUTLINE";
689
+ TagColor["Orange"] = "ORANGE";
690
+ })(TagColor || (TagColor = {}));
691
+
692
+ /*
693
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
694
+ *
695
+ * Licensed under EUPL, Version 1.2 (the "License");
696
+ * you may not use this file except in compliance with the License.
697
+ * You may obtain a copy of the License at
698
+ *
699
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
700
+ *
701
+ * Unless required by applicable law or agreed to in writing, software
702
+ * distributed under the License is distributed on an "AS IS" basis,
703
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
704
+ * See the License for the specific language governing permissions and
705
+ * limitations under the License.
706
+ */
707
+
708
+ /*
709
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
710
+ *
711
+ * Licensed under EUPL, Version 1.2 (the "License");
712
+ * you may not use this file except in compliance with the License.
713
+ * You may obtain a copy of the License at
714
+ *
715
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
716
+ *
717
+ * Unless required by applicable law or agreed to in writing, software
718
+ * distributed under the License is distributed on an "AS IS" basis,
719
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
720
+ * See the License for the specific language governing permissions and
721
+ * limitations under the License.
722
+ */
723
+
724
+ /*
725
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
726
+ *
727
+ * Licensed under EUPL, Version 1.2 (the "License");
728
+ * you may not use this file except in compliance with the License.
729
+ * You may obtain a copy of the License at
730
+ *
731
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
732
+ *
733
+ * Unless required by applicable law or agreed to in writing, software
734
+ * distributed under the License is distributed on an "AS IS" basis,
735
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
736
+ * See the License for the specific language governing permissions and
737
+ * limitations under the License.
738
+ */
739
+
740
+ var Operator;
741
+ (function (Operator) {
742
+ Operator["NOT_EQUAL_TO"] = "!=";
743
+ Operator["EQUAL_TO"] = "==";
744
+ Operator["GREATER_THAN"] = ">";
745
+ Operator["GREATER_THAN_OR_EQUAL_TO"] = ">=";
746
+ Operator["LESS_THAN"] = "<";
747
+ Operator["LESS_THAN_OR_EQUAL_TO"] = "<=";
748
+ })(Operator || (Operator = {}));
749
+
750
+ /*
751
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
752
+ *
753
+ * Licensed under EUPL, Version 1.2 (the "License");
754
+ * you may not use this file except in compliance with the License.
755
+ * You may obtain a copy of the License at
756
+ *
757
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
758
+ *
759
+ * Unless required by applicable law or agreed to in writing, software
760
+ * distributed under the License is distributed on an "AS IS" basis,
761
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
762
+ * See the License for the specific language governing permissions and
763
+ * limitations under the License.
764
+ */
765
+
766
+ /*
767
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
768
+ *
769
+ * Licensed under EUPL, Version 1.2 (the "License");
770
+ * you may not use this file except in compliance with the License.
771
+ * You may obtain a copy of the License at
772
+ *
773
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
774
+ *
775
+ * Unless required by applicable law or agreed to in writing, software
776
+ * distributed under the License is distributed on an "AS IS" basis,
777
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
778
+ * See the License for the specific language governing permissions and
779
+ * limitations under the License.
780
+ */
781
+ class ConfigService {
782
+ constructor(valtimoConfig, componentFactoryResolver) {
783
+ this.valtimoConfig = valtimoConfig;
784
+ this.componentFactoryResolver = componentFactoryResolver;
785
+ this.extensions = [];
786
+ this.DEFAULT_APPLICATION_TITLE = 'Valtimo';
787
+ this.extensionLoader = new ExtensionLoader(componentFactoryResolver);
788
+ }
789
+ get config() {
790
+ const config = this.valtimoConfig;
791
+ const translationResourcesConfig = config.translationResources;
792
+ return {
793
+ ...config,
794
+ initializers: config.initializers || [],
795
+ whitelistedDomains: config.whitelistedDomains.map(domain => UrlUtils.formatUrlTrailingSlash(domain, false)),
796
+ mockApi: {
797
+ ...config.mockApi,
798
+ endpointUri: UrlUtils.formatUrlTrailingSlash(config.mockApi.endpointUri, true),
799
+ },
800
+ swagger: {
801
+ ...config.swagger,
802
+ endpointUri: UrlUtils.formatUrlTrailingSlash(config.swagger.endpointUri, false),
803
+ },
804
+ valtimoApi: {
805
+ ...config.valtimoApi,
806
+ endpointUri: UrlUtils.formatUrlTrailingSlash(config.valtimoApi.endpointUri, true),
807
+ },
808
+ ...(translationResourcesConfig && {
809
+ translationResources: translationResourcesConfig.map(resource => UrlUtils.formatUrlTrailingSlash(resource, true)),
810
+ }),
811
+ applicationTitle: config.applicationTitle || this.DEFAULT_APPLICATION_TITLE,
812
+ };
813
+ }
814
+ get featureToggles() {
815
+ return this.config.featureToggles;
816
+ }
817
+ get config$() {
818
+ return of(this.config);
819
+ }
820
+ get featureToggles$() {
821
+ return of(this.config.featureToggles);
822
+ }
823
+ get initializers() {
824
+ return this.valtimoConfig?.initializers || [];
825
+ }
826
+ addExtension(extension) {
827
+ return this.extensions.push(extension);
828
+ }
829
+ getSupportedExtensionPoint(module, page, section) {
830
+ return this.extensions.find(extension => extension.extensionPoint.supports(module, page, section));
831
+ }
832
+ getSupportedExtensionPoints(module, page, section) {
833
+ return this.extensions.filter(extension => extension.extensionPoint.supports(module, page, section));
834
+ }
835
+ loadExtensionPoint(viewContainerRef, extensionPoint) {
836
+ this.extensionLoader.loadExtensionPoint(viewContainerRef, extensionPoint);
837
+ }
838
+ loadAndReturnExtensionPoint(viewContainerRef, extensionPoint) {
839
+ return this.extensionLoader.loadAndClearExtensionPoint(viewContainerRef, extensionPoint);
840
+ }
841
+ getFeatureToggleObservable(featureToggle) {
842
+ return this.featureToggles$.pipe(map(featureToggles => !!(featureToggles && featureToggles[featureToggle])));
843
+ }
844
+ getFeatureToggle(featureToggle) {
845
+ return !!(this.featureToggles && this.featureToggles[featureToggle]);
846
+ }
847
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigService, deps: [{ token: VALTIMO_CONFIG }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable }); }
848
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigService, providedIn: 'root' }); }
849
+ }
850
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigService, decorators: [{
851
+ type: Injectable,
852
+ args: [{
853
+ providedIn: 'root',
854
+ }]
855
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
856
+ type: Inject,
857
+ args: [VALTIMO_CONFIG]
858
+ }] }, { type: i0.ComponentFactoryResolver }] });
859
+
860
+ /*
861
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
862
+ *
863
+ * Licensed under EUPL, Version 1.2 (the "License");
864
+ * you may not use this file except in compliance with the License.
865
+ * You may obtain a copy of the License at
866
+ *
867
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
868
+ *
869
+ * Unless required by applicable law or agreed to in writing, software
870
+ * distributed under the License is distributed on an "AS IS" basis,
871
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
872
+ * See the License for the specific language governing permissions and
873
+ * limitations under the License.
874
+ */
875
+ class GlobalNotificationService {
876
+ constructor() {
877
+ this._notificationService = null;
878
+ this._notificationQueue = [];
879
+ }
880
+ setNotificationService(service) {
881
+ this._notificationService = service;
882
+ }
883
+ getNotificationService() {
884
+ return this._notificationService;
885
+ }
886
+ showNotification(notificationObj, notificationComp = Notification) {
887
+ if (!this._notificationService)
888
+ return null;
889
+ return this.handleNotificationRef(this._notificationService?.showNotification(getNotificationObject(notificationObj), notificationComp));
890
+ }
891
+ showToast(notificationObj, notificationComp = Toast) {
892
+ if (!this._notificationService)
893
+ return null;
894
+ return this.handleNotificationRef(this._notificationService?.showToast(getNotificationObject(notificationObj), notificationComp));
895
+ }
896
+ showActionable(notificationObj, notificationComp = ActionableNotification) {
897
+ if (!this._notificationService)
898
+ return null;
899
+ return this.handleNotificationRef(this._notificationService?.showActionable(getNotificationObject(notificationObj), notificationComp));
900
+ }
901
+ close(notificationRef) {
902
+ notificationRef.close.emit();
903
+ }
904
+ getSmartTimeout(notificationObj) {
905
+ if (!this._notificationService)
906
+ return null;
907
+ return this._notificationService?.getSmartTimeout(notificationObj);
908
+ }
909
+ getNotificationRefs() {
910
+ if (!this._notificationService)
911
+ return null;
912
+ return this._notificationService?.notificationRefs;
913
+ }
914
+ getOnCloseEmitter() {
915
+ if (!this._notificationService)
916
+ return null;
917
+ return this._notificationService?.onClose;
918
+ }
919
+ ngOnDestroy() {
920
+ this._notificationService?.ngOnDestroy();
921
+ this._notificationQueue.splice(0, this._notificationQueue.length);
922
+ }
923
+ handleNotificationRef(notificationRef) {
924
+ const notification = {
925
+ ...notificationRef,
926
+ id: notificationRef.toastID ??
927
+ notificationRef.notificationID ??
928
+ notificationRef.actionableNotificationID,
929
+ };
930
+ if (this._notificationQueue.length > 3) {
931
+ this._notificationQueue.splice(0, 1);
932
+ this.close(notificationRef);
933
+ }
934
+ this._notificationQueue.push(notification);
935
+ setTimeout(() => this.removeNotificationInQueue(notification.id), 4000);
936
+ notificationRef.close
937
+ .pipe(take(1))
938
+ .subscribe(() => this.removeNotificationInQueue(notification.id));
939
+ return notificationRef;
940
+ }
941
+ removeNotificationInQueue(id) {
942
+ const index = this._notificationQueue.findIndex((notification) => notification.id === id);
943
+ if (index === -1)
944
+ return;
945
+ this._notificationQueue.splice(index, 1);
946
+ }
947
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: GlobalNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
948
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: GlobalNotificationService, providedIn: 'root' }); }
949
+ }
950
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: GlobalNotificationService, decorators: [{
951
+ type: Injectable,
952
+ args: [{
953
+ providedIn: 'root',
954
+ }]
955
+ }] });
956
+
957
+ /*
958
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
959
+ *
960
+ * Licensed under EUPL, Version 1.2 (the "License");
961
+ * you may not use this file except in compliance with the License.
962
+ * You may obtain a copy of the License at
963
+ *
964
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
965
+ *
966
+ * Unless required by applicable law or agreed to in writing, software
967
+ * distributed under the License is distributed on an "AS IS" basis,
968
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
969
+ * See the License for the specific language governing permissions and
970
+ * limitations under the License.
971
+ */
972
+ class LocalizationService {
973
+ constructor(http, configService) {
974
+ this.http = http;
975
+ this.configService = configService;
976
+ this.valtimoApiUri = configService?.config?.valtimoApi?.endpointUri;
977
+ }
978
+ getLocalization(languageKey) {
979
+ return this.http
980
+ .get(`${this.valtimoApiUri}v1/localization/${languageKey}`, {
981
+ headers: new HttpHeaders().set('X-Skip-Interceptor', '403'),
982
+ })
983
+ .pipe(catchError(() => of({})));
984
+ }
985
+ getLocalizations() {
986
+ return this.http.get(`${this.valtimoApiUri}v1/localization`);
987
+ }
988
+ getMergedLocalizations() {
989
+ return this.getLocalizations().pipe(map(res => res.reduce((acc, curr) => ({ ...acc, [curr.languageKey]: curr.content }), {})));
990
+ }
991
+ updateLocalization(languageKey, updatedLocalizationContent) {
992
+ return this.http.put(`${this.valtimoApiUri}management/v1/localization/${languageKey}`, updatedLocalizationContent);
993
+ }
994
+ updateLocalizations(updatedLocalizations) {
995
+ return this.http.put(`${this.valtimoApiUri}management/v1/localization`, updatedLocalizations);
996
+ }
997
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LocalizationService, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
998
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LocalizationService, providedIn: 'root' }); }
999
+ }
1000
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: LocalizationService, decorators: [{
1001
+ type: Injectable,
1002
+ args: [{
1003
+ providedIn: 'root',
1004
+ }]
1005
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: ConfigService }] });
1006
+
1007
+ /*
1008
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1009
+ *
1010
+ * Licensed under EUPL, Version 1.2 (the "License");
1011
+ * you may not use this file except in compliance with the License.
1012
+ * You may obtain a copy of the License at
1013
+ *
1014
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1015
+ *
1016
+ * Unless required by applicable law or agreed to in writing, software
1017
+ * distributed under the License is distributed on an "AS IS" basis,
1018
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1019
+ * See the License for the specific language governing permissions and
1020
+ * limitations under the License.
1021
+ */
1022
+ class MenuIncludeService {
1023
+ constructor(configService) {
1024
+ this.configService = configService;
1025
+ this.valtimoConfig = this.configService.config;
1026
+ }
1027
+ getIncludeFunction(includeFunction) {
1028
+ switch (includeFunction) {
1029
+ case IncludeFunction.ObjectManagementEnabled:
1030
+ return of(!!this.valtimoConfig?.featureToggles?.enableObjectManagement || true);
1031
+ default:
1032
+ return of(true);
1033
+ }
1034
+ }
1035
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MenuIncludeService, deps: [{ token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1036
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MenuIncludeService, providedIn: 'root' }); }
1037
+ }
1038
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MenuIncludeService, decorators: [{
1039
+ type: Injectable,
1040
+ args: [{
1041
+ providedIn: 'root',
1042
+ }]
1043
+ }], ctorParameters: () => [{ type: ConfigService }] });
1044
+
1045
+ /*
1046
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1047
+ *
1048
+ * Licensed under EUPL, Version 1.2 (the "License");
1049
+ * you may not use this file except in compliance with the License.
1050
+ * You may obtain a copy of the License at
1051
+ *
1052
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1053
+ *
1054
+ * Unless required by applicable law or agreed to in writing, software
1055
+ * distributed under the License is distributed on an "AS IS" basis,
1056
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1057
+ * See the License for the specific language governing permissions and
1058
+ * limitations under the License.
1059
+ */
1060
+ class UserSettingsService {
1061
+ constructor(http, configService) {
1062
+ this.http = http;
1063
+ this.configService = configService;
1064
+ this.valtimoApiUri = configService?.config?.valtimoApi?.endpointUri;
1065
+ }
1066
+ getUserSettings() {
1067
+ return this.http.get(`${this.valtimoApiUri}v1/user/settings`);
1068
+ }
1069
+ saveUserSettings(settings) {
1070
+ return this.http.put(`${this.valtimoApiUri}v1/user/settings`, settings);
1071
+ }
1072
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: UserSettingsService, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1073
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: UserSettingsService, providedIn: 'root' }); }
1074
+ }
1075
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: UserSettingsService, decorators: [{
1076
+ type: Injectable,
1077
+ args: [{
1078
+ providedIn: 'root',
1079
+ }]
1080
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: ConfigService }] });
1081
+
1082
+ /*
1083
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1084
+ *
1085
+ * Licensed under EUPL, Version 1.2 (the "License");
1086
+ * you may not use this file except in compliance with the License.
1087
+ * You may obtain a copy of the License at
1088
+ *
1089
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1090
+ *
1091
+ * Unless required by applicable law or agreed to in writing, software
1092
+ * distributed under the License is distributed on an "AS IS" basis,
1093
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1094
+ * See the License for the specific language governing permissions and
1095
+ * limitations under the License.
1096
+ */
1097
+ const VERSIONS = {
1098
+ frontendLibraries: '0.0.0',
1099
+ };
1100
+
1101
+ /*
1102
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1103
+ *
1104
+ * Licensed under EUPL, Version 1.2 (the "License");
1105
+ * you may not use this file except in compliance with the License.
1106
+ * You may obtain a copy of the License at
1107
+ *
1108
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1109
+ *
1110
+ * Unless required by applicable law or agreed to in writing, software
1111
+ * distributed under the License is distributed on an "AS IS" basis,
1112
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1113
+ * See the License for the specific language governing permissions and
1114
+ * limitations under the License.
1115
+ */
1116
+ const CASE_MANAGEMENT_TAB_TOKEN = new InjectionToken('Specify a component to display per configured tab translation key.');
1117
+
1118
+ /*
1119
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1120
+ *
1121
+ * Licensed under EUPL, Version 1.2 (the "License");
1122
+ * you may not use this file except in compliance with the License.
1123
+ * You may obtain a copy of the License at
1124
+ *
1125
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1126
+ *
1127
+ * Unless required by applicable law or agreed to in writing, software
1128
+ * distributed under the License is distributed on an "AS IS" basis,
1129
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1130
+ * See the License for the specific language governing permissions and
1131
+ * limitations under the License.
1132
+ */
1133
+ const FORM_VIEW_MODEL_TOKEN = new InjectionToken('Specify the form view model component.');
1134
+
1135
+ /*
1136
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1137
+ *
1138
+ * Licensed under EUPL, Version 1.2 (the "License");
1139
+ * you may not use this file except in compliance with the License.
1140
+ * You may obtain a copy of the License at
1141
+ *
1142
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1143
+ *
1144
+ * Unless required by applicable law or agreed to in writing, software
1145
+ * distributed under the License is distributed on an "AS IS" basis,
1146
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1147
+ * See the License for the specific language governing permissions and
1148
+ * limitations under the License.
1149
+ */
1150
+ const InterceptorSkip = 'X-Skip-Interceptor';
1151
+ const InterceptorSkipHeader = new HttpHeaders().set(InterceptorSkip, 'all');
1152
+
1153
+ /*
1154
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1155
+ *
1156
+ * Licensed under EUPL, Version 1.2 (the "License");
1157
+ * you may not use this file except in compliance with the License.
1158
+ * You may obtain a copy of the License at
1159
+ *
1160
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1161
+ *
1162
+ * Unless required by applicable law or agreed to in writing, software
1163
+ * distributed under the License is distributed on an "AS IS" basis,
1164
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1165
+ * See the License for the specific language governing permissions and
1166
+ * limitations under the License.
1167
+ */
1168
+ const CASE_CONFIGURATION_EXTENSIONS_TOKEN = new InjectionToken('Specify components to display on on the case management general page.');
1169
+
1170
+ /*
1171
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1172
+ *
1173
+ * Licensed under EUPL, Version 1.2 (the "License");
1174
+ * you may not use this file except in compliance with the License.
1175
+ * You may obtain a copy of the License at
1176
+ *
1177
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1178
+ *
1179
+ * Unless required by applicable law or agreed to in writing, software
1180
+ * distributed under the License is distributed on an "AS IS" basis,
1181
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1182
+ * See the License for the specific language governing permissions and
1183
+ * limitations under the License.
1184
+ */
1185
+ const IKO_TOKEN = new InjectionToken('IKO is enabled when this token is provided');
1186
+
1187
+ /*
1188
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1189
+ *
1190
+ * Licensed under EUPL, Version 1.2 (the "License");
1191
+ * you may not use this file except in compliance with the License.
1192
+ * You may obtain a copy of the License at
1193
+ *
1194
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1195
+ *
1196
+ * Unless required by applicable law or agreed to in writing, software
1197
+ * distributed under the License is distributed on an "AS IS" basis,
1198
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1199
+ * See the License for the specific language governing permissions and
1200
+ * limitations under the License.
1201
+ */
1202
+
1203
+ /*
1204
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1205
+ *
1206
+ * Licensed under EUPL, Version 1.2 (the "License");
1207
+ * you may not use this file except in compliance with the License.
1208
+ * You may obtain a copy of the License at
1209
+ *
1210
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1211
+ *
1212
+ * Unless required by applicable law or agreed to in writing, software
1213
+ * distributed under the License is distributed on an "AS IS" basis,
1214
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1215
+ * See the License for the specific language governing permissions and
1216
+ * limitations under the License.
1217
+ */
1218
+ class EnvironmentService extends BaseApiService {
1219
+ constructor(httpClient, configService) {
1220
+ super(httpClient, configService);
1221
+ this.httpClient = httpClient;
1222
+ this.configService = configService;
1223
+ }
1224
+ canUpdateGlobalConfiguration() {
1225
+ return this.httpClient
1226
+ .get(this.getApiUrl('management/v1/case-definition/check'), {
1227
+ headers: new HttpHeaders().set(InterceptorSkip, '404'),
1228
+ })
1229
+ .pipe(map(response => response.canUpdateGlobalConfiguration), catchError(() => of(true)));
1230
+ }
1231
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EnvironmentService, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1232
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EnvironmentService, providedIn: 'root' }); }
1233
+ }
1234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EnvironmentService, decorators: [{
1235
+ type: Injectable,
1236
+ args: [{
1237
+ providedIn: 'root',
1238
+ }]
1239
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: ConfigService }] });
1240
+
1241
+ /*
1242
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1243
+ *
1244
+ * Licensed under EUPL, Version 1.2 (the "License");
1245
+ * you may not use this file except in compliance with the License.
1246
+ * You may obtain a copy of the License at
1247
+ *
1248
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1249
+ *
1250
+ * Unless required by applicable law or agreed to in writing, software
1251
+ * distributed under the License is distributed on an "AS IS" basis,
1252
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1253
+ * See the License for the specific language governing permissions and
1254
+ * limitations under the License.
1255
+ */
1256
+ class DraftVersionService extends BaseApiService {
1257
+ constructor(httpClient, configService) {
1258
+ super(httpClient, configService);
1259
+ this.httpClient = httpClient;
1260
+ this.configService = configService;
1261
+ }
1262
+ isDraftVersion(caseDefinitionKey, caseDefinitionVersionTag) {
1263
+ if (!caseDefinitionKey || !caseDefinitionVersionTag) {
1264
+ return of(false);
1265
+ }
1266
+ return this.httpClient
1267
+ .get(this.getApiUrl(`management/v1/case-definition/${caseDefinitionKey}/version/${caseDefinitionVersionTag}`), {
1268
+ headers: new HttpHeaders().set(InterceptorSkip, '403'),
1269
+ })
1270
+ .pipe(map(caseDefinition => !caseDefinition.final));
1271
+ }
1272
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DraftVersionService, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1273
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DraftVersionService, providedIn: 'root' }); }
1274
+ }
1275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DraftVersionService, decorators: [{
1276
+ type: Injectable,
1277
+ args: [{
1278
+ providedIn: 'root',
1279
+ }]
1280
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: ConfigService }] });
1281
+
1282
+ /*
1283
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1284
+ *
1285
+ * Licensed under EUPL, Version 1.2 (the "License");
1286
+ * you may not use this file except in compliance with the License.
1287
+ * You may obtain a copy of the License at
1288
+ *
1289
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1290
+ *
1291
+ * Unless required by applicable law or agreed to in writing, software
1292
+ * distributed under the License is distributed on an "AS IS" basis,
1293
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1294
+ * See the License for the specific language governing permissions and
1295
+ * limitations under the License.
1296
+ */
1297
+ class EditPermissionsService extends BaseApiService {
1298
+ constructor(httpClient, configService, environmentService, draftVersionService) {
1299
+ super(httpClient, configService);
1300
+ this.httpClient = httpClient;
1301
+ this.configService = configService;
1302
+ this.environmentService = environmentService;
1303
+ this.draftVersionService = draftVersionService;
1304
+ }
1305
+ hasEditPermissions(caseDefinitionKey, caseDefinitionVersionTag) {
1306
+ return combineLatest([
1307
+ this.environmentService.canUpdateGlobalConfiguration(),
1308
+ this.draftVersionService.isDraftVersion(caseDefinitionKey, caseDefinitionVersionTag),
1309
+ ]).pipe(map(([canUpdate, isDraftVersion]) => canUpdate && isDraftVersion));
1310
+ }
1311
+ hasPermissionsToEditBasedOnContext(caseDefinitionKey, caseDefinitionVersionTag, context) {
1312
+ if (context === 'case') {
1313
+ return this.hasEditPermissions(caseDefinitionKey, caseDefinitionVersionTag);
1314
+ }
1315
+ else if (context === 'independent') {
1316
+ return this.environmentService.canUpdateGlobalConfiguration();
1317
+ }
1318
+ return of(false);
1319
+ }
1320
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EditPermissionsService, deps: [{ token: i1.HttpClient }, { token: ConfigService }, { token: EnvironmentService }, { token: DraftVersionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1321
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EditPermissionsService, providedIn: 'root' }); }
1322
+ }
1323
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EditPermissionsService, decorators: [{
1324
+ type: Injectable,
1325
+ args: [{
1326
+ providedIn: 'root',
1327
+ }]
1328
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: ConfigService }, { type: EnvironmentService }, { type: DraftVersionService }] });
1329
+
1330
+ /*
1331
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1332
+ *
1333
+ * Licensed under EUPL, Version 1.2 (the "License");
1334
+ * you may not use this file except in compliance with the License.
1335
+ * You may obtain a copy of the License at
1336
+ *
1337
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1338
+ *
1339
+ * Unless required by applicable law or agreed to in writing, software
1340
+ * distributed under the License is distributed on an "AS IS" basis,
1341
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1342
+ * See the License for the specific language governing permissions and
1343
+ * limitations under the License.
1344
+ */
1345
+
1346
+ /*
1347
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1348
+ *
1349
+ * Licensed under EUPL, Version 1.2 (the "License");
1350
+ * you may not use this file except in compliance with the License.
1351
+ * You may obtain a copy of the License at
1352
+ *
1353
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1354
+ *
1355
+ * Unless required by applicable law or agreed to in writing, software
1356
+ * distributed under the License is distributed on an "AS IS" basis,
1357
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1358
+ * See the License for the specific language governing permissions and
1359
+ * limitations under the License.
1360
+ */
1361
+ class GlobalNotificationComponent {
1362
+ constructor(globalNotificationService, notificationService) {
1363
+ this.globalNotificationService = globalNotificationService;
1364
+ this.notificationService = notificationService;
1365
+ }
1366
+ ngOnInit() {
1367
+ this.globalNotificationService.setNotificationService(this.notificationService);
1368
+ }
1369
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: GlobalNotificationComponent, deps: [{ token: GlobalNotificationService }, { token: i2.NotificationService }], target: i0.ɵɵFactoryTarget.Component }); }
1370
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: GlobalNotificationComponent, isStandalone: true, selector: "valtimo-global-notification", providers: [NotificationService], ngImport: i0, template: ``, isInline: true, styles: ["::ng-deep .cds--toast-notification{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
1371
+ }
1372
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: GlobalNotificationComponent, decorators: [{
1373
+ type: Component,
1374
+ args: [{ selector: 'valtimo-global-notification', template: ``, providers: [NotificationService], standalone: true, imports: [CommonModule], styles: ["::ng-deep .cds--toast-notification{width:100%}\n"] }]
1375
+ }], ctorParameters: () => [{ type: GlobalNotificationService }, { type: i2.NotificationService }] });
1376
+
1377
+ /*
1378
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1379
+ *
1380
+ * Licensed under EUPL, Version 1.2 (the "License");
1381
+ * you may not use this file except in compliance with the License.
1382
+ * You may obtain a copy of the License at
1383
+ *
1384
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1385
+ *
1386
+ * Unless required by applicable law or agreed to in writing, software
1387
+ * distributed under the License is distributed on an "AS IS" basis,
1388
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1389
+ * See the License for the specific language governing permissions and
1390
+ * limitations under the License.
1391
+ */
1392
+ class ExtensionComponent {
1393
+ constructor(configService) {
1394
+ this.configService = configService;
1395
+ this.extensionLoader = null;
1396
+ }
1397
+ ngOnInit() {
1398
+ this.configService
1399
+ .getSupportedExtensionPoints(this.module, this.page, this.section)
1400
+ .forEach(extension => {
1401
+ this.configService.loadExtensionPoint(this.viewContainerRef, extension.extensionPoint);
1402
+ });
1403
+ }
1404
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ExtensionComponent, deps: [{ token: ConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
1405
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: ExtensionComponent, isStandalone: false, selector: "valtimo-extension", inputs: { module: "module", page: "page", section: "section" }, viewQueries: [{ propertyName: "viewContainerRef", first: true, predicate: ["injectExtension"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-template #injectExtension></ng-template>\n", styles: [""] }); }
1406
+ }
1407
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ExtensionComponent, decorators: [{
1408
+ type: Component,
1409
+ args: [{ selector: 'valtimo-extension', standalone: false, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-template #injectExtension></ng-template>\n" }]
1410
+ }], ctorParameters: () => [{ type: ConfigService }], propDecorators: { module: [{
1411
+ type: Input
1412
+ }], page: [{
1413
+ type: Input
1414
+ }], section: [{
1415
+ type: Input
1416
+ }], viewContainerRef: [{
1417
+ type: ViewChild,
1418
+ args: ['injectExtension', { read: ViewContainerRef, static: true }]
1419
+ }] } });
1420
+
1421
+ /*
1422
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1423
+ *
1424
+ * Licensed under EUPL, Version 1.2 (the "License");
1425
+ * you may not use this file except in compliance with the License.
1426
+ * You may obtain a copy of the License at
1427
+ *
1428
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1429
+ *
1430
+ * Unless required by applicable law or agreed to in writing, software
1431
+ * distributed under the License is distributed on an "AS IS" basis,
1432
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1433
+ * See the License for the specific language governing permissions and
1434
+ * limitations under the License.
1435
+ */
1436
+ class ConfigModule {
1437
+ static forRoot(config) {
1438
+ return {
1439
+ ngModule: ConfigModule,
1440
+ providers: [
1441
+ ConfigService,
1442
+ {
1443
+ provide: VALTIMO_CONFIG,
1444
+ useValue: config,
1445
+ },
1446
+ ],
1447
+ };
1448
+ }
1449
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1450
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: ConfigModule, declarations: [ExtensionComponent], exports: [ExtensionComponent] }); }
1451
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigModule }); }
1452
+ }
1453
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfigModule, decorators: [{
1454
+ type: NgModule,
1455
+ args: [{
1456
+ declarations: [ExtensionComponent],
1457
+ imports: [],
1458
+ exports: [ExtensionComponent],
1459
+ }]
1460
+ }] });
1461
+
1462
+ /*
1463
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1464
+ *
1465
+ * Licensed under EUPL, Version 1.2 (the "License");
1466
+ * you may not use this file except in compliance with the License.
1467
+ * You may obtain a copy of the License at
1468
+ *
1469
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1470
+ *
1471
+ * Unless required by applicable law or agreed to in writing, software
1472
+ * distributed under the License is distributed on an "AS IS" basis,
1473
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1474
+ * See the License for the specific language governing permissions and
1475
+ * limitations under the License.
1476
+ */
1477
+ class MockTranslateService {
1478
+ stream(key) {
1479
+ return of(null);
1480
+ }
1481
+ instant(key) {
1482
+ return '';
1483
+ }
1484
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MockTranslateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1485
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MockTranslateService, providedIn: 'root' }); }
1486
+ }
1487
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MockTranslateService, decorators: [{
1488
+ type: Injectable,
1489
+ args: [{
1490
+ providedIn: 'root',
1491
+ }]
1492
+ }] });
1493
+
1494
+ /*
1495
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1496
+ *
1497
+ * Licensed under EUPL, Version 1.2 (the "License");
1498
+ * you may not use this file except in compliance with the License.
1499
+ * You may obtain a copy of the License at
1500
+ *
1501
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1502
+ *
1503
+ * Unless required by applicable law or agreed to in writing, software
1504
+ * distributed under the License is distributed on an "AS IS" basis,
1505
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1506
+ * See the License for the specific language governing permissions and
1507
+ * limitations under the License.
1508
+ */
1509
+ class MockKeycloakService {
1510
+ constructor() {
1511
+ this.MOCK_USER_PROFILE = {
1512
+ id: '',
1513
+ username: '',
1514
+ email: '',
1515
+ firstName: '',
1516
+ lastName: '',
1517
+ enabled: true,
1518
+ emailVerified: true,
1519
+ totp: true,
1520
+ createdTimestamp: 0,
1521
+ };
1522
+ }
1523
+ get keycloakEvents$() {
1524
+ return of({ type: '' });
1525
+ }
1526
+ isLoggedIn() {
1527
+ return of(true);
1528
+ }
1529
+ async loadUserProfile() {
1530
+ return this.MOCK_USER_PROFILE;
1531
+ }
1532
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MockKeycloakService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1533
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MockKeycloakService, providedIn: 'root' }); }
1534
+ }
1535
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MockKeycloakService, decorators: [{
1536
+ type: Injectable,
1537
+ args: [{
1538
+ providedIn: 'root',
1539
+ }]
1540
+ }] });
1541
+
1542
+ /*
1543
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1544
+ *
1545
+ * Licensed under EUPL, Version 1.2 (the "License");
1546
+ * you may not use this file except in compliance with the License.
1547
+ * You may obtain a copy of the License at
1548
+ *
1549
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1550
+ *
1551
+ * Unless required by applicable law or agreed to in writing, software
1552
+ * distributed under the License is distributed on an "AS IS" basis,
1553
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1554
+ * See the License for the specific language governing permissions and
1555
+ * limitations under the License.
1556
+ */
1557
+ class MockIconService {
1558
+ registerAll(value) {
1559
+ return;
1560
+ }
1561
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MockIconService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1562
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MockIconService, providedIn: 'root' }); }
1563
+ }
1564
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: MockIconService, decorators: [{
1565
+ type: Injectable,
1566
+ args: [{
1567
+ providedIn: 'root',
1568
+ }]
1569
+ }] });
1570
+
1571
+ /*
1572
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1573
+ *
1574
+ * Licensed under EUPL, Version 1.2 (the "License");
1575
+ * you may not use this file except in compliance with the License.
1576
+ * You may obtain a copy of the License at
1577
+ *
1578
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1579
+ *
1580
+ * Unless required by applicable law or agreed to in writing, software
1581
+ * distributed under the License is distributed on an "AS IS" basis,
1582
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1583
+ * See the License for the specific language governing permissions and
1584
+ * limitations under the License.
1585
+ */
1586
+
1587
+ /*
1588
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1589
+ *
1590
+ * Licensed under EUPL, Version 1.2 (the "License");
1591
+ * you may not use this file except in compliance with the License.
1592
+ * You may obtain a copy of the License at
1593
+ *
1594
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1595
+ *
1596
+ * Unless required by applicable law or agreed to in writing, software
1597
+ * distributed under the License is distributed on an "AS IS" basis,
1598
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1599
+ * See the License for the specific language governing permissions and
1600
+ * limitations under the License.
1601
+ */
1602
+
1603
+ /*
1604
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1605
+ *
1606
+ * Licensed under EUPL, Version 1.2 (the "License");
1607
+ * you may not use this file except in compliance with the License.
1608
+ * You may obtain a copy of the License at
1609
+ *
1610
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1611
+ *
1612
+ * Unless required by applicable law or agreed to in writing, software
1613
+ * distributed under the License is distributed on an "AS IS" basis,
1614
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1615
+ * See the License for the specific language governing permissions and
1616
+ * limitations under the License.
1617
+ */
1618
+ class CustomMultiTranslateHttpLoader {
1619
+ constructor(_handler, _httpClient, _localizationService, _resourcesPrefix) {
1620
+ this._handler = _handler;
1621
+ this._httpClient = _httpClient;
1622
+ this._resourcesPrefix = _resourcesPrefix;
1623
+ this._localizationService = _localizationService;
1624
+ }
1625
+ getTranslation(lang) {
1626
+ const requests = this._resourcesPrefix.map(resource => {
1627
+ let path;
1628
+ if (resource.prefix)
1629
+ path = `${resource.prefix}${lang}${resource.suffix || '.json'}`;
1630
+ else
1631
+ path = `${resource}${lang}.json`;
1632
+ return new HttpClient(this._handler).get(path).pipe(catchError(res => {
1633
+ if (!resource.optional) {
1634
+ console.group();
1635
+ console.error('Something went wrong for the following translation file:', path);
1636
+ console.error(res);
1637
+ console.groupEnd();
1638
+ }
1639
+ return of({});
1640
+ }));
1641
+ });
1642
+ return forkJoin(requests).pipe(switchMap$1(localResourcesResponse => combineLatest([of(localResourcesResponse), this._localizationService.getLocalization(lang)])), map$1(([localResourcesResponse, localizationResponse]) => deepmerge(...[...localResourcesResponse, localizationResponse])));
1643
+ }
1644
+ }
1645
+
1646
+ /*
1647
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1648
+ *
1649
+ * Licensed under EUPL, Version 1.2 (the "License");
1650
+ * you may not use this file except in compliance with the License.
1651
+ * You may obtain a copy of the License at
1652
+ *
1653
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1654
+ *
1655
+ * Unless required by applicable law or agreed to in writing, software
1656
+ * distributed under the License is distributed on an "AS IS" basis,
1657
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1658
+ * See the License for the specific language governing permissions and
1659
+ * limitations under the License.
1660
+ */
1661
+ function CustomMultiTranslateHttpLoaderFactory(http, httpClient, configService, localizationService) {
1662
+ const translationResources = configService?.config?.translationResources;
1663
+ return new CustomMultiTranslateHttpLoader(http, httpClient, localizationService, [
1664
+ './valtimo-translation/core/',
1665
+ ...(translationResources &&
1666
+ Array.isArray(translationResources) &&
1667
+ translationResources.length > 0
1668
+ ? translationResources
1669
+ : []),
1670
+ ]);
1671
+ }
1672
+
1673
+ /*
1674
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1675
+ *
1676
+ * Licensed under EUPL, Version 1.2 (the "License");
1677
+ * you may not use this file except in compliance with the License.
1678
+ * You may obtain a copy of the License at
1679
+ *
1680
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1681
+ *
1682
+ * Unless required by applicable law or agreed to in writing, software
1683
+ * distributed under the License is distributed on an "AS IS" basis,
1684
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1685
+ * See the License for the specific language governing permissions and
1686
+ * limitations under the License.
1687
+ */
1688
+ function MultiTranslateHttpLoaderFactory(http, configService) {
1689
+ const translationResources = configService.config.translationResources;
1690
+ return new MultiTranslateHttpLoader(http, [
1691
+ './valtimo-translation/core/',
1692
+ ...(translationResources &&
1693
+ Array.isArray(translationResources) &&
1694
+ translationResources.length > 0
1695
+ ? translationResources
1696
+ : []),
1697
+ ]);
1698
+ }
1699
+
1700
+ /*
1701
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1702
+ *
1703
+ * Licensed under EUPL, Version 1.2 (the "License");
1704
+ * you may not use this file except in compliance with the License.
1705
+ * You may obtain a copy of the License at
1706
+ *
1707
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1708
+ *
1709
+ * Unless required by applicable law or agreed to in writing, software
1710
+ * distributed under the License is distributed on an "AS IS" basis,
1711
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1712
+ * See the License for the specific language governing permissions and
1713
+ * limitations under the License.
1714
+ */
1715
+
1716
+ /*
1717
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1718
+ *
1719
+ * Licensed under EUPL, Version 1.2 (the "License");
1720
+ * you may not use this file except in compliance with the License.
1721
+ * You may obtain a copy of the License at
1722
+ *
1723
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1724
+ *
1725
+ * Unless required by applicable law or agreed to in writing, software
1726
+ * distributed under the License is distributed on an "AS IS" basis,
1727
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1728
+ * See the License for the specific language governing permissions and
1729
+ * limitations under the License.
1730
+ */
1731
+ const ZGW_OBJECT_TYPE_COMPONENT_TOKEN = new InjectionToken('Specify a component to display ZGW object types.');
1732
+
1733
+ /*
1734
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1735
+ *
1736
+ * Licensed under EUPL, Version 1.2 (the "License");
1737
+ * you may not use this file except in compliance with the License.
1738
+ * You may obtain a copy of the License at
1739
+ *
1740
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1741
+ *
1742
+ * Unless required by applicable law or agreed to in writing, software
1743
+ * distributed under the License is distributed on an "AS IS" basis,
1744
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1745
+ * See the License for the specific language governing permissions and
1746
+ * limitations under the License.
1747
+ */
1748
+ const ZGW_DOCUMENTEN_API_DOCUMENTS_COMPONENT_TOKEN = new InjectionToken('Specify a component to display on documents tab when Documenten API is set as the upload provider in the environment file.');
1749
+
1750
+ /*
1751
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1752
+ *
1753
+ * Licensed under EUPL, Version 1.2 (the "License");
1754
+ * you may not use this file except in compliance with the License.
1755
+ * You may obtain a copy of the License at
1756
+ *
1757
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1758
+ *
1759
+ * Unless required by applicable law or agreed to in writing, software
1760
+ * distributed under the License is distributed on an "AS IS" basis,
1761
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1762
+ * See the License for the specific language governing permissions and
1763
+ * limitations under the License.
1764
+ */
1765
+
1766
+ /*
1767
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1768
+ *
1769
+ * Licensed under EUPL, Version 1.2 (the "License");
1770
+ * you may not use this file except in compliance with the License.
1771
+ * You may obtain a copy of the License at
1772
+ *
1773
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1774
+ *
1775
+ * Unless required by applicable law or agreed to in writing, software
1776
+ * distributed under the License is distributed on an "AS IS" basis,
1777
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1778
+ * See the License for the specific language governing permissions and
1779
+ * limitations under the License.
1780
+ */
1781
+
1782
+ /*
1783
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
1784
+ *
1785
+ * Licensed under EUPL, Version 1.2 (the "License");
1786
+ * you may not use this file except in compliance with the License.
1787
+ * You may obtain a copy of the License at
1788
+ *
1789
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1790
+ *
1791
+ * Unless required by applicable law or agreed to in writing, software
1792
+ * distributed under the License is distributed on an "AS IS" basis,
1793
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1794
+ * See the License for the specific language governing permissions and
1795
+ * limitations under the License.
1796
+ */
1797
+ /*
1798
+ * Public API Surface of shared
1799
+ */
1800
+
1801
+ /**
1802
+ * Generated bundle index. Do not edit.
1803
+ */
1804
+
1805
+ export { BaseApiService, BasicExtensionPoint, CASE_CONFIGURATION_EXTENSIONS_TOKEN, CASE_MANAGEMENT_TAB_TOKEN, CaseListTab, ConfigModule, ConfigService, CustomMultiTranslateHttpLoader, CustomMultiTranslateHttpLoaderFactory, DEFAULT_NOTIFICATION_PARAMS, DraftVersionService, EditPermissionsService, EnvironmentService, Extension, ExtensionComponent, ExtensionLoader, FORM_VIEW_MODEL_TOKEN, GlobalNotificationComponent, GlobalNotificationService, HttpLoaderFactory, IKO_TOKEN, INITIALIZERS, IncludeFunction, InterceptorSkip, InterceptorSkipHeader, Language, LocalizationService, MenuIncludeService, MockIconService, MockKeycloakService, MockTranslateService, MultiTranslateHttpLoaderFactory, Operator, ROLE_ADMIN, ROLE_DEVELOPER, ROLE_USER, RouterUtils, TagColor, TaskListTab, UploadProvider, UrlUtils, UserSettingsService, VALTIMO_CONFIG, VERSIONS, ValtimoUserIdentity, ZGW_DOCUMENTEN_API_DOCUMENTS_COMPONENT_TOKEN, ZGW_OBJECT_TYPE_COMPONENT_TOKEN, getCaseManagementRouteParams, getCaseManagementRouteParamsAndContext, getContextObservable, getDisplayTypeParametersView, getNotificationObject, validateBsn };
1806
+ //# sourceMappingURL=valtimo-shared.mjs.map