mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Create icons folder in Raphael
This commit is contained in:
@@ -0,0 +1,49 @@
|
|||||||
|
/*!
|
||||||
|
* @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 { RaphaelIconServiceDirective } from './raphael-icon-service.component';
|
||||||
|
import { RaphaelIconSendDirective } from './raphael-icon-send.component';
|
||||||
|
import { RaphaelIconUserDirective } from './raphael-icon-user.component';
|
||||||
|
import { RaphaelIconManualDirective } from './raphael-icon-manual.component';
|
||||||
|
import { RaphaelIconCamelDirective } from './raphael-icon-camel.component';
|
||||||
|
import { RaphaelIconMuleDirective } from './raphael-icon-mule.component';
|
||||||
|
import { RaphaelIconAlfrescoPublishDirective } from './raphael-icon-alfresco-publish.component';
|
||||||
|
import { RaphaelIconRestCallDirective } from './raphael-icon-rest-call.component';
|
||||||
|
import { RaphaelIconGoogleDrivePublishDirective } from './raphael-icon-google-drive-publish.component';
|
||||||
|
|
||||||
|
// primitives
|
||||||
|
export * from './raphael-icon-service.component';
|
||||||
|
export * from './raphael-icon-send.component';
|
||||||
|
export * from './raphael-icon-user.component';
|
||||||
|
export * from './raphael-icon-manual.component';
|
||||||
|
export * from './raphael-icon-camel.component';
|
||||||
|
export * from './raphael-icon-mule.component';
|
||||||
|
export * from './raphael-icon-alfresco-publish.component';
|
||||||
|
export * from './raphael-icon-rest-call.component';
|
||||||
|
export * from './raphael-icon-google-drive-publish.component';
|
||||||
|
|
||||||
|
export const RAPHAEL_ICONS_DIRECTIVES: any[] = [
|
||||||
|
RaphaelIconServiceDirective,
|
||||||
|
RaphaelIconSendDirective,
|
||||||
|
RaphaelIconUserDirective,
|
||||||
|
RaphaelIconManualDirective,
|
||||||
|
RaphaelIconCamelDirective,
|
||||||
|
RaphaelIconMuleDirective,
|
||||||
|
RaphaelIconAlfrescoPublishDirective,
|
||||||
|
RaphaelIconRestCallDirective,
|
||||||
|
RaphaelIconGoogleDrivePublishDirective
|
||||||
|
];
|
||||||
+3
-3
@@ -16,9 +16,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
||||||
import { Point } from './models/point';
|
import { Point } from './../models/point';
|
||||||
import { RaphaelBase } from './raphael-base';
|
import { RaphaelBase } from './../raphael-base';
|
||||||
import { RaphaelService } from './raphael.service';
|
import { RaphaelService } from './../raphael.service';
|
||||||
|
|
||||||
@Directive({selector: 'raphael-icon-alfresco-publish'})
|
@Directive({selector: 'raphael-icon-alfresco-publish'})
|
||||||
export class RaphaelIconAlfrescoPublishDirective extends RaphaelBase implements OnInit {
|
export class RaphaelIconAlfrescoPublishDirective extends RaphaelBase implements OnInit {
|
||||||
+3
-3
@@ -16,9 +16,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
||||||
import { Point } from './models/point';
|
import { Point } from './../models/point';
|
||||||
import { RaphaelBase } from './raphael-base';
|
import { RaphaelBase } from './../raphael-base';
|
||||||
import { RaphaelService } from './raphael.service';
|
import { RaphaelService } from './../raphael.service';
|
||||||
|
|
||||||
@Directive({selector: 'raphael-icon-camel'})
|
@Directive({selector: 'raphael-icon-camel'})
|
||||||
export class RaphaelIconCamelDirective extends RaphaelBase implements OnInit {
|
export class RaphaelIconCamelDirective extends RaphaelBase implements OnInit {
|
||||||
+3
-3
@@ -16,9 +16,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
||||||
import { Point } from './models/point';
|
import { Point } from './../models/point';
|
||||||
import { RaphaelBase } from './raphael-base';
|
import { RaphaelBase } from './../raphael-base';
|
||||||
import { RaphaelService } from './raphael.service';
|
import { RaphaelService } from './../raphael.service';
|
||||||
|
|
||||||
@Directive({selector: 'raphael-icon-google-drive-publish'})
|
@Directive({selector: 'raphael-icon-google-drive-publish'})
|
||||||
export class RaphaelIconGoogleDrivePublishDirective extends RaphaelBase implements OnInit {
|
export class RaphaelIconGoogleDrivePublishDirective extends RaphaelBase implements OnInit {
|
||||||
+3
-3
@@ -16,9 +16,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
||||||
import { Point } from './models/point';
|
import { Point } from './../models/point';
|
||||||
import { RaphaelBase } from './raphael-base';
|
import { RaphaelBase } from './../raphael-base';
|
||||||
import { RaphaelService } from './raphael.service';
|
import { RaphaelService } from './../raphael.service';
|
||||||
|
|
||||||
@Directive({selector: 'raphael-icon-manual'})
|
@Directive({selector: 'raphael-icon-manual'})
|
||||||
export class RaphaelIconManualDirective extends RaphaelBase implements OnInit {
|
export class RaphaelIconManualDirective extends RaphaelBase implements OnInit {
|
||||||
+3
-3
@@ -16,9 +16,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
||||||
import { Point } from './models/point';
|
import { Point } from './../models/point';
|
||||||
import { RaphaelBase } from './raphael-base';
|
import { RaphaelBase } from './../raphael-base';
|
||||||
import { RaphaelService } from './raphael.service';
|
import { RaphaelService } from './../raphael.service';
|
||||||
|
|
||||||
@Directive({selector: 'raphael-icon-mule'})
|
@Directive({selector: 'raphael-icon-mule'})
|
||||||
export class RaphaelIconMuleDirective extends RaphaelBase implements OnInit {
|
export class RaphaelIconMuleDirective extends RaphaelBase implements OnInit {
|
||||||
+3
-3
@@ -16,9 +16,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
||||||
import { Point } from './models/point';
|
import { Point } from './../models/point';
|
||||||
import { RaphaelBase } from './raphael-base';
|
import { RaphaelBase } from './../raphael-base';
|
||||||
import { RaphaelService } from './raphael.service';
|
import { RaphaelService } from './../raphael.service';
|
||||||
|
|
||||||
@Directive({selector: 'raphael-icon-rest-call'})
|
@Directive({selector: 'raphael-icon-rest-call'})
|
||||||
export class RaphaelIconRestCallDirective extends RaphaelBase implements OnInit {
|
export class RaphaelIconRestCallDirective extends RaphaelBase implements OnInit {
|
||||||
+3
-3
@@ -16,9 +16,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
||||||
import { Point } from './models/point';
|
import { Point } from './../models/point';
|
||||||
import { RaphaelBase } from './raphael-base';
|
import { RaphaelBase } from './../raphael-base';
|
||||||
import { RaphaelService } from './raphael.service';
|
import { RaphaelService } from './../raphael.service';
|
||||||
|
|
||||||
@Directive({selector: 'raphael-icon-send'})
|
@Directive({selector: 'raphael-icon-send'})
|
||||||
export class RaphaelIconSendDirective extends RaphaelBase implements OnInit {
|
export class RaphaelIconSendDirective extends RaphaelBase implements OnInit {
|
||||||
+3
-3
@@ -16,9 +16,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
||||||
import { Point } from './models/point';
|
import { Point } from './../models/point';
|
||||||
import { RaphaelBase } from './raphael-base';
|
import { RaphaelBase } from './../raphael-base';
|
||||||
import { RaphaelService } from './raphael.service';
|
import { RaphaelService } from './../raphael.service';
|
||||||
|
|
||||||
@Directive({selector: 'raphael-icon-service'})
|
@Directive({selector: 'raphael-icon-service'})
|
||||||
export class RaphaelIconServiceDirective extends RaphaelBase implements OnInit {
|
export class RaphaelIconServiceDirective extends RaphaelBase implements OnInit {
|
||||||
+3
-3
@@ -16,9 +16,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@angular/core';
|
||||||
import { Point } from './models/point';
|
import { Point } from './../models/point';
|
||||||
import { RaphaelBase } from './raphael-base';
|
import { RaphaelBase } from './../raphael-base';
|
||||||
import { RaphaelService } from './raphael.service';
|
import { RaphaelService } from './../raphael.service';
|
||||||
|
|
||||||
@Directive({selector: 'raphael-icon-user'})
|
@Directive({selector: 'raphael-icon-user'})
|
||||||
export class RaphaelIconUserDirective extends RaphaelBase implements OnInit {
|
export class RaphaelIconUserDirective extends RaphaelBase implements OnInit {
|
||||||
@@ -25,15 +25,7 @@ import { RaphaelRhombusDirective } from './raphael-rhombus.component';
|
|||||||
import { RaphaelPentagonDirective } from './raphael-pentagon.component';
|
import { RaphaelPentagonDirective } from './raphael-pentagon.component';
|
||||||
|
|
||||||
// icons
|
// icons
|
||||||
import { RaphaelIconServiceDirective } from './raphael-icon-service.component';
|
import { RAPHAEL_ICONS_DIRECTIVES } from './icons/index';
|
||||||
import { RaphaelIconSendDirective } from './raphael-icon-send.component';
|
|
||||||
import { RaphaelIconUserDirective } from './raphael-icon-user.component';
|
|
||||||
import { RaphaelIconManualDirective } from './raphael-icon-manual.component';
|
|
||||||
import { RaphaelIconCamelDirective } from './raphael-icon-camel.component';
|
|
||||||
import { RaphaelIconMuleDirective } from './raphael-icon-mule.component';
|
|
||||||
import { RaphaelIconAlfrescoPublishDirective } from './raphael-icon-alfresco-publish.component';
|
|
||||||
import { RaphaelIconRestCallDirective } from './raphael-icon-rest-call.component';
|
|
||||||
import { RaphaelIconGoogleDrivePublishDirective } from './raphael-icon-google-drive-publish.component';
|
|
||||||
|
|
||||||
// primitives
|
// primitives
|
||||||
export * from './raphael-circle.component';
|
export * from './raphael-circle.component';
|
||||||
@@ -44,16 +36,7 @@ export * from './raphael-cross.component';
|
|||||||
export * from './raphael-plus.component';
|
export * from './raphael-plus.component';
|
||||||
export * from './raphael-rhombus.component';
|
export * from './raphael-rhombus.component';
|
||||||
export * from './raphael-pentagon.component';
|
export * from './raphael-pentagon.component';
|
||||||
|
export * from './icons/index';
|
||||||
export * from './raphael-icon-service.component';
|
|
||||||
export * from './raphael-icon-send.component';
|
|
||||||
export * from './raphael-icon-user.component';
|
|
||||||
export * from './raphael-icon-manual.component';
|
|
||||||
export * from './raphael-icon-camel.component';
|
|
||||||
export * from './raphael-icon-mule.component';
|
|
||||||
export * from './raphael-icon-alfresco-publish.component';
|
|
||||||
export * from './raphael-icon-rest-call.component';
|
|
||||||
export * from './raphael-icon-google-drive-publish.component';
|
|
||||||
|
|
||||||
export const RAPHAEL_DIRECTIVES: any[] = [
|
export const RAPHAEL_DIRECTIVES: any[] = [
|
||||||
RaphaelCircleDirective,
|
RaphaelCircleDirective,
|
||||||
@@ -64,13 +47,5 @@ export const RAPHAEL_DIRECTIVES: any[] = [
|
|||||||
RaphaelPlusDirective,
|
RaphaelPlusDirective,
|
||||||
RaphaelRhombusDirective,
|
RaphaelRhombusDirective,
|
||||||
RaphaelPentagonDirective,
|
RaphaelPentagonDirective,
|
||||||
RaphaelIconServiceDirective,
|
RAPHAEL_ICONS_DIRECTIVES
|
||||||
RaphaelIconSendDirective,
|
|
||||||
RaphaelIconUserDirective,
|
|
||||||
RaphaelIconManualDirective,
|
|
||||||
RaphaelIconCamelDirective,
|
|
||||||
RaphaelIconMuleDirective,
|
|
||||||
RaphaelIconAlfrescoPublishDirective,
|
|
||||||
RaphaelIconRestCallDirective,
|
|
||||||
RaphaelIconGoogleDrivePublishDirective
|
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user