mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
dist folder for uploader component
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
'ng2-alfresco-datatable': 'node_modules/ng2-alfresco-datatable',
|
||||
'ng2-alfresco-documentlist': 'node_modules/ng2-alfresco-documentlist/dist',
|
||||
'ng2-alfresco-login': 'node_modules/ng2-alfresco-login',
|
||||
'ng2-alfresco-upload': 'node_modules/ng2-alfresco-upload',
|
||||
'ng2-alfresco-upload': 'node_modules/ng2-alfresco-upload/dist',
|
||||
'ng2-translate': 'node_modules/ng2-translate',
|
||||
'rxjs': 'node_modules/rxjs'
|
||||
};
|
||||
|
14
ng2-components/ng2-alfresco-upload/.npmignore
Normal file
14
ng2-components/ng2-alfresco-upload/.npmignore
Normal file
@@ -0,0 +1,14 @@
|
||||
npm-debug.log
|
||||
.idea
|
||||
|
||||
assets/
|
||||
coverage/
|
||||
demo/
|
||||
node_modules
|
||||
typings/
|
||||
src/
|
||||
|
||||
/ng2-alfresco-upload.ts
|
||||
/ng2-alfresco-upload.d.ts
|
||||
/ng2-alfresco-upload.js
|
||||
/ng2-alfresco-upload.js.map
|
@@ -17,7 +17,7 @@
|
||||
"es6-shim": "0.35.0",
|
||||
"material-design-icons": "^2.2.3",
|
||||
"material-design-lite": "^1.1.3",
|
||||
"ng2-alfresco-core": "^0.1.0",
|
||||
"ng2-alfresco-core": "^0.1.6",
|
||||
"ng2-alfresco-upload": "^0.1.0",
|
||||
"ng2-translate": "^1.11.2",
|
||||
"reflect-metadata": "0.1.2",
|
||||
|
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
import { Component } from 'angular2/core';
|
||||
import { ALFRESCO_ULPOAD_COMPONENT } from 'ng2-alfresco-upload/dist/ng2-alfresco-upload';
|
||||
import { ALFRESCO_ULPOAD_COMPONENT } from 'ng2-alfresco-upload/ng2-alfresco-upload';
|
||||
|
||||
@Component({
|
||||
selector: 'my-demo',
|
||||
|
@@ -20,7 +20,7 @@ import { bootstrap } from 'angular2/platform/browser';
|
||||
import { HTTP_PROVIDERS } from 'angular2/http';
|
||||
import { MyDemoComponent } from "./components/my-demo.component";
|
||||
import { TranslateLoader, TranslateService } from 'ng2-translate/ng2-translate';
|
||||
import { AlfrescoTranslationLoader } from 'ng2-alfresco-core/services';
|
||||
import { AlfrescoTranslationLoader } from 'ng2-alfresco-core/services/AlfrescoTranslationService';
|
||||
|
||||
@Component({
|
||||
selector: 'my-app',
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ng2-alfresco-upload",
|
||||
"description": "Alfresco Angular2 Upload Component",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"typings": "typings install",
|
||||
|
@@ -131,7 +131,7 @@ export class UploadDragAreaComponent {
|
||||
});
|
||||
},
|
||||
error => {
|
||||
error;
|
||||
console.log(error);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
@@ -21,6 +21,8 @@ import { EventEmitter } from 'angular2/core';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Response } from 'angular2/http';
|
||||
|
||||
declare let AlfrescoApi: any;
|
||||
|
||||
/**
|
||||
*
|
||||
* UploadService keep the queue of the file to upload and uploads them.
|
||||
|
Reference in New Issue
Block a user