@alfresco/adf-core 9.2.0-40326766913 → 9.2.0-40478400483
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.
- package/fesm2022/adf-core.mjs +101 -48
- package/fesm2022/adf-core.mjs.map +1 -1
- package/package.json +3 -3
- package/types/adf-core.d.ts +7 -38
package/fesm2022/adf-core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Input, ChangeDetectionStrategy, ViewEncapsulation, Component, inject, Injectable, TemplateRef, ContentChild, Directive, ContentChildren, RendererFactory2, effect, NgModule, InjectionToken, Pipe, provideAppInitializer, ElementRef, EventEmitter, HostListener, ViewChild, Output, Injector, viewChild, DestroyRef, HostBinding, Renderer2, ChangeDetectorRef, NgZone, makeEnvironmentProviders, ViewChildren, QueryList, ViewContainerRef,
|
|
2
|
+
import { Input, ChangeDetectionStrategy, ViewEncapsulation, Component, inject, Injectable, TemplateRef, ContentChild, Directive, ContentChildren, RendererFactory2, effect, NgModule, InjectionToken, Pipe, provideAppInitializer, ElementRef, EventEmitter, HostListener, ViewChild, Output, Injector, viewChild, DestroyRef, HostBinding, Renderer2, ChangeDetectorRef, signal, NgZone, makeEnvironmentProviders, ViewChildren, QueryList, ViewContainerRef, computed, DEFAULT_CURRENCY_CODE, SecurityContext, model, twoWayBinding, inputBinding, IterableDiffers, forwardRef, Compiler, afterNextRender } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule, DOCUMENT, NgIf, NgClass, NgForOf, NgComponentOutlet, NgTemplateOutlet, DecimalPipe, DatePipe, AsyncPipe, CurrencyPipe, NgStyle } from '@angular/common';
|
|
5
5
|
import * as i2 from '@angular/material/table';
|
|
@@ -7,7 +7,7 @@ import { MatTableModule, MatTableDataSource } from '@angular/material/table';
|
|
|
7
7
|
import { TranslatePipe, TranslateService, provideTranslateService, provideTranslateLoader } from '@ngx-translate/core';
|
|
8
8
|
import { HttpClient, HttpHeaders, HttpResponse, HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi, withXsrfConfiguration } from '@angular/common/http';
|
|
9
9
|
import { ReplaySubject, BehaviorSubject, of, Subject, fromEvent, Observable, throwError, firstValueFrom, combineLatest, defer, EMPTY, from, race, Subscription, forkJoin, merge, switchMap as switchMap$1, filter as filter$1, isObservable, debounceTime as debounceTime$1 } from 'rxjs';
|
|
10
|
-
import { map, distinctUntilChanged, take, switchMap, skipWhile, filter, first, catchError, timeout, shareReplay, mergeMap,
|
|
10
|
+
import { map, distinctUntilChanged, take, switchMap, skipWhile, filter, first, catchError, timeout, shareReplay, mergeMap, tap, retry, debounceTime, share, pairwise, takeUntil, buffer } from 'rxjs/operators';
|
|
11
11
|
import { ExtensionService, mergeObjects, AppExtensionService, ExtensionsModule, PreviewExtensionComponent } from '@alfresco/adf-extensions';
|
|
12
12
|
import * as i2$1 from '@angular/material/card';
|
|
13
13
|
import { MatCardModule } from '@angular/material/card';
|
|
@@ -9802,6 +9802,51 @@ function normalizeSessionTimeoutOptions(merged) {
|
|
|
9802
9802
|
};
|
|
9803
9803
|
}
|
|
9804
9804
|
|
|
9805
|
+
/*!
|
|
9806
|
+
* @license
|
|
9807
|
+
* Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
9808
|
+
*
|
|
9809
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9810
|
+
* you may not use this file except in compliance with the License.
|
|
9811
|
+
* You may obtain a copy of the License at
|
|
9812
|
+
*
|
|
9813
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9814
|
+
*
|
|
9815
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
9816
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
9817
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9818
|
+
* See the License for the specific language governing permissions and
|
|
9819
|
+
* limitations under the License.
|
|
9820
|
+
*/
|
|
9821
|
+
const ZONE_NATIVE_PREFIX = '__zone_symbol__';
|
|
9822
|
+
/**
|
|
9823
|
+
* Resolves the listener API that zone.js parks under its own symbol when it patches the event target.
|
|
9824
|
+
*
|
|
9825
|
+
* @param target - Event target the listeners are registered on
|
|
9826
|
+
* @returns The unpatched listener API, or the standard one when zone.js is not loaded
|
|
9827
|
+
*/
|
|
9828
|
+
const getNativeEventListenerApi = (target) => {
|
|
9829
|
+
const nativeAddEventListener = Reflect.get(target, `${ZONE_NATIVE_PREFIX}addEventListener`);
|
|
9830
|
+
const nativeRemoveEventListener = Reflect.get(target, `${ZONE_NATIVE_PREFIX}removeEventListener`);
|
|
9831
|
+
return typeof nativeAddEventListener === 'function' && typeof nativeRemoveEventListener === 'function'
|
|
9832
|
+
? { addEventListener: nativeAddEventListener.bind(target), removeEventListener: nativeRemoveEventListener.bind(target) }
|
|
9833
|
+
: { addEventListener: target.addEventListener.bind(target), removeEventListener: target.removeEventListener.bind(target) };
|
|
9834
|
+
};
|
|
9835
|
+
/**
|
|
9836
|
+
* Resolves the timer API that zone.js parks under its own symbol when it patches the global timers.
|
|
9837
|
+
*
|
|
9838
|
+
* @param scope - Window the timers are scheduled on
|
|
9839
|
+
* @returns The unpatched timer API, or the standard one when zone.js is not loaded
|
|
9840
|
+
*/
|
|
9841
|
+
const getNativeTimerApi = (scope) => {
|
|
9842
|
+
const target = scope ?? globalThis;
|
|
9843
|
+
const nativeSetTimeout = Reflect.get(target, `${ZONE_NATIVE_PREFIX}setTimeout`);
|
|
9844
|
+
const nativeClearTimeout = Reflect.get(target, `${ZONE_NATIVE_PREFIX}clearTimeout`);
|
|
9845
|
+
return typeof nativeSetTimeout === 'function' && typeof nativeClearTimeout === 'function'
|
|
9846
|
+
? { setTimeout: nativeSetTimeout.bind(target), clearTimeout: nativeClearTimeout.bind(target) }
|
|
9847
|
+
: { setTimeout: (handler, timeout) => setTimeout(handler, timeout), clearTimeout: (handle) => clearTimeout(handle) };
|
|
9848
|
+
};
|
|
9849
|
+
|
|
9805
9850
|
/*!
|
|
9806
9851
|
* @license
|
|
9807
9852
|
* Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -9827,38 +9872,46 @@ const getActivityListenerOptions = (eventName) => eventName === 'mousemove' ? AC
|
|
|
9827
9872
|
class IdleActivityTracker {
|
|
9828
9873
|
constructor() {
|
|
9829
9874
|
this.document = inject(DOCUMENT);
|
|
9830
|
-
this.ngZone = inject(NgZone);
|
|
9831
9875
|
this.activitySubject = new Subject();
|
|
9832
9876
|
this.visibilitySubject = new Subject();
|
|
9833
|
-
this.
|
|
9834
|
-
this.activity$ = this.activitySubject
|
|
9835
|
-
.asObservable()
|
|
9836
|
-
.pipe(throttleTime(ACTIVITY_THROTTLE_MS, undefined, { leading: true, trailing: true }));
|
|
9877
|
+
this.isStarted = false;
|
|
9878
|
+
this.activity$ = this.activitySubject.asObservable();
|
|
9837
9879
|
this.visibilityChange$ = this.visibilitySubject.asObservable();
|
|
9838
9880
|
this.handleActivity = () => {
|
|
9881
|
+
const now = Date.now();
|
|
9882
|
+
this.lastActivitySeenAt = now;
|
|
9883
|
+
if (this.lastActivityEmitAt !== undefined && now - this.lastActivityEmitAt < ACTIVITY_THROTTLE_MS) {
|
|
9884
|
+
return;
|
|
9885
|
+
}
|
|
9886
|
+
this.lastActivityEmitAt = now;
|
|
9839
9887
|
this.activitySubject.next();
|
|
9840
9888
|
};
|
|
9841
9889
|
this.handleVisibilityChange = () => {
|
|
9842
9890
|
this.visibilitySubject.next(this.document.visibilityState);
|
|
9843
9891
|
};
|
|
9844
9892
|
}
|
|
9893
|
+
get lastActivityAt() {
|
|
9894
|
+
return this.lastActivitySeenAt;
|
|
9895
|
+
}
|
|
9845
9896
|
start() {
|
|
9846
|
-
if (this.
|
|
9897
|
+
if (this.isStarted) {
|
|
9847
9898
|
return;
|
|
9848
9899
|
}
|
|
9849
|
-
this.
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
});
|
|
9853
|
-
this.
|
|
9900
|
+
this.isStarted = true;
|
|
9901
|
+
this.lastActivityEmitAt = undefined;
|
|
9902
|
+
this.lastActivitySeenAt = undefined;
|
|
9903
|
+
const { addEventListener } = getNativeEventListenerApi(this.document);
|
|
9904
|
+
ACTIVITY_EVENTS.forEach((eventName) => addEventListener(eventName, this.handleActivity, getActivityListenerOptions(eventName)));
|
|
9905
|
+
addEventListener('visibilitychange', this.handleVisibilityChange);
|
|
9854
9906
|
}
|
|
9855
9907
|
stop() {
|
|
9856
|
-
if (!this.
|
|
9908
|
+
if (!this.isStarted) {
|
|
9857
9909
|
return;
|
|
9858
9910
|
}
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
this.
|
|
9911
|
+
this.isStarted = false;
|
|
9912
|
+
const { removeEventListener } = getNativeEventListenerApi(this.document);
|
|
9913
|
+
ACTIVITY_EVENTS.forEach((eventName) => removeEventListener(eventName, this.handleActivity, getActivityListenerOptions(eventName)));
|
|
9914
|
+
removeEventListener('visibilitychange', this.handleVisibilityChange);
|
|
9862
9915
|
}
|
|
9863
9916
|
ngOnDestroy() {
|
|
9864
9917
|
this.stop();
|
|
@@ -9986,10 +10039,9 @@ class SessionTimeoutDialogComponent {
|
|
|
9986
10039
|
constructor() {
|
|
9987
10040
|
this.dialogRef = inject(MatDialogRef);
|
|
9988
10041
|
this.data = inject(MAT_DIALOG_DATA);
|
|
9989
|
-
this.changeDetectorRef = inject(ChangeDetectorRef);
|
|
9990
10042
|
this.timeoutEndTime = Date.now() + this.data.dialogTimeoutMs;
|
|
9991
10043
|
this.countdownIntervalId = setInterval(() => this.updateRemainingSeconds(), 1000);
|
|
9992
|
-
this.remainingSeconds = this.getRemainingSeconds();
|
|
10044
|
+
this.remainingSeconds = signal(this.getRemainingSeconds(), ...(ngDevMode ? [{ debugName: "remainingSeconds" }] : /* istanbul ignore next */ []));
|
|
9993
10045
|
}
|
|
9994
10046
|
ngOnDestroy() {
|
|
9995
10047
|
clearInterval(this.countdownIntervalId);
|
|
@@ -10001,18 +10053,17 @@ class SessionTimeoutDialogComponent {
|
|
|
10001
10053
|
this.dialogRef.close(false);
|
|
10002
10054
|
}
|
|
10003
10055
|
updateRemainingSeconds() {
|
|
10004
|
-
this.remainingSeconds
|
|
10005
|
-
this.changeDetectorRef.markForCheck();
|
|
10056
|
+
this.remainingSeconds.set(this.getRemainingSeconds());
|
|
10006
10057
|
}
|
|
10007
10058
|
getRemainingSeconds() {
|
|
10008
10059
|
return Math.max(Math.ceil((this.timeoutEndTime - Date.now()) / 1000), 0);
|
|
10009
10060
|
}
|
|
10010
10061
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SessionTimeoutDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10011
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: SessionTimeoutDialogComponent, isStandalone: true, selector: "adf-session-timeout-dialog", ngImport: i0, template: "<h2 mat-dialog-title>{{ 'SESSION_TIMEOUT.TITLE' | translate }}</h2>\n\n<mat-dialog-content aria-live=\"polite\">\n {{ 'SESSION_TIMEOUT.MESSAGE' | translate: { seconds: remainingSeconds } }}\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button mat-button type=\"button\" data-automation-id=\"session-timeout-dialog__logout-button\" (click)=\"logout()\">\n {{ 'SESSION_TIMEOUT.LOG_OUT' | translate }}\n </button>\n <button mat-flat-button color=\"primary\" type=\"button\" data-automation-id=\"session-timeout-dialog__continue-button\" (click)=\"continueWorking()\">\n {{ 'SESSION_TIMEOUT.CONTINUE_WORKING' | translate }}\n </button>\n</mat-dialog-actions>\n", styles: [".adf-session-timeout-backdrop{background-color:#00000073;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
10062
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: SessionTimeoutDialogComponent, isStandalone: true, selector: "adf-session-timeout-dialog", ngImport: i0, template: "<h2 mat-dialog-title>{{ 'SESSION_TIMEOUT.TITLE' | translate }}</h2>\n\n<mat-dialog-content aria-live=\"polite\">\n {{ 'SESSION_TIMEOUT.MESSAGE' | translate: { seconds: remainingSeconds() } }}\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button mat-button type=\"button\" data-automation-id=\"session-timeout-dialog__logout-button\" (click)=\"logout()\">\n {{ 'SESSION_TIMEOUT.LOG_OUT' | translate }}\n </button>\n <button mat-flat-button color=\"primary\" type=\"button\" data-automation-id=\"session-timeout-dialog__continue-button\" (click)=\"continueWorking()\">\n {{ 'SESSION_TIMEOUT.CONTINUE_WORKING' | translate }}\n </button>\n</mat-dialog-actions>\n", styles: [".adf-session-timeout-backdrop{background-color:#00000073;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
10012
10063
|
}
|
|
10013
10064
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SessionTimeoutDialogComponent, decorators: [{
|
|
10014
10065
|
type: Component,
|
|
10015
|
-
args: [{ selector: 'adf-session-timeout-dialog', standalone: true, imports: [MatButtonModule, MatDialogModule, TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<h2 mat-dialog-title>{{ 'SESSION_TIMEOUT.TITLE' | translate }}</h2>\n\n<mat-dialog-content aria-live=\"polite\">\n {{ 'SESSION_TIMEOUT.MESSAGE' | translate: { seconds: remainingSeconds } }}\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button mat-button type=\"button\" data-automation-id=\"session-timeout-dialog__logout-button\" (click)=\"logout()\">\n {{ 'SESSION_TIMEOUT.LOG_OUT' | translate }}\n </button>\n <button mat-flat-button color=\"primary\" type=\"button\" data-automation-id=\"session-timeout-dialog__continue-button\" (click)=\"continueWorking()\">\n {{ 'SESSION_TIMEOUT.CONTINUE_WORKING' | translate }}\n </button>\n</mat-dialog-actions>\n", styles: [".adf-session-timeout-backdrop{background-color:#00000073;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}\n"] }]
|
|
10066
|
+
args: [{ selector: 'adf-session-timeout-dialog', standalone: true, imports: [MatButtonModule, MatDialogModule, TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<h2 mat-dialog-title>{{ 'SESSION_TIMEOUT.TITLE' | translate }}</h2>\n\n<mat-dialog-content aria-live=\"polite\">\n {{ 'SESSION_TIMEOUT.MESSAGE' | translate: { seconds: remainingSeconds() } }}\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button mat-button type=\"button\" data-automation-id=\"session-timeout-dialog__logout-button\" (click)=\"logout()\">\n {{ 'SESSION_TIMEOUT.LOG_OUT' | translate }}\n </button>\n <button mat-flat-button color=\"primary\" type=\"button\" data-automation-id=\"session-timeout-dialog__continue-button\" (click)=\"continueWorking()\">\n {{ 'SESSION_TIMEOUT.CONTINUE_WORKING' | translate }}\n </button>\n</mat-dialog-actions>\n", styles: [".adf-session-timeout-backdrop{background-color:#00000073;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}\n"] }]
|
|
10016
10067
|
}] });
|
|
10017
10068
|
|
|
10018
10069
|
/*!
|
|
@@ -10041,6 +10092,7 @@ class SessionTimeoutService {
|
|
|
10041
10092
|
this.providerOptions = inject(SESSION_TIMEOUT_OPTIONS);
|
|
10042
10093
|
this.tracker = inject(IdleActivityTracker);
|
|
10043
10094
|
this.syncChannel = inject(SessionTimeoutSyncChannel);
|
|
10095
|
+
this.window = inject(DOCUMENT).defaultView;
|
|
10044
10096
|
this.subscription = new Subscription();
|
|
10045
10097
|
this.idleTimeoutMs = DEFAULT_SESSION_TIMEOUT_OPTIONS.idleTimeoutMs;
|
|
10046
10098
|
this.dialogTimeoutMs = DEFAULT_SESSION_TIMEOUT_OPTIONS.dialogTimeoutMs;
|
|
@@ -10111,21 +10163,19 @@ class SessionTimeoutService {
|
|
|
10111
10163
|
}));
|
|
10112
10164
|
}
|
|
10113
10165
|
activateSessionTimeout() {
|
|
10114
|
-
this.
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
if (this.sessionSubscription) {
|
|
10119
|
-
this.refreshSession();
|
|
10120
|
-
return;
|
|
10121
|
-
}
|
|
10122
|
-
this.sessionSubscription = new Subscription();
|
|
10123
|
-
this.tracker.start();
|
|
10124
|
-
this.syncChannel.open();
|
|
10125
|
-
this.subscribeToTrackerEvents();
|
|
10126
|
-
this.subscribeToSyncEvents();
|
|
10166
|
+
if (!this.canArmSessionTimeout()) {
|
|
10167
|
+
return;
|
|
10168
|
+
}
|
|
10169
|
+
if (this.sessionSubscription) {
|
|
10127
10170
|
this.refreshSession();
|
|
10128
|
-
|
|
10171
|
+
return;
|
|
10172
|
+
}
|
|
10173
|
+
this.sessionSubscription = new Subscription();
|
|
10174
|
+
this.tracker.start();
|
|
10175
|
+
this.syncChannel.open();
|
|
10176
|
+
this.subscribeToTrackerEvents();
|
|
10177
|
+
this.subscribeToSyncEvents();
|
|
10178
|
+
this.refreshSession();
|
|
10129
10179
|
}
|
|
10130
10180
|
subscribeToTrackerEvents() {
|
|
10131
10181
|
this.sessionSubscription?.add(this.tracker.activity$.subscribe(() => {
|
|
@@ -10160,7 +10210,7 @@ class SessionTimeoutService {
|
|
|
10160
10210
|
return;
|
|
10161
10211
|
}
|
|
10162
10212
|
if (syncEvent.type === 'timeout') {
|
|
10163
|
-
if (syncEvent.createdAt >= this.
|
|
10213
|
+
if (syncEvent.createdAt >= this.getLastActivityAt()) {
|
|
10164
10214
|
this.openContinueWorkingDialog(false);
|
|
10165
10215
|
}
|
|
10166
10216
|
return;
|
|
@@ -10182,16 +10232,16 @@ class SessionTimeoutService {
|
|
|
10182
10232
|
if (!this.canArmSessionTimeout()) {
|
|
10183
10233
|
return;
|
|
10184
10234
|
}
|
|
10185
|
-
const elapsedMs = Date.now() - this.
|
|
10235
|
+
const elapsedMs = Date.now() - this.getLastActivityAt();
|
|
10186
10236
|
const remainingMs = Math.max(this.idleTimeoutMs - elapsedMs, 0);
|
|
10187
|
-
this.timeoutId = setTimeout(() => this.handleTimeout(), remainingMs);
|
|
10237
|
+
this.timeoutId = getNativeTimerApi(this.window).setTimeout(() => this.handleTimeout(), remainingMs);
|
|
10188
10238
|
}
|
|
10189
10239
|
handleTimeout() {
|
|
10190
10240
|
if (!this.canArmSessionTimeout()) {
|
|
10191
10241
|
this.clearTimeout();
|
|
10192
10242
|
return;
|
|
10193
10243
|
}
|
|
10194
|
-
const elapsedMs = Date.now() - this.
|
|
10244
|
+
const elapsedMs = Date.now() - this.getLastActivityAt();
|
|
10195
10245
|
if (elapsedMs < this.idleTimeoutMs) {
|
|
10196
10246
|
this.scheduleTimeout();
|
|
10197
10247
|
return;
|
|
@@ -10206,15 +10256,15 @@ class SessionTimeoutService {
|
|
|
10206
10256
|
return;
|
|
10207
10257
|
}
|
|
10208
10258
|
this.clearTimeout();
|
|
10209
|
-
this.dialogRef = this.
|
|
10259
|
+
this.dialogRef = this.dialog.open(SessionTimeoutDialogComponent, {
|
|
10210
10260
|
data: {
|
|
10211
10261
|
dialogTimeoutMs: this.dialogTimeoutMs
|
|
10212
10262
|
},
|
|
10213
10263
|
backdropClass: SESSION_TIMEOUT_BACKDROP_CLASS,
|
|
10214
10264
|
disableClose: true,
|
|
10215
10265
|
width: '420px'
|
|
10216
|
-
})
|
|
10217
|
-
this.dialogTimeoutId = setTimeout(() => {
|
|
10266
|
+
});
|
|
10267
|
+
this.dialogTimeoutId = getNativeTimerApi(this.window).setTimeout(() => {
|
|
10218
10268
|
this.dialogRef?.close(false);
|
|
10219
10269
|
}, this.dialogTimeoutMs);
|
|
10220
10270
|
if (shouldNotifyTabs) {
|
|
@@ -10272,6 +10322,9 @@ class SessionTimeoutService {
|
|
|
10272
10322
|
this.clearDialogTimeout();
|
|
10273
10323
|
dialogRef.close();
|
|
10274
10324
|
}
|
|
10325
|
+
getLastActivityAt() {
|
|
10326
|
+
return Math.max(this.lastActivityAt, this.tracker.lastActivityAt ?? 0);
|
|
10327
|
+
}
|
|
10275
10328
|
canArmSessionTimeout() {
|
|
10276
10329
|
return this.isSessionActive && !this.isLoggingOut && this.authService.isLoggedIn();
|
|
10277
10330
|
}
|
|
@@ -10287,14 +10340,14 @@ class SessionTimeoutService {
|
|
|
10287
10340
|
if (this.timeoutId === undefined) {
|
|
10288
10341
|
return;
|
|
10289
10342
|
}
|
|
10290
|
-
clearTimeout(this.timeoutId);
|
|
10343
|
+
getNativeTimerApi(this.window).clearTimeout(this.timeoutId);
|
|
10291
10344
|
this.timeoutId = undefined;
|
|
10292
10345
|
}
|
|
10293
10346
|
clearDialogTimeout() {
|
|
10294
10347
|
if (this.dialogTimeoutId === undefined) {
|
|
10295
10348
|
return;
|
|
10296
10349
|
}
|
|
10297
|
-
clearTimeout(this.dialogTimeoutId);
|
|
10350
|
+
getNativeTimerApi(this.window).clearTimeout(this.dialogTimeoutId);
|
|
10298
10351
|
this.dialogTimeoutId = undefined;
|
|
10299
10352
|
}
|
|
10300
10353
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SessionTimeoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
@@ -16996,7 +17049,7 @@ class DataTableComponent {
|
|
|
16996
17049
|
return this.resizingColumnIndex >= 0;
|
|
16997
17050
|
}
|
|
16998
17051
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DataTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16999
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: DataTableComponent, isStandalone: true, selector: "adf-datatable", inputs: { data: "data", rows: "rows", sorting: "sorting", columns: "columns", selectionMode: "selectionMode", multiselect: "multiselect", mainTableAction: "mainTableAction", actions: "actions", showMainDatatableActions: "showMainDatatableActions", showProvidedActions: "showProvidedActions", actionsPosition: "actionsPosition", actionsVisibleOnHover: "actionsVisibleOnHover", fallbackThumbnail: "fallbackThumbnail", contextMenu: "contextMenu", rowStyle: "rowStyle", rowStyleClass: "rowStyleClass", showHeader: "showHeader", stickyHeader: "stickyHeader", loading: "loading", noPermission: "noPermission", rowMenuCacheEnabled: "rowMenuCacheEnabled", resolverFn: "resolverFn", allowFiltering: "allowFiltering", isResizingEnabled: "isResizingEnabled", blurOnResize: "blurOnResize", displayCheckboxesOnHover: "displayCheckboxesOnHover", enableDragRows: "enableDragRows" }, outputs: { rowClick: "rowClick", rowDblClick: "rowDblClick", showRowContextMenu: "showRowContextMenu", showRowActionsMenu: "showRowActionsMenu", executeRowAction: "executeRowAction", columnOrderChanged: "columnOrderChanged", columnsWidthChanged: "columnsWidthChanged", selectedItemsCountChanged: "selectedItemsCountChanged", dragDropped: "dragDropped" }, host: { listeners: { "keyup": "onKeydown($event)" }, classAttribute: "adf-datatable" }, queries: [{ propertyName: "columnList", first: true, predicate: DataColumnListComponent, descendants: true }], viewQueries: [{ propertyName: "mainMenuTemplate", first: true, predicate: ["mainMenuTemplate"], descendants: true }, { propertyName: "rowsList", predicate: DataTableRowComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "@if (data) {\n <div\n role=\"grid\"\n class=\"adf-datatable-list\"\n [class.adf-sticky-header]=\"isStickyHeaderEnabled()\"\n [class.adf-datatable--empty]=\"(isEmpty() && !isHeaderVisible()) || loading\"\n [class.adf-datatable--empty--header-visible]=\"isEmpty() && isHeaderVisible()\"\n >\n @if (isHeaderVisible()) {\n <div class=\"adf-datatable-header\" role=\"rowgroup\" [ngClass]=\"{ 'adf-sr-only': !isHeaderVisible() }\">\n <adf-datatable-row\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n [cdkDropListSortPredicate]=\"filterDisabledColumns\"\n data-automation-id=\"datatable-row-header\"\n class=\"adf-datatable-row\"\n role=\"row\"\n >\n <!-- Drag -->\n @if (enableDragRows) {\n <div class=\"adf-datatable-cell-header adf-drag-column\">\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.DRAG' | translate }}</span>\n </div>\n }\n\n <!-- Actions (left) -->\n @if (actions && actionsPosition === 'left') {\n <div class=\"adf-actions-column adf-datatable-cell-header\">\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.ACTIONS' | translate }}</span>\n </div>\n }\n\n <!-- Columns -->\n @if (multiselect) {\n <div class=\"adf-datatable-cell-header adf-datatable-checkbox\">\n <mat-checkbox\n [indeterminate]=\"isSelectAllIndeterminate\"\n [checked]=\"isSelectAllChecked\"\n (change)=\"onSelectAllClick($event)\"\n class=\"adf-checkbox-sr-only\"\n [aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate\"\n [matTooltip]=\"'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate\"\n #tooltip=\"matTooltip\"\n (focusin)=\"tooltip.show()\"\n (focusout)=\"tooltip.hide()\"\n >\n {{ 'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate }}\n </mat-checkbox>\n </div>\n }\n\n @for (col of getVisibleColumns(); track col.key; let lastColumn = $last; let columnIndex = $index) {\n @if (col.title || !showProvidedActions) {\n <div\n class=\"adf-datatable-cell--{{ col.type || 'text' }} {{\n col.cssClass\n }} adf-datatable-cell-header adf-datatable-cell-data\"\n [attr.data-automation-id]=\"'auto_id_' + col.key\"\n [ngClass]=\"{\n 'adf-sortable': col.sortable,\n 'adf-datatable__cursor--pointer': !isResizing,\n 'adf-datatable__header--sorted-asc': isColumnSorted(col, 'asc'),\n 'adf-datatable__header--sorted-desc': isColumnSorted(col, 'desc')\n }\"\n [ngStyle]=\"col.width && !lastColumn && { flex: getFlexValue(col) }\"\n role=\"columnheader\"\n [attr.aria-label]=\"\n col.srTitle\n ? (col.srTitle | translate)\n : (col.title | translate) + (col.subtitle ? ' ' + (col.subtitle | translate) : '')\n \"\n [attr.aria-sort]=\"col.sortable ? (getAriaSort(col) | translate) : null\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n (cdkDragStarted)=\"isDraggingHeaderColumn = true\"\n (cdkDragDropped)=\"onDropHeaderColumn($event)\"\n [cdkDragDisabled]=\"!col.draggable\"\n (mouseenter)=\"hoveredHeaderColumnIndex = columnIndex\"\n (mouseleave)=\"hoveredHeaderColumnIndex = -1\"\n adf-drop-zone\n dropTarget=\"header\"\n [dropColumn]=\"col\"\n >\n <div\n adf-resizable\n #resizableElement=\"adf-resizable\"\n [attr.tabindex]=\"col.sortable ? 0 : null\"\n [attr.role]=\"col.sortable ? 'button' : null\"\n [attr.aria-description]=\"\n isColumnSortActive(col) ? (getSortLiveAnnouncement(col) | translate: { string: col.title | translate }) : null\n \"\n [attr.aria-label]=\"\n col.srTitle\n ? (col.srTitle | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.SORT_DEFAULT' | translate) +\n ' ' +\n (col.title | translate) +\n (col.subtitle ? ' ' + (col.subtitle | translate) : '')\n \"\n (click)=\"onColumnHeaderClick(col, $event)\"\n (keyup.enter)=\"onColumnHeaderClick(col, $event)\"\n [coverPadding]=\"10\"\n (resizing)=\"onResizing($event, columnIndex)\"\n (keyboardResizing)=\"onResizing($event, columnIndex)\"\n (resizeStart)=\"resizingColumnIndex = columnIndex\"\n (resizeEnd)=\"onResizingEnd()\"\n [attr.data-automation-id]=\"'auto_header_content_id_' + col.key\"\n class=\"adf-datatable-cell-header-content\"\n [ngClass]=\"{\n 'adf-datatable-cell-header-content--hovered':\n hoveredHeaderColumnIndex === columnIndex && !isDraggingHeaderColumn && !isResizing && col.sortable\n }\"\n >\n @if (!col.header) {\n @if (col.title) {\n <span title=\"{{ col.title | translate }}\" class=\"adf-datatable-cell-value\">\n {{ col.title | translate }}\n </span>\n }\n\n @if (col.subtitle) {\n <span\n title=\"{{ col.subtitle | translate }}\"\n class=\"adf-datatable-cell-value adf-datatable-cell-header_subtitle\"\n >\n ({{ col.subtitle | translate }})\n </span>\n }\n\n @if (col.title && col.sortable && isDraggingHeaderColumn) {\n <span class=\"adf-sr-only\" aria-live=\"polite\">\n {{ getSortLiveAnnouncement(col) | translate: { string: col.title | translate } }}\n </span>\n }\n\n @if (!col.title && !col.sortable && !headerFilterTemplate) {\n <span [attr.title]=\"'ADF-DATATABLE.ACCESSIBILITY.EMPTY_HEADER' | translate\"></span>\n }\n }\n\n @if (col.header) {\n <div class=\"adf-datatable-cell-value\">\n <ng-template [ngTemplateOutlet]=\"col.header\" [ngTemplateOutletContext]=\"{ $implicit: col }\" />\n </div>\n }\n\n <span\n class=\"adf-datatable-cell-header-sort-indicator\"\n [class.adf-datatable__header--sorted-asc]=\"isColumnSorted(col, 'asc')\"\n [class.adf-datatable__header--sorted-desc]=\"isColumnSorted(col, 'desc')\"\n >\n </span>\n\n @if (allowFiltering) {\n <ng-template [ngTemplateOutlet]=\"headerFilterTemplate\" [ngTemplateOutletContext]=\"{ $implicit: col }\" />\n }\n\n @if (col.draggable) {\n <span cdkDragHandle [ngClass]=\"{ 'adf-datatable-cell-header-drag-icon': !isResizing }\">\n @if (hoveredHeaderColumnIndex === columnIndex && !isResizing) {\n <mat-icon\n svgIcon=\"adf:drag_indicator\"\n class=\"adf-datatable-cell-header-drag-icon-visible\"\n [attr.data-automation-id]=\"'adf-datatable-cell-header-drag-icon-' + col.key\"\n aria-hidden=\"true\"\n />\n }\n </span>\n }\n </div>\n @if (isResizingEnabled && col.resizable && !lastColumn) {\n <div\n [ngClass]=\"\n (hoveredHeaderColumnIndex === columnIndex && !isResizing) || resizingColumnIndex === columnIndex\n ? 'adf-datatable__resize-handle-visible'\n : 'adf-datatable__resize-handle-hidden'\n \"\n adf-resize-handle\n tabindex=\"0\"\n role=\"slider\"\n [attr.aria-valuenow]=\"col.width ?? 100\"\n [attr.aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.RESIZE_COLUMN' | translate: { column: col.title | translate }\"\n [attr.aria-valuemin]=\"100\"\n [attr.aria-valuemax]=\"500\"\n (click)=\"$event.stopPropagation()\"\n (keydown)=\"$event.stopPropagation()\"\n class=\"adf-datatable__resize-handle\"\n [resizableContainer]=\"resizableElement\"\n >\n <div class=\"adf-datatable__resize-handle--divider\"></div>\n </div>\n }\n <div class=\"adf-drop-header-cell-placeholder\" *cdkDragPlaceholder></div>\n </div>\n }\n }\n\n <!-- Header actions (right) -->\n @if ((actions && actionsPosition === 'right') || (mainActionTemplate && showMainDatatableActions)) {\n <div\n class=\"adf-actions-column adf-datatable-actions-menu adf-datatable-cell-header adf-datatable__actions-cell\"\n [class.adf-datatable-actions-menu-provided]=\"showProvidedActions\"\n >\n @if (mainActionTemplate) {\n <button\n data-automation-id=\"adf-datatable-main-menu-button\"\n title=\"{{ 'ADF-DATATABLE.CONTENT-ACTIONS.SELECT_COLUMNS' | translate }}\"\n mat-icon-button\n #mainMenuTrigger=\"matMenuTrigger\"\n (click)=\"onMainMenuOpen()\"\n [matMenuTriggerFor]=\"mainMenu\"\n >\n <mat-icon adf-icon=\"view_week_outline\" />\n </button>\n <mat-menu #mainMenu (closed)=\"onMainMenuClosed()\">\n <div #mainMenuTemplate role=\"presentation\" (keydown.tab)=\"$event.stopPropagation()\">\n <ng-container\n [ngTemplateOutlet]=\"mainActionTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: mainMenuTrigger\n }\"\n />\n </div>\n </mat-menu>\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.ACTIONS' | translate }}</span>\n }\n </div>\n }\n </adf-datatable-row>\n </div>\n }\n\n @if (!loading) {\n <div\n class=\"adf-datatable-body\"\n [ngClass]=\"{\n 'adf-blur-datatable-body': blurOnResize && (isDraggingHeaderColumn || isResizing),\n 'adf-datatable-body__draggable': enableDragRows && !isDraggingRow,\n 'adf-datatable-body__dragging': isDraggingRow\n }\"\n cdkDropList\n [cdkDropListDisabled]=\"!enableDragRows\"\n role=\"rowgroup\"\n >\n @if (!noPermission) {\n <adf-datatable-row\n *ngFor=\"let row of data.getRows(); let idx = index\"\n cdkDrag\n [cdkDragDisabled]=\"!enableDragRows\"\n (cdkDragDropped)=\"onDragDrop($event)\"\n (cdkDragStarted)=\"onDragStart()\"\n (cdkDragEnded)=\"onDragEnd()\"\n [cdkDragBoundary]=\"'.adf-datatable-body'\"\n [row]=\"row\"\n (select)=\"onEnterKeyPressed(row, $event)\"\n (keyup)=\"onRowKeyUp(row, $event)\"\n (keydown)=\"onRowEnterKeyDown(row, $event)\"\n [adf-upload]=\"rowAllowsDrop(row)\"\n [adf-upload-data]=\"row\"\n [ngStyle]=\"rowStyle\"\n [ngClass]=\"getRowStyle(row)\"\n [class.adf-datatable-row__dragging]=\"isDraggingRow\"\n [attr.data-automation-id]=\"'datatable-row-' + idx\"\n (contextmenu)=\"markRowAsContextMenuSource(row)\"\n (focus)=\"onRowFocus(idx)\"\n [disabled]=\"!isRowKeyboardNavigable()\"\n [active]=\"isRowActive(idx)\"\n [attr.aria-description]=\"\n (multiselect ? ('ADF-DATATABLE.ACCESSIBILITY.ROW_SELECTION' | translate) : '') +\n (multiselect && enableDragRows ? '. ' : '') +\n (enableDragRows ? ('ADF-DATATABLE.ACCESSIBILITY.DRAGGABLE' | translate) : '')\n \"\n >\n <!-- Drag button -->\n @if (enableDragRows) {\n <div role=\"gridcell\" class=\"adf-datatable-cell adf-datatable__actions-cell adf-datatable-hover-only\">\n <mat-icon adf-icon=\"drag_indicator\" aria-hidden=\"true\" />\n </div>\n }\n\n <!-- Actions (left) -->\n @if (actions && actionsPosition === 'left') {\n <div role=\"gridcell\" class=\"adf-datatable-cell\">\n <button\n mat-icon-button\n [matMenuTriggerFor]=\"menu\"\n #actionsMenuTrigger=\"matMenuTrigger\"\n [ngClass]=\"getHideActionsWithoutHoverClass(actionsMenuTrigger)\"\n [title]=\"'ADF-DATATABLE.CONTENT-ACTIONS.TOOLTIP' | translate\"\n [attr.id]=\"'action_menu_left_' + idx\"\n [attr.data-automation-id]=\"'action_menu_' + idx\"\n >\n <mat-icon adf-icon=\"more_vert\" />\n </button>\n <mat-menu #menu=\"matMenu\">\n @for (action of getRowActions(row); track action.title) {\n <button\n mat-menu-item\n [attr.data-automation-id]=\"action.title\"\n [disabled]=\"action.disabled\"\n (click)=\"onExecuteRowAction(row, action)\"\n >\n @if (action.icon) {\n <mat-icon [adf-icon]=\"action.icon\" />\n }\n <span>{{ action.title | translate }}</span>\n </button>\n }\n </mat-menu>\n </div>\n }\n\n @if (multiselect) {\n <label\n (keydown.enter)=\"onEnterKeyPressed(row, $any($event))\"\n (click)=\"onCheckboxLabelClick(row, $event)\"\n [for]=\"'select-file-' + idx\"\n class=\"adf-datatable-cell adf-datatable-checkbox adf-datatable-checkbox-single\"\n [attr.tabindex]=\"null\"\n aria-hidden=\"true\"\n >\n <mat-checkbox\n [id]=\"'select-file-' + idx\"\n [disabled]=\"!row?.isSelectable\"\n [class.adf-datatable-checkbox-selected]=\"row.isSelected\"\n [class.adf-datatable-hover-only]=\"displayCheckboxesOnHover\"\n [checked]=\"row.isSelected\"\n data-adf-datatable-row-checkbox\n (change)=\"onCheckboxChange(row, $event)\"\n (keydown.enter)=\"$event.stopPropagation()\"\n class=\"adf-checkbox-sr-only\"\n [tabIndex]=\"-1\"\n aria-hidden=\"true\"\n />\n </label>\n\n <!-- Live region for selection state -->\n <span class=\"adf-sr-only\" aria-live=\"off\">\n {{ row.isSelected ? ('ADF-DATATABLE.ACCESSIBILITY.SELECTED' | translate) : '' }}\n </span>\n }\n\n @for (col of getVisibleColumns(); track col.key; let lastColumn = $last) {\n <div\n role=\"gridcell\"\n class=\"adf-datatable-cell adf-datatable-cell--{{ col.type || 'text' }} {{\n col.cssClass\n }} adf-datatable-cell-data adf-datatable-cell--{{ getAutomationValue(row) }}\"\n [attr.title]=\"col.title | translate\"\n [attr.data-automation-id]=\"getAutomationValue(row)\"\n [attr.aria-label]=\"col.title ? (col.title | translate) : null\"\n [attr.aria-hidden]=\"isRepresentationContent(col) ? 'true' : null\"\n (click)=\"onRowClick(row, $event)\"\n [attr.tabindex]=\"null\"\n (keydown.enter)=\"onEnterKeyPressed(row, $any($event))\"\n [adf-context-menu]=\"getContextMenuActions(row, col)\"\n [adf-context-menu-enabled]=\"contextMenu\"\n adf-drop-zone\n dropTarget=\"cell\"\n [dropColumn]=\"col\"\n [dropRow]=\"row\"\n [ngStyle]=\"col.width && !lastColumn && { flex: getFlexValue(col) }\"\n >\n @if (!col.template) {\n <div class=\"adf-datatable-cell-container\">\n @switch (data.getColumnType(row, col)) {\n @case ('image') {\n <div class=\"adf-cell-value\">\n @if (isIconValue(row, col)) {\n <mat-icon\n [attr.aria-label]=\"col.srTitle ? (col.srTitle | translate) : null\"\n [attr.aria-hidden]=\"!asIconValue(row, col)\"\n [adf-icon]=\"asIconValue(row, col)\"\n />\n } @else {\n @if (row.isSelected && !multiselect) {\n <mat-icon class=\"adf-datatable-selected\" svgIcon=\"selected\" />\n } @else {\n <img\n class=\"adf-datatable-center-img-ie\"\n [attr.aria-label]=\"\n (data.getValue(row, col) | fileType) === 'disable'\n ? ('ADF-DATATABLE.ACCESSIBILITY.ICON_DISABLED' | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.ICON_TEXT'\n | translate\n : {\n type:\n 'ADF-DATATABLE.FILE_TYPE.' +\n (data.getValue(row, col) | fileType | uppercase)\n | translate\n })\n \"\n [attr.alt]=\"\n (data.getValue(row, col) | fileType) === 'disable'\n ? ('ADF-DATATABLE.ACCESSIBILITY.ICON_DISABLED' | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.ICON_TEXT'\n | translate\n : {\n type:\n 'ADF-DATATABLE.FILE_TYPE.' +\n (data.getValue(row, col) | fileType | uppercase)\n | translate\n })\n \"\n src=\"{{ data.getValue(row, col) }}\"\n (error)=\"onImageLoadingError($event, row)\"\n />\n }\n }\n </div>\n }\n @case ('icon') {\n <div class=\"adf-cell-value\">\n <adf-icon-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('date') {\n <div\n class=\"adf-cell-value adf-cell-date\"\n [attr.data-automation-id]=\"\n 'date_' + (data.getValue(row, col, resolverFn) | adfLocalizedDate: 'medium')\n \"\n >\n <adf-date-cell\n class=\"adf-datatable-center-date-column-ie\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n [dateConfig]=\"col.dateConfig\"\n />\n </div>\n }\n @case ('location') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'location' + data.getValue(row, col, resolverFn)\"\n >\n <adf-location-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('fileSize') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'fileSize_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-filesize-cell\n class=\"adf-datatable-center-size-column-ie\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('text') {\n <div class=\"adf-cell-value\" [attr.data-automation-id]=\"'text_' + data.getValue(row, col, resolverFn)\">\n <adf-datatable-cell\n [copyContent]=\"col.copyContent\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('boolean') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'boolean_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-boolean-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('json') {\n <div class=\"adf-cell-value\">\n <adf-json-cell\n [editable]=\"col.editable\"\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n />\n </div>\n }\n @case ('amount') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'amount_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-amount-cell\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n [currencyConfig]=\"col.currencyConfig\"\n />\n </div>\n }\n @case ('number') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'number_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-number-cell\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n [decimalConfig]=\"col.decimalConfig\"\n />\n </div>\n }\n @default {\n <span class=\"adf-cell-value\">\n <!-- empty cell for unknown column type -->\n </span>\n }\n }\n </div>\n } @else {\n <div class=\"adf-datatable-cell-container\">\n <div class=\"adf-cell-value\">\n <ng-container\n [ngTemplateOutlet]=\"col.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: { data: data, row: row, col: col },\n value: data.getValue(row, col, resolverFn)\n }\"\n />\n </div>\n </div>\n }\n </div>\n }\n\n <!-- Row actions (right) -->\n @if (!showProvidedActions && ((actions && actionsPosition === 'right') || (mainActionTemplate && showMainDatatableActions))) {\n <div\n role=\"gridcell\"\n class=\"adf-datatable-cell adf-datatable__actions-cell adf-datatable-center-actions-column-ie adf-datatable-actions-menu\"\n >\n @if (actions && actionsPosition === 'right') {\n <button\n mat-icon-button\n [matMenuTriggerFor]=\"menu\"\n #actionsMenuTrigger=\"matMenuTrigger\"\n [ngClass]=\"getHideActionsWithoutHoverClass(actionsMenuTrigger)\"\n [attr.aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.ROW_OPTION_BUTTON' | translate\"\n [title]=\"'ADF-DATATABLE.CONTENT-ACTIONS.TOOLTIP' | translate\"\n [attr.id]=\"'action_menu_right_' + idx\"\n [attr.data-automation-id]=\"'action_menu_' + idx\"\n (keydown.enter)=\"actionsMenuTrigger.openMenu()\"\n >\n <mat-icon adf-icon=\"more_vert\" />\n </button>\n <mat-menu #menu=\"matMenu\">\n @for (action of getRowActions(row); track action.title) {\n <button\n mat-menu-item\n [attr.data-automation-id]=\"action.title\"\n [attr.aria-label]=\"action.title | translate\"\n [disabled]=\"action.disabled\"\n (click)=\"onExecuteRowAction(row, action)\"\n >\n @if (action.icon) {\n <mat-icon [adf-icon]=\"action.icon\" />\n }\n <span>{{ action.title | translate }}</span>\n </button>\n }\n </mat-menu>\n }\n </div>\n }\n </adf-datatable-row>\n @if (isEmpty()) {\n <div role=\"row\" class=\"adf-datatable-row\">\n <div class=\"adf-no-content-container adf-datatable-cell\" role=\"gridcell\">\n @if (noContentTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"noContentTemplate\" />\n }\n <ng-content select=\"adf-empty-list\" />\n </div>\n </div>\n }\n } @else {\n <div role=\"row\" class=\"adf-datatable-row adf-no-permission__row\">\n <div class=\"adf-no-permission__cell adf-no-content-container adf-datatable-cell\">\n @if (noPermissionTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"noPermissionTemplate\" />\n }\n </div>\n </div>\n }\n </div>\n } @else {\n <div class=\"adf-datatable-row adf-datatable-data-loading\">\n <div class=\"adf-no-content-container adf-datatable-cell\">\n @if (loadingTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"loadingTemplate\" />\n }\n </div>\n </div>\n }\n </div>\n}\n", styles: [".adf-datatable{overflow-y:scroll;height:100%;display:block}.adf-datatable .adf-full-width{width:100%}.adf-datatable__resize-handle{padding:0 2px;position:relative}.adf-datatable__resize-handle-visible{visibility:visible;opacity:1}.adf-datatable__resize-handle-hidden{opacity:0}.adf-datatable__resize-handle-hidden:focus,.adf-datatable__resize-handle-hidden:focus-visible,.adf-datatable__resize-handle-hidden:focus-within{opacity:1}.adf-datatable__resize-handle--divider{padding:24px 0;border:1px solid var(--mat-sys-outline-variant)}.adf-datatable__resize-handle:hover{cursor:col-resize}.adf-datatable__resize-handle:focus,.adf-datatable__resize-handle:focus-visible{opacity:1;outline:2px solid var(--mat-sys-primary);outline-offset:-1px}.adf-datatable__resize-handle:focus .adf-datatable__resize-handle--divider,.adf-datatable__resize-handle:focus-visible .adf-datatable__resize-handle--divider{border-color:var(--mat-sys-primary)}.adf-datatable__cursor--pointer:hover{cursor:pointer}.adf-datatable-list,.cdk-drag-preview{display:flex;flex-direction:column;background-color:var(--mat-sys-surface);border:1px solid var(--mat-sys-outline-variant);box-sizing:border-box;overflow-x:auto}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-center-size-column-ie,.cdk-drag-preview .adf-datatable-center-size-column-ie{padding-top:17px}.adf-datatable-list .adf-datatable__actions-cell.adf-datatable-center-actions-column-ie,.cdk-drag-preview .adf-datatable__actions-cell.adf-datatable-center-actions-column-ie{padding-top:7px}.adf-datatable-list .adf-cell-date.adf-datatable-center-date-column-ie,.cdk-drag-preview .adf-cell-date.adf-datatable-center-date-column-ie{position:relative}.adf-datatable-list .adf-cell-date.adf-datatable-center-date-column-ie .adf-datatable-cell-value,.cdk-drag-preview .adf-cell-date.adf-datatable-center-date-column-ie .adf-datatable-cell-value{width:100%}.adf-datatable-list .adf-datatable-center-img-ie,.cdk-drag-preview .adf-datatable-center-img-ie{padding:0;min-width:0;width:24px;height:56px}}.adf-datatable-list .adf-datatable-header,.cdk-drag-preview .adf-datatable-header{display:flex;flex-direction:column;width:fit-content;min-width:100%;box-sizing:border-box}.adf-datatable-list .adf-datatable-header .adf-datatable-row,.cdk-drag-preview .adf-datatable-header .adf-datatable-row{padding-right:15px}.adf-datatable-list .adf-datatable-header .adf-datatable-row:hover,.adf-datatable-list .adf-datatable-header .adf-datatable-row:focus,.cdk-drag-preview .adf-datatable-header .adf-datatable-row:hover,.cdk-drag-preview .adf-datatable-header .adf-datatable-row:focus{background-color:inherit}.adf-datatable-list .adf-datatable-row:not(.adf-datatable-data-loading):hover,.adf-datatable-list .adf-datatable-row:not(.adf-datatable-data-loading):focus,.cdk-drag-preview .adf-datatable-row:not(.adf-datatable-data-loading):hover,.cdk-drag-preview .adf-datatable-row:not(.adf-datatable-data-loading):focus{background-color:var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-row:focus,.cdk-drag-preview .adf-datatable-row:focus{outline-offset:-2px;outline:2px solid var(--mat-sys-primary)}.adf-datatable-list .adf-datatable-row .adf-cell-value:focus,.adf-datatable-list .adf-datatable-row .adf-datatable-cell-header:focus,.cdk-drag-preview .adf-datatable-row .adf-cell-value:focus,.cdk-drag-preview .adf-datatable-row .adf-datatable-cell-header:focus{outline-offset:-2px;outline:2px solid var(--mat-sys-primary)}.adf-datatable-list .adf-blur-datatable-body,.cdk-drag-preview .adf-blur-datatable-body{filter:blur(3px)}.adf-datatable-list .adf-datatable-body,.cdk-drag-preview .adf-datatable-body{display:flex;flex-direction:column;background-color:var(--mat-sys-surface);width:100%;min-width:100%}.adf-datatable-list .adf-datatable-body.adf-datatable-body__draggable,.cdk-drag-preview .adf-datatable-body.adf-datatable-body__draggable{cursor:grab}.adf-datatable-list .adf-datatable-body.adf-datatable-body__dragging,.cdk-drag-preview .adf-datatable-body.adf-datatable-body__dragging{cursor:grabbing}.adf-datatable-list .adf-datatable-body .adf-datatable-row,.cdk-drag-preview .adf-datatable-body .adf-datatable-row{transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:background-color;border-top:1px solid var(--mat-sys-surface-container);min-height:var(--mat-sys-display-large-size);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-is-selected,.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-is-selected:hover,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-is-selected,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-is-selected:hover{background-color:var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-drag-row,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-drag-row{cursor:grab}.adf-datatable-list .adf-datatable-body .adf-datatable-row:last-child,.cdk-drag-preview .adf-datatable-body .adf-datatable-row:last-child{border-bottom:1px solid var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-body .adf-datatable-row label,.cdk-drag-preview .adf-datatable-body .adf-datatable-row label{cursor:inherit}.adf-datatable-list .adf-datatable-row,.cdk-drag-preview .adf-datatable-row{display:flex;align-items:center}.adf-datatable-list .adf-datatable-row:hover .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row:hover .adf-datatable-hover-only{visibility:visible}.adf-datatable-list .adf-datatable-row:focus-within .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row:focus-within .adf-datatable-hover-only{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row .adf-datatable-hover-only{visibility:hidden}.adf-datatable-list .adf-datatable-row .adf-datatable-hover-only.adf-datatable-checkbox-selected,.cdk-drag-preview .adf-datatable-row .adf-datatable-hover-only.adf-datatable-checkbox-selected{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-row .adf-datatable-checkbox{max-width:65px;width:65px}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-row .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-row .adf-datatable-checkbox{padding-top:15px}}.adf-datatable-list .adf-datatable-cell,.adf-datatable-list .adf-datatable-cell-header,.cdk-drag-preview .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell-header{text-align:left;box-sizing:border-box;min-width:65px}.adf-datatable-list .adf-datatable-cell--text,.adf-datatable-list .adf-datatable-cell-header--text,.cdk-drag-preview .adf-datatable-cell--text,.cdk-drag-preview .adf-datatable-cell-header--text{text-align:left;position:relative}.adf-datatable-list .adf-datatable-cell--date,.adf-datatable-list .adf-datatable-cell-header--date,.cdk-drag-preview .adf-datatable-cell--date,.cdk-drag-preview .adf-datatable-cell-header--date{text-align:left}.adf-datatable-list .adf-datatable-cell--number,.adf-datatable-list .adf-datatable-cell-header--number,.cdk-drag-preview .adf-datatable-cell--number,.cdk-drag-preview .adf-datatable-cell-header--number{text-align:right}.adf-datatable-list .adf-datatable-cell--image,.adf-datatable-list .adf-datatable-cell--icon,.adf-datatable-list .adf-datatable-cell-header--image,.adf-datatable-list .adf-datatable-cell-header--icon,.cdk-drag-preview .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable-cell--icon,.cdk-drag-preview .adf-datatable-cell-header--image,.cdk-drag-preview .adf-datatable-cell-header--icon{padding-left:24px;padding-right:24px;width:65px;min-width:65px;text-align:left}.adf-datatable-list .adf-datatable-cell--fileSize,.adf-datatable-list .adf-datatable-cell-header--fileSize,.cdk-drag-preview .adf-datatable-cell--fileSize,.cdk-drag-preview .adf-datatable-cell-header--fileSize{min-width:65px}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-1,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-1,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-1,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-1{flex-grow:1}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-2,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-2,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-2,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-2{flex-grow:2}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-3,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-3,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-3,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-3{flex-grow:3}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-4,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-4,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-4,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-4{flex-grow:4}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-5,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-5,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-5,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-5{flex-grow:5}.adf-datatable-list .adf-datatable-cell-header.adf-no-grow-cell,.adf-datatable-list .adf-datatable-cell.adf-no-grow-cell,.cdk-drag-preview .adf-datatable-cell-header.adf-no-grow-cell,.cdk-drag-preview .adf-datatable-cell.adf-no-grow-cell{flex-grow:0;min-width:100px}.adf-datatable-list .adf-datatable-cell-header.adf-min-width-cell,.adf-datatable-list .adf-datatable-cell.adf-min-width-cell,.cdk-drag-preview .adf-datatable-cell-header.adf-min-width-cell,.cdk-drag-preview .adf-datatable-cell.adf-min-width-cell{min-width:110px}.adf-datatable-list .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell{color:var(--mat-sys-on-surface);min-height:inherit}.adf-datatable-list .adf-datatable-cell,.adf-datatable-list .adf-datatable-cell-header,.cdk-drag-preview .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell-header{flex:1;padding:0;align-items:center;display:flex;align-self:stretch}.adf-datatable-list .adf-datatable-cell:first-child,.adf-datatable-list .adf-datatable-cell-header:first-child,.cdk-drag-preview .adf-datatable-cell:first-child,.cdk-drag-preview .adf-datatable-cell-header:first-child{margin-left:15px;box-sizing:content-box}.adf-datatable-list .adf-datatable-cell.adf-drag-column,.adf-datatable-list .adf-datatable-cell-header.adf-drag-column,.cdk-drag-preview .adf-datatable-cell.adf-drag-column,.cdk-drag-preview .adf-datatable-cell-header.adf-drag-column{flex:0}.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-container,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-container,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-container,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-container{overflow:hidden;min-height:inherit;align-items:center;display:flex;width:100%;padding:0 10px}.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-value,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-value{word-break:break-word;display:block}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-value,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-value{padding:17px 10px 10px}}.adf-datatable-list .adf-datatable-row:focus-within .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.adf-datatable-list .adf-datatable-row:hover .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:focus-within .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:hover .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu{margin-left:auto;justify-content:end;padding-right:15px}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu:focus-visible .adf-datatable-hide-actions-without-hover,.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu:focus-within .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu:focus-visible .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu:focus-within .adf-datatable-hide-actions-without-hover{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu-provided,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu-provided{max-width:100px!important;justify-content:center;padding-right:0}.adf-datatable-list .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-checkbox{display:flex;justify-content:center}.adf-datatable-list .adf-cell-value,.cdk-drag-preview .adf-cell-value{display:flex;min-height:inherit;align-items:center;word-break:break-all;width:100%}.adf-datatable-list .adf-datatable__actions-cell,.adf-datatable-list .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable__actions-cell,.cdk-drag-preview .adf-datatable-cell--image{max-width:65px;display:flex}.adf-datatable-list .adf-datatable__actions-cell .adf-cell-value,.adf-datatable-list .adf-datatable-cell--image .adf-cell-value,.cdk-drag-preview .adf-datatable__actions-cell .adf-cell-value,.cdk-drag-preview .adf-datatable-cell--image .adf-cell-value{width:unset}.adf-datatable-list .adf-datatable-row:not(:hover) .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:not(:hover) .adf-datatable-hide-actions-without-hover{visibility:hidden}.adf-datatable-list .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable-cell--image{max-width:65px}.adf-datatable-list .adf-location-cell a,.cdk-drag-preview .adf-location-cell a{text-decoration:none;color:var(--mat-sys-on-surface)}.adf-datatable-list .adf-location-cell a:hover,.cdk-drag-preview .adf-location-cell a:hover{color:var(--mat-sys-primary);text-decoration:underline}.adf-datatable-list .adf-sr-only,.cdk-drag-preview .adf-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.adf-datatable-list .adf-is-selected,.cdk-drag-preview .adf-is-selected{background:var(--mat-sys-primary-container)}.adf-datatable-list .adf-datatable-link,.cdk-drag-preview .adf-datatable-link{text-decoration:none;color:var(--mat-sys-on-surface)}.adf-datatable-list .adf-datatable-link:hover,.cdk-drag-preview .adf-datatable-link:hover{color:var(--mat-sys-secondary);text-decoration:underline}.adf-datatable-list .adf-dynamic-column .adf-datatable-link:hover,.cdk-drag-preview .adf-dynamic-column .adf-datatable-link:hover{text-decoration:none}.adf-datatable-list .adf-dynamic-column .adf-datatable-link:hover .adf-datatable-cell-value,.cdk-drag-preview .adf-dynamic-column .adf-datatable-link:hover .adf-datatable-cell-value{text-decoration:underline}.adf-datatable-list .adf-ellipsis-cell,.cdk-drag-preview .adf-ellipsis-cell{position:sticky;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.adf-datatable-list .adf-ellipsis-cell.adf-datatable-cell-header,.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell,.cdk-drag-preview .adf-ellipsis-cell.adf-datatable-cell-header,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell{max-width:calc(100% - .1px);overflow:hidden;text-overflow:ellipsis}.adf-datatable-list .adf-ellipsis-cell.adf-datatable-cell-header .adf-datatable-cell-value,.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-ellipsis-cell.adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell .adf-datatable-cell-value{overflow:hidden;text-overflow:ellipsis}.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell{overflow:unset}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-ellipsis-cell .adf-cell-value,.cdk-drag-preview .adf-ellipsis-cell .adf-cell-value{top:100%}}.adf-datatable-list .adf-ellipsis-cell>div:after,.cdk-drag-preview .adf-ellipsis-cell>div:after{content:attr(title);overflow:hidden;height:0;display:block}.adf-datatable-list .adf-no-content-container.adf-datatable-cell,.cdk-drag-preview .adf-no-content-container.adf-datatable-cell{padding:0;border:none;width:100%;justify-content:center}.adf-datatable-list .adf-no-content-container.adf-datatable-cell>img,.cdk-drag-preview .adf-no-content-container.adf-datatable-cell>img{width:100%}.adf-datatable-list .adf-loading-content-container,.cdk-drag-preview .adf-loading-content-container{padding:0;width:100%}.adf-datatable-list .adf-loading-content-container>img,.cdk-drag-preview .adf-loading-content-container>img{width:100%}.adf-datatable-list .adf-no-permission__row:hover,.cdk-drag-preview .adf-no-permission__row:hover{cursor:default;background-color:inherit}.adf-datatable-list .adf-no-permission__cell.adf-datatable-cell,.cdk-drag-preview .adf-no-permission__cell.adf-datatable-cell{padding:0}.adf-datatable-list .adf-hidden,.cdk-drag-preview .adf-hidden{display:none}@media all and (width<=768px){.adf-datatable-list .adf-desktop-only.adf-ellipsis-cell,.cdk-drag-preview .adf-desktop-only.adf-ellipsis-cell{display:none}}@media(device-width<=768px){.adf-datatable-list .adf-desktop-only.adf-ellipsis-cell,.cdk-drag-preview .adf-desktop-only.adf-ellipsis-cell{display:none}}.adf-datatable-cell-header{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:flex;align-items:center;text-overflow:ellipsis;font-weight:700;line-height:24px;letter-spacing:0;min-height:var(--mat-sys-display-large-size);font-size:var(--mat-sys-body-medium-size);box-sizing:border-box}.adf-datatable-cell-header_subtitle{margin-left:3px;opacity:.6}.adf-datatable-cell-header.adf-sortable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;align-items:center}.adf-datatable-cell-header.adf-sortable .adf-datatable-cell-header-sort-indicator{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 24px;min-width:0}.adf-datatable-cell-header .adf-datatable__header--sorted-asc:after,.adf-datatable-cell-header .adf-datatable__header--sorted-desc:after{font-family:Material Icons;font-weight:400;font-style:normal;font-size:var(--mat-sys-headline-small-size);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;word-wrap:normal;font-feature-settings:\"liga\";content:\"\\e5d8\";vertical-align:middle}.adf-datatable-cell-header .adf-datatable__header--sorted-desc:after{content:\"\\e5db\"}.adf-datatable-cell-header .adf-datatable-cell--fileSize.adf-datatable__header--sorted-asc:before,.adf-datatable-cell-header .adf-datatable-cell--fileSize.adf-datatable__header--sorted-desc:before{left:-3px;right:-3px}.adf-datatable-cell-header .adf-datatable-cell-header-content{display:flex;flex-grow:1;align-items:center;margin:0 2px;padding:0 8px}.adf-datatable-cell-header .adf-datatable-cell-header-content .adf-datatable-cell-header-drag-icon-placeholder{padding:0;margin:0}.adf-datatable-cell-header .adf-datatable-cell-header-content--hovered{border-radius:6px}.adf-datatable-cell-header .adf-datatable-cell-header-drag-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;min-width:0;margin-left:auto;cursor:move;margin-right:-.5rem;padding-left:-.5rem}.adf-datatable-cell-header .adf-datatable-cell-header-drag-icon-visible{display:flex}.adf-datatable-cell-header .adf-datatable-cell-value{padding-top:10px;padding-bottom:10px;line-height:24px;word-break:break-word}.adf-drop-header-cell-placeholder{display:flex;flex:1;border:dotted 1px rgba(0,0,0,.25);min-height:55px;transition:transform .25s cubic-bezier(0,0,.2,1)}.adf-datatable-cell-header.adf-ellipsis-cell .adf-datatable-cell-header-content{white-space:nowrap;overflow:hidden}.adf-datatable-cell-header.adf-ellipsis-cell .adf-datatable-cell-header-content--hovered .adf-datatable-cell-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdk-drag-preview{min-height:var(--mat-sys-display-large-size);display:flex;flex-direction:row;align-items:center;box-sizing:unset;border-top:2px solid var(--mat-sys-primary);opacity:1}.cdk-drag-preview.adf-datatable-cell-header{border-radius:6px;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.adf-checkbox-sr-only .mdc-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.adf-sticky-header{border-top:0;height:100%}.adf-sticky-header .adf-datatable-header{display:block;margin-right:0;border-top:1px solid var(--mat-sys-surface-container);border-bottom:1px solid var(--mat-sys-outline-variant)}.adf-sticky-header .adf-datatable-body{display:block;flex:1;overflow:hidden auto;margin-top:-1px}.adf-upload__dragging>div{border-top:1px dashed var(--mat-sys-secondary);border-bottom:1px dashed var(--mat-sys-secondary)}.adf-upload__dragging>div:first-child{border-left:1px dashed var(--mat-sys-secondary)}.adf-upload__dragging>div:last-child{border-right:1px dashed var(--mat-sys-secondary)}.adf-datatable--empty{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0;justify-content:center;align-items:center;height:inherit}.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row{height:100%;border:none}.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row:hover,.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row:focus{background-color:unset;cursor:default}.adf-datatable--empty--header-visible .adf-datatable-header{border:1px solid var(--mat-sys-outline-variant)}.adf-datatable--empty--header-visible .adf-datatable-body{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0;justify-content:center;align-items:center}.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row{height:100%;border:none}.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row:hover,.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row:focus{background-color:unset;cursor:default}@media screen and (width<=380px){.adf-datatable-header{max-height:50%}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: DataTableRowComponent, selector: "adf-datatable-row", inputs: ["row", "disabled", "active"], outputs: ["select"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2$5.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: DropZoneDirective, selector: "[adf-drop-zone]", inputs: ["dropTarget", "dropRow", "dropColumn"] }, { kind: "directive", type: ResizableDirective, selector: "[adf-resizable]", inputs: ["coverPadding"], outputs: ["resizeStart", "resizing", "resizeEnd", "keyboardResizing"], exportAs: ["adf-resizable"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: ResizeHandleDirective, selector: "[adf-resize-handle]", inputs: ["resizableContainer"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$3.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i5.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i1$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[adf-icon]", inputs: ["adf-icon"] }, { kind: "directive", type: UploadDirective, selector: "[adf-upload]", inputs: ["adf-upload", "adf-upload-data", "mode", "multiple", "accept", "directory"] }, { kind: "directive", type: ContextMenuDirective, selector: "[adf-context-menu]", inputs: ["adf-context-menu", "adf-context-menu-enabled"] }, { kind: "component", type: IconCellComponent, selector: "adf-icon-cell" }, { kind: "component", type: DateCellComponent, selector: "adf-date-cell", inputs: ["dateConfig"] }, { kind: "component", type: LocationCellComponent, selector: "adf-location-cell", inputs: ["link"] }, { kind: "component", type: FileSizeCellComponent, selector: "adf-filesize-cell" }, { kind: "component", type: DataTableCellComponent, selector: "adf-datatable-cell", inputs: ["data", "column", "row", "copyContent", "tooltip", "resolverFn"] }, { kind: "component", type: BooleanCellComponent, selector: "adf-boolean-cell" }, { kind: "component", type: JsonCellComponent, selector: "adf-json-cell", inputs: ["editable"] }, { kind: "component", type: AmountCellComponent, selector: "adf-amount-cell", inputs: ["currencyConfig"] }, { kind: "component", type: NumberCellComponent, selector: "adf-number-cell", inputs: ["decimalConfig"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i1$8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "pipe", type: i1.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: FileTypePipe, name: "fileType" }, { kind: "pipe", type: LocalizedDatePipe, name: "adfLocalizedDate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
17052
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: DataTableComponent, isStandalone: true, selector: "adf-datatable", inputs: { data: "data", rows: "rows", sorting: "sorting", columns: "columns", selectionMode: "selectionMode", multiselect: "multiselect", mainTableAction: "mainTableAction", actions: "actions", showMainDatatableActions: "showMainDatatableActions", showProvidedActions: "showProvidedActions", actionsPosition: "actionsPosition", actionsVisibleOnHover: "actionsVisibleOnHover", fallbackThumbnail: "fallbackThumbnail", contextMenu: "contextMenu", rowStyle: "rowStyle", rowStyleClass: "rowStyleClass", showHeader: "showHeader", stickyHeader: "stickyHeader", loading: "loading", noPermission: "noPermission", rowMenuCacheEnabled: "rowMenuCacheEnabled", resolverFn: "resolverFn", allowFiltering: "allowFiltering", isResizingEnabled: "isResizingEnabled", blurOnResize: "blurOnResize", displayCheckboxesOnHover: "displayCheckboxesOnHover", enableDragRows: "enableDragRows" }, outputs: { rowClick: "rowClick", rowDblClick: "rowDblClick", showRowContextMenu: "showRowContextMenu", showRowActionsMenu: "showRowActionsMenu", executeRowAction: "executeRowAction", columnOrderChanged: "columnOrderChanged", columnsWidthChanged: "columnsWidthChanged", selectedItemsCountChanged: "selectedItemsCountChanged", dragDropped: "dragDropped" }, host: { listeners: { "keyup": "onKeydown($event)" }, classAttribute: "adf-datatable" }, queries: [{ propertyName: "columnList", first: true, predicate: DataColumnListComponent, descendants: true }], viewQueries: [{ propertyName: "mainMenuTemplate", first: true, predicate: ["mainMenuTemplate"], descendants: true }, { propertyName: "rowsList", predicate: DataTableRowComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "@if (data) {\n <div\n role=\"grid\"\n class=\"adf-datatable-list\"\n [class.adf-sticky-header]=\"isStickyHeaderEnabled()\"\n [class.adf-datatable--empty]=\"(isEmpty() && !isHeaderVisible()) || loading\"\n [class.adf-datatable--empty--header-visible]=\"isEmpty() && isHeaderVisible()\"\n >\n @if (isHeaderVisible()) {\n <div class=\"adf-datatable-header\" role=\"rowgroup\" [ngClass]=\"{ 'adf-sr-only': !isHeaderVisible() }\">\n <adf-datatable-row\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n [cdkDropListSortPredicate]=\"filterDisabledColumns\"\n data-automation-id=\"datatable-row-header\"\n class=\"adf-datatable-row\"\n role=\"row\"\n >\n <!-- Drag -->\n @if (enableDragRows) {\n <div class=\"adf-datatable-cell-header adf-drag-column\">\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.DRAG' | translate }}</span>\n </div>\n }\n\n <!-- Actions (left) -->\n @if (actions && actionsPosition === 'left') {\n <div class=\"adf-actions-column adf-datatable-cell-header\">\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.ACTIONS' | translate }}</span>\n </div>\n }\n\n <!-- Columns -->\n @if (multiselect) {\n <div class=\"adf-datatable-cell-header adf-datatable-checkbox\">\n <mat-checkbox\n [indeterminate]=\"isSelectAllIndeterminate\"\n [checked]=\"isSelectAllChecked\"\n (change)=\"onSelectAllClick($event)\"\n class=\"adf-checkbox-sr-only\"\n [aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate\"\n [matTooltip]=\"'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate\"\n #tooltip=\"matTooltip\"\n (focusin)=\"tooltip.show()\"\n (focusout)=\"tooltip.hide()\"\n >\n {{ 'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate }}\n </mat-checkbox>\n </div>\n }\n\n @for (col of getVisibleColumns(); track col.key; let lastColumn = $last; let columnIndex = $index) {\n @if (col.title || !showProvidedActions) {\n <div\n class=\"adf-datatable-cell--{{ col.type || 'text' }} {{\n col.cssClass\n }} adf-datatable-cell-header adf-datatable-cell-data\"\n [attr.data-automation-id]=\"'auto_id_' + col.key\"\n [ngClass]=\"{\n 'adf-sortable': col.sortable,\n 'adf-datatable__cursor--pointer': !isResizing,\n 'adf-datatable__header--sorted-asc': isColumnSorted(col, 'asc'),\n 'adf-datatable__header--sorted-desc': isColumnSorted(col, 'desc')\n }\"\n [ngStyle]=\"col.width && !lastColumn && { flex: getFlexValue(col) }\"\n [attr.role]=\"isRepresentationContent(col) ? null : 'columnheader'\"\n [attr.aria-label]=\"\n col.srTitle\n ? (col.srTitle | translate)\n : (col.title | translate) + (col.subtitle ? ' ' + (col.subtitle | translate) : '')\n \"\n [attr.aria-sort]=\"col.sortable ? (getAriaSort(col) | translate) : null\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n (cdkDragStarted)=\"isDraggingHeaderColumn = true\"\n (cdkDragDropped)=\"onDropHeaderColumn($event)\"\n [cdkDragDisabled]=\"!col.draggable\"\n (mouseenter)=\"hoveredHeaderColumnIndex = columnIndex\"\n (mouseleave)=\"hoveredHeaderColumnIndex = -1\"\n adf-drop-zone\n dropTarget=\"header\"\n [dropColumn]=\"col\"\n >\n <div\n adf-resizable\n #resizableElement=\"adf-resizable\"\n [attr.tabindex]=\"col.sortable ? 0 : null\"\n [attr.role]=\"col.sortable ? 'button' : null\"\n [attr.aria-description]=\"\n isColumnSortActive(col) ? (getSortLiveAnnouncement(col) | translate: { string: col.title | translate }) : null\n \"\n [attr.aria-label]=\"\n col.srTitle\n ? (col.srTitle | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.SORT_DEFAULT' | translate) +\n ' ' +\n (col.title | translate) +\n (col.subtitle ? ' ' + (col.subtitle | translate) : '')\n \"\n (click)=\"onColumnHeaderClick(col, $event)\"\n (keyup.enter)=\"onColumnHeaderClick(col, $event)\"\n [coverPadding]=\"10\"\n (resizing)=\"onResizing($event, columnIndex)\"\n (keyboardResizing)=\"onResizing($event, columnIndex)\"\n (resizeStart)=\"resizingColumnIndex = columnIndex\"\n (resizeEnd)=\"onResizingEnd()\"\n [attr.data-automation-id]=\"'auto_header_content_id_' + col.key\"\n class=\"adf-datatable-cell-header-content\"\n [ngClass]=\"{\n 'adf-datatable-cell-header-content--hovered':\n hoveredHeaderColumnIndex === columnIndex && !isDraggingHeaderColumn && !isResizing && col.sortable\n }\"\n >\n @if (!col.header) {\n @if (col.title) {\n <span title=\"{{ col.title | translate }}\" class=\"adf-datatable-cell-value\">\n {{ col.title | translate }}\n </span>\n }\n\n @if (col.subtitle) {\n <span\n title=\"{{ col.subtitle | translate }}\"\n class=\"adf-datatable-cell-value adf-datatable-cell-header_subtitle\"\n >\n ({{ col.subtitle | translate }})\n </span>\n }\n\n @if (col.title && col.sortable && isDraggingHeaderColumn) {\n <span class=\"adf-sr-only\" aria-live=\"polite\">\n {{ getSortLiveAnnouncement(col) | translate: { string: col.title | translate } }}\n </span>\n }\n\n @if (!col.title && !col.sortable && !headerFilterTemplate) {\n <span [attr.title]=\"'ADF-DATATABLE.ACCESSIBILITY.EMPTY_HEADER' | translate\"></span>\n }\n }\n\n @if (col.header) {\n <div class=\"adf-datatable-cell-value\">\n <ng-template [ngTemplateOutlet]=\"col.header\" [ngTemplateOutletContext]=\"{ $implicit: col }\" />\n </div>\n }\n\n <span\n class=\"adf-datatable-cell-header-sort-indicator\"\n [class.adf-datatable__header--sorted-asc]=\"isColumnSorted(col, 'asc')\"\n [class.adf-datatable__header--sorted-desc]=\"isColumnSorted(col, 'desc')\"\n >\n </span>\n\n @if (allowFiltering) {\n <ng-template [ngTemplateOutlet]=\"headerFilterTemplate\" [ngTemplateOutletContext]=\"{ $implicit: col }\" />\n }\n\n @if (col.draggable) {\n <span cdkDragHandle [ngClass]=\"{ 'adf-datatable-cell-header-drag-icon': !isResizing }\">\n @if (hoveredHeaderColumnIndex === columnIndex && !isResizing) {\n <mat-icon\n svgIcon=\"adf:drag_indicator\"\n class=\"adf-datatable-cell-header-drag-icon-visible\"\n [attr.data-automation-id]=\"'adf-datatable-cell-header-drag-icon-' + col.key\"\n aria-hidden=\"true\"\n />\n }\n </span>\n }\n </div>\n @if (isResizingEnabled && col.resizable && !lastColumn) {\n <div\n [ngClass]=\"\n (hoveredHeaderColumnIndex === columnIndex && !isResizing) || resizingColumnIndex === columnIndex\n ? 'adf-datatable__resize-handle-visible'\n : 'adf-datatable__resize-handle-hidden'\n \"\n adf-resize-handle\n tabindex=\"0\"\n role=\"slider\"\n [attr.aria-valuenow]=\"col.width ?? 100\"\n [attr.aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.RESIZE_COLUMN' | translate: { column: col.title | translate }\"\n [attr.aria-valuemin]=\"100\"\n [attr.aria-valuemax]=\"500\"\n (click)=\"$event.stopPropagation()\"\n (keydown)=\"$event.stopPropagation()\"\n class=\"adf-datatable__resize-handle\"\n [resizableContainer]=\"resizableElement\"\n >\n <div class=\"adf-datatable__resize-handle--divider\"></div>\n </div>\n }\n <div class=\"adf-drop-header-cell-placeholder\" *cdkDragPlaceholder></div>\n </div>\n }\n }\n\n <!-- Header actions (right) -->\n @if ((actions && actionsPosition === 'right') || (mainActionTemplate && showMainDatatableActions)) {\n <div\n class=\"adf-actions-column adf-datatable-actions-menu adf-datatable-cell-header adf-datatable__actions-cell\"\n [class.adf-datatable-actions-menu-provided]=\"showProvidedActions\"\n >\n @if (mainActionTemplate) {\n <button\n data-automation-id=\"adf-datatable-main-menu-button\"\n title=\"{{ 'ADF-DATATABLE.CONTENT-ACTIONS.SELECT_COLUMNS' | translate }}\"\n mat-icon-button\n #mainMenuTrigger=\"matMenuTrigger\"\n (click)=\"onMainMenuOpen()\"\n [matMenuTriggerFor]=\"mainMenu\"\n >\n <mat-icon adf-icon=\"view_week_outline\" />\n </button>\n <mat-menu #mainMenu (closed)=\"onMainMenuClosed()\">\n <div #mainMenuTemplate role=\"presentation\" (keydown.tab)=\"$event.stopPropagation()\">\n <ng-container\n [ngTemplateOutlet]=\"mainActionTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: mainMenuTrigger\n }\"\n />\n </div>\n </mat-menu>\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.ACTIONS' | translate }}</span>\n }\n </div>\n }\n </adf-datatable-row>\n </div>\n }\n\n @if (!loading) {\n <div\n class=\"adf-datatable-body\"\n [ngClass]=\"{\n 'adf-blur-datatable-body': blurOnResize && (isDraggingHeaderColumn || isResizing),\n 'adf-datatable-body__draggable': enableDragRows && !isDraggingRow,\n 'adf-datatable-body__dragging': isDraggingRow\n }\"\n cdkDropList\n [cdkDropListDisabled]=\"!enableDragRows\"\n role=\"rowgroup\"\n >\n @if (!noPermission) {\n <adf-datatable-row\n *ngFor=\"let row of data.getRows(); let idx = index\"\n cdkDrag\n [cdkDragDisabled]=\"!enableDragRows\"\n (cdkDragDropped)=\"onDragDrop($event)\"\n (cdkDragStarted)=\"onDragStart()\"\n (cdkDragEnded)=\"onDragEnd()\"\n [cdkDragBoundary]=\"'.adf-datatable-body'\"\n [row]=\"row\"\n (select)=\"onEnterKeyPressed(row, $event)\"\n (keyup)=\"onRowKeyUp(row, $event)\"\n (keydown)=\"onRowEnterKeyDown(row, $event)\"\n [adf-upload]=\"rowAllowsDrop(row)\"\n [adf-upload-data]=\"row\"\n [ngStyle]=\"rowStyle\"\n [ngClass]=\"getRowStyle(row)\"\n [class.adf-datatable-row__dragging]=\"isDraggingRow\"\n [attr.data-automation-id]=\"'datatable-row-' + idx\"\n (contextmenu)=\"markRowAsContextMenuSource(row)\"\n (focus)=\"onRowFocus(idx)\"\n [disabled]=\"!isRowKeyboardNavigable()\"\n [active]=\"isRowActive(idx)\"\n [attr.aria-description]=\"\n (multiselect ? ('ADF-DATATABLE.ACCESSIBILITY.ROW_SELECTION' | translate) : '') +\n (multiselect && enableDragRows ? '. ' : '') +\n (enableDragRows ? ('ADF-DATATABLE.ACCESSIBILITY.DRAGGABLE' | translate) : '')\n \"\n >\n <!-- Drag button -->\n @if (enableDragRows) {\n <div role=\"gridcell\" class=\"adf-datatable-cell adf-datatable__actions-cell adf-datatable-hover-only\">\n <mat-icon adf-icon=\"drag_indicator\" aria-hidden=\"true\" />\n </div>\n }\n\n <!-- Actions (left) -->\n @if (actions && actionsPosition === 'left') {\n <div role=\"gridcell\" class=\"adf-datatable-cell\">\n <button\n mat-icon-button\n [matMenuTriggerFor]=\"menu\"\n #actionsMenuTrigger=\"matMenuTrigger\"\n [ngClass]=\"getHideActionsWithoutHoverClass(actionsMenuTrigger)\"\n [title]=\"'ADF-DATATABLE.CONTENT-ACTIONS.TOOLTIP' | translate\"\n [attr.id]=\"'action_menu_left_' + idx\"\n [attr.data-automation-id]=\"'action_menu_' + idx\"\n >\n <mat-icon adf-icon=\"more_vert\" />\n </button>\n <mat-menu #menu=\"matMenu\">\n @for (action of getRowActions(row); track action.title) {\n <button\n mat-menu-item\n [attr.data-automation-id]=\"action.title\"\n [disabled]=\"action.disabled\"\n (click)=\"onExecuteRowAction(row, action)\"\n >\n @if (action.icon) {\n <mat-icon [adf-icon]=\"action.icon\" />\n }\n <span>{{ action.title | translate }}</span>\n </button>\n }\n </mat-menu>\n </div>\n }\n\n @if (multiselect) {\n <label\n (keydown.enter)=\"onEnterKeyPressed(row, $any($event))\"\n (click)=\"onCheckboxLabelClick(row, $event)\"\n [for]=\"'select-file-' + idx\"\n class=\"adf-datatable-cell adf-datatable-checkbox adf-datatable-checkbox-single\"\n [attr.tabindex]=\"null\"\n aria-hidden=\"true\"\n >\n <mat-checkbox\n [id]=\"'select-file-' + idx\"\n [disabled]=\"!row?.isSelectable\"\n [class.adf-datatable-checkbox-selected]=\"row.isSelected\"\n [class.adf-datatable-hover-only]=\"displayCheckboxesOnHover\"\n [checked]=\"row.isSelected\"\n data-adf-datatable-row-checkbox\n (change)=\"onCheckboxChange(row, $event)\"\n (keydown.enter)=\"$event.stopPropagation()\"\n class=\"adf-checkbox-sr-only\"\n [tabIndex]=\"-1\"\n aria-hidden=\"true\"\n />\n </label>\n\n <!-- Live region for selection state -->\n <span class=\"adf-sr-only\" aria-live=\"off\">\n {{ row.isSelected ? ('ADF-DATATABLE.ACCESSIBILITY.SELECTED' | translate) : '' }}\n </span>\n }\n\n @for (col of getVisibleColumns(); track col.key; let lastColumn = $last) {\n <div\n role=\"gridcell\"\n class=\"adf-datatable-cell adf-datatable-cell--{{ col.type || 'text' }} {{\n col.cssClass\n }} adf-datatable-cell-data adf-datatable-cell--{{ getAutomationValue(row) }}\"\n [attr.title]=\"col.title | translate\"\n [attr.data-automation-id]=\"getAutomationValue(row)\"\n [attr.aria-label]=\"col.title ? (col.title | translate) : null\"\n [attr.aria-hidden]=\"isRepresentationContent(col) ? 'true' : null\"\n (click)=\"onRowClick(row, $event)\"\n [attr.tabindex]=\"null\"\n (keydown.enter)=\"onEnterKeyPressed(row, $any($event))\"\n [adf-context-menu]=\"getContextMenuActions(row, col)\"\n [adf-context-menu-enabled]=\"contextMenu\"\n adf-drop-zone\n dropTarget=\"cell\"\n [dropColumn]=\"col\"\n [dropRow]=\"row\"\n [ngStyle]=\"col.width && !lastColumn && { flex: getFlexValue(col) }\"\n >\n @if (!col.template) {\n <div class=\"adf-datatable-cell-container\">\n @switch (data.getColumnType(row, col)) {\n @case ('image') {\n <div class=\"adf-cell-value\">\n @if (isIconValue(row, col)) {\n <mat-icon\n [attr.aria-label]=\"col.srTitle ? (col.srTitle | translate) : null\"\n [attr.aria-hidden]=\"!asIconValue(row, col)\"\n [adf-icon]=\"asIconValue(row, col)\"\n />\n } @else {\n @if (row.isSelected && !multiselect) {\n <mat-icon class=\"adf-datatable-selected\" svgIcon=\"selected\" />\n } @else {\n <img\n class=\"adf-datatable-center-img-ie\"\n [attr.aria-label]=\"\n (data.getValue(row, col) | fileType) === 'disable'\n ? ('ADF-DATATABLE.ACCESSIBILITY.ICON_DISABLED' | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.ICON_TEXT'\n | translate\n : {\n type:\n 'ADF-DATATABLE.FILE_TYPE.' +\n (data.getValue(row, col) | fileType | uppercase)\n | translate\n })\n \"\n [attr.alt]=\"\n (data.getValue(row, col) | fileType) === 'disable'\n ? ('ADF-DATATABLE.ACCESSIBILITY.ICON_DISABLED' | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.ICON_TEXT'\n | translate\n : {\n type:\n 'ADF-DATATABLE.FILE_TYPE.' +\n (data.getValue(row, col) | fileType | uppercase)\n | translate\n })\n \"\n src=\"{{ data.getValue(row, col) }}\"\n (error)=\"onImageLoadingError($event, row)\"\n />\n }\n }\n </div>\n }\n @case ('icon') {\n <div class=\"adf-cell-value\">\n <adf-icon-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('date') {\n <div\n class=\"adf-cell-value adf-cell-date\"\n [attr.data-automation-id]=\"\n 'date_' + (data.getValue(row, col, resolverFn) | adfLocalizedDate: 'medium')\n \"\n >\n <adf-date-cell\n class=\"adf-datatable-center-date-column-ie\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n [dateConfig]=\"col.dateConfig\"\n />\n </div>\n }\n @case ('location') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'location' + data.getValue(row, col, resolverFn)\"\n >\n <adf-location-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('fileSize') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'fileSize_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-filesize-cell\n class=\"adf-datatable-center-size-column-ie\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('text') {\n <div class=\"adf-cell-value\" [attr.data-automation-id]=\"'text_' + data.getValue(row, col, resolverFn)\">\n <adf-datatable-cell\n [copyContent]=\"col.copyContent\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('boolean') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'boolean_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-boolean-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('json') {\n <div class=\"adf-cell-value\">\n <adf-json-cell\n [editable]=\"col.editable\"\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n />\n </div>\n }\n @case ('amount') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'amount_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-amount-cell\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n [currencyConfig]=\"col.currencyConfig\"\n />\n </div>\n }\n @case ('number') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'number_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-number-cell\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n [decimalConfig]=\"col.decimalConfig\"\n />\n </div>\n }\n @default {\n <span class=\"adf-cell-value\">\n <!-- empty cell for unknown column type -->\n </span>\n }\n }\n </div>\n } @else {\n <div class=\"adf-datatable-cell-container\">\n <div class=\"adf-cell-value\">\n <ng-container\n [ngTemplateOutlet]=\"col.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: { data: data, row: row, col: col },\n value: data.getValue(row, col, resolverFn)\n }\"\n />\n </div>\n </div>\n }\n </div>\n }\n\n <!-- Row actions (right) -->\n @if (!showProvidedActions && ((actions && actionsPosition === 'right') || (mainActionTemplate && showMainDatatableActions))) {\n <div\n role=\"gridcell\"\n class=\"adf-datatable-cell adf-datatable__actions-cell adf-datatable-center-actions-column-ie adf-datatable-actions-menu\"\n >\n @if (actions && actionsPosition === 'right') {\n <button\n mat-icon-button\n [matMenuTriggerFor]=\"menu\"\n #actionsMenuTrigger=\"matMenuTrigger\"\n [ngClass]=\"getHideActionsWithoutHoverClass(actionsMenuTrigger)\"\n [attr.aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.ROW_OPTION_BUTTON' | translate\"\n [title]=\"'ADF-DATATABLE.CONTENT-ACTIONS.TOOLTIP' | translate\"\n [attr.id]=\"'action_menu_right_' + idx\"\n [attr.data-automation-id]=\"'action_menu_' + idx\"\n (keydown.enter)=\"actionsMenuTrigger.openMenu()\"\n >\n <mat-icon adf-icon=\"more_vert\" />\n </button>\n <mat-menu #menu=\"matMenu\">\n @for (action of getRowActions(row); track action.title) {\n <button\n mat-menu-item\n [attr.data-automation-id]=\"action.title\"\n [attr.aria-label]=\"action.title | translate\"\n [disabled]=\"action.disabled\"\n (click)=\"onExecuteRowAction(row, action)\"\n >\n @if (action.icon) {\n <mat-icon [adf-icon]=\"action.icon\" />\n }\n <span>{{ action.title | translate }}</span>\n </button>\n }\n </mat-menu>\n }\n </div>\n }\n </adf-datatable-row>\n @if (isEmpty()) {\n <div role=\"row\" class=\"adf-datatable-row\">\n <div class=\"adf-no-content-container adf-datatable-cell\" role=\"gridcell\">\n @if (noContentTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"noContentTemplate\" />\n }\n <ng-content select=\"adf-empty-list\" />\n </div>\n </div>\n }\n } @else {\n <div role=\"row\" class=\"adf-datatable-row adf-no-permission__row\">\n <div class=\"adf-no-permission__cell adf-no-content-container adf-datatable-cell\">\n @if (noPermissionTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"noPermissionTemplate\" />\n }\n </div>\n </div>\n }\n </div>\n } @else {\n <div class=\"adf-datatable-row adf-datatable-data-loading\">\n <div class=\"adf-no-content-container adf-datatable-cell\">\n @if (loadingTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"loadingTemplate\" />\n }\n </div>\n </div>\n }\n </div>\n}\n", styles: [".adf-datatable{overflow-y:scroll;height:100%;display:block}.adf-datatable .adf-full-width{width:100%}.adf-datatable__resize-handle{padding:0 2px;position:relative}.adf-datatable__resize-handle-visible{visibility:visible;opacity:1}.adf-datatable__resize-handle-hidden{opacity:0}.adf-datatable__resize-handle-hidden:focus,.adf-datatable__resize-handle-hidden:focus-visible,.adf-datatable__resize-handle-hidden:focus-within{opacity:1}.adf-datatable__resize-handle--divider{padding:24px 0;border:1px solid var(--mat-sys-outline-variant)}.adf-datatable__resize-handle:hover{cursor:col-resize}.adf-datatable__resize-handle:focus,.adf-datatable__resize-handle:focus-visible{opacity:1;outline:2px solid var(--mat-sys-primary);outline-offset:-1px}.adf-datatable__resize-handle:focus .adf-datatable__resize-handle--divider,.adf-datatable__resize-handle:focus-visible .adf-datatable__resize-handle--divider{border-color:var(--mat-sys-primary)}.adf-datatable__cursor--pointer:hover{cursor:pointer}.adf-datatable-list,.cdk-drag-preview{display:flex;flex-direction:column;background-color:var(--mat-sys-surface);border:1px solid var(--mat-sys-outline-variant);box-sizing:border-box;overflow-x:auto}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-center-size-column-ie,.cdk-drag-preview .adf-datatable-center-size-column-ie{padding-top:17px}.adf-datatable-list .adf-datatable__actions-cell.adf-datatable-center-actions-column-ie,.cdk-drag-preview .adf-datatable__actions-cell.adf-datatable-center-actions-column-ie{padding-top:7px}.adf-datatable-list .adf-cell-date.adf-datatable-center-date-column-ie,.cdk-drag-preview .adf-cell-date.adf-datatable-center-date-column-ie{position:relative}.adf-datatable-list .adf-cell-date.adf-datatable-center-date-column-ie .adf-datatable-cell-value,.cdk-drag-preview .adf-cell-date.adf-datatable-center-date-column-ie .adf-datatable-cell-value{width:100%}.adf-datatable-list .adf-datatable-center-img-ie,.cdk-drag-preview .adf-datatable-center-img-ie{padding:0;min-width:0;width:24px;height:56px}}.adf-datatable-list .adf-datatable-header,.cdk-drag-preview .adf-datatable-header{display:flex;flex-direction:column;width:fit-content;min-width:100%;box-sizing:border-box}.adf-datatable-list .adf-datatable-header .adf-datatable-row,.cdk-drag-preview .adf-datatable-header .adf-datatable-row{padding-right:15px}.adf-datatable-list .adf-datatable-header .adf-datatable-row:hover,.adf-datatable-list .adf-datatable-header .adf-datatable-row:focus,.cdk-drag-preview .adf-datatable-header .adf-datatable-row:hover,.cdk-drag-preview .adf-datatable-header .adf-datatable-row:focus{background-color:inherit}.adf-datatable-list .adf-datatable-row:not(.adf-datatable-data-loading):hover,.adf-datatable-list .adf-datatable-row:not(.adf-datatable-data-loading):focus,.cdk-drag-preview .adf-datatable-row:not(.adf-datatable-data-loading):hover,.cdk-drag-preview .adf-datatable-row:not(.adf-datatable-data-loading):focus{background-color:var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-row:focus,.cdk-drag-preview .adf-datatable-row:focus{outline-offset:-2px;outline:2px solid var(--mat-sys-primary)}.adf-datatable-list .adf-datatable-row .adf-cell-value:focus,.adf-datatable-list .adf-datatable-row .adf-datatable-cell-header:focus,.cdk-drag-preview .adf-datatable-row .adf-cell-value:focus,.cdk-drag-preview .adf-datatable-row .adf-datatable-cell-header:focus{outline-offset:-2px;outline:2px solid var(--mat-sys-primary)}.adf-datatable-list .adf-blur-datatable-body,.cdk-drag-preview .adf-blur-datatable-body{filter:blur(3px)}.adf-datatable-list .adf-datatable-body,.cdk-drag-preview .adf-datatable-body{display:flex;flex-direction:column;background-color:var(--mat-sys-surface);width:100%;min-width:100%}.adf-datatable-list .adf-datatable-body.adf-datatable-body__draggable,.cdk-drag-preview .adf-datatable-body.adf-datatable-body__draggable{cursor:grab}.adf-datatable-list .adf-datatable-body.adf-datatable-body__dragging,.cdk-drag-preview .adf-datatable-body.adf-datatable-body__dragging{cursor:grabbing}.adf-datatable-list .adf-datatable-body .adf-datatable-row,.cdk-drag-preview .adf-datatable-body .adf-datatable-row{transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:background-color;border-top:1px solid var(--mat-sys-surface-container);min-height:var(--mat-sys-display-large-size);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-is-selected,.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-is-selected:hover,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-is-selected,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-is-selected:hover{background-color:var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-drag-row,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-drag-row{cursor:grab}.adf-datatable-list .adf-datatable-body .adf-datatable-row:last-child,.cdk-drag-preview .adf-datatable-body .adf-datatable-row:last-child{border-bottom:1px solid var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-body .adf-datatable-row label,.cdk-drag-preview .adf-datatable-body .adf-datatable-row label{cursor:inherit}.adf-datatable-list .adf-datatable-row,.cdk-drag-preview .adf-datatable-row{display:flex;align-items:center}.adf-datatable-list .adf-datatable-row:hover .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row:hover .adf-datatable-hover-only{visibility:visible}.adf-datatable-list .adf-datatable-row:focus-within .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row:focus-within .adf-datatable-hover-only{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row .adf-datatable-hover-only{visibility:hidden}.adf-datatable-list .adf-datatable-row .adf-datatable-hover-only.adf-datatable-checkbox-selected,.cdk-drag-preview .adf-datatable-row .adf-datatable-hover-only.adf-datatable-checkbox-selected{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-row .adf-datatable-checkbox{max-width:65px;width:65px}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-row .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-row .adf-datatable-checkbox{padding-top:15px}}.adf-datatable-list .adf-datatable-cell,.adf-datatable-list .adf-datatable-cell-header,.cdk-drag-preview .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell-header{text-align:left;box-sizing:border-box;min-width:65px}.adf-datatable-list .adf-datatable-cell--text,.adf-datatable-list .adf-datatable-cell-header--text,.cdk-drag-preview .adf-datatable-cell--text,.cdk-drag-preview .adf-datatable-cell-header--text{text-align:left;position:relative}.adf-datatable-list .adf-datatable-cell--date,.adf-datatable-list .adf-datatable-cell-header--date,.cdk-drag-preview .adf-datatable-cell--date,.cdk-drag-preview .adf-datatable-cell-header--date{text-align:left}.adf-datatable-list .adf-datatable-cell--number,.adf-datatable-list .adf-datatable-cell-header--number,.cdk-drag-preview .adf-datatable-cell--number,.cdk-drag-preview .adf-datatable-cell-header--number{text-align:right}.adf-datatable-list .adf-datatable-cell--image,.adf-datatable-list .adf-datatable-cell--icon,.adf-datatable-list .adf-datatable-cell-header--image,.adf-datatable-list .adf-datatable-cell-header--icon,.cdk-drag-preview .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable-cell--icon,.cdk-drag-preview .adf-datatable-cell-header--image,.cdk-drag-preview .adf-datatable-cell-header--icon{padding-left:24px;padding-right:24px;width:65px;min-width:65px;text-align:left}.adf-datatable-list .adf-datatable-cell--fileSize,.adf-datatable-list .adf-datatable-cell-header--fileSize,.cdk-drag-preview .adf-datatable-cell--fileSize,.cdk-drag-preview .adf-datatable-cell-header--fileSize{min-width:65px}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-1,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-1,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-1,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-1{flex-grow:1}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-2,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-2,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-2,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-2{flex-grow:2}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-3,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-3,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-3,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-3{flex-grow:3}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-4,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-4,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-4,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-4{flex-grow:4}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-5,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-5,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-5,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-5{flex-grow:5}.adf-datatable-list .adf-datatable-cell-header.adf-no-grow-cell,.adf-datatable-list .adf-datatable-cell.adf-no-grow-cell,.cdk-drag-preview .adf-datatable-cell-header.adf-no-grow-cell,.cdk-drag-preview .adf-datatable-cell.adf-no-grow-cell{flex-grow:0;min-width:100px}.adf-datatable-list .adf-datatable-cell-header.adf-min-width-cell,.adf-datatable-list .adf-datatable-cell.adf-min-width-cell,.cdk-drag-preview .adf-datatable-cell-header.adf-min-width-cell,.cdk-drag-preview .adf-datatable-cell.adf-min-width-cell{min-width:110px}.adf-datatable-list .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell{color:var(--mat-sys-on-surface);min-height:inherit}.adf-datatable-list .adf-datatable-cell,.adf-datatable-list .adf-datatable-cell-header,.cdk-drag-preview .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell-header{flex:1;padding:0;align-items:center;display:flex;align-self:stretch}.adf-datatable-list .adf-datatable-cell:first-child,.adf-datatable-list .adf-datatable-cell-header:first-child,.cdk-drag-preview .adf-datatable-cell:first-child,.cdk-drag-preview .adf-datatable-cell-header:first-child{margin-left:15px;box-sizing:content-box}.adf-datatable-list .adf-datatable-cell.adf-drag-column,.adf-datatable-list .adf-datatable-cell-header.adf-drag-column,.cdk-drag-preview .adf-datatable-cell.adf-drag-column,.cdk-drag-preview .adf-datatable-cell-header.adf-drag-column{flex:0}.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-container,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-container,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-container,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-container{overflow:hidden;min-height:inherit;align-items:center;display:flex;width:100%;padding:0 10px}.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-value,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-value{word-break:break-word;display:block}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-value,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-value{padding:17px 10px 10px}}.adf-datatable-list .adf-datatable-row:focus-within .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.adf-datatable-list .adf-datatable-row:hover .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:focus-within .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:hover .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu{margin-left:auto;justify-content:end;padding-right:15px}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu:focus-visible .adf-datatable-hide-actions-without-hover,.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu:focus-within .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu:focus-visible .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu:focus-within .adf-datatable-hide-actions-without-hover{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu-provided,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu-provided{max-width:100px!important;justify-content:center;padding-right:0}.adf-datatable-list .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-checkbox{display:flex;justify-content:center}.adf-datatable-list .adf-cell-value,.cdk-drag-preview .adf-cell-value{display:flex;min-height:inherit;align-items:center;word-break:break-all;width:100%}.adf-datatable-list .adf-datatable__actions-cell,.adf-datatable-list .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable__actions-cell,.cdk-drag-preview .adf-datatable-cell--image{max-width:65px;display:flex}.adf-datatable-list .adf-datatable__actions-cell .adf-cell-value,.adf-datatable-list .adf-datatable-cell--image .adf-cell-value,.cdk-drag-preview .adf-datatable__actions-cell .adf-cell-value,.cdk-drag-preview .adf-datatable-cell--image .adf-cell-value{width:unset}.adf-datatable-list .adf-datatable-row:not(:hover) .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:not(:hover) .adf-datatable-hide-actions-without-hover{visibility:hidden}.adf-datatable-list .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable-cell--image{max-width:65px}.adf-datatable-list .adf-location-cell a,.cdk-drag-preview .adf-location-cell a{text-decoration:none;color:var(--mat-sys-on-surface)}.adf-datatable-list .adf-location-cell a:hover,.cdk-drag-preview .adf-location-cell a:hover{color:var(--mat-sys-primary);text-decoration:underline}.adf-datatable-list .adf-sr-only,.cdk-drag-preview .adf-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.adf-datatable-list .adf-is-selected,.cdk-drag-preview .adf-is-selected{background:var(--mat-sys-primary-container)}.adf-datatable-list .adf-datatable-link,.cdk-drag-preview .adf-datatable-link{text-decoration:none;color:var(--mat-sys-on-surface)}.adf-datatable-list .adf-datatable-link:hover,.cdk-drag-preview .adf-datatable-link:hover{color:var(--mat-sys-secondary);text-decoration:underline}.adf-datatable-list .adf-dynamic-column .adf-datatable-link:hover,.cdk-drag-preview .adf-dynamic-column .adf-datatable-link:hover{text-decoration:none}.adf-datatable-list .adf-dynamic-column .adf-datatable-link:hover .adf-datatable-cell-value,.cdk-drag-preview .adf-dynamic-column .adf-datatable-link:hover .adf-datatable-cell-value{text-decoration:underline}.adf-datatable-list .adf-ellipsis-cell,.cdk-drag-preview .adf-ellipsis-cell{position:sticky;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.adf-datatable-list .adf-ellipsis-cell.adf-datatable-cell-header,.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell,.cdk-drag-preview .adf-ellipsis-cell.adf-datatable-cell-header,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell{max-width:calc(100% - .1px);overflow:hidden;text-overflow:ellipsis}.adf-datatable-list .adf-ellipsis-cell.adf-datatable-cell-header .adf-datatable-cell-value,.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-ellipsis-cell.adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell .adf-datatable-cell-value{overflow:hidden;text-overflow:ellipsis}.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell{overflow:unset}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-ellipsis-cell .adf-cell-value,.cdk-drag-preview .adf-ellipsis-cell .adf-cell-value{top:100%}}.adf-datatable-list .adf-ellipsis-cell>div:after,.cdk-drag-preview .adf-ellipsis-cell>div:after{content:attr(title);overflow:hidden;height:0;display:block}.adf-datatable-list .adf-no-content-container.adf-datatable-cell,.cdk-drag-preview .adf-no-content-container.adf-datatable-cell{padding:0;border:none;width:100%;justify-content:center}.adf-datatable-list .adf-no-content-container.adf-datatable-cell>img,.cdk-drag-preview .adf-no-content-container.adf-datatable-cell>img{width:100%}.adf-datatable-list .adf-loading-content-container,.cdk-drag-preview .adf-loading-content-container{padding:0;width:100%}.adf-datatable-list .adf-loading-content-container>img,.cdk-drag-preview .adf-loading-content-container>img{width:100%}.adf-datatable-list .adf-no-permission__row:hover,.cdk-drag-preview .adf-no-permission__row:hover{cursor:default;background-color:inherit}.adf-datatable-list .adf-no-permission__cell.adf-datatable-cell,.cdk-drag-preview .adf-no-permission__cell.adf-datatable-cell{padding:0}.adf-datatable-list .adf-hidden,.cdk-drag-preview .adf-hidden{display:none}@media all and (width<=768px){.adf-datatable-list .adf-desktop-only.adf-ellipsis-cell,.cdk-drag-preview .adf-desktop-only.adf-ellipsis-cell{display:none}}@media(device-width<=768px){.adf-datatable-list .adf-desktop-only.adf-ellipsis-cell,.cdk-drag-preview .adf-desktop-only.adf-ellipsis-cell{display:none}}.adf-datatable-cell-header{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:flex;align-items:center;text-overflow:ellipsis;font-weight:700;line-height:24px;letter-spacing:0;min-height:var(--mat-sys-display-large-size);font-size:var(--mat-sys-body-medium-size);box-sizing:border-box}.adf-datatable-cell-header_subtitle{margin-left:3px;opacity:.6}.adf-datatable-cell-header.adf-sortable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;align-items:center}.adf-datatable-cell-header.adf-sortable .adf-datatable-cell-header-sort-indicator{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 24px;min-width:0}.adf-datatable-cell-header .adf-datatable__header--sorted-asc:after,.adf-datatable-cell-header .adf-datatable__header--sorted-desc:after{font-family:Material Icons;font-weight:400;font-style:normal;font-size:var(--mat-sys-headline-small-size);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;word-wrap:normal;font-feature-settings:\"liga\";content:\"\\e5d8\";vertical-align:middle}.adf-datatable-cell-header .adf-datatable__header--sorted-desc:after{content:\"\\e5db\"}.adf-datatable-cell-header .adf-datatable-cell--fileSize.adf-datatable__header--sorted-asc:before,.adf-datatable-cell-header .adf-datatable-cell--fileSize.adf-datatable__header--sorted-desc:before{left:-3px;right:-3px}.adf-datatable-cell-header .adf-datatable-cell-header-content{display:flex;flex-grow:1;align-items:center;margin:0 2px;padding:0 8px}.adf-datatable-cell-header .adf-datatable-cell-header-content .adf-datatable-cell-header-drag-icon-placeholder{padding:0;margin:0}.adf-datatable-cell-header .adf-datatable-cell-header-content--hovered{border-radius:6px}.adf-datatable-cell-header .adf-datatable-cell-header-drag-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;min-width:0;margin-left:auto;cursor:move;margin-right:-.5rem;padding-left:-.5rem}.adf-datatable-cell-header .adf-datatable-cell-header-drag-icon-visible{display:flex}.adf-datatable-cell-header .adf-datatable-cell-value{padding-top:10px;padding-bottom:10px;line-height:24px;word-break:break-word}.adf-drop-header-cell-placeholder{display:flex;flex:1;border:dotted 1px rgba(0,0,0,.25);min-height:55px;transition:transform .25s cubic-bezier(0,0,.2,1)}.adf-datatable-cell-header.adf-ellipsis-cell .adf-datatable-cell-header-content{white-space:nowrap;overflow:hidden}.adf-datatable-cell-header.adf-ellipsis-cell .adf-datatable-cell-header-content--hovered .adf-datatable-cell-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdk-drag-preview{min-height:var(--mat-sys-display-large-size);display:flex;flex-direction:row;align-items:center;box-sizing:unset;border-top:2px solid var(--mat-sys-primary);opacity:1}.cdk-drag-preview.adf-datatable-cell-header{border-radius:6px;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.adf-checkbox-sr-only .mdc-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.adf-sticky-header{border-top:0;height:100%}.adf-sticky-header .adf-datatable-header{display:block;margin-right:0;border-top:1px solid var(--mat-sys-surface-container);border-bottom:1px solid var(--mat-sys-outline-variant)}.adf-sticky-header .adf-datatable-body{display:block;flex:1;overflow:hidden auto;margin-top:-1px}.adf-upload__dragging>div{border-top:1px dashed var(--mat-sys-secondary);border-bottom:1px dashed var(--mat-sys-secondary)}.adf-upload__dragging>div:first-child{border-left:1px dashed var(--mat-sys-secondary)}.adf-upload__dragging>div:last-child{border-right:1px dashed var(--mat-sys-secondary)}.adf-datatable--empty{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0;justify-content:center;align-items:center;height:inherit}.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row{height:100%;border:none}.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row:hover,.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row:focus{background-color:unset;cursor:default}.adf-datatable--empty--header-visible .adf-datatable-header{border:1px solid var(--mat-sys-outline-variant)}.adf-datatable--empty--header-visible .adf-datatable-body{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0;justify-content:center;align-items:center}.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row{height:100%;border:none}.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row:hover,.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row:focus{background-color:unset;cursor:default}@media screen and (width<=380px){.adf-datatable-header{max-height:50%}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: DataTableRowComponent, selector: "adf-datatable-row", inputs: ["row", "disabled", "active"], outputs: ["select"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2$5.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: DropZoneDirective, selector: "[adf-drop-zone]", inputs: ["dropTarget", "dropRow", "dropColumn"] }, { kind: "directive", type: ResizableDirective, selector: "[adf-resizable]", inputs: ["coverPadding"], outputs: ["resizeStart", "resizing", "resizeEnd", "keyboardResizing"], exportAs: ["adf-resizable"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: ResizeHandleDirective, selector: "[adf-resize-handle]", inputs: ["resizableContainer"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$3.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i5.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i1$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[adf-icon]", inputs: ["adf-icon"] }, { kind: "directive", type: UploadDirective, selector: "[adf-upload]", inputs: ["adf-upload", "adf-upload-data", "mode", "multiple", "accept", "directory"] }, { kind: "directive", type: ContextMenuDirective, selector: "[adf-context-menu]", inputs: ["adf-context-menu", "adf-context-menu-enabled"] }, { kind: "component", type: IconCellComponent, selector: "adf-icon-cell" }, { kind: "component", type: DateCellComponent, selector: "adf-date-cell", inputs: ["dateConfig"] }, { kind: "component", type: LocationCellComponent, selector: "adf-location-cell", inputs: ["link"] }, { kind: "component", type: FileSizeCellComponent, selector: "adf-filesize-cell" }, { kind: "component", type: DataTableCellComponent, selector: "adf-datatable-cell", inputs: ["data", "column", "row", "copyContent", "tooltip", "resolverFn"] }, { kind: "component", type: BooleanCellComponent, selector: "adf-boolean-cell" }, { kind: "component", type: JsonCellComponent, selector: "adf-json-cell", inputs: ["editable"] }, { kind: "component", type: AmountCellComponent, selector: "adf-amount-cell", inputs: ["currencyConfig"] }, { kind: "component", type: NumberCellComponent, selector: "adf-number-cell", inputs: ["decimalConfig"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i1$8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "pipe", type: i1.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: FileTypePipe, name: "fileType" }, { kind: "pipe", type: LocalizedDatePipe, name: "adfLocalizedDate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
17000
17053
|
}
|
|
17001
17054
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DataTableComponent, decorators: [{
|
|
17002
17055
|
type: Component,
|
|
@@ -17029,7 +17082,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
17029
17082
|
NumberCellComponent,
|
|
17030
17083
|
MatTooltipModule,
|
|
17031
17084
|
CdkDragPlaceholder
|
|
17032
|
-
], encapsulation: ViewEncapsulation.None, host: { class: 'adf-datatable' }, template: "@if (data) {\n <div\n role=\"grid\"\n class=\"adf-datatable-list\"\n [class.adf-sticky-header]=\"isStickyHeaderEnabled()\"\n [class.adf-datatable--empty]=\"(isEmpty() && !isHeaderVisible()) || loading\"\n [class.adf-datatable--empty--header-visible]=\"isEmpty() && isHeaderVisible()\"\n >\n @if (isHeaderVisible()) {\n <div class=\"adf-datatable-header\" role=\"rowgroup\" [ngClass]=\"{ 'adf-sr-only': !isHeaderVisible() }\">\n <adf-datatable-row\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n [cdkDropListSortPredicate]=\"filterDisabledColumns\"\n data-automation-id=\"datatable-row-header\"\n class=\"adf-datatable-row\"\n role=\"row\"\n >\n <!-- Drag -->\n @if (enableDragRows) {\n <div class=\"adf-datatable-cell-header adf-drag-column\">\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.DRAG' | translate }}</span>\n </div>\n }\n\n <!-- Actions (left) -->\n @if (actions && actionsPosition === 'left') {\n <div class=\"adf-actions-column adf-datatable-cell-header\">\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.ACTIONS' | translate }}</span>\n </div>\n }\n\n <!-- Columns -->\n @if (multiselect) {\n <div class=\"adf-datatable-cell-header adf-datatable-checkbox\">\n <mat-checkbox\n [indeterminate]=\"isSelectAllIndeterminate\"\n [checked]=\"isSelectAllChecked\"\n (change)=\"onSelectAllClick($event)\"\n class=\"adf-checkbox-sr-only\"\n [aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate\"\n [matTooltip]=\"'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate\"\n #tooltip=\"matTooltip\"\n (focusin)=\"tooltip.show()\"\n (focusout)=\"tooltip.hide()\"\n >\n {{ 'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate }}\n </mat-checkbox>\n </div>\n }\n\n @for (col of getVisibleColumns(); track col.key; let lastColumn = $last; let columnIndex = $index) {\n @if (col.title || !showProvidedActions) {\n <div\n class=\"adf-datatable-cell--{{ col.type || 'text' }} {{\n col.cssClass\n }} adf-datatable-cell-header adf-datatable-cell-data\"\n [attr.data-automation-id]=\"'auto_id_' + col.key\"\n [ngClass]=\"{\n 'adf-sortable': col.sortable,\n 'adf-datatable__cursor--pointer': !isResizing,\n 'adf-datatable__header--sorted-asc': isColumnSorted(col, 'asc'),\n 'adf-datatable__header--sorted-desc': isColumnSorted(col, 'desc')\n }\"\n [ngStyle]=\"col.width && !lastColumn && { flex: getFlexValue(col) }\"\n role=\"columnheader\"\n [attr.aria-label]=\"\n col.srTitle\n ? (col.srTitle | translate)\n : (col.title | translate) + (col.subtitle ? ' ' + (col.subtitle | translate) : '')\n \"\n [attr.aria-sort]=\"col.sortable ? (getAriaSort(col) | translate) : null\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n (cdkDragStarted)=\"isDraggingHeaderColumn = true\"\n (cdkDragDropped)=\"onDropHeaderColumn($event)\"\n [cdkDragDisabled]=\"!col.draggable\"\n (mouseenter)=\"hoveredHeaderColumnIndex = columnIndex\"\n (mouseleave)=\"hoveredHeaderColumnIndex = -1\"\n adf-drop-zone\n dropTarget=\"header\"\n [dropColumn]=\"col\"\n >\n <div\n adf-resizable\n #resizableElement=\"adf-resizable\"\n [attr.tabindex]=\"col.sortable ? 0 : null\"\n [attr.role]=\"col.sortable ? 'button' : null\"\n [attr.aria-description]=\"\n isColumnSortActive(col) ? (getSortLiveAnnouncement(col) | translate: { string: col.title | translate }) : null\n \"\n [attr.aria-label]=\"\n col.srTitle\n ? (col.srTitle | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.SORT_DEFAULT' | translate) +\n ' ' +\n (col.title | translate) +\n (col.subtitle ? ' ' + (col.subtitle | translate) : '')\n \"\n (click)=\"onColumnHeaderClick(col, $event)\"\n (keyup.enter)=\"onColumnHeaderClick(col, $event)\"\n [coverPadding]=\"10\"\n (resizing)=\"onResizing($event, columnIndex)\"\n (keyboardResizing)=\"onResizing($event, columnIndex)\"\n (resizeStart)=\"resizingColumnIndex = columnIndex\"\n (resizeEnd)=\"onResizingEnd()\"\n [attr.data-automation-id]=\"'auto_header_content_id_' + col.key\"\n class=\"adf-datatable-cell-header-content\"\n [ngClass]=\"{\n 'adf-datatable-cell-header-content--hovered':\n hoveredHeaderColumnIndex === columnIndex && !isDraggingHeaderColumn && !isResizing && col.sortable\n }\"\n >\n @if (!col.header) {\n @if (col.title) {\n <span title=\"{{ col.title | translate }}\" class=\"adf-datatable-cell-value\">\n {{ col.title | translate }}\n </span>\n }\n\n @if (col.subtitle) {\n <span\n title=\"{{ col.subtitle | translate }}\"\n class=\"adf-datatable-cell-value adf-datatable-cell-header_subtitle\"\n >\n ({{ col.subtitle | translate }})\n </span>\n }\n\n @if (col.title && col.sortable && isDraggingHeaderColumn) {\n <span class=\"adf-sr-only\" aria-live=\"polite\">\n {{ getSortLiveAnnouncement(col) | translate: { string: col.title | translate } }}\n </span>\n }\n\n @if (!col.title && !col.sortable && !headerFilterTemplate) {\n <span [attr.title]=\"'ADF-DATATABLE.ACCESSIBILITY.EMPTY_HEADER' | translate\"></span>\n }\n }\n\n @if (col.header) {\n <div class=\"adf-datatable-cell-value\">\n <ng-template [ngTemplateOutlet]=\"col.header\" [ngTemplateOutletContext]=\"{ $implicit: col }\" />\n </div>\n }\n\n <span\n class=\"adf-datatable-cell-header-sort-indicator\"\n [class.adf-datatable__header--sorted-asc]=\"isColumnSorted(col, 'asc')\"\n [class.adf-datatable__header--sorted-desc]=\"isColumnSorted(col, 'desc')\"\n >\n </span>\n\n @if (allowFiltering) {\n <ng-template [ngTemplateOutlet]=\"headerFilterTemplate\" [ngTemplateOutletContext]=\"{ $implicit: col }\" />\n }\n\n @if (col.draggable) {\n <span cdkDragHandle [ngClass]=\"{ 'adf-datatable-cell-header-drag-icon': !isResizing }\">\n @if (hoveredHeaderColumnIndex === columnIndex && !isResizing) {\n <mat-icon\n svgIcon=\"adf:drag_indicator\"\n class=\"adf-datatable-cell-header-drag-icon-visible\"\n [attr.data-automation-id]=\"'adf-datatable-cell-header-drag-icon-' + col.key\"\n aria-hidden=\"true\"\n />\n }\n </span>\n }\n </div>\n @if (isResizingEnabled && col.resizable && !lastColumn) {\n <div\n [ngClass]=\"\n (hoveredHeaderColumnIndex === columnIndex && !isResizing) || resizingColumnIndex === columnIndex\n ? 'adf-datatable__resize-handle-visible'\n : 'adf-datatable__resize-handle-hidden'\n \"\n adf-resize-handle\n tabindex=\"0\"\n role=\"slider\"\n [attr.aria-valuenow]=\"col.width ?? 100\"\n [attr.aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.RESIZE_COLUMN' | translate: { column: col.title | translate }\"\n [attr.aria-valuemin]=\"100\"\n [attr.aria-valuemax]=\"500\"\n (click)=\"$event.stopPropagation()\"\n (keydown)=\"$event.stopPropagation()\"\n class=\"adf-datatable__resize-handle\"\n [resizableContainer]=\"resizableElement\"\n >\n <div class=\"adf-datatable__resize-handle--divider\"></div>\n </div>\n }\n <div class=\"adf-drop-header-cell-placeholder\" *cdkDragPlaceholder></div>\n </div>\n }\n }\n\n <!-- Header actions (right) -->\n @if ((actions && actionsPosition === 'right') || (mainActionTemplate && showMainDatatableActions)) {\n <div\n class=\"adf-actions-column adf-datatable-actions-menu adf-datatable-cell-header adf-datatable__actions-cell\"\n [class.adf-datatable-actions-menu-provided]=\"showProvidedActions\"\n >\n @if (mainActionTemplate) {\n <button\n data-automation-id=\"adf-datatable-main-menu-button\"\n title=\"{{ 'ADF-DATATABLE.CONTENT-ACTIONS.SELECT_COLUMNS' | translate }}\"\n mat-icon-button\n #mainMenuTrigger=\"matMenuTrigger\"\n (click)=\"onMainMenuOpen()\"\n [matMenuTriggerFor]=\"mainMenu\"\n >\n <mat-icon adf-icon=\"view_week_outline\" />\n </button>\n <mat-menu #mainMenu (closed)=\"onMainMenuClosed()\">\n <div #mainMenuTemplate role=\"presentation\" (keydown.tab)=\"$event.stopPropagation()\">\n <ng-container\n [ngTemplateOutlet]=\"mainActionTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: mainMenuTrigger\n }\"\n />\n </div>\n </mat-menu>\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.ACTIONS' | translate }}</span>\n }\n </div>\n }\n </adf-datatable-row>\n </div>\n }\n\n @if (!loading) {\n <div\n class=\"adf-datatable-body\"\n [ngClass]=\"{\n 'adf-blur-datatable-body': blurOnResize && (isDraggingHeaderColumn || isResizing),\n 'adf-datatable-body__draggable': enableDragRows && !isDraggingRow,\n 'adf-datatable-body__dragging': isDraggingRow\n }\"\n cdkDropList\n [cdkDropListDisabled]=\"!enableDragRows\"\n role=\"rowgroup\"\n >\n @if (!noPermission) {\n <adf-datatable-row\n *ngFor=\"let row of data.getRows(); let idx = index\"\n cdkDrag\n [cdkDragDisabled]=\"!enableDragRows\"\n (cdkDragDropped)=\"onDragDrop($event)\"\n (cdkDragStarted)=\"onDragStart()\"\n (cdkDragEnded)=\"onDragEnd()\"\n [cdkDragBoundary]=\"'.adf-datatable-body'\"\n [row]=\"row\"\n (select)=\"onEnterKeyPressed(row, $event)\"\n (keyup)=\"onRowKeyUp(row, $event)\"\n (keydown)=\"onRowEnterKeyDown(row, $event)\"\n [adf-upload]=\"rowAllowsDrop(row)\"\n [adf-upload-data]=\"row\"\n [ngStyle]=\"rowStyle\"\n [ngClass]=\"getRowStyle(row)\"\n [class.adf-datatable-row__dragging]=\"isDraggingRow\"\n [attr.data-automation-id]=\"'datatable-row-' + idx\"\n (contextmenu)=\"markRowAsContextMenuSource(row)\"\n (focus)=\"onRowFocus(idx)\"\n [disabled]=\"!isRowKeyboardNavigable()\"\n [active]=\"isRowActive(idx)\"\n [attr.aria-description]=\"\n (multiselect ? ('ADF-DATATABLE.ACCESSIBILITY.ROW_SELECTION' | translate) : '') +\n (multiselect && enableDragRows ? '. ' : '') +\n (enableDragRows ? ('ADF-DATATABLE.ACCESSIBILITY.DRAGGABLE' | translate) : '')\n \"\n >\n <!-- Drag button -->\n @if (enableDragRows) {\n <div role=\"gridcell\" class=\"adf-datatable-cell adf-datatable__actions-cell adf-datatable-hover-only\">\n <mat-icon adf-icon=\"drag_indicator\" aria-hidden=\"true\" />\n </div>\n }\n\n <!-- Actions (left) -->\n @if (actions && actionsPosition === 'left') {\n <div role=\"gridcell\" class=\"adf-datatable-cell\">\n <button\n mat-icon-button\n [matMenuTriggerFor]=\"menu\"\n #actionsMenuTrigger=\"matMenuTrigger\"\n [ngClass]=\"getHideActionsWithoutHoverClass(actionsMenuTrigger)\"\n [title]=\"'ADF-DATATABLE.CONTENT-ACTIONS.TOOLTIP' | translate\"\n [attr.id]=\"'action_menu_left_' + idx\"\n [attr.data-automation-id]=\"'action_menu_' + idx\"\n >\n <mat-icon adf-icon=\"more_vert\" />\n </button>\n <mat-menu #menu=\"matMenu\">\n @for (action of getRowActions(row); track action.title) {\n <button\n mat-menu-item\n [attr.data-automation-id]=\"action.title\"\n [disabled]=\"action.disabled\"\n (click)=\"onExecuteRowAction(row, action)\"\n >\n @if (action.icon) {\n <mat-icon [adf-icon]=\"action.icon\" />\n }\n <span>{{ action.title | translate }}</span>\n </button>\n }\n </mat-menu>\n </div>\n }\n\n @if (multiselect) {\n <label\n (keydown.enter)=\"onEnterKeyPressed(row, $any($event))\"\n (click)=\"onCheckboxLabelClick(row, $event)\"\n [for]=\"'select-file-' + idx\"\n class=\"adf-datatable-cell adf-datatable-checkbox adf-datatable-checkbox-single\"\n [attr.tabindex]=\"null\"\n aria-hidden=\"true\"\n >\n <mat-checkbox\n [id]=\"'select-file-' + idx\"\n [disabled]=\"!row?.isSelectable\"\n [class.adf-datatable-checkbox-selected]=\"row.isSelected\"\n [class.adf-datatable-hover-only]=\"displayCheckboxesOnHover\"\n [checked]=\"row.isSelected\"\n data-adf-datatable-row-checkbox\n (change)=\"onCheckboxChange(row, $event)\"\n (keydown.enter)=\"$event.stopPropagation()\"\n class=\"adf-checkbox-sr-only\"\n [tabIndex]=\"-1\"\n aria-hidden=\"true\"\n />\n </label>\n\n <!-- Live region for selection state -->\n <span class=\"adf-sr-only\" aria-live=\"off\">\n {{ row.isSelected ? ('ADF-DATATABLE.ACCESSIBILITY.SELECTED' | translate) : '' }}\n </span>\n }\n\n @for (col of getVisibleColumns(); track col.key; let lastColumn = $last) {\n <div\n role=\"gridcell\"\n class=\"adf-datatable-cell adf-datatable-cell--{{ col.type || 'text' }} {{\n col.cssClass\n }} adf-datatable-cell-data adf-datatable-cell--{{ getAutomationValue(row) }}\"\n [attr.title]=\"col.title | translate\"\n [attr.data-automation-id]=\"getAutomationValue(row)\"\n [attr.aria-label]=\"col.title ? (col.title | translate) : null\"\n [attr.aria-hidden]=\"isRepresentationContent(col) ? 'true' : null\"\n (click)=\"onRowClick(row, $event)\"\n [attr.tabindex]=\"null\"\n (keydown.enter)=\"onEnterKeyPressed(row, $any($event))\"\n [adf-context-menu]=\"getContextMenuActions(row, col)\"\n [adf-context-menu-enabled]=\"contextMenu\"\n adf-drop-zone\n dropTarget=\"cell\"\n [dropColumn]=\"col\"\n [dropRow]=\"row\"\n [ngStyle]=\"col.width && !lastColumn && { flex: getFlexValue(col) }\"\n >\n @if (!col.template) {\n <div class=\"adf-datatable-cell-container\">\n @switch (data.getColumnType(row, col)) {\n @case ('image') {\n <div class=\"adf-cell-value\">\n @if (isIconValue(row, col)) {\n <mat-icon\n [attr.aria-label]=\"col.srTitle ? (col.srTitle | translate) : null\"\n [attr.aria-hidden]=\"!asIconValue(row, col)\"\n [adf-icon]=\"asIconValue(row, col)\"\n />\n } @else {\n @if (row.isSelected && !multiselect) {\n <mat-icon class=\"adf-datatable-selected\" svgIcon=\"selected\" />\n } @else {\n <img\n class=\"adf-datatable-center-img-ie\"\n [attr.aria-label]=\"\n (data.getValue(row, col) | fileType) === 'disable'\n ? ('ADF-DATATABLE.ACCESSIBILITY.ICON_DISABLED' | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.ICON_TEXT'\n | translate\n : {\n type:\n 'ADF-DATATABLE.FILE_TYPE.' +\n (data.getValue(row, col) | fileType | uppercase)\n | translate\n })\n \"\n [attr.alt]=\"\n (data.getValue(row, col) | fileType) === 'disable'\n ? ('ADF-DATATABLE.ACCESSIBILITY.ICON_DISABLED' | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.ICON_TEXT'\n | translate\n : {\n type:\n 'ADF-DATATABLE.FILE_TYPE.' +\n (data.getValue(row, col) | fileType | uppercase)\n | translate\n })\n \"\n src=\"{{ data.getValue(row, col) }}\"\n (error)=\"onImageLoadingError($event, row)\"\n />\n }\n }\n </div>\n }\n @case ('icon') {\n <div class=\"adf-cell-value\">\n <adf-icon-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('date') {\n <div\n class=\"adf-cell-value adf-cell-date\"\n [attr.data-automation-id]=\"\n 'date_' + (data.getValue(row, col, resolverFn) | adfLocalizedDate: 'medium')\n \"\n >\n <adf-date-cell\n class=\"adf-datatable-center-date-column-ie\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n [dateConfig]=\"col.dateConfig\"\n />\n </div>\n }\n @case ('location') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'location' + data.getValue(row, col, resolverFn)\"\n >\n <adf-location-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('fileSize') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'fileSize_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-filesize-cell\n class=\"adf-datatable-center-size-column-ie\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('text') {\n <div class=\"adf-cell-value\" [attr.data-automation-id]=\"'text_' + data.getValue(row, col, resolverFn)\">\n <adf-datatable-cell\n [copyContent]=\"col.copyContent\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('boolean') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'boolean_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-boolean-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('json') {\n <div class=\"adf-cell-value\">\n <adf-json-cell\n [editable]=\"col.editable\"\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n />\n </div>\n }\n @case ('amount') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'amount_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-amount-cell\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n [currencyConfig]=\"col.currencyConfig\"\n />\n </div>\n }\n @case ('number') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'number_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-number-cell\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n [decimalConfig]=\"col.decimalConfig\"\n />\n </div>\n }\n @default {\n <span class=\"adf-cell-value\">\n <!-- empty cell for unknown column type -->\n </span>\n }\n }\n </div>\n } @else {\n <div class=\"adf-datatable-cell-container\">\n <div class=\"adf-cell-value\">\n <ng-container\n [ngTemplateOutlet]=\"col.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: { data: data, row: row, col: col },\n value: data.getValue(row, col, resolverFn)\n }\"\n />\n </div>\n </div>\n }\n </div>\n }\n\n <!-- Row actions (right) -->\n @if (!showProvidedActions && ((actions && actionsPosition === 'right') || (mainActionTemplate && showMainDatatableActions))) {\n <div\n role=\"gridcell\"\n class=\"adf-datatable-cell adf-datatable__actions-cell adf-datatable-center-actions-column-ie adf-datatable-actions-menu\"\n >\n @if (actions && actionsPosition === 'right') {\n <button\n mat-icon-button\n [matMenuTriggerFor]=\"menu\"\n #actionsMenuTrigger=\"matMenuTrigger\"\n [ngClass]=\"getHideActionsWithoutHoverClass(actionsMenuTrigger)\"\n [attr.aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.ROW_OPTION_BUTTON' | translate\"\n [title]=\"'ADF-DATATABLE.CONTENT-ACTIONS.TOOLTIP' | translate\"\n [attr.id]=\"'action_menu_right_' + idx\"\n [attr.data-automation-id]=\"'action_menu_' + idx\"\n (keydown.enter)=\"actionsMenuTrigger.openMenu()\"\n >\n <mat-icon adf-icon=\"more_vert\" />\n </button>\n <mat-menu #menu=\"matMenu\">\n @for (action of getRowActions(row); track action.title) {\n <button\n mat-menu-item\n [attr.data-automation-id]=\"action.title\"\n [attr.aria-label]=\"action.title | translate\"\n [disabled]=\"action.disabled\"\n (click)=\"onExecuteRowAction(row, action)\"\n >\n @if (action.icon) {\n <mat-icon [adf-icon]=\"action.icon\" />\n }\n <span>{{ action.title | translate }}</span>\n </button>\n }\n </mat-menu>\n }\n </div>\n }\n </adf-datatable-row>\n @if (isEmpty()) {\n <div role=\"row\" class=\"adf-datatable-row\">\n <div class=\"adf-no-content-container adf-datatable-cell\" role=\"gridcell\">\n @if (noContentTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"noContentTemplate\" />\n }\n <ng-content select=\"adf-empty-list\" />\n </div>\n </div>\n }\n } @else {\n <div role=\"row\" class=\"adf-datatable-row adf-no-permission__row\">\n <div class=\"adf-no-permission__cell adf-no-content-container adf-datatable-cell\">\n @if (noPermissionTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"noPermissionTemplate\" />\n }\n </div>\n </div>\n }\n </div>\n } @else {\n <div class=\"adf-datatable-row adf-datatable-data-loading\">\n <div class=\"adf-no-content-container adf-datatable-cell\">\n @if (loadingTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"loadingTemplate\" />\n }\n </div>\n </div>\n }\n </div>\n}\n", styles: [".adf-datatable{overflow-y:scroll;height:100%;display:block}.adf-datatable .adf-full-width{width:100%}.adf-datatable__resize-handle{padding:0 2px;position:relative}.adf-datatable__resize-handle-visible{visibility:visible;opacity:1}.adf-datatable__resize-handle-hidden{opacity:0}.adf-datatable__resize-handle-hidden:focus,.adf-datatable__resize-handle-hidden:focus-visible,.adf-datatable__resize-handle-hidden:focus-within{opacity:1}.adf-datatable__resize-handle--divider{padding:24px 0;border:1px solid var(--mat-sys-outline-variant)}.adf-datatable__resize-handle:hover{cursor:col-resize}.adf-datatable__resize-handle:focus,.adf-datatable__resize-handle:focus-visible{opacity:1;outline:2px solid var(--mat-sys-primary);outline-offset:-1px}.adf-datatable__resize-handle:focus .adf-datatable__resize-handle--divider,.adf-datatable__resize-handle:focus-visible .adf-datatable__resize-handle--divider{border-color:var(--mat-sys-primary)}.adf-datatable__cursor--pointer:hover{cursor:pointer}.adf-datatable-list,.cdk-drag-preview{display:flex;flex-direction:column;background-color:var(--mat-sys-surface);border:1px solid var(--mat-sys-outline-variant);box-sizing:border-box;overflow-x:auto}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-center-size-column-ie,.cdk-drag-preview .adf-datatable-center-size-column-ie{padding-top:17px}.adf-datatable-list .adf-datatable__actions-cell.adf-datatable-center-actions-column-ie,.cdk-drag-preview .adf-datatable__actions-cell.adf-datatable-center-actions-column-ie{padding-top:7px}.adf-datatable-list .adf-cell-date.adf-datatable-center-date-column-ie,.cdk-drag-preview .adf-cell-date.adf-datatable-center-date-column-ie{position:relative}.adf-datatable-list .adf-cell-date.adf-datatable-center-date-column-ie .adf-datatable-cell-value,.cdk-drag-preview .adf-cell-date.adf-datatable-center-date-column-ie .adf-datatable-cell-value{width:100%}.adf-datatable-list .adf-datatable-center-img-ie,.cdk-drag-preview .adf-datatable-center-img-ie{padding:0;min-width:0;width:24px;height:56px}}.adf-datatable-list .adf-datatable-header,.cdk-drag-preview .adf-datatable-header{display:flex;flex-direction:column;width:fit-content;min-width:100%;box-sizing:border-box}.adf-datatable-list .adf-datatable-header .adf-datatable-row,.cdk-drag-preview .adf-datatable-header .adf-datatable-row{padding-right:15px}.adf-datatable-list .adf-datatable-header .adf-datatable-row:hover,.adf-datatable-list .adf-datatable-header .adf-datatable-row:focus,.cdk-drag-preview .adf-datatable-header .adf-datatable-row:hover,.cdk-drag-preview .adf-datatable-header .adf-datatable-row:focus{background-color:inherit}.adf-datatable-list .adf-datatable-row:not(.adf-datatable-data-loading):hover,.adf-datatable-list .adf-datatable-row:not(.adf-datatable-data-loading):focus,.cdk-drag-preview .adf-datatable-row:not(.adf-datatable-data-loading):hover,.cdk-drag-preview .adf-datatable-row:not(.adf-datatable-data-loading):focus{background-color:var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-row:focus,.cdk-drag-preview .adf-datatable-row:focus{outline-offset:-2px;outline:2px solid var(--mat-sys-primary)}.adf-datatable-list .adf-datatable-row .adf-cell-value:focus,.adf-datatable-list .adf-datatable-row .adf-datatable-cell-header:focus,.cdk-drag-preview .adf-datatable-row .adf-cell-value:focus,.cdk-drag-preview .adf-datatable-row .adf-datatable-cell-header:focus{outline-offset:-2px;outline:2px solid var(--mat-sys-primary)}.adf-datatable-list .adf-blur-datatable-body,.cdk-drag-preview .adf-blur-datatable-body{filter:blur(3px)}.adf-datatable-list .adf-datatable-body,.cdk-drag-preview .adf-datatable-body{display:flex;flex-direction:column;background-color:var(--mat-sys-surface);width:100%;min-width:100%}.adf-datatable-list .adf-datatable-body.adf-datatable-body__draggable,.cdk-drag-preview .adf-datatable-body.adf-datatable-body__draggable{cursor:grab}.adf-datatable-list .adf-datatable-body.adf-datatable-body__dragging,.cdk-drag-preview .adf-datatable-body.adf-datatable-body__dragging{cursor:grabbing}.adf-datatable-list .adf-datatable-body .adf-datatable-row,.cdk-drag-preview .adf-datatable-body .adf-datatable-row{transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:background-color;border-top:1px solid var(--mat-sys-surface-container);min-height:var(--mat-sys-display-large-size);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-is-selected,.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-is-selected:hover,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-is-selected,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-is-selected:hover{background-color:var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-drag-row,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-drag-row{cursor:grab}.adf-datatable-list .adf-datatable-body .adf-datatable-row:last-child,.cdk-drag-preview .adf-datatable-body .adf-datatable-row:last-child{border-bottom:1px solid var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-body .adf-datatable-row label,.cdk-drag-preview .adf-datatable-body .adf-datatable-row label{cursor:inherit}.adf-datatable-list .adf-datatable-row,.cdk-drag-preview .adf-datatable-row{display:flex;align-items:center}.adf-datatable-list .adf-datatable-row:hover .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row:hover .adf-datatable-hover-only{visibility:visible}.adf-datatable-list .adf-datatable-row:focus-within .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row:focus-within .adf-datatable-hover-only{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row .adf-datatable-hover-only{visibility:hidden}.adf-datatable-list .adf-datatable-row .adf-datatable-hover-only.adf-datatable-checkbox-selected,.cdk-drag-preview .adf-datatable-row .adf-datatable-hover-only.adf-datatable-checkbox-selected{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-row .adf-datatable-checkbox{max-width:65px;width:65px}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-row .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-row .adf-datatable-checkbox{padding-top:15px}}.adf-datatable-list .adf-datatable-cell,.adf-datatable-list .adf-datatable-cell-header,.cdk-drag-preview .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell-header{text-align:left;box-sizing:border-box;min-width:65px}.adf-datatable-list .adf-datatable-cell--text,.adf-datatable-list .adf-datatable-cell-header--text,.cdk-drag-preview .adf-datatable-cell--text,.cdk-drag-preview .adf-datatable-cell-header--text{text-align:left;position:relative}.adf-datatable-list .adf-datatable-cell--date,.adf-datatable-list .adf-datatable-cell-header--date,.cdk-drag-preview .adf-datatable-cell--date,.cdk-drag-preview .adf-datatable-cell-header--date{text-align:left}.adf-datatable-list .adf-datatable-cell--number,.adf-datatable-list .adf-datatable-cell-header--number,.cdk-drag-preview .adf-datatable-cell--number,.cdk-drag-preview .adf-datatable-cell-header--number{text-align:right}.adf-datatable-list .adf-datatable-cell--image,.adf-datatable-list .adf-datatable-cell--icon,.adf-datatable-list .adf-datatable-cell-header--image,.adf-datatable-list .adf-datatable-cell-header--icon,.cdk-drag-preview .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable-cell--icon,.cdk-drag-preview .adf-datatable-cell-header--image,.cdk-drag-preview .adf-datatable-cell-header--icon{padding-left:24px;padding-right:24px;width:65px;min-width:65px;text-align:left}.adf-datatable-list .adf-datatable-cell--fileSize,.adf-datatable-list .adf-datatable-cell-header--fileSize,.cdk-drag-preview .adf-datatable-cell--fileSize,.cdk-drag-preview .adf-datatable-cell-header--fileSize{min-width:65px}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-1,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-1,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-1,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-1{flex-grow:1}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-2,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-2,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-2,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-2{flex-grow:2}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-3,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-3,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-3,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-3{flex-grow:3}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-4,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-4,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-4,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-4{flex-grow:4}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-5,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-5,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-5,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-5{flex-grow:5}.adf-datatable-list .adf-datatable-cell-header.adf-no-grow-cell,.adf-datatable-list .adf-datatable-cell.adf-no-grow-cell,.cdk-drag-preview .adf-datatable-cell-header.adf-no-grow-cell,.cdk-drag-preview .adf-datatable-cell.adf-no-grow-cell{flex-grow:0;min-width:100px}.adf-datatable-list .adf-datatable-cell-header.adf-min-width-cell,.adf-datatable-list .adf-datatable-cell.adf-min-width-cell,.cdk-drag-preview .adf-datatable-cell-header.adf-min-width-cell,.cdk-drag-preview .adf-datatable-cell.adf-min-width-cell{min-width:110px}.adf-datatable-list .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell{color:var(--mat-sys-on-surface);min-height:inherit}.adf-datatable-list .adf-datatable-cell,.adf-datatable-list .adf-datatable-cell-header,.cdk-drag-preview .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell-header{flex:1;padding:0;align-items:center;display:flex;align-self:stretch}.adf-datatable-list .adf-datatable-cell:first-child,.adf-datatable-list .adf-datatable-cell-header:first-child,.cdk-drag-preview .adf-datatable-cell:first-child,.cdk-drag-preview .adf-datatable-cell-header:first-child{margin-left:15px;box-sizing:content-box}.adf-datatable-list .adf-datatable-cell.adf-drag-column,.adf-datatable-list .adf-datatable-cell-header.adf-drag-column,.cdk-drag-preview .adf-datatable-cell.adf-drag-column,.cdk-drag-preview .adf-datatable-cell-header.adf-drag-column{flex:0}.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-container,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-container,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-container,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-container{overflow:hidden;min-height:inherit;align-items:center;display:flex;width:100%;padding:0 10px}.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-value,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-value{word-break:break-word;display:block}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-value,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-value{padding:17px 10px 10px}}.adf-datatable-list .adf-datatable-row:focus-within .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.adf-datatable-list .adf-datatable-row:hover .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:focus-within .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:hover .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu{margin-left:auto;justify-content:end;padding-right:15px}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu:focus-visible .adf-datatable-hide-actions-without-hover,.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu:focus-within .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu:focus-visible .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu:focus-within .adf-datatable-hide-actions-without-hover{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu-provided,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu-provided{max-width:100px!important;justify-content:center;padding-right:0}.adf-datatable-list .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-checkbox{display:flex;justify-content:center}.adf-datatable-list .adf-cell-value,.cdk-drag-preview .adf-cell-value{display:flex;min-height:inherit;align-items:center;word-break:break-all;width:100%}.adf-datatable-list .adf-datatable__actions-cell,.adf-datatable-list .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable__actions-cell,.cdk-drag-preview .adf-datatable-cell--image{max-width:65px;display:flex}.adf-datatable-list .adf-datatable__actions-cell .adf-cell-value,.adf-datatable-list .adf-datatable-cell--image .adf-cell-value,.cdk-drag-preview .adf-datatable__actions-cell .adf-cell-value,.cdk-drag-preview .adf-datatable-cell--image .adf-cell-value{width:unset}.adf-datatable-list .adf-datatable-row:not(:hover) .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:not(:hover) .adf-datatable-hide-actions-without-hover{visibility:hidden}.adf-datatable-list .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable-cell--image{max-width:65px}.adf-datatable-list .adf-location-cell a,.cdk-drag-preview .adf-location-cell a{text-decoration:none;color:var(--mat-sys-on-surface)}.adf-datatable-list .adf-location-cell a:hover,.cdk-drag-preview .adf-location-cell a:hover{color:var(--mat-sys-primary);text-decoration:underline}.adf-datatable-list .adf-sr-only,.cdk-drag-preview .adf-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.adf-datatable-list .adf-is-selected,.cdk-drag-preview .adf-is-selected{background:var(--mat-sys-primary-container)}.adf-datatable-list .adf-datatable-link,.cdk-drag-preview .adf-datatable-link{text-decoration:none;color:var(--mat-sys-on-surface)}.adf-datatable-list .adf-datatable-link:hover,.cdk-drag-preview .adf-datatable-link:hover{color:var(--mat-sys-secondary);text-decoration:underline}.adf-datatable-list .adf-dynamic-column .adf-datatable-link:hover,.cdk-drag-preview .adf-dynamic-column .adf-datatable-link:hover{text-decoration:none}.adf-datatable-list .adf-dynamic-column .adf-datatable-link:hover .adf-datatable-cell-value,.cdk-drag-preview .adf-dynamic-column .adf-datatable-link:hover .adf-datatable-cell-value{text-decoration:underline}.adf-datatable-list .adf-ellipsis-cell,.cdk-drag-preview .adf-ellipsis-cell{position:sticky;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.adf-datatable-list .adf-ellipsis-cell.adf-datatable-cell-header,.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell,.cdk-drag-preview .adf-ellipsis-cell.adf-datatable-cell-header,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell{max-width:calc(100% - .1px);overflow:hidden;text-overflow:ellipsis}.adf-datatable-list .adf-ellipsis-cell.adf-datatable-cell-header .adf-datatable-cell-value,.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-ellipsis-cell.adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell .adf-datatable-cell-value{overflow:hidden;text-overflow:ellipsis}.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell{overflow:unset}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-ellipsis-cell .adf-cell-value,.cdk-drag-preview .adf-ellipsis-cell .adf-cell-value{top:100%}}.adf-datatable-list .adf-ellipsis-cell>div:after,.cdk-drag-preview .adf-ellipsis-cell>div:after{content:attr(title);overflow:hidden;height:0;display:block}.adf-datatable-list .adf-no-content-container.adf-datatable-cell,.cdk-drag-preview .adf-no-content-container.adf-datatable-cell{padding:0;border:none;width:100%;justify-content:center}.adf-datatable-list .adf-no-content-container.adf-datatable-cell>img,.cdk-drag-preview .adf-no-content-container.adf-datatable-cell>img{width:100%}.adf-datatable-list .adf-loading-content-container,.cdk-drag-preview .adf-loading-content-container{padding:0;width:100%}.adf-datatable-list .adf-loading-content-container>img,.cdk-drag-preview .adf-loading-content-container>img{width:100%}.adf-datatable-list .adf-no-permission__row:hover,.cdk-drag-preview .adf-no-permission__row:hover{cursor:default;background-color:inherit}.adf-datatable-list .adf-no-permission__cell.adf-datatable-cell,.cdk-drag-preview .adf-no-permission__cell.adf-datatable-cell{padding:0}.adf-datatable-list .adf-hidden,.cdk-drag-preview .adf-hidden{display:none}@media all and (width<=768px){.adf-datatable-list .adf-desktop-only.adf-ellipsis-cell,.cdk-drag-preview .adf-desktop-only.adf-ellipsis-cell{display:none}}@media(device-width<=768px){.adf-datatable-list .adf-desktop-only.adf-ellipsis-cell,.cdk-drag-preview .adf-desktop-only.adf-ellipsis-cell{display:none}}.adf-datatable-cell-header{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:flex;align-items:center;text-overflow:ellipsis;font-weight:700;line-height:24px;letter-spacing:0;min-height:var(--mat-sys-display-large-size);font-size:var(--mat-sys-body-medium-size);box-sizing:border-box}.adf-datatable-cell-header_subtitle{margin-left:3px;opacity:.6}.adf-datatable-cell-header.adf-sortable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;align-items:center}.adf-datatable-cell-header.adf-sortable .adf-datatable-cell-header-sort-indicator{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 24px;min-width:0}.adf-datatable-cell-header .adf-datatable__header--sorted-asc:after,.adf-datatable-cell-header .adf-datatable__header--sorted-desc:after{font-family:Material Icons;font-weight:400;font-style:normal;font-size:var(--mat-sys-headline-small-size);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;word-wrap:normal;font-feature-settings:\"liga\";content:\"\\e5d8\";vertical-align:middle}.adf-datatable-cell-header .adf-datatable__header--sorted-desc:after{content:\"\\e5db\"}.adf-datatable-cell-header .adf-datatable-cell--fileSize.adf-datatable__header--sorted-asc:before,.adf-datatable-cell-header .adf-datatable-cell--fileSize.adf-datatable__header--sorted-desc:before{left:-3px;right:-3px}.adf-datatable-cell-header .adf-datatable-cell-header-content{display:flex;flex-grow:1;align-items:center;margin:0 2px;padding:0 8px}.adf-datatable-cell-header .adf-datatable-cell-header-content .adf-datatable-cell-header-drag-icon-placeholder{padding:0;margin:0}.adf-datatable-cell-header .adf-datatable-cell-header-content--hovered{border-radius:6px}.adf-datatable-cell-header .adf-datatable-cell-header-drag-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;min-width:0;margin-left:auto;cursor:move;margin-right:-.5rem;padding-left:-.5rem}.adf-datatable-cell-header .adf-datatable-cell-header-drag-icon-visible{display:flex}.adf-datatable-cell-header .adf-datatable-cell-value{padding-top:10px;padding-bottom:10px;line-height:24px;word-break:break-word}.adf-drop-header-cell-placeholder{display:flex;flex:1;border:dotted 1px rgba(0,0,0,.25);min-height:55px;transition:transform .25s cubic-bezier(0,0,.2,1)}.adf-datatable-cell-header.adf-ellipsis-cell .adf-datatable-cell-header-content{white-space:nowrap;overflow:hidden}.adf-datatable-cell-header.adf-ellipsis-cell .adf-datatable-cell-header-content--hovered .adf-datatable-cell-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdk-drag-preview{min-height:var(--mat-sys-display-large-size);display:flex;flex-direction:row;align-items:center;box-sizing:unset;border-top:2px solid var(--mat-sys-primary);opacity:1}.cdk-drag-preview.adf-datatable-cell-header{border-radius:6px;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.adf-checkbox-sr-only .mdc-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.adf-sticky-header{border-top:0;height:100%}.adf-sticky-header .adf-datatable-header{display:block;margin-right:0;border-top:1px solid var(--mat-sys-surface-container);border-bottom:1px solid var(--mat-sys-outline-variant)}.adf-sticky-header .adf-datatable-body{display:block;flex:1;overflow:hidden auto;margin-top:-1px}.adf-upload__dragging>div{border-top:1px dashed var(--mat-sys-secondary);border-bottom:1px dashed var(--mat-sys-secondary)}.adf-upload__dragging>div:first-child{border-left:1px dashed var(--mat-sys-secondary)}.adf-upload__dragging>div:last-child{border-right:1px dashed var(--mat-sys-secondary)}.adf-datatable--empty{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0;justify-content:center;align-items:center;height:inherit}.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row{height:100%;border:none}.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row:hover,.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row:focus{background-color:unset;cursor:default}.adf-datatable--empty--header-visible .adf-datatable-header{border:1px solid var(--mat-sys-outline-variant)}.adf-datatable--empty--header-visible .adf-datatable-body{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0;justify-content:center;align-items:center}.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row{height:100%;border:none}.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row:hover,.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row:focus{background-color:unset;cursor:default}@media screen and (width<=380px){.adf-datatable-header{max-height:50%}}\n"] }]
|
|
17085
|
+
], encapsulation: ViewEncapsulation.None, host: { class: 'adf-datatable' }, template: "@if (data) {\n <div\n role=\"grid\"\n class=\"adf-datatable-list\"\n [class.adf-sticky-header]=\"isStickyHeaderEnabled()\"\n [class.adf-datatable--empty]=\"(isEmpty() && !isHeaderVisible()) || loading\"\n [class.adf-datatable--empty--header-visible]=\"isEmpty() && isHeaderVisible()\"\n >\n @if (isHeaderVisible()) {\n <div class=\"adf-datatable-header\" role=\"rowgroup\" [ngClass]=\"{ 'adf-sr-only': !isHeaderVisible() }\">\n <adf-datatable-row\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n [cdkDropListSortPredicate]=\"filterDisabledColumns\"\n data-automation-id=\"datatable-row-header\"\n class=\"adf-datatable-row\"\n role=\"row\"\n >\n <!-- Drag -->\n @if (enableDragRows) {\n <div class=\"adf-datatable-cell-header adf-drag-column\">\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.DRAG' | translate }}</span>\n </div>\n }\n\n <!-- Actions (left) -->\n @if (actions && actionsPosition === 'left') {\n <div class=\"adf-actions-column adf-datatable-cell-header\">\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.ACTIONS' | translate }}</span>\n </div>\n }\n\n <!-- Columns -->\n @if (multiselect) {\n <div class=\"adf-datatable-cell-header adf-datatable-checkbox\">\n <mat-checkbox\n [indeterminate]=\"isSelectAllIndeterminate\"\n [checked]=\"isSelectAllChecked\"\n (change)=\"onSelectAllClick($event)\"\n class=\"adf-checkbox-sr-only\"\n [aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate\"\n [matTooltip]=\"'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate\"\n #tooltip=\"matTooltip\"\n (focusin)=\"tooltip.show()\"\n (focusout)=\"tooltip.hide()\"\n >\n {{ 'ADF-DATATABLE.ACCESSIBILITY.SELECT_ALL' | translate }}\n </mat-checkbox>\n </div>\n }\n\n @for (col of getVisibleColumns(); track col.key; let lastColumn = $last; let columnIndex = $index) {\n @if (col.title || !showProvidedActions) {\n <div\n class=\"adf-datatable-cell--{{ col.type || 'text' }} {{\n col.cssClass\n }} adf-datatable-cell-header adf-datatable-cell-data\"\n [attr.data-automation-id]=\"'auto_id_' + col.key\"\n [ngClass]=\"{\n 'adf-sortable': col.sortable,\n 'adf-datatable__cursor--pointer': !isResizing,\n 'adf-datatable__header--sorted-asc': isColumnSorted(col, 'asc'),\n 'adf-datatable__header--sorted-desc': isColumnSorted(col, 'desc')\n }\"\n [ngStyle]=\"col.width && !lastColumn && { flex: getFlexValue(col) }\"\n [attr.role]=\"isRepresentationContent(col) ? null : 'columnheader'\"\n [attr.aria-label]=\"\n col.srTitle\n ? (col.srTitle | translate)\n : (col.title | translate) + (col.subtitle ? ' ' + (col.subtitle | translate) : '')\n \"\n [attr.aria-sort]=\"col.sortable ? (getAriaSort(col) | translate) : null\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n (cdkDragStarted)=\"isDraggingHeaderColumn = true\"\n (cdkDragDropped)=\"onDropHeaderColumn($event)\"\n [cdkDragDisabled]=\"!col.draggable\"\n (mouseenter)=\"hoveredHeaderColumnIndex = columnIndex\"\n (mouseleave)=\"hoveredHeaderColumnIndex = -1\"\n adf-drop-zone\n dropTarget=\"header\"\n [dropColumn]=\"col\"\n >\n <div\n adf-resizable\n #resizableElement=\"adf-resizable\"\n [attr.tabindex]=\"col.sortable ? 0 : null\"\n [attr.role]=\"col.sortable ? 'button' : null\"\n [attr.aria-description]=\"\n isColumnSortActive(col) ? (getSortLiveAnnouncement(col) | translate: { string: col.title | translate }) : null\n \"\n [attr.aria-label]=\"\n col.srTitle\n ? (col.srTitle | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.SORT_DEFAULT' | translate) +\n ' ' +\n (col.title | translate) +\n (col.subtitle ? ' ' + (col.subtitle | translate) : '')\n \"\n (click)=\"onColumnHeaderClick(col, $event)\"\n (keyup.enter)=\"onColumnHeaderClick(col, $event)\"\n [coverPadding]=\"10\"\n (resizing)=\"onResizing($event, columnIndex)\"\n (keyboardResizing)=\"onResizing($event, columnIndex)\"\n (resizeStart)=\"resizingColumnIndex = columnIndex\"\n (resizeEnd)=\"onResizingEnd()\"\n [attr.data-automation-id]=\"'auto_header_content_id_' + col.key\"\n class=\"adf-datatable-cell-header-content\"\n [ngClass]=\"{\n 'adf-datatable-cell-header-content--hovered':\n hoveredHeaderColumnIndex === columnIndex && !isDraggingHeaderColumn && !isResizing && col.sortable\n }\"\n >\n @if (!col.header) {\n @if (col.title) {\n <span title=\"{{ col.title | translate }}\" class=\"adf-datatable-cell-value\">\n {{ col.title | translate }}\n </span>\n }\n\n @if (col.subtitle) {\n <span\n title=\"{{ col.subtitle | translate }}\"\n class=\"adf-datatable-cell-value adf-datatable-cell-header_subtitle\"\n >\n ({{ col.subtitle | translate }})\n </span>\n }\n\n @if (col.title && col.sortable && isDraggingHeaderColumn) {\n <span class=\"adf-sr-only\" aria-live=\"polite\">\n {{ getSortLiveAnnouncement(col) | translate: { string: col.title | translate } }}\n </span>\n }\n\n @if (!col.title && !col.sortable && !headerFilterTemplate) {\n <span [attr.title]=\"'ADF-DATATABLE.ACCESSIBILITY.EMPTY_HEADER' | translate\"></span>\n }\n }\n\n @if (col.header) {\n <div class=\"adf-datatable-cell-value\">\n <ng-template [ngTemplateOutlet]=\"col.header\" [ngTemplateOutletContext]=\"{ $implicit: col }\" />\n </div>\n }\n\n <span\n class=\"adf-datatable-cell-header-sort-indicator\"\n [class.adf-datatable__header--sorted-asc]=\"isColumnSorted(col, 'asc')\"\n [class.adf-datatable__header--sorted-desc]=\"isColumnSorted(col, 'desc')\"\n >\n </span>\n\n @if (allowFiltering) {\n <ng-template [ngTemplateOutlet]=\"headerFilterTemplate\" [ngTemplateOutletContext]=\"{ $implicit: col }\" />\n }\n\n @if (col.draggable) {\n <span cdkDragHandle [ngClass]=\"{ 'adf-datatable-cell-header-drag-icon': !isResizing }\">\n @if (hoveredHeaderColumnIndex === columnIndex && !isResizing) {\n <mat-icon\n svgIcon=\"adf:drag_indicator\"\n class=\"adf-datatable-cell-header-drag-icon-visible\"\n [attr.data-automation-id]=\"'adf-datatable-cell-header-drag-icon-' + col.key\"\n aria-hidden=\"true\"\n />\n }\n </span>\n }\n </div>\n @if (isResizingEnabled && col.resizable && !lastColumn) {\n <div\n [ngClass]=\"\n (hoveredHeaderColumnIndex === columnIndex && !isResizing) || resizingColumnIndex === columnIndex\n ? 'adf-datatable__resize-handle-visible'\n : 'adf-datatable__resize-handle-hidden'\n \"\n adf-resize-handle\n tabindex=\"0\"\n role=\"slider\"\n [attr.aria-valuenow]=\"col.width ?? 100\"\n [attr.aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.RESIZE_COLUMN' | translate: { column: col.title | translate }\"\n [attr.aria-valuemin]=\"100\"\n [attr.aria-valuemax]=\"500\"\n (click)=\"$event.stopPropagation()\"\n (keydown)=\"$event.stopPropagation()\"\n class=\"adf-datatable__resize-handle\"\n [resizableContainer]=\"resizableElement\"\n >\n <div class=\"adf-datatable__resize-handle--divider\"></div>\n </div>\n }\n <div class=\"adf-drop-header-cell-placeholder\" *cdkDragPlaceholder></div>\n </div>\n }\n }\n\n <!-- Header actions (right) -->\n @if ((actions && actionsPosition === 'right') || (mainActionTemplate && showMainDatatableActions)) {\n <div\n class=\"adf-actions-column adf-datatable-actions-menu adf-datatable-cell-header adf-datatable__actions-cell\"\n [class.adf-datatable-actions-menu-provided]=\"showProvidedActions\"\n >\n @if (mainActionTemplate) {\n <button\n data-automation-id=\"adf-datatable-main-menu-button\"\n title=\"{{ 'ADF-DATATABLE.CONTENT-ACTIONS.SELECT_COLUMNS' | translate }}\"\n mat-icon-button\n #mainMenuTrigger=\"matMenuTrigger\"\n (click)=\"onMainMenuOpen()\"\n [matMenuTriggerFor]=\"mainMenu\"\n >\n <mat-icon adf-icon=\"view_week_outline\" />\n </button>\n <mat-menu #mainMenu (closed)=\"onMainMenuClosed()\">\n <div #mainMenuTemplate role=\"presentation\" (keydown.tab)=\"$event.stopPropagation()\">\n <ng-container\n [ngTemplateOutlet]=\"mainActionTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: mainMenuTrigger\n }\"\n />\n </div>\n </mat-menu>\n <span class=\"adf-sr-only\">{{ 'ADF-DATATABLE.ACCESSIBILITY.ACTIONS' | translate }}</span>\n }\n </div>\n }\n </adf-datatable-row>\n </div>\n }\n\n @if (!loading) {\n <div\n class=\"adf-datatable-body\"\n [ngClass]=\"{\n 'adf-blur-datatable-body': blurOnResize && (isDraggingHeaderColumn || isResizing),\n 'adf-datatable-body__draggable': enableDragRows && !isDraggingRow,\n 'adf-datatable-body__dragging': isDraggingRow\n }\"\n cdkDropList\n [cdkDropListDisabled]=\"!enableDragRows\"\n role=\"rowgroup\"\n >\n @if (!noPermission) {\n <adf-datatable-row\n *ngFor=\"let row of data.getRows(); let idx = index\"\n cdkDrag\n [cdkDragDisabled]=\"!enableDragRows\"\n (cdkDragDropped)=\"onDragDrop($event)\"\n (cdkDragStarted)=\"onDragStart()\"\n (cdkDragEnded)=\"onDragEnd()\"\n [cdkDragBoundary]=\"'.adf-datatable-body'\"\n [row]=\"row\"\n (select)=\"onEnterKeyPressed(row, $event)\"\n (keyup)=\"onRowKeyUp(row, $event)\"\n (keydown)=\"onRowEnterKeyDown(row, $event)\"\n [adf-upload]=\"rowAllowsDrop(row)\"\n [adf-upload-data]=\"row\"\n [ngStyle]=\"rowStyle\"\n [ngClass]=\"getRowStyle(row)\"\n [class.adf-datatable-row__dragging]=\"isDraggingRow\"\n [attr.data-automation-id]=\"'datatable-row-' + idx\"\n (contextmenu)=\"markRowAsContextMenuSource(row)\"\n (focus)=\"onRowFocus(idx)\"\n [disabled]=\"!isRowKeyboardNavigable()\"\n [active]=\"isRowActive(idx)\"\n [attr.aria-description]=\"\n (multiselect ? ('ADF-DATATABLE.ACCESSIBILITY.ROW_SELECTION' | translate) : '') +\n (multiselect && enableDragRows ? '. ' : '') +\n (enableDragRows ? ('ADF-DATATABLE.ACCESSIBILITY.DRAGGABLE' | translate) : '')\n \"\n >\n <!-- Drag button -->\n @if (enableDragRows) {\n <div role=\"gridcell\" class=\"adf-datatable-cell adf-datatable__actions-cell adf-datatable-hover-only\">\n <mat-icon adf-icon=\"drag_indicator\" aria-hidden=\"true\" />\n </div>\n }\n\n <!-- Actions (left) -->\n @if (actions && actionsPosition === 'left') {\n <div role=\"gridcell\" class=\"adf-datatable-cell\">\n <button\n mat-icon-button\n [matMenuTriggerFor]=\"menu\"\n #actionsMenuTrigger=\"matMenuTrigger\"\n [ngClass]=\"getHideActionsWithoutHoverClass(actionsMenuTrigger)\"\n [title]=\"'ADF-DATATABLE.CONTENT-ACTIONS.TOOLTIP' | translate\"\n [attr.id]=\"'action_menu_left_' + idx\"\n [attr.data-automation-id]=\"'action_menu_' + idx\"\n >\n <mat-icon adf-icon=\"more_vert\" />\n </button>\n <mat-menu #menu=\"matMenu\">\n @for (action of getRowActions(row); track action.title) {\n <button\n mat-menu-item\n [attr.data-automation-id]=\"action.title\"\n [disabled]=\"action.disabled\"\n (click)=\"onExecuteRowAction(row, action)\"\n >\n @if (action.icon) {\n <mat-icon [adf-icon]=\"action.icon\" />\n }\n <span>{{ action.title | translate }}</span>\n </button>\n }\n </mat-menu>\n </div>\n }\n\n @if (multiselect) {\n <label\n (keydown.enter)=\"onEnterKeyPressed(row, $any($event))\"\n (click)=\"onCheckboxLabelClick(row, $event)\"\n [for]=\"'select-file-' + idx\"\n class=\"adf-datatable-cell adf-datatable-checkbox adf-datatable-checkbox-single\"\n [attr.tabindex]=\"null\"\n aria-hidden=\"true\"\n >\n <mat-checkbox\n [id]=\"'select-file-' + idx\"\n [disabled]=\"!row?.isSelectable\"\n [class.adf-datatable-checkbox-selected]=\"row.isSelected\"\n [class.adf-datatable-hover-only]=\"displayCheckboxesOnHover\"\n [checked]=\"row.isSelected\"\n data-adf-datatable-row-checkbox\n (change)=\"onCheckboxChange(row, $event)\"\n (keydown.enter)=\"$event.stopPropagation()\"\n class=\"adf-checkbox-sr-only\"\n [tabIndex]=\"-1\"\n aria-hidden=\"true\"\n />\n </label>\n\n <!-- Live region for selection state -->\n <span class=\"adf-sr-only\" aria-live=\"off\">\n {{ row.isSelected ? ('ADF-DATATABLE.ACCESSIBILITY.SELECTED' | translate) : '' }}\n </span>\n }\n\n @for (col of getVisibleColumns(); track col.key; let lastColumn = $last) {\n <div\n role=\"gridcell\"\n class=\"adf-datatable-cell adf-datatable-cell--{{ col.type || 'text' }} {{\n col.cssClass\n }} adf-datatable-cell-data adf-datatable-cell--{{ getAutomationValue(row) }}\"\n [attr.title]=\"col.title | translate\"\n [attr.data-automation-id]=\"getAutomationValue(row)\"\n [attr.aria-label]=\"col.title ? (col.title | translate) : null\"\n [attr.aria-hidden]=\"isRepresentationContent(col) ? 'true' : null\"\n (click)=\"onRowClick(row, $event)\"\n [attr.tabindex]=\"null\"\n (keydown.enter)=\"onEnterKeyPressed(row, $any($event))\"\n [adf-context-menu]=\"getContextMenuActions(row, col)\"\n [adf-context-menu-enabled]=\"contextMenu\"\n adf-drop-zone\n dropTarget=\"cell\"\n [dropColumn]=\"col\"\n [dropRow]=\"row\"\n [ngStyle]=\"col.width && !lastColumn && { flex: getFlexValue(col) }\"\n >\n @if (!col.template) {\n <div class=\"adf-datatable-cell-container\">\n @switch (data.getColumnType(row, col)) {\n @case ('image') {\n <div class=\"adf-cell-value\">\n @if (isIconValue(row, col)) {\n <mat-icon\n [attr.aria-label]=\"col.srTitle ? (col.srTitle | translate) : null\"\n [attr.aria-hidden]=\"!asIconValue(row, col)\"\n [adf-icon]=\"asIconValue(row, col)\"\n />\n } @else {\n @if (row.isSelected && !multiselect) {\n <mat-icon class=\"adf-datatable-selected\" svgIcon=\"selected\" />\n } @else {\n <img\n class=\"adf-datatable-center-img-ie\"\n [attr.aria-label]=\"\n (data.getValue(row, col) | fileType) === 'disable'\n ? ('ADF-DATATABLE.ACCESSIBILITY.ICON_DISABLED' | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.ICON_TEXT'\n | translate\n : {\n type:\n 'ADF-DATATABLE.FILE_TYPE.' +\n (data.getValue(row, col) | fileType | uppercase)\n | translate\n })\n \"\n [attr.alt]=\"\n (data.getValue(row, col) | fileType) === 'disable'\n ? ('ADF-DATATABLE.ACCESSIBILITY.ICON_DISABLED' | translate)\n : ('ADF-DATATABLE.ACCESSIBILITY.ICON_TEXT'\n | translate\n : {\n type:\n 'ADF-DATATABLE.FILE_TYPE.' +\n (data.getValue(row, col) | fileType | uppercase)\n | translate\n })\n \"\n src=\"{{ data.getValue(row, col) }}\"\n (error)=\"onImageLoadingError($event, row)\"\n />\n }\n }\n </div>\n }\n @case ('icon') {\n <div class=\"adf-cell-value\">\n <adf-icon-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('date') {\n <div\n class=\"adf-cell-value adf-cell-date\"\n [attr.data-automation-id]=\"\n 'date_' + (data.getValue(row, col, resolverFn) | adfLocalizedDate: 'medium')\n \"\n >\n <adf-date-cell\n class=\"adf-datatable-center-date-column-ie\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n [dateConfig]=\"col.dateConfig\"\n />\n </div>\n }\n @case ('location') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'location' + data.getValue(row, col, resolverFn)\"\n >\n <adf-location-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('fileSize') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'fileSize_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-filesize-cell\n class=\"adf-datatable-center-size-column-ie\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('text') {\n <div class=\"adf-cell-value\" [attr.data-automation-id]=\"'text_' + data.getValue(row, col, resolverFn)\">\n <adf-datatable-cell\n [copyContent]=\"col.copyContent\"\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('boolean') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'boolean_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-boolean-cell\n [data]=\"data\"\n [column]=\"col\"\n [row]=\"row\"\n [resolverFn]=\"resolverFn\"\n [tooltip]=\"getCellTooltip(row, col)\"\n />\n </div>\n }\n @case ('json') {\n <div class=\"adf-cell-value\">\n <adf-json-cell\n [editable]=\"col.editable\"\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n />\n </div>\n }\n @case ('amount') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'amount_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-amount-cell\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n [currencyConfig]=\"col.currencyConfig\"\n />\n </div>\n }\n @case ('number') {\n <div\n class=\"adf-cell-value\"\n [attr.data-automation-id]=\"'number_' + data.getValue(row, col, resolverFn)\"\n >\n <adf-number-cell\n [data]=\"data\"\n [column]=\"col\"\n [resolverFn]=\"resolverFn\"\n [row]=\"row\"\n [decimalConfig]=\"col.decimalConfig\"\n />\n </div>\n }\n @default {\n <span class=\"adf-cell-value\">\n <!-- empty cell for unknown column type -->\n </span>\n }\n }\n </div>\n } @else {\n <div class=\"adf-datatable-cell-container\">\n <div class=\"adf-cell-value\">\n <ng-container\n [ngTemplateOutlet]=\"col.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: { data: data, row: row, col: col },\n value: data.getValue(row, col, resolverFn)\n }\"\n />\n </div>\n </div>\n }\n </div>\n }\n\n <!-- Row actions (right) -->\n @if (!showProvidedActions && ((actions && actionsPosition === 'right') || (mainActionTemplate && showMainDatatableActions))) {\n <div\n role=\"gridcell\"\n class=\"adf-datatable-cell adf-datatable__actions-cell adf-datatable-center-actions-column-ie adf-datatable-actions-menu\"\n >\n @if (actions && actionsPosition === 'right') {\n <button\n mat-icon-button\n [matMenuTriggerFor]=\"menu\"\n #actionsMenuTrigger=\"matMenuTrigger\"\n [ngClass]=\"getHideActionsWithoutHoverClass(actionsMenuTrigger)\"\n [attr.aria-label]=\"'ADF-DATATABLE.ACCESSIBILITY.ROW_OPTION_BUTTON' | translate\"\n [title]=\"'ADF-DATATABLE.CONTENT-ACTIONS.TOOLTIP' | translate\"\n [attr.id]=\"'action_menu_right_' + idx\"\n [attr.data-automation-id]=\"'action_menu_' + idx\"\n (keydown.enter)=\"actionsMenuTrigger.openMenu()\"\n >\n <mat-icon adf-icon=\"more_vert\" />\n </button>\n <mat-menu #menu=\"matMenu\">\n @for (action of getRowActions(row); track action.title) {\n <button\n mat-menu-item\n [attr.data-automation-id]=\"action.title\"\n [attr.aria-label]=\"action.title | translate\"\n [disabled]=\"action.disabled\"\n (click)=\"onExecuteRowAction(row, action)\"\n >\n @if (action.icon) {\n <mat-icon [adf-icon]=\"action.icon\" />\n }\n <span>{{ action.title | translate }}</span>\n </button>\n }\n </mat-menu>\n }\n </div>\n }\n </adf-datatable-row>\n @if (isEmpty()) {\n <div role=\"row\" class=\"adf-datatable-row\">\n <div class=\"adf-no-content-container adf-datatable-cell\" role=\"gridcell\">\n @if (noContentTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"noContentTemplate\" />\n }\n <ng-content select=\"adf-empty-list\" />\n </div>\n </div>\n }\n } @else {\n <div role=\"row\" class=\"adf-datatable-row adf-no-permission__row\">\n <div class=\"adf-no-permission__cell adf-no-content-container adf-datatable-cell\">\n @if (noPermissionTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"noPermissionTemplate\" />\n }\n </div>\n </div>\n }\n </div>\n } @else {\n <div class=\"adf-datatable-row adf-datatable-data-loading\">\n <div class=\"adf-no-content-container adf-datatable-cell\">\n @if (loadingTemplate) {\n <ng-template ngFor [ngForOf]=\"[data]\" [ngForTemplate]=\"loadingTemplate\" />\n }\n </div>\n </div>\n }\n </div>\n}\n", styles: [".adf-datatable{overflow-y:scroll;height:100%;display:block}.adf-datatable .adf-full-width{width:100%}.adf-datatable__resize-handle{padding:0 2px;position:relative}.adf-datatable__resize-handle-visible{visibility:visible;opacity:1}.adf-datatable__resize-handle-hidden{opacity:0}.adf-datatable__resize-handle-hidden:focus,.adf-datatable__resize-handle-hidden:focus-visible,.adf-datatable__resize-handle-hidden:focus-within{opacity:1}.adf-datatable__resize-handle--divider{padding:24px 0;border:1px solid var(--mat-sys-outline-variant)}.adf-datatable__resize-handle:hover{cursor:col-resize}.adf-datatable__resize-handle:focus,.adf-datatable__resize-handle:focus-visible{opacity:1;outline:2px solid var(--mat-sys-primary);outline-offset:-1px}.adf-datatable__resize-handle:focus .adf-datatable__resize-handle--divider,.adf-datatable__resize-handle:focus-visible .adf-datatable__resize-handle--divider{border-color:var(--mat-sys-primary)}.adf-datatable__cursor--pointer:hover{cursor:pointer}.adf-datatable-list,.cdk-drag-preview{display:flex;flex-direction:column;background-color:var(--mat-sys-surface);border:1px solid var(--mat-sys-outline-variant);box-sizing:border-box;overflow-x:auto}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-center-size-column-ie,.cdk-drag-preview .adf-datatable-center-size-column-ie{padding-top:17px}.adf-datatable-list .adf-datatable__actions-cell.adf-datatable-center-actions-column-ie,.cdk-drag-preview .adf-datatable__actions-cell.adf-datatable-center-actions-column-ie{padding-top:7px}.adf-datatable-list .adf-cell-date.adf-datatable-center-date-column-ie,.cdk-drag-preview .adf-cell-date.adf-datatable-center-date-column-ie{position:relative}.adf-datatable-list .adf-cell-date.adf-datatable-center-date-column-ie .adf-datatable-cell-value,.cdk-drag-preview .adf-cell-date.adf-datatable-center-date-column-ie .adf-datatable-cell-value{width:100%}.adf-datatable-list .adf-datatable-center-img-ie,.cdk-drag-preview .adf-datatable-center-img-ie{padding:0;min-width:0;width:24px;height:56px}}.adf-datatable-list .adf-datatable-header,.cdk-drag-preview .adf-datatable-header{display:flex;flex-direction:column;width:fit-content;min-width:100%;box-sizing:border-box}.adf-datatable-list .adf-datatable-header .adf-datatable-row,.cdk-drag-preview .adf-datatable-header .adf-datatable-row{padding-right:15px}.adf-datatable-list .adf-datatable-header .adf-datatable-row:hover,.adf-datatable-list .adf-datatable-header .adf-datatable-row:focus,.cdk-drag-preview .adf-datatable-header .adf-datatable-row:hover,.cdk-drag-preview .adf-datatable-header .adf-datatable-row:focus{background-color:inherit}.adf-datatable-list .adf-datatable-row:not(.adf-datatable-data-loading):hover,.adf-datatable-list .adf-datatable-row:not(.adf-datatable-data-loading):focus,.cdk-drag-preview .adf-datatable-row:not(.adf-datatable-data-loading):hover,.cdk-drag-preview .adf-datatable-row:not(.adf-datatable-data-loading):focus{background-color:var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-row:focus,.cdk-drag-preview .adf-datatable-row:focus{outline-offset:-2px;outline:2px solid var(--mat-sys-primary)}.adf-datatable-list .adf-datatable-row .adf-cell-value:focus,.adf-datatable-list .adf-datatable-row .adf-datatable-cell-header:focus,.cdk-drag-preview .adf-datatable-row .adf-cell-value:focus,.cdk-drag-preview .adf-datatable-row .adf-datatable-cell-header:focus{outline-offset:-2px;outline:2px solid var(--mat-sys-primary)}.adf-datatable-list .adf-blur-datatable-body,.cdk-drag-preview .adf-blur-datatable-body{filter:blur(3px)}.adf-datatable-list .adf-datatable-body,.cdk-drag-preview .adf-datatable-body{display:flex;flex-direction:column;background-color:var(--mat-sys-surface);width:100%;min-width:100%}.adf-datatable-list .adf-datatable-body.adf-datatable-body__draggable,.cdk-drag-preview .adf-datatable-body.adf-datatable-body__draggable{cursor:grab}.adf-datatable-list .adf-datatable-body.adf-datatable-body__dragging,.cdk-drag-preview .adf-datatable-body.adf-datatable-body__dragging{cursor:grabbing}.adf-datatable-list .adf-datatable-body .adf-datatable-row,.cdk-drag-preview .adf-datatable-body .adf-datatable-row{transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:background-color;border-top:1px solid var(--mat-sys-surface-container);min-height:var(--mat-sys-display-large-size);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-is-selected,.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-is-selected:hover,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-is-selected,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-is-selected:hover{background-color:var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-body .adf-datatable-row.adf-drag-row,.cdk-drag-preview .adf-datatable-body .adf-datatable-row.adf-drag-row{cursor:grab}.adf-datatable-list .adf-datatable-body .adf-datatable-row:last-child,.cdk-drag-preview .adf-datatable-body .adf-datatable-row:last-child{border-bottom:1px solid var(--mat-sys-surface-container)}.adf-datatable-list .adf-datatable-body .adf-datatable-row label,.cdk-drag-preview .adf-datatable-body .adf-datatable-row label{cursor:inherit}.adf-datatable-list .adf-datatable-row,.cdk-drag-preview .adf-datatable-row{display:flex;align-items:center}.adf-datatable-list .adf-datatable-row:hover .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row:hover .adf-datatable-hover-only{visibility:visible}.adf-datatable-list .adf-datatable-row:focus-within .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row:focus-within .adf-datatable-hover-only{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-hover-only,.cdk-drag-preview .adf-datatable-row .adf-datatable-hover-only{visibility:hidden}.adf-datatable-list .adf-datatable-row .adf-datatable-hover-only.adf-datatable-checkbox-selected,.cdk-drag-preview .adf-datatable-row .adf-datatable-hover-only.adf-datatable-checkbox-selected{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-row .adf-datatable-checkbox{max-width:65px;width:65px}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-row .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-row .adf-datatable-checkbox{padding-top:15px}}.adf-datatable-list .adf-datatable-cell,.adf-datatable-list .adf-datatable-cell-header,.cdk-drag-preview .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell-header{text-align:left;box-sizing:border-box;min-width:65px}.adf-datatable-list .adf-datatable-cell--text,.adf-datatable-list .adf-datatable-cell-header--text,.cdk-drag-preview .adf-datatable-cell--text,.cdk-drag-preview .adf-datatable-cell-header--text{text-align:left;position:relative}.adf-datatable-list .adf-datatable-cell--date,.adf-datatable-list .adf-datatable-cell-header--date,.cdk-drag-preview .adf-datatable-cell--date,.cdk-drag-preview .adf-datatable-cell-header--date{text-align:left}.adf-datatable-list .adf-datatable-cell--number,.adf-datatable-list .adf-datatable-cell-header--number,.cdk-drag-preview .adf-datatable-cell--number,.cdk-drag-preview .adf-datatable-cell-header--number{text-align:right}.adf-datatable-list .adf-datatable-cell--image,.adf-datatable-list .adf-datatable-cell--icon,.adf-datatable-list .adf-datatable-cell-header--image,.adf-datatable-list .adf-datatable-cell-header--icon,.cdk-drag-preview .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable-cell--icon,.cdk-drag-preview .adf-datatable-cell-header--image,.cdk-drag-preview .adf-datatable-cell-header--icon{padding-left:24px;padding-right:24px;width:65px;min-width:65px;text-align:left}.adf-datatable-list .adf-datatable-cell--fileSize,.adf-datatable-list .adf-datatable-cell-header--fileSize,.cdk-drag-preview .adf-datatable-cell--fileSize,.cdk-drag-preview .adf-datatable-cell-header--fileSize{min-width:65px}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-1,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-1,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-1,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-1{flex-grow:1}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-2,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-2,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-2,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-2{flex-grow:2}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-3,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-3,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-3,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-3{flex-grow:3}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-4,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-4,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-4,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-4{flex-grow:4}.adf-datatable-list .adf-datatable-cell-header.adf-expand-cell-5,.adf-datatable-list .adf-datatable-cell.adf-expand-cell-5,.cdk-drag-preview .adf-datatable-cell-header.adf-expand-cell-5,.cdk-drag-preview .adf-datatable-cell.adf-expand-cell-5{flex-grow:5}.adf-datatable-list .adf-datatable-cell-header.adf-no-grow-cell,.adf-datatable-list .adf-datatable-cell.adf-no-grow-cell,.cdk-drag-preview .adf-datatable-cell-header.adf-no-grow-cell,.cdk-drag-preview .adf-datatable-cell.adf-no-grow-cell{flex-grow:0;min-width:100px}.adf-datatable-list .adf-datatable-cell-header.adf-min-width-cell,.adf-datatable-list .adf-datatable-cell.adf-min-width-cell,.cdk-drag-preview .adf-datatable-cell-header.adf-min-width-cell,.cdk-drag-preview .adf-datatable-cell.adf-min-width-cell{min-width:110px}.adf-datatable-list .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell{color:var(--mat-sys-on-surface);min-height:inherit}.adf-datatable-list .adf-datatable-cell,.adf-datatable-list .adf-datatable-cell-header,.cdk-drag-preview .adf-datatable-cell,.cdk-drag-preview .adf-datatable-cell-header{flex:1;padding:0;align-items:center;display:flex;align-self:stretch}.adf-datatable-list .adf-datatable-cell:first-child,.adf-datatable-list .adf-datatable-cell-header:first-child,.cdk-drag-preview .adf-datatable-cell:first-child,.cdk-drag-preview .adf-datatable-cell-header:first-child{margin-left:15px;box-sizing:content-box}.adf-datatable-list .adf-datatable-cell.adf-drag-column,.adf-datatable-list .adf-datatable-cell-header.adf-drag-column,.cdk-drag-preview .adf-datatable-cell.adf-drag-column,.cdk-drag-preview .adf-datatable-cell-header.adf-drag-column{flex:0}.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-container,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-container,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-container,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-container{overflow:hidden;min-height:inherit;align-items:center;display:flex;width:100%;padding:0 10px}.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-value,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-value{word-break:break-word;display:block}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-datatable-cell .adf-datatable-cell-value,.adf-datatable-list .adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-datatable-cell-header .adf-datatable-cell-value{padding:17px 10px 10px}}.adf-datatable-list .adf-datatable-row:focus-within .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.adf-datatable-list .adf-datatable-row:hover .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:focus-within .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:hover .adf-datatable-actions-menu .adf-datatable-hide-actions-without-hover{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu{margin-left:auto;justify-content:end;padding-right:15px}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu:focus-visible .adf-datatable-hide-actions-without-hover,.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu:focus-within .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu:focus-visible .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu:focus-within .adf-datatable-hide-actions-without-hover{visibility:visible}.adf-datatable-list .adf-datatable-row .adf-datatable-actions-menu-provided,.cdk-drag-preview .adf-datatable-row .adf-datatable-actions-menu-provided{max-width:100px!important;justify-content:center;padding-right:0}.adf-datatable-list .adf-datatable-checkbox,.cdk-drag-preview .adf-datatable-checkbox{display:flex;justify-content:center}.adf-datatable-list .adf-cell-value,.cdk-drag-preview .adf-cell-value{display:flex;min-height:inherit;align-items:center;word-break:break-all;width:100%}.adf-datatable-list .adf-datatable__actions-cell,.adf-datatable-list .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable__actions-cell,.cdk-drag-preview .adf-datatable-cell--image{max-width:65px;display:flex}.adf-datatable-list .adf-datatable__actions-cell .adf-cell-value,.adf-datatable-list .adf-datatable-cell--image .adf-cell-value,.cdk-drag-preview .adf-datatable__actions-cell .adf-cell-value,.cdk-drag-preview .adf-datatable-cell--image .adf-cell-value{width:unset}.adf-datatable-list .adf-datatable-row:not(:hover) .adf-datatable-hide-actions-without-hover,.cdk-drag-preview .adf-datatable-row:not(:hover) .adf-datatable-hide-actions-without-hover{visibility:hidden}.adf-datatable-list .adf-datatable-cell--image,.cdk-drag-preview .adf-datatable-cell--image{max-width:65px}.adf-datatable-list .adf-location-cell a,.cdk-drag-preview .adf-location-cell a{text-decoration:none;color:var(--mat-sys-on-surface)}.adf-datatable-list .adf-location-cell a:hover,.cdk-drag-preview .adf-location-cell a:hover{color:var(--mat-sys-primary);text-decoration:underline}.adf-datatable-list .adf-sr-only,.cdk-drag-preview .adf-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.adf-datatable-list .adf-is-selected,.cdk-drag-preview .adf-is-selected{background:var(--mat-sys-primary-container)}.adf-datatable-list .adf-datatable-link,.cdk-drag-preview .adf-datatable-link{text-decoration:none;color:var(--mat-sys-on-surface)}.adf-datatable-list .adf-datatable-link:hover,.cdk-drag-preview .adf-datatable-link:hover{color:var(--mat-sys-secondary);text-decoration:underline}.adf-datatable-list .adf-dynamic-column .adf-datatable-link:hover,.cdk-drag-preview .adf-dynamic-column .adf-datatable-link:hover{text-decoration:none}.adf-datatable-list .adf-dynamic-column .adf-datatable-link:hover .adf-datatable-cell-value,.cdk-drag-preview .adf-dynamic-column .adf-datatable-link:hover .adf-datatable-cell-value{text-decoration:underline}.adf-datatable-list .adf-ellipsis-cell,.cdk-drag-preview .adf-ellipsis-cell{position:sticky;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.adf-datatable-list .adf-ellipsis-cell.adf-datatable-cell-header,.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell,.cdk-drag-preview .adf-ellipsis-cell.adf-datatable-cell-header,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell{max-width:calc(100% - .1px);overflow:hidden;text-overflow:ellipsis}.adf-datatable-list .adf-ellipsis-cell.adf-datatable-cell-header .adf-datatable-cell-value,.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell .adf-datatable-cell-value,.cdk-drag-preview .adf-ellipsis-cell.adf-datatable-cell-header .adf-datatable-cell-value,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell .adf-datatable-cell-value{overflow:hidden;text-overflow:ellipsis}.adf-datatable-list .adf-ellipsis-cell .adf-datatable-content-cell,.cdk-drag-preview .adf-ellipsis-cell .adf-datatable-content-cell{overflow:unset}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.adf-datatable-list .adf-ellipsis-cell .adf-cell-value,.cdk-drag-preview .adf-ellipsis-cell .adf-cell-value{top:100%}}.adf-datatable-list .adf-ellipsis-cell>div:after,.cdk-drag-preview .adf-ellipsis-cell>div:after{content:attr(title);overflow:hidden;height:0;display:block}.adf-datatable-list .adf-no-content-container.adf-datatable-cell,.cdk-drag-preview .adf-no-content-container.adf-datatable-cell{padding:0;border:none;width:100%;justify-content:center}.adf-datatable-list .adf-no-content-container.adf-datatable-cell>img,.cdk-drag-preview .adf-no-content-container.adf-datatable-cell>img{width:100%}.adf-datatable-list .adf-loading-content-container,.cdk-drag-preview .adf-loading-content-container{padding:0;width:100%}.adf-datatable-list .adf-loading-content-container>img,.cdk-drag-preview .adf-loading-content-container>img{width:100%}.adf-datatable-list .adf-no-permission__row:hover,.cdk-drag-preview .adf-no-permission__row:hover{cursor:default;background-color:inherit}.adf-datatable-list .adf-no-permission__cell.adf-datatable-cell,.cdk-drag-preview .adf-no-permission__cell.adf-datatable-cell{padding:0}.adf-datatable-list .adf-hidden,.cdk-drag-preview .adf-hidden{display:none}@media all and (width<=768px){.adf-datatable-list .adf-desktop-only.adf-ellipsis-cell,.cdk-drag-preview .adf-desktop-only.adf-ellipsis-cell{display:none}}@media(device-width<=768px){.adf-datatable-list .adf-desktop-only.adf-ellipsis-cell,.cdk-drag-preview .adf-desktop-only.adf-ellipsis-cell{display:none}}.adf-datatable-cell-header{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:flex;align-items:center;text-overflow:ellipsis;font-weight:700;line-height:24px;letter-spacing:0;min-height:var(--mat-sys-display-large-size);font-size:var(--mat-sys-body-medium-size);box-sizing:border-box}.adf-datatable-cell-header_subtitle{margin-left:3px;opacity:.6}.adf-datatable-cell-header.adf-sortable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;align-items:center}.adf-datatable-cell-header.adf-sortable .adf-datatable-cell-header-sort-indicator{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 24px;min-width:0}.adf-datatable-cell-header .adf-datatable__header--sorted-asc:after,.adf-datatable-cell-header .adf-datatable__header--sorted-desc:after{font-family:Material Icons;font-weight:400;font-style:normal;font-size:var(--mat-sys-headline-small-size);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;word-wrap:normal;font-feature-settings:\"liga\";content:\"\\e5d8\";vertical-align:middle}.adf-datatable-cell-header .adf-datatable__header--sorted-desc:after{content:\"\\e5db\"}.adf-datatable-cell-header .adf-datatable-cell--fileSize.adf-datatable__header--sorted-asc:before,.adf-datatable-cell-header .adf-datatable-cell--fileSize.adf-datatable__header--sorted-desc:before{left:-3px;right:-3px}.adf-datatable-cell-header .adf-datatable-cell-header-content{display:flex;flex-grow:1;align-items:center;margin:0 2px;padding:0 8px}.adf-datatable-cell-header .adf-datatable-cell-header-content .adf-datatable-cell-header-drag-icon-placeholder{padding:0;margin:0}.adf-datatable-cell-header .adf-datatable-cell-header-content--hovered{border-radius:6px}.adf-datatable-cell-header .adf-datatable-cell-header-drag-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;min-width:0;margin-left:auto;cursor:move;margin-right:-.5rem;padding-left:-.5rem}.adf-datatable-cell-header .adf-datatable-cell-header-drag-icon-visible{display:flex}.adf-datatable-cell-header .adf-datatable-cell-value{padding-top:10px;padding-bottom:10px;line-height:24px;word-break:break-word}.adf-drop-header-cell-placeholder{display:flex;flex:1;border:dotted 1px rgba(0,0,0,.25);min-height:55px;transition:transform .25s cubic-bezier(0,0,.2,1)}.adf-datatable-cell-header.adf-ellipsis-cell .adf-datatable-cell-header-content{white-space:nowrap;overflow:hidden}.adf-datatable-cell-header.adf-ellipsis-cell .adf-datatable-cell-header-content--hovered .adf-datatable-cell-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdk-drag-preview{min-height:var(--mat-sys-display-large-size);display:flex;flex-direction:row;align-items:center;box-sizing:unset;border-top:2px solid var(--mat-sys-primary);opacity:1}.cdk-drag-preview.adf-datatable-cell-header{border-radius:6px;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.adf-checkbox-sr-only .mdc-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.adf-sticky-header{border-top:0;height:100%}.adf-sticky-header .adf-datatable-header{display:block;margin-right:0;border-top:1px solid var(--mat-sys-surface-container);border-bottom:1px solid var(--mat-sys-outline-variant)}.adf-sticky-header .adf-datatable-body{display:block;flex:1;overflow:hidden auto;margin-top:-1px}.adf-upload__dragging>div{border-top:1px dashed var(--mat-sys-secondary);border-bottom:1px dashed var(--mat-sys-secondary)}.adf-upload__dragging>div:first-child{border-left:1px dashed var(--mat-sys-secondary)}.adf-upload__dragging>div:last-child{border-right:1px dashed var(--mat-sys-secondary)}.adf-datatable--empty{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0;justify-content:center;align-items:center;height:inherit}.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row{height:100%;border:none}.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row:hover,.adf-datatable--empty .adf-datatable-body[role=rowgroup] .adf-datatable-row:focus{background-color:unset;cursor:default}.adf-datatable--empty--header-visible .adf-datatable-header{border:1px solid var(--mat-sys-outline-variant)}.adf-datatable--empty--header-visible .adf-datatable-body{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0;justify-content:center;align-items:center}.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row{height:100%;border:none}.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row:hover,.adf-datatable--empty--header-visible .adf-datatable-body .adf-datatable-row:focus{background-color:unset;cursor:default}@media screen and (width<=380px){.adf-datatable-header{max-height:50%}}\n"] }]
|
|
17033
17086
|
}], ctorParameters: () => [], propDecorators: { rowsList: [{
|
|
17034
17087
|
type: ViewChildren,
|
|
17035
17088
|
args: [DataTableRowComponent]
|