@fundamental-ngx/platform 0.43.21 → 0.43.22

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 (36) hide show
  1. package/esm2020/button/button.component.mjs +3 -3
  2. package/esm2020/form/combobox/combobox/combobox.component.mjs +12 -3
  3. package/esm2020/value-help-dialog/components/select-tab/select-tab.component.mjs +20 -5
  4. package/esm2020/value-help-dialog/components/value-help-dialog-filter/value-help-dialog-filter.component.mjs +7 -3
  5. package/esm2020/value-help-dialog/directives/value-help-column-def.directive.mjs +24 -0
  6. package/esm2020/value-help-dialog/directives/value-help-filter-def.directive.mjs +22 -0
  7. package/esm2020/value-help-dialog/index.mjs +3 -1
  8. package/esm2020/value-help-dialog/models/vhd-component.model.mjs +3 -0
  9. package/esm2020/value-help-dialog/models/vhd-filter.model.mjs +1 -1
  10. package/esm2020/value-help-dialog/value-help-dialog/value-help-dialog.component.mjs +23 -6
  11. package/esm2020/value-help-dialog/value-help-dialog.module.mjs +15 -5
  12. package/fesm2015/fundamental-ngx-platform-button.mjs +2 -2
  13. package/fesm2015/fundamental-ngx-platform-button.mjs.map +1 -1
  14. package/fesm2015/fundamental-ngx-platform-form.mjs +11 -2
  15. package/fesm2015/fundamental-ngx-platform-form.mjs.map +1 -1
  16. package/fesm2015/fundamental-ngx-platform-value-help-dialog.mjs +141 -56
  17. package/fesm2015/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
  18. package/fesm2020/fundamental-ngx-platform-button.mjs +2 -2
  19. package/fesm2020/fundamental-ngx-platform-button.mjs.map +1 -1
  20. package/fesm2020/fundamental-ngx-platform-form.mjs +11 -2
  21. package/fesm2020/fundamental-ngx-platform-form.mjs.map +1 -1
  22. package/fesm2020/fundamental-ngx-platform-value-help-dialog.mjs +139 -56
  23. package/fesm2020/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
  24. package/fundamental-ngx-platform-v0.43.22.tgz +0 -0
  25. package/package.json +4 -4
  26. package/schematics/ng-add/index.js +1 -1
  27. package/value-help-dialog/components/select-tab/select-tab.component.d.ts +11 -3
  28. package/value-help-dialog/components/value-help-dialog-filter/value-help-dialog-filter.component.d.ts +5 -1
  29. package/value-help-dialog/directives/value-help-column-def.directive.d.ts +17 -0
  30. package/value-help-dialog/directives/value-help-filter-def.directive.d.ts +15 -0
  31. package/value-help-dialog/index.d.ts +2 -0
  32. package/value-help-dialog/models/vhd-component.model.d.ts +5 -0
  33. package/value-help-dialog/models/vhd-filter.model.d.ts +3 -0
  34. package/value-help-dialog/value-help-dialog/value-help-dialog.component.d.ts +6 -2
  35. package/value-help-dialog/value-help-dialog.module.d.ts +3 -1
  36. package/fundamental-ngx-platform-v0.43.21.tgz +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, EventEmitter, ViewEncapsulation, Output, ViewChild, Directive, TemplateRef, Optional, ContentChildren, NgModule } from '@angular/core';
2
+ import { inject, TemplateRef, Directive, Component, ChangeDetectionStrategy, Input, ContentChild, EventEmitter, ViewEncapsulation, Output, ViewChild, Optional, ContentChildren, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i2 from '@angular/forms';
@@ -23,7 +23,7 @@ import { ToolbarModule } from '@fundamental-ngx/core/toolbar';
23
23
  import * as i7 from '@fundamental-ngx/core/table';
24
24
  import { TableModule } from '@fundamental-ngx/core/table';
25
25
  import * as i2$1 from '@fundamental-ngx/cdk/utils';
26
- import { PipeModule, RepeatModule } from '@fundamental-ngx/cdk/utils';
26
+ import { DestroyedService, PipeModule, RepeatModule } from '@fundamental-ngx/cdk/utils';
27
27
  import { IconModule } from '@fundamental-ngx/core/icon';
28
28
  import * as i14 from '@fundamental-ngx/core/list';
29
29
  import { ListModule } from '@fundamental-ngx/core/list';
@@ -47,8 +47,8 @@ import { I18nModule } from '@fundamental-ngx/i18n';
47
47
  import { BaseDataProvider, DataProvider, isDataSource, PlatformContentDensityDeprecationsModule } from '@fundamental-ngx/platform/shared';
48
48
  import * as i11 from '@fundamental-ngx/core/skeleton';
49
49
  import { SkeletonModule } from '@fundamental-ngx/core/skeleton';
50
- import { BehaviorSubject, Subject, of, Subscription, isObservable } from 'rxjs';
51
- import { take, takeUntil } from 'rxjs/operators';
50
+ import { BehaviorSubject, Subject, of, startWith, takeUntil, Subscription, isObservable } from 'rxjs';
51
+ import { take, takeUntil as takeUntil$1 } from 'rxjs/operators';
52
52
  import { cloneDeep } from 'lodash-es';
53
53
  import * as i4 from '@fundamental-ngx/core/title';
54
54
  import * as i10 from '@fundamental-ngx/core/scrollbar';
@@ -213,6 +213,67 @@ var VhdTab;
213
213
  VhdTab[VhdTab["advancedSearch"] = 2] = "advancedSearch";
214
214
  })(VhdTab || (VhdTab = {}));
215
215
 
216
+ class VhdComponent {
217
+ }
218
+
219
+ const defaultConditionDisplayFn = (item, filters) => {
220
+ const filter = (filters || []).find((f) => f.key === item.key);
221
+ let value = (() => {
222
+ switch (item.strategy) {
223
+ case VhdDefineIncludeStrategy.empty:
224
+ case VhdDefineExcludeStrategy.not_empty:
225
+ return null;
226
+ case VhdDefineIncludeStrategy.between:
227
+ return `${item.value}...${item.valueTo}`;
228
+ case VhdDefineIncludeStrategy.contains:
229
+ return `*${item.value}*`;
230
+ case VhdDefineIncludeStrategy.equalTo:
231
+ return `=${item.value}`;
232
+ case VhdDefineIncludeStrategy.startsWith:
233
+ return `${item.value}*`;
234
+ case VhdDefineIncludeStrategy.endsWith:
235
+ return `*${item.value}`;
236
+ case VhdDefineIncludeStrategy.greaterThan:
237
+ return `>${item.value}`;
238
+ case VhdDefineIncludeStrategy.greaterThanEqual:
239
+ return `>=${item.value}`;
240
+ case VhdDefineIncludeStrategy.lessThan:
241
+ return `<${item.value}`;
242
+ case VhdDefineIncludeStrategy.lessThanEqual:
243
+ return `<=${item.value}`;
244
+ case VhdDefineExcludeStrategy.not_equalTo:
245
+ return `!(=${item.value})`;
246
+ }
247
+ })();
248
+ if (value && item.type === 'exclude') {
249
+ value = `!(${value})`;
250
+ }
251
+ if (filter) {
252
+ return `${filter.label}: ${value}`;
253
+ }
254
+ return value;
255
+ };
256
+
257
+ class ValueHelpFilterDefDirective {
258
+ constructor() {
259
+ /** Template reference */
260
+ this.templateRef = inject((TemplateRef));
261
+ }
262
+ /** @hidden */
263
+ static ngTemplateContextGuard(dir, ctx) {
264
+ return true;
265
+ }
266
+ }
267
+ ValueHelpFilterDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValueHelpFilterDefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
268
+ ValueHelpFilterDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ValueHelpFilterDefDirective, isStandalone: true, selector: "[fdpValueHelpFilterDef]", ngImport: i0 });
269
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValueHelpFilterDefDirective, decorators: [{
270
+ type: Directive,
271
+ args: [{
272
+ selector: '[fdpValueHelpFilterDef]',
273
+ standalone: true
274
+ }]
275
+ }] });
276
+
216
277
  class VhdFilterComponent {
217
278
  constructor() {
218
279
  /** Allow to control which of filters should show as main in mobile view.
@@ -229,7 +290,7 @@ class VhdFilterComponent {
229
290
  }
230
291
  }
231
292
  VhdFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VhdFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
232
- VhdFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: VhdFilterComponent, selector: "fdp-value-help-dialog-filter", inputs: { key: "key", main: "main", label: "label", value: "value", advanced: "advanced", include: "include", exclude: "exclude" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
293
+ VhdFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: VhdFilterComponent, selector: "fdp-value-help-dialog-filter", inputs: { key: "key", main: "main", label: "label", value: "value", advanced: "advanced", include: "include", exclude: "exclude" }, queries: [{ propertyName: "filterDef", first: true, predicate: ValueHelpFilterDefDirective, descendants: true }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
233
294
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VhdFilterComponent, decorators: [{
234
295
  type: Component,
235
296
  args: [{
@@ -251,45 +312,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
251
312
  type: Input
252
313
  }], exclude: [{
253
314
  type: Input
315
+ }], filterDef: [{
316
+ type: ContentChild,
317
+ args: [ValueHelpFilterDefDirective]
254
318
  }] } });
255
319
 
256
- const defaultConditionDisplayFn = (item, filters) => {
257
- const filter = (filters || []).find((f) => f.key === item.key);
258
- let value = (() => {
259
- switch (item.strategy) {
260
- case VhdDefineIncludeStrategy.empty:
261
- case VhdDefineExcludeStrategy.not_empty:
262
- return null;
263
- case VhdDefineIncludeStrategy.between:
264
- return `${item.value}...${item.valueTo}`;
265
- case VhdDefineIncludeStrategy.contains:
266
- return `*${item.value}*`;
267
- case VhdDefineIncludeStrategy.equalTo:
268
- return `=${item.value}`;
269
- case VhdDefineIncludeStrategy.startsWith:
270
- return `${item.value}*`;
271
- case VhdDefineIncludeStrategy.endsWith:
272
- return `*${item.value}`;
273
- case VhdDefineIncludeStrategy.greaterThan:
274
- return `>${item.value}`;
275
- case VhdDefineIncludeStrategy.greaterThanEqual:
276
- return `>=${item.value}`;
277
- case VhdDefineIncludeStrategy.lessThan:
278
- return `<${item.value}`;
279
- case VhdDefineIncludeStrategy.lessThanEqual:
280
- return `<=${item.value}`;
281
- case VhdDefineExcludeStrategy.not_equalTo:
282
- return `!(=${item.value})`;
283
- }
284
- })();
285
- if (value && item.type === 'exclude') {
286
- value = `!(${value})`;
287
- }
288
- if (filter) {
289
- return `${filter.label}: ${value}`;
320
+ class ValueHelpColumnDefDirective {
321
+ constructor() {
322
+ /** Template reference */
323
+ this.templateRef = inject(TemplateRef);
290
324
  }
291
- return value;
292
- };
325
+ }
326
+ ValueHelpColumnDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValueHelpColumnDefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
327
+ ValueHelpColumnDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ValueHelpColumnDefDirective, isStandalone: true, selector: "[fdpValueHelpColumnDef]", inputs: { as: ["fdpValueHelpColumnDefAs", "as"], column: ["fdpValueHelpColumnDefColumn", "column"] }, ngImport: i0 });
328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValueHelpColumnDefDirective, decorators: [{
329
+ type: Directive,
330
+ args: [{
331
+ selector: '[fdpValueHelpColumnDef]',
332
+ standalone: true
333
+ }]
334
+ }], propDecorators: { as: [{
335
+ type: Input,
336
+ args: ['fdpValueHelpColumnDefAs']
337
+ }], column: [{
338
+ type: Input,
339
+ args: ['fdpValueHelpColumnDefColumn']
340
+ }] } });
293
341
 
294
342
  // eslint-disable-next-line @angular-eslint/component-class-suffix
