ud-components 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1070,6 +1070,8 @@ var StringOperator;
1070
1070
  StringOperator["ENDS_WITH"] = "ENDS_WITH";
1071
1071
  StringOperator["NOT_CONTAINS"] = "NOT_CONTAINS";
1072
1072
  StringOperator["NOT_EXACT"] = "NOT_EXACT";
1073
+ /** Row matches if it shares none of the selected values ("none of"). */
1074
+ StringOperator["NOT_IN"] = "NOT_IN";
1073
1075
  /** Row matches if it shares at least one value with the selected set ("any of"). */
1074
1076
  StringOperator["IN"] = "IN";
1075
1077
  /** Row matches if it contains every selected value ("all of", may have extras). */
@@ -1081,13 +1083,24 @@ var StringOperator;
1081
1083
  * - ANY -> StringOperator.IN (shares at least one value)
1082
1084
  * - ALL -> StringOperator.CONTAINS_ALL (contains every selected value)
1083
1085
  * - EXACT -> StringOperator.EXACT (set equality: exactly the selected values)
1086
+ * - NONE -> StringOperator.NOT_IN (shares none of the selected values)
1084
1087
  */
1085
1088
  var MultiSelectMatchMode;
1086
1089
  (function (MultiSelectMatchMode) {
1087
1090
  MultiSelectMatchMode["ANY"] = "IN";
1088
1091
  MultiSelectMatchMode["ALL"] = "CONTAINS_ALL";
1089
1092
  MultiSelectMatchMode["EXACT"] = "EXACT";
1093
+ MultiSelectMatchMode["NONE"] = "NOT_IN";
1090
1094
  })(MultiSelectMatchMode || (MultiSelectMatchMode = {}));
1095
+ /**
1096
+ * Match modes offered for single-select (filterOptions) columns. Values are the
1097
+ * StringOperator sent to the backend / used client-side.
1098
+ */
1099
+ var SingleSelectMatchMode;
1100
+ (function (SingleSelectMatchMode) {
1101
+ SingleSelectMatchMode["IS"] = "EXACT";
1102
+ SingleSelectMatchMode["IS_NOT"] = "NOT_EXACT";
1103
+ })(SingleSelectMatchMode || (SingleSelectMatchMode = {}));
1091
1104
  var DateOperator;
