@valtimo/iko 13.7.0 → 13.8.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 (37) hide show
  1. package/fesm2022/valtimo-iko.mjs +135 -129
  2. package/fesm2022/valtimo-iko.mjs.map +1 -1
  3. package/lib/components/iko-management/iko-management.component.d.ts +6 -6
  4. package/lib/components/iko-management/iko-management.component.d.ts.map +1 -1
  5. package/lib/components/iko-management/view-modal/iko-management-view-modal.component.d.ts +3 -3
  6. package/lib/components/iko-management/view-modal/iko-management-view-modal.component.d.ts.map +1 -1
  7. package/lib/components/iko-management-api/iko-management-api.component.d.ts +3 -3
  8. package/lib/components/iko-management-api/iko-management-api.component.d.ts.map +1 -1
  9. package/lib/components/iko-management-details/components/list/iko-management-list.component.d.ts +1 -1
  10. package/lib/components/iko-management-details/components/list/iko-management-list.component.d.ts.map +1 -1
  11. package/lib/components/iko-management-details/components/list-modal/list-modal.component.d.ts +1 -1
  12. package/lib/components/iko-management-details/components/list-modal/list-modal.component.d.ts.map +1 -1
  13. package/lib/components/iko-management-details/components/search-actions/iko-management-search-actions.component.d.ts +8 -8
  14. package/lib/components/iko-management-details/components/search-actions/iko-management-search-actions.component.d.ts.map +1 -1
  15. package/lib/components/iko-management-details/components/search-actions/search-action-modal/search-action-modal.component.d.ts +5 -5
  16. package/lib/components/iko-management-details/components/search-actions/search-action-modal/search-action-modal.component.d.ts.map +1 -1
  17. package/lib/components/iko-management-details/components/tab-detail-modal/iko-management-tab-details-modal.component.d.ts +1 -1
  18. package/lib/components/iko-management-details/components/tab-detail-modal/iko-management-tab-details-modal.component.d.ts.map +1 -1
  19. package/lib/components/iko-management-details/components/tabs/iko-management-tabs.component.d.ts +1 -1
  20. package/lib/components/iko-management-details/components/tabs/iko-management-tabs.component.d.ts.map +1 -1
  21. package/lib/components/iko-search/iko-search.component.d.ts +2 -2
  22. package/lib/components/iko-search/iko-search.component.d.ts.map +1 -1
  23. package/lib/components/tabs/iko-widget/iko-widget.component.d.ts +1 -1
  24. package/lib/components/tabs/iko-widget/iko-widget.component.d.ts.map +1 -1
  25. package/lib/models/iko-management.model.d.ts +12 -12
  26. package/lib/models/iko-management.model.d.ts.map +1 -1
  27. package/lib/models/iko-widget.model.d.ts +1 -1
  28. package/lib/models/iko-widget.model.d.ts.map +1 -1
  29. package/lib/models/iko.model.d.ts +3 -3
  30. package/lib/models/iko.model.d.ts.map +1 -1
  31. package/lib/services/iko-api.service.d.ts +10 -10
  32. package/lib/services/iko-api.service.d.ts.map +1 -1
  33. package/lib/services/iko-management-api.service.d.ts +17 -17
  34. package/lib/services/iko-management-api.service.d.ts.map +1 -1
  35. package/lib/services/iko-tab.service.d.ts +3 -3
  36. package/lib/services/iko-tab.service.d.ts.map +1 -1
  37. package/package.json +1 -1
@@ -57,7 +57,7 @@ class IkoApiService extends BaseApiService {
57
57
  this.globalNotificationService = globalNotificationService;
58
58
  this._cachedMenuItems$ = new BehaviorSubject([]);
59
59
  }
