mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
54 lines
2.0 KiB
HTML
54 lines
2.0 KiB
HTML
<adf-document-menu-action
|
|
*ngIf="creationMenuActions"
|
|
[folderId]="currentFolderId"
|
|
(success)="onActionMenuSuccess($event)"
|
|
(error)="onActionMenuError($event)"
|
|
(permissionErrorEvent)="onPermissionError($event)">
|
|
</adf-document-menu-action>
|
|
<adf-datatable
|
|
[selectionMode]="selectionMode"
|
|
[data]="data"
|
|
[actions]="contentActions"
|
|
[actionsPosition]="contentActionsPosition"
|
|
[multiselect]="multiselect"
|
|
[allowDropFiles]="allowDropFiles"
|
|
[contextMenu]="contextMenuActions"
|
|
[rowStyle]="rowStyle"
|
|
[rowStyleClass]="rowStyleClass"
|
|
[loading]="loading"
|
|
(showRowContextMenu)="onShowRowContextMenu($event)"
|
|
(showRowActionsMenu)="onShowRowActionsMenu($event)"
|
|
(executeRowAction)="onExecuteRowAction($event)"
|
|
(rowClick)="onRowClick($event)"
|
|
(rowDblClick)="onRowDblClick($event)">
|
|
<div *ngIf="!isEmptyTemplateDefined()">
|
|
<no-content-template>
|
|
<ng-template>
|
|
<adf-empty-list
|
|
emptyMsg="ADF-DOCUMENT-LIST.EMPTY.HEADER">
|
|
</adf-empty-list>
|
|
</ng-template>
|
|
</no-content-template>
|
|
</div>
|
|
<div>
|
|
<loading-content-template>
|
|
<ng-template>
|
|
<div class="adf-document-list-loading-container">
|
|
<md-progress-spinner id="adf-document-list-loading"
|
|
class="adf-document-list-loading-margin"
|
|
[color]="'primary'"
|
|
[mode]="'indeterminate'">
|
|
</md-progress-spinner>
|
|
</div>
|
|
</ng-template>
|
|
</loading-content-template>
|
|
</div>
|
|
</adf-datatable>
|
|
<adf-pagination *ngIf="isPaginationEnabled()"
|
|
(changePageSize)="onChangePageSize($event)"
|
|
(nextPage)="onNextPage($event)"
|
|
(prevPage)="onPrevPage($event)"
|
|
[pagination]="pagination"
|
|
[supportedPageSizes]="[5, 10, 15, 20]">
|
|
</adf-pagination>
|