1092
1105
  (function (DateOperator) {
1093
1106
  DateOperator["BEFORE"] = "BEFORE";
@@ -2921,6 +2934,8 @@ class CustomTableComponent {
2921
2934
  * columns. Lets the user choose between "any of", "all of" and "exact" matching.
2922
2935
  */
2923
2936
  matchModeOptions = [];
2937
+ /** "Is" / "Is not" options for single-select (filterOptions) columns. */
2938
+ singleMatchModeOptions = [];
2924
2939
  paginatorRef;
2925
2940
  set paginator(val) {
2926
2941
  if (val && !this.serverSideFiltering) {
@@ -2968,6 +2983,15 @@ class CustomTableComponent {
2968
2983
  label: capitalize(labels[i]),
2969
2984
  }));
2970
2985
  });
2986
+ const singleModes = Object.entries(SingleSelectMatchMode);
2987
+ combineLatest(singleModes.map(([name]) => this.translateService.get(`operators.singleMatchModes.${name.toLowerCase()}`)))
2988
+ .pipe(takeUntilDestroyed(this.destroyRef))
2989
+ .subscribe(labels => {
2990
+ this.singleMatchModeOptions = singleModes.map(([, value], i) => ({
2991
+ value,
2992
+ label: capitalize(labels[i]),
2993
+ }));
2994
+ });
2971
2995
  this.setInitSort();
2972
2996
  this.setInitFilter();
2973
2997
  // Wait for filter controls to be built before restoring
@@ -3168,8 +3192,9 @@ class CustomTableComponent {
3168
3192
  */
3169
3193
  normalizeFilterOptionsValue(value) {
3170
3194
  if (value && typeof value === 'object' && 'values' in value) {
3195
+ const values = value.values;
3171
3196
  return {
3172
- selected: value.values ?? [],
3197
+ selected: Array.isArray(values) ? values : values != null ? [values] : [],
3173
3198
  mode: value.mode ?? MultiSelectMatchMode.ANY,
3174
3199
  };
3175
3200
  }
@@ -3189,6 +3214,9 @@ class CustomTableComponent {
3189
3214
  return true;
3190
3215
  const dataArr = Array.isArray(dataValue) ? dataValue : [dataValue];
3191
3216
  switch (mode) {
3217
+ case MultiSelectMatchMode.NONE:
3218
+ case SingleSelectMatchMode.IS_NOT:
3219
+ return !selected.some(v => dataArr.includes(v));
3192
3220
  case MultiSelectMatchMode.ALL:
3193
3221
  return selected.every(v => dataArr.includes(v));
3194
3222
  case MultiSelectMatchMode.EXACT:
@@ -3206,6 +3234,15 @@ class CustomTableComponent {
3206
3234
  mode: new FormControl(MultiSelectMatchMode.ANY),
3207
3235
  });
3208
3236
  }
3237
+ /** FormGroup backing a single-select filterOptions column: selected value + is / is not. */
3238
+ buildSingleSelectFilterGroup() {
3239
+ return new FormGroup({
3240
+ values: new FormControl(null),
3241
+ mode: new FormControl(SingleSelectMatchMode.IS, {
3242
+ nonNullable: true,
3243
+ }),
3244
+ });
3245
+ }
3209
3246
  /** Whether a (possibly multi-select) filter control currently holds a value. */
3210
3247
  isEmptyFilterValue(value) {
3211
3248
  if (value === null || value === undefined || value === '')
@@ -3231,20 +3268,20 @@ class CustomTableComponent {
3231
3268
  if (selected.length === 0)
3232
3269
  return;
3233
3270
  if (column.allowMultiSelectOnFilter) {
3234
- // Multi-select: send the chosen match mode (IN / CONTAINS_ALL / EXACT)
3271
+ // Multi-select: send the chosen match mode (IN / CONTAINS_ALL / EXACT / NOT_IN)
3235
3272
  // with the full list of selected values.
3236
3273
  filterCriteria.push({
3237
3274
  field: filterField,
3238
- // MultiSelectMatchMode values are StringOperator values (IN / CONTAINS_ALL / EXACT).
3275
+ // MultiSelectMatchMode values are StringOperator values (IN / CONTAINS_ALL / EXACT / NOT_IN).
3239
3276
  operator: mode,
3240
3277
  value: selected,
3241
3278
  });
3242
3279
  }
3243
3280
  else {
3244
- // Single-select: exact match on the one selected value.
3281
+ // Single-select: EXACT or NOT_EXACT on the one selected value.
3245
3282
  filterCriteria.push({
3246
3283
  field: filterField,
3247
- operator: StringOperator.EXACT,
3284
+ operator: mode,
3248
3285
  value: selected[0],
3249
3286
  });
3250
3287
  }
@@ -3349,6 +3386,10 @@ class CustomTableComponent {
3349
3386
  this.filterByColumnFormGroup.addControl(key, this.buildMultiSelectFilterGroup(), { emitEvent: false });
3350
3387
  return;
3351
3388
  }
3389
+ if (filter.filterOptions) {
3390
+ this.filterByColumnFormGroup.addControl(key, this.buildSingleSelectFilterGroup(), { emitEvent: false });
3391
+ return;
3392
+ }
3352
3393
  switch (filter.type) {
3353
3394
  case TableDisplayColumnType.HYPERLINK:
3354
3395
  case TableDisplayColumnType.TEXT:
@@ -3637,6 +3678,10 @@ class CustomTableComponent {
3637
3678
  this.filterByColumnFormGroup.addControl(key, this.buildMultiSelectFilterGroup(), { emitEvent: false });
3638
3679
  return;
3639
3680
  }
3681
+ if (filter.filterOptions) {
3682
+ this.filterByColumnFormGroup.addControl(key, this.buildSingleSelectFilterGroup(), { emitEvent: false });
3683
+ return;
3684
+ }
3640
3685
  switch (filter.type) {
3641
3686
  case TableDisplayColumnType.HYPERLINK:
3642
3687
  case TableDisplayColumnType.TEXT:
@@ -3745,11 +3790,17 @@ class CustomTableComponent {
3745
3790
  }
3746
3791
  clearFilter(property) {
3747
3792
  const control = this.filterByColumnFormGroup.controls[this.controlKey(property)];
3748
- // For multi-select filters, keep the default match mode so the toggle stays valid.
3793
+ // For select filters, keep the default match mode so the toggle stays valid.
3749
3794
  if (control instanceof FormGroup &&
3750
3795
  control.controls['values'] &&
3751
3796
  control.controls['mode']) {
3752
- control.reset({ values: null, mode: MultiSelectMatchMode.ANY });
3797
+ const column = this.displayedColumns.find(col => col.property === property);
3798
+ control.reset({
3799
+ values: null,
3800
+ mode: column?.allowMultiSelectOnFilter
3801
+ ? MultiSelectMatchMode.ANY
3802
+ : SingleSelectMatchMode.IS,
3803
+ });
3753
3804
  return;
3754
3805
  }
3755
3806
  control?.reset();
@@ -3911,7 +3962,7 @@ class CustomTableComponent {
3911
3962
  TableDisplayColumnType = TableDisplayColumnType;
3912
3963
  NumberOperator = NumberOperator;
3913
3964
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CustomTableComponent, deps: [{ token: TranslateWrapperService }], target: i0.ɵɵFactoryTarget.Component });
3914
- 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 <!--\n Which columns are off, by name, with the way back (UC-40). The tinted\n Columns button says only that something is hidden; once a list hides\n columns by default, \"where did Paid go\" needs an answer on the page.\n -->\n @if (columnVisibilityEnabled && hiddenColumnCount > 0) {\n <div class=\"hidden-columns\" role=\"status\">\n <span class=\"hidden-columns__label\">\n {{ 'table.columnsHidden' | translate }}\n </span>\n <span class=\"hidden-columns__names\">\n @for (col of hiddenColumns; track col.property; let last = $last) {\n {{ col.name | toObservable | async | capitalize }}{{ last ? '' : ', ' }}\n }\n </span>\n <button\n type=\"button\"\n class=\"hidden-columns__show\"\n (click)=\"showAllColumns()\">\n {{ 'table.showAllColumns' | translate | capitalize }}\n </button>\n </div>\n }\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}.hidden-columns{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;padding:6px 24px 10px;font-family:var(--ud-field-font);font-size:.8125rem;color:#6b7585}.hidden-columns__label{font-family:JetBrains Mono,ui-monospace,monospace;font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#1b2535}.hidden-columns__names{min-width:0}.hidden-columns__show{padding:0 2px;border:0;background:none;color:#459fff;font:inherit;font-weight:500;cursor:pointer}.hidden-columns__show:hover{text-decoration:underline}.hidden-columns__show:focus-visible{outline:2px solid #459fff;outline-offset:3px;border-radius:3px}.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", "udTooltipFollowPointer"] }, { 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: [
3965
+ 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 <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]=\"\n filter.allowMultiSelectOnFilter\n ? matchModeOptions\n : singleMatchModeOptions\n \" />\n <ud-multi-select\n controlName=\"values\"\n [options]=\"filter.filterOptions\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n [multiple]=\"!!filter.allowMultiSelectOnFilter\"\n [clearable]=\"true\"\n size=\"small\" />\n </div>\n </mat-menu>\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 <!--\n Which columns are off, by name, with the way back (UC-40). The tinted\n Columns button says only that something is hidden; once a list hides\n columns by default, \"where did Paid go\" needs an answer on the page.\n -->\n @if (columnVisibilityEnabled && hiddenColumnCount > 0) {\n <div class=\"hidden-columns\" role=\"status\">\n <span class=\"hidden-columns__label\">\n {{ 'table.columnsHidden' | translate }}\n </span>\n <span class=\"hidden-columns__names\">\n @for (col of hiddenColumns; track col.property; let last = $last) {\n {{ col.name | toObservable | async | capitalize }}{{ last ? '' : ', ' }}\n }\n </span>\n <button\n type=\"button\"\n class=\"hidden-columns__show\"\n (click)=\"showAllColumns()\">\n {{ 'table.showAllColumns' | translate | capitalize }}\n </button>\n </div>\n }\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}.hidden-columns{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;padding:6px 24px 10px;font-family:var(--ud-field-font);font-size:.8125rem;color:#6b7585}.hidden-columns__label{font-family:JetBrains Mono,ui-monospace,monospace;font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#1b2535}.hidden-columns__names{min-width:0}.hidden-columns__show{padding:0 2px;border:0;background:none;color:#459fff;font:inherit;font-weight:500;cursor:pointer}.hidden-columns__show:hover{text-decoration:underline}.hidden-columns__show:focus-visible{outline:2px solid #459fff;outline-offset:3px;border-radius:3px}.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", "udTooltipFollowPointer"] }, { 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: [
3915
3966
  trigger('detailExpand', [
3916
3967
  state('collapsed, void', style({ height: '0px', minHeight: '0' })),
3917
3968
  state('expanded', style({ height: '*' })),
@@ -3975,7 +4026,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
3975
4026
  UdButtonComponent,
3976
4027
  PillComponent,
3977
4028
  UdButtonToggleComponent,
3978
- ], 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 <!--\n Which columns are off, by name, with the way back (UC-40). The tinted\n Columns button says only that something is hidden; once a list hides\n columns by default, \"where did Paid go\" needs an answer on the page.\n -->\n @if (columnVisibilityEnabled && hiddenColumnCount > 0) {\n <div class=\"hidden-columns\" role=\"status\">\n <span class=\"hidden-columns__label\">\n {{ 'table.columnsHidden' | translate }}\n </span>\n <span class=\"hidden-columns__names\">\n @for (col of hiddenColumns; track col.property; let last = $last) {\n {{ col.name | toObservable | async | capitalize }}{{ last ? '' : ', ' }}\n }\n </span>\n <button\n type=\"button\"\n class=\"hidden-columns__show\"\n (click)=\"showAllColumns()\">\n {{ 'table.showAllColumns' | translate | capitalize }}\n </button>\n </div>\n }\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}.hidden-columns{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;padding:6px 24px 10px;font-family:var(--ud-field-font);font-size:.8125rem;color:#6b7585}.hidden-columns__label{font-family:JetBrains Mono,ui-monospace,monospace;font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#1b2535}.hidden-columns__names{min-width:0}.hidden-columns__show{padding:0 2px;border:0;background:none;color:#459fff;font:inherit;font-weight:500;cursor:pointer}.hidden-columns__show:hover{text-decoration:underline}.hidden-columns__show:focus-visible{outline:2px solid #459fff;outline-offset:3px;border-radius:3px}.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"] }]
4029
+ ], 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 <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]=\"\n filter.allowMultiSelectOnFilter\n ? matchModeOptions\n : singleMatchModeOptions\n \" />\n <ud-multi-select\n controlName=\"values\"\n [options]=\"filter.filterOptions\"\n [placeholder]=\"\n filter.name | toObservable | async | capitalize\n \"\n [multiple]=\"!!filter.allowMultiSelectOnFilter\"\n [clearable]=\"true\"\n size=\"small\" />\n </div>\n </mat-menu>\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 <!--\n Which columns are off, by name, with the way back (UC-40). The tinted\n Columns button says only that something is hidden; once a list hides\n columns by default, \"where did Paid go\" needs an answer on the page.\n -->\n @if (columnVisibilityEnabled && hiddenColumnCount > 0) {\n <div class=\"hidden-columns\" role=\"status\">\n <span class=\"hidden-columns__label\">\n {{ 'table.columnsHidden' | translate }}\n </span>\n <span class=\"hidden-columns__names\">\n @for (col of hiddenColumns; track col.property; let last = $last) {\n {{ col.name | toObservable | async | capitalize }}{{ last ? '' : ', ' }}\n }\n </span>\n <button\n type=\"button\"\n class=\"hidden-columns__show\"\n (click)=\"showAllColumns()\">\n {{ 'table.showAllColumns' | translate | capitalize }}\n </button>\n </div>\n }\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}.hidden-columns{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;padding:6px 24px 10px;font-family:var(--ud-field-font);font-size:.8125rem;color:#6b7585}.hidden-columns__label{font-family:JetBrains Mono,ui-monospace,monospace;font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#1b2535}.hidden-columns__names{min-width:0}.hidden-columns__show{padding:0 2px;border:0;background:none;color:#459fff;font:inherit;font-weight:500;cursor:pointer}.hidden-columns__show:hover{text-decoration:underline}.hidden-columns__show:focus-visible{outline:2px solid #459fff;outline-offset:3px;border-radius:3px}.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"] }]
3979
4030
  }], ctorParameters: () => [{ type: TranslateWrapperService }], propDecorators: { id: [{
3980
4031
  type: Input
3981
4032
  }], title: [{
@@ -4347,7 +4398,7 @@ class KpiComponent {
4347
4398
  dataType;
4348
4399
  data;
4349
4400
  icon;
4350
- iconColor;
4401
+ iconColor = IconColor.NAVY;
4351
4402
  titleRef;
4352
4403
  loading = false;
4353
4404
  variant = KpiVariant.ICON_BADGE;
@@ -7802,6 +7853,12 @@ const en = {
7802
7853
  any: 'Any',
7803
7854
  all: 'All',
7804
7855
  exact: 'Exact',
7856
+ none: 'None of',
7857
+ },
7858
+ // Keyed by the lowercased SingleSelectMatchMode name, not its value.
7859
+ singleMatchModes: {
7860
+ is: 'Is',
7861
+ is_not: 'Is not',
7805
7862
  },
7806
7863
  },
7807
7864
  calendar: {
@@ -7914,6 +7971,11 @@ const fr = {
7914
7971
  any: 'Au moins un',
7915
7972
  all: 'Tous',
7916
7973
  exact: 'Exact',
7974
+ none: 'Aucun',
7975
+ },
7976
+ singleMatchModes: {
7977
+ is: 'Est',
7978
+ is_not: "N'est pas",
7917
7979
  },
7918
7980
  },
7919
7981
  calendar: {
@@ -8129,5 +8191,5 @@ const generateTimeOptions = (start, end, intervalMinutes = 5) => {
8129
8191
  * Generated bundle index. Do not edit.
8130
8192
  */
8131
8193
 
8132
- export { AppShellComponent, ApplicationStatus, AutocompleteComponent, CalendarComponent, CalendarSlotColor, CapitalizePipe, CarouselComponent, CheckboxComponent, ChipInputComponent, ColumnVisibilityModalComponent, CustomInputComponent, CustomSnackbarComponent, CustomTableComponent, DateInputComponent, DateOperator, DateRangeInputComponent, DynamicComponentComponent, EditViewComponent, EditViewSectionDirective, FileInputComponent, FilterType, GROUP_ROW_HEIGHT, IconColor, KpiComponent, KpiDataType, KpiPillType, KpiProgressBarType, KpiVariant, LoadingStatus, ModalComponent, ModalInputType, MoneyInputComponent, MultiSelectComponent, MultiSelectMatchMode, NumberOperator, OCCUPANCY_GRID_HEADER_HEIGHT, OccupancyGridComponent, PhoneInputComponent, PillComponent, PillToggleComponent, PluralizePipe, ProgressBarComponent, SIDENAV_LOGO, SIDENAV_LOGO_COLLAPSED, SafePipe, SidenavComponent, SingularPipe, SnackbarType, StringOperator, SummaryViewComponent, TIMELINE_GRID_DEFAULT_LEGEND, TIMELINE_GRID_HEADER_HEIGHT, TableDisplayColumnType, TabsComponent, TelInputComponent, TextInputComponent, TextareaComponent, TimePickerComponent, TimelineGridComponent, ToObservablePipe, ToggleComponent, ToggleOptionComponent, TranslateWrapperService, UD_COMPONENTS_TRANSLATIONS, UdButtonComponent, UdButtonToggleComponent, UdMenuComponent, UdPreviewContainerComponent, UdStepContentDirective, UdStepperComponent, UdTooltipComponent, UdTooltipDirective, activeNavRoute, addDays, assignLanes, barGeometry, buildRows, capitalize, centsToMoney, clampToClosures, closureGeometry, dateAtOffset, dayColumns, dayOfMonth, daysBetween, epochDay, formatLocalDate, formatLocalDateTime, formatLocalDateTimeLongForm, formatLocalTime, formatLocalTimeWithMinutes, formatLocalTimeWithMinutesAmPm, formatMoney, formatMonthYear, formatPhoneNumber, formatStringDate, formatStringDateTime, generateTimeOptions, groupThousands, inListValidator, isIsoDate, laneForSpan, laneNeighborBound, maxIso, minIso, moneyToCents, monthOf, monthSegments, overbooksRoom, overlapsClosure, overlapsRoom, parseLocalDate, parseMoney, pluralize, positionRows, rowHeight, spaceCase, takenOn, totalHeight, udComponentsOnlyTranslateLoader, udComponentsTranslationsFor, updateArray, visibleRange, weekday, weekendOffsetDays, withLoadingState, withUdComponentsTranslations, yearOf };
8194
+ export { AppShellComponent, ApplicationStatus, AutocompleteComponent, CalendarComponent, CalendarSlotColor, CapitalizePipe, CarouselComponent, CheckboxComponent, ChipInputComponent, ColumnVisibilityModalComponent, CustomInputComponent, CustomSnackbarComponent, CustomTableComponent, DateInputComponent, DateOperator, DateRangeInputComponent, DynamicComponentComponent, EditViewComponent, EditViewSectionDirective, FileInputComponent, FilterType, GROUP_ROW_HEIGHT, IconColor, KpiComponent, KpiDataType, KpiPillType, KpiProgressBarType, KpiVariant, LoadingStatus, ModalComponent, ModalInputType, MoneyInputComponent, MultiSelectComponent, MultiSelectMatchMode, NumberOperator, OCCUPANCY_GRID_HEADER_HEIGHT, OccupancyGridComponent, PhoneInputComponent, PillComponent, PillToggleComponent, PluralizePipe, ProgressBarComponent, SIDENAV_LOGO, SIDENAV_LOGO_COLLAPSED, SafePipe, SidenavComponent, SingleSelectMatchMode, SingularPipe, SnackbarType, StringOperator, SummaryViewComponent, TIMELINE_GRID_DEFAULT_LEGEND, TIMELINE_GRID_HEADER_HEIGHT, TableDisplayColumnType, TabsComponent, TelInputComponent, TextInputComponent, TextareaComponent, TimePickerComponent, TimelineGridComponent, ToObservablePipe, ToggleComponent, ToggleOptionComponent, TranslateWrapperService, UD_COMPONENTS_TRANSLATIONS, UdButtonComponent, UdButtonToggleComponent, UdMenuComponent, UdPreviewContainerComponent, UdStepContentDirective, UdStepperComponent, UdTooltipComponent, UdTooltipDirective, activeNavRoute, addDays, assignLanes, barGeometry, buildRows, capitalize, centsToMoney, clampToClosures, closureGeometry, dateAtOffset, dayColumns, dayOfMonth, daysBetween, epochDay, formatLocalDate, formatLocalDateTime, formatLocalDateTimeLongForm, formatLocalTime, formatLocalTimeWithMinutes, formatLocalTimeWithMinutesAmPm, formatMoney, formatMonthYear, formatPhoneNumber, formatStringDate, formatStringDateTime, generateTimeOptions, groupThousands, inListValidator, isIsoDate, laneForSpan, laneNeighborBound, maxIso, minIso, moneyToCents, monthOf, monthSegments, overbooksRoom, overlapsClosure, overlapsRoom, parseLocalDate, parseMoney, pluralize, positionRows, rowHeight, spaceCase, takenOn, totalHeight, udComponentsOnlyTranslateLoader, udComponentsTranslationsFor, updateArray, visibleRange, weekday, weekendOffsetDays, withLoadingState, withUdComponentsTranslations, yearOf };
8133
8195
  //# sourceMappingURL=ud-components.mjs.map