ud-components 0.8.8 → 0.8.11

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.
@@ -12,7 +12,7 @@ import * as i4 from '@angular/material/progress-spinner';
12
12
  import { MatProgressSpinnerModule, MatProgressSpinner } from '@angular/material/progress-spinner';
13
13
  import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
14
14
  import { Router, NavigationEnd, RouterLink } from '@angular/router';
15
- import { isObservable, of, filter, map, Subject, startWith, takeUntil, interval, debounceTime, distinctUntilChanged } from 'rxjs';
15
+ import { isObservable, of, filter, map, Subject, startWith, takeUntil, interval, debounceTime, distinctUntilChanged, combineLatest } from 'rxjs';
16
16
  import { Overlay } from '@angular/cdk/overlay';
17
17
  import { ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
18
18
  import * as i1$1 from '@angular/forms';
@@ -633,16 +633,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
633
633
  ], template: "<nav class=\"sidenav\" [class.collapsed]=\"collapsed()\">\n <a class=\"brand\" [routerLink]=\"brandRoute()\">\n @if (collapsed()) {\n <img [src]=\"logoCollapsed()\" alt=\"UDorm\" class=\"logo-glyph\" />\n } @else {\n <img [src]=\"logo()\" alt=\"UDorm\" class=\"logo-wordmark\" />\n }\n </a>\n <!-- The frame carries the fade, so it stays put while the list scrolls. -->\n <div class=\"sections-frame\" [class.more-below]=\"$moreBelow()\">\n <div class=\"sections\" #sections (scroll)=\"updateMoreBelow()\">\n <div class=\"sections-list\" #sectionsList>\n @for (group of $navGroups(); track group.key) {\n <div class=\"nav-group\">\n <!-- Same height expanded and collapsed, so icons keep their\n place when the drawer toggles. -->\n @if (group.category) {\n @if (collapsed()) {\n <div class=\"divider\" aria-hidden=\"true\"></div>\n } @else {\n <p class=\"category\">\n {{ group.category | toObservable | async }}\n </p>\n }\n }\n @for (child of group.children; track child.route) {\n <ng-container\n *ngTemplateOutlet=\"navItem; context: { $implicit: child }\" />\n }\n </div>\n }\n </div>\n </div>\n </div>\n @if ($footerGroups().length) {\n <div class=\"footer\">\n @for (group of $footerGroups(); track group.key) {\n @for (child of group.children; track child.route) {\n <ng-container\n *ngTemplateOutlet=\"navItem; context: { $implicit: child }\" />\n }\n }\n </div>\n }\n</nav>\n\n<ng-template #navItem let-child>\n @let label = child.label | toObservable | async | capitalize;\n <a\n class=\"nav-item\"\n [routerLink]=\"child.route\"\n [class.active]=\"child.route === $activeRoute()\"\n [attr.aria-current]=\"child.route === $activeRoute() ? 'page' : null\"\n [attr.aria-label]=\"collapsed() ? label : null\"\n udTooltipPosition=\"right\"\n [udTooltip]=\"collapsed() ? (label ?? '') : ''\">\n <mat-icon fontSet=\"material-icons-outlined\" aria-hidden=\"true\">\n {{ child.icon }}\n </mat-icon>\n @if (!collapsed()) {\n <span class=\"label\">{{ label }}</span>\n }\n @if (child.badge) {\n <span class=\"count\">{{ child.badge }}</span>\n }\n </a>\n</ng-template>\n", styles: [":host{display:block;height:100%}.sidenav{display:flex;flex-direction:column;height:100%;background:var(--primary-color);font-family:Sora,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.sections-frame{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.sections-frame:after{content:\"\";position:absolute;inset:auto 0 0;height:40px;background:linear-gradient(transparent,var(--primary-color));pointer-events:none;opacity:0;transition:opacity .15s ease}.sections-frame.more-below:after{opacity:1}.sections{flex:1;min-height:0;padding:4px 8px 8px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}.sections::-webkit-scrollbar{width:6px}.sections::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.sections-list{display:flex;flex-direction:column;gap:12px}.footer{flex:none;padding:6px 8px;border-top:1px solid rgba(255,255,255,.1)}.brand{flex:none;display:flex;align-items:center;height:56px;margin:0 8px;padding-left:10px;border-radius:6px}.brand:focus-visible{outline:2px solid #aeb8ff;outline-offset:-2px}.logo-wordmark{height:24px;width:auto}.logo-glyph{height:28px;width:28px;object-fit:contain}.nav-group{display:flex;flex-direction:column;gap:2px}.category{display:flex;align-items:flex-end;min-height:22px;margin:0;padding:0 10px 6px;font-size:11px;font-weight:600;line-height:1.25;letter-spacing:.08em;text-transform:uppercase;color:#8a93a8}.divider{display:flex;align-items:center;justify-content:center;height:22px}.divider:before{content:\"\";width:20px;height:1px;background:#ffffff1a}.nav-item{position:relative;display:flex;align-items:center;gap:10px;height:30px;padding:0 10px;border-radius:6px;color:#dcdfe8;font-size:13.5px;line-height:1;letter-spacing:0;text-decoration:none;white-space:nowrap;transition:background-color .15s ease}.nav-item mat-icon{flex:none;width:18px;height:18px;font-size:18px;color:#939cb2}.nav-item:hover{background:#ffffff0f;color:#f5f6f7}.nav-item:hover mat-icon{color:#dcdfe8}.nav-item.active{background:#2a3768;color:#fff;font-weight:500}.nav-item.active mat-icon{color:#aeb8ff}.nav-item:focus-visible{outline:2px solid #aeb8ff;outline-offset:-2px}.label{overflow:hidden;text-overflow:ellipsis;line-height:1.35}.count{margin-left:auto;min-width:22px;height:18px;padding:0 5px;border-radius:9px;background:#ef6547;color:#1b2535;font-size:11px;font-weight:600;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}.collapsed .brand{justify-content:center;padding-left:0}.collapsed .nav-item{justify-content:center;padding:0}.collapsed .count{position:absolute;top:-2px;right:3px;min-width:16px;height:15px;padding:0 4px;font-size:9.5px;line-height:15px;box-shadow:0 0 0 2px var(--primary-color)}@media (prefers-reduced-motion: reduce){.nav-item,.sections-frame:after{transition:none}}\n"] }]
634
634
  }] });
635
635
  /**
636
- * The nav route to highlight for `url`. An exact match wins; otherwise the
637
- * item in the same top-level section, so detail and add pages (`/users/123`,
638
- * `/users/add-user`) keep their section lit. When a section has several items
639
- * (`/document-compliance/send` and `/list`), its list page wins.
636
+ * The nav route to highlight for `url`. An exact match wins; then the nav
637
+ * route the URL sits under, the longest one, so a section's own pages keep
638
+ * it lit (`/finance/reports/aging` lights `/finance/reports`, not the first
639
+ * `/finance` item). Otherwise the item in the same top-level section, so
640
+ * detail and add pages (`/users/123`, `/users/add-user`) keep their section
641
+ * lit. When a section has several items (`/document-compliance/send` and
642
+ * `/list`), its list page wins.
640
643
  */
