mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-02 17:35:08 +00:00
* bug fixes * bug fixes * bug fixes * cleanup tests * travis workaround * travis workaround * travis workaround * travis workaround * travis workaround * travis workaround * Revert "travis workaround" This reverts commit b67efccfb0aab8c7f6b9235d01525487771b8123. * Revert "travis workaround" This reverts commit 448f4e6d1211771e914f35183860af6df3452c16. * Revert "travis workaround" This reverts commit 542fae649c0501a9150ccac2e5a2cd54ee39a690. * Revert "travis workaround" This reverts commit 12f58568fbb0f8d2defb4c21a3ab1683bc8aa312. * Revert "travis workaround" This reverts commit b0ffef3bee0f81faf6088be8b5c2b072ad2762e7. * Revert "travis workaround" This reverts commit c6d95a2ff3b38b543fea83d3fc53016ac657b3bb. * service fixes * remove junk tests * code fixes * reduce code complexity * update e2e * update e2e * fix i18n * e2e fixes * bug fixes * rebase and fix * properly serialize query params * rework process filters demo * remove dead code * code fixes * code fixes * e2e improvements * fix bug and remove e2e testing a bug * bug fixes for date ranges * fix e2e * fix unit test * reusable code * fix flaky e2e * fix angular cli version * remove useless e2e (already tested by unit tests) * remove useless e2e (already tested by unit tests) * demo shell fixes * remove fit * disable flaky test * update code as per review suggestions * fix after rebase * fix after rebase
115 lines
4.0 KiB
TypeScript
115 lines
4.0 KiB
TypeScript
/*!
|
|
* @license
|
|
* Copyright 2019 Alfresco Software, Ltd.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
export class TaskListCloudConfiguration {
|
|
|
|
constructor() {
|
|
}
|
|
|
|
getConfiguration() {
|
|
return {
|
|
'presets': {
|
|
'default': [
|
|
{
|
|
'key': 'id',
|
|
'type': 'text',
|
|
'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.ID',
|
|
'sortable': true
|
|
},
|
|
{
|
|
'key': 'name',
|
|
'type': 'text',
|
|
'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.NAME',
|
|
'sortable': true,
|
|
'cssClass': 'full-width name-column ellipsis-cell'
|
|
},
|
|
{
|
|
'key': 'processDefinitionId',
|
|
'type': 'text',
|
|
'title': 'ADF_CLOUD_EDIT_TASK_FILTER.LABEL.PROCESS_DEF_ID',
|
|
'sortable': true,
|
|
'cssClass': 'full-width name-column ellipsis-cell'
|
|
},
|
|
{
|
|
'key': 'processInstanceId',
|
|
'type': 'text',
|
|
'title': 'ADF_CLOUD_EDIT_TASK_FILTER.LABEL.PROCESS_INSTANCE_ID',
|
|
'sortable': true,
|
|
'cssClass': 'full-width name-column ellipsis-cell'
|
|
},
|
|
{
|
|
'key': 'status',
|
|
'type': 'text',
|
|
'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.STATUS',
|
|
'sortable': true
|
|
},
|
|
{
|
|
'key': 'priority',
|
|
'type': 'text',
|
|
'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY',
|
|
'sortable': true
|
|
},
|
|
{
|
|
'key': 'createdDate',
|
|
'type': 'date',
|
|
'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.CREATED_DATE',
|
|
'sortable': true,
|
|
'format': 'timeAgo'
|
|
},
|
|
{
|
|
'key': 'lastModified',
|
|
'type': 'date',
|
|
'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.LAST_MODIFIED',
|
|
'sortable': true,
|
|
'format': 'timeAgo'
|
|
},
|
|
{
|
|
'key': 'assignee',
|
|
'type': 'text',
|
|
'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.ASSIGNEE',
|
|
'sortable': true
|
|
},
|
|
{
|
|
'key': 'parentTaskId',
|
|
'type': 'text',
|
|
'title': 'ADF_CLOUD_EDIT_TASK_FILTER.LABEL.PARENT_TASK_ID',
|
|
'sortable': true
|
|
},
|
|
{
|
|
'key': 'priority',
|
|
'type': 'text',
|
|
'title': 'ADF_CLOUD_EDIT_TASK_FILTER.LABEL.PRIORITY',
|
|
'sortable': true
|
|
},
|
|
{
|
|
'key': 'standalone',
|
|
'type': 'text',
|
|
'title': 'ADF_CLOUD_EDIT_TASK_FILTER.LABEL.STAND_ALONE',
|
|
'sortable': true
|
|
},
|
|
{
|
|
'key': 'owner',
|
|
'type': 'text',
|
|
'title': 'ADF_CLOUD_EDIT_TASK_FILTER.LABEL.OWNER',
|
|
'sortable': true
|
|
}
|
|
]
|
|
}
|
|
};
|
|
}
|
|
}
|