import * as angular from 'angular' ; import { DropzoneDirective } from './dropzone/DropzoneDirective' ; import { FileComponent } from './file/FileComponent' ; import { FolderComponent } from './folder/FolderComponent' ; import { BucketComponent } from './bucket/BucketComponent' ; import { STSSessionComponent } from './stssession/STSSessionComponent' ; import { DropzoneComponent } from './dropzone/DropzoneComponent' ; import { S3SessionComponent } from './s3session/S3SessionComponent' ; import './index.css' ; import '../node_modules/dropzone/dist/dropzone.css' ; angular . module ( 's3commander' , [ ] ) . config ( ( $sceDelegateProvider ) => { $sceDelegateProvider . resourceUrlWhitelist ( [ 'self' , 'https://s3.amazonaws.com/*' , 'https://*.s3.amazonaws.com/' , 'https://*.s3.*.amazonaws.com/' ] ) ; } ) . directive ( 'dropzone' , [ ( ) => new DropzoneDirective ( ) ] ) . component ( 'file' , FileComponent ) . component ( 'folder' , FolderComponent ) . component ( 'bucket' , BucketComponent ) . component ( 'stssession' , STSSessionComponent ) . component ( 's3session' , S3SessionComponent ) . component ( 'dropzone' , DropzoneComponent ) ;