60
- getIkoDataAggregates(key, title, page = 0, size = 10000, sort = 'title,asc') {
60
+ getIkoViews(key, title, page = 0, size = 10000, sort = 'title,asc') {
61
61
  const params = new URLSearchParams();
62
62
  if (key)
63
63
  params.append('key', key);
@@ -66,22 +66,22 @@ class IkoApiService extends BaseApiService {
66
66
  params.append('page', page.toString());
67
67
  params.append('size', size.toString());
68
68
  params.append('sort', sort);
69
- return this.httpClient.get(this.getApiUrl(`/v1/iko-data-aggregate?${params.toString()}`));
69
+ return this.httpClient.get(this.getApiUrl(`/v1/iko-view?${params.toString()}`));
70
70
  }
71
- getIkoDetailTabs(ikoDataAggregateKey) {
72
- return this.httpClient.get(this.getApiUrl(`/v1/iko-data-aggregate/${ikoDataAggregateKey}/tab`));
71
+ getIkoDetailTabs(ikoViewKey) {
72
+ return this.httpClient.get(this.getApiUrl(`/v1/iko-view/${ikoViewKey}/tab`));
73
73
  }
74
- getIkoDataRequests(ikoDataAggregateKey) {
75
- return this.httpClient.get(this.getApiUrl(`/v1/iko-data-aggregate/${ikoDataAggregateKey}/data-request`));
74
+ getIkoSearchActions(ikoViewKey) {
75
+ return this.httpClient.get(this.getApiUrl(`/v1/iko-view/${ikoViewKey}/search-action`));
76
76
  }
77
- getIkoWidget(ikoDataAggregateKey, tabKey) {
78
- return this.httpClient.get(this.getApiUrl(`/v1/iko-data-aggregate/${ikoDataAggregateKey}/tab/${tabKey}/widget`));
77
+ getIkoWidget(ikoViewKey, tabKey) {
78
+ return this.httpClient.get(this.getApiUrl(`/v1/iko-view/${ikoViewKey}/tab/${tabKey}/widget`));
79
79
  }
80
- getIkoWidgetData(ikoDataAggregateKey, tabKey, widgetId, id) {
81
- return this.httpClient.get(this.getApiUrl(`/v1/iko-data-aggregate/${ikoDataAggregateKey}/tab/${tabKey}/widget/${widgetId}/data?id=${id}`));
80
+ getIkoWidgetData(ikoViewKey, tabKey, widgetId, id) {
81
+ return this.httpClient.get(this.getApiUrl(`/v1/iko-view/${ikoViewKey}/tab/${tabKey}/widget/${widgetId}/data?id=${id}`));
82
82
  }
83
- searchIkoDataRequest(ikoKey, paramKey, filters) {
84
- return this.httpClient.post(this.getApiUrl(`/v1/iko-data-aggregate/${ikoKey}/data-request/${paramKey}/search`), filters);
83
+ searchIkoSearchAction(ikoKey, paramKey, filters) {
84
+ return this.httpClient.post(this.getApiUrl(`/v1/iko-view/${ikoKey}/search-action/${paramKey}/search`), filters);
85
85
  }
86
86
  handleAction(action, resolved = null) {
87
87
  if (!action)
@@ -160,8 +160,8 @@ class IkoTabService {
160
160
  get activeTabKey$() {
161
161
  return this.activeTab$.pipe(map(tab => tab.key));
162
162
  }
163
- get dataAggregateKey$() {
164
- return this._dataAggregateKey$.pipe(filter(key => !!key));
163
+ get ikoViewKey$() {
164
+ return this._ikoViewKey$.pipe(filter(key => !!key));
165
165
  }
166
166
  get entryId$() {
167
167
  return this._entryId$.pipe(filter(key => !!key));
@@ -169,16 +169,16 @@ class IkoTabService {
169
169
  constructor(logger) {
170
170
  this.logger = logger;
171
171
  this._activeTab$ = new BehaviorSubject(null);
172
- this._dataAggregateKey$ = new BehaviorSubject(null);
172
+ this._ikoViewKey$ = new BehaviorSubject(null);
173
173
  this._entryId$ = new BehaviorSubject(null);
174
174
  }
175
175
  setActiveTab(tab) {
176
176
  this._activeTab$.next(tab);
177
177
  this.logger.debug(`Active IKO tab set to ${JSON.stringify(tab)}`);
178
178
  }
179
- setDataAggregateKey(key) {
180
- this._dataAggregateKey$.next(key);
181
- this.logger.debug(`Active IKO data aggregate key set to ${key}`);
179
+ setIkoViewKey(key) {
180
+ this._ikoViewKey$.next(key);
181
+ this.logger.debug(`Active IKO view key set to ${key}`);
182
182
  }
183
183
  setEntryId(id) {
184
184
  this._entryId$.next(id);
@@ -213,42 +213,48 @@ class IkoManagementApiService extends BaseApiService {
213
213
  this.httpClient = httpClient;
214
214
  this.configService = configService;
215
215
  }
216
- getIkoDataAggregates(key, title, page = 0, size = 100, sort = 'title,asc') {
216
+ getIkoViews(key, title, page = 0, size = 100, sort = 'title,asc') {
217
217
  let params = new HttpParams().set('page', page).set('size', size).set('sort', sort);
218
218
  if (key)
219
219
  params = params.set('key', key);
220
220
  if (title)
221
221
  params = params.set('title', title);
222
- return this.httpClient.get(this.getApiUrl('/v1/iko-data-aggregate'), { params });
222
+ return this.httpClient.get(this.getApiUrl('/v1/iko-view'), {
223
+ params,
224
+ });
223
225
  }
224
- getIkoDataAggregate(key) {
225
- return this.httpClient.get(this.getApiUrl(`/v1/iko-data-aggregate/${key}`));
226
+ getIkoView(key) {
227
+ return this.httpClient.get(this.getApiUrl(`/v1/iko-view/${key}`));
226
228
  }
227
- createIkoDataAggregate(key, body) {
228
- return this.httpClient.post(this.getApiUrl(`management/v1/iko-data-aggregate/${key}`), body);
229
+ createIkoView(key, body) {
230
+ return this.httpClient.post(this.getApiUrl(`management/v1/iko-view/${key}`), body);
229
231
  }
230
- updateIkoDataAggregate(key, body) {
231
- return this.httpClient.put(this.getApiUrl(`management/v1/iko-data-aggregate/${key}`), body);
232
+ updateIkoView(key, body) {
233
+ return this.httpClient.put(this.getApiUrl(`management/v1/iko-view/${key}`), body);
232
234
  }
233
- deleteIkoDataAggregate(key) {
234
- return this.httpClient.delete(this.getApiUrl(`management/v1/iko-data-aggregate/${key}`));
235
+ deleteIkoView(key) {
236
+ return this.httpClient.delete(this.getApiUrl(`management/v1/iko-view/${key}`));
235
237
  }
236
238
  exportIKOConfiguration(key) {
237
- return this.httpClient.get(this.getApiUrl(`management/v1/iko-data-aggregate/${key}/export`), { observe: 'response', responseType: 'blob', headers: InterceptorSkipHeader });
239
+ return this.httpClient.get(this.getApiUrl(`management/v1/iko-view/${key}/export`), {
240
+ observe: 'response',
241
+ responseType: 'blob',
242
+ headers: InterceptorSkipHeader,
243
+ });
238
244
  }
239
245
  importConfigurationZip(file) {
240
- return this.httpClient.post(this.getApiUrl(`management/v1/iko-data-aggregate/import`), file);
246
+ return this.httpClient.post(this.getApiUrl(`management/v1/iko-view/import`), file);
241
247
  }
242
248
  getIkoRepositoryPropertyFields(type) {
243
249
  return this.httpClient.get(this.getApiUrl(`management/v1/iko-property-fields/${type}/repository-config`));
244
250
  }
245
- getIkoDataAggregatePropertyFields(type) {
246
- return this.httpClient.get(this.getApiUrl(`management/v1/iko-property-fields/${type}/data-aggregate`));
251
+ getIkoViewPropertyFields(type) {
252
+ return this.httpClient.get(this.getApiUrl(`management/v1/iko-property-fields/${type}/view`));
247
253
  }
248
- getIkoDataAggregateType(key) {
254
+ getIkoViewType(key) {
249
255
  return this.httpClient.get(this.getApiUrl(`/management/v1/iko/${key}`));
250
256
  }
251
- getManagementIkoDataAggregates(key, title, ikoRepositoryConfigKey, page = 0, size = 100, sort = 'title,asc') {
257
+ getManagementIkoViews(key, title, ikoRepositoryConfigKey, page = 0, size = 100, sort = 'title,asc') {
252
258
  let params = new HttpParams().set('page', page).set('size', size).set('sort', sort);
253
259
  if (key)
254
260
  params = params.set('key', key);
@@ -256,28 +262,30 @@ class IkoManagementApiService extends BaseApiService {
256
262
  params = params.set('title', title);
257
263
  if (ikoRepositoryConfigKey)
258
264
  params = params.set('ikoRepositoryConfigKey', ikoRepositoryConfigKey);
259
- return this.httpClient.get(this.getApiUrl(`management/v1/iko-data-aggregate`), { params });
265
+ return this.httpClient.get(this.getApiUrl(`management/v1/iko-view`), {
266
+ params,
267
+ });
260
268
  }
261
- getManagementIkoDataRequests(aggregateKey) {
262
- return this.httpClient.get(this.getApiUrl(`management/v1/iko-data-aggregate/${aggregateKey}/data-request`));
269
+ getManagementIkoSearchActions(aggregateKey) {
270
+ return this.httpClient.get(this.getApiUrl(`management/v1/iko-view/${aggregateKey}/search-action`));
263
271
  }
264
- getIkoDataRequest(aggregateKey, key) {
265
- return this.httpClient.get(this.getApiUrl(`management/v1/iko-data-aggregate/${aggregateKey}/data-request/${key}`));
272
+ getIkoSearchAction(aggregateKey, key) {
273
+ return this.httpClient.get(this.getApiUrl(`management/v1/iko-view/${aggregateKey}/search-action/${key}`));
266
274
  }
267
- createIkoDataRequest(aggregateKey, key, body) {
268
- return this.httpClient.post(this.getApiUrl(`management/v1/iko-data-aggregate/${aggregateKey}/data-request/${key}`), body);
275
+ createIkoSearchAction(aggregateKey, key, body) {
276
+ return this.httpClient.post(this.getApiUrl(`management/v1/iko-view/${aggregateKey}/search-action/${key}`), body);
269
277
  }
270
- updateIkoDataRequests(aggregateKey, body) {
271
- return this.httpClient.put(this.getApiUrl(`management/v1/iko-data-aggregate/${aggregateKey}/data-request`), body);
278
+ updateIkoSearchActions(aggregateKey, body) {
279
+ return this.httpClient.put(this.getApiUrl(`management/v1/iko-view/${aggregateKey}/search-action`), body);
272
280
  }
273
- updateIkoDataRequest(aggregateKey, actionKey, body) {
274
- return this.httpClient.put(this.getApiUrl(`management/v1/iko-data-aggregate/${aggregateKey}/data-request/${actionKey}`), body);
281
+ updateIkoSearchAction(aggregateKey, actionKey, body) {
282
+ return this.httpClient.put(this.getApiUrl(`management/v1/iko-view/${aggregateKey}/search-action/${actionKey}`), body);
275
283
  }
276
- deleteIkoDataRequest(aggregateKey, key) {
277
- return this.httpClient.delete(this.getApiUrl(`management/v1/iko-data-aggregate/${aggregateKey}/data-request/${key}`));
284
+ deleteIkoSearchAction(aggregateKey, key) {
285
+ return this.httpClient.delete(this.getApiUrl(`management/v1/iko-view/${aggregateKey}/search-action/${key}`));
278
286
  }
279
- getIkoDataRequestPropertyFields(type) {
280
- return this.httpClient.get(this.getApiUrl(`management/v1/iko-property-fields/${type}/data-request`));
287
+ getIkoSearchActionPropertyFields(type) {
288
+ return this.httpClient.get(this.getApiUrl(`management/v1/iko-property-fields/${type}/search-action`));
281
289
  }
282
290
  getIkoRepositoryConfigs() {
283
291
  return this.httpClient.get(this.getApiUrl(`/management/v1/iko`));
@@ -301,61 +309,61 @@ class IkoManagementApiService extends BaseApiService {
301
309
  return this.httpClient.get(this.getApiUrl(`/management/v1/iko-types`));
302
310
  }
303
311
  getIkoTabs(aggregateKey) {
304
- return this.httpClient.get(this.getApiUrl(`/v1/iko-data-aggregate/${aggregateKey}/tab`));
312
+ return this.httpClient.get(this.getApiUrl(`/v1/iko-view/${aggregateKey}/tab`));
305
313
  }
306
314
  getIkoTab(aggregateKey, tabKey) {
307
- return this.httpClient.get(this.getApiUrl(`/management/v1/iko-data-aggregate/${aggregateKey}/tab/${tabKey}`));
315
+ return this.httpClient.get(this.getApiUrl(`/management/v1/iko-view/${aggregateKey}/tab/${tabKey}`));
308
316
  }
309
317
  createIkoTab(aggregateKey, tabKey, body) {
310
- return this.httpClient.post(this.getApiUrl(`/management/v1/iko-data-aggregate/${aggregateKey}/tab/${tabKey}`), body);
318
+ return this.httpClient.post(this.getApiUrl(`/management/v1/iko-view/${aggregateKey}/tab/${tabKey}`), body);
311
319
  }
312
320
  updateIkoTabs(aggregateKey, body) {
313
- return this.httpClient.put(this.getApiUrl(`/management/v1/iko-data-aggregate/${aggregateKey}/tab`), body);
321
+ return this.httpClient.put(this.getApiUrl(`/management/v1/iko-view/${aggregateKey}/tab`), body);
314
322
  }
315
323
  updateIkoTab(aggregateKey, tabKey, body) {
316
- return this.httpClient.put(this.getApiUrl(`/management/v1/iko-data-aggregate/${aggregateKey}/tab/${tabKey}`), body);
324
+ return this.httpClient.put(this.getApiUrl(`/management/v1/iko-view/${aggregateKey}/tab/${tabKey}`), body);
317
325
  }
318
326
  deleteIkoTab(aggregateKey, tabKey) {
319
- return this.httpClient.delete(this.getApiUrl(`/management/v1/iko-data-aggregate/${aggregateKey}/tab/${tabKey}`));
327
+ return this.httpClient.delete(this.getApiUrl(`/management/v1/iko-view/${aggregateKey}/tab/${tabKey}`));
320
328
  }
321
329
  getIkoWidget(aggregateKey, tabKey, widgetKey) {
322
- return this.httpClient.get(this.getApiUrl(`/v1/iko-data-aggregate/${aggregateKey}/tab/${tabKey}/widget/${widgetKey}`));
330
+ return this.httpClient.get(this.getApiUrl(`/v1/iko-view/${aggregateKey}/tab/${tabKey}/widget/${widgetKey}`));
323
331
  }
324
332
  getIkoSearchFields(aggregateKey, requestKey) {
325
- return this.httpClient.get(this.getApiUrl(`management/v1/iko-data-aggregate/${aggregateKey}/data-request/${requestKey}/search-field`));
333
+ return this.httpClient.get(this.getApiUrl(`management/v1/iko-view/${aggregateKey}/search-action/${requestKey}/search-field`));
326
334
  }
327
335
  getIkoSearchField(aggregateKey, requestKey, key) {
328
- return this.httpClient.get(this.getApiUrl(`/v1/iko-data-aggregate/${aggregateKey}/data-request/${requestKey}/search-field/${key}`));
336
+ return this.httpClient.get(this.getApiUrl(`/v1/iko-view/${aggregateKey}/search-action/${requestKey}/search-field/${key}`));
329
337
  }
330
338
  createIkoSearchField(aggregateKey, requestKey, key, body) {
331
- return this.httpClient.post(this.getApiUrl(`management/v1/iko-data-aggregate/${aggregateKey}/data-request/${requestKey}/search-field/${key}`), body);
339
+ return this.httpClient.post(this.getApiUrl(`management/v1/iko-view/${aggregateKey}/search-action/${requestKey}/search-field/${key}`), body);
332
340
  }
333
341
  updateIkoSearchFields(aggregateKey, requestKey, body) {
334
- return this.httpClient.put(this.getApiUrl(`management/v1/iko-data-aggregate/${aggregateKey}/data-request/${requestKey}/search-field`), body);
342
+ return this.httpClient.put(this.getApiUrl(`management/v1/iko-view/${aggregateKey}/search-action/${requestKey}/search-field`), body);
335
343
  }
336
344
  updateIkoSearchField(aggregateKey, requestKey, fieldKey, body) {
337
- return this.httpClient.put(this.getApiUrl(`management/v1/iko-data-aggregate/${aggregateKey}/data-request/${requestKey}/search-field/${fieldKey}`), body);
345
+ return this.httpClient.put(this.getApiUrl(`management/v1/iko-view/${aggregateKey}/search-action/${requestKey}/search-field/${fieldKey}`), body);
338
346
  }
339
347
  deleteIkoSearchField(aggregateKey, requestKey, key) {
340
- return this.httpClient.delete(this.getApiUrl(`management/v1/iko-data-aggregate/${aggregateKey}/data-request/${requestKey}/search-field/${key}`));
348
+ return this.httpClient.delete(this.getApiUrl(`management/v1/iko-view/${aggregateKey}/search-action/${requestKey}/search-field/${key}`));
341
349
  }
342
350
  getIkoListColumns(aggregateKey) {
343
- return this.httpClient.get(this.getApiUrl(`/management/v1/iko-data-aggregate/${aggregateKey}/column`));
351
+ return this.httpClient.get(this.getApiUrl(`/management/v1/iko-view/${aggregateKey}/column`));
344
352
  }
345
353
  getIkoListColumn(aggregateKey, columnKey) {
346
- return this.httpClient.get(this.getApiUrl(`/management/v1/iko-data-aggregate/${aggregateKey}/column/${columnKey}`));
354
+ return this.httpClient.get(this.getApiUrl(`/management/v1/iko-view/${aggregateKey}/column/${columnKey}`));
347
355
  }
348
356
  createIkoListColumn(aggregateKey, columnKey, body) {
349
- return this.httpClient.post(this.getApiUrl(`/management/v1/iko-data-aggregate/${aggregateKey}/column/${columnKey}`), body);
357
+ return this.httpClient.post(this.getApiUrl(`/management/v1/iko-view/${aggregateKey}/column/${columnKey}`), body);
350
358
  }
351
359
  updateListColumn(aggregateKey, columnKey, body) {
352
- return this.httpClient.put(this.getApiUrl(`/management/v1/iko-data-aggregate/${aggregateKey}/column/${columnKey}`), body);
360
+ return this.httpClient.put(this.getApiUrl(`/management/v1/iko-view/${aggregateKey}/column/${columnKey}`), body);
353
361
  }
354
362
  updateIkoListColumnOrder(aggregateKey, body) {
355
- return this.httpClient.put(this.getApiUrl(`/management/v1/iko-data-aggregate/${aggregateKey}/column`), body);
363
+ return this.httpClient.put(this.getApiUrl(`/management/v1/iko-view/${aggregateKey}/column`), body);
356
364
  }
357
365
  deleteIkoListColumn(aggregateKey, columnKey) {
358
- return this.httpClient.delete(this.getApiUrl(`/management/v1/iko-data-aggregate/${aggregateKey}/column/${columnKey}`));
366
+ return this.httpClient.delete(this.getApiUrl(`/management/v1/iko-view/${aggregateKey}/column/${columnKey}`));
359
367
  }
360
368
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoManagementApiService, deps: [{ token: i1.HttpClient }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
361
369
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoManagementApiService, providedIn: 'root' }); }
@@ -390,7 +398,7 @@ class IkoMenuService {
390
398
  const ikoExists = menuItems.some(item => item.title === this._IKO_MENU_ITEM_TITLE_TRANSLATION_KEY);
391
399
  if (ikoExists)
392
400
  return of(menuItems);
393
- return this.ikoApiService.getIkoDataAggregates().pipe(map(ikoItems => {
401
+ return this.ikoApiService.getIkoViews().pipe(map(ikoItems => {
394
402
  this.ikoApiService.setCachedMenuItems(ikoItems.content);
395
403
  let updatedMenuItems = [...menuItems];
396
404
  if (ikoItems.content?.length) {
@@ -455,19 +463,19 @@ class IkoWidgetManagementApiService extends BaseApiService {
455
463
  this._params$.next(serviceParams);
456
464
  }
457
465
  getWidgetConfiguration() {
458
- return this.params$.pipe(filter((params) => !!params), switchMap((params) => this.httpClient.get(this.getApiUrl(`management/v1/iko-data-aggregate/${params?.aggregateKey}/tab/${params?.widgetTabKey}/widget`))));
466
+ return this.params$.pipe(filter((params) => !!params), switchMap((params) => this.httpClient.get(this.getApiUrl(`management/v1/iko-view/${params?.aggregateKey}/tab/${params?.widgetTabKey}/widget`))));
459
467
  }
460
468
  updateWidgetConfiguration(widgets) {
461
- return this.params$.pipe(filter((params) => !!params), switchMap((params) => this.httpClient.put(this.getApiUrl(`management/v1/iko-data-aggregate/${params?.aggregateKey}/tab/${params?.widgetTabKey}/widget`), widgets)));
469
+ return this.params$.pipe(filter((params) => !!params), switchMap((params) => this.httpClient.put(this.getApiUrl(`management/v1/iko-view/${params?.aggregateKey}/tab/${params?.widgetTabKey}/widget`), widgets)));
462
470
  }
463
471
  deleteWidget(widget) {
464
- return this.params$.pipe(filter((params) => !!params), switchMap((params) => this.httpClient.delete(this.getApiUrl(`management/v1/iko-data-aggregate/${params?.aggregateKey}/tab/${params?.widgetTabKey}/widget/${widget.key}`))));
472
+ return this.params$.pipe(filter((params) => !!params), switchMap((params) => this.httpClient.delete(this.getApiUrl(`management/v1/iko-view/${params?.aggregateKey}/tab/${params?.widgetTabKey}/widget/${widget.key}`))));
465
473
  }
466
474
  updateWidget(widget) {
467
- return this.params$.pipe(filter((params) => !!params), switchMap((params) => this.httpClient.put(this.getApiUrl(`management/v1/iko-data-aggregate/${params?.aggregateKey}/tab/${params?.widgetTabKey}/widget/${widget.key}`), widget)));
475
+ return this.params$.pipe(filter((params) => !!params), switchMap((params) => this.httpClient.put(this.getApiUrl(`management/v1/iko-view/${params?.aggregateKey}/tab/${params?.widgetTabKey}/widget/${widget.key}`), widget)));
468
476
  }
469
477
  createWidget(widget) {
470
- return this.params$.pipe(filter((params) => !!params), switchMap((params) => this.httpClient.post(this.getApiUrl(`management/v1/iko-data-aggregate/${params?.aggregateKey}/tab/${params?.widgetTabKey}/widget/${widget.key}`), widget)));
478
+ return this.params$.pipe(filter((params) => !!params), switchMap((params) => this.httpClient.post(this.getApiUrl(`management/v1/iko-view/${params?.aggregateKey}/tab/${params?.widgetTabKey}/widget/${widget.key}`), widget)));
471
479
  }
472
480
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoWidgetManagementApiService, deps: [{ token: i1.HttpClient }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
473
481
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoWidgetManagementApiService }); }
@@ -527,7 +535,7 @@ class IkoWidgetCollectionComponent {
527
535
  this._widgetParams$,
528
536
  ]).pipe(switchMap(([widgetConfiguration, widgetParams]) => !widgetParams || !widgetConfiguration
529
537
  ? of(null)
530
- : this.ikoApiService.getIkoWidgetData(widgetParams.dataAggregateKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
538
+ : this.ikoApiService.getIkoWidgetData(widgetParams.ikoViewKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
531
539
  }
532
540
  onPaginationEvent(event) {
533
541
  this._queryParams$.next(`page=${event.currentPage - 1}&size=${event.pageLength}`);
@@ -608,7 +616,7 @@ class IkoWidgetCustomComponent {
608
616
  this._widgetParams$,
609
617
  ]).pipe(switchMap(([widgetConfiguration, widgetParams]) => !widgetParams || !widgetConfiguration
610
618
  ? of(null)
611
- : this.ikoApiService.getIkoWidgetData(widgetParams.dataAggregateKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
619
+ : this.ikoApiService.getIkoWidgetData(widgetParams.ikoViewKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
612
620
  }
613
621
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoWidgetCustomComponent, deps: [{ token: IkoApiService }, { token: i2$1.WidgetLayoutService }], target: i0.ɵɵFactoryTarget.Component }); }
614
622
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: IkoWidgetCustomComponent, isStandalone: true, selector: "valtimo-iko-widget-custom", inputs: { widgetConfiguration: "widgetConfiguration", widgetParams: "widgetParams", widgetUuid: "widgetUuid" }, 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<valtimo-widget-custom\n *ngIf=\"{\n widgetConfiguration: widgetConfig$ | async,\n widgetData: widgetData$ | async,\n } as obs\"\n [widgetConfiguration]=\"obs.widgetConfiguration\"\n [widgetData]=\"obs.widgetData\"\n [widgetUuid]=\"widgetUuid\"\n>\n</valtimo-widget-custom>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: CarbonListModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: WidgetCustomComponent, selector: "valtimo-widget-custom", inputs: ["widgetConfiguration", "widgetData", "widgetUuid"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -674,7 +682,7 @@ class IkoWidgetFieldComponent {
674
682
  this._widgetParams$,
675
683
  ]).pipe(switchMap(([widgetConfiguration, widgetParams]) => !widgetParams || !widgetConfiguration
676
684
  ? of(null)
677
- : this.ikoApiService.getIkoWidgetData(widgetParams.dataAggregateKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
685
+ : this.ikoApiService.getIkoWidgetData(widgetParams.ikoViewKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
678
686
  }
679
687
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoWidgetFieldComponent, deps: [{ token: IkoApiService }, { token: i2$1.WidgetLayoutService }], target: i0.ɵɵFactoryTarget.Component }); }
680
688
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: IkoWidgetFieldComponent, isStandalone: true, selector: "valtimo-iko-widget-field", inputs: { widgetConfiguration: "widgetConfiguration", widgetParams: "widgetParams", widgetUuid: "widgetUuid" }, 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<valtimo-widget-field\n [widgetConfiguration]=\"widgetConfiguration$ | async\"\n [widgetData]=\"widgetData$ | async\"\n>\n</valtimo-widget-field>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: InputModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: CarbonListModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: WidgetFieldComponent, selector: "valtimo-widget-field", inputs: ["widgetConfiguration", "widgetData"], outputs: ["noVisibleFieldsEvent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -751,7 +759,7 @@ class IkoWidgetFormioComponent {
751
759
  this._widgetParams$,
752
760
  ]).pipe(switchMap(([widgetConfiguration, widgetParams]) => !widgetParams || !widgetConfiguration
753
761
  ? of(null)
754
- : this.ikoApiService.getIkoWidgetData(widgetParams.dataAggregateKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
762
+ : this.ikoApiService.getIkoWidgetData(widgetParams.ikoViewKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
755
763
  }
756
764
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoWidgetFormioComponent, deps: [{ token: IkoApiService }, { token: i2$1.WidgetLayoutService }], target: i0.ɵɵFactoryTarget.Component }); }
757
765
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: IkoWidgetFormioComponent, isStandalone: true, selector: "valtimo-iko-widget-formio", inputs: { widgetConfiguration: "widgetConfiguration", widgetParams: "widgetParams", widgetUuid: "widgetUuid" }, 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<valtimo-widget-formio\n *ngIf=\"{\n widgetConfiguration: widgetConfiguration$ | async,\n widgetData: widgetData$ | async,\n } as obs\"\n [widgetConfiguration]=\"obs.widgetConfiguration\"\n [widgetData]=\"obs.widgetData\"\n [widgetUuid]=\"widgetUuid\"\n>\n</valtimo-widget-formio>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: FormIoModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: WidgetFormioComponent, selector: "valtimo-widget-formio", inputs: ["documentId", "widgetConfiguration", "widgetData", "widgetUuid", "refreshForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -822,7 +830,7 @@ class IkoWidgetInteractiveTableComponent {
822
830
  this.listService.forceRefresh$,
823
831
  ]).pipe(switchMap(([widgetConfiguration, widgetParams]) => !widgetParams || !widgetConfiguration
824
832
  ? of(null)
825
- : this.ikoApiService.getIkoWidgetData(widgetParams.dataAggregateKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
833
+ : this.ikoApiService.getIkoWidgetData(widgetParams.ikoViewKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
826
834
  }
827
835
  onPaginationEvent(event) {
828
836
  this._queryParams$.next(`page=${event.currentPage - 1}&size=${event.pageLength}`);
@@ -919,7 +927,7 @@ class IkoWidgetTableComponent {
919
927
  this._widgetParams$,
920
928
  ]).pipe(switchMap(([widgetConfiguration, widgetParams]) => !widgetParams || !widgetConfiguration
921
929
  ? of(null)
922
- : this.ikoApiService.getIkoWidgetData(widgetParams.dataAggregateKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
930
+ : this.ikoApiService.getIkoWidgetData(widgetParams.ikoViewKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
923
931
  }
924
932
  onPaginationEvent(event) {
925
933
  this._queryParams$.next(`page=${event.currentPage - 1}&size=${event.pageLength}`);
@@ -1000,7 +1008,7 @@ class IkoWidgetMapComponent {
1000
1008
  this._widgetParams$,
1001
1009
  ]).pipe(switchMap(([widgetConfiguration, widgetParams]) => !widgetParams || !widgetConfiguration
1002
1010
  ? of(null)
1003
- : this.ikoApiService.getIkoWidgetData(widgetParams.dataAggregateKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
1011
+ : this.ikoApiService.getIkoWidgetData(widgetParams.ikoViewKey, widgetParams.tabKey, widgetConfiguration.key, widgetParams.entryId)), tap(() => this.widgetLayoutService.setWidgetDataLoaded(this.widgetUuid)));
1004
1012
  }
1005
1013
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoWidgetMapComponent, deps: [{ token: IkoApiService }, { token: i2$1.WidgetLayoutService }], target: i0.ɵɵFactoryTarget.Component }); }
1006
1014
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: IkoWidgetMapComponent, isStandalone: true, selector: "valtimo-iko-widget-map", inputs: { widgetConfiguration: "widgetConfiguration", widgetParams: "widgetParams", widgetUuid: "widgetUuid" }, 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<valtimo-widget-map\n [widgetConfiguration]=\"widgetConfiguration$ | async\"\n [widgetData]=\"widgetData$ | async\"\n>\n</valtimo-widget-map>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: InputModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: CarbonListModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: WidgetMapComponent, selector: "valtimo-widget-map", inputs: ["widgetConfiguration", "widgetData"], outputs: ["noVisibleMapEvent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -1065,17 +1073,17 @@ class IkoWidgetComponent {
1065
1073
  this.ikoTabService = ikoTabService;
1066
1074
  this.ikoApiService = ikoApiService;
1067
1075
  this.logger = logger;
1068
- this.dataAggregateKey$ = this.ikoTabService.dataAggregateKey$;
1076
+ this.ikoViewKey$ = this.ikoTabService.ikoViewKey$;
1069
1077
  this.entryId$ = this.ikoTabService.entryId$;
1070
1078
  this._key$ = new BehaviorSubject('');
1071
1079
  this.loading$ = new BehaviorSubject(true);
1072
- this.widgets$ = combineLatest([this.dataAggregateKey$, this.key$]).pipe(switchMap(([dataAggregateKey, key]) => this.ikoApiService.getIkoWidget(dataAggregateKey, key)));
1080
+ this.widgets$ = combineLatest([this.ikoViewKey$, this.key$]).pipe(switchMap(([ikoViewKey, key]) => this.ikoApiService.getIkoWidget(ikoViewKey, key)));
1073
1081
  this.widgetParams$ = combineLatest([
1074
- this.dataAggregateKey$,
1082
+ this.ikoViewKey$,
1075
1083
  this.key$,
1076
1084
  this.entryId$,
1077
- ]).pipe(map$1(([dataAggregateKey, tabKey, entryId]) => ({
1078
- dataAggregateKey,
1085
+ ]).pipe(map$1(([ikoViewKey, tabKey, entryId]) => ({
1086
+ ikoViewKey,
1079
1087
  entryId,
1080
1088
  tabKey,
1081
1089
  })), tap(widgets => {
@@ -1166,7 +1174,7 @@ class IkoDetailsComponent {
1166
1174
  href: `/iko/${params.key}/${params.searchKey}`,
1167
1175
  routeExtras: { queryParams },
1168
1176
  });
1169
- this.ikoTabService.setDataAggregateKey(params.key);
1177
+ this.ikoTabService.setIkoViewKey(params.key);
1170
1178
  this.ikoTabService.setEntryId(params.id);
1171
1179
  }), switchMap(([params]) => this.ikoApiService.getIkoDetailTabs(params.key)), tap((tabs) => this.ikoTabService.setActiveTab(tabs[0])));
1172
1180
  }
@@ -1225,7 +1233,7 @@ class IkoListComponent {
1225
1233
  content: currentMenuItem?.title ?? '',
1226
1234
  href: `/iko/${params.key}`,
1227
1235
  });
1228
- return this.ikoApiService.searchIkoDataRequest(params.key, params.searchKey, {
1236
+ return this.ikoApiService.searchIkoSearchAction(params.key, params.searchKey, {
1229
1237
  filters: queryParams,
1230
1238
  });
1231
1239
  }), map$1(res => ({
@@ -2192,7 +2200,7 @@ class IkoManagementSearchFieldsComponent {
2192
2200
  this.deleteFieldKey$ = new BehaviorSubject(null);
2193
2201
  this.fieldModalOpen$ = new BehaviorSubject(false);
2194
2202
  this.prefillData$ = new BehaviorSubject(null);
2195
- this._searchAction$ = this.params$.pipe(switchMap((params) => this.ikoManagementApiService.getIkoDataRequest(params.aggregateKey, params.actionKey)));
2203
+ this._searchAction$ = this.params$.pipe(switchMap((params) => this.ikoManagementApiService.getIkoSearchAction(params.aggregateKey, params.actionKey)));
2196
2204
  this._ikoRepositoryConfig$ = this.params$.pipe(switchMap((params) => this.ikoManagementApiService.getIkoRepositoryConfig(params.apiKey)));
2197
2205
  this.FIELDS = [
2198
2206
  {
@@ -2466,11 +2474,11 @@ class IkoManagementSearchActionModalComponent {
2466
2474
  this.$prefillData = signal(null);
2467
2475
  this.usedKeys = [];
2468
2476
  this.modalClose = new EventEmitter();
2469
- this.propertyFields$ = toObservable(this.$isOpen).pipe(filter((open) => !!open), map$1(() => this.repositoryKey), switchMap((repositoryKey) => this.ikoManagementApiService.getIkoRepositoryConfig(repositoryKey ?? '')), switchMap((repository) => this.ikoManagementApiService.getIkoDataRequestPropertyFields(repository.type)));
2477
+ this.propertyFields$ = toObservable(this.$isOpen).pipe(filter((open) => !!open), map$1(() => this.repositoryKey), switchMap((repositoryKey) => this.ikoManagementApiService.getIkoRepositoryConfig(repositoryKey ?? '')), switchMap((repository) => this.ikoManagementApiService.getIkoSearchActionPropertyFields(repository.type)));
2470
2478
  this.formGroup = this.fb.group({
2471
2479
  key: this.fb.control('', Validators.required),
2472
2480
  title: this.fb.control('', Validators.required),
2473
- ikoDataAggregateKey: this.fb.control(''),
2481
+ ikoViewKey: this.fb.control(''),
2474
2482
  properties: this.fb.group({}),
2475
2483
  });
2476
2484
  }
@@ -2592,7 +2600,7 @@ class IkoManagementSearchActionsComponent {
2592
2600
  this.searchActions$ = combineLatest([
2593
2601
  this.aggregateKey$,
2594
2602
  this._refresh$,
2595
- ]).pipe(switchMap(([key]) => this.ikoManagementApiService.getManagementIkoDataRequests(key)), tap(content => {
2603
+ ]).pipe(switchMap(([key]) => this.ikoManagementApiService.getManagementIkoSearchActions(key)), tap(content => {
2596
2604
  const keys = content?.map(item => item.key) ?? [];
2597
2605
  this.usedKeys$.next(keys);
2598
2606
  this.loading$.next(false);
@@ -2607,7 +2615,7 @@ class IkoManagementSearchActionsComponent {
2607
2615
  }
2608
2616
  onDeleteSearchAction(key) {
2609
2617
  this.aggregateKey$
2610
- .pipe(switchMap((aggregateKey) => this.ikoManagementApiService.deleteIkoDataRequest(aggregateKey, key)))
2618
+ .pipe(switchMap((aggregateKey) => this.ikoManagementApiService.deleteIkoSearchAction(aggregateKey, key)))
2611
2619
  .subscribe(() => this._refresh$.next(null));
2612
2620
  }
2613
2621
  editSearchAction(action) {
@@ -2617,7 +2625,7 @@ class IkoManagementSearchActionsComponent {
2617
2625
  }
2618
2626
  onItemsReordered(searchActions, aggregateKey) {
2619
2627
  this.ikoManagementApiService
2620
- .updateIkoDataRequests(aggregateKey, searchActions)
2628
+ .updateIkoSearchActions(aggregateKey, searchActions)
2621
2629
  .pipe(take$1(1))
2622
2630
  .subscribe();
2623
2631
  }
@@ -2628,8 +2636,8 @@ class IkoManagementSearchActionsComponent {
2628
2636
  return;
2629
2637
  this.aggregateKey$
2630
2638
  .pipe(switchMap((aggregateKey) => this.$modalMode() === 'add'
2631
- ? this.ikoManagementApiService.createIkoDataRequest(aggregateKey, action.key, action)
2632
- : this.ikoManagementApiService.updateIkoDataRequest(aggregateKey, action.key, action)))
2639
+ ? this.ikoManagementApiService.createIkoSearchAction(aggregateKey, action.key, action)
2640
+ : this.ikoManagementApiService.updateIkoSearchAction(aggregateKey, action.key, action)))
2633
2641
  .subscribe(() => {
2634
2642
  this._refresh$.next(null);
2635
2643
  });
@@ -2820,7 +2828,7 @@ class IkoManagementListModalComponent {
2820
2828
  ViewType.TAGS,
2821
2829
  ViewType.HIDDEN,
2822
2830
  ];
2823
- this._dataAggregateKey$ = this.route.params.pipe(map(params => params?.key), filter(key => !!key));
2831
+ this._ikoViewKey$ = this.route.params.pipe(map(params => params?.key), filter(key => !!key));
2824
2832
  this.displayTypeSelectItems = this._DISPLAY_TYPES.map(displayType => ({
2825
2833
  id: displayType,
2826
2834
  translationKey: `listColumnDisplayType.${displayType}`,
@@ -2865,10 +2873,10 @@ class IkoManagementListModalComponent {
2865
2873
  const formValue = this.form.getRawValue();
2866
2874
  const requestBody = this.getCreateRequestBodyFromFormValue();
2867
2875
  this.disableForm();
2868
- this._dataAggregateKey$
2869
- .pipe(switchMap(dataAggregateKey => this.modalMode === 'add'
2870
- ? this.ikoManagementApiService.createIkoListColumn(dataAggregateKey, formValue.key, requestBody)
2871
- : this.ikoManagementApiService.updateListColumn(dataAggregateKey, formValue.key, requestBody)))
2876
+ this._ikoViewKey$
2877
+ .pipe(switchMap(ikoViewKey => this.modalMode === 'add'
2878
+ ? this.ikoManagementApiService.createIkoListColumn(ikoViewKey, formValue.key, requestBody)
2879
+ : this.ikoManagementApiService.updateListColumn(ikoViewKey, formValue.key, requestBody)))
2872
2880
  .subscribe({
2873
2881
  next: () => {
2874
2882
  this.enableForm();
@@ -3022,7 +3030,7 @@ class IkoManagementListComponent {
3022
3030
  this.$loading = signal(true);
3023
3031
  this.$disableInput = signal(true);
3024
3032
  this.$modalMode = signal('add');
3025
- this._dataAggregateKey$ = this.route.params.pipe(map(params => params?.key), filter(key => !!key));
3033
+ this._ikoViewKey$ = this.route.params.pipe(map(params => params?.key), filter(key => !!key));
3026
3034
  this.$ikoListColumnDtos = signal([]);
3027
3035
  this.$selectedListColumn = signal(null);
3028
3036
  this._reloadColumns$ = new BehaviorSubject(null);
@@ -3101,7 +3109,7 @@ class IkoManagementListComponent {
3101
3109
  this._subscriptions = new Subscription();
3102
3110
  }
3103
3111
  ngOnInit() {
3104
- this._subscriptions.add(combineLatest([this._dataAggregateKey$, this._reloadColumns$])
3112
+ this._subscriptions.add(combineLatest([this._ikoViewKey$, this._reloadColumns$])
3105
3113
  .pipe(tap(() => this.$disableInput.set(true)), switchMap(([key]) => this.ikoManagementApiService.getIkoListColumns(key)), tap(res => {
3106
3114
  this.$ikoListColumnDtos.set(res);
3107
3115
  this.$loading.set(false);
@@ -3117,7 +3125,7 @@ class IkoManagementListComponent {
3117
3125
  .map(item => listColumns.find(column => column.id === item.id))
3118
3126
  .map((item, index) => ({ ...item, order: index }));
3119
3127
  this.disableInput();
3120
- this._dataAggregateKey$
3128
+ this._ikoViewKey$
3121
3129
  .pipe(switchMap(key => this.ikoManagementApiService.updateIkoListColumnOrder(key, mappedItems)))
3122
3130
  .subscribe({
3123
3131
  next: () => {
@@ -3146,7 +3154,7 @@ class IkoManagementListComponent {
3146
3154
  }
3147
3155
  onDeleteListColumn(event) {
3148
3156
  this.disableInput();
3149
- this._dataAggregateKey$
3157
+ this._ikoViewKey$
3150
3158
  .pipe(switchMap(key => this.ikoManagementApiService.deleteIkoListColumn(key, event.key)))
3151
3159
  .subscribe({
3152
3160
  next: () => {
@@ -3254,7 +3262,7 @@ class IkoManagementTabDetailsModalComponent {
3254
3262
  key: this.formBuilder.control('', [Validators.required]),
3255
3263
  type: this.formBuilder.control('', [Validators.required]),
3256
3264
  });
3257
- this._dataAggregateKey$ = this.route.params.pipe(map$1(params => params?.key), filter(key => !!key));
3265
+ this._ikoViewKey$ = this.route.params.pipe(map$1(params => params?.key), filter(key => !!key));
3258
3266
  this._TAB_TYPES = [IkoTabType.WIDGETS];
3259
3267
  this.tabTypeSelectItems = this._TAB_TYPES.map(tabType => ({
3260
3268
  id: tabType,
@@ -3274,10 +3282,10 @@ class IkoManagementTabDetailsModalComponent {
3274
3282
  addTab() {
3275
3283
  const formValue = this.form.getRawValue();
3276
3284
  this.disableForm();
3277
- this._dataAggregateKey$
3278
- .pipe(switchMap(dataAggregateKey => this.modalMode === 'add'
3279
- ? this.ikoManagementApiService.createIkoTab(dataAggregateKey, formValue.key, formValue)
3280
- : this.ikoManagementApiService.updateIkoTab(dataAggregateKey, formValue.key, formValue)))
3285
+ this._ikoViewKey$
3286
+ .pipe(switchMap(ikoViewKey => this.modalMode === 'add'
3287
+ ? this.ikoManagementApiService.createIkoTab(ikoViewKey, formValue.key, formValue)
3288
+ : this.ikoManagementApiService.updateIkoTab(ikoViewKey, formValue.key, formValue)))
3281
3289
  .subscribe({
3282
3290
  next: () => {
3283
3291
  this.enableForm();
@@ -3358,7 +3366,7 @@ class IkoManagementTabsComponent {
3358
3366
  this.$openModal = signal(false);
3359
3367
  this.$modalMode = signal('add');
3360
3368
  this.openConfirmationModal$ = new BehaviorSubject(false);
3361
- this._dataAggregateKey$ = this.route.params.pipe(map(params => params?.key), filter(key => !!key));
3369
+ this._ikoViewKey$ = this.route.params.pipe(map(params => params?.key), filter(key => !!key));
3362
3370
  this._reloadTabs$ = new BehaviorSubject(null);
3363
3371
  this.ikoTabs$ = combineLatest([
3364
3372
  toObservable(this.$ikoTabDtos),
@@ -3401,7 +3409,7 @@ class IkoManagementTabsComponent {
3401
3409
  this._subscriptions = new Subscription();
3402
3410
  }
3403
3411
  ngOnInit() {
3404
- this._subscriptions.add(combineLatest([this._dataAggregateKey$, this._reloadTabs$])
3412
+ this._subscriptions.add(combineLatest([this._ikoViewKey$, this._reloadTabs$])
3405
3413
  .pipe(tap(() => this.$disableInput.set(true)), switchMap(([key]) => this.ikoManagementApiService.getIkoTabs(key)), tap(res => {
3406
3414
  this.$ikoTabDtos.set(res);
3407
3415
  this.$loading.set(false);
@@ -3442,7 +3450,7 @@ class IkoManagementTabsComponent {
3442
3450
  .map(item => tabs.find(column => column.key === item.key))
3443
3451
  .map((item, index) => ({ ...item, order: index, title: item.title || null }));
3444
3452
  this.disableInput();
3445
- this._dataAggregateKey$
3453
+ this._ikoViewKey$
3446
3454
  .pipe(switchMap(key => this.ikoManagementApiService.updateIkoTabs(key, mappedItems)))
3447
3455
  .subscribe({
3448
3456
  next: () => {
@@ -3472,7 +3480,7 @@ class IkoManagementTabsComponent {
3472
3480
  }
3473
3481
  onDeleteTab(event) {
3474
3482
  this.disableInput();
3475
- this._dataAggregateKey$
3483
+ this._ikoViewKey$
3476
3484
  .pipe(switchMap(key => this.ikoManagementApiService.deleteIkoTab(key, event.key)))
3477
3485
  .subscribe({
3478
3486
  next: () => {
@@ -3694,7 +3702,7 @@ class IkoManagementViewModalComponent {
3694
3702
  this.$prefillData = signal(null);
3695
3703
  this.usedKeys = [];
3696
3704
  this.modalClose = new EventEmitter();
3697
- this.propertyFields$ = this.open$.pipe(filter((open) => !!open), switchMap(() => this._apiKey$), switchMap((repositoryKey) => this.ikoManagementApiService.getIkoDataAggregateType(repositoryKey ?? '')), switchMap((repository) => this.ikoManagementApiService.getIkoDataAggregatePropertyFields(repository.type)));
3705
+ this.propertyFields$ = this.open$.pipe(filter((open) => !!open), switchMap(() => this._apiKey$), switchMap((repositoryKey) => this.ikoManagementApiService.getIkoViewType(repositoryKey ?? '')), switchMap((repository) => this.ikoManagementApiService.getIkoViewPropertyFields(repository.type)));
3698
3706
  this.formGroup = this.fb.group({
3699
3707
  title: this.fb.control('', Validators.required),
3700
3708
  key: this.fb.control('', Validators.required),
@@ -4043,9 +4051,7 @@ class IkoManagementComponent {
4043
4051
  this.usedKeys$ = new BehaviorSubject([]);
4044
4052
  this.apiKey$ = this.route.params.pipe(map(params => params?.apiKey), filter(key => !!key));
4045
4053
  this._refresh$ = new BehaviorSubject(null);
4046
- this.ikoDataAggregates$ = combineLatest([this.apiKey$, this._refresh$]).pipe(tap(() => this.$loading.set(true)), switchMap(([apiKey]) => this.ikoManagementApiService
4047
- .getManagementIkoDataAggregates(undefined, undefined, apiKey)
4048
- .pipe(map(dataAggregatePage => dataAggregatePage.content), tap(content => {
4054
+ this.ikoViews$ = combineLatest([this.apiKey$, this._refresh$]).pipe(tap(() => this.$loading.set(true)), switchMap(([apiKey]) => this.ikoManagementApiService.getManagementIkoViews(undefined, undefined, apiKey).pipe(map(ikoViewPage => ikoViewPage.content), tap(content => {
4049
4055
  const keys = content?.map(item => item.key) ?? [];
4050
4056
  this.usedKeys$.next(keys);
4051
4057
  this.$loading.set(false);
@@ -4105,7 +4111,7 @@ class IkoManagementComponent {
4105
4111
  this.showDeleteModal$.next(true);
4106
4112
  }
4107
4113
  onDeleteConfirm(key) {
4108
- this.ikoManagementApiService.deleteIkoDataAggregate(key).subscribe(() => {
4114
+ this.ikoManagementApiService.deleteIkoView(key).subscribe(() => {
4109
4115
  this.menuService.reload();
4110
4116
  this._refresh$.next(null);
4111
4117
  });
@@ -4117,7 +4123,7 @@ class IkoManagementComponent {
4117
4123
  return;
4118
4124
  if (this.$modalMode() === 'edit') {
4119
4125
  this.ikoManagementApiService
4120
- .updateIkoDataAggregate(item.key, {
4126
+ .updateIkoView(item.key, {
4121
4127
  ...item,
4122
4128
  ikoRepositoryConfigKey,
4123
4129
  })
@@ -4129,7 +4135,7 @@ class IkoManagementComponent {
4129
4135
  return;
4130
4136
  }
4131
4137
  this.ikoManagementApiService
4132
- .createIkoDataAggregate(item.key, { ...item, ikoRepositoryConfigKey })
4138
+ .createIkoView(item.key, { ...item, ikoRepositoryConfigKey })
4133
4139
  .pipe(take(1))
4134
4140
  .subscribe(() => {
4135
4141
  this.menuService.reload();
@@ -4151,7 +4157,7 @@ class IkoManagementComponent {
4151
4157
  });
4152
4158
  }
4153
4159
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoManagementComponent, deps: [{ token: IkoManagementApiService }, { token: i1$3.Router }, { token: i1$3.ActivatedRoute }, { token: i1$2.PageTitleService }, { token: i1$2.MenuService }, { token: i6.IconService }], target: i0.ɵɵFactoryTarget.Component }); }
4154
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: IkoManagementComponent, isStandalone: true, selector: "valtimo-iko-management", 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<valtimo-carbon-list\n [actionItems]=\"ACTION_ITEMS\"\n [fields]=\"FIELDS\"\n [items]=\"ikoDataAggregates$ | async\"\n [loading]=\"$loading()\"\n (rowClicked)=\"onRowClicked($event)\"\n>\n <ng-container carbonToolbarContent [ngTemplateOutlet]=\"uploadButton\"></ng-container>\n\n <ng-container carbonToolbarContent [ngTemplateOutlet]=\"addViewButton\"></ng-container>\n\n <valtimo-no-results\n [action]=\"addViewButton\"\n [description]=\"'ikoManagement.views.noResultsDescription' | translate\"\n [title]=\"'ikoManagement.views.noResultsTitle' | translate\"\n ></valtimo-no-results>\n</valtimo-carbon-list>\n\n<ng-template #uploadButton>\n <button [iconOnly]=\"true\" cdsButton=\"ghost\" (click)=\"openUploadModal()\">\n <svg cdsIcon=\"upload\" size=\"16\"></svg>\n </button>\n</ng-template>\n\n<ng-template #addViewButton>\n <button cdsButton=\"primary\" (click)=\"openAddModal()\">\n {{ 'ikoManagement.views.add' | translate }}\n\n <svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n </button>\n</ng-template>\n\n<valtimo-iko-management-view-modal\n *ngIf=\"apiKey$ | async as apiKey\"\n [apiKey]=\"apiKey\"\n [open]=\"$viewModalOpen()\"\n [prefillData]=\"$prefillData()\"\n [usedKeys]=\"usedKeys$ | async\"\n [modalMode]=\"$modalMode()\"\n (modalClose)=\"onViewModalClose($event, apiKey)\"\n></valtimo-iko-management-view-modal>\n\n<valtimo-iko-management-upload-modal\n [open]=\"$uploadModalOpen()\"\n (modalClose)=\"onUploadModalClose($event)\"\n></valtimo-iko-management-upload-modal>\n\n<valtimo-confirmation-modal\n confirmButtonTextTranslationKey=\"interface.delete\"\n confirmButtonType=\"danger\"\n contentTranslationKey=\"ikoManagement.views.deleteContent\"\n [outputOnConfirm]=\"$keyToDelete()\"\n [showModalSubject$]=\"showDeleteModal$\"\n titleTranslationKey=\"interface.delete\"\n (confirmEvent)=\"onDeleteConfirm($event)\"\n></valtimo-confirmation-modal>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: CarbonListModule }, { kind: "component", type: i1$2.CarbonListComponent, selector: "valtimo-carbon-list", inputs: ["items", "fields", "tableTranslations", "paginatorConfig", "pagination", "loading", "actions", "actionItems", "showActionItems", "header", "hideColumnHeader", "initialSortState", "sortState", "isSearchable", "enableSingleSelection", "lastColumnTemplate", "paginationIdentifier", "showSelectionColumn", "striped", "hideToolbar", "lockedTooltipTranslationKey", "movingRowsEnabled", "dragAndDrop", "dragAndDropDisabled"], outputs: ["rowClicked", "paginationClicked", "paginationSet", "search", "sortChanged", "moveRow", "itemsReordered"] }, { kind: "component", type: i1$2.CarbonNoResultsComponent, selector: "valtimo-no-results", inputs: ["action", "description", "illustration", "title", "smallPadding", "collapseVertically", "alwaysRenderVertically"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i6.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "ngmodule", type: IconModule }, { kind: "directive", type: i6.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "component", type: IkoManagementViewModalComponent, selector: "valtimo-iko-management-view-modal", inputs: ["open", "modalMode", "apiKey", "prefillData", "usedKeys"], outputs: ["modalClose"] }, { kind: "component", type: IkoManagementUploadModalComponent, selector: "valtimo-iko-management-upload-modal", inputs: ["open"], outputs: ["modalClose"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i4$1.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: ConfirmationModalModule }, { kind: "component", type: i1$2.ConfirmationModalComponent, selector: "valtimo-confirmation-modal", inputs: ["titleTranslationKey", "title", "content", "contentTranslationKey", "confirmButtonText", "confirmButtonTextTranslationKey", "confirmButtonType", "showOptionalButton", "optionalButtonText", "optionalButtonTextTranslationKey", "optionalButtonType", "cancelButtonText", "cancelButtonTextTranslationKey", "cancelButtonType", "showModalSubject$", "outputOnConfirm", "outputOnOptional", "spacerAfterCancelButton"], outputs: ["confirmEvent", "optionalEvent", "cancelEvent"] }] }); }
4160
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: IkoManagementComponent, isStandalone: true, selector: "valtimo-iko-management", 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<valtimo-carbon-list\n [actionItems]=\"ACTION_ITEMS\"\n [fields]=\"FIELDS\"\n [items]=\"ikoViews$ | async\"\n [loading]=\"$loading()\"\n (rowClicked)=\"onRowClicked($event)\"\n>\n <ng-container carbonToolbarContent [ngTemplateOutlet]=\"uploadButton\"></ng-container>\n\n <ng-container carbonToolbarContent [ngTemplateOutlet]=\"addViewButton\"></ng-container>\n\n <valtimo-no-results\n [action]=\"addViewButton\"\n [description]=\"'ikoManagement.views.noResultsDescription' | translate\"\n [title]=\"'ikoManagement.views.noResultsTitle' | translate\"\n ></valtimo-no-results>\n</valtimo-carbon-list>\n\n<ng-template #uploadButton>\n <button [iconOnly]=\"true\" cdsButton=\"ghost\" (click)=\"openUploadModal()\">\n <svg cdsIcon=\"upload\" size=\"16\"></svg>\n </button>\n</ng-template>\n\n<ng-template #addViewButton>\n <button cdsButton=\"primary\" (click)=\"openAddModal()\">\n {{ 'ikoManagement.views.add' | translate }}\n\n <svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n </button>\n</ng-template>\n\n<valtimo-iko-management-view-modal\n *ngIf=\"apiKey$ | async as apiKey\"\n [apiKey]=\"apiKey\"\n [open]=\"$viewModalOpen()\"\n [prefillData]=\"$prefillData()\"\n [usedKeys]=\"usedKeys$ | async\"\n [modalMode]=\"$modalMode()\"\n (modalClose)=\"onViewModalClose($event, apiKey)\"\n></valtimo-iko-management-view-modal>\n\n<valtimo-iko-management-upload-modal\n [open]=\"$uploadModalOpen()\"\n (modalClose)=\"onUploadModalClose($event)\"\n></valtimo-iko-management-upload-modal>\n\n<valtimo-confirmation-modal\n confirmButtonTextTranslationKey=\"interface.delete\"\n confirmButtonType=\"danger\"\n contentTranslationKey=\"ikoManagement.views.deleteContent\"\n [outputOnConfirm]=\"$keyToDelete()\"\n [showModalSubject$]=\"showDeleteModal$\"\n titleTranslationKey=\"interface.delete\"\n (confirmEvent)=\"onDeleteConfirm($event)\"\n></valtimo-confirmation-modal>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: CarbonListModule }, { kind: "component", type: i1$2.CarbonListComponent, selector: "valtimo-carbon-list", inputs: ["items", "fields", "tableTranslations", "paginatorConfig", "pagination", "loading", "actions", "actionItems", "showActionItems", "header", "hideColumnHeader", "initialSortState", "sortState", "isSearchable", "enableSingleSelection", "lastColumnTemplate", "paginationIdentifier", "showSelectionColumn", "striped", "hideToolbar", "lockedTooltipTranslationKey", "movingRowsEnabled", "dragAndDrop", "dragAndDropDisabled"], outputs: ["rowClicked", "paginationClicked", "paginationSet", "search", "sortChanged", "moveRow", "itemsReordered"] }, { kind: "component", type: i1$2.CarbonNoResultsComponent, selector: "valtimo-no-results", inputs: ["action", "description", "illustration", "title", "smallPadding", "collapseVertically", "alwaysRenderVertically"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i6.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "ngmodule", type: IconModule }, { kind: "directive", type: i6.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "component", type: IkoManagementViewModalComponent, selector: "valtimo-iko-management-view-modal", inputs: ["open", "modalMode", "apiKey", "prefillData", "usedKeys"], outputs: ["modalClose"] }, { kind: "component", type: IkoManagementUploadModalComponent, selector: "valtimo-iko-management-upload-modal", inputs: ["open"], outputs: ["modalClose"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i4$1.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: ConfirmationModalModule }, { kind: "component", type: i1$2.ConfirmationModalComponent, selector: "valtimo-confirmation-modal", inputs: ["titleTranslationKey", "title", "content", "contentTranslationKey", "confirmButtonText", "confirmButtonTextTranslationKey", "confirmButtonType", "showOptionalButton", "optionalButtonText", "optionalButtonTextTranslationKey", "optionalButtonType", "cancelButtonText", "cancelButtonTextTranslationKey", "cancelButtonType", "showModalSubject$", "outputOnConfirm", "outputOnOptional", "spacerAfterCancelButton"], outputs: ["confirmEvent", "optionalEvent", "cancelEvent"] }] }); }
4155
4161
  }
4156
4162
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoManagementComponent, decorators: [{
4157
4163
  type: Component,
@@ -4164,7 +4170,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
4164
4170
  IkoManagementUploadModalComponent,
4165
4171
  TranslateModule,
4166
4172
  ConfirmationModalModule,
4167
- ], 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<valtimo-carbon-list\n [actionItems]=\"ACTION_ITEMS\"\n [fields]=\"FIELDS\"\n [items]=\"ikoDataAggregates$ | async\"\n [loading]=\"$loading()\"\n (rowClicked)=\"onRowClicked($event)\"\n>\n <ng-container carbonToolbarContent [ngTemplateOutlet]=\"uploadButton\"></ng-container>\n\n <ng-container carbonToolbarContent [ngTemplateOutlet]=\"addViewButton\"></ng-container>\n\n <valtimo-no-results\n [action]=\"addViewButton\"\n [description]=\"'ikoManagement.views.noResultsDescription' | translate\"\n [title]=\"'ikoManagement.views.noResultsTitle' | translate\"\n ></valtimo-no-results>\n</valtimo-carbon-list>\n\n<ng-template #uploadButton>\n <button [iconOnly]=\"true\" cdsButton=\"ghost\" (click)=\"openUploadModal()\">\n <svg cdsIcon=\"upload\" size=\"16\"></svg>\n </button>\n</ng-template>\n\n<ng-template #addViewButton>\n <button cdsButton=\"primary\" (click)=\"openAddModal()\">\n {{ 'ikoManagement.views.add' | translate }}\n\n <svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n </button>\n</ng-template>\n\n<valtimo-iko-management-view-modal\n *ngIf=\"apiKey$ | async as apiKey\"\n [apiKey]=\"apiKey\"\n [open]=\"$viewModalOpen()\"\n [prefillData]=\"$prefillData()\"\n [usedKeys]=\"usedKeys$ | async\"\n [modalMode]=\"$modalMode()\"\n (modalClose)=\"onViewModalClose($event, apiKey)\"\n></valtimo-iko-management-view-modal>\n\n<valtimo-iko-management-upload-modal\n [open]=\"$uploadModalOpen()\"\n (modalClose)=\"onUploadModalClose($event)\"\n></valtimo-iko-management-upload-modal>\n\n<valtimo-confirmation-modal\n confirmButtonTextTranslationKey=\"interface.delete\"\n confirmButtonType=\"danger\"\n contentTranslationKey=\"ikoManagement.views.deleteContent\"\n [outputOnConfirm]=\"$keyToDelete()\"\n [showModalSubject$]=\"showDeleteModal$\"\n titleTranslationKey=\"interface.delete\"\n (confirmEvent)=\"onDeleteConfirm($event)\"\n></valtimo-confirmation-modal>\n" }]
4173
+ ], 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<valtimo-carbon-list\n [actionItems]=\"ACTION_ITEMS\"\n [fields]=\"FIELDS\"\n [items]=\"ikoViews$ | async\"\n [loading]=\"$loading()\"\n (rowClicked)=\"onRowClicked($event)\"\n>\n <ng-container carbonToolbarContent [ngTemplateOutlet]=\"uploadButton\"></ng-container>\n\n <ng-container carbonToolbarContent [ngTemplateOutlet]=\"addViewButton\"></ng-container>\n\n <valtimo-no-results\n [action]=\"addViewButton\"\n [description]=\"'ikoManagement.views.noResultsDescription' | translate\"\n [title]=\"'ikoManagement.views.noResultsTitle' | translate\"\n ></valtimo-no-results>\n</valtimo-carbon-list>\n\n<ng-template #uploadButton>\n <button [iconOnly]=\"true\" cdsButton=\"ghost\" (click)=\"openUploadModal()\">\n <svg cdsIcon=\"upload\" size=\"16\"></svg>\n </button>\n</ng-template>\n\n<ng-template #addViewButton>\n <button cdsButton=\"primary\" (click)=\"openAddModal()\">\n {{ 'ikoManagement.views.add' | translate }}\n\n <svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n </button>\n</ng-template>\n\n<valtimo-iko-management-view-modal\n *ngIf=\"apiKey$ | async as apiKey\"\n [apiKey]=\"apiKey\"\n [open]=\"$viewModalOpen()\"\n [prefillData]=\"$prefillData()\"\n [usedKeys]=\"usedKeys$ | async\"\n [modalMode]=\"$modalMode()\"\n (modalClose)=\"onViewModalClose($event, apiKey)\"\n></valtimo-iko-management-view-modal>\n\n<valtimo-iko-management-upload-modal\n [open]=\"$uploadModalOpen()\"\n (modalClose)=\"onUploadModalClose($event)\"\n></valtimo-iko-management-upload-modal>\n\n<valtimo-confirmation-modal\n confirmButtonTextTranslationKey=\"interface.delete\"\n confirmButtonType=\"danger\"\n contentTranslationKey=\"ikoManagement.views.deleteContent\"\n [outputOnConfirm]=\"$keyToDelete()\"\n [showModalSubject$]=\"showDeleteModal$\"\n titleTranslationKey=\"interface.delete\"\n (confirmEvent)=\"onDeleteConfirm($event)\"\n></valtimo-confirmation-modal>\n" }]
4168
4174
  }], ctorParameters: () => [{ type: IkoManagementApiService }, { type: i1$3.Router }, { type: i1$3.ActivatedRoute }, { type: i1$2.PageTitleService }, { type: i1$2.MenuService }, { type: i6.IconService }] });
4169
4175
 
4170
4176
  /*
@@ -4191,15 +4197,15 @@ class IkoSearchComponent {
4191
4197
  this.ikoApiService = ikoApiService;
4192
4198
  this.formValues = {};
4193
4199
  this._key$ = this.route.params.pipe(map$1(params => params?.key), filter(key => !!key));
4194
- this.dataRequests$ = this._key$.pipe(switchMap(key => combineLatest([
4200
+ this.ikoSearchActions$ = this._key$.pipe(switchMap(key => combineLatest([
4195
4201
  of(key),
4196
4202
  this.ikoApiService.cachedMenuItems$,
4197
- this.ikoApiService.getIkoDataRequests(key),
4198
- ])), map$1(([key, menuItems, dataRequests]) => {
4203
+ this.ikoApiService.getIkoSearchActions(key),
4204
+ ])), map$1(([key, menuItems, ikoSearchActions]) => {
4199
4205
  const currentMenuItem = menuItems.find(item => item.key === key);
4200
4206
  if (currentMenuItem && currentMenuItem?.title)
4201
4207
  this.pageTitleService.setCustomPageTitle(currentMenuItem.title, true);
4202
- return dataRequests;
4208
+ return ikoSearchActions;
4203
4209
  }));
4204
4210
  this.iconService.register(Search16);
4205
4211
  }
@@ -4223,7 +4229,7 @@ class IkoSearchComponent {
4223
4229
  this.router.navigate([`${paramKey}`], { relativeTo: this.route, queryParams });
4224
4230
  }
4225
4231
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoSearchComponent, deps: [{ token: i1$3.ActivatedRoute }, { token: i1$3.Router }, { token: i1$2.PageTitleService }, { token: i6.IconService }, { token: IkoApiService }], target: i0.ɵɵFactoryTarget.Component }); }
4226
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: IkoSearchComponent, isStandalone: true, selector: "valtimo-iko-search", 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@if (dataRequests$ | async; as dataRequests) {\n @if (dataRequests.length === 0) {\n <valtimo-no-results [title]=\"'iko.searchFieldsNoResults' | translate\"></valtimo-no-results>\n } @else {\n <h4>{{ 'iko.searchVia' | translate }}</h4>\n\n <cds-tabs type=\"contained\">\n @for (param of dataRequests; track param.key ?? param.fields?.[0]?.key) {\n <cds-tab class=\"query-group\" [heading]=\"param.title\" [cdsLayer]=\"1\">\n <div class=\"query-group__row\">\n @for (field of param.searchFields; track field.key) {\n <div class=\"query-group__field\">\n <input\n cdsText\n [id]=\"field.key\"\n [placeholder]=\"field.title\"\n [(ngModel)]=\"formValues[field.key]\"\n />\n </div>\n }\n </div>\n\n <button\n cdsButton=\"primary\"\n class=\"query-group__search-button\"\n [disabled]=\"searchDisabled(param.searchFields)\"\n (click)=\"searchGroup(param.key, param.searchFields)\"\n >\n {{ 'searchFields.searchButtonText' | translate }}\n <svg cdsIcon=\"search\" size=\"16\"></svg>\n </button>\n </cds-tab>\n }\n </cds-tabs>\n }\n}\n", styles: [":host{display:flex;flex-direction:column;gap:24px}.query-group__row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end}.query-group__field{display:flex;flex-direction:column;flex:1 1 200px;max-width:320px}.query-group__field input{width:100%}.query-group__label{font-size:14px;font-weight:600;color:var(--cds-text-primary)}.query-group__search-button{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;height:40px;max-height:40px;min-height:40px;padding:8px 16px;min-width:120px;white-space:nowrap;overflow:hidden;margin-left:auto}:host ::ng-deep .cds--tab-content{display:flex;flex-direction:column;gap:16px;outline:none!important;background:var(--cds-layer-01)}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: InputModule }, { kind: "directive", type: i6.TextInput, selector: "[cdsText], [ibmText]", inputs: ["theme", "size", "invalid", "warn", "skeleton"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i6.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "ngmodule", type: IconModule }, { kind: "directive", type: i6.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i4$1.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CarbonListModule }, { kind: "component", type: i1$2.CarbonNoResultsComponent, selector: "valtimo-no-results", inputs: ["action", "description", "illustration", "title", "smallPadding", "collapseVertically", "alwaysRenderVertically"] }, { kind: "ngmodule", type: TabsModule }, { kind: "component", type: i6.Tabs, selector: "cds-tabs, ibm-tabs", inputs: ["position", "cacheActive", "followFocus", "isNavigation", "ariaLabel", "ariaLabelledby", "type", "theme", "skeleton"] }, { kind: "component", type: i6.Tab, selector: "cds-tab, ibm-tab", inputs: ["heading", "title", "context", "active", "disabled", "tabIndex", "id", "cacheActive", "tabContent", "templateContext"], outputs: ["selected"] }, { kind: "ngmodule", type: LayerModule }, { kind: "directive", type: i6.LayerDirective, selector: "[cdsLayer], [ibmLayer]", inputs: ["ibmLayer", "cdsLayer"], exportAs: ["layer"] }] }); }
4232
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: IkoSearchComponent, isStandalone: true, selector: "valtimo-iko-search", 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@if (ikoSearchActions$ | async; as ikoSearchActions) {\n @if (ikoSearchActions.length === 0) {\n <valtimo-no-results [title]=\"'iko.searchFieldsNoResults' | translate\"></valtimo-no-results>\n } @else {\n <h4>{{ 'iko.searchVia' | translate }}</h4>\n\n <cds-tabs type=\"contained\">\n @for (param of ikoSearchActions; track param.key ?? param.fields?.[0]?.key) {\n <cds-tab class=\"query-group\" [heading]=\"param.title\" [cdsLayer]=\"1\">\n <div class=\"query-group__row\">\n @for (field of param.searchFields; track field.key) {\n <div class=\"query-group__field\">\n <input\n cdsText\n [id]=\"field.key\"\n [placeholder]=\"field.title\"\n [(ngModel)]=\"formValues[field.key]\"\n />\n </div>\n }\n </div>\n\n <button\n cdsButton=\"primary\"\n class=\"query-group__search-button\"\n [disabled]=\"searchDisabled(param.searchFields)\"\n (click)=\"searchGroup(param.key, param.searchFields)\"\n >\n {{ 'searchFields.searchButtonText' | translate }}\n <svg cdsIcon=\"search\" size=\"16\"></svg>\n </button>\n </cds-tab>\n }\n </cds-tabs>\n }\n}\n", styles: [":host{display:flex;flex-direction:column;gap:24px}.query-group__row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end}.query-group__field{display:flex;flex-direction:column;flex:1 1 200px;max-width:320px}.query-group__field input{width:100%}.query-group__label{font-size:14px;font-weight:600;color:var(--cds-text-primary)}.query-group__search-button{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;height:40px;max-height:40px;min-height:40px;padding:8px 16px;min-width:120px;white-space:nowrap;overflow:hidden;margin-left:auto}:host ::ng-deep .cds--tab-content{display:flex;flex-direction:column;gap:16px;outline:none!important;background:var(--cds-layer-01)}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: InputModule }, { kind: "directive", type: i6.TextInput, selector: "[cdsText], [ibmText]", inputs: ["theme", "size", "invalid", "warn", "skeleton"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i6.Button, selector: "[cdsButton], [ibmButton]", inputs: ["ibmButton", "cdsButton", "size", "skeleton", "iconOnly", "isExpressive"] }, { kind: "ngmodule", type: IconModule }, { kind: "directive", type: i6.IconDirective, selector: "[cdsIcon], [ibmIcon]", inputs: ["ibmIcon", "cdsIcon", "size", "title", "ariaLabel", "ariaLabelledBy", "ariaHidden", "isFocusable"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i4$1.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CarbonListModule }, { kind: "component", type: i1$2.CarbonNoResultsComponent, selector: "valtimo-no-results", inputs: ["action", "description", "illustration", "title", "smallPadding", "collapseVertically", "alwaysRenderVertically"] }, { kind: "ngmodule", type: TabsModule }, { kind: "component", type: i6.Tabs, selector: "cds-tabs, ibm-tabs", inputs: ["position", "cacheActive", "followFocus", "isNavigation", "ariaLabel", "ariaLabelledby", "type", "theme", "skeleton"] }, { kind: "component", type: i6.Tab, selector: "cds-tab, ibm-tab", inputs: ["heading", "title", "context", "active", "disabled", "tabIndex", "id", "cacheActive", "tabContent", "templateContext"], outputs: ["selected"] }, { kind: "ngmodule", type: LayerModule }, { kind: "directive", type: i6.LayerDirective, selector: "[cdsLayer], [ibmLayer]", inputs: ["ibmLayer", "cdsLayer"], exportAs: ["layer"] }] }); }
4227
4233
  }
4228
4234
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IkoSearchComponent, decorators: [{
4229
4235
  type: Component,
@@ -4238,7 +4244,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
4238
4244
  CarbonListModule,
4239
4245
  TabsModule,
4240
4246
  LayerModule,
4241
- ], 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@if (dataRequests$ | async; as dataRequests) {\n @if (dataRequests.length === 0) {\n <valtimo-no-results [title]=\"'iko.searchFieldsNoResults' | translate\"></valtimo-no-results>\n } @else {\n <h4>{{ 'iko.searchVia' | translate }}</h4>\n\n <cds-tabs type=\"contained\">\n @for (param of dataRequests; track param.key ?? param.fields?.[0]?.key) {\n <cds-tab class=\"query-group\" [heading]=\"param.title\" [cdsLayer]=\"1\">\n <div class=\"query-group__row\">\n @for (field of param.searchFields; track field.key) {\n <div class=\"query-group__field\">\n <input\n cdsText\n [id]=\"field.key\"\n [placeholder]=\"field.title\"\n [(ngModel)]=\"formValues[field.key]\"\n />\n </div>\n }\n </div>\n\n <button\n cdsButton=\"primary\"\n class=\"query-group__search-button\"\n [disabled]=\"searchDisabled(param.searchFields)\"\n (click)=\"searchGroup(param.key, param.searchFields)\"\n >\n {{ 'searchFields.searchButtonText' | translate }}\n <svg cdsIcon=\"search\" size=\"16\"></svg>\n </button>\n </cds-tab>\n }\n </cds-tabs>\n }\n}\n", styles: [":host{display:flex;flex-direction:column;gap:24px}.query-group__row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end}.query-group__field{display:flex;flex-direction:column;flex:1 1 200px;max-width:320px}.query-group__field input{width:100%}.query-group__label{font-size:14px;font-weight:600;color:var(--cds-text-primary)}.query-group__search-button{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;height:40px;max-height:40px;min-height:40px;padding:8px 16px;min-width:120px;white-space:nowrap;overflow:hidden;margin-left:auto}:host ::ng-deep .cds--tab-content{display:flex;flex-direction:column;gap:16px;outline:none!important;background:var(--cds-layer-01)}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
4247
+ ], 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@if (ikoSearchActions$ | async; as ikoSearchActions) {\n @if (ikoSearchActions.length === 0) {\n <valtimo-no-results [title]=\"'iko.searchFieldsNoResults' | translate\"></valtimo-no-results>\n } @else {\n <h4>{{ 'iko.searchVia' | translate }}</h4>\n\n <cds-tabs type=\"contained\">\n @for (param of ikoSearchActions; track param.key ?? param.fields?.[0]?.key) {\n <cds-tab class=\"query-group\" [heading]=\"param.title\" [cdsLayer]=\"1\">\n <div class=\"query-group__row\">\n @for (field of param.searchFields; track field.key) {\n <div class=\"query-group__field\">\n <input\n cdsText\n [id]=\"field.key\"\n [placeholder]=\"field.title\"\n [(ngModel)]=\"formValues[field.key]\"\n />\n </div>\n }\n </div>\n\n <button\n cdsButton=\"primary\"\n class=\"query-group__search-button\"\n [disabled]=\"searchDisabled(param.searchFields)\"\n (click)=\"searchGroup(param.key, param.searchFields)\"\n >\n {{ 'searchFields.searchButtonText' | translate }}\n <svg cdsIcon=\"search\" size=\"16\"></svg>\n </button>\n </cds-tab>\n }\n </cds-tabs>\n }\n}\n", styles: [":host{display:flex;flex-direction:column;gap:24px}.query-group__row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end}.query-group__field{display:flex;flex-direction:column;flex:1 1 200px;max-width:320px}.query-group__field input{width:100%}.query-group__label{font-size:14px;font-weight:600;color:var(--cds-text-primary)}.query-group__search-button{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;height:40px;max-height:40px;min-height:40px;padding:8px 16px;min-width:120px;white-space:nowrap;overflow:hidden;margin-left:auto}:host ::ng-deep .cds--tab-content{display:flex;flex-direction:column;gap:16px;outline:none!important;background:var(--cds-layer-01)}\n/*!\n * Copyright 2015-2025 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
4242
4248
  }], ctorParameters: () => [{ type: i1$3.ActivatedRoute }, { type: i1$3.Router }, { type: i1$2.PageTitleService }, { type: i6.IconService }, { type: IkoApiService }] });
4243
4249
 
4244
4250
  /*