mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
* [ADF-1466] Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error * Added directives for the custom tags * Replaced empty list tags with new directives * Removed CUSTOM_ELEMENTS_SCHEMA document-list, task-list and process-list * Handled empty attachment list sceeenario in attachment list * [ADF-1466] Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error * Added tests for disabled and non empty attachments scenario
30 lines
1.1 KiB
TypeScript
30 lines
1.1 KiB
TypeScript
/*!
|
|
* @license
|
|
* Copyright 2016 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.
|
|
*/
|
|
|
|
import { Component, Directive } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'adf-empty-list',
|
|
styleUrls: ['./empty-list.component.scss'],
|
|
templateUrl: './empty-list.component.html'
|
|
})
|
|
export class EmptyListComponent {}
|
|
|
|
@Directive({ selector: '[adf-empty-list-header]' }) export class EmptyListHeaderDirective {}
|
|
@Directive({ selector: '[adf-empty-list-body]' }) export class EmptyListBodyDirective {}
|
|
@Directive({ selector: '[adf-empty-list-footer]' }) export class EmptyListFooterDirective {}
|