[ADF-1344] New Custom Loading Content Directive for Datatable Component (#4156)

* [ADF-1344] New Custom Loading Content Directive for Datatable Component

* [ADF-1344] Add unit tests for directives on Document List

* [ADF-1344] Add directive prefix to context-menu directive

* [ADF-1344] Old directive selectors have been put back

* [ADF-1344] Add old selector for empty-content directive
This commit is contained in:
davidcanonieto
2019-01-25 12:15:28 +00:00
committed by Eugenio Romano
parent 5887fa1052
commit 1c25b50b1a
115 changed files with 604 additions and 489 deletions

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-alfresco-publish'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-alfresco-publish, raphael-icon-alfresco-publish'})
export class RaphaelIconAlfrescoPublishDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-box-publish'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-box-publish, raphael-icon-box-publish'})
export class RaphaelIconBoxPublishDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-business-rule'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-business-rule, raphael-icon-business-rule'})
export class RaphaelIconBusinessRuleDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-camel'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-camel, raphael-icon-camel'})
export class RaphaelIconCamelDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-error'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-error, raphael-icon-error'})
export class RaphaelIconErrorDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-google-drive-publish'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-google-drive-publish, raphael-icon-google-drive-publish'})
export class RaphaelIconGoogleDrivePublishDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-manual'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-manual, raphael-icon-manual'})
export class RaphaelIconManualDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-message'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-message, raphael-icon-message'})
export class RaphaelIconMessageDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-mule'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-mule, raphael-icon-mule'})
export class RaphaelIconMuleDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-receive'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-receive, raphael-icon-receive'})
export class RaphaelIconReceiveDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-rest-call'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-rest-call, raphael-icon-rest-call'})
export class RaphaelIconRestCallDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-script'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-script, raphael-icon-script'})
export class RaphaelIconScriptDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-send'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-send, raphael-icon-send'})
export class RaphaelIconSendDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-service'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-service, raphael-icon-service'})
export class RaphaelIconServiceDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-signal'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-signal, raphael-icon-signal'})
export class RaphaelIconSignalDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-timer'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-timer, raphael-icon-timer'})
export class RaphaelIconTimerDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './../models/point';
import { RaphaelBase } from './../raphael-base';
import { RaphaelService } from './../raphael.service';
@Directive({selector: 'raphael-icon-user'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-icon-user, raphael-icon-user'})
export class RaphaelIconUserDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './models/point';
import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service';
@Directive({selector: 'raphael-circle'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-circle, raphael-circle'})
export class RaphaelCircleDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './models/point';
import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service';
@Directive({selector: 'raphael-cross'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-cross, raphael-cross'})
export class RaphaelCrossDirective extends RaphaelBase implements OnInit {
@Input()
center: Point;

View File

@@ -22,7 +22,10 @@ import { RaphaelService } from './raphael.service';
declare let Raphael: any;
@Directive({selector: 'raphael-flow-arrow'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-flow-arrow, raphael-flow-arrow'})
export class RaphaelFlowArrowDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './models/point';
import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service';
@Directive({ selector: 'raphael-multiline-text' })
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({ selector: 'adf-raphael-multiline-text, raphael-multiline-text' })
export class RaphaelMultilineTextDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './models/point';
import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service';
@Directive({selector: 'raphael-pentagon'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-pentagon, raphael-pentagon'})
export class RaphaelPentagonDirective extends RaphaelBase implements OnInit {
@Input()
center: Point;

View File

@@ -20,7 +20,10 @@ import { Point } from './models/point';
import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service';
@Directive({selector: 'raphael-plus'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-plus, raphael-plus'})
export class RaphaelPlusDirective extends RaphaelBase implements OnInit {
@Input()
center: Point;

View File

@@ -20,7 +20,10 @@ import { Point } from './models/point';
import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service';
@Directive({ selector: 'raphael-rect' })
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({ selector: 'adf-raphael-rect, raphael-rect' })
export class RaphaelRectDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;

View File

@@ -20,7 +20,10 @@ import { Point } from './models/point';
import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service';
@Directive({selector: 'raphael-rhombus'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-rhombus, raphael-rhombus'})
export class RaphaelRhombusDirective extends RaphaelBase implements OnInit {
@Input()
center: Point;

View File

@@ -20,7 +20,10 @@ import { Point } from './models/point';
import { RaphaelBase } from './raphael-base';
import { RaphaelService } from './raphael.service';
@Directive({selector: 'raphael-text'})
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0
*/
@Directive({selector: 'adf-raphael-text, raphael-text'})
export class RaphaelTextDirective extends RaphaelBase implements OnInit {
@Input()
paper: any;