295
343
  class VhdBaseTab {
@@ -365,6 +413,12 @@ class SelectTabComponent extends VhdBaseTab {
365
413
  this._selectedMap = {};
366
414
  /** @hidden */
367
415
  this.selectedItems = [];
416
+ /** @hidden */
417
+ this._columnDefMap = new Map();
418
+ /** @hidden */
419
+ this._vhd = inject(VhdComponent, { optional: true });
420
+ /** @hidden */
421
+ this._destroy$ = inject(DestroyedService);
368
422
  }
369
423
  /** Selection type getters */
370
424
  get isSingleSelection() {
@@ -381,6 +435,12 @@ class SelectTabComponent extends VhdBaseTab {
381
435
  /** @hidden */
382
436
  ngAfterViewInit() {
383
437
  Promise.resolve(true).then(() => this._checkScrollAndShowMore());
438
+ this._vhd?.columnDef.changes.pipe(startWith(null), takeUntil(this._destroy$)).subscribe(() => {
439
+ this._columnDefMap.clear();
440
+ this._vhd?.columnDef.forEach((item) => {
441
+ this._columnDefMap.set(item.column, item);
442
+ });
443
+ });
384
444
  }
385
445
  /** @hidden */
386
446
  ngOnChanges(changes) {
@@ -537,10 +597,10 @@ class SelectTabComponent extends VhdBaseTab {
537
597
  }
538
598
  }
539
599
  SelectTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectTabComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
540
- SelectTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SelectTabComponent, selector: "fdp-select-tab", inputs: { selectTabTitleId: "selectTabTitleId", selectTabCountId: "selectTabCountId", selected: "selected", loading: "loading", filters: "filters", selection: "selection", emptyTableMessage: "emptyTableMessage", uniqueKey: "uniqueKey", pageSize: "pageSize", defaultMobileHeaders: "defaultMobileHeaders", displayedData: "displayedData" }, outputs: { select: "select" }, viewQueries: [{ propertyName: "infiniteScrollTable", first: true, predicate: InfiniteScrollDirective, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"table-header\">\n <h5 fd-title role=\"heading\" aria-level=\"5\">\n {{ 'platformVHD.selectTabDisplayCountLabel' | fdTranslate : { count: displayedData.length } }}\n </h5>\n</div>\n<div\n class=\"fdp-value-help-dialog__table-holder table-content\"\n fd-scrollbar\n fdInfiniteScroll\n (onScrollAction)=\"_showMoreElements()\"\n [scrollPercent]=\"80\"\n role=\"table\"\n>\n <table\n fd-table\n [popIn]=\"mobile\"\n [noBorderX]=\"mobile\"\n [noBorderY]=\"false\"\n [attr.aria-colcount]=\"_tableFilters.main.length\"\n [attr.aria-rowcount]=\"displayedData.length\"\n role=\"grid\"\n aria-multiselectable=\"true\"\n [attr.aria-labelledby]=\"selectTabTitleId + ' ' + selectTabCountId\"\n >\n <label [id]=\"selectTabCountId\" fd-form-label class=\"fdp-value-help-dialog__hidden_label\">\n {{\n 'platformVHD.selectTabCountHiddenA11yLabel'\n | fdTranslate : { rowCount: displayedData.length, colCount: _tableFilters.main.length }\n }}\n </label>\n <label [id]=\"selectTabTitleId\" fd-form-label class=\"fdp-value-help-dialog__hidden_label\">\n {{ 'platformVHD.selectTabDisplayCountLabel' | fdTranslate : { count: displayedData.length } }}\n </label>\n <thead fd-table-header>\n <tr fd-table-row *ngIf=\"displayedData.length && _tableFilters\">\n <th fd-table-cell [fitContent]=\"mobile\">\n <fd-checkbox\n *ngIf=\"isMultiSelection\"\n [name]=\"uid + '-row-all'\"\n [tristate]=\"true\"\n [tristateSelectable]=\"false\"\n [ngModel]=\"_selectedAll\"\n (ngModelChange)=\"_toggleAllRows()\"\n ></fd-checkbox>\n </th>\n <th\n fd-table-cell\n *ngFor=\"let filter of _tableFilters.main; trackBy: _trackByFilterFn; let colindex = index\"\n [attr.aria-colindex]=\"colindex\"\n >\n {{ filter.label }}\n </th>\n </tr>\n </thead>\n <tbody fd-table-body>\n <ng-container\n *ngFor=\"\n let row of displayedData | slice : _shownFrom : _shownCount;\n trackBy: _trackByTableRowFn;\n index as i\n \"\n >\n <tr\n fd-table-row\n [hoverable]=\"!mobile\"\n [main]=\"mobile\"\n [attr.aria-selected]=\"_selectedMap[row[uniqueKey]]\"\n [activable]=\"!isMultiSelection\"\n (click)=\"!isMultiSelection && _toggleSelectRow(row)\"\n >\n <td fd-table-cell [fitContent]=\"mobile\">\n <fd-checkbox\n *ngIf=\"isMultiSelection\"\n [name]=\"uid + '-row-' + i\"\n [ngModel]=\"_selectedMap[row[uniqueKey]]\"\n (change)=\"_toggleSelectRow(row)\"\n ></fd-checkbox>\n </td>\n <td\n fd-table-cell\n *ngFor=\"let filter of _tableFilters.main; let rowIndex = index\"\n [attr.aria-rowindex]=\"rowIndex\"\n >\n {{ row[filter.key] || '' }}\n </td>\n </tr>\n\n <tr\n fd-table-row\n *ngIf=\"mobile && _tableFilters.secondary.length\"\n [secondary]=\"true\"\n [attr.aria-selected]=\"_selectedMap[row[uniqueKey]]\"\n >\n <td fd-table-cell></td>\n <td colspan=\"100%\" fd-table-cell [fitContent]=\"true\">\n <p fd-table-text *ngFor=\"let filter of _tableFilters.secondary\">\n <label>{{ filter.label }}:</label>\n {{ row[filter.key] || '' }}\n </p>\n </td>\n </tr>\n </ng-container>\n <tr\n fd-table-row\n *ngIf=\"displayedData.length && mobile && _shownCount && _shownCount !== displayedData.length\"\n >\n <td colspan=\"100%\">\n <div fd-bar barDesign=\"header-with-subheader\">\n <div fd-bar-middle>\n <fd-bar-element>\n <button\n fd-button\n fdType=\"transparent\"\n [label]=\"'platformVHD.selectTabMoreBtnLabel' | fdTranslate\"\n (click)=\"_showMoreElements()\"\n ></button>\n </fd-bar-element>\n </div>\n </div>\n </td>\n </tr>\n <ng-container *ngIf=\"loading && !displayedData.length\">\n <tr fd-table-row *fdkRepeat=\"3\">\n <td fd-table-cell *fdkRepeat=\"3\">\n <fd-skeleton style=\"margin: auto 0\" type=\"text\" textLines=\"1\" width=\"60%\"></fd-skeleton>\n </td>\n </tr>\n </ng-container>\n <tr fd-table-row *ngIf=\"!loading && !displayedData.length\">\n <td fd-table-cell colspan=\"100%\">\n <div class=\"fdp-value-help-dialog__empty-message\">\n {{ emptyTableMessage || ('platformVHD.searchTableEmptyMessage' | fdTranslate) }}\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", styles: [".fdp-value-help-dialog__advanced-filters .fd-col{padding-top:0}.fdp-value-help-dialog__content-holder fdp-select-tab{display:flex;flex-direction:column;overflow:hidden;height:100%}.fdp-value-help-dialog__content-holder .table-header{flex:0 0 auto}.fdp-value-help-dialog__content-holder .table-content{flex:1 1 auto;overflow:auto;min-height:5rem}.fdp-value-help-dialog__table-holder{padding-top:0;padding-bottom:0}.fdp-value-help-dialog__empty-message{padding:1rem 2rem}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.BarComponent, selector: "[fd-bar]", inputs: ["class", "barDesign", "inPage", "inHomePage", "size"] }, { kind: "directive", type: i5.BarMiddleDirective, selector: "[fd-bar-middle]" }, { kind: "directive", type: i5.BarElementDirective, selector: "fd-bar-element", inputs: ["fullWidth", "isTitle"] }, { kind: "component", type: i4.TitleComponent, selector: "h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h6[fd-title]", inputs: ["headerSize", "wrap"], exportAs: ["fd-title"] }, { kind: "component", type: i5$1.ButtonComponent, selector: "button[fd-button], a[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }, { kind: "component", type: i5$2.FormLabelComponent, selector: "[fd-form-label]", inputs: ["required", "colon", "checkbox", "radio", "alignLabelEnd", "inlineHelpTitle", "inlineHelpContent", "inlineHelpGlyph", "inlineHelpTriggers", "inlineHelpBodyPlacement", "inlineHelpPlacement", "inlineHelpLabel", "id"] }, { kind: "component", type: i7.TableComponent, selector: "table[fd-table]", inputs: ["noBorderX", "noBorderY", "noOuterBorder", "topBorder", "popIn", "responsive", "keys", "allCellsFocusable"], exportAs: ["fd-table"] }, { kind: "directive", type: i7.TableHeaderDirective, selector: "[fdTableHeader], [fd-table-header]", inputs: ["noBorderX", "noBorderY"] }, { kind: "directive", type: i7.TableBodyDirective, selector: "[fdTableBody], [fd-table-body]", inputs: ["noBorderX", "noBorderY"] }, { kind: "directive", type: i7.TableRowDirective, selector: "[fdTableRow], [fd-table-row]", inputs: ["activable", "highlightActive", "hoverable", "focusable", "main", "secondary", "active"] }, { kind: "directive", type: i7.TableCellDirective, selector: "[fdTableCell], [fd-table-cell]", inputs: ["noBorderX", "noBorderY", "activable", "focusable", "hoverable", "fitContent", "noPadding", "noData", "key"] }, { kind: "directive", type: i7.TableTextDirective, selector: "[fdTableText], [fd-table-text]", inputs: ["fdTableTextClass", "noWrap", "title", "maxWidth"] }, { kind: "component", type: i8.CheckboxComponent, selector: "fd-checkbox", inputs: ["ariaLabel", "value", "ariaLabelledBy", "ariaDescribedBy", "title", "inputId", "state", "name", "label", "disabled", "tristate", "tristateSelectable", "labelClass", "required", "values", "standalone"], outputs: ["focusChange"] }, { kind: "directive", type: i9.InfiniteScrollDirective, selector: "[fdInfiniteScroll]", inputs: ["scrollPercent", "scrollOffset"], outputs: ["onScrollAction"] }, { kind: "directive", type: i10.ScrollbarDirective, selector: "[fdScrollbar], [fd-scrollbar]", inputs: ["noHorizontalScroll", "noVerticalScroll", "alwaysVisible", "overrideTabindex"] }, { kind: "component", type: i11.SkeletonComponent, selector: "fd-skeleton", inputs: ["animated", "type", "textLines", "width", "height"] }, { kind: "directive", type: i2$1.RepeatDirective, selector: "[fdkRepeat], [fdRepeat]", inputs: ["fdkRepeat", "fdRepeat"] }, { kind: "pipe", type: i1.SlicePipe, name: "slice" }, { kind: "pipe", type: i13.FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
600
+ SelectTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SelectTabComponent, selector: "fdp-select-tab", inputs: { selectTabTitleId: "selectTabTitleId", selectTabCountId: "selectTabCountId", selected: "selected", loading: "loading", filters: "filters", selection: "selection", emptyTableMessage: "emptyTableMessage", uniqueKey: "uniqueKey", pageSize: "pageSize", defaultMobileHeaders: "defaultMobileHeaders", displayedData: "displayedData" }, outputs: { select: "select" }, providers: [DestroyedService], viewQueries: [{ propertyName: "infiniteScrollTable", first: true, predicate: InfiniteScrollDirective, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"table-header\">\n <h5 fd-title role=\"heading\" aria-level=\"5\">\n {{ 'platformVHD.selectTabDisplayCountLabel' | fdTranslate : { count: displayedData.length } }}\n </h5>\n</div>\n<div\n class=\"fdp-value-help-dialog__table-holder table-content\"\n fd-scrollbar\n fdInfiniteScroll\n (onScrollAction)=\"_showMoreElements()\"\n [scrollPercent]=\"80\"\n role=\"table\"\n>\n <table\n fd-table\n [popIn]=\"mobile\"\n [noBorderX]=\"mobile\"\n [noBorderY]=\"false\"\n [attr.aria-colcount]=\"_tableFilters.main.length\"\n [attr.aria-rowcount]=\"displayedData.length\"\n role=\"grid\"\n aria-multiselectable=\"true\"\n [attr.aria-labelledby]=\"selectTabTitleId + ' ' + selectTabCountId\"\n >\n <label [id]=\"selectTabCountId\" fd-form-label class=\"fdp-value-help-dialog__hidden_label\">\n {{\n 'platformVHD.selectTabCountHiddenA11yLabel'\n | fdTranslate : { rowCount: displayedData.length, colCount: _tableFilters.main.length }\n }}\n </label>\n <label [id]=\"selectTabTitleId\" fd-form-label class=\"fdp-value-help-dialog__hidden_label\">\n {{ 'platformVHD.selectTabDisplayCountLabel' | fdTranslate : { count: displayedData.length } }}\n </label>\n <thead fd-table-header>\n <tr fd-table-row *ngIf=\"displayedData.length && _tableFilters\">\n <th fd-table-cell [fitContent]=\"mobile\">\n <fd-checkbox\n *ngIf=\"isMultiSelection\"\n [name]=\"uid + '-row-all'\"\n [tristate]=\"true\"\n [tristateSelectable]=\"false\"\n [ngModel]=\"_selectedAll\"\n (ngModelChange)=\"_toggleAllRows()\"\n ></fd-checkbox>\n </th>\n <th\n fd-table-cell\n *ngFor=\"let filter of _tableFilters.main; trackBy: _trackByFilterFn; let colindex = index\"\n [attr.aria-colindex]=\"colindex\"\n >\n {{ filter.label }}\n </th>\n </tr>\n </thead>\n <tbody fd-table-body>\n <ng-container\n *ngFor=\"\n let row of displayedData | slice : _shownFrom : _shownCount;\n trackBy: _trackByTableRowFn;\n index as i\n \"\n >\n <tr\n fd-table-row\n [hoverable]=\"!mobile\"\n [main]=\"mobile\"\n [attr.aria-selected]=\"_selectedMap[row[uniqueKey]]\"\n [activable]=\"!isMultiSelection\"\n (click)=\"!isMultiSelection && _toggleSelectRow(row)\"\n >\n <td fd-table-cell [fitContent]=\"mobile\">\n <fd-checkbox\n *ngIf=\"isMultiSelection\"\n [name]=\"uid + '-row-' + i\"\n [ngModel]=\"_selectedMap[row[uniqueKey]]\"\n (change)=\"_toggleSelectRow(row)\"\n ></fd-checkbox>\n </td>\n <td\n fd-table-cell\n *ngFor=\"let filter of _tableFilters.main; let rowIndex = index\"\n [attr.aria-rowindex]=\"rowIndex\"\n >\n <ng-container *ngIf=\"_columnDefMap.get(filter.key) as columnDef; else defaultColumnRenderer\">\n <ng-template\n [ngTemplateOutlet]=\"columnDef.templateRef\"\n [ngTemplateOutletContext]=\"{\n $implicit: row,\n key: filter.key,\n value: row[filter.key] || ''\n }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultColumnRenderer>\n {{ row[filter.key] || '' }}\n </ng-template>\n </td>\n </tr>\n\n <tr\n fd-table-row\n *ngIf=\"mobile && _tableFilters.secondary.length\"\n [secondary]=\"true\"\n [attr.aria-selected]=\"_selectedMap[row[uniqueKey]]\"\n >\n <td fd-table-cell></td>\n <td colspan=\"100%\" fd-table-cell [fitContent]=\"true\">\n <p fd-table-text *ngFor=\"let filter of _tableFilters.secondary\">\n <label>{{ filter.label }}:</label>\n {{ row[filter.key] || '' }}\n </p>\n </td>\n </tr>\n </ng-container>\n <tr\n fd-table-row\n *ngIf=\"displayedData.length && mobile && _shownCount && _shownCount !== displayedData.length\"\n >\n <td colspan=\"100%\">\n <div fd-bar barDesign=\"header-with-subheader\">\n <div fd-bar-middle>\n <fd-bar-element>\n <button\n fd-button\n fdType=\"transparent\"\n [label]=\"'platformVHD.selectTabMoreBtnLabel' | fdTranslate\"\n (click)=\"_showMoreElements()\"\n ></button>\n </fd-bar-element>\n </div>\n </div>\n </td>\n </tr>\n <ng-container *ngIf=\"loading && !displayedData.length\">\n <tr fd-table-row *fdkRepeat=\"3\">\n <td fd-table-cell *fdkRepeat=\"3\">\n <fd-skeleton style=\"margin: auto 0\" type=\"text\" textLines=\"1\" width=\"60%\"></fd-skeleton>\n </td>\n </tr>\n </ng-container>\n <tr fd-table-row *ngIf=\"!loading && !displayedData.length\">\n <td fd-table-cell colspan=\"100%\">\n <div class=\"fdp-value-help-dialog__empty-message\">\n {{ emptyTableMessage || ('platformVHD.searchTableEmptyMessage' | fdTranslate) }}\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", styles: [".fdp-value-help-dialog__advanced-filters .fd-col{padding-top:0}.fdp-value-help-dialog__content-holder fdp-select-tab{display:flex;flex-direction:column;overflow:hidden;height:100%}.fdp-value-help-dialog__content-holder .table-header{flex:0 0 auto}.fdp-value-help-dialog__content-holder .table-content{flex:1 1 auto;overflow:auto;min-height:5rem}.fdp-value-help-dialog__table-holder{padding-top:0;padding-bottom:0}.fdp-value-help-dialog__empty-message{padding:1rem 2rem}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.BarComponent, selector: "[fd-bar]", inputs: ["class", "barDesign", "inPage", "inHomePage", "size"] }, { kind: "directive", type: i5.BarMiddleDirective, selector: "[fd-bar-middle]" }, { kind: "directive", type: i5.BarElementDirective, selector: "fd-bar-element", inputs: ["fullWidth", "isTitle"] }, { kind: "component", type: i4.TitleComponent, selector: "h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h6[fd-title]", inputs: ["headerSize", "wrap"], exportAs: ["fd-title"] }, { kind: "component", type: i5$1.ButtonComponent, selector: "button[fd-button], a[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }, { kind: "component", type: i5$2.FormLabelComponent, selector: "[fd-form-label]", inputs: ["required", "colon", "checkbox", "radio", "alignLabelEnd", "inlineHelpTitle", "inlineHelpContent", "inlineHelpGlyph", "inlineHelpTriggers", "inlineHelpBodyPlacement", "inlineHelpPlacement", "inlineHelpLabel", "id"] }, { kind: "component", type: i7.TableComponent, selector: "table[fd-table]", inputs: ["noBorderX", "noBorderY", "noOuterBorder", "topBorder", "popIn", "responsive", "keys", "allCellsFocusable"], exportAs: ["fd-table"] }, { kind: "directive", type: i7.TableHeaderDirective, selector: "[fdTableHeader], [fd-table-header]", inputs: ["noBorderX", "noBorderY"] }, { kind: "directive", type: i7.TableBodyDirective, selector: "[fdTableBody], [fd-table-body]", inputs: ["noBorderX", "noBorderY"] }, { kind: "directive", type: i7.TableRowDirective, selector: "[fdTableRow], [fd-table-row]", inputs: ["activable", "highlightActive", "hoverable", "focusable", "main", "secondary", "active"] }, { kind: "directive", type: i7.TableCellDirective, selector: "[fdTableCell], [fd-table-cell]", inputs: ["noBorderX", "noBorderY", "activable", "focusable", "hoverable", "fitContent", "noPadding", "noData", "key"] }, { kind: "directive", type: i7.TableTextDirective, selector: "[fdTableText], [fd-table-text]", inputs: ["fdTableTextClass", "noWrap", "title", "maxWidth"] }, { kind: "component", type: i8.CheckboxComponent, selector: "fd-checkbox", inputs: ["ariaLabel", "value", "ariaLabelledBy", "ariaDescribedBy", "title", "inputId", "state", "name", "label", "disabled", "tristate", "tristateSelectable", "labelClass", "required", "values", "standalone"], outputs: ["focusChange"] }, { kind: "directive", type: i9.InfiniteScrollDirective, selector: "[fdInfiniteScroll]", inputs: ["scrollPercent", "scrollOffset"], outputs: ["onScrollAction"] }, { kind: "directive", type: i10.ScrollbarDirective, selector: "[fdScrollbar], [fd-scrollbar]", inputs: ["noHorizontalScroll", "noVerticalScroll", "alwaysVisible", "overrideTabindex"] }, { kind: "component", type: i11.SkeletonComponent, selector: "fd-skeleton", inputs: ["animated", "type", "textLines", "width", "height"] }, { kind: "directive", type: i2$1.RepeatDirective, selector: "[fdkRepeat], [fdRepeat]", inputs: ["fdkRepeat", "fdRepeat"] }, { kind: "pipe", type: i1.SlicePipe, name: "slice" }, { kind: "pipe", type: i13.FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
541
601
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectTabComponent, decorators: [{
542
602
  type: Component,
543
- args: [{ selector: 'fdp-select-tab', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"table-header\">\n <h5 fd-title role=\"heading\" aria-level=\"5\">\n {{ 'platformVHD.selectTabDisplayCountLabel' | fdTranslate : { count: displayedData.length } }}\n </h5>\n</div>\n<div\n class=\"fdp-value-help-dialog__table-holder table-content\"\n fd-scrollbar\n fdInfiniteScroll\n (onScrollAction)=\"_showMoreElements()\"\n [scrollPercent]=\"80\"\n role=\"table\"\n>\n <table\n fd-table\n [popIn]=\"mobile\"\n [noBorderX]=\"mobile\"\n [noBorderY]=\"false\"\n [attr.aria-colcount]=\"_tableFilters.main.length\"\n [attr.aria-rowcount]=\"displayedData.length\"\n role=\"grid\"\n aria-multiselectable=\"true\"\n [attr.aria-labelledby]=\"selectTabTitleId + ' ' + selectTabCountId\"\n >\n <label [id]=\"selectTabCountId\" fd-form-label class=\"fdp-value-help-dialog__hidden_label\">\n {{\n 'platformVHD.selectTabCountHiddenA11yLabel'\n | fdTranslate : { rowCount: displayedData.length, colCount: _tableFilters.main.length }\n }}\n </label>\n <label [id]=\"selectTabTitleId\" fd-form-label class=\"fdp-value-help-dialog__hidden_label\">\n {{ 'platformVHD.selectTabDisplayCountLabel' | fdTranslate : { count: displayedData.length } }}\n </label>\n <thead fd-table-header>\n <tr fd-table-row *ngIf=\"displayedData.length && _tableFilters\">\n <th fd-table-cell [fitContent]=\"mobile\">\n <fd-checkbox\n *ngIf=\"isMultiSelection\"\n [name]=\"uid + '-row-all'\"\n [tristate]=\"true\"\n [tristateSelectable]=\"false\"\n [ngModel]=\"_selectedAll\"\n (ngModelChange)=\"_toggleAllRows()\"\n ></fd-checkbox>\n </th>\n <th\n fd-table-cell\n *ngFor=\"let filter of _tableFilters.main; trackBy: _trackByFilterFn; let colindex = index\"\n [attr.aria-colindex]=\"colindex\"\n >\n {{ filter.label }}\n </th>\n </tr>\n </thead>\n <tbody fd-table-body>\n <ng-container\n *ngFor=\"\n let row of displayedData | slice : _shownFrom : _shownCount;\n trackBy: _trackByTableRowFn;\n index as i\n \"\n >\n <tr\n fd-table-row\n [hoverable]=\"!mobile\"\n [main]=\"mobile\"\n [attr.aria-selected]=\"_selectedMap[row[uniqueKey]]\"\n [activable]=\"!isMultiSelection\"\n (click)=\"!isMultiSelection && _toggleSelectRow(row)\"\n >\n <td fd-table-cell [fitContent]=\"mobile\">\n <fd-checkbox\n *ngIf=\"isMultiSelection\"\n [name]=\"uid + '-row-' + i\"\n [ngModel]=\"_selectedMap[row[uniqueKey]]\"\n (change)=\"_toggleSelectRow(row)\"\n ></fd-checkbox>\n </td>\n <td\n fd-table-cell\n *ngFor=\"let filter of _tableFilters.main; let rowIndex = index\"\n [attr.aria-rowindex]=\"rowIndex\"\n >\n {{ row[filter.key] || '' }}\n </td>\n </tr>\n\n <tr\n fd-table-row\n *ngIf=\"mobile && _tableFilters.secondary.length\"\n [secondary]=\"true\"\n [attr.aria-selected]=\"_selectedMap[row[uniqueKey]]\"\n >\n <td fd-table-cell></td>\n <td colspan=\"100%\" fd-table-cell [fitContent]=\"true\">\n <p fd-table-text *ngFor=\"let filter of _tableFilters.secondary\">\n <label>{{ filter.label }}:</label>\n {{ row[filter.key] || '' }}\n </p>\n </td>\n </tr>\n </ng-container>\n <tr\n fd-table-row\n *ngIf=\"displayedData.length && mobile && _shownCount && _shownCount !== displayedData.length\"\n >\n <td colspan=\"100%\">\n <div fd-bar barDesign=\"header-with-subheader\">\n <div fd-bar-middle>\n <fd-bar-element>\n <button\n fd-button\n fdType=\"transparent\"\n [label]=\"'platformVHD.selectTabMoreBtnLabel' | fdTranslate\"\n (click)=\"_showMoreElements()\"\n ></button>\n </fd-bar-element>\n </div>\n </div>\n </td>\n </tr>\n <ng-container *ngIf=\"loading && !displayedData.length\">\n <tr fd-table-row *fdkRepeat=\"3\">\n <td fd-table-cell *fdkRepeat=\"3\">\n <fd-skeleton style=\"margin: auto 0\" type=\"text\" textLines=\"1\" width=\"60%\"></fd-skeleton>\n </td>\n </tr>\n </ng-container>\n <tr fd-table-row *ngIf=\"!loading && !displayedData.length\">\n <td fd-table-cell colspan=\"100%\">\n <div class=\"fdp-value-help-dialog__empty-message\">\n {{ emptyTableMessage || ('platformVHD.searchTableEmptyMessage' | fdTranslate) }}\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", styles: [".fdp-value-help-dialog__advanced-filters .fd-col{padding-top:0}.fdp-value-help-dialog__content-holder fdp-select-tab{display:flex;flex-direction:column;overflow:hidden;height:100%}.fdp-value-help-dialog__content-holder .table-header{flex:0 0 auto}.fdp-value-help-dialog__content-holder .table-content{flex:1 1 auto;overflow:auto;min-height:5rem}.fdp-value-help-dialog__table-holder{padding-top:0;padding-bottom:0}.fdp-value-help-dialog__empty-message{padding:1rem 2rem}\n"] }]
603
+ args: [{ selector: 'fdp-select-tab', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [DestroyedService], template: "<div class=\"table-header\">\n <h5 fd-title role=\"heading\" aria-level=\"5\">\n {{ 'platformVHD.selectTabDisplayCountLabel' | fdTranslate : { count: displayedData.length } }}\n </h5>\n</div>\n<div\n class=\"fdp-value-help-dialog__table-holder table-content\"\n fd-scrollbar\n fdInfiniteScroll\n (onScrollAction)=\"_showMoreElements()\"\n [scrollPercent]=\"80\"\n role=\"table\"\n>\n <table\n fd-table\n [popIn]=\"mobile\"\n [noBorderX]=\"mobile\"\n [noBorderY]=\"false\"\n [attr.aria-colcount]=\"_tableFilters.main.length\"\n [attr.aria-rowcount]=\"displayedData.length\"\n role=\"grid\"\n aria-multiselectable=\"true\"\n [attr.aria-labelledby]=\"selectTabTitleId + ' ' + selectTabCountId\"\n >\n <label [id]=\"selectTabCountId\" fd-form-label class=\"fdp-value-help-dialog__hidden_label\">\n {{\n 'platformVHD.selectTabCountHiddenA11yLabel'\n | fdTranslate : { rowCount: displayedData.length, colCount: _tableFilters.main.length }\n }}\n </label>\n <label [id]=\"selectTabTitleId\" fd-form-label class=\"fdp-value-help-dialog__hidden_label\">\n {{ 'platformVHD.selectTabDisplayCountLabel' | fdTranslate : { count: displayedData.length } }}\n </label>\n <thead fd-table-header>\n <tr fd-table-row *ngIf=\"displayedData.length && _tableFilters\">\n <th fd-table-cell [fitContent]=\"mobile\">\n <fd-checkbox\n *ngIf=\"isMultiSelection\"\n [name]=\"uid + '-row-all'\"\n [tristate]=\"true\"\n [tristateSelectable]=\"false\"\n [ngModel]=\"_selectedAll\"\n (ngModelChange)=\"_toggleAllRows()\"\n ></fd-checkbox>\n </th>\n <th\n fd-table-cell\n *ngFor=\"let filter of _tableFilters.main; trackBy: _trackByFilterFn; let colindex = index\"\n [attr.aria-colindex]=\"colindex\"\n >\n {{ filter.label }}\n </th>\n </tr>\n </thead>\n <tbody fd-table-body>\n <ng-container\n *ngFor=\"\n let row of displayedData | slice : _shownFrom : _shownCount;\n trackBy: _trackByTableRowFn;\n index as i\n \"\n >\n <tr\n fd-table-row\n [hoverable]=\"!mobile\"\n [main]=\"mobile\"\n [attr.aria-selected]=\"_selectedMap[row[uniqueKey]]\"\n [activable]=\"!isMultiSelection\"\n (click)=\"!isMultiSelection && _toggleSelectRow(row)\"\n >\n <td fd-table-cell [fitContent]=\"mobile\">\n <fd-checkbox\n *ngIf=\"isMultiSelection\"\n [name]=\"uid + '-row-' + i\"\n [ngModel]=\"_selectedMap[row[uniqueKey]]\"\n (change)=\"_toggleSelectRow(row)\"\n ></fd-checkbox>\n </td>\n <td\n fd-table-cell\n *ngFor=\"let filter of _tableFilters.main; let rowIndex = index\"\n [attr.aria-rowindex]=\"rowIndex\"\n >\n <ng-container *ngIf=\"_columnDefMap.get(filter.key) as columnDef; else defaultColumnRenderer\">\n <ng-template\n [ngTemplateOutlet]=\"columnDef.templateRef\"\n [ngTemplateOutletContext]=\"{\n $implicit: row,\n key: filter.key,\n value: row[filter.key] || ''\n }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultColumnRenderer>\n {{ row[filter.key] || '' }}\n </ng-template>\n </td>\n </tr>\n\n <tr\n fd-table-row\n *ngIf=\"mobile && _tableFilters.secondary.length\"\n [secondary]=\"true\"\n [attr.aria-selected]=\"_selectedMap[row[uniqueKey]]\"\n >\n <td fd-table-cell></td>\n <td colspan=\"100%\" fd-table-cell [fitContent]=\"true\">\n <p fd-table-text *ngFor=\"let filter of _tableFilters.secondary\">\n <label>{{ filter.label }}:</label>\n {{ row[filter.key] || '' }}\n </p>\n </td>\n </tr>\n </ng-container>\n <tr\n fd-table-row\n *ngIf=\"displayedData.length && mobile && _shownCount && _shownCount !== displayedData.length\"\n >\n <td colspan=\"100%\">\n <div fd-bar barDesign=\"header-with-subheader\">\n <div fd-bar-middle>\n <fd-bar-element>\n <button\n fd-button\n fdType=\"transparent\"\n [label]=\"'platformVHD.selectTabMoreBtnLabel' | fdTranslate\"\n (click)=\"_showMoreElements()\"\n ></button>\n </fd-bar-element>\n </div>\n </div>\n </td>\n </tr>\n <ng-container *ngIf=\"loading && !displayedData.length\">\n <tr fd-table-row *fdkRepeat=\"3\">\n <td fd-table-cell *fdkRepeat=\"3\">\n <fd-skeleton style=\"margin: auto 0\" type=\"text\" textLines=\"1\" width=\"60%\"></fd-skeleton>\n </td>\n </tr>\n </ng-container>\n <tr fd-table-row *ngIf=\"!loading && !displayedData.length\">\n <td fd-table-cell colspan=\"100%\">\n <div class=\"fdp-value-help-dialog__empty-message\">\n {{ emptyTableMessage || ('platformVHD.searchTableEmptyMessage' | fdTranslate) }}\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", styles: [".fdp-value-help-dialog__advanced-filters .fd-col{padding-top:0}.fdp-value-help-dialog__content-holder fdp-select-tab{display:flex;flex-direction:column;overflow:hidden;height:100%}.fdp-value-help-dialog__content-holder .table-header{flex:0 0 auto}.fdp-value-help-dialog__content-holder .table-content{flex:1 1 auto;overflow:auto;min-height:5rem}.fdp-value-help-dialog__table-holder{padding-top:0;padding-bottom:0}.fdp-value-help-dialog__empty-message{padding:1rem 2rem}\n"] }]
544
604
  }], propDecorators: { selectTabTitleId: [{
545
605
  type: Input
546
606
  }], selectTabCountId: [{
@@ -763,8 +823,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
763
823
  type: Output
764
824
  }] } });
765
825
 
826
+ /* eslint-disable @typescript-eslint/member-ordering */
766
827
  let vhiUniqueId = 0;
767
- class PlatformValueHelpDialogComponent {
828
+ class PlatformValueHelpDialogComponent extends VhdComponent {
768
829
  /** Data source */
769
830
  set dataSource(value) {
770
831
  if (value) {
@@ -780,6 +841,7 @@ class PlatformValueHelpDialogComponent {
780
841
  }
781
842
  /** @hidden */
782
843
  constructor(elementRef, _changeDetectorRef, _dialogService, _rtlService) {
844
+ super();
783
845
  this.elementRef = elementRef;
784
846
  this._changeDetectorRef = _changeDetectorRef;
785
847
  this._dialogService = _dialogService;
@@ -1002,7 +1064,7 @@ class PlatformValueHelpDialogComponent {
1002
1064
  const nonEmptyFilters = new Map();
1003
1065
  if (!onlySearch) {
1004
1066
  this._displayedFilters
1005
- .filter(({ value }) => !!value && value.trim().length)
1067
+ .filter(({ value }) => !!value && typeof value === 'string' ? value.trim().length : value !== undefined)
1006
1068
  .forEach((e) => nonEmptyFilters.set(e.key, e.value));
1007
1069
  }
1008
1070
  if (this._mainSearch.length) {
@@ -1133,7 +1195,7 @@ class PlatformValueHelpDialogComponent {
1133
1195
  this.onDataReceived.emit();
1134
1196
  }));
1135
1197
  const dsSub = this.openDataStream()
1136
- .pipe(takeUntil(this._destroyed))
1198
+ .pipe(takeUntil$1(this._destroyed))
1137
1199
  .subscribe((data) => {
1138
1200
  this._displayedData = data.slice();
1139
1201
  this._changeDetectorRef.markForCheck();
@@ -1168,19 +1230,19 @@ class PlatformValueHelpDialogComponent {
1168
1230
  if (!this.activeDialog) {
1169
1231
  return;
1170
1232
  }
1171
- this.activeDialog.afterClosed.pipe(takeUntil(this._destroyed)).subscribe((value) => {
1233
+ this.activeDialog.afterClosed.pipe(takeUntil$1(this._destroyed)).subscribe((value) => {
1172
1234
  if (value) {
1173
1235
  this.value = value;
1174
1236
  this.valueChange.emit(value);
1175
1237
  }
1176
1238
  this._resetState();
1177
1239
  });
1178
- this.filters.changes.pipe(takeUntil(this._destroyed)).subscribe(() => {
1240
+ this.filters.changes.pipe(takeUntil$1(this._destroyed)).subscribe(() => {
1179
1241
  this._updateFilters();
1180
1242
  });
1181
1243
  if (this._rtlService) {
1182
1244
  this._dir = this._rtlService.rtl.getValue() ? 'rtl' : 'ltr';
1183
- this._rtlService.rtl.pipe(takeUntil(this._destroyed)).subscribe((isRtl) => {
1245
+ this._rtlService.rtl.pipe(takeUntil$1(this._destroyed)).subscribe((isRtl) => {
1184
1246
  this._dir = isRtl ? 'rtl' : 'ltr';
1185
1247
  });
1186
1248
  }
@@ -1242,10 +1304,20 @@ class PlatformValueHelpDialogComponent {
1242
1304
  }
1243
1305
  }
1244
1306
  PlatformValueHelpDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PlatformValueHelpDialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.DialogService }, { token: i2$1.RtlService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1245
- PlatformValueHelpDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PlatformValueHelpDialogComponent, selector: "fdp-value-help-dialog", inputs: { id: "id", value: "value", dialogTitle: "dialogTitle", initialTab: "initialTab", tabs: "tabs", isOpenAdvanced: "isOpenAdvanced", dataSource: "dataSource", dialogConfig: "dialogConfig", uniqueKey: "uniqueKey", headerId: "headerId", tokenViewField: "tokenViewField", tokenizerFn: "tokenizerFn", mobile: "mobile", formatToken: "formatToken", conditionDisplayFn: "conditionDisplayFn", selectTabTitle: "selectTabTitle", searchSelection: "searchSelection", searchTableEmptyMessage: "searchTableEmptyMessage", searchTablePageSize: "searchTablePageSize", searchTableMobileHeaders: "searchTableMobileHeaders", maxShownInitialFilters: "maxShownInitialFilters", loading: "loading", defineTabTitle: "defineTabTitle", defineStrategyLabels: "defineStrategyLabels" }, outputs: { valueChange: "valueChange", onDataRequested: "onDataRequested", onDataReceived: "onDataReceived" }, queries: [{ propertyName: "filters", predicate: VhdFilterComponent }], viewQueries: [{ propertyName: "dialogContainer", first: true, predicate: ["container"], descendants: true, read: TemplateRef }], usesOnChanges: true, ngImport: i0, template: "<ng-template let-dialog let-dialogConfig=\"dialogConfig\" #container>\n <fd-dialog [dialogConfig]=\"dialogConfig\" [dialogRef]=\"dialog\">\n <fd-dialog-header [dir]=\"_dir\">\n <ng-template fdkTemplate=\"header\">\n <ng-container *ngTemplateOutlet=\"mobile ? mobileDialogTitle : desktopDialogTitle\"></ng-container>\n </ng-template>\n </fd-dialog-header>\n <fd-dialog-body [dir]=\"_dir\">\n <ng-container *ngIf=\"!mobile\">\n <ng-container *ngTemplateOutlet=\"advancedSearchContent\"></ng-container>\n </ng-container>\n <div fd-scrollbar class=\"fdp-value-help-dialog__content-holder\">\n <ng-container *ngIf=\"mobile\">\n <ng-container *ngTemplateOutlet=\"advancedSearchContent\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"selectedTab === _tabTypes.selectFromList\">\n <ng-container *ngTemplateOutlet=\"selectionContent\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"selectedTab === _tabTypes.defineConditions\">\n <ng-container *ngTemplateOutlet=\"defineConditionsContent\"></ng-container>\n </ng-container>\n </div>\n </fd-dialog-body>\n <fd-dialog-footer [dir]=\"_dir\">\n <ng-template fdkTemplate=\"footer\">\n <div\n class=\"fdp-value-help-dialog__row fdp-value-help-dialog__selection-row\"\n [attr.aria-label]=\"'platformVHD.selectionBarLabel' | fdTranslate\"\n *ngIf=\"!isMobileAdvancedSearchActive\"\n >\n <h5 fd-title class=\"selected-and-condition-title\" [id]=\"id + '-selected-item'\">\n <ng-container *ngIf=\"hasSelectedAndConditions; else noItemsPanelTitle\">\n {{ 'platformVHD.selectedAndConditionLabel' | fdTranslate }}\n ({{ selectedItems.length + validConditions.length }})\n </ng-container>\n </h5>\n\n <div class=\"fdp-value-help-dialog__tokens-wrapper\">\n <div class=\"fdp-value-help-dialog__tokens\">\n <!-- Selected items -->\n <fd-tokenizer [tokenizerFocusable]=\"false\">\n <fd-token\n fd-toolbar-item\n fdOverflowPriority=\"high\"\n class=\"fdp-value-help-dialog__selection-token\"\n (onCloseClick)=\"removeSelected(selectedIndex)\"\n *ngFor=\"\n let item of selectedItems;\n index as selectedIndex;\n trackBy: _trackBySelectedFn\n \"\n >{{ !!tokenizerFn ? (item | displayFnPipe : tokenizerFn) : item[tokenViewField] }}\n </fd-token>\n <fd-token\n fd-toolbar-item\n fdOverflowPriority=\"high\"\n class=\"fdp-value-help-dialog__selection-token\"\n (onCloseClick)=\"removeCondition(conditionIndex)\"\n *ngFor=\"\n let item of validConditions;\n index as conditionIndex;\n trackBy: _trackByConditionFn\n \"\n >\n <ng-container\n [ngTemplateOutlet]=\"conditionValue\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </fd-token>\n <input fd-form-control fd-tokenizer-input [disabled]=\"!hasSelectedAndConditions\" />\n </fd-tokenizer>\n </div>\n <button\n (click)=\"clearSelectedAndConditionItems()\"\n class=\"fdp-value-help-dialog__tokens-clear\"\n fd-button\n [disabled]=\"!hasSelectedAndConditions\"\n fdType=\"transparent\"\n [title]=\"'platformVHD.footerClearSelectedTitle' | fdTranslate\"\n glyph=\"decline\"\n [attr.aria-label]=\"'platformVHD.footerClearSelectedAriaLabel' | fdTranslate\"\n ></button>\n </div>\n </div>\n <div class=\"fdp-value-help-dialog__actions-row\">\n <button\n fd-button\n data-go-advanced\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n *ngIf=\"mobile && isOpenAdvanced\"\n (click)=\"searchAdvanced()\"\n ></button>\n <button\n fd-button\n data-succes\n [label]=\"'platformVHD.successButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n *ngIf=\"selectedTab !== _tabTypes.advancedSearch\"\n (click)=\"success()\"\n ></button>\n <button\n fd-button\n data-dismiss-dialog\n fd-dialog-decisive-button\n [label]=\"'platformVHD.cancelButtonLabel' | fdTranslate\"\n fdType=\"transparent\"\n (click)=\"dismiss()\"\n ></button>\n </div>\n </ng-template>\n </fd-dialog-footer>\n </fd-dialog>\n</ng-template>\n\n<ng-template #noItemsPanelTitle>\n {{ 'platformVHD.selectedEmptyLabel' | fdTranslate }}\n</ng-template>\n\n<ng-template #advancedSearchContent>\n <ng-container *ngIf=\"isSelectionTab\">\n <form class=\"fdp-value-help-dialog__row fdp-value-help-dialog__advanced-search\" [id]=\"'advanced-search-' + id\">\n <fd-layout-grid *ngIf=\"!mobile || (mobile && !isOpenAdvanced)\">\n <div fdLayoutGridRow>\n <div [fdLayoutGridCol]=\"12\" [colMd]=\"12\" [colLg]=\"mobile ? 12 : 6\" [colXl]=\"mobile ? 12 : 6\">\n <fdp-search-field\n [placeholder]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n (searchSubmit)=\"search()\"\n (inputChange)=\"_mainSearch = $event.text\"\n ></fdp-search-field>\n </div>\n\n <div\n [fdLayoutGridCol]=\"12\"\n [colMd]=\"12\"\n [colLg]=\"mobile ? 12 : 6\"\n [colXl]=\"mobile ? 12 : 6\"\n *ngIf=\"_hasAdvanced\"\n class=\"fdp-value-help-dialog__advanced-actions\"\n >\n <fd-toolbar [clearBorder]=\"true\">\n <fd-toolbar-spacer></fd-toolbar-spacer>\n <button\n fd-toolbar-item\n fd-button\n fdType=\"transparent\"\n *ngIf=\"_hasAdvanced\"\n [label]=\"\n (mobile\n ? 'platformVHD.searchAdvancedSearchLabel'\n : isOpenAdvanced\n ? 'platformVHD.searchHideAdvancedSearchLabel'\n : 'platformVHD.searchShowAdvancedSearchLabel'\n ) | fdTranslate\n \"\n (click)=\"toggleAdvancedSearch()\"\n ></button>\n <button\n fd-toolbar-item\n type=\"submit\"\n fd-button\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n (click)=\"filter()\"\n ></button>\n </fd-toolbar>\n </div>\n </div>\n </fd-layout-grid>\n <div\n [id]=\"'advanced-search-content-' + id\"\n *ngIf=\"isOpenAdvanced && _hasAdvanced\"\n class=\"fdp-value-help-dialog__advanced-filters\"\n >\n <fd-busy-indicator [loading]=\"loadingState && _firstLoadingDone\" [block]=\"true\">\n <fd-layout-grid\n *ngIf=\"_firstLoadingDone; else filtersLoading\"\n [class.fdp-value-help-dialog__with-toggle-all]=\"filters.length > maxShownInitialFilters\"\n >\n <div fdLayoutGridRow>\n <ng-container\n *ngFor=\"\n let filter of _displayedFilters | slice : 0 : shownFilterCount + 1;\n trackBy: _trackByFilterFn\n \"\n >\n <ng-container *ngIf=\"filter.advanced\">\n <div [fdLayoutGridCol]=\"12\" [colMd]=\"12\" [colLg]=\"6\" [colXl]=\"3\">\n <label class=\"fd-form-group__header\" fd-form-label [for]=\"'input' + filter.key\"\n >{{ filter.label }}:</label\n >\n <input\n [(ngModel)]=\"filter.value\"\n fd-form-control\n type=\"text\"\n [name]=\"'search-by-' + filter.label\"\n [id]=\"'input' + filter.key\"\n />\n </div>\n </ng-container>\n </ng-container>\n\n <div\n colGrow\n [fdLayoutGridCol]=\"12\"\n [colMd]=\"12\"\n [colLg]=\"6\"\n [colXl]=\"3\"\n *ngIf=\"filters.length > maxShownInitialFilters\"\n class=\"fdp-value-help-dialog__toggle-filters\"\n >\n <button\n fd-button\n fdType=\"transparent\"\n (click)=\"toggleShownFilters()\"\n [label]=\"\n (isShowAllFilters\n ? 'platformVHD.searchHideAllAdvancedSearchLabel'\n : 'platformVHD.searchShowAllAdvancedSearchLabel'\n ) | fdTranslate\n \"\n ></button>\n </div>\n </div>\n </fd-layout-grid>\n\n <ng-template #filtersLoading>\n <fd-skeleton width=\"100%\" height=\"100px\">\n <svg:rect x=\"0\" y=\"0\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"0\" y=\"20\" rx=\"4\" width=\"25%\" height=\"16\" />\n\n <svg:rect x=\"35%\" y=\"0\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"35%\" y=\"20\" rx=\"4\" width=\"25%\" height=\"16\" />\n\n <svg:rect x=\"0\" y=\"60\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"0\" y=\"80\" rx=\"4\" width=\"25%\" height=\"16\" />\n </fd-skeleton>\n </ng-template>\n </fd-busy-indicator>\n </div>\n </form>\n </ng-container>\n</ng-template>\n\n<ng-template #selectionContent>\n <fd-busy-indicator\n [loading]=\"loadingState && _firstLoadingDone\"\n [block]=\"true\"\n class=\"fdp-value-help-dialog__table-busy-indicator\"\n >\n <fdp-select-tab\n [selected]=\"selectedItems\"\n [loading]=\"loadingState && !_firstLoadingDone\"\n [uid]=\"id\"\n [displayedData]=\"_displayedData\"\n [tabTitle]=\"selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate)\"\n [mobile]=\"mobile\"\n [selection]=\"searchSelection\"\n [emptyTableMessage]=\"searchTableEmptyMessage || ('platformVHD.searchTableEmptyMessage' | fdTranslate)\"\n [uniqueKey]=\"uniqueKey\"\n [pageSize]=\"searchTablePageSize\"\n [defaultMobileHeaders]=\"searchTableMobileHeaders\"\n [filters]=\"_displayedFilters\"\n (select)=\"onSelect($event)\"\n ></fdp-select-tab>\n </fd-busy-indicator>\n</ng-template>\n\n<ng-template #defineConditionsContent>\n <div fd-scrollbar>\n <fdp-define-tab\n [strategyLabels]=\"defineStrategyLabels\"\n [conditions]=\"conditionItems\"\n [uid]=\"id\"\n [tabTitle]=\"defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate)\"\n [mobile]=\"mobile\"\n (conditionChange)=\"onConditionChange($event)\"\n ></fdp-define-tab>\n </div>\n</ng-template>\n\n<ng-template #dialogTitleText>\n <h5 [attr.id]=\"headerId\" fd-title>{{ dialogTitle }}</h5>\n</ng-template>\n\n<ng-template #tabLink let-title=\"title\" let-type=\"type\">\n <ng-container *ngIf=\"selectedTab === type && showSelectionTab && showDefineTab\">\n <button\n fd-button\n glyph=\"navigation-left-arrow\"\n fdType=\"transparent\"\n (click)=\"switchTab()\"\n [title]=\"'platformVHD.selectMobileTabBackBtnTitle' | fdTranslate\"\n ></button>\n <h5 fd-title>{{ title }}</h5>\n </ng-container>\n <ng-container *ngIf=\"selectedTab !== type\">\n <a\n fd-list-link\n (click)=\"switchTab(type)\"\n [title]=\"'platformVHD.selectMobileTabBtnOpenDialogLabel' | fdTranslate\"\n >\n <span fd-list-title>{{ title }}</span>\n <i fd-list-icon glyph=\"navigation-right-arrow\"></i>\n </a>\n </ng-container>\n</ng-template>\n\n<ng-template #advancedHeader>\n <button fd-button glyph=\"navigation-left-arrow\" fdType=\"transparent\" (click)=\"toggleAdvancedSearch()\"></button>\n <h5 fd-title>{{ 'platformVHD.searchAdvancedSearchLabel' | fdTranslate }}</h5>\n</ng-template>\n\n<ng-template #desktopDialogTitle>\n <ng-container *ngTemplateOutlet=\"dialogTitleText\"></ng-container>\n <ng-container *ngTemplateOutlet=\"desktopTabs\"></ng-container>\n</ng-template>\n\n<ng-template #mobileDialogTitle>\n <div class=\"fdp-value-help-dialog__mobile-title\">\n <ng-container *ngIf=\"hasSelectedTab; else dialogTitleText\">\n <ng-container *ngTemplateOutlet=\"selectedTabHeader\"></ng-container>\n </ng-container>\n </div>\n <ng-container *ngTemplateOutlet=\"mobileTabs\"></ng-container>\n</ng-template>\n\n<ng-template #desktopTabs>\n <nav fd-tab-nav class=\"fdp-value-help-dialog__tabs\" *ngIf=\"showSelectionTab && showDefineTab\">\n <div fd-tab-item (click)=\"switchTab(_tabTypes.selectFromList)\" *ngIf=\"showSelectionTab\">\n <a\n fd-tab-link\n [active]=\"selectedTab === _tabTypes.selectFromList\"\n [tabindex]=\"selectedTab === _tabTypes.selectFromList ? '0' : '-1'\"\n ><span fd-tab-tag>{{ selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }}</span></a\n >\n </div>\n <div fd-tab-item (click)=\"switchTab(_tabTypes.defineConditions)\" *ngIf=\"showDefineTab\">\n <a\n fd-tab-link\n [active]=\"selectedTab === _tabTypes.defineConditions\"\n [tabindex]=\"selectedTab === _tabTypes.defineConditions ? '0' : '-1'\"\n ><span fd-tab-tag>{{ defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }}</span></a\n >\n </div>\n </nav>\n</ng-template>\n\n<ng-template #mobileTabs>\n <div *ngIf=\"!hasSelectedTab && showSelectionTab && showDefineTab\">\n <div fd-bar [inPage]=\"true\" *ngIf=\"showSelectionTab\">\n <div fd-bar-left>\n <fd-bar-element>\n {{ selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }}\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fd-button-bar\n glyph=\"navigation-right-arrow\"\n (click)=\"switchTab(_tabTypes.selectFromList)\"\n [title]=\"\n 'platformVHD.selectMobileTabTitle'\n | fdTranslate\n : { title: selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }\n \"\n ></fd-button-bar>\n </fd-bar-element>\n </div>\n </div>\n <div fd-bar [inPage]=\"true\" *ngIf=\"showDefineTab\">\n <div fd-bar-left>\n <fd-bar-element>\n {{ defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }}\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fd-button-bar\n glyph=\"navigation-right-arrow\"\n [title]=\"\n 'platformVHD.selectMobileTabTitle'\n | fdTranslate\n : { title: defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }\n \"\n (click)=\"switchTab(_tabTypes.defineConditions)\"\n >\n </fd-button-bar>\n </fd-bar-element>\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #selectedTabHeader>\n <ng-container [ngSwitch]=\"selectedTab\">\n <ng-container *ngSwitchCase=\"_tabTypes.selectFromList\">\n <ng-container\n *ngTemplateOutlet=\"\n tabLink;\n context: {\n title: selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate),\n type: selectedTab\n }\n \"\n ></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"_tabTypes.advancedSearch\">\n <ng-container *ngTemplateOutlet=\"advancedHeader\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"_tabTypes.defineConditions\">\n <ng-container\n *ngTemplateOutlet=\"\n tabLink;\n context: {\n title: defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate),\n type: selectedTab\n }\n \"\n ></ng-container>\n </ng-container>\n </ng-container>\n</ng-template>\n\n<ng-template #conditionValue let-item=\"item\">\n <span *ngIf=\"item.strategy !== 'empty' && item.strategy !== 'not_empty'; else emptyCondition\">\n {{ item | displayFnPipe : conditionDisplayFn : _displayedFilters }}\n </span>\n <ng-template #emptyCondition>\n <ng-container *ngIf=\"item.strategy === 'not_empty'; else emptyConditionText\">\n !(<ng-container *ngTemplateOutlet=\"emptyConditionText\"></ng-container>)\n </ng-container>\n </ng-template>\n</ng-template>\n\n<ng-template #emptyConditionText> &lt;{{ 'platformVHD.selectMobileConditionEmpty' | fdTranslate }}&gt; </ng-template>\n", styles: [".fdp-value-help-dialog .fd-dialog__body{display:flex;flex-direction:column;overflow:hidden}.fdp-value-help-dialog .fd-title--h5{padding:.5rem 0}.fdp-value-help-dialog .fd-toolbar{background:none;border:none;padding:.1735rem .5rem;height:auto;min-height:1.625rem}.fdp-value-help-dialog__row.fdp-value-help-dialog__advanced-search{padding-top:1rem}.fdp-value-help-dialog__advanced-search,.fdp-value-help-dialog .fd-dialog__body{background-color:#f7f7f7;background-color:var(--sapBackgroundColor, #f7f7f7)}.fdp-value-help-dialog__advanced-filters{padding-top:1rem}.fdp-value-help-dialog__advanced-filters label{height:auto}.fdp-value-help-dialog__toggle-filters{display:flex;justify-content:flex-end;align-items:flex-end}.fdp-value-help-dialog__toggle-filters .fd-button{margin-bottom:.25rem}.fdp-value-help-dialog__advanced-actions{display:flex;align-items:center;justify-content:flex-end}.fdp-value-help-dialog-mobile .fdp-value-help-dialog__advanced-actions{justify-content:flex-start}.fdp-value-help-dialog__advanced-actions .fd-toolbar{padding:0}.fdp-value-help-dialog .fd-bar.fd-bar--cozy{height:auto}.fdp-value-help-dialog .fd-dialog__header{box-shadow:none}.fdp-value-help-dialog .fd-dialog__header .fd-title{display:flex;align-items:center;padding-left:2rem;padding-right:2rem;min-height:2.5rem;box-shadow:none;border-bottom:none;background-color:#fff;background-color:var(--sapObjectHeader_Background, #fff);position:relative;z-index:2}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__mobile-title{display:flex;border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--sapGroup_TitleBorderColor, #d9d9d9)}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__mobile-title .fd-title{flex:1 1 auto;border:none}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__tabs{position:relative}.fdp-value-help-dialog .fd-dialog__header,.fdp-value-help-dialog .fd-dialog__footer{height:auto;flex-direction:column}.fdp-value-help-dialog .fd-dialog__header.fd-bar,.fdp-value-help-dialog .fd-dialog__footer.fd-bar{padding:0}.fdp-value-help-dialog .fd-dialog__footer{border-top:none}.fdp-value-help-dialog__content-holder{padding:0 2rem 1rem;display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden}.fdp-value-help-dialog__row{padding:0 2rem 1rem}.fdp-value-help-dialog__row.fdp-value-help-dialog__selection-row{background-color:#f7f7f7;background-color:var(--sapBackgroundColor, #f7f7f7)}.fdp-value-help-dialog__tokens-wrapper{display:flex}.fdp-value-help-dialog__tokens{flex:1 1 auto;overflow:hidden;align-items:center;border:1px solid #89919a;border-color:var(--sapContent_ForegroundBorderColor, #89919a);margin-right:.5rem;border-radius:.25rem;border-radius:var(--sapElement_BorderCornerRadius, .25rem);background:none}.fdp-value-help-dialog__tokens fd-toolbar{flex:1 1 auto;overflow:hidden}.fdp-value-help-dialog__tokens-clear{height:auto;min-width:2rem;padding:.125rem 0;justify-content:center}.fdp-value-help-dialog__actions-row{padding:.5rem 1rem;display:flex;align-items:center;justify-content:flex-end;border-top:.0625rem solid #d9d9d9;border-top:.0625rem solid var(--sapPageFooter_BorderColor, #d9d9d9)}.fdp-value-help-dialog__actions-row .fd-button{margin-left:.5rem}.fdp-value-help-dialog .fdp-value-help-dialog__hidden_label{display:none!important}.fdp-value-help-dialog__table-busy-indicator{height:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i5.BarComponent, selector: "[fd-bar]", inputs: ["class", "barDesign", "inPage", "inHomePage", "size"] }, { kind: "directive", type: i5.BarLeftDirective, selector: "[fd-bar-left]" }, { kind: "directive", type: i5.BarRightDirective, selector: "[fd-bar-right]" }, { kind: "directive", type: i5.BarElementDirective, selector: "fd-bar-element", inputs: ["fullWidth", "isTitle"] }, { kind: "component", type: i5.ButtonBarComponent, selector: "fd-button-bar", inputs: ["fullWidth", "fdType", "title", "ariaLabel", "ariaLabelledby", "id"] }, { kind: "component", type: i1$1.DialogComponent, selector: "fd-dialog", inputs: ["class", "dialogRef", "dialogConfig"] }, { kind: "component", type: i1$1.DialogBodyComponent, selector: "fd-dialog-body" }, { kind: "component", type: i1$1.DialogFooterComponent, selector: "fd-dialog-footer" }, { kind: "component", type: i1$1.DialogHeaderComponent, selector: "fd-dialog-header" }, { kind: "directive", type: i1$1.DialogDecisiveButtonDirective, selector: "[fd-dialog-decisive-button]" }, { kind: "component", type: i4.TitleComponent, selector: "h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h6[fd-title]", inputs: ["headerSize", "wrap"], exportAs: ["fd-title"] }, { kind: "directive", type: i2$1.TemplateDirective, selector: "[fdkTemplate], [fdTemplate]", inputs: ["fdkTemplate"] }, { kind: "component", type: i7$1.TabNavComponent, selector: "[fd-tab-nav]", inputs: ["class", "mode", "size"] }, { kind: "directive", type: i7$1.TabItemDirective, selector: "[fd-tab-item]", inputs: ["class", "tabItemState", "header", "disabled", "fdTabItemClass"] }, { kind: "directive", type: i7$1.TabLinkDirective, selector: "[fd-tab-link]", inputs: ["active", "disabled"], outputs: ["keyDown", "focused"] }, { kind: "directive", type: i7$1.TabTagDirective, selector: "[fdTabTag], [fd-tab-tag]" }, { kind: "component", type: i5$1.ButtonComponent, selector: "button[fd-button], a[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }, { kind: "component", type: i9$1.TokenComponent, selector: "fd-token", inputs: ["disabled", "selected", "readOnly", "deleteButtonLabel", "ariaRoleDescription"], outputs: ["onCloseClick", "onRemove", "onTokenClick", "onTokenKeydown", "elementFocused"] }, { kind: "component", type: i9$1.TokenizerComponent, selector: "fd-tokenizer", inputs: ["class", "disableKeyboardDeletion", "compactCollapse", "tokenizerFocusable", "inputValue", "glyph", "moreTerm", "open"], outputs: ["moreClickedEvent"] }, { kind: "directive", type: i9$1.TokenizerInputDirective, selector: "[fd-tokenizer-input]", inputs: ["class"] }, { kind: "component", type: i5$2.FormControlComponent, selector: "[fd-form-control]", inputs: ["state", "type", "class", "ariaLabel", "ariaLabelledBy"] }, { kind: "directive", type: i5$2.InputFormControlDirective, selector: "input[fd-form-control]" }, { kind: "component", type: i5$2.FormLabelComponent, selector: "[fd-form-label]", inputs: ["required", "colon", "checkbox", "radio", "alignLabelEnd", "inlineHelpTitle", "inlineHelpContent", "inlineHelpGlyph", "inlineHelpTriggers", "inlineHelpBodyPlacement", "inlineHelpPlacement", "inlineHelpLabel", "id"] }, { kind: "component", type: i11$1.BusyIndicatorComponent, selector: "fd-busy-indicator", inputs: ["loading", "size", "block", "ariaLabel", "title", "label", "ariaLive"] }, { kind: "component", type: i6.LayoutGridComponent, selector: "fd-layout-grid, [fdLayoutGrid]", inputs: ["class", "noGap", "noHorizontalGap", "noVerticalGap"] }, { kind: "directive", type: i6.LayoutGridColDirective, selector: "[fd-layout-grid-col], [fdLayoutGridCol]", inputs: ["fdLayoutGridCol", "colGrow", "colMd", "colLg", "colXl", "colOffset", "colOffsetMd", "colOffsetLg", "colOffsetXl", "class"] }, { kind: "directive", type: i6.LayoutGridRowDirective, selector: "[fd-layout-grid-row], [fdLayoutGridRow]" }, { kind: "component", type: i13$1.ToolbarComponent, selector: "fd-toolbar", inputs: ["titleId", "class", "shouldOverflow", "fdType", "hasTitle", "title", "active", "clearBorder", "forceOverflow", "tabindex"] }, { kind: "directive", type: i13$1.ToolbarItemDirective, selector: "[fd-toolbar-item], [fdOverflowGroup], [fdOverflowPriority]", inputs: ["fdOverflowPriority", "fdOverflowGroup"] }, { kind: "directive", type: i13$1.ToolbarSpacerDirective, selector: "fd-toolbar-spacer", inputs: ["width", "class", "fixed"] }, { kind: "directive", type: i14.ListTitleDirective, selector: "[fd-list-title], [fdListTitle]", inputs: ["wrap"] }, { kind: "directive", type: i14.ListIconDirective, selector: "[fdListIcon], [fd-list-icon]", inputs: ["glyph", "class", "role"] }, { kind: "directive", type: i14.ListLinkDirective, selector: "[fd-list-link], [fdListLink]", inputs: ["navigationIndicator", "navigated", "focusable"] }, { kind: "component", type: i15.SearchFieldComponent, selector: "fdp-search-field", inputs: ["categoryMode", "appearance", "placeholder", "mobile", "mobileConfig", "disableRefresh", "disableSearch", "suggestions", "dataSource", "inputText", "categories", "currentCategory", "categoryLabel", "hideCategoryLabel", "isLoading", "ariaLabel", "ariaLabelledby", "searchSuggestionMessage", "searchSuggestionNavigateMessage", "forceSearchButton", "disableSuggestionsFoundAnnouncer"], outputs: ["inputChange", "searchSubmit", "cancelSearch", "isOpenChange"] }, { kind: "directive", type: i10.ScrollbarDirective, selector: "[fdScrollbar], [fd-scrollbar]", inputs: ["noHorizontalScroll", "noVerticalScroll", "alwaysVisible", "overrideTabindex"] }, { kind: "component", type: i11.SkeletonComponent, selector: "fd-skeleton", inputs: ["animated", "type", "textLines", "width", "height"] }, { kind: "component", type: SelectTabComponent, selector: "fdp-select-tab", inputs: ["selectTabTitleId", "selectTabCountId", "selected", "loading", "filters", "selection", "emptyTableMessage", "uniqueKey", "pageSize", "defaultMobileHeaders", "displayedData"], outputs: ["select"] }, { kind: "component", type: DefineTabComponent, selector: "fdp-define-tab", inputs: ["titleId", "selectedId", "conditions", "included", "excluded", "strategyLabels"], outputs: ["includeChange", "excludeChange", "conditionChange"] }, { kind: "pipe", type: i1.SlicePipe, name: "slice" }, { kind: "pipe", type: i13.FdTranslatePipe, name: "fdTranslate" }, { kind: "pipe", type: i2$1.DisplayFnPipe, name: "displayFnPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1307
+ PlatformValueHelpDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PlatformValueHelpDialogComponent, selector: "fdp-value-help-dialog", inputs: { id: "id", value: "value", dialogTitle: "dialogTitle", initialTab: "initialTab", tabs: "tabs", isOpenAdvanced: "isOpenAdvanced", dataSource: "dataSource", dialogConfig: "dialogConfig", uniqueKey: "uniqueKey", headerId: "headerId", tokenViewField: "tokenViewField", tokenizerFn: "tokenizerFn", mobile: "mobile", formatToken: "formatToken", conditionDisplayFn: "conditionDisplayFn", selectTabTitle: "selectTabTitle", searchSelection: "searchSelection", searchTableEmptyMessage: "searchTableEmptyMessage", searchTablePageSize: "searchTablePageSize", searchTableMobileHeaders: "searchTableMobileHeaders", maxShownInitialFilters: "maxShownInitialFilters", loading: "loading", defineTabTitle: "defineTabTitle", defineStrategyLabels: "defineStrategyLabels" }, outputs: { valueChange: "valueChange", onDataRequested: "onDataRequested", onDataReceived: "onDataReceived" }, providers: [
1308
+ {
1309
+ provide: VhdComponent,
1310
+ useExisting: PlatformValueHelpDialogComponent
1311
+ }
1312
+ ], queries: [{ propertyName: "filters", predicate: VhdFilterComponent }, { propertyName: "columnDef", predicate: ValueHelpColumnDefDirective }], viewQueries: [{ propertyName: "dialogContainer", first: true, predicate: ["container"], descendants: true, read: TemplateRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-template let-dialog let-dialogConfig=\"dialogConfig\" #container>\n <fd-dialog [dialogConfig]=\"dialogConfig\" [dialogRef]=\"dialog\">\n <fd-dialog-header [dir]=\"_dir\">\n <ng-template fdkTemplate=\"header\">\n <ng-container *ngTemplateOutlet=\"mobile ? mobileDialogTitle : desktopDialogTitle\"></ng-container>\n </ng-template>\n </fd-dialog-header>\n <fd-dialog-body [dir]=\"_dir\">\n <ng-container *ngIf=\"!mobile\">\n <ng-container *ngTemplateOutlet=\"advancedSearchContent\"></ng-container>\n </ng-container>\n <div fd-scrollbar class=\"fdp-value-help-dialog__content-holder\">\n <ng-container *ngIf=\"mobile\">\n <ng-container *ngTemplateOutlet=\"advancedSearchContent\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"selectedTab === _tabTypes.selectFromList\">\n <ng-container *ngTemplateOutlet=\"selectionContent\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"selectedTab === _tabTypes.defineConditions\">\n <ng-container *ngTemplateOutlet=\"defineConditionsContent\"></ng-container>\n </ng-container>\n </div>\n </fd-dialog-body>\n <fd-dialog-footer [dir]=\"_dir\">\n <ng-template fdkTemplate=\"footer\">\n <div\n class=\"fdp-value-help-dialog__row fdp-value-help-dialog__selection-row\"\n [attr.aria-label]=\"'platformVHD.selectionBarLabel' | fdTranslate\"\n *ngIf=\"!isMobileAdvancedSearchActive\"\n >\n <h5 fd-title class=\"selected-and-condition-title\" [id]=\"id + '-selected-item'\">\n <ng-container *ngIf=\"hasSelectedAndConditions; else noItemsPanelTitle\">\n {{ 'platformVHD.selectedAndConditionLabel' | fdTranslate }}\n ({{ selectedItems.length + validConditions.length }})\n </ng-container>\n </h5>\n\n <div class=\"fdp-value-help-dialog__tokens-wrapper\">\n <div class=\"fdp-value-help-dialog__tokens\">\n <!-- Selected items -->\n <fd-tokenizer [tokenizerFocusable]=\"false\">\n <fd-token\n fd-toolbar-item\n fdOverflowPriority=\"high\"\n class=\"fdp-value-help-dialog__selection-token\"\n (onCloseClick)=\"removeSelected(selectedIndex)\"\n *ngFor=\"\n let item of selectedItems;\n index as selectedIndex;\n trackBy: _trackBySelectedFn\n \"\n >{{ !!tokenizerFn ? (item | displayFnPipe : tokenizerFn) : item[tokenViewField] }}\n </fd-token>\n <fd-token\n fd-toolbar-item\n fdOverflowPriority=\"high\"\n class=\"fdp-value-help-dialog__selection-token\"\n (onCloseClick)=\"removeCondition(conditionIndex)\"\n *ngFor=\"\n let item of validConditions;\n index as conditionIndex;\n trackBy: _trackByConditionFn\n \"\n >\n <ng-container\n [ngTemplateOutlet]=\"conditionValue\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </fd-token>\n <input fd-form-control fd-tokenizer-input [disabled]=\"!hasSelectedAndConditions\" />\n </fd-tokenizer>\n </div>\n <button\n (click)=\"clearSelectedAndConditionItems()\"\n class=\"fdp-value-help-dialog__tokens-clear\"\n fd-button\n [disabled]=\"!hasSelectedAndConditions\"\n fdType=\"transparent\"\n [title]=\"'platformVHD.footerClearSelectedTitle' | fdTranslate\"\n glyph=\"decline\"\n [attr.aria-label]=\"'platformVHD.footerClearSelectedAriaLabel' | fdTranslate\"\n ></button>\n </div>\n </div>\n <div class=\"fdp-value-help-dialog__actions-row\">\n <button\n fd-button\n data-go-advanced\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n *ngIf=\"mobile && isOpenAdvanced\"\n (click)=\"searchAdvanced()\"\n ></button>\n <button\n fd-button\n data-succes\n [label]=\"'platformVHD.successButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n *ngIf=\"selectedTab !== _tabTypes.advancedSearch\"\n (click)=\"success()\"\n ></button>\n <button\n fd-button\n data-dismiss-dialog\n fd-dialog-decisive-button\n [label]=\"'platformVHD.cancelButtonLabel' | fdTranslate\"\n fdType=\"transparent\"\n (click)=\"dismiss()\"\n ></button>\n </div>\n </ng-template>\n </fd-dialog-footer>\n </fd-dialog>\n</ng-template>\n\n<ng-template #noItemsPanelTitle>\n {{ 'platformVHD.selectedEmptyLabel' | fdTranslate }}\n</ng-template>\n\n<ng-template #advancedSearchContent>\n <ng-container *ngIf=\"isSelectionTab\">\n <form class=\"fdp-value-help-dialog__row fdp-value-help-dialog__advanced-search\" [id]=\"'advanced-search-' + id\">\n <fd-layout-grid *ngIf=\"!mobile || (mobile && !isOpenAdvanced)\">\n <div fdLayoutGridRow>\n <div [fdLayoutGridCol]=\"12\" [colMd]=\"12\" [colLg]=\"mobile ? 12 : 6\" [colXl]=\"mobile ? 12 : 6\">\n <fdp-search-field\n [placeholder]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n (searchSubmit)=\"search()\"\n (inputChange)=\"_mainSearch = $event.text\"\n ></fdp-search-field>\n </div>\n\n <div\n [fdLayoutGridCol]=\"12\"\n [colMd]=\"12\"\n [colLg]=\"mobile ? 12 : 6\"\n [colXl]=\"mobile ? 12 : 6\"\n *ngIf=\"_hasAdvanced\"\n class=\"fdp-value-help-dialog__advanced-actions\"\n >\n <fd-toolbar [clearBorder]=\"true\">\n <fd-toolbar-spacer></fd-toolbar-spacer>\n <button\n fd-toolbar-item\n fd-button\n fdType=\"transparent\"\n *ngIf=\"_hasAdvanced\"\n [label]=\"\n (mobile\n ? 'platformVHD.searchAdvancedSearchLabel'\n : isOpenAdvanced\n ? 'platformVHD.searchHideAdvancedSearchLabel'\n : 'platformVHD.searchShowAdvancedSearchLabel'\n ) | fdTranslate\n \"\n (click)=\"toggleAdvancedSearch()\"\n ></button>\n <button\n fd-toolbar-item\n type=\"submit\"\n fd-button\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n (click)=\"filter()\"\n ></button>\n </fd-toolbar>\n </div>\n </div>\n </fd-layout-grid>\n <div\n [id]=\"'advanced-search-content-' + id\"\n *ngIf=\"isOpenAdvanced && _hasAdvanced\"\n class=\"fdp-value-help-dialog__advanced-filters\"\n >\n <fd-busy-indicator [loading]=\"loadingState && _firstLoadingDone\" [block]=\"true\">\n <fd-layout-grid\n *ngIf=\"_firstLoadingDone; else filtersLoading\"\n [class.fdp-value-help-dialog__with-toggle-all]=\"filters.length > maxShownInitialFilters\"\n >\n <div fdLayoutGridRow>\n <ng-container\n *ngFor=\"\n let filter of _displayedFilters | slice : 0 : shownFilterCount + 1;\n trackBy: _trackByFilterFn\n \"\n >\n <ng-container *ngIf=\"filter.advanced\">\n <div [fdLayoutGridCol]=\"12\" [colMd]=\"12\" [colLg]=\"6\" [colXl]=\"3\">\n <label class=\"fd-form-group__header\" fd-form-label [for]=\"'input' + filter.key\"\n >{{ filter.label }}:</label\n >\n <ng-container *ngIf=\"filter.filterDef\">\n <ng-template\n [ngTemplateOutlet]=\"filter.filterDef.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: filter }\"\n ></ng-template>\n </ng-container>\n <ng-container *ngIf=\"!filter.filterDef\">\n <input\n [(ngModel)]=\"filter.value\"\n fd-form-control\n type=\"text\"\n [name]=\"'search-by-' + filter.label\"\n [id]=\"'input' + filter.key\"\n />\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n\n <div\n colGrow\n [fdLayoutGridCol]=\"12\"\n [colMd]=\"12\"\n [colLg]=\"6\"\n [colXl]=\"3\"\n *ngIf=\"filters.length > maxShownInitialFilters\"\n class=\"fdp-value-help-dialog__toggle-filters\"\n >\n <button\n fd-button\n fdType=\"transparent\"\n (click)=\"toggleShownFilters()\"\n [label]=\"\n (isShowAllFilters\n ? 'platformVHD.searchHideAllAdvancedSearchLabel'\n : 'platformVHD.searchShowAllAdvancedSearchLabel'\n ) | fdTranslate\n \"\n ></button>\n </div>\n </div>\n </fd-layout-grid>\n\n <ng-template #filtersLoading>\n <fd-skeleton width=\"100%\" height=\"100px\">\n <svg:rect x=\"0\" y=\"0\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"0\" y=\"20\" rx=\"4\" width=\"25%\" height=\"16\" />\n\n <svg:rect x=\"35%\" y=\"0\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"35%\" y=\"20\" rx=\"4\" width=\"25%\" height=\"16\" />\n\n <svg:rect x=\"0\" y=\"60\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"0\" y=\"80\" rx=\"4\" width=\"25%\" height=\"16\" />\n </fd-skeleton>\n </ng-template>\n </fd-busy-indicator>\n </div>\n </form>\n </ng-container>\n</ng-template>\n\n<ng-template #selectionContent>\n <fd-busy-indicator\n [loading]=\"loadingState && _firstLoadingDone\"\n [block]=\"true\"\n class=\"fdp-value-help-dialog__table-busy-indicator\"\n >\n <fdp-select-tab\n [selected]=\"selectedItems\"\n [loading]=\"loadingState && !_firstLoadingDone\"\n [uid]=\"id\"\n [displayedData]=\"_displayedData\"\n [tabTitle]=\"selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate)\"\n [mobile]=\"mobile\"\n [selection]=\"searchSelection\"\n [emptyTableMessage]=\"searchTableEmptyMessage || ('platformVHD.searchTableEmptyMessage' | fdTranslate)\"\n [uniqueKey]=\"uniqueKey\"\n [pageSize]=\"searchTablePageSize\"\n [defaultMobileHeaders]=\"searchTableMobileHeaders\"\n [filters]=\"_displayedFilters\"\n (select)=\"onSelect($event)\"\n ></fdp-select-tab>\n </fd-busy-indicator>\n</ng-template>\n\n<ng-template #defineConditionsContent>\n <div fd-scrollbar>\n <fdp-define-tab\n [strategyLabels]=\"defineStrategyLabels\"\n [conditions]=\"conditionItems\"\n [uid]=\"id\"\n [tabTitle]=\"defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate)\"\n [mobile]=\"mobile\"\n (conditionChange)=\"onConditionChange($event)\"\n ></fdp-define-tab>\n </div>\n</ng-template>\n\n<ng-template #dialogTitleText>\n <h5 [attr.id]=\"headerId\" fd-title>{{ dialogTitle }}</h5>\n</ng-template>\n\n<ng-template #tabLink let-title=\"title\" let-type=\"type\">\n <ng-container *ngIf=\"selectedTab === type && showSelectionTab && showDefineTab\">\n <button\n fd-button\n glyph=\"navigation-left-arrow\"\n fdType=\"transparent\"\n (click)=\"switchTab()\"\n [title]=\"'platformVHD.selectMobileTabBackBtnTitle' | fdTranslate\"\n ></button>\n <h5 fd-title>{{ title }}</h5>\n </ng-container>\n <ng-container *ngIf=\"selectedTab !== type\">\n <a\n fd-list-link\n (click)=\"switchTab(type)\"\n [title]=\"'platformVHD.selectMobileTabBtnOpenDialogLabel' | fdTranslate\"\n >\n <span fd-list-title>{{ title }}</span>\n <i fd-list-icon glyph=\"navigation-right-arrow\"></i>\n </a>\n </ng-container>\n</ng-template>\n\n<ng-template #advancedHeader>\n <button fd-button glyph=\"navigation-left-arrow\" fdType=\"transparent\" (click)=\"toggleAdvancedSearch()\"></button>\n <h5 fd-title>{{ 'platformVHD.searchAdvancedSearchLabel' | fdTranslate }}</h5>\n</ng-template>\n\n<ng-template #desktopDialogTitle>\n <ng-container *ngTemplateOutlet=\"dialogTitleText\"></ng-container>\n <ng-container *ngTemplateOutlet=\"desktopTabs\"></ng-container>\n</ng-template>\n\n<ng-template #mobileDialogTitle>\n <div class=\"fdp-value-help-dialog__mobile-title\">\n <ng-container *ngIf=\"hasSelectedTab; else dialogTitleText\">\n <ng-container *ngTemplateOutlet=\"selectedTabHeader\"></ng-container>\n </ng-container>\n </div>\n <ng-container *ngTemplateOutlet=\"mobileTabs\"></ng-container>\n</ng-template>\n\n<ng-template #desktopTabs>\n <nav fd-tab-nav class=\"fdp-value-help-dialog__tabs\" *ngIf=\"showSelectionTab && showDefineTab\">\n <div fd-tab-item (click)=\"switchTab(_tabTypes.selectFromList)\" *ngIf=\"showSelectionTab\">\n <a\n fd-tab-link\n [active]=\"selectedTab === _tabTypes.selectFromList\"\n [tabindex]=\"selectedTab === _tabTypes.selectFromList ? '0' : '-1'\"\n ><span fd-tab-tag>{{ selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }}</span></a\n >\n </div>\n <div fd-tab-item (click)=\"switchTab(_tabTypes.defineConditions)\" *ngIf=\"showDefineTab\">\n <a\n fd-tab-link\n [active]=\"selectedTab === _tabTypes.defineConditions\"\n [tabindex]=\"selectedTab === _tabTypes.defineConditions ? '0' : '-1'\"\n ><span fd-tab-tag>{{ defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }}</span></a\n >\n </div>\n </nav>\n</ng-template>\n\n<ng-template #mobileTabs>\n <div *ngIf=\"!hasSelectedTab && showSelectionTab && showDefineTab\">\n <div fd-bar [inPage]=\"true\" *ngIf=\"showSelectionTab\">\n <div fd-bar-left>\n <fd-bar-element>\n {{ selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }}\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fd-button-bar\n glyph=\"navigation-right-arrow\"\n (click)=\"switchTab(_tabTypes.selectFromList)\"\n [title]=\"\n 'platformVHD.selectMobileTabTitle'\n | fdTranslate\n : { title: selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }\n \"\n ></fd-button-bar>\n </fd-bar-element>\n </div>\n </div>\n <div fd-bar [inPage]=\"true\" *ngIf=\"showDefineTab\">\n <div fd-bar-left>\n <fd-bar-element>\n {{ defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }}\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fd-button-bar\n glyph=\"navigation-right-arrow\"\n [title]=\"\n 'platformVHD.selectMobileTabTitle'\n | fdTranslate\n : { title: defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }\n \"\n (click)=\"switchTab(_tabTypes.defineConditions)\"\n >\n </fd-button-bar>\n </fd-bar-element>\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #selectedTabHeader>\n <ng-container [ngSwitch]=\"selectedTab\">\n <ng-container *ngSwitchCase=\"_tabTypes.selectFromList\">\n <ng-container\n *ngTemplateOutlet=\"\n tabLink;\n context: {\n title: selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate),\n type: selectedTab\n }\n \"\n ></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"_tabTypes.advancedSearch\">\n <ng-container *ngTemplateOutlet=\"advancedHeader\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"_tabTypes.defineConditions\">\n <ng-container\n *ngTemplateOutlet=\"\n tabLink;\n context: {\n title: defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate),\n type: selectedTab\n }\n \"\n ></ng-container>\n </ng-container>\n </ng-container>\n</ng-template>\n\n<ng-template #conditionValue let-item=\"item\">\n <span *ngIf=\"item.strategy !== 'empty' && item.strategy !== 'not_empty'; else emptyCondition\">\n {{ item | displayFnPipe : conditionDisplayFn : _displayedFilters }}\n </span>\n <ng-template #emptyCondition>\n <ng-container *ngIf=\"item.strategy === 'not_empty'; else emptyConditionText\">\n !(<ng-container *ngTemplateOutlet=\"emptyConditionText\"></ng-container>)\n </ng-container>\n </ng-template>\n</ng-template>\n\n<ng-template #emptyConditionText> &lt;{{ 'platformVHD.selectMobileConditionEmpty' | fdTranslate }}&gt; </ng-template>\n", styles: [".fdp-value-help-dialog .fd-dialog__body{display:flex;flex-direction:column;overflow:hidden}.fdp-value-help-dialog .fd-title--h5{padding:.5rem 0}.fdp-value-help-dialog .fd-toolbar{background:none;border:none;padding:.1735rem .5rem;height:auto;min-height:1.625rem}.fdp-value-help-dialog__row.fdp-value-help-dialog__advanced-search{padding-top:1rem}.fdp-value-help-dialog__advanced-search,.fdp-value-help-dialog .fd-dialog__body{background-color:#f7f7f7;background-color:var(--sapBackgroundColor, #f7f7f7)}.fdp-value-help-dialog__advanced-filters{padding-top:1rem}.fdp-value-help-dialog__advanced-filters label{height:auto}.fdp-value-help-dialog__toggle-filters{display:flex;justify-content:flex-end;align-items:flex-end}.fdp-value-help-dialog__toggle-filters .fd-button{margin-bottom:.25rem}.fdp-value-help-dialog__advanced-actions{display:flex;align-items:center;justify-content:flex-end}.fdp-value-help-dialog-mobile .fdp-value-help-dialog__advanced-actions{justify-content:flex-start}.fdp-value-help-dialog__advanced-actions .fd-toolbar{padding:0}.fdp-value-help-dialog .fd-bar.fd-bar--cozy{height:auto}.fdp-value-help-dialog .fd-dialog__header{box-shadow:none}.fdp-value-help-dialog .fd-dialog__header .fd-title{display:flex;align-items:center;padding-left:2rem;padding-right:2rem;min-height:2.5rem;box-shadow:none;border-bottom:none;background-color:#fff;background-color:var(--sapObjectHeader_Background, #fff);position:relative;z-index:2}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__mobile-title{display:flex;border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--sapGroup_TitleBorderColor, #d9d9d9)}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__mobile-title .fd-title{flex:1 1 auto;border:none}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__tabs{position:relative}.fdp-value-help-dialog .fd-dialog__header,.fdp-value-help-dialog .fd-dialog__footer{height:auto;flex-direction:column}.fdp-value-help-dialog .fd-dialog__header.fd-bar,.fdp-value-help-dialog .fd-dialog__footer.fd-bar{padding:0}.fdp-value-help-dialog .fd-dialog__footer{border-top:none}.fdp-value-help-dialog__content-holder{padding:0 2rem 1rem;display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden}.fdp-value-help-dialog__row{padding:0 2rem 1rem}.fdp-value-help-dialog__row.fdp-value-help-dialog__selection-row{background-color:#f7f7f7;background-color:var(--sapBackgroundColor, #f7f7f7)}.fdp-value-help-dialog__tokens-wrapper{display:flex}.fdp-value-help-dialog__tokens{flex:1 1 auto;overflow:hidden;align-items:center;border:1px solid #89919a;border-color:var(--sapContent_ForegroundBorderColor, #89919a);margin-right:.5rem;border-radius:.25rem;border-radius:var(--sapElement_BorderCornerRadius, .25rem);background:none}.fdp-value-help-dialog__tokens fd-toolbar{flex:1 1 auto;overflow:hidden}.fdp-value-help-dialog__tokens-clear{height:auto;min-width:2rem;padding:.125rem 0;justify-content:center}.fdp-value-help-dialog__actions-row{padding:.5rem 1rem;display:flex;align-items:center;justify-content:flex-end;border-top:.0625rem solid #d9d9d9;border-top:.0625rem solid var(--sapPageFooter_BorderColor, #d9d9d9)}.fdp-value-help-dialog__actions-row .fd-button{margin-left:.5rem}.fdp-value-help-dialog .fdp-value-help-dialog__hidden_label{display:none!important}.fdp-value-help-dialog__table-busy-indicator{height:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i5.BarComponent, selector: "[fd-bar]", inputs: ["class", "barDesign", "inPage", "inHomePage", "size"] }, { kind: "directive", type: i5.BarLeftDirective, selector: "[fd-bar-left]" }, { kind: "directive", type: i5.BarRightDirective, selector: "[fd-bar-right]" }, { kind: "directive", type: i5.BarElementDirective, selector: "fd-bar-element", inputs: ["fullWidth", "isTitle"] }, { kind: "component", type: i5.ButtonBarComponent, selector: "fd-button-bar", inputs: ["fullWidth", "fdType", "title", "ariaLabel", "ariaLabelledby", "id"] }, { kind: "component", type: i1$1.DialogComponent, selector: "fd-dialog", inputs: ["class", "dialogRef", "dialogConfig"] }, { kind: "component", type: i1$1.DialogBodyComponent, selector: "fd-dialog-body" }, { kind: "component", type: i1$1.DialogFooterComponent, selector: "fd-dialog-footer" }, { kind: "component", type: i1$1.DialogHeaderComponent, selector: "fd-dialog-header" }, { kind: "directive", type: i1$1.DialogDecisiveButtonDirective, selector: "[fd-dialog-decisive-button]" }, { kind: "component", type: i4.TitleComponent, selector: "h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h6[fd-title]", inputs: ["headerSize", "wrap"], exportAs: ["fd-title"] }, { kind: "directive", type: i2$1.TemplateDirective, selector: "[fdkTemplate], [fdTemplate]", inputs: ["fdkTemplate"] }, { kind: "component", type: i7$1.TabNavComponent, selector: "[fd-tab-nav]", inputs: ["class", "mode", "size"] }, { kind: "directive", type: i7$1.TabItemDirective, selector: "[fd-tab-item]", inputs: ["class", "tabItemState", "header", "disabled", "fdTabItemClass"] }, { kind: "directive", type: i7$1.TabLinkDirective, selector: "[fd-tab-link]", inputs: ["active", "disabled"], outputs: ["keyDown", "focused"] }, { kind: "directive", type: i7$1.TabTagDirective, selector: "[fdTabTag], [fd-tab-tag]" }, { kind: "component", type: i5$1.ButtonComponent, selector: "button[fd-button], a[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }, { kind: "component", type: i9$1.TokenComponent, selector: "fd-token", inputs: ["disabled", "selected", "readOnly", "deleteButtonLabel", "ariaRoleDescription"], outputs: ["onCloseClick", "onRemove", "onTokenClick", "onTokenKeydown", "elementFocused"] }, { kind: "component", type: i9$1.TokenizerComponent, selector: "fd-tokenizer", inputs: ["class", "disableKeyboardDeletion", "compactCollapse", "tokenizerFocusable", "inputValue", "glyph", "moreTerm", "open"], outputs: ["moreClickedEvent"] }, { kind: "directive", type: i9$1.TokenizerInputDirective, selector: "[fd-tokenizer-input]", inputs: ["class"] }, { kind: "component", type: i5$2.FormControlComponent, selector: "[fd-form-control]", inputs: ["state", "type", "class", "ariaLabel", "ariaLabelledBy"] }, { kind: "directive", type: i5$2.InputFormControlDirective, selector: "input[fd-form-control]" }, { kind: "component", type: i5$2.FormLabelComponent, selector: "[fd-form-label]", inputs: ["required", "colon", "checkbox", "radio", "alignLabelEnd", "inlineHelpTitle", "inlineHelpContent", "inlineHelpGlyph", "inlineHelpTriggers", "inlineHelpBodyPlacement", "inlineHelpPlacement", "inlineHelpLabel", "id"] }, { kind: "component", type: i11$1.BusyIndicatorComponent, selector: "fd-busy-indicator", inputs: ["loading", "size", "block", "ariaLabel", "title", "label", "ariaLive"] }, { kind: "component", type: i6.LayoutGridComponent, selector: "fd-layout-grid, [fdLayoutGrid]", inputs: ["class", "noGap", "noHorizontalGap", "noVerticalGap"] }, { kind: "directive", type: i6.LayoutGridColDirective, selector: "[fd-layout-grid-col], [fdLayoutGridCol]", inputs: ["fdLayoutGridCol", "colGrow", "colMd", "colLg", "colXl", "colOffset", "colOffsetMd", "colOffsetLg", "colOffsetXl", "class"] }, { kind: "directive", type: i6.LayoutGridRowDirective, selector: "[fd-layout-grid-row], [fdLayoutGridRow]" }, { kind: "component", type: i13$1.ToolbarComponent, selector: "fd-toolbar", inputs: ["titleId", "class", "shouldOverflow", "fdType", "hasTitle", "title", "active", "clearBorder", "forceOverflow", "tabindex"] }, { kind: "directive", type: i13$1.ToolbarItemDirective, selector: "[fd-toolbar-item], [fdOverflowGroup], [fdOverflowPriority]", inputs: ["fdOverflowPriority", "fdOverflowGroup"] }, { kind: "directive", type: i13$1.ToolbarSpacerDirective, selector: "fd-toolbar-spacer", inputs: ["width", "class", "fixed"] }, { kind: "directive", type: i14.ListTitleDirective, selector: "[fd-list-title], [fdListTitle]", inputs: ["wrap"] }, { kind: "directive", type: i14.ListIconDirective, selector: "[fdListIcon], [fd-list-icon]", inputs: ["glyph", "class", "role"] }, { kind: "directive", type: i14.ListLinkDirective, selector: "[fd-list-link], [fdListLink]", inputs: ["navigationIndicator", "navigated", "focusable"] }, { kind: "component", type: i15.SearchFieldComponent, selector: "fdp-search-field", inputs: ["categoryMode", "appearance", "placeholder", "mobile", "mobileConfig", "disableRefresh", "disableSearch", "suggestions", "dataSource", "inputText", "categories", "currentCategory", "categoryLabel", "hideCategoryLabel", "isLoading", "ariaLabel", "ariaLabelledby", "searchSuggestionMessage", "searchSuggestionNavigateMessage", "forceSearchButton", "disableSuggestionsFoundAnnouncer"], outputs: ["inputChange", "searchSubmit", "cancelSearch", "isOpenChange"] }, { kind: "directive", type: i10.ScrollbarDirective, selector: "[fdScrollbar], [fd-scrollbar]", inputs: ["noHorizontalScroll", "noVerticalScroll", "alwaysVisible", "overrideTabindex"] }, { kind: "component", type: i11.SkeletonComponent, selector: "fd-skeleton", inputs: ["animated", "type", "textLines", "width", "height"] }, { kind: "component", type: SelectTabComponent, selector: "fdp-select-tab", inputs: ["selectTabTitleId", "selectTabCountId", "selected", "loading", "filters", "selection", "emptyTableMessage", "uniqueKey", "pageSize", "defaultMobileHeaders", "displayedData"], outputs: ["select"] }, { kind: "component", type: DefineTabComponent, selector: "fdp-define-tab", inputs: ["titleId", "selectedId", "conditions", "included", "excluded", "strategyLabels"], outputs: ["includeChange", "excludeChange", "conditionChange"] }, { kind: "pipe", type: i1.SlicePipe, name: "slice" }, { kind: "pipe", type: i13.FdTranslatePipe, name: "fdTranslate" }, { kind: "pipe", type: i2$1.DisplayFnPipe, name: "displayFnPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1246
1313
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PlatformValueHelpDialogComponent, decorators: [{
1247
1314
  type: Component,
1248
- args: [{ selector: 'fdp-value-help-dialog', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template let-dialog let-dialogConfig=\"dialogConfig\" #container>\n <fd-dialog [dialogConfig]=\"dialogConfig\" [dialogRef]=\"dialog\">\n <fd-dialog-header [dir]=\"_dir\">\n <ng-template fdkTemplate=\"header\">\n <ng-container *ngTemplateOutlet=\"mobile ? mobileDialogTitle : desktopDialogTitle\"></ng-container>\n </ng-template>\n </fd-dialog-header>\n <fd-dialog-body [dir]=\"_dir\">\n <ng-container *ngIf=\"!mobile\">\n <ng-container *ngTemplateOutlet=\"advancedSearchContent\"></ng-container>\n </ng-container>\n <div fd-scrollbar class=\"fdp-value-help-dialog__content-holder\">\n <ng-container *ngIf=\"mobile\">\n <ng-container *ngTemplateOutlet=\"advancedSearchContent\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"selectedTab === _tabTypes.selectFromList\">\n <ng-container *ngTemplateOutlet=\"selectionContent\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"selectedTab === _tabTypes.defineConditions\">\n <ng-container *ngTemplateOutlet=\"defineConditionsContent\"></ng-container>\n </ng-container>\n </div>\n </fd-dialog-body>\n <fd-dialog-footer [dir]=\"_dir\">\n <ng-template fdkTemplate=\"footer\">\n <div\n class=\"fdp-value-help-dialog__row fdp-value-help-dialog__selection-row\"\n [attr.aria-label]=\"'platformVHD.selectionBarLabel' | fdTranslate\"\n *ngIf=\"!isMobileAdvancedSearchActive\"\n >\n <h5 fd-title class=\"selected-and-condition-title\" [id]=\"id + '-selected-item'\">\n <ng-container *ngIf=\"hasSelectedAndConditions; else noItemsPanelTitle\">\n {{ 'platformVHD.selectedAndConditionLabel' | fdTranslate }}\n ({{ selectedItems.length + validConditions.length }})\n </ng-container>\n </h5>\n\n <div class=\"fdp-value-help-dialog__tokens-wrapper\">\n <div class=\"fdp-value-help-dialog__tokens\">\n <!-- Selected items -->\n <fd-tokenizer [tokenizerFocusable]=\"false\">\n <fd-token\n fd-toolbar-item\n fdOverflowPriority=\"high\"\n class=\"fdp-value-help-dialog__selection-token\"\n (onCloseClick)=\"removeSelected(selectedIndex)\"\n *ngFor=\"\n let item of selectedItems;\n index as selectedIndex;\n trackBy: _trackBySelectedFn\n \"\n >{{ !!tokenizerFn ? (item | displayFnPipe : tokenizerFn) : item[tokenViewField] }}\n </fd-token>\n <fd-token\n fd-toolbar-item\n fdOverflowPriority=\"high\"\n class=\"fdp-value-help-dialog__selection-token\"\n (onCloseClick)=\"removeCondition(conditionIndex)\"\n *ngFor=\"\n let item of validConditions;\n index as conditionIndex;\n trackBy: _trackByConditionFn\n \"\n >\n <ng-container\n [ngTemplateOutlet]=\"conditionValue\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </fd-token>\n <input fd-form-control fd-tokenizer-input [disabled]=\"!hasSelectedAndConditions\" />\n </fd-tokenizer>\n </div>\n <button\n (click)=\"clearSelectedAndConditionItems()\"\n class=\"fdp-value-help-dialog__tokens-clear\"\n fd-button\n [disabled]=\"!hasSelectedAndConditions\"\n fdType=\"transparent\"\n [title]=\"'platformVHD.footerClearSelectedTitle' | fdTranslate\"\n glyph=\"decline\"\n [attr.aria-label]=\"'platformVHD.footerClearSelectedAriaLabel' | fdTranslate\"\n ></button>\n </div>\n </div>\n <div class=\"fdp-value-help-dialog__actions-row\">\n <button\n fd-button\n data-go-advanced\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n *ngIf=\"mobile && isOpenAdvanced\"\n (click)=\"searchAdvanced()\"\n ></button>\n <button\n fd-button\n data-succes\n [label]=\"'platformVHD.successButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n *ngIf=\"selectedTab !== _tabTypes.advancedSearch\"\n (click)=\"success()\"\n ></button>\n <button\n fd-button\n data-dismiss-dialog\n fd-dialog-decisive-button\n [label]=\"'platformVHD.cancelButtonLabel' | fdTranslate\"\n fdType=\"transparent\"\n (click)=\"dismiss()\"\n ></button>\n </div>\n </ng-template>\n </fd-dialog-footer>\n </fd-dialog>\n</ng-template>\n\n<ng-template #noItemsPanelTitle>\n {{ 'platformVHD.selectedEmptyLabel' | fdTranslate }}\n</ng-template>\n\n<ng-template #advancedSearchContent>\n <ng-container *ngIf=\"isSelectionTab\">\n <form class=\"fdp-value-help-dialog__row fdp-value-help-dialog__advanced-search\" [id]=\"'advanced-search-' + id\">\n <fd-layout-grid *ngIf=\"!mobile || (mobile && !isOpenAdvanced)\">\n <div fdLayoutGridRow>\n <div [fdLayoutGridCol]=\"12\" [colMd]=\"12\" [colLg]=\"mobile ? 12 : 6\" [colXl]=\"mobile ? 12 : 6\">\n <fdp-search-field\n [placeholder]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n (searchSubmit)=\"search()\"\n (inputChange)=\"_mainSearch = $event.text\"\n ></fdp-search-field>\n </div>\n\n <div\n [fdLayoutGridCol]=\"12\"\n [colMd]=\"12\"\n [colLg]=\"mobile ? 12 : 6\"\n [colXl]=\"mobile ? 12 : 6\"\n *ngIf=\"_hasAdvanced\"\n class=\"fdp-value-help-dialog__advanced-actions\"\n >\n <fd-toolbar [clearBorder]=\"true\">\n <fd-toolbar-spacer></fd-toolbar-spacer>\n <button\n fd-toolbar-item\n fd-button\n fdType=\"transparent\"\n *ngIf=\"_hasAdvanced\"\n [label]=\"\n (mobile\n ? 'platformVHD.searchAdvancedSearchLabel'\n : isOpenAdvanced\n ? 'platformVHD.searchHideAdvancedSearchLabel'\n : 'platformVHD.searchShowAdvancedSearchLabel'\n ) | fdTranslate\n \"\n (click)=\"toggleAdvancedSearch()\"\n ></button>\n <button\n fd-toolbar-item\n type=\"submit\"\n fd-button\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n (click)=\"filter()\"\n ></button>\n </fd-toolbar>\n </div>\n </div>\n </fd-layout-grid>\n <div\n [id]=\"'advanced-search-content-' + id\"\n *ngIf=\"isOpenAdvanced && _hasAdvanced\"\n class=\"fdp-value-help-dialog__advanced-filters\"\n >\n <fd-busy-indicator [loading]=\"loadingState && _firstLoadingDone\" [block]=\"true\">\n <fd-layout-grid\n *ngIf=\"_firstLoadingDone; else filtersLoading\"\n [class.fdp-value-help-dialog__with-toggle-all]=\"filters.length > maxShownInitialFilters\"\n >\n <div fdLayoutGridRow>\n <ng-container\n *ngFor=\"\n let filter of _displayedFilters | slice : 0 : shownFilterCount + 1;\n trackBy: _trackByFilterFn\n \"\n >\n <ng-container *ngIf=\"filter.advanced\">\n <div [fdLayoutGridCol]=\"12\" [colMd]=\"12\" [colLg]=\"6\" [colXl]=\"3\">\n <label class=\"fd-form-group__header\" fd-form-label [for]=\"'input' + filter.key\"\n >{{ filter.label }}:</label\n >\n <input\n [(ngModel)]=\"filter.value\"\n fd-form-control\n type=\"text\"\n [name]=\"'search-by-' + filter.label\"\n [id]=\"'input' + filter.key\"\n />\n </div>\n </ng-container>\n </ng-container>\n\n <div\n colGrow\n [fdLayoutGridCol]=\"12\"\n [colMd]=\"12\"\n [colLg]=\"6\"\n [colXl]=\"3\"\n *ngIf=\"filters.length > maxShownInitialFilters\"\n class=\"fdp-value-help-dialog__toggle-filters\"\n >\n <button\n fd-button\n fdType=\"transparent\"\n (click)=\"toggleShownFilters()\"\n [label]=\"\n (isShowAllFilters\n ? 'platformVHD.searchHideAllAdvancedSearchLabel'\n : 'platformVHD.searchShowAllAdvancedSearchLabel'\n ) | fdTranslate\n \"\n ></button>\n </div>\n </div>\n </fd-layout-grid>\n\n <ng-template #filtersLoading>\n <fd-skeleton width=\"100%\" height=\"100px\">\n <svg:rect x=\"0\" y=\"0\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"0\" y=\"20\" rx=\"4\" width=\"25%\" height=\"16\" />\n\n <svg:rect x=\"35%\" y=\"0\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"35%\" y=\"20\" rx=\"4\" width=\"25%\" height=\"16\" />\n\n <svg:rect x=\"0\" y=\"60\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"0\" y=\"80\" rx=\"4\" width=\"25%\" height=\"16\" />\n </fd-skeleton>\n </ng-template>\n </fd-busy-indicator>\n </div>\n </form>\n </ng-container>\n</ng-template>\n\n<ng-template #selectionContent>\n <fd-busy-indicator\n [loading]=\"loadingState && _firstLoadingDone\"\n [block]=\"true\"\n class=\"fdp-value-help-dialog__table-busy-indicator\"\n >\n <fdp-select-tab\n [selected]=\"selectedItems\"\n [loading]=\"loadingState && !_firstLoadingDone\"\n [uid]=\"id\"\n [displayedData]=\"_displayedData\"\n [tabTitle]=\"selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate)\"\n [mobile]=\"mobile\"\n [selection]=\"searchSelection\"\n [emptyTableMessage]=\"searchTableEmptyMessage || ('platformVHD.searchTableEmptyMessage' | fdTranslate)\"\n [uniqueKey]=\"uniqueKey\"\n [pageSize]=\"searchTablePageSize\"\n [defaultMobileHeaders]=\"searchTableMobileHeaders\"\n [filters]=\"_displayedFilters\"\n (select)=\"onSelect($event)\"\n ></fdp-select-tab>\n </fd-busy-indicator>\n</ng-template>\n\n<ng-template #defineConditionsContent>\n <div fd-scrollbar>\n <fdp-define-tab\n [strategyLabels]=\"defineStrategyLabels\"\n [conditions]=\"conditionItems\"\n [uid]=\"id\"\n [tabTitle]=\"defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate)\"\n [mobile]=\"mobile\"\n (conditionChange)=\"onConditionChange($event)\"\n ></fdp-define-tab>\n </div>\n</ng-template>\n\n<ng-template #dialogTitleText>\n <h5 [attr.id]=\"headerId\" fd-title>{{ dialogTitle }}</h5>\n</ng-template>\n\n<ng-template #tabLink let-title=\"title\" let-type=\"type\">\n <ng-container *ngIf=\"selectedTab === type && showSelectionTab && showDefineTab\">\n <button\n fd-button\n glyph=\"navigation-left-arrow\"\n fdType=\"transparent\"\n (click)=\"switchTab()\"\n [title]=\"'platformVHD.selectMobileTabBackBtnTitle' | fdTranslate\"\n ></button>\n <h5 fd-title>{{ title }}</h5>\n </ng-container>\n <ng-container *ngIf=\"selectedTab !== type\">\n <a\n fd-list-link\n (click)=\"switchTab(type)\"\n [title]=\"'platformVHD.selectMobileTabBtnOpenDialogLabel' | fdTranslate\"\n >\n <span fd-list-title>{{ title }}</span>\n <i fd-list-icon glyph=\"navigation-right-arrow\"></i>\n </a>\n </ng-container>\n</ng-template>\n\n<ng-template #advancedHeader>\n <button fd-button glyph=\"navigation-left-arrow\" fdType=\"transparent\" (click)=\"toggleAdvancedSearch()\"></button>\n <h5 fd-title>{{ 'platformVHD.searchAdvancedSearchLabel' | fdTranslate }}</h5>\n</ng-template>\n\n<ng-template #desktopDialogTitle>\n <ng-container *ngTemplateOutlet=\"dialogTitleText\"></ng-container>\n <ng-container *ngTemplateOutlet=\"desktopTabs\"></ng-container>\n</ng-template>\n\n<ng-template #mobileDialogTitle>\n <div class=\"fdp-value-help-dialog__mobile-title\">\n <ng-container *ngIf=\"hasSelectedTab; else dialogTitleText\">\n <ng-container *ngTemplateOutlet=\"selectedTabHeader\"></ng-container>\n </ng-container>\n </div>\n <ng-container *ngTemplateOutlet=\"mobileTabs\"></ng-container>\n</ng-template>\n\n<ng-template #desktopTabs>\n <nav fd-tab-nav class=\"fdp-value-help-dialog__tabs\" *ngIf=\"showSelectionTab && showDefineTab\">\n <div fd-tab-item (click)=\"switchTab(_tabTypes.selectFromList)\" *ngIf=\"showSelectionTab\">\n <a\n fd-tab-link\n [active]=\"selectedTab === _tabTypes.selectFromList\"\n [tabindex]=\"selectedTab === _tabTypes.selectFromList ? '0' : '-1'\"\n ><span fd-tab-tag>{{ selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }}</span></a\n >\n </div>\n <div fd-tab-item (click)=\"switchTab(_tabTypes.defineConditions)\" *ngIf=\"showDefineTab\">\n <a\n fd-tab-link\n [active]=\"selectedTab === _tabTypes.defineConditions\"\n [tabindex]=\"selectedTab === _tabTypes.defineConditions ? '0' : '-1'\"\n ><span fd-tab-tag>{{ defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }}</span></a\n >\n </div>\n </nav>\n</ng-template>\n\n<ng-template #mobileTabs>\n <div *ngIf=\"!hasSelectedTab && showSelectionTab && showDefineTab\">\n <div fd-bar [inPage]=\"true\" *ngIf=\"showSelectionTab\">\n <div fd-bar-left>\n <fd-bar-element>\n {{ selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }}\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fd-button-bar\n glyph=\"navigation-right-arrow\"\n (click)=\"switchTab(_tabTypes.selectFromList)\"\n [title]=\"\n 'platformVHD.selectMobileTabTitle'\n | fdTranslate\n : { title: selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }\n \"\n ></fd-button-bar>\n </fd-bar-element>\n </div>\n </div>\n <div fd-bar [inPage]=\"true\" *ngIf=\"showDefineTab\">\n <div fd-bar-left>\n <fd-bar-element>\n {{ defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }}\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fd-button-bar\n glyph=\"navigation-right-arrow\"\n [title]=\"\n 'platformVHD.selectMobileTabTitle'\n | fdTranslate\n : { title: defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }\n \"\n (click)=\"switchTab(_tabTypes.defineConditions)\"\n >\n </fd-button-bar>\n </fd-bar-element>\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #selectedTabHeader>\n <ng-container [ngSwitch]=\"selectedTab\">\n <ng-container *ngSwitchCase=\"_tabTypes.selectFromList\">\n <ng-container\n *ngTemplateOutlet=\"\n tabLink;\n context: {\n title: selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate),\n type: selectedTab\n }\n \"\n ></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"_tabTypes.advancedSearch\">\n <ng-container *ngTemplateOutlet=\"advancedHeader\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"_tabTypes.defineConditions\">\n <ng-container\n *ngTemplateOutlet=\"\n tabLink;\n context: {\n title: defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate),\n type: selectedTab\n }\n \"\n ></ng-container>\n </ng-container>\n </ng-container>\n</ng-template>\n\n<ng-template #conditionValue let-item=\"item\">\n <span *ngIf=\"item.strategy !== 'empty' && item.strategy !== 'not_empty'; else emptyCondition\">\n {{ item | displayFnPipe : conditionDisplayFn : _displayedFilters }}\n </span>\n <ng-template #emptyCondition>\n <ng-container *ngIf=\"item.strategy === 'not_empty'; else emptyConditionText\">\n !(<ng-container *ngTemplateOutlet=\"emptyConditionText\"></ng-container>)\n </ng-container>\n </ng-template>\n</ng-template>\n\n<ng-template #emptyConditionText> &lt;{{ 'platformVHD.selectMobileConditionEmpty' | fdTranslate }}&gt; </ng-template>\n", styles: [".fdp-value-help-dialog .fd-dialog__body{display:flex;flex-direction:column;overflow:hidden}.fdp-value-help-dialog .fd-title--h5{padding:.5rem 0}.fdp-value-help-dialog .fd-toolbar{background:none;border:none;padding:.1735rem .5rem;height:auto;min-height:1.625rem}.fdp-value-help-dialog__row.fdp-value-help-dialog__advanced-search{padding-top:1rem}.fdp-value-help-dialog__advanced-search,.fdp-value-help-dialog .fd-dialog__body{background-color:#f7f7f7;background-color:var(--sapBackgroundColor, #f7f7f7)}.fdp-value-help-dialog__advanced-filters{padding-top:1rem}.fdp-value-help-dialog__advanced-filters label{height:auto}.fdp-value-help-dialog__toggle-filters{display:flex;justify-content:flex-end;align-items:flex-end}.fdp-value-help-dialog__toggle-filters .fd-button{margin-bottom:.25rem}.fdp-value-help-dialog__advanced-actions{display:flex;align-items:center;justify-content:flex-end}.fdp-value-help-dialog-mobile .fdp-value-help-dialog__advanced-actions{justify-content:flex-start}.fdp-value-help-dialog__advanced-actions .fd-toolbar{padding:0}.fdp-value-help-dialog .fd-bar.fd-bar--cozy{height:auto}.fdp-value-help-dialog .fd-dialog__header{box-shadow:none}.fdp-value-help-dialog .fd-dialog__header .fd-title{display:flex;align-items:center;padding-left:2rem;padding-right:2rem;min-height:2.5rem;box-shadow:none;border-bottom:none;background-color:#fff;background-color:var(--sapObjectHeader_Background, #fff);position:relative;z-index:2}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__mobile-title{display:flex;border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--sapGroup_TitleBorderColor, #d9d9d9)}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__mobile-title .fd-title{flex:1 1 auto;border:none}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__tabs{position:relative}.fdp-value-help-dialog .fd-dialog__header,.fdp-value-help-dialog .fd-dialog__footer{height:auto;flex-direction:column}.fdp-value-help-dialog .fd-dialog__header.fd-bar,.fdp-value-help-dialog .fd-dialog__footer.fd-bar{padding:0}.fdp-value-help-dialog .fd-dialog__footer{border-top:none}.fdp-value-help-dialog__content-holder{padding:0 2rem 1rem;display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden}.fdp-value-help-dialog__row{padding:0 2rem 1rem}.fdp-value-help-dialog__row.fdp-value-help-dialog__selection-row{background-color:#f7f7f7;background-color:var(--sapBackgroundColor, #f7f7f7)}.fdp-value-help-dialog__tokens-wrapper{display:flex}.fdp-value-help-dialog__tokens{flex:1 1 auto;overflow:hidden;align-items:center;border:1px solid #89919a;border-color:var(--sapContent_ForegroundBorderColor, #89919a);margin-right:.5rem;border-radius:.25rem;border-radius:var(--sapElement_BorderCornerRadius, .25rem);background:none}.fdp-value-help-dialog__tokens fd-toolbar{flex:1 1 auto;overflow:hidden}.fdp-value-help-dialog__tokens-clear{height:auto;min-width:2rem;padding:.125rem 0;justify-content:center}.fdp-value-help-dialog__actions-row{padding:.5rem 1rem;display:flex;align-items:center;justify-content:flex-end;border-top:.0625rem solid #d9d9d9;border-top:.0625rem solid var(--sapPageFooter_BorderColor, #d9d9d9)}.fdp-value-help-dialog__actions-row .fd-button{margin-left:.5rem}.fdp-value-help-dialog .fdp-value-help-dialog__hidden_label{display:none!important}.fdp-value-help-dialog__table-busy-indicator{height:100%}\n"] }]
1315
+ args: [{ selector: 'fdp-value-help-dialog', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
1316
+ {
1317
+ provide: VhdComponent,
1318
+ useExisting: PlatformValueHelpDialogComponent
1319
+ }
1320
+ ], template: "<ng-template let-dialog let-dialogConfig=\"dialogConfig\" #container>\n <fd-dialog [dialogConfig]=\"dialogConfig\" [dialogRef]=\"dialog\">\n <fd-dialog-header [dir]=\"_dir\">\n <ng-template fdkTemplate=\"header\">\n <ng-container *ngTemplateOutlet=\"mobile ? mobileDialogTitle : desktopDialogTitle\"></ng-container>\n </ng-template>\n </fd-dialog-header>\n <fd-dialog-body [dir]=\"_dir\">\n <ng-container *ngIf=\"!mobile\">\n <ng-container *ngTemplateOutlet=\"advancedSearchContent\"></ng-container>\n </ng-container>\n <div fd-scrollbar class=\"fdp-value-help-dialog__content-holder\">\n <ng-container *ngIf=\"mobile\">\n <ng-container *ngTemplateOutlet=\"advancedSearchContent\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"selectedTab === _tabTypes.selectFromList\">\n <ng-container *ngTemplateOutlet=\"selectionContent\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"selectedTab === _tabTypes.defineConditions\">\n <ng-container *ngTemplateOutlet=\"defineConditionsContent\"></ng-container>\n </ng-container>\n </div>\n </fd-dialog-body>\n <fd-dialog-footer [dir]=\"_dir\">\n <ng-template fdkTemplate=\"footer\">\n <div\n class=\"fdp-value-help-dialog__row fdp-value-help-dialog__selection-row\"\n [attr.aria-label]=\"'platformVHD.selectionBarLabel' | fdTranslate\"\n *ngIf=\"!isMobileAdvancedSearchActive\"\n >\n <h5 fd-title class=\"selected-and-condition-title\" [id]=\"id + '-selected-item'\">\n <ng-container *ngIf=\"hasSelectedAndConditions; else noItemsPanelTitle\">\n {{ 'platformVHD.selectedAndConditionLabel' | fdTranslate }}\n ({{ selectedItems.length + validConditions.length }})\n </ng-container>\n </h5>\n\n <div class=\"fdp-value-help-dialog__tokens-wrapper\">\n <div class=\"fdp-value-help-dialog__tokens\">\n <!-- Selected items -->\n <fd-tokenizer [tokenizerFocusable]=\"false\">\n <fd-token\n fd-toolbar-item\n fdOverflowPriority=\"high\"\n class=\"fdp-value-help-dialog__selection-token\"\n (onCloseClick)=\"removeSelected(selectedIndex)\"\n *ngFor=\"\n let item of selectedItems;\n index as selectedIndex;\n trackBy: _trackBySelectedFn\n \"\n >{{ !!tokenizerFn ? (item | displayFnPipe : tokenizerFn) : item[tokenViewField] }}\n </fd-token>\n <fd-token\n fd-toolbar-item\n fdOverflowPriority=\"high\"\n class=\"fdp-value-help-dialog__selection-token\"\n (onCloseClick)=\"removeCondition(conditionIndex)\"\n *ngFor=\"\n let item of validConditions;\n index as conditionIndex;\n trackBy: _trackByConditionFn\n \"\n >\n <ng-container\n [ngTemplateOutlet]=\"conditionValue\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </fd-token>\n <input fd-form-control fd-tokenizer-input [disabled]=\"!hasSelectedAndConditions\" />\n </fd-tokenizer>\n </div>\n <button\n (click)=\"clearSelectedAndConditionItems()\"\n class=\"fdp-value-help-dialog__tokens-clear\"\n fd-button\n [disabled]=\"!hasSelectedAndConditions\"\n fdType=\"transparent\"\n [title]=\"'platformVHD.footerClearSelectedTitle' | fdTranslate\"\n glyph=\"decline\"\n [attr.aria-label]=\"'platformVHD.footerClearSelectedAriaLabel' | fdTranslate\"\n ></button>\n </div>\n </div>\n <div class=\"fdp-value-help-dialog__actions-row\">\n <button\n fd-button\n data-go-advanced\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n *ngIf=\"mobile && isOpenAdvanced\"\n (click)=\"searchAdvanced()\"\n ></button>\n <button\n fd-button\n data-succes\n [label]=\"'platformVHD.successButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n *ngIf=\"selectedTab !== _tabTypes.advancedSearch\"\n (click)=\"success()\"\n ></button>\n <button\n fd-button\n data-dismiss-dialog\n fd-dialog-decisive-button\n [label]=\"'platformVHD.cancelButtonLabel' | fdTranslate\"\n fdType=\"transparent\"\n (click)=\"dismiss()\"\n ></button>\n </div>\n </ng-template>\n </fd-dialog-footer>\n </fd-dialog>\n</ng-template>\n\n<ng-template #noItemsPanelTitle>\n {{ 'platformVHD.selectedEmptyLabel' | fdTranslate }}\n</ng-template>\n\n<ng-template #advancedSearchContent>\n <ng-container *ngIf=\"isSelectionTab\">\n <form class=\"fdp-value-help-dialog__row fdp-value-help-dialog__advanced-search\" [id]=\"'advanced-search-' + id\">\n <fd-layout-grid *ngIf=\"!mobile || (mobile && !isOpenAdvanced)\">\n <div fdLayoutGridRow>\n <div [fdLayoutGridCol]=\"12\" [colMd]=\"12\" [colLg]=\"mobile ? 12 : 6\" [colXl]=\"mobile ? 12 : 6\">\n <fdp-search-field\n [placeholder]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n (searchSubmit)=\"search()\"\n (inputChange)=\"_mainSearch = $event.text\"\n ></fdp-search-field>\n </div>\n\n <div\n [fdLayoutGridCol]=\"12\"\n [colMd]=\"12\"\n [colLg]=\"mobile ? 12 : 6\"\n [colXl]=\"mobile ? 12 : 6\"\n *ngIf=\"_hasAdvanced\"\n class=\"fdp-value-help-dialog__advanced-actions\"\n >\n <fd-toolbar [clearBorder]=\"true\">\n <fd-toolbar-spacer></fd-toolbar-spacer>\n <button\n fd-toolbar-item\n fd-button\n fdType=\"transparent\"\n *ngIf=\"_hasAdvanced\"\n [label]=\"\n (mobile\n ? 'platformVHD.searchAdvancedSearchLabel'\n : isOpenAdvanced\n ? 'platformVHD.searchHideAdvancedSearchLabel'\n : 'platformVHD.searchShowAdvancedSearchLabel'\n ) | fdTranslate\n \"\n (click)=\"toggleAdvancedSearch()\"\n ></button>\n <button\n fd-toolbar-item\n type=\"submit\"\n fd-button\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n fdType=\"emphasized\"\n [label]=\"'platformVHD.searchButtonLabel' | fdTranslate\"\n (click)=\"filter()\"\n ></button>\n </fd-toolbar>\n </div>\n </div>\n </fd-layout-grid>\n <div\n [id]=\"'advanced-search-content-' + id\"\n *ngIf=\"isOpenAdvanced && _hasAdvanced\"\n class=\"fdp-value-help-dialog__advanced-filters\"\n >\n <fd-busy-indicator [loading]=\"loadingState && _firstLoadingDone\" [block]=\"true\">\n <fd-layout-grid\n *ngIf=\"_firstLoadingDone; else filtersLoading\"\n [class.fdp-value-help-dialog__with-toggle-all]=\"filters.length > maxShownInitialFilters\"\n >\n <div fdLayoutGridRow>\n <ng-container\n *ngFor=\"\n let filter of _displayedFilters | slice : 0 : shownFilterCount + 1;\n trackBy: _trackByFilterFn\n \"\n >\n <ng-container *ngIf=\"filter.advanced\">\n <div [fdLayoutGridCol]=\"12\" [colMd]=\"12\" [colLg]=\"6\" [colXl]=\"3\">\n <label class=\"fd-form-group__header\" fd-form-label [for]=\"'input' + filter.key\"\n >{{ filter.label }}:</label\n >\n <ng-container *ngIf=\"filter.filterDef\">\n <ng-template\n [ngTemplateOutlet]=\"filter.filterDef.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: filter }\"\n ></ng-template>\n </ng-container>\n <ng-container *ngIf=\"!filter.filterDef\">\n <input\n [(ngModel)]=\"filter.value\"\n fd-form-control\n type=\"text\"\n [name]=\"'search-by-' + filter.label\"\n [id]=\"'input' + filter.key\"\n />\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n\n <div\n colGrow\n [fdLayoutGridCol]=\"12\"\n [colMd]=\"12\"\n [colLg]=\"6\"\n [colXl]=\"3\"\n *ngIf=\"filters.length > maxShownInitialFilters\"\n class=\"fdp-value-help-dialog__toggle-filters\"\n >\n <button\n fd-button\n fdType=\"transparent\"\n (click)=\"toggleShownFilters()\"\n [label]=\"\n (isShowAllFilters\n ? 'platformVHD.searchHideAllAdvancedSearchLabel'\n : 'platformVHD.searchShowAllAdvancedSearchLabel'\n ) | fdTranslate\n \"\n ></button>\n </div>\n </div>\n </fd-layout-grid>\n\n <ng-template #filtersLoading>\n <fd-skeleton width=\"100%\" height=\"100px\">\n <svg:rect x=\"0\" y=\"0\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"0\" y=\"20\" rx=\"4\" width=\"25%\" height=\"16\" />\n\n <svg:rect x=\"35%\" y=\"0\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"35%\" y=\"20\" rx=\"4\" width=\"25%\" height=\"16\" />\n\n <svg:rect x=\"0\" y=\"60\" rx=\"4\" width=\"15%\" height=\"8\" />\n <svg:rect x=\"0\" y=\"80\" rx=\"4\" width=\"25%\" height=\"16\" />\n </fd-skeleton>\n </ng-template>\n </fd-busy-indicator>\n </div>\n </form>\n </ng-container>\n</ng-template>\n\n<ng-template #selectionContent>\n <fd-busy-indicator\n [loading]=\"loadingState && _firstLoadingDone\"\n [block]=\"true\"\n class=\"fdp-value-help-dialog__table-busy-indicator\"\n >\n <fdp-select-tab\n [selected]=\"selectedItems\"\n [loading]=\"loadingState && !_firstLoadingDone\"\n [uid]=\"id\"\n [displayedData]=\"_displayedData\"\n [tabTitle]=\"selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate)\"\n [mobile]=\"mobile\"\n [selection]=\"searchSelection\"\n [emptyTableMessage]=\"searchTableEmptyMessage || ('platformVHD.searchTableEmptyMessage' | fdTranslate)\"\n [uniqueKey]=\"uniqueKey\"\n [pageSize]=\"searchTablePageSize\"\n [defaultMobileHeaders]=\"searchTableMobileHeaders\"\n [filters]=\"_displayedFilters\"\n (select)=\"onSelect($event)\"\n ></fdp-select-tab>\n </fd-busy-indicator>\n</ng-template>\n\n<ng-template #defineConditionsContent>\n <div fd-scrollbar>\n <fdp-define-tab\n [strategyLabels]=\"defineStrategyLabels\"\n [conditions]=\"conditionItems\"\n [uid]=\"id\"\n [tabTitle]=\"defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate)\"\n [mobile]=\"mobile\"\n (conditionChange)=\"onConditionChange($event)\"\n ></fdp-define-tab>\n </div>\n</ng-template>\n\n<ng-template #dialogTitleText>\n <h5 [attr.id]=\"headerId\" fd-title>{{ dialogTitle }}</h5>\n</ng-template>\n\n<ng-template #tabLink let-title=\"title\" let-type=\"type\">\n <ng-container *ngIf=\"selectedTab === type && showSelectionTab && showDefineTab\">\n <button\n fd-button\n glyph=\"navigation-left-arrow\"\n fdType=\"transparent\"\n (click)=\"switchTab()\"\n [title]=\"'platformVHD.selectMobileTabBackBtnTitle' | fdTranslate\"\n ></button>\n <h5 fd-title>{{ title }}</h5>\n </ng-container>\n <ng-container *ngIf=\"selectedTab !== type\">\n <a\n fd-list-link\n (click)=\"switchTab(type)\"\n [title]=\"'platformVHD.selectMobileTabBtnOpenDialogLabel' | fdTranslate\"\n >\n <span fd-list-title>{{ title }}</span>\n <i fd-list-icon glyph=\"navigation-right-arrow\"></i>\n </a>\n </ng-container>\n</ng-template>\n\n<ng-template #advancedHeader>\n <button fd-button glyph=\"navigation-left-arrow\" fdType=\"transparent\" (click)=\"toggleAdvancedSearch()\"></button>\n <h5 fd-title>{{ 'platformVHD.searchAdvancedSearchLabel' | fdTranslate }}</h5>\n</ng-template>\n\n<ng-template #desktopDialogTitle>\n <ng-container *ngTemplateOutlet=\"dialogTitleText\"></ng-container>\n <ng-container *ngTemplateOutlet=\"desktopTabs\"></ng-container>\n</ng-template>\n\n<ng-template #mobileDialogTitle>\n <div class=\"fdp-value-help-dialog__mobile-title\">\n <ng-container *ngIf=\"hasSelectedTab; else dialogTitleText\">\n <ng-container *ngTemplateOutlet=\"selectedTabHeader\"></ng-container>\n </ng-container>\n </div>\n <ng-container *ngTemplateOutlet=\"mobileTabs\"></ng-container>\n</ng-template>\n\n<ng-template #desktopTabs>\n <nav fd-tab-nav class=\"fdp-value-help-dialog__tabs\" *ngIf=\"showSelectionTab && showDefineTab\">\n <div fd-tab-item (click)=\"switchTab(_tabTypes.selectFromList)\" *ngIf=\"showSelectionTab\">\n <a\n fd-tab-link\n [active]=\"selectedTab === _tabTypes.selectFromList\"\n [tabindex]=\"selectedTab === _tabTypes.selectFromList ? '0' : '-1'\"\n ><span fd-tab-tag>{{ selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }}</span></a\n >\n </div>\n <div fd-tab-item (click)=\"switchTab(_tabTypes.defineConditions)\" *ngIf=\"showDefineTab\">\n <a\n fd-tab-link\n [active]=\"selectedTab === _tabTypes.defineConditions\"\n [tabindex]=\"selectedTab === _tabTypes.defineConditions ? '0' : '-1'\"\n ><span fd-tab-tag>{{ defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }}</span></a\n >\n </div>\n </nav>\n</ng-template>\n\n<ng-template #mobileTabs>\n <div *ngIf=\"!hasSelectedTab && showSelectionTab && showDefineTab\">\n <div fd-bar [inPage]=\"true\" *ngIf=\"showSelectionTab\">\n <div fd-bar-left>\n <fd-bar-element>\n {{ selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }}\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fd-button-bar\n glyph=\"navigation-right-arrow\"\n (click)=\"switchTab(_tabTypes.selectFromList)\"\n [title]=\"\n 'platformVHD.selectMobileTabTitle'\n | fdTranslate\n : { title: selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate) }\n \"\n ></fd-button-bar>\n </fd-bar-element>\n </div>\n </div>\n <div fd-bar [inPage]=\"true\" *ngIf=\"showDefineTab\">\n <div fd-bar-left>\n <fd-bar-element>\n {{ defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }}\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fd-button-bar\n glyph=\"navigation-right-arrow\"\n [title]=\"\n 'platformVHD.selectMobileTabTitle'\n | fdTranslate\n : { title: defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate) }\n \"\n (click)=\"switchTab(_tabTypes.defineConditions)\"\n >\n </fd-button-bar>\n </fd-bar-element>\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #selectedTabHeader>\n <ng-container [ngSwitch]=\"selectedTab\">\n <ng-container *ngSwitchCase=\"_tabTypes.selectFromList\">\n <ng-container\n *ngTemplateOutlet=\"\n tabLink;\n context: {\n title: selectTabTitle || ('platformVHD.selectTabTitle' | fdTranslate),\n type: selectedTab\n }\n \"\n ></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"_tabTypes.advancedSearch\">\n <ng-container *ngTemplateOutlet=\"advancedHeader\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"_tabTypes.defineConditions\">\n <ng-container\n *ngTemplateOutlet=\"\n tabLink;\n context: {\n title: defineTabTitle || ('platformVHD.defineTabTitle' | fdTranslate),\n type: selectedTab\n }\n \"\n ></ng-container>\n </ng-container>\n </ng-container>\n</ng-template>\n\n<ng-template #conditionValue let-item=\"item\">\n <span *ngIf=\"item.strategy !== 'empty' && item.strategy !== 'not_empty'; else emptyCondition\">\n {{ item | displayFnPipe : conditionDisplayFn : _displayedFilters }}\n </span>\n <ng-template #emptyCondition>\n <ng-container *ngIf=\"item.strategy === 'not_empty'; else emptyConditionText\">\n !(<ng-container *ngTemplateOutlet=\"emptyConditionText\"></ng-container>)\n </ng-container>\n </ng-template>\n</ng-template>\n\n<ng-template #emptyConditionText> &lt;{{ 'platformVHD.selectMobileConditionEmpty' | fdTranslate }}&gt; </ng-template>\n", styles: [".fdp-value-help-dialog .fd-dialog__body{display:flex;flex-direction:column;overflow:hidden}.fdp-value-help-dialog .fd-title--h5{padding:.5rem 0}.fdp-value-help-dialog .fd-toolbar{background:none;border:none;padding:.1735rem .5rem;height:auto;min-height:1.625rem}.fdp-value-help-dialog__row.fdp-value-help-dialog__advanced-search{padding-top:1rem}.fdp-value-help-dialog__advanced-search,.fdp-value-help-dialog .fd-dialog__body{background-color:#f7f7f7;background-color:var(--sapBackgroundColor, #f7f7f7)}.fdp-value-help-dialog__advanced-filters{padding-top:1rem}.fdp-value-help-dialog__advanced-filters label{height:auto}.fdp-value-help-dialog__toggle-filters{display:flex;justify-content:flex-end;align-items:flex-end}.fdp-value-help-dialog__toggle-filters .fd-button{margin-bottom:.25rem}.fdp-value-help-dialog__advanced-actions{display:flex;align-items:center;justify-content:flex-end}.fdp-value-help-dialog-mobile .fdp-value-help-dialog__advanced-actions{justify-content:flex-start}.fdp-value-help-dialog__advanced-actions .fd-toolbar{padding:0}.fdp-value-help-dialog .fd-bar.fd-bar--cozy{height:auto}.fdp-value-help-dialog .fd-dialog__header{box-shadow:none}.fdp-value-help-dialog .fd-dialog__header .fd-title{display:flex;align-items:center;padding-left:2rem;padding-right:2rem;min-height:2.5rem;box-shadow:none;border-bottom:none;background-color:#fff;background-color:var(--sapObjectHeader_Background, #fff);position:relative;z-index:2}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__mobile-title{display:flex;border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--sapGroup_TitleBorderColor, #d9d9d9)}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__mobile-title .fd-title{flex:1 1 auto;border:none}.fdp-value-help-dialog .fd-dialog__header .fdp-value-help-dialog__tabs{position:relative}.fdp-value-help-dialog .fd-dialog__header,.fdp-value-help-dialog .fd-dialog__footer{height:auto;flex-direction:column}.fdp-value-help-dialog .fd-dialog__header.fd-bar,.fdp-value-help-dialog .fd-dialog__footer.fd-bar{padding:0}.fdp-value-help-dialog .fd-dialog__footer{border-top:none}.fdp-value-help-dialog__content-holder{padding:0 2rem 1rem;display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden}.fdp-value-help-dialog__row{padding:0 2rem 1rem}.fdp-value-help-dialog__row.fdp-value-help-dialog__selection-row{background-color:#f7f7f7;background-color:var(--sapBackgroundColor, #f7f7f7)}.fdp-value-help-dialog__tokens-wrapper{display:flex}.fdp-value-help-dialog__tokens{flex:1 1 auto;overflow:hidden;align-items:center;border:1px solid #89919a;border-color:var(--sapContent_ForegroundBorderColor, #89919a);margin-right:.5rem;border-radius:.25rem;border-radius:var(--sapElement_BorderCornerRadius, .25rem);background:none}.fdp-value-help-dialog__tokens fd-toolbar{flex:1 1 auto;overflow:hidden}.fdp-value-help-dialog__tokens-clear{height:auto;min-width:2rem;padding:.125rem 0;justify-content:center}.fdp-value-help-dialog__actions-row{padding:.5rem 1rem;display:flex;align-items:center;justify-content:flex-end;border-top:.0625rem solid #d9d9d9;border-top:.0625rem solid var(--sapPageFooter_BorderColor, #d9d9d9)}.fdp-value-help-dialog__actions-row .fd-button{margin-left:.5rem}.fdp-value-help-dialog .fdp-value-help-dialog__hidden_label{display:none!important}.fdp-value-help-dialog__table-busy-indicator{height:100%}\n"] }]
1249
1321
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.DialogService }, { type: i2$1.RtlService, decorators: [{
1250
1322
  type: Optional
1251
1323
  }] }]; }, propDecorators: { id: [{
@@ -1305,6 +1377,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1305
1377
  }], filters: [{
1306
1378
  type: ContentChildren,
1307
1379
  args: [VhdFilterComponent]
1380
+ }], columnDef: [{
1381
+ type: ContentChildren,
1382
+ args: [ValueHelpColumnDefDirective]
1308
1383
  }], dialogContainer: [{
1309
1384
  type: ViewChild,
1310
1385
  args: ['container', { read: TemplateRef }]
@@ -1391,11 +1466,15 @@ PlatformValueHelpDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14
1391
1466
  PlatformContentDensityDeprecationsModule,
1392
1467
  ScrollbarModule,
1393
1468
  SkeletonModule,
1394
- RepeatModule], exports: [PlatformValueHelpDialogComponent,
1469
+ RepeatModule,
1470
+ ValueHelpColumnDefDirective,
1471
+ ValueHelpFilterDefDirective], exports: [PlatformValueHelpDialogComponent,
1395
1472
  VhdFilterComponent,
1396
1473
  VhdSearchComponent,
1397
1474
  ContentDensityModule,
1398
- PlatformContentDensityDeprecationsModule] });
1475
+ PlatformContentDensityDeprecationsModule,
1476
+ ValueHelpColumnDefDirective,
1477
+ ValueHelpFilterDefDirective] });
1399
1478
  PlatformValueHelpDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PlatformValueHelpDialogModule, imports: [CommonModule,
1400
1479
  FormsModule,
1401
1480
  BarModule,
@@ -1469,14 +1548,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1469
1548
  PlatformContentDensityDeprecationsModule,
1470
1549
  ScrollbarModule,
1471
1550
  SkeletonModule,
1472
- RepeatModule
1551
+ RepeatModule,
1552
+ ValueHelpColumnDefDirective,
1553
+ ValueHelpFilterDefDirective
1473
1554
  ],
1474
1555
  exports: [
1475
1556
  PlatformValueHelpDialogComponent,
1476
1557
  VhdFilterComponent,
1477
1558
  VhdSearchComponent,
1478
1559
  ContentDensityModule,
1479
- PlatformContentDensityDeprecationsModule
1560
+ PlatformContentDensityDeprecationsModule,
1561
+ ValueHelpColumnDefDirective,
1562
+ ValueHelpFilterDefDirective
1480
1563
  ]
1481
1564
  }]
1482
1565
  }] });
@@ -1485,5 +1568,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1485
1568
  * Generated bundle index. Do not edit.
1486
1569
  */
1487
1570
 
1488
- export { ArrayValueHelpDialogDataSource, BaseEntity, ConditionCountMessageDirective, DefineTabComponent, MAX_CHARACTER_HINT_COUNT, ObservableValueHelpDialogDataSource, PlatformValueHelpDialogComponent, PlatformValueHelpDialogModule, SelectTabComponent, ValueHelpDialogDataSource, VhdBaseTab, VhdDataProvider, VhdDefineExcludeStrategy, VhdDefineIncludeStrategy, VhdDefineType, VhdExcludedEntity, VhdFilterComponent, VhdIncludedEntity, VhdSearchComponent, VhdTab, defaultConditionDisplayFn };
1571
+ export { ArrayValueHelpDialogDataSource, BaseEntity, ConditionCountMessageDirective, DefineTabComponent, MAX_CHARACTER_HINT_COUNT, ObservableValueHelpDialogDataSource, PlatformValueHelpDialogComponent, PlatformValueHelpDialogModule, SelectTabComponent, ValueHelpColumnDefDirective, ValueHelpDialogDataSource, ValueHelpFilterDefDirective, VhdBaseTab, VhdDataProvider, VhdDefineExcludeStrategy, VhdDefineIncludeStrategy, VhdDefineType, VhdExcludedEntity, VhdFilterComponent, VhdIncludedEntity, VhdSearchComponent, VhdTab, defaultConditionDisplayFn };
1489
1572
  //# sourceMappingURL=fundamental-ngx-platform-value-help-dialog.mjs.map