mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Remove local declare var and using declaration file
This commit is contained in:
@@ -19,9 +19,6 @@ import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@ang
|
|||||||
import { RaphaelBase } from './raphael-base';
|
import { RaphaelBase } from './raphael-base';
|
||||||
import { RaphaelService } from './raphael.service';
|
import { RaphaelService } from './raphael.service';
|
||||||
|
|
||||||
declare let Raphael: any;
|
|
||||||
declare let Polyline: any;
|
|
||||||
|
|
||||||
@Directive({selector: 'raphael-flow-arrow'})
|
@Directive({selector: 'raphael-flow-arrow'})
|
||||||
export class RaphaelFlowArrowDirective extends RaphaelBase implements OnInit {
|
export class RaphaelFlowArrowDirective extends RaphaelBase implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
|
@@ -17,8 +17,6 @@
|
|||||||
|
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
|
|
||||||
declare let Raphael: any;
|
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class RaphaelService {
|
export class RaphaelService {
|
||||||
|
|
||||||
|
@@ -18,8 +18,6 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { WidgetComponent } from './../widget.component';
|
import { WidgetComponent } from './../widget.component';
|
||||||
|
|
||||||
declare var componentHandler;
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
moduleId: module.id,
|
moduleId: module.id,
|
||||||
selector: 'checkbox-widget',
|
selector: 'checkbox-widget',
|
||||||
|
@@ -20,8 +20,6 @@ import { AbstractControl, FormGroup, FormBuilder, FormControl, Validators } from
|
|||||||
import { WidgetComponent } from './../widget.component';
|
import { WidgetComponent } from './../widget.component';
|
||||||
import * as moment from 'moment';
|
import * as moment from 'moment';
|
||||||
|
|
||||||
declare let mdDateTimePicker: any;
|
|
||||||
|
|
||||||
function dateCheck(c: AbstractControl) {
|
function dateCheck(c: AbstractControl) {
|
||||||
let startDate = moment(c.get('startDate').value);
|
let startDate = moment(c.get('startDate').value);
|
||||||
let endDate = moment(c.get('endDate').value);
|
let endDate = moment(c.get('endDate').value);
|
||||||
|
@@ -17,8 +17,6 @@
|
|||||||
|
|
||||||
import { Input, AfterViewInit, Output, EventEmitter, SimpleChanges, OnChanges } from '@angular/core';
|
import { Input, AfterViewInit, Output, EventEmitter, SimpleChanges, OnChanges } from '@angular/core';
|
||||||
|
|
||||||
declare var componentHandler;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base widget component.
|
* Base widget component.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user