641
644
  function activeNavRoute(url, routes) {
642
645
  const path = url.split(/[?#;]/)[0];
643
646
  if (routes.includes(path)) {
644
647
  return path;
645
648
  }
649
+ const parent = routes
650
+ .filter(route => path.startsWith(route + '/'))
651
+ .sort((x, y) => y.length - x.length)[0];
652
+ if (parent) {
653
+ return parent;
654
+ }
646
655
  const section = (route) => route.split('/')[1];
647
656
  const inSection = routes.filter(route => section(route) === section(path));
648
657
  return inSection.find(route => route.endsWith('/list')) ?? inSection[0];
@@ -2921,14 +2930,26 @@ class CustomTableComponent {
2921
2930
  label: this.translateService.get(`operators.numbers.${operator}`),
2922
2931
  value: operator,
2923
2932
  }));
2924
- this.numberOperationOptions = Object.values(NumberOperator).map(operator => ({
2925
- value: operator,
2926
- label: capitalize(this.translateService.translate(`operators.numbers.${operator}`)),
2927
- }));
2928
- this.matchModeOptions = Object.entries(MultiSelectMatchMode).map(([name, value]) => ({
2929
- value,
2930
- label: capitalize(this.translateService.translate(`operators.matchModes.${name.toLowerCase()}`)),
2931
- }));
2933
+ // Streamed, not instant: a table created before the app's translation
2934
+ // file has loaded would otherwise keep the raw keys as labels.
2935
+ const operators = Object.values(NumberOperator);
2936
+ combineLatest(operators.map(operator => this.translateService.get(`operators.numbers.${operator}`)))
2937
+ .pipe(takeUntilDestroyed(this.destroyRef))
2938
+ .subscribe(labels => {
2939
+ this.numberOperationOptions = operators.map((value, i) => ({
2940
+ value,
2941
+ label: capitalize(labels[i]),
2942
+ }));
2943
+ });
2944
+ const matchModes = Object.entries(MultiSelectMatchMode);
2945
+ combineLatest(matchModes.map(([name]) => this.translateService.get(`operators.matchModes.${name.toLowerCase()}`)))
2946
+ .pipe(takeUntilDestroyed(this.destroyRef))
2947
+ .subscribe(labels => {
2948
+ this.matchModeOptions = matchModes.map(([, value], i) => ({
2949
+ value,
2950
+ label: capitalize(labels[i]),
2951
+ }));
2952
+ });
2932
2953
  this.setInitSort();
2933
2954
  this.setInitFilter();
2934
2955
  // Wait for filter controls to be built before restoring
@@ -3860,7 +3881,7 @@ class CustomTableComponent {
3860
3881
  TableDisplayColumnType = TableDisplayColumnType;
3861
3882
  NumberOperator = NumberOperator;
3862
3883
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CustomTableComponent, deps: [{ token: TranslateWrapperService }], target: i0.ɵɵFactoryTarget.Component });
3863
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.19", type: CustomTableComponent, isStandalone: true, selector: "ud-table", inputs: { id: "id", title: "title", icon: "icon", actions: "actions", haveCheckbox: "haveCheckbox", displayedColumns: "displayedColumns", dataSource: "dataSource", paginationSizeOptions: "paginationSizeOptions", initialPageSize: "initialPageSize", specificSelectRow: "specificSelectRow", hasFilter: "hasFilter", expandableRows: "expandableRows", expandedItem: "expandedItem", isLoading: "isLoading", separateFilters: "separateFilters", showPaginator: "showPaginator", noTableDataMessage: "noTableDataMessage", actionsMenuEnabled: "actionsMenuEnabled", menuItems: "menuItems", totalElements: "totalElements", serverSideFiltering: "serverSideFiltering", disableHeader: "disableHeader", columnVisibilityEnabled: "columnVisibilityEnabled", copyLabel: "copyLabel", copiedLabel: "copiedLabel" }, outputs: { actionClicked: "actionClicked", clicked: "clicked", queryChange: "queryChange", cellEdited: "cellEdited", columnVisibilityChanged: "columnVisibilityChanged" }, queries: [{ propertyName: "actionsTemplate", first: true, predicate: TemplateRef, descendants: true }], viewQueries: [{ propertyName: "paginatorRef", first: true, predicate: MatPaginator, descendants: true }, { propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true }, { propertyName: "allFilterInput", first: true, predicate: ["allFilterInput"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"table-div\">\n <mat-card\n appearance=\"outlined\"\n class=\"px-0 table-card\"\n [ngClass]=\"[actions.length === 0 ? 'pt-2' : 'pb-0']\"\n style=\"border-color: var(--accent-darker-color)\">\n @if (!disableHeader) {\n <mat-card-header\n class=\"d-flex justify-content-between align-items-center table-header\"\n [ngClass]=\"[actions.length === 0 ? 'pb-3' : 'pb-0']\">\n <div class=\"d-flex align-items-center\">\n @if (icon) {\n <mat-icon\n fontSet=\"material-icons-outlined\"\n class=\"table-header-icon ml-3\">\n {{ icon }}\n </mat-icon>\n }\n <h6 class=\"ml-2 table-title\">\n {{ title | toObservable | async | capitalize }}\n </h6>\n </div>\n <div class=\"d-flex align-items-center action-buttons-group pr-2\">\n @for (action of actions; track action.id) {\n <ud-button\n [attr.data-action-id]=\"action.id\"\n [variant]=\"action.variant ?? 'stroked'\"\n [color]=\"action.color ?? 'primary'\"\n [icon]=\"action.icon\"\n [disabled]=\"resolveBooleanInput(action?.disabled, selection)\"\n [loading]=\"resolveBooleanInput(action?.loading, selection)\"\n size=\"sm\"\n (buttonClick)=\"onActionClicked(action)\">\n {{ action.label | toObservable | async | capitalize }}\n </ud-button>\n }\n @if (actionsMenuEnabled && menuItems.length > 0) {\n <ud-menu\n [items]=\"tableMenuItems()\"\n triggerVariant=\"stroked\"\n triggerColor=\"primary\"\n triggerIcon=\"keyboard_arrow_down\"\n [triggerLabel]=\"'names.action' | translate | pluralize | capitalize\"\n xPosition=\"after\"\n [stopPropagation]=\"false\"\n (itemSelected)=\"onTableMenuItemSelected($event)\" />\n } @else if (actionsMenuEnabled) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [matMenuTriggerFor]=\"menu\">\n {{ 'names.action' | translate | pluralize | capitalize }}\n </ud-button>\n <mat-menu #menu=\"matMenu\" class=\"ud-actions-menu\">\n <ng-container\n *ngTemplateOutlet=\"\n actionsTemplate;\n context: {\n selection: selection,\n data: dataSource.data,\n selectedRows: selection.selected,\n }\n \"></ng-container>\n </mat-menu>\n }\n </div>\n </mat-card-header>\n }\n <mat-card-content>\n <!--\n Filters and the column picker on one line. Both answer the same\n question \u2014 what am I looking at \u2014 where the header above is for acting\n on the rows. The picker sat up there with Add and Delete and read as a\n third action rather than a view control.\n -->\n <div class=\"table-controls\">\n @if (!separateFilters) {\n <mat-form-field\n class=\"ml-4\"\n appearance=\"outline\"\n [ngStyle]=\"{ display: hasFilter ? '' : 'none' }\">\n <mat-icon class=\"filter p-0\" matSuffix>filter_alt</mat-icon>\n <mat-label>{{ 'table.filter' | translate | capitalize }}</mat-label>\n <input\n #allFilterInput\n matInput\n (keyup)=\"applyFilterToAllColumns($event)\"\n [placeholder]=\"'table.sortOnAnyField' | translate | capitalize\" />\n </mat-form-field>\n } @else {\n <div class=\"separate-filters\">\n <form [formGroup]=\"filterByColumnFormGroup\" class=\"filters\">\n @for (filter of selectedFilters; track filter) {\n <!--\n The active marker lives on the wrapper so every filter type\n carries it. The dropdown triggers styled themselves, but a text\n input or a single select looked identical whether or not it was\n narrowing the table \u2014 which is how you end up staring at an\n empty table wondering where the rows went.\n -->\n <div class=\"filter\" [class.filter--active]=\"hasFilterValue(filter.property)\">\n @if (filter.filterOptions) {\n @if (filter.allowMultiSelectOnFilter) {\n <ud-button\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [class.filter-button-trigger--active]=\"\n hasFilterValue(filter.property)\n \"\n [matMenuTriggerFor]=\"multiSelectMenu\">\n {{ filter.name | toObservable | async | capitalize }}\n @if (hasFilterValue(filter.property)) {\n <mat-icon\n class=\"filter-clear-icon\"\n (click)=\"\n clearFilter(filter.property); $event.stopPropagation()\n \">\n close\n </mat-icon>\n }\n </ud-button>\n <mat-menu #multiSelectMenu=\"matMenu\" class=\"custom-dropdown\">\n <div\n class=\"dropdown-content multi-select-content\"\n [formGroupName]=\"controlKey(filter.property)\"\n (click)=\"$event.stopPropagation()\">\n <span class=\"dropdown-label\">\n {{ 'table.matchMode' | translate | capitalize }}\n </span>\n <ud-button-toggle\n formControlName=\"mode\"\n size=\"sm\"\n [options]=\"matchModeOptions\" />\n <ud-multi-select\n controlName=\"values\"\n [options]=\"filter.filterOptions\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n [multiple]=\"true\"\n [clearable]=\"true\"\n size=\"small\" />\n </div>\n </mat-menu>\n } @else {\n <ud-multi-select\n [controlName]=\"controlKey(filter.property)\"\n [options]=\"filter.filterOptions\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n [multiple]=\"false\"\n [clearable]=\"true\"\n size=\"small\" />\n }\n } @else if (\n filter.type === TableDisplayColumnType.HYPERLINK ||\n filter.type === TableDisplayColumnType.TEXT ||\n filter.type === TableDisplayColumnType.PHONE ||\n filter.type === TableDisplayColumnType.EMAIL ||\n filter.type === TableDisplayColumnType.CLICK ||\n filter.type === TableDisplayColumnType.ARRAY ||\n filter.type === TableDisplayColumnType.PILL\n ) {\n <ud-text-input\n [controlName]=\"controlKey(filter.property)\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n size=\"small\"\n [clearable]=\"true\" />\n } @else {\n <ud-button\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [class.filter-button-trigger--active]=\"\n hasFilterValue(filter.property)\n \"\n [matMenuTriggerFor]=\"dropdownMenu\">\n {{ filter.name | toObservable | async | capitalize }}\n @if (hasFilterValue(filter.property)) {\n <mat-icon\n class=\"filter-clear-icon\"\n (click)=\"\n clearFilter(filter.property); $event.stopPropagation()\n \">\n close\n </mat-icon>\n }\n </ud-button>\n <mat-menu #dropdownMenu=\"matMenu\" class=\"custom-dropdown\">\n <div\n class=\"dropdown-content\"\n (click)=\"$event.stopPropagation()\">\n @if (filter.type === TableDisplayColumnType.BOOLEAN) {\n <div class=\"boolean-content\">\n <span class=\"boolean-label\">\n {{\n filter.name | toObservable | async | capitalize\n }}\n </span>\n <ud-toggle\n [formControlName]=\"controlKey(filter.property)\"\n size=\"md\" />\n </div>\n } @else if (\n filter.type === TableDisplayColumnType.NUMBER ||\n filter.type === TableDisplayColumnType.MONEY\n ) {\n <div\n class=\"number-content\"\n [formGroupName]=\"controlKey(filter.property)\">\n <ud-multi-select\n controlName=\"operation\"\n [multiple]=\"false\"\n [label]=\"\n 'table.operationType' | translate | capitalize\n \"\n [options]=\"numberOperationOptions\" />\n @if (\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation &&\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation !== NumberOperator.BETWEEN\n ) {\n <ud-text-input\n controlName=\"value\"\n type=\"number\"\n [label]=\"\n 'operators.' +\n filterByColumnFormGroup.controls[\n controlKey(filter.property)\n ].value.operation\n | translate\n | capitalize\n \" />\n } @else if (\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation\n ) {\n <div class=\"number-range-row\">\n <ud-text-input\n controlName=\"min\"\n type=\"number\"\n [label]=\"\n 'operators.minimum' | translate | capitalize\n \" />\n <ud-text-input\n controlName=\"max\"\n type=\"number\"\n [min]=\"\n filterByColumnFormGroup.controls[\n controlKey(filter.property)\n ].value.min\n \"\n [label]=\"\n 'operators.maximum' | translate | capitalize\n \" />\n </div>\n }\n </div>\n } @else if (\n filter.type === TableDisplayColumnType.DATETIME ||\n filter.type === TableDisplayColumnType.DATE\n ) {\n <div\n [formGroupName]=\"controlKey(filter.property)\"\n class=\"date-content\">\n <ud-date-range-input\n startControlName=\"start\"\n endControlName=\"end\"\n [label]=\"'table.dateRange' | translate | capitalize\"\n [startPlaceholder]=\"\n 'table.startDate' | translate | capitalize\n \"\n [endPlaceholder]=\"\n 'table.endDate' | translate | capitalize\n \" />\n </div>\n }\n </div>\n </mat-menu>\n }\n </div>\n }\n\n <!--\n Inside the row so it reads as the end of the filter set rather\n than a separate control, and only once there is something to\n clear \u2014 a permanently present \"clear filters\" on an unfiltered\n table is a button that does nothing.\n -->\n @if (activeFilterCount > 0) {\n <button\n type=\"button\"\n class=\"filters-clear\"\n (click)=\"clearAllFilters()\">\n <!--\n Count as a separate numeral rather than interpolated into the\n sentence: \"Clear {{count}} filters\" reads wrong at one, and\n every consuming app would need a plural rule for a label this\n small. The mono numeral also lines up as the count changes.\n -->\n {{ 'table.clearFilters' | translate | capitalize }}\n <span class=\"filters-clear__count\">{{ activeFilterCount }}</span>\n </button>\n }\n </form>\n </div>\n }\n\n @if (columnVisibilityEnabled) {\n <ud-button\n class=\"column-picker\"\n [class.column-picker--active]=\"hiddenColumnCount > 0\"\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"view_week\"\n [udTooltip]=\"'table.chooseColumnsLede' | translate\"\n (buttonClick)=\"openColumnVisibility()\">\n {{ 'table.columns' | translate | capitalize }}\n </ud-button>\n }\n </div>\n @if (!isLoading) {\n <table\n mat-table\n matSort\n [matSortActive]=\"initSortedCol?.property!\"\n [matSortDirection]=\"initSortedCol?.initSort!\"\n [multiTemplateDataRows]=\"expandableRows\"\n [dataSource]=\"dataSource\">\n <!-- Checkbox Column -->\n @if (displayCheckbox) {\n <ng-container matColumnDef=\"select\">\n <th\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n class=\"checkbox-header\"\n mat-header-cell\n *matHeaderCellDef>\n <ud-checkbox\n (onChange)=\"toggleAllRows()\"\n [checked]=\"selection.hasValue() && isAllSelected()\"\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\"\n [ariaLabel]=\"checkboxLabel()\">\n </ud-checkbox>\n </th>\n <td\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n class=\"checkbox-cell\"\n mat-cell\n *matCellDef=\"let row\">\n <ud-checkbox\n (click)=\"$event.stopPropagation()\"\n (onChange)=\"selection.toggle(row)\"\n [checked]=\"selection.isSelected(row)\"\n [ariaLabel]=\"checkboxLabel(row)\"\n class=\"mt-2 mr-2\">\n </ud-checkbox>\n </td>\n </ng-container>\n }\n @for (column of displayedColumnsWithoutSelect; track column) {\n <ng-container matColumnDef=\"{{ column.property }}\">\n <th\n [ngStyle]=\"{ width: getColumnWidth(column) }\"\n mat-header-cell\n *matHeaderCellDef>\n {{ column.name | toObservable | async | capitalize }}\n </th>\n <td\n mat-cell\n *matCellDef=\"let row; let index = index\"\n [ngStyle]=\"{ width: getColumnWidth(column) }\"\n [class.editable-cell]=\"column.editable\"\n (mouseenter)=\"\n column.editable &&\n (hoveredCell = {\n rowIndex: index,\n property: column.property,\n })\n \"\n (mouseleave)=\"hoveredCell = null\"\n (click)=\"column.dataCellTemplate && $event.stopPropagation()\">\n @if (\n column.editable &&\n editingCell?.rowIndex === index &&\n editingCell?.property === column.property\n ) {\n <div\n class=\"cell-edit-wrapper\"\n [formGroup]=\"editFormGroup\"\n (click)=\"$event.stopPropagation()\">\n @if (column.editOptions) {\n <ud-multi-select\n controlName=\"value\"\n [multiple]=\"column.allowMultiSelectOnEdit ?? false\"\n [options]=\"column.editOptions\"\n size=\"small\" />\n } @else {\n <ud-text-input\n controlName=\"value\"\n [type]=\"\n column.type === tableDisplayColumnType.NUMBER\n ? 'number'\n : 'text'\n \"\n size=\"small\" />\n }\n <div class=\"cell-edit-actions\">\n <ud-button\n variant=\"icon-only\"\n color=\"success\"\n icon=\"check\"\n size=\"sm\"\n (buttonClick)=\"\n confirmEdit(row, column); $event.stopPropagation()\n \" />\n <ud-button\n variant=\"icon-only\"\n color=\"danger\"\n icon=\"close\"\n size=\"sm\"\n (buttonClick)=\"cancelEdit(); $event.stopPropagation()\" />\n </div>\n </div>\n } @else {\n <div class=\"cell-display-wrapper\">\n @if (column.dataCellTemplate) {\n <ng-container\n *ngTemplateOutlet=\"\n column.dataCellTemplate;\n context: { $implicit: row, index }\n \" />\n } @else if (column.type) {\n @switch (column.type) {\n @case (tableDisplayColumnType.ARRAY) {\n <span>\n {{\n column.transformFn?.(row[column.property]) ??\n row[column.property].join(', ')\n }}\n </span>\n }\n @case (tableDisplayColumnType.TEXT) {\n <span\n [innerHTML]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \">\n </span>\n }\n @case (tableDisplayColumnType.NUMBER) {\n <span\n [innerHTML]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \">\n </span>\n }\n @case (tableDisplayColumnType.TEXT_OBSERVABLES) {\n <span>\n {{ row[column.property] | async | capitalize }}\n </span>\n }\n @case (tableDisplayColumnType.BOOLEAN) {\n <mat-icon\n class=\"mt-2\"\n [udTooltip]=\"\n (row[column.property]\n ? 'names.active'\n : 'names.inactive'\n )\n | translate\n | capitalize\n \"\n udTooltipPosition=\"right\">\n {{ row[column.property] ? 'check' : 'close' }}\n </mat-icon>\n }\n @case (tableDisplayColumnType.CLICK) {\n <span (click)=\"clickedAction(row)\" class=\"link\">\n {{ row[column.property] }}\n </span>\n }\n @case (tableDisplayColumnType.DATE) {\n {{ row[column.property] | date: 'MMMM dd, yyyy' }}\n }\n @case (tableDisplayColumnType.DATETIME) {\n {{\n row[column.property]\n | date: 'MMMM dd, yyyy h:mm a'\n }}\n }\n @case (tableDisplayColumnType.EMAIL) {\n @let email = row[column.property];\n @if (email) {\n <span class=\"email-cell\">\n <mat-icon class=\"email-icon\">mail_outline</mat-icon>\n <span>{{ email }}</span>\n <span\n class=\"email-copy\"\n [class.is-copied]=\"copiedEmailRow() === row\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n [icon]=\"copiedEmailRow() === row ? 'check' : 'content_copy'\"\n [udTooltip]=\"(copiedEmailRow() === row ? copiedLabel : copyLabel) | translate | capitalize\"\n (buttonClick)=\"copyEmail(row, email); $event.stopPropagation()\" />\n </span>\n </span>\n }\n }\n @case (tableDisplayColumnType.HYPERLINK) {\n <span\n class=\"link\"\n [routerLink]=\"getHyperlinkRoute(row, column)\"\n (click)=\"$event.stopPropagation()\">\n {{ row[column.property] }}\n </span>\n }\n @case (tableDisplayColumnType.ICON) {\n <mat-icon\n [ngStyle]=\"{\n color:\n column.icons![row[column.property]].color,\n }\">\n {{ column.icons![row[column.property]].name }}\n </mat-icon>\n }\n @case (tableDisplayColumnType.MONEY) {\n {{ formatMoneyCell(row, column) }}\n }\n @case (tableDisplayColumnType.PHONE) {\n @if (row[column.property].countryCode?.code) {\n <span>\n (+{{\n row[column.property].countryCode.code || ''\n }})\n </span>\n }\n {{\n formatPhoneNumber(\n row[column.property].phoneNumber\n )\n }}\n }\n @case (tableDisplayColumnType.PILL) {\n <ud-pill\n [text]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \"\n [type]=\"column.pillTypeFn!(row)\" />\n }\n }\n } @else {\n {{ row[column.property] }}\n }\n @if (column.editable) {\n <button\n mat-icon-button\n class=\"cell-edit-icon\"\n [class.cell-edit-icon--visible]=\"\n hoveredCell?.rowIndex === index &&\n hoveredCell?.property === column.property\n \"\n (click)=\"\n startEditing(row, index, column);\n $event.stopPropagation()\n \">\n <mat-icon>edit</mat-icon>\n </button>\n }\n </div>\n }\n </td>\n </ng-container>\n }\n <ng-container matColumnDef=\"expand\">\n <th\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n mat-header-cell\n *matHeaderCellDef\n aria-label=\"row actions\">\n &nbsp;\n </th>\n <td\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n mat-cell\n *matCellDef=\"let element\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n ariaLabel=\"expand row\"\n [icon]=\"\n expandedElement !== element\n ? 'keyboard_arrow_down'\n : 'keyboard_arrow_up'\n \"\n (buttonClick)=\"\n expandedElement =\n expandedElement === element ? null : element;\n $event.stopPropagation()\n \" />\n </td>\n </ng-container>\n\n <!-- Expanded Content Column - The detail row is made up of this one column that spans across all columns -->\n <ng-container matColumnDef=\"expandedDetail\">\n <td\n mat-cell\n class=\"ml-auto\"\n *matCellDef=\"let element\"\n [attr.colspan]=\"columnsToDisplayWithExpand.length\">\n <div\n class=\"element-detail justify-content-center\"\n [@detailExpand]=\"\n element === expandedElement ? 'expanded' : 'collapsed'\n \">\n @if (expandedItem.type === 'image') {\n <img\n class=\"pb-4\"\n [src]=\"element[expandedItem.property]\"\n alt=\"\" />\n }\n </div>\n </td>\n </ng-container>\n\n @if (!expandableRows) {\n <ng-container>\n <tr\n mat-header-row\n *matHeaderRowDef=\"displayedColumnsProperty\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: displayedColumnsProperty;\n let i = index\n \"\n (click)=\"selectRow(row)\"\n [ngClass]=\"getRowBackgroundColor(i)\"></tr>\n </ng-container>\n } @else {\n <ng-container>\n <tr\n mat-header-row\n *matHeaderRowDef=\"columnsToDisplayWithExpand\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: columnsToDisplayWithExpand;\n let i = dataIndex\n \"\n [id]=\"i\"\n class=\"element-row\"\n [class.expanded-row]=\"expandedElement === row\"\n [ngClass]=\"getRowBackgroundColor(i)\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: ['expandedDetail'];\n let i = dataIndex\n \"\n [id]=\"i\"\n [ngClass]=\"getRowBackgroundColor(i)\"\n [ngStyle]=\"{\n display: expandedElement === row ? 'contents' : 'none',\n }\"\n class=\"detail-row\"></tr>\n </ng-container>\n }\n\n <!-- Row shown when there is no matching data. -->\n <tr class=\"mat-row no-data-row\" *matNoDataRow>\n <td class=\"mat-cell\" [attr.colspan]=\"displayedColumnsProperty.length\">\n <div class=\"no-data-found\">\n <mat-icon class=\"no-data-icon\">\n {{ dataSource.data.length > 0 ? 'search_off' : 'inbox' }}\n </mat-icon>\n <p class=\"no-data-text\">\n {{\n dataSource.data.length > 0\n ? ('messages.modifyFilter' | translate | capitalize)\n : noTableDataMessage\n }}\n </p>\n </div>\n </td>\n </tr>\n </table>\n } @else {\n <div class=\"loading-container\">\n <mat-progress-spinner\n class=\"mx-auto\"\n [diameter]=\"32\"\n color=\"primary\"\n mode=\"indeterminate\" />\n </div>\n }\n @if (showPaginator) {\n <div class=\"table-paginator\">\n <div class=\"table-paginator__size\">\n <span class=\"table-paginator__size-label\">\n {{ 'table.rowsPerPage' | translate | capitalize }}\n </span>\n <ud-menu\n [items]=\"pageSizeMenuItems\"\n triggerVariant=\"stroked\"\n triggerIcon=\"keyboard_arrow_down\"\n [triggerLabel]=\"pageSizeLabel\"\n [ariaLabel]=\"'table.rowsPerPage' | translate | capitalize\"\n xPosition=\"after\"\n yPosition=\"above\"\n [stopPropagation]=\"false\"\n (itemSelected)=\"onPageSizeSelected($event)\" />\n </div>\n <!-- Drives paging and dataSource.paginator; hidden, the controls below render it. -->\n <mat-paginator\n #pager\n [length]=\"totalElements ?? dataSource.data.length\"\n [pageSize]=\"initialPageSize\"\n [pageSizeOptions]=\"paginationSizeOptions\"\n (page)=\"onPageChange($event)\" />\n <span class=\"table-paginator__range\">\n {{ pager._intl.getRangeLabel(pager.pageIndex, pager.pageSize, pager.length) }}\n </span>\n <div class=\"table-paginator__nav\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"first_page\"\n [ariaLabel]=\"pager._intl.firstPageLabel\"\n [disabled]=\"!pager.hasPreviousPage()\"\n (buttonClick)=\"pager.firstPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"chevron_left\"\n [ariaLabel]=\"pager._intl.previousPageLabel\"\n [disabled]=\"!pager.hasPreviousPage()\"\n (buttonClick)=\"pager.previousPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"chevron_right\"\n [ariaLabel]=\"pager._intl.nextPageLabel\"\n [disabled]=\"!pager.hasNextPage()\"\n (buttonClick)=\"pager.nextPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"last_page\"\n [ariaLabel]=\"pager._intl.lastPageLabel\"\n [disabled]=\"!pager.hasNextPage()\"\n (buttonClick)=\"pager.lastPage()\" />\n </div>\n </div>\n }\n </mat-card-content>\n </mat-card>\n</div>\n", styles: [":host{--eu-navy: #1b2535;--eu-navy-soft: #253347;--eu-navy-dim: rgba(27, 37, 53, .08);--eu-navy-mid: rgba(27, 37, 53, .18);--eu-surface: #ffffff;--eu-bg: #f4f5f7;--eu-border: #e2e5ea;--eu-border-mid: #c9cdd6;--eu-text: #1b2535;--eu-muted: #6b7585;--eu-danger: var(--danger, #e53935);--eu-radius: 10px;--eu-radius-sm: 6px;--eu-shadow: 0 2px 12px rgba(27, 37, 53, .06), 0 1px 4px rgba(27, 37, 53, .04);--eu-shadow-btn: 0 4px 14px rgba(27, 37, 53, .22);font-family:Sora,system-ui,sans-serif;position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #fafafa inset!important;background-color:#fafafa!important}p{font:20px Roboto,Helvetica Neue,sans-serif}.bg-accent{background-color:var(--accent-color)}.table-div .separate-filters{display:flex;flex-direction:column}.table-div .separate-filters .filter-dropdown{width:fit-content}.table-div .separate-filters .filters{display:flex;flex-direction:row;gap:8px;margin:0 24px 1rem}.table-div .separate-filters .filters .filter mat-icon{margin-right:0!important}.table-div mat-card.table-card{border-radius:10px!important;overflow:hidden;box-shadow:0 2px 12px #373f4c1a!important;background:#fff!important}.table-div mat-card.table-card mat-card-header.table-header{padding:14px 16px 14px 12px;background:var(--accent-lightest-color);border-bottom:1px solid var(--accent-color);min-height:65px}.table-div mat-card.table-card mat-card-header.table-header ::ng-deep .mat-mdc-card-header-text{display:none}.table-div mat-card.table-card mat-card-header.table-header .table-header-icon{color:var(--primary-color);font-size:20px;width:20px;height:20px}.table-div mat-card.table-card mat-card-header.table-header .table-title{margin-bottom:0;font-size:.9375rem;font-weight:600;letter-spacing:.01em;color:#373f4c}.table-div mat-card.table-card mat-card-content{padding:0}.table-div mat-card.table-card mat-card-content .no-data-found{display:flex;flex-direction:column;justify-content:center;align-items:center;height:140px;gap:8px;background:#fff}.table-div mat-card.table-card mat-card-content .no-data-found .no-data-icon{font-size:40px;width:40px;height:40px;color:var(--accent-darker-color);opacity:.7}.table-div mat-card.table-card mat-card-content .no-data-found .no-data-text{font-size:.875rem;color:#373f4c;margin:0}.table-div mat-card.table-card mat-card-content .loading-container{display:flex;justify-content:center;align-items:center;padding:32px;background:#fff}.table-div mat-card.table-card mat-card-content .table-paginator{display:flex;align-items:center;justify-content:flex-end;gap:16px;border-radius:0 0 10px 10px;background-color:#dde3ec;border-top:1px solid #c8c8d4}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__size{display:flex;align-items:center;gap:8px}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__size-label{font-family:Sora,system-ui,sans-serif;font-size:.8125rem;color:#6b7585;white-space:nowrap}.table-div mat-card.table-card mat-card-content .table-paginator mat-paginator{display:none}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__range{font-family:Sora,system-ui,sans-serif;font-size:.8125rem;font-variant-numeric:tabular-nums;color:#6b7585;white-space:nowrap}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__nav{display:flex;align-items:center;gap:2px;padding:8px 12px 8px 0}.table-div .action-buttons-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.table-div tr td,.table-div tr th{border-bottom:1px solid var(--accent-color);color:#373f4c;padding:10px 8px}.table-div tr th{background-color:#dde3ec;font-weight:600;font-size:.9rem;letter-spacing:.05em}.table-div tr th:first-of-type,.table-div tr td:first-of-type{padding-left:20px}.table-div tr th:last-of-type,.table-div tr td:last-of-type{padding-right:20px}table{width:100%}.mat-mdc-form-field{font-size:14px}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper{max-height:45px;padding-left:4px}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper [class^=mdc-notched-outline__]{border:none;border-bottom:1px solid #929293;border-radius:0}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper [class^=mdc-notched-outline__]:first-of-type{display:none}.mat-mdc-icon-button.mat-mdc-button-base{padding:10px}.spacer{flex:1 1 auto}.link{color:#459fff;font-weight:600;cursor:pointer}.email-cell{display:inline-flex;align-items:center;gap:6px}.email-cell .email-icon{font-size:15px;width:15px;height:15px;opacity:.4;flex-shrink:0}.email-copy{display:inline-flex;align-items:center;height:1em;opacity:0;transition:opacity .12s ease}tr:hover .email-copy,.email-copy:focus-within,.email-copy.is-copied{opacity:1}@media (hover: none){.email-copy{opacity:1}}@media (prefers-reduced-motion: reduce){.email-copy{transition:none}}.filter{font-size:100%;border-top:.84375em solid rgba(0,0,0,0)}tr.detail-row{height:0}tr.no-data-row td{border-bottom:none;padding:0}.element-row td{border-bottom-width:0}.element-detail{overflow:hidden;display:flex}.element-detail>img{max-height:100%}.element-symbol{font-weight:700;font-size:40px;line-height:normal}.element-description{padding:16px}.element-description-attribution{opacity:.5}.pills{display:flex;flex-direction:column;gap:16px;margin:8px 2px}::ng-deep .ud-actions-menu{border-radius:10px!important;box-shadow:0 4px 20px #1b25351a,0 1px 4px #1b25350f!important;border:1px solid rgba(27,37,53,.08);overflow:hidden;min-width:200px!important}::ng-deep .ud-actions-menu .mat-mdc-menu-content{padding:4px!important}::ng-deep .ud-actions-menu .ud-menu-divider{height:1px;margin:4px 8px;background:#1b253514}::ng-deep .ud-actions-menu .ud-menu-item{display:flex;align-items:center;gap:0;height:auto;min-height:40px;padding:0 12px 0 0!important;border-radius:7px;margin:1px 0;position:relative;overflow:hidden;transition:background .15s ease}::ng-deep .ud-actions-menu .ud-menu-item .mat-mdc-menu-item-text{display:flex;align-items:center}::ng-deep .ud-actions-menu .ud-menu-item:before{content:\"\";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:0 2px 2px 0;background:#1b2535;transform:scaleY(0);transform-origin:center;transition:transform .18s cubic-bezier(.4,0,.2,1)}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]):before{transform:scaleY(1)}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]){background:#1b25350d!important}::ng-deep .ud-actions-menu .ud-menu-item[disabled]{opacity:1}::ng-deep .ud-actions-menu .ud-menu-item[disabled] .ud-menu-item__icon-wrap,::ng-deep .ud-actions-menu .ud-menu-item[disabled] .ud-menu-item__label{opacity:.38}::ng-deep .ud-actions-menu .ud-menu-item--no-icon{padding-left:12px!important}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__icon-wrap{display:flex;align-items:center;justify-content:center;width:40px;flex-shrink:0;align-self:stretch;max-height:40px}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__icon-wrap mat-icon{font-size:17px;width:17px;height:17px;margin:0;color:#6b7585;transition:color .15s ease}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]) .ud-menu-item__icon-wrap mat-icon{color:#1b2535}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__text{display:flex;flex-direction:column;padding:8px 0;min-width:0}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__label{font-family:Sora,system-ui,sans-serif;font-size:.875rem;font-weight:500;line-height:1.25rem;color:#1b2535;letter-spacing:.01em;white-space:nowrap}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__description{font-family:Sora,system-ui,sans-serif;font-size:.75rem;line-height:1rem;color:#6b7585;white-space:normal}::ng-deep .ud-actions-menu .ud-menu-item--danger .ud-menu-item__label,::ng-deep .ud-actions-menu .ud-menu-item--danger .ud-menu-item__icon-wrap mat-icon,::ng-deep .ud-actions-menu .ud-menu-item--danger:hover:not([disabled]) .ud-menu-item__icon-wrap mat-icon{color:#e53935}::ng-deep .ud-actions-menu .ud-menu-item--danger:before{background:#e53935}::ng-deep .ud-actions-menu .ud-menu-item .mdc-list-item__primary-text{display:none!important}.filter--active{position:relative}.filter--active:after{content:\"\";position:absolute;left:0;right:0;bottom:-5px;height:2px;border-radius:2px;background:#459fff;pointer-events:none}.table-controls{display:flex;align-items:flex-start;gap:12px}.table-controls .separate-filters{flex:1 1 auto;min-width:0}.column-picker{flex:0 0 auto;margin:.84375em 24px 0 auto}.column-picker--active ::ng-deep .ud-btn.ud-btn--stroked{background:#459fff17!important;border-color:#459fff8c!important;color:#1b2535!important;font-weight:600!important}.column-picker--active ::ng-deep .ud-btn.ud-btn--stroked:hover:not(:disabled){background:#459fff24!important;border-color:#459fffbf!important;color:#1b2535!important}.filters-clear{align-self:flex-start;margin-top:.84375em;padding:0 2px;border:0;background:none;color:#6b7585;font-family:var(--ud-field-font);font-size:.8125rem;font-weight:500;line-height:34px;cursor:pointer;white-space:nowrap;transition:color .15s ease}.filters-clear:hover,.filters-clear:focus-visible{color:#459fff}.filters-clear__count{margin-left:5px;font-family:JetBrains Mono,ui-monospace,monospace;font-weight:600;color:#1b2535}.filters-clear:focus-visible{outline:2px solid #459fff;outline-offset:3px;border-radius:3px}@media (prefers-reduced-motion: reduce){.filters-clear{transition:none}}.filter-button-trigger--active{background-color:#459fff17!important;border-color:#459fff8c!important;color:#1b2535!important;font-weight:600!important}.filter-button-trigger--active ::ng-deep .ud-btn__label{display:contents}.filter-button-trigger--active ::ng-deep .ud-btn__icon--right{order:1}.filter-button-trigger--active .filter-clear-icon{order:2;font-size:15px!important;width:15px!important;height:15px!important;line-height:15px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer;border-radius:50%;transition:background .15s ease}.filter-button-trigger--active .filter-clear-icon:hover{background:#1b25351f}td.editable-cell .cell-display-wrapper{display:flex;align-items:center;gap:6px;min-height:32px}td.editable-cell .cell-display-wrapper .cell-edit-icon{opacity:0;transform:scale(.72) translateY(1px);transition:opacity .16s ease,transform .18s cubic-bezier(.34,1.4,.64,1);flex-shrink:0;width:30px!important;height:30px!important;line-height:30px!important;padding:4px!important;border-radius:6px!important;background:transparent;border:1px solid transparent;display:flex!important;align-items:center!important;justify-content:center!important}td.editable-cell .cell-display-wrapper .cell-edit-icon:hover{background:rgba(var(--primary-color-rgb, 63, 81, 181),.08)!important;border-color:rgba(var(--primary-color-rgb, 63, 81, 181),.22)!important}td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-mdc-button-persistent-ripple,td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-ripple{border-radius:6px}td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-mdc-button-touch-target{width:30px!important;height:30px!important}td.editable-cell .cell-display-wrapper .cell-edit-icon mat-icon{font-size:14px!important;width:14px!important;height:14px!important;color:var(--primary-color);line-height:14px;display:flex!important;align-items:center;justify-content:center}td.editable-cell .cell-display-wrapper .cell-edit-icon.cell-edit-icon--visible{opacity:1;transform:scale(1) translateY(0)}td.editable-cell .cell-edit-wrapper{display:flex;align-items:center;gap:4px;animation:cell-edit-enter .18s cubic-bezier(.22,1,.36,1) both}td.editable-cell .cell-edit-wrapper ud-multi-select,td.editable-cell .cell-edit-wrapper ud-text-input{flex:1;min-width:0}td.editable-cell .cell-edit-wrapper .cell-edit-actions{display:flex;flex-direction:row;gap:3px;flex-shrink:0}@keyframes cell-edit-enter{0%{opacity:0;transform:translateY(-3px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}::ng-deep .custom-dropdown{min-width:280px!important;max-width:650px!important;width:auto!important;max-height:none!important;overflow:visible!important;border-radius:10px!important;box-shadow:0 4px 20px #1b25351a,0 1px 4px #1b25350f!important}::ng-deep .custom-dropdown .mat-mdc-menu-content{padding:14px;width:100%;box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content{box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .boolean-content{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:200px;padding:4px 0}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .boolean-content .boolean-label{font-family:Sora,system-ui,sans-serif;font-size:.875rem;font-weight:500;color:#1b2535}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .date-content{width:320px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .date-content ud-date-range-input{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .string-content{display:flex;gap:1rem}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field{width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field .mat-mdc-form-field{font-size:14px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field input{width:100%;box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content{display:flex;flex-direction:column;gap:12px;width:280px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content .dropdown-label{font-family:inherit;font-size:.8125rem;font-weight:500;color:#1b2535}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content ud-button-toggle{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content ud-multi-select{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content{display:flex;flex-direction:column;gap:8px;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content ud-multi-select{width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content .number-range-row{display:flex;gap:8px;width:100%}\n"], dependencies: [{ kind: "component", type: MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "pipe", type: CapitalizePipe, name: "capitalize" }, { kind: "pipe", type: ToObservablePipe, name: "toObservable" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "directive", type: MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "component", type: MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "directive", type: MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "pipe", type: DatePipe, name: "date" }, { kind: "directive", type: UdTooltipDirective, selector: "[udTooltip]", inputs: ["udTooltip", "udTooltipPosition", "udTooltipDisabled", "udTooltipShowDelay"] }, { kind: "directive", type: MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "component", type: CheckboxComponent, selector: "ud-checkbox", inputs: ["controlName", "size", "label", "labelPosition", "ariaLabel", "indeterminate", "checked", "disabled"], outputs: ["onChange"] }, { kind: "component", type: MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: MatSort, selector: "[matSort]", inputs: ["matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear", "matSortDisabled"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: UdMenuComponent, selector: "ud-menu", inputs: ["items", "triggerVariant", "triggerIcon", "triggerLabel", "triggerColor", "triggerSize", "customTrigger", "ariaLabel", "disabled", "loading", "xPosition", "yPosition", "stopPropagation", "panelClass"], outputs: ["itemSelected", "opened", "closed"] }, { kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: MatCardContent, selector: "mat-card-content" }, { kind: "component", type: MatCardHeader, selector: "mat-card-header" }, { kind: "component", type: MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "pipe", type: PluralizePipe, name: "pluralize" }, { kind: "component", type: ToggleComponent, selector: "ud-toggle", inputs: ["controlName", "size", "label", "labelPosition", "ariaLabel"], outputs: ["onChange"] }, { kind: "component", type: DateRangeInputComponent, selector: "ud-date-range-input", inputs: ["startControlName", "endControlName", "label", "icon", "iconFontSet", "startPlaceholder", "endPlaceholder", "min", "max", "disabled", "hint", "startAt", "startView"] }, { kind: "component", type: TextInputComponent, selector: "ud-text-input", inputs: ["controlName", "label", "placeholder", "type", "icon", "iconFontSet", "loading", "step", "min", "max", "disabled", "hint", "size", "clearable"] }, { kind: "component", type: MultiSelectComponent, selector: "ud-multi-select", inputs: ["controlName", "label", "placeholder", "icon", "iconFontSet", "options", "multiple", "maxChipsVisible", "moreText", "size", "loading", "disabled", "clearable", "hint"] }, { kind: "component", type: UdButtonComponent, selector: "ud-button", inputs: ["variant", "color", "size", "type", "icon", "iconPosition", "iconFontSet", "loading", "disabled", "ariaLabel", "fullWidth"], outputs: ["buttonClick"] }, { kind: "component", type: PillComponent, selector: "ud-pill", inputs: ["text", "type", "variant", "showDot", "value", "options", "disabled"], outputs: ["optionSelected"] }, { kind: "component", type: UdButtonToggleComponent, selector: "ud-button-toggle", inputs: ["options", "size", "disabled"] }], animations: [
3884
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.19", type: CustomTableComponent, isStandalone: true, selector: "ud-table", inputs: { id: "id", title: "title", icon: "icon", actions: "actions", haveCheckbox: "haveCheckbox", displayedColumns: "displayedColumns", dataSource: "dataSource", paginationSizeOptions: "paginationSizeOptions", initialPageSize: "initialPageSize", specificSelectRow: "specificSelectRow", hasFilter: "hasFilter", expandableRows: "expandableRows", expandedItem: "expandedItem", isLoading: "isLoading", separateFilters: "separateFilters", showPaginator: "showPaginator", noTableDataMessage: "noTableDataMessage", actionsMenuEnabled: "actionsMenuEnabled", menuItems: "menuItems", totalElements: "totalElements", serverSideFiltering: "serverSideFiltering", disableHeader: "disableHeader", columnVisibilityEnabled: "columnVisibilityEnabled", copyLabel: "copyLabel", copiedLabel: "copiedLabel" }, outputs: { actionClicked: "actionClicked", clicked: "clicked", queryChange: "queryChange", cellEdited: "cellEdited", columnVisibilityChanged: "columnVisibilityChanged" }, queries: [{ propertyName: "actionsTemplate", first: true, predicate: TemplateRef, descendants: true }], viewQueries: [{ propertyName: "paginatorRef", first: true, predicate: MatPaginator, descendants: true }, { propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true }, { propertyName: "allFilterInput", first: true, predicate: ["allFilterInput"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"table-div\">\n <mat-card\n appearance=\"outlined\"\n class=\"px-0 table-card\"\n [ngClass]=\"[actions.length === 0 ? 'pt-2' : 'pb-0']\"\n style=\"border-color: var(--accent-darker-color)\">\n @if (!disableHeader) {\n <mat-card-header\n class=\"d-flex justify-content-between align-items-center table-header\"\n [ngClass]=\"[actions.length === 0 ? 'pb-3' : 'pb-0']\">\n <div class=\"d-flex align-items-center\">\n @if (icon) {\n <mat-icon\n fontSet=\"material-icons-outlined\"\n class=\"table-header-icon ml-3\">\n {{ icon }}\n </mat-icon>\n }\n <h6 class=\"ml-2 table-title\">\n {{ title | toObservable | async | capitalize }}\n </h6>\n </div>\n <div class=\"d-flex align-items-center action-buttons-group pr-2\">\n @for (action of actions; track action.id) {\n <ud-button\n [attr.data-action-id]=\"action.id\"\n [variant]=\"action.variant ?? 'stroked'\"\n [color]=\"action.color ?? 'primary'\"\n [icon]=\"action.icon\"\n [disabled]=\"resolveBooleanInput(action?.disabled, selection)\"\n [loading]=\"resolveBooleanInput(action?.loading, selection)\"\n size=\"sm\"\n (buttonClick)=\"onActionClicked(action)\">\n {{ action.label | toObservable | async | capitalize }}\n </ud-button>\n }\n @if (actionsMenuEnabled && menuItems.length > 0) {\n <ud-menu\n [items]=\"tableMenuItems()\"\n triggerVariant=\"stroked\"\n triggerColor=\"primary\"\n triggerIcon=\"keyboard_arrow_down\"\n [triggerLabel]=\"'names.action' | translate | pluralize | capitalize\"\n xPosition=\"after\"\n [stopPropagation]=\"false\"\n (itemSelected)=\"onTableMenuItemSelected($event)\" />\n } @else if (actionsMenuEnabled) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [matMenuTriggerFor]=\"menu\">\n {{ 'names.action' | translate | pluralize | capitalize }}\n </ud-button>\n <mat-menu #menu=\"matMenu\" class=\"ud-actions-menu\">\n <ng-container\n *ngTemplateOutlet=\"\n actionsTemplate;\n context: {\n selection: selection,\n data: dataSource.data,\n selectedRows: selection.selected,\n }\n \"></ng-container>\n </mat-menu>\n }\n </div>\n </mat-card-header>\n }\n <mat-card-content>\n <!--\n Filters and the column picker on one line. Both answer the same\n question \u2014 what am I looking at \u2014 where the header above is for acting\n on the rows. The picker sat up there with Add and Delete and read as a\n third action rather than a view control.\n -->\n <div class=\"table-controls\">\n @if (!separateFilters) {\n <mat-form-field\n class=\"ml-4\"\n appearance=\"outline\"\n [ngStyle]=\"{ display: hasFilter ? '' : 'none' }\">\n <mat-icon class=\"filter p-0\" matSuffix>filter_alt</mat-icon>\n <mat-label>{{ 'table.filter' | translate | capitalize }}</mat-label>\n <input\n #allFilterInput\n matInput\n (keyup)=\"applyFilterToAllColumns($event)\"\n [placeholder]=\"'table.sortOnAnyField' | translate | capitalize\" />\n </mat-form-field>\n } @else {\n <div class=\"separate-filters\">\n <form [formGroup]=\"filterByColumnFormGroup\" class=\"filters\">\n @for (filter of selectedFilters; track filter) {\n <!--\n The active marker lives on the wrapper so every filter type\n carries it. The dropdown triggers styled themselves, but a text\n input or a single select looked identical whether or not it was\n narrowing the table \u2014 which is how you end up staring at an\n empty table wondering where the rows went.\n -->\n <div class=\"filter\" [class.filter--active]=\"hasFilterValue(filter.property)\">\n @if (filter.filterOptions) {\n @if (filter.allowMultiSelectOnFilter) {\n <ud-button\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [class.filter-button-trigger--active]=\"\n hasFilterValue(filter.property)\n \"\n [matMenuTriggerFor]=\"multiSelectMenu\">\n {{ filter.name | toObservable | async | capitalize }}\n @if (hasFilterValue(filter.property)) {\n <mat-icon\n class=\"filter-clear-icon\"\n (click)=\"\n clearFilter(filter.property); $event.stopPropagation()\n \">\n close\n </mat-icon>\n }\n </ud-button>\n <mat-menu #multiSelectMenu=\"matMenu\" class=\"custom-dropdown\">\n <div\n class=\"dropdown-content multi-select-content\"\n [formGroupName]=\"controlKey(filter.property)\"\n (click)=\"$event.stopPropagation()\">\n <span class=\"dropdown-label\">\n {{ 'table.matchMode' | translate | capitalize }}\n </span>\n <ud-button-toggle\n formControlName=\"mode\"\n size=\"sm\"\n [options]=\"matchModeOptions\" />\n <ud-multi-select\n controlName=\"values\"\n [options]=\"filter.filterOptions\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n [multiple]=\"true\"\n [clearable]=\"true\"\n size=\"small\" />\n </div>\n </mat-menu>\n } @else {\n <ud-multi-select\n [controlName]=\"controlKey(filter.property)\"\n [options]=\"filter.filterOptions\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n [multiple]=\"false\"\n [clearable]=\"true\"\n size=\"small\" />\n }\n } @else if (\n filter.type === TableDisplayColumnType.HYPERLINK ||\n filter.type === TableDisplayColumnType.TEXT ||\n filter.type === TableDisplayColumnType.PHONE ||\n filter.type === TableDisplayColumnType.EMAIL ||\n filter.type === TableDisplayColumnType.CLICK ||\n filter.type === TableDisplayColumnType.ARRAY ||\n filter.type === TableDisplayColumnType.PILL\n ) {\n <ud-text-input\n [controlName]=\"controlKey(filter.property)\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n size=\"small\"\n [clearable]=\"true\" />\n } @else {\n <ud-button\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [class.filter-button-trigger--active]=\"\n hasFilterValue(filter.property)\n \"\n [matMenuTriggerFor]=\"dropdownMenu\">\n {{ filter.name | toObservable | async | capitalize }}\n @if (hasFilterValue(filter.property)) {\n <mat-icon\n class=\"filter-clear-icon\"\n (click)=\"\n clearFilter(filter.property); $event.stopPropagation()\n \">\n close\n </mat-icon>\n }\n </ud-button>\n <mat-menu #dropdownMenu=\"matMenu\" class=\"custom-dropdown\">\n <div\n class=\"dropdown-content\"\n (click)=\"$event.stopPropagation()\">\n @if (filter.type === TableDisplayColumnType.BOOLEAN) {\n <div class=\"boolean-content\">\n <span class=\"boolean-label\">\n {{\n filter.name | toObservable | async | capitalize\n }}\n </span>\n <ud-toggle\n [formControlName]=\"controlKey(filter.property)\"\n size=\"md\" />\n </div>\n } @else if (\n filter.type === TableDisplayColumnType.NUMBER ||\n filter.type === TableDisplayColumnType.MONEY\n ) {\n <div\n class=\"number-content\"\n [formGroupName]=\"controlKey(filter.property)\">\n <ud-multi-select\n controlName=\"operation\"\n [multiple]=\"false\"\n [label]=\"\n 'table.operationType' | translate | capitalize\n \"\n [options]=\"numberOperationOptions\" />\n @if (\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation &&\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation !== NumberOperator.BETWEEN\n ) {\n <ud-text-input\n controlName=\"value\"\n type=\"number\"\n [label]=\"\n 'operators.numbers.' +\n filterByColumnFormGroup.controls[\n controlKey(filter.property)\n ].value.operation\n | translate\n | capitalize\n \" />\n } @else if (\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation\n ) {\n <div class=\"number-range-row\">\n <ud-text-input\n controlName=\"min\"\n type=\"number\"\n [label]=\"\n 'operators.minimum' | translate | capitalize\n \" />\n <ud-text-input\n controlName=\"max\"\n type=\"number\"\n [min]=\"\n filterByColumnFormGroup.controls[\n controlKey(filter.property)\n ].value.min\n \"\n [label]=\"\n 'operators.maximum' | translate | capitalize\n \" />\n </div>\n }\n </div>\n } @else if (\n filter.type === TableDisplayColumnType.DATETIME ||\n filter.type === TableDisplayColumnType.DATE\n ) {\n <div\n [formGroupName]=\"controlKey(filter.property)\"\n class=\"date-content\">\n <ud-date-range-input\n startControlName=\"start\"\n endControlName=\"end\"\n [label]=\"'table.dateRange' | translate | capitalize\"\n [startPlaceholder]=\"\n 'table.startDate' | translate | capitalize\n \"\n [endPlaceholder]=\"\n 'table.endDate' | translate | capitalize\n \" />\n </div>\n }\n </div>\n </mat-menu>\n }\n </div>\n }\n\n <!--\n Inside the row so it reads as the end of the filter set rather\n than a separate control, and only once there is something to\n clear \u2014 a permanently present \"clear filters\" on an unfiltered\n table is a button that does nothing.\n -->\n @if (activeFilterCount > 0) {\n <button\n type=\"button\"\n class=\"filters-clear\"\n (click)=\"clearAllFilters()\">\n <!--\n Count as a separate numeral rather than interpolated into the\n sentence: \"Clear {{count}} filters\" reads wrong at one, and\n every consuming app would need a plural rule for a label this\n small. The mono numeral also lines up as the count changes.\n -->\n {{ 'table.clearFilters' | translate | capitalize }}\n <span class=\"filters-clear__count\">{{ activeFilterCount }}</span>\n </button>\n }\n </form>\n </div>\n }\n\n @if (columnVisibilityEnabled) {\n <ud-button\n class=\"column-picker\"\n [class.column-picker--active]=\"hiddenColumnCount > 0\"\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"view_week\"\n [udTooltip]=\"'table.chooseColumnsLede' | translate\"\n (buttonClick)=\"openColumnVisibility()\">\n {{ 'table.columns' | translate | capitalize }}\n </ud-button>\n }\n </div>\n @if (!isLoading) {\n <table\n mat-table\n matSort\n [matSortActive]=\"initSortedCol?.property!\"\n [matSortDirection]=\"initSortedCol?.initSort!\"\n [multiTemplateDataRows]=\"expandableRows\"\n [dataSource]=\"dataSource\">\n <!-- Checkbox Column -->\n @if (displayCheckbox) {\n <ng-container matColumnDef=\"select\">\n <th\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n class=\"checkbox-header\"\n mat-header-cell\n *matHeaderCellDef>\n <ud-checkbox\n (onChange)=\"toggleAllRows()\"\n [checked]=\"selection.hasValue() && isAllSelected()\"\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\"\n [ariaLabel]=\"checkboxLabel()\">\n </ud-checkbox>\n </th>\n <td\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n class=\"checkbox-cell\"\n mat-cell\n *matCellDef=\"let row\">\n <ud-checkbox\n (click)=\"$event.stopPropagation()\"\n (onChange)=\"selection.toggle(row)\"\n [checked]=\"selection.isSelected(row)\"\n [ariaLabel]=\"checkboxLabel(row)\"\n class=\"mt-2 mr-2\">\n </ud-checkbox>\n </td>\n </ng-container>\n }\n @for (column of displayedColumnsWithoutSelect; track column) {\n <ng-container matColumnDef=\"{{ column.property }}\">\n <th\n [ngStyle]=\"{ width: getColumnWidth(column) }\"\n mat-header-cell\n *matHeaderCellDef>\n {{ column.name | toObservable | async | capitalize }}\n </th>\n <td\n mat-cell\n *matCellDef=\"let row; let index = index\"\n [ngStyle]=\"{ width: getColumnWidth(column) }\"\n [class.editable-cell]=\"column.editable\"\n (mouseenter)=\"\n column.editable &&\n (hoveredCell = {\n rowIndex: index,\n property: column.property,\n })\n \"\n (mouseleave)=\"hoveredCell = null\"\n (click)=\"column.dataCellTemplate && $event.stopPropagation()\">\n @if (\n column.editable &&\n editingCell?.rowIndex === index &&\n editingCell?.property === column.property\n ) {\n <div\n class=\"cell-edit-wrapper\"\n [formGroup]=\"editFormGroup\"\n (click)=\"$event.stopPropagation()\">\n @if (column.editOptions) {\n <ud-multi-select\n controlName=\"value\"\n [multiple]=\"column.allowMultiSelectOnEdit ?? false\"\n [options]=\"column.editOptions\"\n size=\"small\" />\n } @else {\n <ud-text-input\n controlName=\"value\"\n [type]=\"\n column.type === tableDisplayColumnType.NUMBER\n ? 'number'\n : 'text'\n \"\n size=\"small\" />\n }\n <div class=\"cell-edit-actions\">\n <ud-button\n variant=\"icon-only\"\n color=\"success\"\n icon=\"check\"\n size=\"sm\"\n (buttonClick)=\"\n confirmEdit(row, column); $event.stopPropagation()\n \" />\n <ud-button\n variant=\"icon-only\"\n color=\"danger\"\n icon=\"close\"\n size=\"sm\"\n (buttonClick)=\"cancelEdit(); $event.stopPropagation()\" />\n </div>\n </div>\n } @else {\n <div class=\"cell-display-wrapper\">\n @if (column.dataCellTemplate) {\n <ng-container\n *ngTemplateOutlet=\"\n column.dataCellTemplate;\n context: { $implicit: row, index }\n \" />\n } @else if (column.type) {\n @switch (column.type) {\n @case (tableDisplayColumnType.ARRAY) {\n <span>\n {{\n column.transformFn?.(row[column.property]) ??\n row[column.property].join(', ')\n }}\n </span>\n }\n @case (tableDisplayColumnType.TEXT) {\n <span\n [innerHTML]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \">\n </span>\n }\n @case (tableDisplayColumnType.NUMBER) {\n <span\n [innerHTML]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \">\n </span>\n }\n @case (tableDisplayColumnType.TEXT_OBSERVABLES) {\n <span>\n {{ row[column.property] | async | capitalize }}\n </span>\n }\n @case (tableDisplayColumnType.BOOLEAN) {\n <mat-icon\n class=\"mt-2\"\n [udTooltip]=\"\n (row[column.property]\n ? 'names.active'\n : 'names.inactive'\n )\n | translate\n | capitalize\n \"\n udTooltipPosition=\"right\">\n {{ row[column.property] ? 'check' : 'close' }}\n </mat-icon>\n }\n @case (tableDisplayColumnType.CLICK) {\n <span (click)=\"clickedAction(row)\" class=\"link\">\n {{ row[column.property] }}\n </span>\n }\n @case (tableDisplayColumnType.DATE) {\n {{ row[column.property] | date: 'MMMM dd, yyyy' }}\n }\n @case (tableDisplayColumnType.DATETIME) {\n {{\n row[column.property]\n | date: 'MMMM dd, yyyy h:mm a'\n }}\n }\n @case (tableDisplayColumnType.EMAIL) {\n @let email = row[column.property];\n @if (email) {\n <span class=\"email-cell\">\n <mat-icon class=\"email-icon\">mail_outline</mat-icon>\n <span>{{ email }}</span>\n <span\n class=\"email-copy\"\n [class.is-copied]=\"copiedEmailRow() === row\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n [icon]=\"copiedEmailRow() === row ? 'check' : 'content_copy'\"\n [udTooltip]=\"(copiedEmailRow() === row ? copiedLabel : copyLabel) | translate | capitalize\"\n (buttonClick)=\"copyEmail(row, email); $event.stopPropagation()\" />\n </span>\n </span>\n }\n }\n @case (tableDisplayColumnType.HYPERLINK) {\n <span\n class=\"link\"\n [routerLink]=\"getHyperlinkRoute(row, column)\"\n (click)=\"$event.stopPropagation()\">\n {{ row[column.property] }}\n </span>\n }\n @case (tableDisplayColumnType.ICON) {\n <mat-icon\n [ngStyle]=\"{\n color:\n column.icons![row[column.property]].color,\n }\">\n {{ column.icons![row[column.property]].name }}\n </mat-icon>\n }\n @case (tableDisplayColumnType.MONEY) {\n {{ formatMoneyCell(row, column) }}\n }\n @case (tableDisplayColumnType.PHONE) {\n @if (row[column.property].countryCode?.code) {\n <span>\n (+{{\n row[column.property].countryCode.code || ''\n }})\n </span>\n }\n {{\n formatPhoneNumber(\n row[column.property].phoneNumber\n )\n }}\n }\n @case (tableDisplayColumnType.PILL) {\n <ud-pill\n [text]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \"\n [type]=\"column.pillTypeFn!(row)\" />\n }\n }\n } @else {\n {{ row[column.property] }}\n }\n @if (column.editable) {\n <button\n mat-icon-button\n class=\"cell-edit-icon\"\n [class.cell-edit-icon--visible]=\"\n hoveredCell?.rowIndex === index &&\n hoveredCell?.property === column.property\n \"\n (click)=\"\n startEditing(row, index, column);\n $event.stopPropagation()\n \">\n <mat-icon>edit</mat-icon>\n </button>\n }\n </div>\n }\n </td>\n </ng-container>\n }\n <ng-container matColumnDef=\"expand\">\n <th\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n mat-header-cell\n *matHeaderCellDef\n aria-label=\"row actions\">\n &nbsp;\n </th>\n <td\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n mat-cell\n *matCellDef=\"let element\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n ariaLabel=\"expand row\"\n [icon]=\"\n expandedElement !== element\n ? 'keyboard_arrow_down'\n : 'keyboard_arrow_up'\n \"\n (buttonClick)=\"\n expandedElement =\n expandedElement === element ? null : element;\n $event.stopPropagation()\n \" />\n </td>\n </ng-container>\n\n <!-- Expanded Content Column - The detail row is made up of this one column that spans across all columns -->\n <ng-container matColumnDef=\"expandedDetail\">\n <td\n mat-cell\n class=\"ml-auto\"\n *matCellDef=\"let element\"\n [attr.colspan]=\"columnsToDisplayWithExpand.length\">\n <div\n class=\"element-detail justify-content-center\"\n [@detailExpand]=\"\n element === expandedElement ? 'expanded' : 'collapsed'\n \">\n @if (expandedItem.type === 'image') {\n <img\n class=\"pb-4\"\n [src]=\"element[expandedItem.property]\"\n alt=\"\" />\n }\n </div>\n </td>\n </ng-container>\n\n @if (!expandableRows) {\n <ng-container>\n <tr\n mat-header-row\n *matHeaderRowDef=\"displayedColumnsProperty\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: displayedColumnsProperty;\n let i = index\n \"\n (click)=\"selectRow(row)\"\n [ngClass]=\"getRowBackgroundColor(i)\"></tr>\n </ng-container>\n } @else {\n <ng-container>\n <tr\n mat-header-row\n *matHeaderRowDef=\"columnsToDisplayWithExpand\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: columnsToDisplayWithExpand;\n let i = dataIndex\n \"\n [id]=\"i\"\n class=\"element-row\"\n [class.expanded-row]=\"expandedElement === row\"\n [ngClass]=\"getRowBackgroundColor(i)\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: ['expandedDetail'];\n let i = dataIndex\n \"\n [id]=\"i\"\n [ngClass]=\"getRowBackgroundColor(i)\"\n [ngStyle]=\"{\n display: expandedElement === row ? 'contents' : 'none',\n }\"\n class=\"detail-row\"></tr>\n </ng-container>\n }\n\n <!-- Row shown when there is no matching data. -->\n <tr class=\"mat-row no-data-row\" *matNoDataRow>\n <td class=\"mat-cell\" [attr.colspan]=\"displayedColumnsProperty.length\">\n <div class=\"no-data-found\">\n <mat-icon class=\"no-data-icon\">\n {{ dataSource.data.length > 0 ? 'search_off' : 'inbox' }}\n </mat-icon>\n <p class=\"no-data-text\">\n {{\n dataSource.data.length > 0\n ? ('messages.modifyFilter' | translate | capitalize)\n : noTableDataMessage\n }}\n </p>\n </div>\n </td>\n </tr>\n </table>\n } @else {\n <div class=\"loading-container\">\n <mat-progress-spinner\n class=\"mx-auto\"\n [diameter]=\"32\"\n color=\"primary\"\n mode=\"indeterminate\" />\n </div>\n }\n @if (showPaginator) {\n <div class=\"table-paginator\">\n <div class=\"table-paginator__size\">\n <span class=\"table-paginator__size-label\">\n {{ 'table.rowsPerPage' | translate | capitalize }}\n </span>\n <ud-menu\n [items]=\"pageSizeMenuItems\"\n triggerVariant=\"stroked\"\n triggerIcon=\"keyboard_arrow_down\"\n [triggerLabel]=\"pageSizeLabel\"\n [ariaLabel]=\"'table.rowsPerPage' | translate | capitalize\"\n xPosition=\"after\"\n yPosition=\"above\"\n [stopPropagation]=\"false\"\n (itemSelected)=\"onPageSizeSelected($event)\" />\n </div>\n <!-- Drives paging and dataSource.paginator; hidden, the controls below render it. -->\n <mat-paginator\n #pager\n [length]=\"totalElements ?? dataSource.data.length\"\n [pageSize]=\"initialPageSize\"\n [pageSizeOptions]=\"paginationSizeOptions\"\n (page)=\"onPageChange($event)\" />\n <span class=\"table-paginator__range\">\n {{ pager._intl.getRangeLabel(pager.pageIndex, pager.pageSize, pager.length) }}\n </span>\n <div class=\"table-paginator__nav\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"first_page\"\n [ariaLabel]=\"pager._intl.firstPageLabel\"\n [disabled]=\"!pager.hasPreviousPage()\"\n (buttonClick)=\"pager.firstPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"chevron_left\"\n [ariaLabel]=\"pager._intl.previousPageLabel\"\n [disabled]=\"!pager.hasPreviousPage()\"\n (buttonClick)=\"pager.previousPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"chevron_right\"\n [ariaLabel]=\"pager._intl.nextPageLabel\"\n [disabled]=\"!pager.hasNextPage()\"\n (buttonClick)=\"pager.nextPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"last_page\"\n [ariaLabel]=\"pager._intl.lastPageLabel\"\n [disabled]=\"!pager.hasNextPage()\"\n (buttonClick)=\"pager.lastPage()\" />\n </div>\n </div>\n }\n </mat-card-content>\n </mat-card>\n</div>\n", styles: [":host{--eu-navy: #1b2535;--eu-navy-soft: #253347;--eu-navy-dim: rgba(27, 37, 53, .08);--eu-navy-mid: rgba(27, 37, 53, .18);--eu-surface: #ffffff;--eu-bg: #f4f5f7;--eu-border: #e2e5ea;--eu-border-mid: #c9cdd6;--eu-text: #1b2535;--eu-muted: #6b7585;--eu-danger: var(--danger, #e53935);--eu-radius: 10px;--eu-radius-sm: 6px;--eu-shadow: 0 2px 12px rgba(27, 37, 53, .06), 0 1px 4px rgba(27, 37, 53, .04);--eu-shadow-btn: 0 4px 14px rgba(27, 37, 53, .22);font-family:Sora,system-ui,sans-serif;position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #fafafa inset!important;background-color:#fafafa!important}p{font:20px Roboto,Helvetica Neue,sans-serif}.bg-accent{background-color:var(--accent-color)}.table-div .separate-filters{display:flex;flex-direction:column}.table-div .separate-filters .filter-dropdown{width:fit-content}.table-div .separate-filters .filters{display:flex;flex-direction:row;gap:8px;margin:0 24px 1rem}.table-div .separate-filters .filters .filter mat-icon{margin-right:0!important}.table-div mat-card.table-card{border-radius:10px!important;overflow:hidden;box-shadow:0 2px 12px #373f4c1a!important;background:#fff!important}.table-div mat-card.table-card mat-card-header.table-header{padding:14px 16px 14px 12px;background:var(--accent-lightest-color);border-bottom:1px solid var(--accent-color);min-height:65px}.table-div mat-card.table-card mat-card-header.table-header ::ng-deep .mat-mdc-card-header-text{display:none}.table-div mat-card.table-card mat-card-header.table-header .table-header-icon{color:var(--primary-color);font-size:20px;width:20px;height:20px}.table-div mat-card.table-card mat-card-header.table-header .table-title{margin-bottom:0;font-size:.9375rem;font-weight:600;letter-spacing:.01em;color:#373f4c}.table-div mat-card.table-card mat-card-content{padding:0}.table-div mat-card.table-card mat-card-content .no-data-found{display:flex;flex-direction:column;justify-content:center;align-items:center;height:140px;gap:8px;background:#fff}.table-div mat-card.table-card mat-card-content .no-data-found .no-data-icon{font-size:40px;width:40px;height:40px;color:var(--accent-darker-color);opacity:.7}.table-div mat-card.table-card mat-card-content .no-data-found .no-data-text{font-size:.875rem;color:#373f4c;margin:0}.table-div mat-card.table-card mat-card-content .loading-container{display:flex;justify-content:center;align-items:center;padding:32px;background:#fff}.table-div mat-card.table-card mat-card-content .table-paginator{display:flex;align-items:center;justify-content:flex-end;gap:16px;border-radius:0 0 10px 10px;background-color:#dde3ec;border-top:1px solid #c8c8d4}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__size{display:flex;align-items:center;gap:8px}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__size-label{font-family:Sora,system-ui,sans-serif;font-size:.8125rem;color:#6b7585;white-space:nowrap}.table-div mat-card.table-card mat-card-content .table-paginator mat-paginator{display:none}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__range{font-family:Sora,system-ui,sans-serif;font-size:.8125rem;font-variant-numeric:tabular-nums;color:#6b7585;white-space:nowrap}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__nav{display:flex;align-items:center;gap:2px;padding:8px 12px 8px 0}.table-div .action-buttons-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.table-div tr td,.table-div tr th{border-bottom:1px solid var(--accent-color);color:#373f4c;padding:10px 8px}.table-div tr th{background-color:#dde3ec;font-weight:600;font-size:.9rem;letter-spacing:.05em}.table-div tr th:first-of-type,.table-div tr td:first-of-type{padding-left:20px}.table-div tr th:last-of-type,.table-div tr td:last-of-type{padding-right:20px}table{width:100%}.mat-mdc-form-field{font-size:14px}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper{max-height:45px;padding-left:4px}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper [class^=mdc-notched-outline__]{border:none;border-bottom:1px solid #929293;border-radius:0}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper [class^=mdc-notched-outline__]:first-of-type{display:none}.mat-mdc-icon-button.mat-mdc-button-base{padding:10px}.spacer{flex:1 1 auto}.link{color:#459fff;font-weight:600;cursor:pointer}.email-cell{display:inline-flex;align-items:center;gap:6px}.email-cell .email-icon{font-size:15px;width:15px;height:15px;opacity:.4;flex-shrink:0}.email-copy{display:inline-flex;align-items:center;height:1em;opacity:0;transition:opacity .12s ease}tr:hover .email-copy,.email-copy:focus-within,.email-copy.is-copied{opacity:1}@media (hover: none){.email-copy{opacity:1}}@media (prefers-reduced-motion: reduce){.email-copy{transition:none}}.filter{font-size:100%;border-top:.84375em solid rgba(0,0,0,0)}tr.detail-row{height:0}tr.no-data-row td{border-bottom:none;padding:0}.element-row td{border-bottom-width:0}.element-detail{overflow:hidden;display:flex}.element-detail>img{max-height:100%}.element-symbol{font-weight:700;font-size:40px;line-height:normal}.element-description{padding:16px}.element-description-attribution{opacity:.5}.pills{display:flex;flex-direction:column;gap:16px;margin:8px 2px}::ng-deep .ud-actions-menu{border-radius:10px!important;box-shadow:0 4px 20px #1b25351a,0 1px 4px #1b25350f!important;border:1px solid rgba(27,37,53,.08);overflow:hidden;min-width:200px!important}::ng-deep .ud-actions-menu .mat-mdc-menu-content{padding:4px!important}::ng-deep .ud-actions-menu .ud-menu-divider{height:1px;margin:4px 8px;background:#1b253514}::ng-deep .ud-actions-menu .ud-menu-item{display:flex;align-items:center;gap:0;height:auto;min-height:40px;padding:0 12px 0 0!important;border-radius:7px;margin:1px 0;position:relative;overflow:hidden;transition:background .15s ease}::ng-deep .ud-actions-menu .ud-menu-item .mat-mdc-menu-item-text{display:flex;align-items:center}::ng-deep .ud-actions-menu .ud-menu-item:before{content:\"\";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:0 2px 2px 0;background:#1b2535;transform:scaleY(0);transform-origin:center;transition:transform .18s cubic-bezier(.4,0,.2,1)}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]):before{transform:scaleY(1)}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]){background:#1b25350d!important}::ng-deep .ud-actions-menu .ud-menu-item[disabled]{opacity:1}::ng-deep .ud-actions-menu .ud-menu-item[disabled] .ud-menu-item__icon-wrap,::ng-deep .ud-actions-menu .ud-menu-item[disabled] .ud-menu-item__label{opacity:.38}::ng-deep .ud-actions-menu .ud-menu-item--no-icon{padding-left:12px!important}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__icon-wrap{display:flex;align-items:center;justify-content:center;width:40px;flex-shrink:0;align-self:stretch;max-height:40px}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__icon-wrap mat-icon{font-size:17px;width:17px;height:17px;margin:0;color:#6b7585;transition:color .15s ease}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]) .ud-menu-item__icon-wrap mat-icon{color:#1b2535}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__text{display:flex;flex-direction:column;padding:8px 0;min-width:0}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__label{font-family:Sora,system-ui,sans-serif;font-size:.875rem;font-weight:500;line-height:1.25rem;color:#1b2535;letter-spacing:.01em;white-space:nowrap}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__description{font-family:Sora,system-ui,sans-serif;font-size:.75rem;line-height:1rem;color:#6b7585;white-space:normal}::ng-deep .ud-actions-menu .ud-menu-item--danger .ud-menu-item__label,::ng-deep .ud-actions-menu .ud-menu-item--danger .ud-menu-item__icon-wrap mat-icon,::ng-deep .ud-actions-menu .ud-menu-item--danger:hover:not([disabled]) .ud-menu-item__icon-wrap mat-icon{color:#e53935}::ng-deep .ud-actions-menu .ud-menu-item--danger:before{background:#e53935}::ng-deep .ud-actions-menu .ud-menu-item .mdc-list-item__primary-text{display:none!important}.filter--active{position:relative}.filter--active:after{content:\"\";position:absolute;left:0;right:0;bottom:-5px;height:2px;border-radius:2px;background:#459fff;pointer-events:none}.table-controls{display:flex;align-items:flex-start;gap:12px}.table-controls .separate-filters{flex:1 1 auto;min-width:0}.column-picker{flex:0 0 auto;margin:.84375em 24px 0 auto}.column-picker--active ::ng-deep .ud-btn.ud-btn--stroked{background:#459fff17!important;border-color:#459fff8c!important;color:#1b2535!important;font-weight:600!important}.column-picker--active ::ng-deep .ud-btn.ud-btn--stroked:hover:not(:disabled){background:#459fff24!important;border-color:#459fffbf!important;color:#1b2535!important}.filters-clear{align-self:flex-start;margin-top:.84375em;padding:0 2px;border:0;background:none;color:#6b7585;font-family:var(--ud-field-font);font-size:.8125rem;font-weight:500;line-height:34px;cursor:pointer;white-space:nowrap;transition:color .15s ease}.filters-clear:hover,.filters-clear:focus-visible{color:#459fff}.filters-clear__count{margin-left:5px;font-family:JetBrains Mono,ui-monospace,monospace;font-weight:600;color:#1b2535}.filters-clear:focus-visible{outline:2px solid #459fff;outline-offset:3px;border-radius:3px}@media (prefers-reduced-motion: reduce){.filters-clear{transition:none}}.filter-button-trigger--active{background-color:#459fff17!important;border-color:#459fff8c!important;color:#1b2535!important;font-weight:600!important}.filter-button-trigger--active ::ng-deep .ud-btn__label{display:contents}.filter-button-trigger--active ::ng-deep .ud-btn__icon--right{order:1}.filter-button-trigger--active .filter-clear-icon{order:2;font-size:15px!important;width:15px!important;height:15px!important;line-height:15px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer;border-radius:50%;transition:background .15s ease}.filter-button-trigger--active .filter-clear-icon:hover{background:#1b25351f}td.editable-cell .cell-display-wrapper{display:flex;align-items:center;gap:6px;min-height:32px}td.editable-cell .cell-display-wrapper .cell-edit-icon{opacity:0;transform:scale(.72) translateY(1px);transition:opacity .16s ease,transform .18s cubic-bezier(.34,1.4,.64,1);flex-shrink:0;width:30px!important;height:30px!important;line-height:30px!important;padding:4px!important;border-radius:6px!important;background:transparent;border:1px solid transparent;display:flex!important;align-items:center!important;justify-content:center!important}td.editable-cell .cell-display-wrapper .cell-edit-icon:hover{background:rgba(var(--primary-color-rgb, 63, 81, 181),.08)!important;border-color:rgba(var(--primary-color-rgb, 63, 81, 181),.22)!important}td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-mdc-button-persistent-ripple,td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-ripple{border-radius:6px}td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-mdc-button-touch-target{width:30px!important;height:30px!important}td.editable-cell .cell-display-wrapper .cell-edit-icon mat-icon{font-size:14px!important;width:14px!important;height:14px!important;color:var(--primary-color);line-height:14px;display:flex!important;align-items:center;justify-content:center}td.editable-cell .cell-display-wrapper .cell-edit-icon.cell-edit-icon--visible{opacity:1;transform:scale(1) translateY(0)}td.editable-cell .cell-edit-wrapper{display:flex;align-items:center;gap:4px;animation:cell-edit-enter .18s cubic-bezier(.22,1,.36,1) both}td.editable-cell .cell-edit-wrapper ud-multi-select,td.editable-cell .cell-edit-wrapper ud-text-input{flex:1;min-width:0}td.editable-cell .cell-edit-wrapper .cell-edit-actions{display:flex;flex-direction:row;gap:3px;flex-shrink:0}@keyframes cell-edit-enter{0%{opacity:0;transform:translateY(-3px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}::ng-deep .custom-dropdown{min-width:280px!important;max-width:650px!important;width:auto!important;max-height:none!important;overflow:visible!important;border-radius:10px!important;box-shadow:0 4px 20px #1b25351a,0 1px 4px #1b25350f!important}::ng-deep .custom-dropdown .mat-mdc-menu-content{padding:14px;width:100%;box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content{box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .boolean-content{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:200px;padding:4px 0}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .boolean-content .boolean-label{font-family:Sora,system-ui,sans-serif;font-size:.875rem;font-weight:500;color:#1b2535}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .date-content{width:320px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .date-content ud-date-range-input{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .string-content{display:flex;gap:1rem}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field{width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field .mat-mdc-form-field{font-size:14px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field input{width:100%;box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content{display:flex;flex-direction:column;gap:12px;width:280px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content .dropdown-label{font-family:inherit;font-size:.8125rem;font-weight:500;color:#1b2535}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content ud-button-toggle{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content ud-multi-select{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content{display:flex;flex-direction:column;gap:8px;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content ud-multi-select{width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content .number-range-row{display:flex;gap:8px;width:100%}\n"], dependencies: [{ kind: "component", type: MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "pipe", type: CapitalizePipe, name: "capitalize" }, { kind: "pipe", type: ToObservablePipe, name: "toObservable" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "directive", type: MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "component", type: MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "directive", type: MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "pipe", type: DatePipe, name: "date" }, { kind: "directive", type: UdTooltipDirective, selector: "[udTooltip]", inputs: ["udTooltip", "udTooltipPosition", "udTooltipDisabled", "udTooltipShowDelay"] }, { kind: "directive", type: MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "component", type: CheckboxComponent, selector: "ud-checkbox", inputs: ["controlName", "size", "label", "labelPosition", "ariaLabel", "indeterminate", "checked", "disabled"], outputs: ["onChange"] }, { kind: "component", type: MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: MatSort, selector: "[matSort]", inputs: ["matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear", "matSortDisabled"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: UdMenuComponent, selector: "ud-menu", inputs: ["items", "triggerVariant", "triggerIcon", "triggerLabel", "triggerColor", "triggerSize", "customTrigger", "ariaLabel", "disabled", "loading", "xPosition", "yPosition", "stopPropagation", "panelClass"], outputs: ["itemSelected", "opened", "closed"] }, { kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: MatCardContent, selector: "mat-card-content" }, { kind: "component", type: MatCardHeader, selector: "mat-card-header" }, { kind: "component", type: MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "pipe", type: PluralizePipe, name: "pluralize" }, { kind: "component", type: ToggleComponent, selector: "ud-toggle", inputs: ["controlName", "size", "label", "labelPosition", "ariaLabel"], outputs: ["onChange"] }, { kind: "component", type: DateRangeInputComponent, selector: "ud-date-range-input", inputs: ["startControlName", "endControlName", "label", "icon", "iconFontSet", "startPlaceholder", "endPlaceholder", "min", "max", "disabled", "hint", "startAt", "startView"] }, { kind: "component", type: TextInputComponent, selector: "ud-text-input", inputs: ["controlName", "label", "placeholder", "type", "icon", "iconFontSet", "loading", "step", "min", "max", "disabled", "hint", "size", "clearable"] }, { kind: "component", type: MultiSelectComponent, selector: "ud-multi-select", inputs: ["controlName", "label", "placeholder", "icon", "iconFontSet", "options", "multiple", "maxChipsVisible", "moreText", "size", "loading", "disabled", "clearable", "hint"] }, { kind: "component", type: UdButtonComponent, selector: "ud-button", inputs: ["variant", "color", "size", "type", "icon", "iconPosition", "iconFontSet", "loading", "disabled", "ariaLabel", "fullWidth"], outputs: ["buttonClick"] }, { kind: "component", type: PillComponent, selector: "ud-pill", inputs: ["text", "type", "variant", "showDot", "value", "options", "disabled"], outputs: ["optionSelected"] }, { kind: "component", type: UdButtonToggleComponent, selector: "ud-button-toggle", inputs: ["options", "size", "disabled"] }], animations: [
3864
3885
  trigger('detailExpand', [
3865
3886
  state('collapsed, void', style({ height: '0px', minHeight: '0' })),
3866
3887
  state('expanded', style({ height: '*' })),
@@ -3924,7 +3945,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
3924
3945
  UdButtonComponent,
3925
3946
  PillComponent,
3926
3947
  UdButtonToggleComponent,
3927
- ], template: "<div class=\"table-div\">\n <mat-card\n appearance=\"outlined\"\n class=\"px-0 table-card\"\n [ngClass]=\"[actions.length === 0 ? 'pt-2' : 'pb-0']\"\n style=\"border-color: var(--accent-darker-color)\">\n @if (!disableHeader) {\n <mat-card-header\n class=\"d-flex justify-content-between align-items-center table-header\"\n [ngClass]=\"[actions.length === 0 ? 'pb-3' : 'pb-0']\">\n <div class=\"d-flex align-items-center\">\n @if (icon) {\n <mat-icon\n fontSet=\"material-icons-outlined\"\n class=\"table-header-icon ml-3\">\n {{ icon }}\n </mat-icon>\n }\n <h6 class=\"ml-2 table-title\">\n {{ title | toObservable | async | capitalize }}\n </h6>\n </div>\n <div class=\"d-flex align-items-center action-buttons-group pr-2\">\n @for (action of actions; track action.id) {\n <ud-button\n [attr.data-action-id]=\"action.id\"\n [variant]=\"action.variant ?? 'stroked'\"\n [color]=\"action.color ?? 'primary'\"\n [icon]=\"action.icon\"\n [disabled]=\"resolveBooleanInput(action?.disabled, selection)\"\n [loading]=\"resolveBooleanInput(action?.loading, selection)\"\n size=\"sm\"\n (buttonClick)=\"onActionClicked(action)\">\n {{ action.label | toObservable | async | capitalize }}\n </ud-button>\n }\n @if (actionsMenuEnabled && menuItems.length > 0) {\n <ud-menu\n [items]=\"tableMenuItems()\"\n triggerVariant=\"stroked\"\n triggerColor=\"primary\"\n triggerIcon=\"keyboard_arrow_down\"\n [triggerLabel]=\"'names.action' | translate | pluralize | capitalize\"\n xPosition=\"after\"\n [stopPropagation]=\"false\"\n (itemSelected)=\"onTableMenuItemSelected($event)\" />\n } @else if (actionsMenuEnabled) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [matMenuTriggerFor]=\"menu\">\n {{ 'names.action' | translate | pluralize | capitalize }}\n </ud-button>\n <mat-menu #menu=\"matMenu\" class=\"ud-actions-menu\">\n <ng-container\n *ngTemplateOutlet=\"\n actionsTemplate;\n context: {\n selection: selection,\n data: dataSource.data,\n selectedRows: selection.selected,\n }\n \"></ng-container>\n </mat-menu>\n }\n </div>\n </mat-card-header>\n }\n <mat-card-content>\n <!--\n Filters and the column picker on one line. Both answer the same\n question \u2014 what am I looking at \u2014 where the header above is for acting\n on the rows. The picker sat up there with Add and Delete and read as a\n third action rather than a view control.\n -->\n <div class=\"table-controls\">\n @if (!separateFilters) {\n <mat-form-field\n class=\"ml-4\"\n appearance=\"outline\"\n [ngStyle]=\"{ display: hasFilter ? '' : 'none' }\">\n <mat-icon class=\"filter p-0\" matSuffix>filter_alt</mat-icon>\n <mat-label>{{ 'table.filter' | translate | capitalize }}</mat-label>\n <input\n #allFilterInput\n matInput\n (keyup)=\"applyFilterToAllColumns($event)\"\n [placeholder]=\"'table.sortOnAnyField' | translate | capitalize\" />\n </mat-form-field>\n } @else {\n <div class=\"separate-filters\">\n <form [formGroup]=\"filterByColumnFormGroup\" class=\"filters\">\n @for (filter of selectedFilters; track filter) {\n <!--\n The active marker lives on the wrapper so every filter type\n carries it. The dropdown triggers styled themselves, but a text\n input or a single select looked identical whether or not it was\n narrowing the table \u2014 which is how you end up staring at an\n empty table wondering where the rows went.\n -->\n <div class=\"filter\" [class.filter--active]=\"hasFilterValue(filter.property)\">\n @if (filter.filterOptions) {\n @if (filter.allowMultiSelectOnFilter) {\n <ud-button\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [class.filter-button-trigger--active]=\"\n hasFilterValue(filter.property)\n \"\n [matMenuTriggerFor]=\"multiSelectMenu\">\n {{ filter.name | toObservable | async | capitalize }}\n @if (hasFilterValue(filter.property)) {\n <mat-icon\n class=\"filter-clear-icon\"\n (click)=\"\n clearFilter(filter.property); $event.stopPropagation()\n \">\n close\n </mat-icon>\n }\n </ud-button>\n <mat-menu #multiSelectMenu=\"matMenu\" class=\"custom-dropdown\">\n <div\n class=\"dropdown-content multi-select-content\"\n [formGroupName]=\"controlKey(filter.property)\"\n (click)=\"$event.stopPropagation()\">\n <span class=\"dropdown-label\">\n {{ 'table.matchMode' | translate | capitalize }}\n </span>\n <ud-button-toggle\n formControlName=\"mode\"\n size=\"sm\"\n [options]=\"matchModeOptions\" />\n <ud-multi-select\n controlName=\"values\"\n [options]=\"filter.filterOptions\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n [multiple]=\"true\"\n [clearable]=\"true\"\n size=\"small\" />\n </div>\n </mat-menu>\n } @else {\n <ud-multi-select\n [controlName]=\"controlKey(filter.property)\"\n [options]=\"filter.filterOptions\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n [multiple]=\"false\"\n [clearable]=\"true\"\n size=\"small\" />\n }\n } @else if (\n filter.type === TableDisplayColumnType.HYPERLINK ||\n filter.type === TableDisplayColumnType.TEXT ||\n filter.type === TableDisplayColumnType.PHONE ||\n filter.type === TableDisplayColumnType.EMAIL ||\n filter.type === TableDisplayColumnType.CLICK ||\n filter.type === TableDisplayColumnType.ARRAY ||\n filter.type === TableDisplayColumnType.PILL\n ) {\n <ud-text-input\n [controlName]=\"controlKey(filter.property)\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n size=\"small\"\n [clearable]=\"true\" />\n } @else {\n <ud-button\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [class.filter-button-trigger--active]=\"\n hasFilterValue(filter.property)\n \"\n [matMenuTriggerFor]=\"dropdownMenu\">\n {{ filter.name | toObservable | async | capitalize }}\n @if (hasFilterValue(filter.property)) {\n <mat-icon\n class=\"filter-clear-icon\"\n (click)=\"\n clearFilter(filter.property); $event.stopPropagation()\n \">\n close\n </mat-icon>\n }\n </ud-button>\n <mat-menu #dropdownMenu=\"matMenu\" class=\"custom-dropdown\">\n <div\n class=\"dropdown-content\"\n (click)=\"$event.stopPropagation()\">\n @if (filter.type === TableDisplayColumnType.BOOLEAN) {\n <div class=\"boolean-content\">\n <span class=\"boolean-label\">\n {{\n filter.name | toObservable | async | capitalize\n }}\n </span>\n <ud-toggle\n [formControlName]=\"controlKey(filter.property)\"\n size=\"md\" />\n </div>\n } @else if (\n filter.type === TableDisplayColumnType.NUMBER ||\n filter.type === TableDisplayColumnType.MONEY\n ) {\n <div\n class=\"number-content\"\n [formGroupName]=\"controlKey(filter.property)\">\n <ud-multi-select\n controlName=\"operation\"\n [multiple]=\"false\"\n [label]=\"\n 'table.operationType' | translate | capitalize\n \"\n [options]=\"numberOperationOptions\" />\n @if (\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation &&\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation !== NumberOperator.BETWEEN\n ) {\n <ud-text-input\n controlName=\"value\"\n type=\"number\"\n [label]=\"\n 'operators.' +\n filterByColumnFormGroup.controls[\n controlKey(filter.property)\n ].value.operation\n | translate\n | capitalize\n \" />\n } @else if (\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation\n ) {\n <div class=\"number-range-row\">\n <ud-text-input\n controlName=\"min\"\n type=\"number\"\n [label]=\"\n 'operators.minimum' | translate | capitalize\n \" />\n <ud-text-input\n controlName=\"max\"\n type=\"number\"\n [min]=\"\n filterByColumnFormGroup.controls[\n controlKey(filter.property)\n ].value.min\n \"\n [label]=\"\n 'operators.maximum' | translate | capitalize\n \" />\n </div>\n }\n </div>\n } @else if (\n filter.type === TableDisplayColumnType.DATETIME ||\n filter.type === TableDisplayColumnType.DATE\n ) {\n <div\n [formGroupName]=\"controlKey(filter.property)\"\n class=\"date-content\">\n <ud-date-range-input\n startControlName=\"start\"\n endControlName=\"end\"\n [label]=\"'table.dateRange' | translate | capitalize\"\n [startPlaceholder]=\"\n 'table.startDate' | translate | capitalize\n \"\n [endPlaceholder]=\"\n 'table.endDate' | translate | capitalize\n \" />\n </div>\n }\n </div>\n </mat-menu>\n }\n </div>\n }\n\n <!--\n Inside the row so it reads as the end of the filter set rather\n than a separate control, and only once there is something to\n clear \u2014 a permanently present \"clear filters\" on an unfiltered\n table is a button that does nothing.\n -->\n @if (activeFilterCount > 0) {\n <button\n type=\"button\"\n class=\"filters-clear\"\n (click)=\"clearAllFilters()\">\n <!--\n Count as a separate numeral rather than interpolated into the\n sentence: \"Clear {{count}} filters\" reads wrong at one, and\n every consuming app would need a plural rule for a label this\n small. The mono numeral also lines up as the count changes.\n -->\n {{ 'table.clearFilters' | translate | capitalize }}\n <span class=\"filters-clear__count\">{{ activeFilterCount }}</span>\n </button>\n }\n </form>\n </div>\n }\n\n @if (columnVisibilityEnabled) {\n <ud-button\n class=\"column-picker\"\n [class.column-picker--active]=\"hiddenColumnCount > 0\"\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"view_week\"\n [udTooltip]=\"'table.chooseColumnsLede' | translate\"\n (buttonClick)=\"openColumnVisibility()\">\n {{ 'table.columns' | translate | capitalize }}\n </ud-button>\n }\n </div>\n @if (!isLoading) {\n <table\n mat-table\n matSort\n [matSortActive]=\"initSortedCol?.property!\"\n [matSortDirection]=\"initSortedCol?.initSort!\"\n [multiTemplateDataRows]=\"expandableRows\"\n [dataSource]=\"dataSource\">\n <!-- Checkbox Column -->\n @if (displayCheckbox) {\n <ng-container matColumnDef=\"select\">\n <th\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n class=\"checkbox-header\"\n mat-header-cell\n *matHeaderCellDef>\n <ud-checkbox\n (onChange)=\"toggleAllRows()\"\n [checked]=\"selection.hasValue() && isAllSelected()\"\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\"\n [ariaLabel]=\"checkboxLabel()\">\n </ud-checkbox>\n </th>\n <td\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n class=\"checkbox-cell\"\n mat-cell\n *matCellDef=\"let row\">\n <ud-checkbox\n (click)=\"$event.stopPropagation()\"\n (onChange)=\"selection.toggle(row)\"\n [checked]=\"selection.isSelected(row)\"\n [ariaLabel]=\"checkboxLabel(row)\"\n class=\"mt-2 mr-2\">\n </ud-checkbox>\n </td>\n </ng-container>\n }\n @for (column of displayedColumnsWithoutSelect; track column) {\n <ng-container matColumnDef=\"{{ column.property }}\">\n <th\n [ngStyle]=\"{ width: getColumnWidth(column) }\"\n mat-header-cell\n *matHeaderCellDef>\n {{ column.name | toObservable | async | capitalize }}\n </th>\n <td\n mat-cell\n *matCellDef=\"let row; let index = index\"\n [ngStyle]=\"{ width: getColumnWidth(column) }\"\n [class.editable-cell]=\"column.editable\"\n (mouseenter)=\"\n column.editable &&\n (hoveredCell = {\n rowIndex: index,\n property: column.property,\n })\n \"\n (mouseleave)=\"hoveredCell = null\"\n (click)=\"column.dataCellTemplate && $event.stopPropagation()\">\n @if (\n column.editable &&\n editingCell?.rowIndex === index &&\n editingCell?.property === column.property\n ) {\n <div\n class=\"cell-edit-wrapper\"\n [formGroup]=\"editFormGroup\"\n (click)=\"$event.stopPropagation()\">\n @if (column.editOptions) {\n <ud-multi-select\n controlName=\"value\"\n [multiple]=\"column.allowMultiSelectOnEdit ?? false\"\n [options]=\"column.editOptions\"\n size=\"small\" />\n } @else {\n <ud-text-input\n controlName=\"value\"\n [type]=\"\n column.type === tableDisplayColumnType.NUMBER\n ? 'number'\n : 'text'\n \"\n size=\"small\" />\n }\n <div class=\"cell-edit-actions\">\n <ud-button\n variant=\"icon-only\"\n color=\"success\"\n icon=\"check\"\n size=\"sm\"\n (buttonClick)=\"\n confirmEdit(row, column); $event.stopPropagation()\n \" />\n <ud-button\n variant=\"icon-only\"\n color=\"danger\"\n icon=\"close\"\n size=\"sm\"\n (buttonClick)=\"cancelEdit(); $event.stopPropagation()\" />\n </div>\n </div>\n } @else {\n <div class=\"cell-display-wrapper\">\n @if (column.dataCellTemplate) {\n <ng-container\n *ngTemplateOutlet=\"\n column.dataCellTemplate;\n context: { $implicit: row, index }\n \" />\n } @else if (column.type) {\n @switch (column.type) {\n @case (tableDisplayColumnType.ARRAY) {\n <span>\n {{\n column.transformFn?.(row[column.property]) ??\n row[column.property].join(', ')\n }}\n </span>\n }\n @case (tableDisplayColumnType.TEXT) {\n <span\n [innerHTML]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \">\n </span>\n }\n @case (tableDisplayColumnType.NUMBER) {\n <span\n [innerHTML]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \">\n </span>\n }\n @case (tableDisplayColumnType.TEXT_OBSERVABLES) {\n <span>\n {{ row[column.property] | async | capitalize }}\n </span>\n }\n @case (tableDisplayColumnType.BOOLEAN) {\n <mat-icon\n class=\"mt-2\"\n [udTooltip]=\"\n (row[column.property]\n ? 'names.active'\n : 'names.inactive'\n )\n | translate\n | capitalize\n \"\n udTooltipPosition=\"right\">\n {{ row[column.property] ? 'check' : 'close' }}\n </mat-icon>\n }\n @case (tableDisplayColumnType.CLICK) {\n <span (click)=\"clickedAction(row)\" class=\"link\">\n {{ row[column.property] }}\n </span>\n }\n @case (tableDisplayColumnType.DATE) {\n {{ row[column.property] | date: 'MMMM dd, yyyy' }}\n }\n @case (tableDisplayColumnType.DATETIME) {\n {{\n row[column.property]\n | date: 'MMMM dd, yyyy h:mm a'\n }}\n }\n @case (tableDisplayColumnType.EMAIL) {\n @let email = row[column.property];\n @if (email) {\n <span class=\"email-cell\">\n <mat-icon class=\"email-icon\">mail_outline</mat-icon>\n <span>{{ email }}</span>\n <span\n class=\"email-copy\"\n [class.is-copied]=\"copiedEmailRow() === row\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n [icon]=\"copiedEmailRow() === row ? 'check' : 'content_copy'\"\n [udTooltip]=\"(copiedEmailRow() === row ? copiedLabel : copyLabel) | translate | capitalize\"\n (buttonClick)=\"copyEmail(row, email); $event.stopPropagation()\" />\n </span>\n </span>\n }\n }\n @case (tableDisplayColumnType.HYPERLINK) {\n <span\n class=\"link\"\n [routerLink]=\"getHyperlinkRoute(row, column)\"\n (click)=\"$event.stopPropagation()\">\n {{ row[column.property] }}\n </span>\n }\n @case (tableDisplayColumnType.ICON) {\n <mat-icon\n [ngStyle]=\"{\n color:\n column.icons![row[column.property]].color,\n }\">\n {{ column.icons![row[column.property]].name }}\n </mat-icon>\n }\n @case (tableDisplayColumnType.MONEY) {\n {{ formatMoneyCell(row, column) }}\n }\n @case (tableDisplayColumnType.PHONE) {\n @if (row[column.property].countryCode?.code) {\n <span>\n (+{{\n row[column.property].countryCode.code || ''\n }})\n </span>\n }\n {{\n formatPhoneNumber(\n row[column.property].phoneNumber\n )\n }}\n }\n @case (tableDisplayColumnType.PILL) {\n <ud-pill\n [text]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \"\n [type]=\"column.pillTypeFn!(row)\" />\n }\n }\n } @else {\n {{ row[column.property] }}\n }\n @if (column.editable) {\n <button\n mat-icon-button\n class=\"cell-edit-icon\"\n [class.cell-edit-icon--visible]=\"\n hoveredCell?.rowIndex === index &&\n hoveredCell?.property === column.property\n \"\n (click)=\"\n startEditing(row, index, column);\n $event.stopPropagation()\n \">\n <mat-icon>edit</mat-icon>\n </button>\n }\n </div>\n }\n </td>\n </ng-container>\n }\n <ng-container matColumnDef=\"expand\">\n <th\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n mat-header-cell\n *matHeaderCellDef\n aria-label=\"row actions\">\n &nbsp;\n </th>\n <td\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n mat-cell\n *matCellDef=\"let element\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n ariaLabel=\"expand row\"\n [icon]=\"\n expandedElement !== element\n ? 'keyboard_arrow_down'\n : 'keyboard_arrow_up'\n \"\n (buttonClick)=\"\n expandedElement =\n expandedElement === element ? null : element;\n $event.stopPropagation()\n \" />\n </td>\n </ng-container>\n\n <!-- Expanded Content Column - The detail row is made up of this one column that spans across all columns -->\n <ng-container matColumnDef=\"expandedDetail\">\n <td\n mat-cell\n class=\"ml-auto\"\n *matCellDef=\"let element\"\n [attr.colspan]=\"columnsToDisplayWithExpand.length\">\n <div\n class=\"element-detail justify-content-center\"\n [@detailExpand]=\"\n element === expandedElement ? 'expanded' : 'collapsed'\n \">\n @if (expandedItem.type === 'image') {\n <img\n class=\"pb-4\"\n [src]=\"element[expandedItem.property]\"\n alt=\"\" />\n }\n </div>\n </td>\n </ng-container>\n\n @if (!expandableRows) {\n <ng-container>\n <tr\n mat-header-row\n *matHeaderRowDef=\"displayedColumnsProperty\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: displayedColumnsProperty;\n let i = index\n \"\n (click)=\"selectRow(row)\"\n [ngClass]=\"getRowBackgroundColor(i)\"></tr>\n </ng-container>\n } @else {\n <ng-container>\n <tr\n mat-header-row\n *matHeaderRowDef=\"columnsToDisplayWithExpand\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: columnsToDisplayWithExpand;\n let i = dataIndex\n \"\n [id]=\"i\"\n class=\"element-row\"\n [class.expanded-row]=\"expandedElement === row\"\n [ngClass]=\"getRowBackgroundColor(i)\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: ['expandedDetail'];\n let i = dataIndex\n \"\n [id]=\"i\"\n [ngClass]=\"getRowBackgroundColor(i)\"\n [ngStyle]=\"{\n display: expandedElement === row ? 'contents' : 'none',\n }\"\n class=\"detail-row\"></tr>\n </ng-container>\n }\n\n <!-- Row shown when there is no matching data. -->\n <tr class=\"mat-row no-data-row\" *matNoDataRow>\n <td class=\"mat-cell\" [attr.colspan]=\"displayedColumnsProperty.length\">\n <div class=\"no-data-found\">\n <mat-icon class=\"no-data-icon\">\n {{ dataSource.data.length > 0 ? 'search_off' : 'inbox' }}\n </mat-icon>\n <p class=\"no-data-text\">\n {{\n dataSource.data.length > 0\n ? ('messages.modifyFilter' | translate | capitalize)\n : noTableDataMessage\n }}\n </p>\n </div>\n </td>\n </tr>\n </table>\n } @else {\n <div class=\"loading-container\">\n <mat-progress-spinner\n class=\"mx-auto\"\n [diameter]=\"32\"\n color=\"primary\"\n mode=\"indeterminate\" />\n </div>\n }\n @if (showPaginator) {\n <div class=\"table-paginator\">\n <div class=\"table-paginator__size\">\n <span class=\"table-paginator__size-label\">\n {{ 'table.rowsPerPage' | translate | capitalize }}\n </span>\n <ud-menu\n [items]=\"pageSizeMenuItems\"\n triggerVariant=\"stroked\"\n triggerIcon=\"keyboard_arrow_down\"\n [triggerLabel]=\"pageSizeLabel\"\n [ariaLabel]=\"'table.rowsPerPage' | translate | capitalize\"\n xPosition=\"after\"\n yPosition=\"above\"\n [stopPropagation]=\"false\"\n (itemSelected)=\"onPageSizeSelected($event)\" />\n </div>\n <!-- Drives paging and dataSource.paginator; hidden, the controls below render it. -->\n <mat-paginator\n #pager\n [length]=\"totalElements ?? dataSource.data.length\"\n [pageSize]=\"initialPageSize\"\n [pageSizeOptions]=\"paginationSizeOptions\"\n (page)=\"onPageChange($event)\" />\n <span class=\"table-paginator__range\">\n {{ pager._intl.getRangeLabel(pager.pageIndex, pager.pageSize, pager.length) }}\n </span>\n <div class=\"table-paginator__nav\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"first_page\"\n [ariaLabel]=\"pager._intl.firstPageLabel\"\n [disabled]=\"!pager.hasPreviousPage()\"\n (buttonClick)=\"pager.firstPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"chevron_left\"\n [ariaLabel]=\"pager._intl.previousPageLabel\"\n [disabled]=\"!pager.hasPreviousPage()\"\n (buttonClick)=\"pager.previousPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"chevron_right\"\n [ariaLabel]=\"pager._intl.nextPageLabel\"\n [disabled]=\"!pager.hasNextPage()\"\n (buttonClick)=\"pager.nextPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"last_page\"\n [ariaLabel]=\"pager._intl.lastPageLabel\"\n [disabled]=\"!pager.hasNextPage()\"\n (buttonClick)=\"pager.lastPage()\" />\n </div>\n </div>\n }\n </mat-card-content>\n </mat-card>\n</div>\n", styles: [":host{--eu-navy: #1b2535;--eu-navy-soft: #253347;--eu-navy-dim: rgba(27, 37, 53, .08);--eu-navy-mid: rgba(27, 37, 53, .18);--eu-surface: #ffffff;--eu-bg: #f4f5f7;--eu-border: #e2e5ea;--eu-border-mid: #c9cdd6;--eu-text: #1b2535;--eu-muted: #6b7585;--eu-danger: var(--danger, #e53935);--eu-radius: 10px;--eu-radius-sm: 6px;--eu-shadow: 0 2px 12px rgba(27, 37, 53, .06), 0 1px 4px rgba(27, 37, 53, .04);--eu-shadow-btn: 0 4px 14px rgba(27, 37, 53, .22);font-family:Sora,system-ui,sans-serif;position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #fafafa inset!important;background-color:#fafafa!important}p{font:20px Roboto,Helvetica Neue,sans-serif}.bg-accent{background-color:var(--accent-color)}.table-div .separate-filters{display:flex;flex-direction:column}.table-div .separate-filters .filter-dropdown{width:fit-content}.table-div .separate-filters .filters{display:flex;flex-direction:row;gap:8px;margin:0 24px 1rem}.table-div .separate-filters .filters .filter mat-icon{margin-right:0!important}.table-div mat-card.table-card{border-radius:10px!important;overflow:hidden;box-shadow:0 2px 12px #373f4c1a!important;background:#fff!important}.table-div mat-card.table-card mat-card-header.table-header{padding:14px 16px 14px 12px;background:var(--accent-lightest-color);border-bottom:1px solid var(--accent-color);min-height:65px}.table-div mat-card.table-card mat-card-header.table-header ::ng-deep .mat-mdc-card-header-text{display:none}.table-div mat-card.table-card mat-card-header.table-header .table-header-icon{color:var(--primary-color);font-size:20px;width:20px;height:20px}.table-div mat-card.table-card mat-card-header.table-header .table-title{margin-bottom:0;font-size:.9375rem;font-weight:600;letter-spacing:.01em;color:#373f4c}.table-div mat-card.table-card mat-card-content{padding:0}.table-div mat-card.table-card mat-card-content .no-data-found{display:flex;flex-direction:column;justify-content:center;align-items:center;height:140px;gap:8px;background:#fff}.table-div mat-card.table-card mat-card-content .no-data-found .no-data-icon{font-size:40px;width:40px;height:40px;color:var(--accent-darker-color);opacity:.7}.table-div mat-card.table-card mat-card-content .no-data-found .no-data-text{font-size:.875rem;color:#373f4c;margin:0}.table-div mat-card.table-card mat-card-content .loading-container{display:flex;justify-content:center;align-items:center;padding:32px;background:#fff}.table-div mat-card.table-card mat-card-content .table-paginator{display:flex;align-items:center;justify-content:flex-end;gap:16px;border-radius:0 0 10px 10px;background-color:#dde3ec;border-top:1px solid #c8c8d4}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__size{display:flex;align-items:center;gap:8px}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__size-label{font-family:Sora,system-ui,sans-serif;font-size:.8125rem;color:#6b7585;white-space:nowrap}.table-div mat-card.table-card mat-card-content .table-paginator mat-paginator{display:none}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__range{font-family:Sora,system-ui,sans-serif;font-size:.8125rem;font-variant-numeric:tabular-nums;color:#6b7585;white-space:nowrap}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__nav{display:flex;align-items:center;gap:2px;padding:8px 12px 8px 0}.table-div .action-buttons-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.table-div tr td,.table-div tr th{border-bottom:1px solid var(--accent-color);color:#373f4c;padding:10px 8px}.table-div tr th{background-color:#dde3ec;font-weight:600;font-size:.9rem;letter-spacing:.05em}.table-div tr th:first-of-type,.table-div tr td:first-of-type{padding-left:20px}.table-div tr th:last-of-type,.table-div tr td:last-of-type{padding-right:20px}table{width:100%}.mat-mdc-form-field{font-size:14px}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper{max-height:45px;padding-left:4px}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper [class^=mdc-notched-outline__]{border:none;border-bottom:1px solid #929293;border-radius:0}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper [class^=mdc-notched-outline__]:first-of-type{display:none}.mat-mdc-icon-button.mat-mdc-button-base{padding:10px}.spacer{flex:1 1 auto}.link{color:#459fff;font-weight:600;cursor:pointer}.email-cell{display:inline-flex;align-items:center;gap:6px}.email-cell .email-icon{font-size:15px;width:15px;height:15px;opacity:.4;flex-shrink:0}.email-copy{display:inline-flex;align-items:center;height:1em;opacity:0;transition:opacity .12s ease}tr:hover .email-copy,.email-copy:focus-within,.email-copy.is-copied{opacity:1}@media (hover: none){.email-copy{opacity:1}}@media (prefers-reduced-motion: reduce){.email-copy{transition:none}}.filter{font-size:100%;border-top:.84375em solid rgba(0,0,0,0)}tr.detail-row{height:0}tr.no-data-row td{border-bottom:none;padding:0}.element-row td{border-bottom-width:0}.element-detail{overflow:hidden;display:flex}.element-detail>img{max-height:100%}.element-symbol{font-weight:700;font-size:40px;line-height:normal}.element-description{padding:16px}.element-description-attribution{opacity:.5}.pills{display:flex;flex-direction:column;gap:16px;margin:8px 2px}::ng-deep .ud-actions-menu{border-radius:10px!important;box-shadow:0 4px 20px #1b25351a,0 1px 4px #1b25350f!important;border:1px solid rgba(27,37,53,.08);overflow:hidden;min-width:200px!important}::ng-deep .ud-actions-menu .mat-mdc-menu-content{padding:4px!important}::ng-deep .ud-actions-menu .ud-menu-divider{height:1px;margin:4px 8px;background:#1b253514}::ng-deep .ud-actions-menu .ud-menu-item{display:flex;align-items:center;gap:0;height:auto;min-height:40px;padding:0 12px 0 0!important;border-radius:7px;margin:1px 0;position:relative;overflow:hidden;transition:background .15s ease}::ng-deep .ud-actions-menu .ud-menu-item .mat-mdc-menu-item-text{display:flex;align-items:center}::ng-deep .ud-actions-menu .ud-menu-item:before{content:\"\";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:0 2px 2px 0;background:#1b2535;transform:scaleY(0);transform-origin:center;transition:transform .18s cubic-bezier(.4,0,.2,1)}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]):before{transform:scaleY(1)}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]){background:#1b25350d!important}::ng-deep .ud-actions-menu .ud-menu-item[disabled]{opacity:1}::ng-deep .ud-actions-menu .ud-menu-item[disabled] .ud-menu-item__icon-wrap,::ng-deep .ud-actions-menu .ud-menu-item[disabled] .ud-menu-item__label{opacity:.38}::ng-deep .ud-actions-menu .ud-menu-item--no-icon{padding-left:12px!important}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__icon-wrap{display:flex;align-items:center;justify-content:center;width:40px;flex-shrink:0;align-self:stretch;max-height:40px}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__icon-wrap mat-icon{font-size:17px;width:17px;height:17px;margin:0;color:#6b7585;transition:color .15s ease}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]) .ud-menu-item__icon-wrap mat-icon{color:#1b2535}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__text{display:flex;flex-direction:column;padding:8px 0;min-width:0}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__label{font-family:Sora,system-ui,sans-serif;font-size:.875rem;font-weight:500;line-height:1.25rem;color:#1b2535;letter-spacing:.01em;white-space:nowrap}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__description{font-family:Sora,system-ui,sans-serif;font-size:.75rem;line-height:1rem;color:#6b7585;white-space:normal}::ng-deep .ud-actions-menu .ud-menu-item--danger .ud-menu-item__label,::ng-deep .ud-actions-menu .ud-menu-item--danger .ud-menu-item__icon-wrap mat-icon,::ng-deep .ud-actions-menu .ud-menu-item--danger:hover:not([disabled]) .ud-menu-item__icon-wrap mat-icon{color:#e53935}::ng-deep .ud-actions-menu .ud-menu-item--danger:before{background:#e53935}::ng-deep .ud-actions-menu .ud-menu-item .mdc-list-item__primary-text{display:none!important}.filter--active{position:relative}.filter--active:after{content:\"\";position:absolute;left:0;right:0;bottom:-5px;height:2px;border-radius:2px;background:#459fff;pointer-events:none}.table-controls{display:flex;align-items:flex-start;gap:12px}.table-controls .separate-filters{flex:1 1 auto;min-width:0}.column-picker{flex:0 0 auto;margin:.84375em 24px 0 auto}.column-picker--active ::ng-deep .ud-btn.ud-btn--stroked{background:#459fff17!important;border-color:#459fff8c!important;color:#1b2535!important;font-weight:600!important}.column-picker--active ::ng-deep .ud-btn.ud-btn--stroked:hover:not(:disabled){background:#459fff24!important;border-color:#459fffbf!important;color:#1b2535!important}.filters-clear{align-self:flex-start;margin-top:.84375em;padding:0 2px;border:0;background:none;color:#6b7585;font-family:var(--ud-field-font);font-size:.8125rem;font-weight:500;line-height:34px;cursor:pointer;white-space:nowrap;transition:color .15s ease}.filters-clear:hover,.filters-clear:focus-visible{color:#459fff}.filters-clear__count{margin-left:5px;font-family:JetBrains Mono,ui-monospace,monospace;font-weight:600;color:#1b2535}.filters-clear:focus-visible{outline:2px solid #459fff;outline-offset:3px;border-radius:3px}@media (prefers-reduced-motion: reduce){.filters-clear{transition:none}}.filter-button-trigger--active{background-color:#459fff17!important;border-color:#459fff8c!important;color:#1b2535!important;font-weight:600!important}.filter-button-trigger--active ::ng-deep .ud-btn__label{display:contents}.filter-button-trigger--active ::ng-deep .ud-btn__icon--right{order:1}.filter-button-trigger--active .filter-clear-icon{order:2;font-size:15px!important;width:15px!important;height:15px!important;line-height:15px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer;border-radius:50%;transition:background .15s ease}.filter-button-trigger--active .filter-clear-icon:hover{background:#1b25351f}td.editable-cell .cell-display-wrapper{display:flex;align-items:center;gap:6px;min-height:32px}td.editable-cell .cell-display-wrapper .cell-edit-icon{opacity:0;transform:scale(.72) translateY(1px);transition:opacity .16s ease,transform .18s cubic-bezier(.34,1.4,.64,1);flex-shrink:0;width:30px!important;height:30px!important;line-height:30px!important;padding:4px!important;border-radius:6px!important;background:transparent;border:1px solid transparent;display:flex!important;align-items:center!important;justify-content:center!important}td.editable-cell .cell-display-wrapper .cell-edit-icon:hover{background:rgba(var(--primary-color-rgb, 63, 81, 181),.08)!important;border-color:rgba(var(--primary-color-rgb, 63, 81, 181),.22)!important}td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-mdc-button-persistent-ripple,td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-ripple{border-radius:6px}td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-mdc-button-touch-target{width:30px!important;height:30px!important}td.editable-cell .cell-display-wrapper .cell-edit-icon mat-icon{font-size:14px!important;width:14px!important;height:14px!important;color:var(--primary-color);line-height:14px;display:flex!important;align-items:center;justify-content:center}td.editable-cell .cell-display-wrapper .cell-edit-icon.cell-edit-icon--visible{opacity:1;transform:scale(1) translateY(0)}td.editable-cell .cell-edit-wrapper{display:flex;align-items:center;gap:4px;animation:cell-edit-enter .18s cubic-bezier(.22,1,.36,1) both}td.editable-cell .cell-edit-wrapper ud-multi-select,td.editable-cell .cell-edit-wrapper ud-text-input{flex:1;min-width:0}td.editable-cell .cell-edit-wrapper .cell-edit-actions{display:flex;flex-direction:row;gap:3px;flex-shrink:0}@keyframes cell-edit-enter{0%{opacity:0;transform:translateY(-3px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}::ng-deep .custom-dropdown{min-width:280px!important;max-width:650px!important;width:auto!important;max-height:none!important;overflow:visible!important;border-radius:10px!important;box-shadow:0 4px 20px #1b25351a,0 1px 4px #1b25350f!important}::ng-deep .custom-dropdown .mat-mdc-menu-content{padding:14px;width:100%;box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content{box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .boolean-content{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:200px;padding:4px 0}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .boolean-content .boolean-label{font-family:Sora,system-ui,sans-serif;font-size:.875rem;font-weight:500;color:#1b2535}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .date-content{width:320px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .date-content ud-date-range-input{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .string-content{display:flex;gap:1rem}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field{width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field .mat-mdc-form-field{font-size:14px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field input{width:100%;box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content{display:flex;flex-direction:column;gap:12px;width:280px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content .dropdown-label{font-family:inherit;font-size:.8125rem;font-weight:500;color:#1b2535}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content ud-button-toggle{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content ud-multi-select{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content{display:flex;flex-direction:column;gap:8px;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content ud-multi-select{width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content .number-range-row{display:flex;gap:8px;width:100%}\n"] }]
3948
+ ], template: "<div class=\"table-div\">\n <mat-card\n appearance=\"outlined\"\n class=\"px-0 table-card\"\n [ngClass]=\"[actions.length === 0 ? 'pt-2' : 'pb-0']\"\n style=\"border-color: var(--accent-darker-color)\">\n @if (!disableHeader) {\n <mat-card-header\n class=\"d-flex justify-content-between align-items-center table-header\"\n [ngClass]=\"[actions.length === 0 ? 'pb-3' : 'pb-0']\">\n <div class=\"d-flex align-items-center\">\n @if (icon) {\n <mat-icon\n fontSet=\"material-icons-outlined\"\n class=\"table-header-icon ml-3\">\n {{ icon }}\n </mat-icon>\n }\n <h6 class=\"ml-2 table-title\">\n {{ title | toObservable | async | capitalize }}\n </h6>\n </div>\n <div class=\"d-flex align-items-center action-buttons-group pr-2\">\n @for (action of actions; track action.id) {\n <ud-button\n [attr.data-action-id]=\"action.id\"\n [variant]=\"action.variant ?? 'stroked'\"\n [color]=\"action.color ?? 'primary'\"\n [icon]=\"action.icon\"\n [disabled]=\"resolveBooleanInput(action?.disabled, selection)\"\n [loading]=\"resolveBooleanInput(action?.loading, selection)\"\n size=\"sm\"\n (buttonClick)=\"onActionClicked(action)\">\n {{ action.label | toObservable | async | capitalize }}\n </ud-button>\n }\n @if (actionsMenuEnabled && menuItems.length > 0) {\n <ud-menu\n [items]=\"tableMenuItems()\"\n triggerVariant=\"stroked\"\n triggerColor=\"primary\"\n triggerIcon=\"keyboard_arrow_down\"\n [triggerLabel]=\"'names.action' | translate | pluralize | capitalize\"\n xPosition=\"after\"\n [stopPropagation]=\"false\"\n (itemSelected)=\"onTableMenuItemSelected($event)\" />\n } @else if (actionsMenuEnabled) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [matMenuTriggerFor]=\"menu\">\n {{ 'names.action' | translate | pluralize | capitalize }}\n </ud-button>\n <mat-menu #menu=\"matMenu\" class=\"ud-actions-menu\">\n <ng-container\n *ngTemplateOutlet=\"\n actionsTemplate;\n context: {\n selection: selection,\n data: dataSource.data,\n selectedRows: selection.selected,\n }\n \"></ng-container>\n </mat-menu>\n }\n </div>\n </mat-card-header>\n }\n <mat-card-content>\n <!--\n Filters and the column picker on one line. Both answer the same\n question \u2014 what am I looking at \u2014 where the header above is for acting\n on the rows. The picker sat up there with Add and Delete and read as a\n third action rather than a view control.\n -->\n <div class=\"table-controls\">\n @if (!separateFilters) {\n <mat-form-field\n class=\"ml-4\"\n appearance=\"outline\"\n [ngStyle]=\"{ display: hasFilter ? '' : 'none' }\">\n <mat-icon class=\"filter p-0\" matSuffix>filter_alt</mat-icon>\n <mat-label>{{ 'table.filter' | translate | capitalize }}</mat-label>\n <input\n #allFilterInput\n matInput\n (keyup)=\"applyFilterToAllColumns($event)\"\n [placeholder]=\"'table.sortOnAnyField' | translate | capitalize\" />\n </mat-form-field>\n } @else {\n <div class=\"separate-filters\">\n <form [formGroup]=\"filterByColumnFormGroup\" class=\"filters\">\n @for (filter of selectedFilters; track filter) {\n <!--\n The active marker lives on the wrapper so every filter type\n carries it. The dropdown triggers styled themselves, but a text\n input or a single select looked identical whether or not it was\n narrowing the table \u2014 which is how you end up staring at an\n empty table wondering where the rows went.\n -->\n <div class=\"filter\" [class.filter--active]=\"hasFilterValue(filter.property)\">\n @if (filter.filterOptions) {\n @if (filter.allowMultiSelectOnFilter) {\n <ud-button\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [class.filter-button-trigger--active]=\"\n hasFilterValue(filter.property)\n \"\n [matMenuTriggerFor]=\"multiSelectMenu\">\n {{ filter.name | toObservable | async | capitalize }}\n @if (hasFilterValue(filter.property)) {\n <mat-icon\n class=\"filter-clear-icon\"\n (click)=\"\n clearFilter(filter.property); $event.stopPropagation()\n \">\n close\n </mat-icon>\n }\n </ud-button>\n <mat-menu #multiSelectMenu=\"matMenu\" class=\"custom-dropdown\">\n <div\n class=\"dropdown-content multi-select-content\"\n [formGroupName]=\"controlKey(filter.property)\"\n (click)=\"$event.stopPropagation()\">\n <span class=\"dropdown-label\">\n {{ 'table.matchMode' | translate | capitalize }}\n </span>\n <ud-button-toggle\n formControlName=\"mode\"\n size=\"sm\"\n [options]=\"matchModeOptions\" />\n <ud-multi-select\n controlName=\"values\"\n [options]=\"filter.filterOptions\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n [multiple]=\"true\"\n [clearable]=\"true\"\n size=\"small\" />\n </div>\n </mat-menu>\n } @else {\n <ud-multi-select\n [controlName]=\"controlKey(filter.property)\"\n [options]=\"filter.filterOptions\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n [multiple]=\"false\"\n [clearable]=\"true\"\n size=\"small\" />\n }\n } @else if (\n filter.type === TableDisplayColumnType.HYPERLINK ||\n filter.type === TableDisplayColumnType.TEXT ||\n filter.type === TableDisplayColumnType.PHONE ||\n filter.type === TableDisplayColumnType.EMAIL ||\n filter.type === TableDisplayColumnType.CLICK ||\n filter.type === TableDisplayColumnType.ARRAY ||\n filter.type === TableDisplayColumnType.PILL\n ) {\n <ud-text-input\n [controlName]=\"controlKey(filter.property)\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n size=\"small\"\n [clearable]=\"true\" />\n } @else {\n <ud-button\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"keyboard_arrow_down\"\n iconPosition=\"right\"\n [class.filter-button-trigger--active]=\"\n hasFilterValue(filter.property)\n \"\n [matMenuTriggerFor]=\"dropdownMenu\">\n {{ filter.name | toObservable | async | capitalize }}\n @if (hasFilterValue(filter.property)) {\n <mat-icon\n class=\"filter-clear-icon\"\n (click)=\"\n clearFilter(filter.property); $event.stopPropagation()\n \">\n close\n </mat-icon>\n }\n </ud-button>\n <mat-menu #dropdownMenu=\"matMenu\" class=\"custom-dropdown\">\n <div\n class=\"dropdown-content\"\n (click)=\"$event.stopPropagation()\">\n @if (filter.type === TableDisplayColumnType.BOOLEAN) {\n <div class=\"boolean-content\">\n <span class=\"boolean-label\">\n {{\n filter.name | toObservable | async | capitalize\n }}\n </span>\n <ud-toggle\n [formControlName]=\"controlKey(filter.property)\"\n size=\"md\" />\n </div>\n } @else if (\n filter.type === TableDisplayColumnType.NUMBER ||\n filter.type === TableDisplayColumnType.MONEY\n ) {\n <div\n class=\"number-content\"\n [formGroupName]=\"controlKey(filter.property)\">\n <ud-multi-select\n controlName=\"operation\"\n [multiple]=\"false\"\n [label]=\"\n 'table.operationType' | translate | capitalize\n \"\n [options]=\"numberOperationOptions\" />\n @if (\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation &&\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation !== NumberOperator.BETWEEN\n ) {\n <ud-text-input\n controlName=\"value\"\n type=\"number\"\n [label]=\"\n 'operators.numbers.' +\n filterByColumnFormGroup.controls[\n controlKey(filter.property)\n ].value.operation\n | translate\n | capitalize\n \" />\n } @else if (\n filterByColumnFormGroup.controls[controlKey(filter.property)]\n .value.operation\n ) {\n <div class=\"number-range-row\">\n <ud-text-input\n controlName=\"min\"\n type=\"number\"\n [label]=\"\n 'operators.minimum' | translate | capitalize\n \" />\n <ud-text-input\n controlName=\"max\"\n type=\"number\"\n [min]=\"\n filterByColumnFormGroup.controls[\n controlKey(filter.property)\n ].value.min\n \"\n [label]=\"\n 'operators.maximum' | translate | capitalize\n \" />\n </div>\n }\n </div>\n } @else if (\n filter.type === TableDisplayColumnType.DATETIME ||\n filter.type === TableDisplayColumnType.DATE\n ) {\n <div\n [formGroupName]=\"controlKey(filter.property)\"\n class=\"date-content\">\n <ud-date-range-input\n startControlName=\"start\"\n endControlName=\"end\"\n [label]=\"'table.dateRange' | translate | capitalize\"\n [startPlaceholder]=\"\n 'table.startDate' | translate | capitalize\n \"\n [endPlaceholder]=\"\n 'table.endDate' | translate | capitalize\n \" />\n </div>\n }\n </div>\n </mat-menu>\n }\n </div>\n }\n\n <!--\n Inside the row so it reads as the end of the filter set rather\n than a separate control, and only once there is something to\n clear \u2014 a permanently present \"clear filters\" on an unfiltered\n table is a button that does nothing.\n -->\n @if (activeFilterCount > 0) {\n <button\n type=\"button\"\n class=\"filters-clear\"\n (click)=\"clearAllFilters()\">\n <!--\n Count as a separate numeral rather than interpolated into the\n sentence: \"Clear {{count}} filters\" reads wrong at one, and\n every consuming app would need a plural rule for a label this\n small. The mono numeral also lines up as the count changes.\n -->\n {{ 'table.clearFilters' | translate | capitalize }}\n <span class=\"filters-clear__count\">{{ activeFilterCount }}</span>\n </button>\n }\n </form>\n </div>\n }\n\n @if (columnVisibilityEnabled) {\n <ud-button\n class=\"column-picker\"\n [class.column-picker--active]=\"hiddenColumnCount > 0\"\n variant=\"stroked\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"view_week\"\n [udTooltip]=\"'table.chooseColumnsLede' | translate\"\n (buttonClick)=\"openColumnVisibility()\">\n {{ 'table.columns' | translate | capitalize }}\n </ud-button>\n }\n </div>\n @if (!isLoading) {\n <table\n mat-table\n matSort\n [matSortActive]=\"initSortedCol?.property!\"\n [matSortDirection]=\"initSortedCol?.initSort!\"\n [multiTemplateDataRows]=\"expandableRows\"\n [dataSource]=\"dataSource\">\n <!-- Checkbox Column -->\n @if (displayCheckbox) {\n <ng-container matColumnDef=\"select\">\n <th\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n class=\"checkbox-header\"\n mat-header-cell\n *matHeaderCellDef>\n <ud-checkbox\n (onChange)=\"toggleAllRows()\"\n [checked]=\"selection.hasValue() && isAllSelected()\"\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\"\n [ariaLabel]=\"checkboxLabel()\">\n </ud-checkbox>\n </th>\n <td\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n class=\"checkbox-cell\"\n mat-cell\n *matCellDef=\"let row\">\n <ud-checkbox\n (click)=\"$event.stopPropagation()\"\n (onChange)=\"selection.toggle(row)\"\n [checked]=\"selection.isSelected(row)\"\n [ariaLabel]=\"checkboxLabel(row)\"\n class=\"mt-2 mr-2\">\n </ud-checkbox>\n </td>\n </ng-container>\n }\n @for (column of displayedColumnsWithoutSelect; track column) {\n <ng-container matColumnDef=\"{{ column.property }}\">\n <th\n [ngStyle]=\"{ width: getColumnWidth(column) }\"\n mat-header-cell\n *matHeaderCellDef>\n {{ column.name | toObservable | async | capitalize }}\n </th>\n <td\n mat-cell\n *matCellDef=\"let row; let index = index\"\n [ngStyle]=\"{ width: getColumnWidth(column) }\"\n [class.editable-cell]=\"column.editable\"\n (mouseenter)=\"\n column.editable &&\n (hoveredCell = {\n rowIndex: index,\n property: column.property,\n })\n \"\n (mouseleave)=\"hoveredCell = null\"\n (click)=\"column.dataCellTemplate && $event.stopPropagation()\">\n @if (\n column.editable &&\n editingCell?.rowIndex === index &&\n editingCell?.property === column.property\n ) {\n <div\n class=\"cell-edit-wrapper\"\n [formGroup]=\"editFormGroup\"\n (click)=\"$event.stopPropagation()\">\n @if (column.editOptions) {\n <ud-multi-select\n controlName=\"value\"\n [multiple]=\"column.allowMultiSelectOnEdit ?? false\"\n [options]=\"column.editOptions\"\n size=\"small\" />\n } @else {\n <ud-text-input\n controlName=\"value\"\n [type]=\"\n column.type === tableDisplayColumnType.NUMBER\n ? 'number'\n : 'text'\n \"\n size=\"small\" />\n }\n <div class=\"cell-edit-actions\">\n <ud-button\n variant=\"icon-only\"\n color=\"success\"\n icon=\"check\"\n size=\"sm\"\n (buttonClick)=\"\n confirmEdit(row, column); $event.stopPropagation()\n \" />\n <ud-button\n variant=\"icon-only\"\n color=\"danger\"\n icon=\"close\"\n size=\"sm\"\n (buttonClick)=\"cancelEdit(); $event.stopPropagation()\" />\n </div>\n </div>\n } @else {\n <div class=\"cell-display-wrapper\">\n @if (column.dataCellTemplate) {\n <ng-container\n *ngTemplateOutlet=\"\n column.dataCellTemplate;\n context: { $implicit: row, index }\n \" />\n } @else if (column.type) {\n @switch (column.type) {\n @case (tableDisplayColumnType.ARRAY) {\n <span>\n {{\n column.transformFn?.(row[column.property]) ??\n row[column.property].join(', ')\n }}\n </span>\n }\n @case (tableDisplayColumnType.TEXT) {\n <span\n [innerHTML]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \">\n </span>\n }\n @case (tableDisplayColumnType.NUMBER) {\n <span\n [innerHTML]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \">\n </span>\n }\n @case (tableDisplayColumnType.TEXT_OBSERVABLES) {\n <span>\n {{ row[column.property] | async | capitalize }}\n </span>\n }\n @case (tableDisplayColumnType.BOOLEAN) {\n <mat-icon\n class=\"mt-2\"\n [udTooltip]=\"\n (row[column.property]\n ? 'names.active'\n : 'names.inactive'\n )\n | translate\n | capitalize\n \"\n udTooltipPosition=\"right\">\n {{ row[column.property] ? 'check' : 'close' }}\n </mat-icon>\n }\n @case (tableDisplayColumnType.CLICK) {\n <span (click)=\"clickedAction(row)\" class=\"link\">\n {{ row[column.property] }}\n </span>\n }\n @case (tableDisplayColumnType.DATE) {\n {{ row[column.property] | date: 'MMMM dd, yyyy' }}\n }\n @case (tableDisplayColumnType.DATETIME) {\n {{\n row[column.property]\n | date: 'MMMM dd, yyyy h:mm a'\n }}\n }\n @case (tableDisplayColumnType.EMAIL) {\n @let email = row[column.property];\n @if (email) {\n <span class=\"email-cell\">\n <mat-icon class=\"email-icon\">mail_outline</mat-icon>\n <span>{{ email }}</span>\n <span\n class=\"email-copy\"\n [class.is-copied]=\"copiedEmailRow() === row\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n [icon]=\"copiedEmailRow() === row ? 'check' : 'content_copy'\"\n [udTooltip]=\"(copiedEmailRow() === row ? copiedLabel : copyLabel) | translate | capitalize\"\n (buttonClick)=\"copyEmail(row, email); $event.stopPropagation()\" />\n </span>\n </span>\n }\n }\n @case (tableDisplayColumnType.HYPERLINK) {\n <span\n class=\"link\"\n [routerLink]=\"getHyperlinkRoute(row, column)\"\n (click)=\"$event.stopPropagation()\">\n {{ row[column.property] }}\n </span>\n }\n @case (tableDisplayColumnType.ICON) {\n <mat-icon\n [ngStyle]=\"{\n color:\n column.icons![row[column.property]].color,\n }\">\n {{ column.icons![row[column.property]].name }}\n </mat-icon>\n }\n @case (tableDisplayColumnType.MONEY) {\n {{ formatMoneyCell(row, column) }}\n }\n @case (tableDisplayColumnType.PHONE) {\n @if (row[column.property].countryCode?.code) {\n <span>\n (+{{\n row[column.property].countryCode.code || ''\n }})\n </span>\n }\n {{\n formatPhoneNumber(\n row[column.property].phoneNumber\n )\n }}\n }\n @case (tableDisplayColumnType.PILL) {\n <ud-pill\n [text]=\"\n column.transformFn?.(row[column.property]) ??\n row[column.property]\n \"\n [type]=\"column.pillTypeFn!(row)\" />\n }\n }\n } @else {\n {{ row[column.property] }}\n }\n @if (column.editable) {\n <button\n mat-icon-button\n class=\"cell-edit-icon\"\n [class.cell-edit-icon--visible]=\"\n hoveredCell?.rowIndex === index &&\n hoveredCell?.property === column.property\n \"\n (click)=\"\n startEditing(row, index, column);\n $event.stopPropagation()\n \">\n <mat-icon>edit</mat-icon>\n </button>\n }\n </div>\n }\n </td>\n </ng-container>\n }\n <ng-container matColumnDef=\"expand\">\n <th\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n mat-header-cell\n *matHeaderCellDef\n aria-label=\"row actions\">\n &nbsp;\n </th>\n <td\n [ngStyle]=\"{ width: actionColumnStyleWidth }\"\n mat-cell\n *matCellDef=\"let element\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n ariaLabel=\"expand row\"\n [icon]=\"\n expandedElement !== element\n ? 'keyboard_arrow_down'\n : 'keyboard_arrow_up'\n \"\n (buttonClick)=\"\n expandedElement =\n expandedElement === element ? null : element;\n $event.stopPropagation()\n \" />\n </td>\n </ng-container>\n\n <!-- Expanded Content Column - The detail row is made up of this one column that spans across all columns -->\n <ng-container matColumnDef=\"expandedDetail\">\n <td\n mat-cell\n class=\"ml-auto\"\n *matCellDef=\"let element\"\n [attr.colspan]=\"columnsToDisplayWithExpand.length\">\n <div\n class=\"element-detail justify-content-center\"\n [@detailExpand]=\"\n element === expandedElement ? 'expanded' : 'collapsed'\n \">\n @if (expandedItem.type === 'image') {\n <img\n class=\"pb-4\"\n [src]=\"element[expandedItem.property]\"\n alt=\"\" />\n }\n </div>\n </td>\n </ng-container>\n\n @if (!expandableRows) {\n <ng-container>\n <tr\n mat-header-row\n *matHeaderRowDef=\"displayedColumnsProperty\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: displayedColumnsProperty;\n let i = index\n \"\n (click)=\"selectRow(row)\"\n [ngClass]=\"getRowBackgroundColor(i)\"></tr>\n </ng-container>\n } @else {\n <ng-container>\n <tr\n mat-header-row\n *matHeaderRowDef=\"columnsToDisplayWithExpand\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: columnsToDisplayWithExpand;\n let i = dataIndex\n \"\n [id]=\"i\"\n class=\"element-row\"\n [class.expanded-row]=\"expandedElement === row\"\n [ngClass]=\"getRowBackgroundColor(i)\"></tr>\n <tr\n mat-row\n *matRowDef=\"\n let row;\n columns: ['expandedDetail'];\n let i = dataIndex\n \"\n [id]=\"i\"\n [ngClass]=\"getRowBackgroundColor(i)\"\n [ngStyle]=\"{\n display: expandedElement === row ? 'contents' : 'none',\n }\"\n class=\"detail-row\"></tr>\n </ng-container>\n }\n\n <!-- Row shown when there is no matching data. -->\n <tr class=\"mat-row no-data-row\" *matNoDataRow>\n <td class=\"mat-cell\" [attr.colspan]=\"displayedColumnsProperty.length\">\n <div class=\"no-data-found\">\n <mat-icon class=\"no-data-icon\">\n {{ dataSource.data.length > 0 ? 'search_off' : 'inbox' }}\n </mat-icon>\n <p class=\"no-data-text\">\n {{\n dataSource.data.length > 0\n ? ('messages.modifyFilter' | translate | capitalize)\n : noTableDataMessage\n }}\n </p>\n </div>\n </td>\n </tr>\n </table>\n } @else {\n <div class=\"loading-container\">\n <mat-progress-spinner\n class=\"mx-auto\"\n [diameter]=\"32\"\n color=\"primary\"\n mode=\"indeterminate\" />\n </div>\n }\n @if (showPaginator) {\n <div class=\"table-paginator\">\n <div class=\"table-paginator__size\">\n <span class=\"table-paginator__size-label\">\n {{ 'table.rowsPerPage' | translate | capitalize }}\n </span>\n <ud-menu\n [items]=\"pageSizeMenuItems\"\n triggerVariant=\"stroked\"\n triggerIcon=\"keyboard_arrow_down\"\n [triggerLabel]=\"pageSizeLabel\"\n [ariaLabel]=\"'table.rowsPerPage' | translate | capitalize\"\n xPosition=\"after\"\n yPosition=\"above\"\n [stopPropagation]=\"false\"\n (itemSelected)=\"onPageSizeSelected($event)\" />\n </div>\n <!-- Drives paging and dataSource.paginator; hidden, the controls below render it. -->\n <mat-paginator\n #pager\n [length]=\"totalElements ?? dataSource.data.length\"\n [pageSize]=\"initialPageSize\"\n [pageSizeOptions]=\"paginationSizeOptions\"\n (page)=\"onPageChange($event)\" />\n <span class=\"table-paginator__range\">\n {{ pager._intl.getRangeLabel(pager.pageIndex, pager.pageSize, pager.length) }}\n </span>\n <div class=\"table-paginator__nav\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"first_page\"\n [ariaLabel]=\"pager._intl.firstPageLabel\"\n [disabled]=\"!pager.hasPreviousPage()\"\n (buttonClick)=\"pager.firstPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"chevron_left\"\n [ariaLabel]=\"pager._intl.previousPageLabel\"\n [disabled]=\"!pager.hasPreviousPage()\"\n (buttonClick)=\"pager.previousPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"chevron_right\"\n [ariaLabel]=\"pager._intl.nextPageLabel\"\n [disabled]=\"!pager.hasNextPage()\"\n (buttonClick)=\"pager.nextPage()\" />\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n icon=\"last_page\"\n [ariaLabel]=\"pager._intl.lastPageLabel\"\n [disabled]=\"!pager.hasNextPage()\"\n (buttonClick)=\"pager.lastPage()\" />\n </div>\n </div>\n }\n </mat-card-content>\n </mat-card>\n</div>\n", styles: [":host{--eu-navy: #1b2535;--eu-navy-soft: #253347;--eu-navy-dim: rgba(27, 37, 53, .08);--eu-navy-mid: rgba(27, 37, 53, .18);--eu-surface: #ffffff;--eu-bg: #f4f5f7;--eu-border: #e2e5ea;--eu-border-mid: #c9cdd6;--eu-text: #1b2535;--eu-muted: #6b7585;--eu-danger: var(--danger, #e53935);--eu-radius: 10px;--eu-radius-sm: 6px;--eu-shadow: 0 2px 12px rgba(27, 37, 53, .06), 0 1px 4px rgba(27, 37, 53, .04);--eu-shadow-btn: 0 4px 14px rgba(27, 37, 53, .22);font-family:Sora,system-ui,sans-serif;position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #fafafa inset!important;background-color:#fafafa!important}p{font:20px Roboto,Helvetica Neue,sans-serif}.bg-accent{background-color:var(--accent-color)}.table-div .separate-filters{display:flex;flex-direction:column}.table-div .separate-filters .filter-dropdown{width:fit-content}.table-div .separate-filters .filters{display:flex;flex-direction:row;gap:8px;margin:0 24px 1rem}.table-div .separate-filters .filters .filter mat-icon{margin-right:0!important}.table-div mat-card.table-card{border-radius:10px!important;overflow:hidden;box-shadow:0 2px 12px #373f4c1a!important;background:#fff!important}.table-div mat-card.table-card mat-card-header.table-header{padding:14px 16px 14px 12px;background:var(--accent-lightest-color);border-bottom:1px solid var(--accent-color);min-height:65px}.table-div mat-card.table-card mat-card-header.table-header ::ng-deep .mat-mdc-card-header-text{display:none}.table-div mat-card.table-card mat-card-header.table-header .table-header-icon{color:var(--primary-color);font-size:20px;width:20px;height:20px}.table-div mat-card.table-card mat-card-header.table-header .table-title{margin-bottom:0;font-size:.9375rem;font-weight:600;letter-spacing:.01em;color:#373f4c}.table-div mat-card.table-card mat-card-content{padding:0}.table-div mat-card.table-card mat-card-content .no-data-found{display:flex;flex-direction:column;justify-content:center;align-items:center;height:140px;gap:8px;background:#fff}.table-div mat-card.table-card mat-card-content .no-data-found .no-data-icon{font-size:40px;width:40px;height:40px;color:var(--accent-darker-color);opacity:.7}.table-div mat-card.table-card mat-card-content .no-data-found .no-data-text{font-size:.875rem;color:#373f4c;margin:0}.table-div mat-card.table-card mat-card-content .loading-container{display:flex;justify-content:center;align-items:center;padding:32px;background:#fff}.table-div mat-card.table-card mat-card-content .table-paginator{display:flex;align-items:center;justify-content:flex-end;gap:16px;border-radius:0 0 10px 10px;background-color:#dde3ec;border-top:1px solid #c8c8d4}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__size{display:flex;align-items:center;gap:8px}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__size-label{font-family:Sora,system-ui,sans-serif;font-size:.8125rem;color:#6b7585;white-space:nowrap}.table-div mat-card.table-card mat-card-content .table-paginator mat-paginator{display:none}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__range{font-family:Sora,system-ui,sans-serif;font-size:.8125rem;font-variant-numeric:tabular-nums;color:#6b7585;white-space:nowrap}.table-div mat-card.table-card mat-card-content .table-paginator .table-paginator__nav{display:flex;align-items:center;gap:2px;padding:8px 12px 8px 0}.table-div .action-buttons-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.table-div tr td,.table-div tr th{border-bottom:1px solid var(--accent-color);color:#373f4c;padding:10px 8px}.table-div tr th{background-color:#dde3ec;font-weight:600;font-size:.9rem;letter-spacing:.05em}.table-div tr th:first-of-type,.table-div tr td:first-of-type{padding-left:20px}.table-div tr th:last-of-type,.table-div tr td:last-of-type{padding-right:20px}table{width:100%}.mat-mdc-form-field{font-size:14px}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper{max-height:45px;padding-left:4px}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper [class^=mdc-notched-outline__]{border:none;border-bottom:1px solid #929293;border-radius:0}.mat-mdc-form-field ::ng-deep .mat-mdc-text-field-wrapper [class^=mdc-notched-outline__]:first-of-type{display:none}.mat-mdc-icon-button.mat-mdc-button-base{padding:10px}.spacer{flex:1 1 auto}.link{color:#459fff;font-weight:600;cursor:pointer}.email-cell{display:inline-flex;align-items:center;gap:6px}.email-cell .email-icon{font-size:15px;width:15px;height:15px;opacity:.4;flex-shrink:0}.email-copy{display:inline-flex;align-items:center;height:1em;opacity:0;transition:opacity .12s ease}tr:hover .email-copy,.email-copy:focus-within,.email-copy.is-copied{opacity:1}@media (hover: none){.email-copy{opacity:1}}@media (prefers-reduced-motion: reduce){.email-copy{transition:none}}.filter{font-size:100%;border-top:.84375em solid rgba(0,0,0,0)}tr.detail-row{height:0}tr.no-data-row td{border-bottom:none;padding:0}.element-row td{border-bottom-width:0}.element-detail{overflow:hidden;display:flex}.element-detail>img{max-height:100%}.element-symbol{font-weight:700;font-size:40px;line-height:normal}.element-description{padding:16px}.element-description-attribution{opacity:.5}.pills{display:flex;flex-direction:column;gap:16px;margin:8px 2px}::ng-deep .ud-actions-menu{border-radius:10px!important;box-shadow:0 4px 20px #1b25351a,0 1px 4px #1b25350f!important;border:1px solid rgba(27,37,53,.08);overflow:hidden;min-width:200px!important}::ng-deep .ud-actions-menu .mat-mdc-menu-content{padding:4px!important}::ng-deep .ud-actions-menu .ud-menu-divider{height:1px;margin:4px 8px;background:#1b253514}::ng-deep .ud-actions-menu .ud-menu-item{display:flex;align-items:center;gap:0;height:auto;min-height:40px;padding:0 12px 0 0!important;border-radius:7px;margin:1px 0;position:relative;overflow:hidden;transition:background .15s ease}::ng-deep .ud-actions-menu .ud-menu-item .mat-mdc-menu-item-text{display:flex;align-items:center}::ng-deep .ud-actions-menu .ud-menu-item:before{content:\"\";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:0 2px 2px 0;background:#1b2535;transform:scaleY(0);transform-origin:center;transition:transform .18s cubic-bezier(.4,0,.2,1)}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]):before{transform:scaleY(1)}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]){background:#1b25350d!important}::ng-deep .ud-actions-menu .ud-menu-item[disabled]{opacity:1}::ng-deep .ud-actions-menu .ud-menu-item[disabled] .ud-menu-item__icon-wrap,::ng-deep .ud-actions-menu .ud-menu-item[disabled] .ud-menu-item__label{opacity:.38}::ng-deep .ud-actions-menu .ud-menu-item--no-icon{padding-left:12px!important}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__icon-wrap{display:flex;align-items:center;justify-content:center;width:40px;flex-shrink:0;align-self:stretch;max-height:40px}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__icon-wrap mat-icon{font-size:17px;width:17px;height:17px;margin:0;color:#6b7585;transition:color .15s ease}::ng-deep .ud-actions-menu .ud-menu-item:hover:not([disabled]) .ud-menu-item__icon-wrap mat-icon{color:#1b2535}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__text{display:flex;flex-direction:column;padding:8px 0;min-width:0}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__label{font-family:Sora,system-ui,sans-serif;font-size:.875rem;font-weight:500;line-height:1.25rem;color:#1b2535;letter-spacing:.01em;white-space:nowrap}::ng-deep .ud-actions-menu .ud-menu-item .ud-menu-item__description{font-family:Sora,system-ui,sans-serif;font-size:.75rem;line-height:1rem;color:#6b7585;white-space:normal}::ng-deep .ud-actions-menu .ud-menu-item--danger .ud-menu-item__label,::ng-deep .ud-actions-menu .ud-menu-item--danger .ud-menu-item__icon-wrap mat-icon,::ng-deep .ud-actions-menu .ud-menu-item--danger:hover:not([disabled]) .ud-menu-item__icon-wrap mat-icon{color:#e53935}::ng-deep .ud-actions-menu .ud-menu-item--danger:before{background:#e53935}::ng-deep .ud-actions-menu .ud-menu-item .mdc-list-item__primary-text{display:none!important}.filter--active{position:relative}.filter--active:after{content:\"\";position:absolute;left:0;right:0;bottom:-5px;height:2px;border-radius:2px;background:#459fff;pointer-events:none}.table-controls{display:flex;align-items:flex-start;gap:12px}.table-controls .separate-filters{flex:1 1 auto;min-width:0}.column-picker{flex:0 0 auto;margin:.84375em 24px 0 auto}.column-picker--active ::ng-deep .ud-btn.ud-btn--stroked{background:#459fff17!important;border-color:#459fff8c!important;color:#1b2535!important;font-weight:600!important}.column-picker--active ::ng-deep .ud-btn.ud-btn--stroked:hover:not(:disabled){background:#459fff24!important;border-color:#459fffbf!important;color:#1b2535!important}.filters-clear{align-self:flex-start;margin-top:.84375em;padding:0 2px;border:0;background:none;color:#6b7585;font-family:var(--ud-field-font);font-size:.8125rem;font-weight:500;line-height:34px;cursor:pointer;white-space:nowrap;transition:color .15s ease}.filters-clear:hover,.filters-clear:focus-visible{color:#459fff}.filters-clear__count{margin-left:5px;font-family:JetBrains Mono,ui-monospace,monospace;font-weight:600;color:#1b2535}.filters-clear:focus-visible{outline:2px solid #459fff;outline-offset:3px;border-radius:3px}@media (prefers-reduced-motion: reduce){.filters-clear{transition:none}}.filter-button-trigger--active{background-color:#459fff17!important;border-color:#459fff8c!important;color:#1b2535!important;font-weight:600!important}.filter-button-trigger--active ::ng-deep .ud-btn__label{display:contents}.filter-button-trigger--active ::ng-deep .ud-btn__icon--right{order:1}.filter-button-trigger--active .filter-clear-icon{order:2;font-size:15px!important;width:15px!important;height:15px!important;line-height:15px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer;border-radius:50%;transition:background .15s ease}.filter-button-trigger--active .filter-clear-icon:hover{background:#1b25351f}td.editable-cell .cell-display-wrapper{display:flex;align-items:center;gap:6px;min-height:32px}td.editable-cell .cell-display-wrapper .cell-edit-icon{opacity:0;transform:scale(.72) translateY(1px);transition:opacity .16s ease,transform .18s cubic-bezier(.34,1.4,.64,1);flex-shrink:0;width:30px!important;height:30px!important;line-height:30px!important;padding:4px!important;border-radius:6px!important;background:transparent;border:1px solid transparent;display:flex!important;align-items:center!important;justify-content:center!important}td.editable-cell .cell-display-wrapper .cell-edit-icon:hover{background:rgba(var(--primary-color-rgb, 63, 81, 181),.08)!important;border-color:rgba(var(--primary-color-rgb, 63, 81, 181),.22)!important}td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-mdc-button-persistent-ripple,td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-ripple{border-radius:6px}td.editable-cell .cell-display-wrapper .cell-edit-icon ::ng-deep .mat-mdc-button-touch-target{width:30px!important;height:30px!important}td.editable-cell .cell-display-wrapper .cell-edit-icon mat-icon{font-size:14px!important;width:14px!important;height:14px!important;color:var(--primary-color);line-height:14px;display:flex!important;align-items:center;justify-content:center}td.editable-cell .cell-display-wrapper .cell-edit-icon.cell-edit-icon--visible{opacity:1;transform:scale(1) translateY(0)}td.editable-cell .cell-edit-wrapper{display:flex;align-items:center;gap:4px;animation:cell-edit-enter .18s cubic-bezier(.22,1,.36,1) both}td.editable-cell .cell-edit-wrapper ud-multi-select,td.editable-cell .cell-edit-wrapper ud-text-input{flex:1;min-width:0}td.editable-cell .cell-edit-wrapper .cell-edit-actions{display:flex;flex-direction:row;gap:3px;flex-shrink:0}@keyframes cell-edit-enter{0%{opacity:0;transform:translateY(-3px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}::ng-deep .custom-dropdown{min-width:280px!important;max-width:650px!important;width:auto!important;max-height:none!important;overflow:visible!important;border-radius:10px!important;box-shadow:0 4px 20px #1b25351a,0 1px 4px #1b25350f!important}::ng-deep .custom-dropdown .mat-mdc-menu-content{padding:14px;width:100%;box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content{box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .boolean-content{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:200px;padding:4px 0}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .boolean-content .boolean-label{font-family:Sora,system-ui,sans-serif;font-size:.875rem;font-weight:500;color:#1b2535}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .date-content{width:320px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .date-content ud-date-range-input{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .string-content{display:flex;gap:1rem}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field{width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field .mat-mdc-form-field{font-size:14px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content mat-form-field input{width:100%;box-sizing:border-box}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content{display:flex;flex-direction:column;gap:12px;width:280px}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content .dropdown-label{font-family:inherit;font-size:.8125rem;font-weight:500;color:#1b2535}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content ud-button-toggle{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content.multi-select-content ud-multi-select{display:block;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content{display:flex;flex-direction:column;gap:8px;width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content ud-multi-select{width:100%}::ng-deep .custom-dropdown .mat-mdc-menu-content .dropdown-content .number-content .number-range-row{display:flex;gap:8px;width:100%}\n"] }]
3928
3949
  }], ctorParameters: () => [{ type: TranslateWrapperService }], propDecorators: { id: [{
3929
3950
  type: Input
3930
3951
  }], title: [{
@@ -5791,7 +5812,7 @@ class SummaryViewComponent {
5791
5812
  clearTimeout(this.resetTimer);
5792
5813
  }
5793
5814
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SummaryViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5794
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.19", type: SummaryViewComponent, isStandalone: true, selector: "ud-summary-view", inputs: { title: "title", actions: "actions", summaryFields: "summaryFields", loading: "loading", layout: "layout", skeletonTitleHeight: "skeletonTitleHeight", skeletonBodyHeight: "skeletonBodyHeight", copyLabel: "copyLabel", copiedLabel: "copiedLabel" }, ngImport: i0, template: "<div class=\"summary-view-container\">\n <div class=\"header\">\n @if (loading) {\n <ngx-skeleton-loader\n class=\"loading col-6\"\n [count]=\"1\"\n [theme]=\"{ height: skeletonTitleHeight }\" />\n } @else {\n <h5 class=\"header-title\">{{ title }}</h5>\n }\n <div class=\"header-actions\">\n @for (action of actions; track action.label) {\n @if (action.isAuthorized) {\n @if (action.path) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n [icon]=\"action.icon\"\n [routerLink]=\"action.path\">\n {{ action.label | translate | capitalize }}\n </ud-button>\n } @else if (action.onClick) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n [icon]=\"action.icon\"\n (buttonClick)=\"action.onClick!()\">\n {{ action.label | translate | capitalize }}\n </ud-button>\n }\n }\n }\n <ng-content select=\"[header-actions]\" />\n </div>\n </div>\n <div\n class=\"content\"\n [ngClass]=\"{\n reverse: layout === 'text-right',\n 'flex-column': layout === 'text-top',\n }\">\n @if (loading) {\n <ngx-skeleton-loader\n class=\"col\"\n [count]=\"1\"\n [theme]=\"{ height: skeletonBodyHeight }\" />\n } @else {\n @if (layout !== 'text-none') {\n <div [ngClass]=\"layout === 'text-top' || layout === 'text-all' ? 'col-12' : 'col-6'\">\n <div class=\"summary\" [ngClass]=\"{ 'summary-row-wrap': layout === 'text-top' || layout === 'text-all' }\">\n @for (summaryField of summaryFields; track $index) {\n <div class=\"summary-field\">\n @if (summaryField.label) {\n <span>{{ summaryField.label | capitalize }}</span>\n }\n <div class=\"summary-row\">\n <mat-icon matPrefix fontSet=\"material-icons-outlined\">\n {{ summaryField.icon }}\n </mat-icon>\n <mat-label>{{ summaryField.value }}</mat-label>\n @if (summaryField.copyable && hasValue(summaryField)) {\n <div class=\"summary-copy\" [class.is-copied]=\"copiedIndex() === $index\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n [icon]=\"copiedIndex() === $index ? 'check' : 'content_copy'\"\n [udTooltip]=\"(copiedIndex() === $index ? copiedLabel : copyLabel) | translate | capitalize\"\n (buttonClick)=\"copy(summaryField, $index)\" />\n </div>\n }\n </div>\n </div>\n }\n </div>\n </div>\n }\n @if (layout !== 'text-all') {\n <div\n class=\"content-body\"\n [ngClass]=\"{\n 'col-12': layout === 'text-none' || layout === 'text-top',\n 'col-6': layout !== 'text-none' && layout !== 'text-top',\n }\">\n <ng-content></ng-content>\n </div>\n }\n }\n </div>\n</div>\n", styles: [".summary-view-container{justify-self:center;width:100%;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px #1b253512,0 4px 16px #1b253514;font-family:Sora,system-ui,sans-serif}.header{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:#1b2535;min-height:52px}.header .header-title{margin:0;font-family:Sora,system-ui,sans-serif;font-size:.9rem;font-weight:600;color:#fff;letter-spacing:.02em}.header .header-actions{display:flex;align-items:center;gap:8px}.header .header-actions ::ng-deep .ud-btn{border-color:#ffffff4d!important;color:#ffffffd9!important}.header .header-actions ::ng-deep .ud-btn:hover{background:#ffffff1a!important;border-color:#ffffff80!important;color:#fff!important}.header .header-actions ::ng-deep .ud-btn .mat-icon{color:inherit!important}.header .loading{padding:.5rem;border-radius:4px}.header .loading ::ng-deep .skeleton-loader{background:#ffffff1f!important;background-image:linear-gradient(90deg,#ffffff1f,#ffffff38,#ffffff1f 80px)!important}.content{display:flex;flex-wrap:wrap;background:#fff}.content:not(.flex-column):has(.content-body>*)>.col-6:first-child{border-right:1px solid #e8eaee}.content.reverse:has(.content-body>*)>.col-6:last-child{border-right:1px solid #e8eaee;border-left:none}.summary{display:flex;flex-direction:column;gap:0;padding:20px 24px}.summary.summary-row-wrap{flex-direction:row;flex-wrap:wrap;gap:.25rem;padding:16px 8px}.summary-field{display:flex;flex-direction:column;gap:3px;padding:10px 16px;border-radius:8px;transition:background .15s ease}.summary-field:hover{background:#f4f5f7}.summary-row-wrap .summary-field{padding:12px 16px;min-width:140px;border:1px solid #e8eaee}.summary-field span{font-family:Sora,system-ui,sans-serif;font-size:.65rem;font-weight:700;color:#6b7585;text-transform:uppercase;letter-spacing:.08em}.summary-row{display:flex;align-items:center;gap:6px}.summary-row mat-icon{height:16px;width:16px;min-width:16px;font-size:16px;color:#6b7585;flex-shrink:0}mat-label{font-family:Sora,system-ui,sans-serif;font-size:.9rem;font-weight:600;color:#1b2535;line-height:1.3}.content-body:has(>*){background:#f4f5f7;padding:20px 24px}.flex-column>.content-body:has(>*){border-top:1px solid #e8eaee}.summary-copy{display:inline-flex;align-items:center;height:1em;margin-left:2px;opacity:0;transition:opacity .12s ease}.summary-field:hover .summary-copy,.summary-copy:focus-within,.summary-copy.is-copied{opacity:1}@media (hover: none){.summary-copy{opacity:1}}@media (prefers-reduced-motion: reduce){.summary-copy{transition:none}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: CapitalizePipe, name: "capitalize" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: NgxSkeletonLoaderModule }, { kind: "component", type: i2$5.NgxSkeletonLoaderComponent, selector: "ngx-skeleton-loader", inputs: ["count", "loadingText", "appearance", "animation", "ariaLabel", "theme"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "component", type: UdButtonComponent, selector: "ud-button", inputs: ["variant", "color", "size", "type", "icon", "iconPosition", "iconFontSet", "loading", "disabled", "ariaLabel", "fullWidth"], outputs: ["buttonClick"] }, { kind: "directive", type: UdTooltipDirective, selector: "[udTooltip]", inputs: ["udTooltip", "udTooltipPosition", "udTooltipDisabled", "udTooltipShowDelay"] }] });
5815
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.19", type: SummaryViewComponent, isStandalone: true, selector: "ud-summary-view", inputs: { title: "title", actions: "actions", summaryFields: "summaryFields", loading: "loading", layout: "layout", skeletonTitleHeight: "skeletonTitleHeight", skeletonBodyHeight: "skeletonBodyHeight", copyLabel: "copyLabel", copiedLabel: "copiedLabel" }, ngImport: i0, template: "<div class=\"summary-view-container\">\n <div class=\"header\">\n @if (loading) {\n <ngx-skeleton-loader\n class=\"loading col-6\"\n [count]=\"1\"\n [theme]=\"{ height: skeletonTitleHeight }\" />\n } @else {\n <h5 class=\"header-title\">{{ title }}</h5>\n }\n <div class=\"header-actions\">\n @for (action of actions; track action.label) {\n @if (action.isAuthorized) {\n @if (action.path) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n [icon]=\"action.icon\"\n [routerLink]=\"action.path\">\n {{ action.label | translate | capitalize }}\n </ud-button>\n } @else if (action.onClick) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n [icon]=\"action.icon\"\n (buttonClick)=\"action.onClick!()\">\n {{ action.label | translate | capitalize }}\n </ud-button>\n }\n }\n }\n <ng-content select=\"[header-actions]\" />\n </div>\n </div>\n <div\n class=\"content\"\n [ngClass]=\"{\n reverse: layout === 'text-right',\n 'flex-column': layout === 'text-top',\n }\">\n @if (loading) {\n <ngx-skeleton-loader\n class=\"col\"\n [count]=\"1\"\n [theme]=\"{ height: skeletonBodyHeight }\" />\n } @else {\n @if (layout !== 'text-none') {\n <div [ngClass]=\"layout === 'text-top' || layout === 'text-all' ? 'col-12' : 'col-6'\">\n <div class=\"summary\" [ngClass]=\"{ 'summary-row-wrap': layout === 'text-top' || layout === 'text-all' }\">\n @for (summaryField of summaryFields; track $index) {\n <div class=\"summary-field\">\n @if (summaryField.label) {\n <span>{{ summaryField.label | capitalize }}</span>\n }\n <div class=\"summary-row\">\n <mat-icon matPrefix fontSet=\"material-icons-outlined\">\n {{ summaryField.icon }}\n </mat-icon>\n <mat-label>{{ summaryField.value }}</mat-label>\n @if (summaryField.copyable && hasValue(summaryField)) {\n <div class=\"summary-copy\" [class.is-copied]=\"copiedIndex() === $index\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n [icon]=\"copiedIndex() === $index ? 'check' : 'content_copy'\"\n [udTooltip]=\"(copiedIndex() === $index ? copiedLabel : copyLabel) | translate | capitalize\"\n (buttonClick)=\"copy(summaryField, $index)\" />\n </div>\n }\n </div>\n </div>\n }\n </div>\n </div>\n }\n @if (layout !== 'text-all') {\n <div\n class=\"content-body\"\n [ngClass]=\"{\n 'col-12': layout === 'text-none' || layout === 'text-top',\n 'col-6': layout !== 'text-none' && layout !== 'text-top',\n }\">\n <ng-content></ng-content>\n </div>\n }\n }\n </div>\n</div>\n", styles: [".summary-view-container{justify-self:center;width:100%;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px #1b253512,0 4px 16px #1b253514;font-family:Sora,system-ui,sans-serif}.header{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:#1b2535;min-height:52px}.header .header-title{margin:0;font-family:Sora,system-ui,sans-serif;font-size:.9rem;font-weight:600;color:#fff;letter-spacing:.02em}.header .header-actions{display:flex;align-items:center;gap:8px}.header .header-actions ::ng-deep .ud-btn{border-color:#ffffff4d!important;color:#ffffffd9!important}.header .header-actions ::ng-deep .ud-btn:hover{background:#ffffff1a!important;border-color:#ffffff80!important;color:#fff!important}.header .header-actions ::ng-deep .ud-btn .mat-icon{color:inherit!important}.header .loading{padding:.5rem;border-radius:4px}.header .loading ::ng-deep .skeleton-loader{background:#ffffff1f!important;background-image:linear-gradient(90deg,#ffffff1f,#ffffff38,#ffffff1f 80px)!important}.content{display:flex;flex-wrap:wrap;background:#fff}.content:not(.flex-column):has(.content-body>*)>.col-6:first-child{border-right:1px solid #e8eaee}.content.reverse:has(.content-body>*)>.col-6:last-child{border-right:1px solid #e8eaee;border-left:none}.summary{display:flex;flex-direction:column;gap:0;padding:20px 24px}.summary.summary-row-wrap{flex-direction:row;flex-wrap:wrap;gap:.25rem;padding:16px 8px}.summary-field{display:flex;flex-direction:column;gap:3px;padding:10px 16px;border-radius:8px;transition:background .15s ease}.summary-field:hover{background:#f4f5f7}.summary-row-wrap .summary-field{padding:12px 16px;min-width:140px;border:1px solid #e8eaee}.summary-field span{font-family:Sora,system-ui,sans-serif;font-size:.65rem;font-weight:600;color:#6b7585;text-transform:uppercase;letter-spacing:.08em}.summary-row{display:flex;align-items:center;gap:6px}.summary-row mat-icon{height:16px;width:16px;min-width:16px;font-size:16px;color:#6b7585;flex-shrink:0}mat-label{font-family:Sora,system-ui,sans-serif;font-size:.9rem;font-weight:400;color:#1b2535;line-height:1.3}.content-body:has(>*){background:#f4f5f7;padding:20px 24px}.flex-column>.content-body:has(>*){border-top:1px solid #e8eaee}.summary-copy{display:inline-flex;align-items:center;height:1em;margin-left:2px;opacity:0;transition:opacity .12s ease}.summary-field:hover .summary-copy,.summary-copy:focus-within,.summary-copy.is-copied{opacity:1}@media (hover: none){.summary-copy{opacity:1}}@media (prefers-reduced-motion: reduce){.summary-copy{transition:none}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: CapitalizePipe, name: "capitalize" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: NgxSkeletonLoaderModule }, { kind: "component", type: i2$5.NgxSkeletonLoaderComponent, selector: "ngx-skeleton-loader", inputs: ["count", "loadingText", "appearance", "animation", "ariaLabel", "theme"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "component", type: UdButtonComponent, selector: "ud-button", inputs: ["variant", "color", "size", "type", "icon", "iconPosition", "iconFontSet", "loading", "disabled", "ariaLabel", "fullWidth"], outputs: ["buttonClick"] }, { kind: "directive", type: UdTooltipDirective, selector: "[udTooltip]", inputs: ["udTooltip", "udTooltipPosition", "udTooltipDisabled", "udTooltipShowDelay"] }] });
5795
5816
  }
5796
5817
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SummaryViewComponent, decorators: [{
5797
5818
  type: Component,
@@ -5807,7 +5828,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
5807
5828
  MatPrefix,
5808
5829
  UdButtonComponent,
5809
5830
  UdTooltipDirective,
5810
- ], template: "<div class=\"summary-view-container\">\n <div class=\"header\">\n @if (loading) {\n <ngx-skeleton-loader\n class=\"loading col-6\"\n [count]=\"1\"\n [theme]=\"{ height: skeletonTitleHeight }\" />\n } @else {\n <h5 class=\"header-title\">{{ title }}</h5>\n }\n <div class=\"header-actions\">\n @for (action of actions; track action.label) {\n @if (action.isAuthorized) {\n @if (action.path) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n [icon]=\"action.icon\"\n [routerLink]=\"action.path\">\n {{ action.label | translate | capitalize }}\n </ud-button>\n } @else if (action.onClick) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n [icon]=\"action.icon\"\n (buttonClick)=\"action.onClick!()\">\n {{ action.label | translate | capitalize }}\n </ud-button>\n }\n }\n }\n <ng-content select=\"[header-actions]\" />\n </div>\n </div>\n <div\n class=\"content\"\n [ngClass]=\"{\n reverse: layout === 'text-right',\n 'flex-column': layout === 'text-top',\n }\">\n @if (loading) {\n <ngx-skeleton-loader\n class=\"col\"\n [count]=\"1\"\n [theme]=\"{ height: skeletonBodyHeight }\" />\n } @else {\n @if (layout !== 'text-none') {\n <div [ngClass]=\"layout === 'text-top' || layout === 'text-all' ? 'col-12' : 'col-6'\">\n <div class=\"summary\" [ngClass]=\"{ 'summary-row-wrap': layout === 'text-top' || layout === 'text-all' }\">\n @for (summaryField of summaryFields; track $index) {\n <div class=\"summary-field\">\n @if (summaryField.label) {\n <span>{{ summaryField.label | capitalize }}</span>\n }\n <div class=\"summary-row\">\n <mat-icon matPrefix fontSet=\"material-icons-outlined\">\n {{ summaryField.icon }}\n </mat-icon>\n <mat-label>{{ summaryField.value }}</mat-label>\n @if (summaryField.copyable && hasValue(summaryField)) {\n <div class=\"summary-copy\" [class.is-copied]=\"copiedIndex() === $index\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n [icon]=\"copiedIndex() === $index ? 'check' : 'content_copy'\"\n [udTooltip]=\"(copiedIndex() === $index ? copiedLabel : copyLabel) | translate | capitalize\"\n (buttonClick)=\"copy(summaryField, $index)\" />\n </div>\n }\n </div>\n </div>\n }\n </div>\n </div>\n }\n @if (layout !== 'text-all') {\n <div\n class=\"content-body\"\n [ngClass]=\"{\n 'col-12': layout === 'text-none' || layout === 'text-top',\n 'col-6': layout !== 'text-none' && layout !== 'text-top',\n }\">\n <ng-content></ng-content>\n </div>\n }\n }\n </div>\n</div>\n", styles: [".summary-view-container{justify-self:center;width:100%;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px #1b253512,0 4px 16px #1b253514;font-family:Sora,system-ui,sans-serif}.header{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:#1b2535;min-height:52px}.header .header-title{margin:0;font-family:Sora,system-ui,sans-serif;font-size:.9rem;font-weight:600;color:#fff;letter-spacing:.02em}.header .header-actions{display:flex;align-items:center;gap:8px}.header .header-actions ::ng-deep .ud-btn{border-color:#ffffff4d!important;color:#ffffffd9!important}.header .header-actions ::ng-deep .ud-btn:hover{background:#ffffff1a!important;border-color:#ffffff80!important;color:#fff!important}.header .header-actions ::ng-deep .ud-btn .mat-icon{color:inherit!important}.header .loading{padding:.5rem;border-radius:4px}.header .loading ::ng-deep .skeleton-loader{background:#ffffff1f!important;background-image:linear-gradient(90deg,#ffffff1f,#ffffff38,#ffffff1f 80px)!important}.content{display:flex;flex-wrap:wrap;background:#fff}.content:not(.flex-column):has(.content-body>*)>.col-6:first-child{border-right:1px solid #e8eaee}.content.reverse:has(.content-body>*)>.col-6:last-child{border-right:1px solid #e8eaee;border-left:none}.summary{display:flex;flex-direction:column;gap:0;padding:20px 24px}.summary.summary-row-wrap{flex-direction:row;flex-wrap:wrap;gap:.25rem;padding:16px 8px}.summary-field{display:flex;flex-direction:column;gap:3px;padding:10px 16px;border-radius:8px;transition:background .15s ease}.summary-field:hover{background:#f4f5f7}.summary-row-wrap .summary-field{padding:12px 16px;min-width:140px;border:1px solid #e8eaee}.summary-field span{font-family:Sora,system-ui,sans-serif;font-size:.65rem;font-weight:700;color:#6b7585;text-transform:uppercase;letter-spacing:.08em}.summary-row{display:flex;align-items:center;gap:6px}.summary-row mat-icon{height:16px;width:16px;min-width:16px;font-size:16px;color:#6b7585;flex-shrink:0}mat-label{font-family:Sora,system-ui,sans-serif;font-size:.9rem;font-weight:600;color:#1b2535;line-height:1.3}.content-body:has(>*){background:#f4f5f7;padding:20px 24px}.flex-column>.content-body:has(>*){border-top:1px solid #e8eaee}.summary-copy{display:inline-flex;align-items:center;height:1em;margin-left:2px;opacity:0;transition:opacity .12s ease}.summary-field:hover .summary-copy,.summary-copy:focus-within,.summary-copy.is-copied{opacity:1}@media (hover: none){.summary-copy{opacity:1}}@media (prefers-reduced-motion: reduce){.summary-copy{transition:none}}\n"] }]
5831
+ ], template: "<div class=\"summary-view-container\">\n <div class=\"header\">\n @if (loading) {\n <ngx-skeleton-loader\n class=\"loading col-6\"\n [count]=\"1\"\n [theme]=\"{ height: skeletonTitleHeight }\" />\n } @else {\n <h5 class=\"header-title\">{{ title }}</h5>\n }\n <div class=\"header-actions\">\n @for (action of actions; track action.label) {\n @if (action.isAuthorized) {\n @if (action.path) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n [icon]=\"action.icon\"\n [routerLink]=\"action.path\">\n {{ action.label | translate | capitalize }}\n </ud-button>\n } @else if (action.onClick) {\n <ud-button\n variant=\"stroked\"\n color=\"primary\"\n size=\"sm\"\n [icon]=\"action.icon\"\n (buttonClick)=\"action.onClick!()\">\n {{ action.label | translate | capitalize }}\n </ud-button>\n }\n }\n }\n <ng-content select=\"[header-actions]\" />\n </div>\n </div>\n <div\n class=\"content\"\n [ngClass]=\"{\n reverse: layout === 'text-right',\n 'flex-column': layout === 'text-top',\n }\">\n @if (loading) {\n <ngx-skeleton-loader\n class=\"col\"\n [count]=\"1\"\n [theme]=\"{ height: skeletonBodyHeight }\" />\n } @else {\n @if (layout !== 'text-none') {\n <div [ngClass]=\"layout === 'text-top' || layout === 'text-all' ? 'col-12' : 'col-6'\">\n <div class=\"summary\" [ngClass]=\"{ 'summary-row-wrap': layout === 'text-top' || layout === 'text-all' }\">\n @for (summaryField of summaryFields; track $index) {\n <div class=\"summary-field\">\n @if (summaryField.label) {\n <span>{{ summaryField.label | capitalize }}</span>\n }\n <div class=\"summary-row\">\n <mat-icon matPrefix fontSet=\"material-icons-outlined\">\n {{ summaryField.icon }}\n </mat-icon>\n <mat-label>{{ summaryField.value }}</mat-label>\n @if (summaryField.copyable && hasValue(summaryField)) {\n <div class=\"summary-copy\" [class.is-copied]=\"copiedIndex() === $index\">\n <ud-button\n variant=\"icon-only\"\n color=\"secondary\"\n size=\"sm\"\n [icon]=\"copiedIndex() === $index ? 'check' : 'content_copy'\"\n [udTooltip]=\"(copiedIndex() === $index ? copiedLabel : copyLabel) | translate | capitalize\"\n (buttonClick)=\"copy(summaryField, $index)\" />\n </div>\n }\n </div>\n </div>\n }\n </div>\n </div>\n }\n @if (layout !== 'text-all') {\n <div\n class=\"content-body\"\n [ngClass]=\"{\n 'col-12': layout === 'text-none' || layout === 'text-top',\n 'col-6': layout !== 'text-none' && layout !== 'text-top',\n }\">\n <ng-content></ng-content>\n </div>\n }\n }\n </div>\n</div>\n", styles: [".summary-view-container{justify-self:center;width:100%;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px #1b253512,0 4px 16px #1b253514;font-family:Sora,system-ui,sans-serif}.header{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:#1b2535;min-height:52px}.header .header-title{margin:0;font-family:Sora,system-ui,sans-serif;font-size:.9rem;font-weight:600;color:#fff;letter-spacing:.02em}.header .header-actions{display:flex;align-items:center;gap:8px}.header .header-actions ::ng-deep .ud-btn{border-color:#ffffff4d!important;color:#ffffffd9!important}.header .header-actions ::ng-deep .ud-btn:hover{background:#ffffff1a!important;border-color:#ffffff80!important;color:#fff!important}.header .header-actions ::ng-deep .ud-btn .mat-icon{color:inherit!important}.header .loading{padding:.5rem;border-radius:4px}.header .loading ::ng-deep .skeleton-loader{background:#ffffff1f!important;background-image:linear-gradient(90deg,#ffffff1f,#ffffff38,#ffffff1f 80px)!important}.content{display:flex;flex-wrap:wrap;background:#fff}.content:not(.flex-column):has(.content-body>*)>.col-6:first-child{border-right:1px solid #e8eaee}.content.reverse:has(.content-body>*)>.col-6:last-child{border-right:1px solid #e8eaee;border-left:none}.summary{display:flex;flex-direction:column;gap:0;padding:20px 24px}.summary.summary-row-wrap{flex-direction:row;flex-wrap:wrap;gap:.25rem;padding:16px 8px}.summary-field{display:flex;flex-direction:column;gap:3px;padding:10px 16px;border-radius:8px;transition:background .15s ease}.summary-field:hover{background:#f4f5f7}.summary-row-wrap .summary-field{padding:12px 16px;min-width:140px;border:1px solid #e8eaee}.summary-field span{font-family:Sora,system-ui,sans-serif;font-size:.65rem;font-weight:600;color:#6b7585;text-transform:uppercase;letter-spacing:.08em}.summary-row{display:flex;align-items:center;gap:6px}.summary-row mat-icon{height:16px;width:16px;min-width:16px;font-size:16px;color:#6b7585;flex-shrink:0}mat-label{font-family:Sora,system-ui,sans-serif;font-size:.9rem;font-weight:400;color:#1b2535;line-height:1.3}.content-body:has(>*){background:#f4f5f7;padding:20px 24px}.flex-column>.content-body:has(>*){border-top:1px solid #e8eaee}.summary-copy{display:inline-flex;align-items:center;height:1em;margin-left:2px;opacity:0;transition:opacity .12s ease}.summary-field:hover .summary-copy,.summary-copy:focus-within,.summary-copy.is-copied{opacity:1}@media (hover: none){.summary-copy{opacity:1}}@media (prefers-reduced-motion: reduce){.summary-copy{transition:none}}\n"] }]
5811
5832
  }], propDecorators: { title: [{
5812
5833
  type: Input
5813
5834
  }], actions: [{
@@ -7257,6 +7278,7 @@ const en = {
7257
7278
  actions: {
7258
7279
  save: 'Save',
7259
7280
  cancel: 'Cancel',
7281
+ ok: 'Ok',
7260
7282
  },
7261
7283
  names: {
7262
7284
  // Singular | plural, split on the pipe by TranslateWrapperService.
@@ -7364,6 +7386,7 @@ const fr = {
7364
7386
  actions: {
7365
7387
  save: 'enregistrer',
7366
7388
  cancel: 'annuler',
7389
+ ok: "d'accord",
7367
7390
  },
7368
7391
  names: {
7369
7392
  action: 'action | actions',