mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
document list extensions (demo shell) (#4511)
* doclist extensibility test page * desktopOnly support * extensions category, custom column * update code * Fix styling for column templates * update package lock
This commit is contained in:
committed by
Eugenio Romano
parent
49847bf809
commit
b51fc8a7d2
@@ -10,6 +10,54 @@
|
||||
"features": {
|
||||
"viewer": {
|
||||
"content": []
|
||||
},
|
||||
|
||||
"documentList": {
|
||||
"files": [
|
||||
{
|
||||
"id": "app.files.thumbnail",
|
||||
"key": "$thumbnail",
|
||||
"type": "image",
|
||||
"sortable": false,
|
||||
"desktopOnly": false
|
||||
},
|
||||
{
|
||||
"id": "app.files.name",
|
||||
"key": "name",
|
||||
"title": "Name",
|
||||
"type": "text",
|
||||
"class": "adf-ellipsis-cell adf-expand-cell-5",
|
||||
"sortable": true,
|
||||
"template": "app.columns.name",
|
||||
"desktopOnly": false
|
||||
},
|
||||
{
|
||||
"id": "app.files.size",
|
||||
"key": "content.sizeInBytes",
|
||||
"title": "Size",
|
||||
"type": "fileSize",
|
||||
"sortable": true,
|
||||
"desktopOnly": true
|
||||
},
|
||||
{
|
||||
"id": "app.files.modifiedOn",
|
||||
"key": "modifiedAt",
|
||||
"title": "Modified on",
|
||||
"type": "date",
|
||||
"format": "timeAgo",
|
||||
"sortable": true,
|
||||
"desktopOnly": true
|
||||
},
|
||||
{
|
||||
"id": "app.files.modifiedBy",
|
||||
"key": "modifiedByUser.displayName",
|
||||
"title": "Modified by",
|
||||
"type": "text",
|
||||
"class": "adf-ellipsis-cell",
|
||||
"sortable": true,
|
||||
"desktopOnly": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user