mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
fix build
This commit is contained in:
@@ -97,11 +97,6 @@
|
||||
"
|
||||
(click)="onColumnHeaderClick(col, $event)"
|
||||
(keyup.enter)="onColumnHeaderClick(col, $event)"
|
||||
[coverPadding]="10"
|
||||
(resizing)="onResizing($event, columnIndex)"
|
||||
(keyboardResizing)="onResizing($event, columnIndex)"
|
||||
(resizeStart)="resizingColumnIndex = columnIndex"
|
||||
(resizeEnd)="onResizingEnd()"
|
||||
[attr.data-automation-id]="'auto_header_content_id_' + col.key"
|
||||
class="adf-datatable-cell-header-content"
|
||||
[ngClass]="{
|
||||
@@ -166,27 +161,6 @@
|
||||
</span>
|
||||
}
|
||||
</div>
|
||||
@if (isResizingEnabled && col.resizable && !lastColumn) {
|
||||
<div
|
||||
[ngClass]="
|
||||
(hoveredHeaderColumnIndex === columnIndex && !isResizing) || resizingColumnIndex === columnIndex
|
||||
? 'adf-datatable__resize-handle-visible'
|
||||
: 'adf-datatable__resize-handle-hidden'
|
||||
"
|
||||
adf-resize-handle
|
||||
tabindex="0"
|
||||
role="slider"
|
||||
[attr.aria-valuenow]="col.width ?? 100"
|
||||
[attr.aria-label]="'ADF-DATATABLE.ACCESSIBILITY.RESIZE_COLUMN' | translate: { column: col.title | translate }"
|
||||
[attr.aria-valuemin]="100"
|
||||
[attr.aria-valuemax]="500"
|
||||
(click)="$event.stopPropagation()"
|
||||
(keydown)="$event.stopPropagation()"
|
||||
class="adf-datatable__resize-handle"
|
||||
>
|
||||
<div class="adf-datatable__resize-handle--divider"></div>
|
||||
</div>
|
||||
}
|
||||
<div class="adf-drop-header-cell-placeholder" *cdkDragPlaceholder></div>
|
||||
</div>
|
||||
}
|
||||
|
||||
@@ -65,8 +65,6 @@ import { CommonModule } from '@angular/common';
|
||||
import { TranslatePipe } from '@ngx-translate/core';
|
||||
import { FileTypePipe, LocalizedDatePipe } from '../../../pipes';
|
||||
import { DropZoneDirective } from '../../directives/drop-zone.directive';
|
||||
import { ResizableDirective } from '../../directives/resizable/resizable.directive';
|
||||
import { ResizeHandleDirective } from '../../directives/resizable/resize-handle.directive';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { UploadDirective } from '../../../directives';
|
||||
import { ContextMenuDirective } from '../../../context-menu';
|
||||
@@ -101,9 +99,7 @@ export type ShowHeaderMode = (typeof ShowHeaderMode)[keyof typeof ShowHeaderMode
|
||||
MatCheckboxModule,
|
||||
CdkDrag,
|
||||
DropZoneDirective,
|
||||
ResizableDirective,
|
||||
CdkDragHandle,
|
||||
ResizeHandleDirective,
|
||||
MatButtonModule,
|
||||
MatMenuModule,
|
||||
IconModule,
|
||||
|
||||
Reference in New Issue
Block a user