From f33b841f9b6c2f0f7afafd5468feb57ee2383473 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Wed, 3 May 2017 08:46:02 +0100 Subject: [PATCH 01/72] [ADF-534] Login dialog enhancements (#1844) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * version 1.4.0 social component * Login dialog enhancements - ability to toggle ‘Remember me’ (switched off by default now) - ability to toggle a footer with extra actions (switched off by default now) - readme updates * fix unit tests --- ng2-components/ng2-alfresco-login/README.md | 30 +++++++++---------- .../components/alfresco-login.component.css | 11 +++++++ .../components/alfresco-login.component.html | 29 +++++++----------- .../alfresco-login.component.spec.ts | 8 +++-- .../components/alfresco-login.component.ts | 6 ++++ 5 files changed, 49 insertions(+), 35 deletions(-) diff --git a/ng2-components/ng2-alfresco-login/README.md b/ng2-components/ng2-alfresco-login/README.md index b5ea564686..a4067003b2 100644 --- a/ng2-components/ng2-alfresco-login/README.md +++ b/ng2-components/ng2-alfresco-login/README.md @@ -106,8 +106,8 @@ This component allow to authenticate to Alfresco One and Alfresco Activiti. Usage example of this component : **main.ts** -```ts +```ts import { NgModule, Component } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; @@ -153,9 +153,22 @@ export class AppComponent { export class AppModule { } platformBrowserDynamic().bootstrapModule(AppModule); - ``` +#### Properties + +| Name | Type | Default Value | Description | +| --- | --- | --- | --- | +| `providers` | string | ECM | Possible valid value are ECM, BPM or ALL. The default behaviour of this component will logged in only in the ECM . If you want log in in both system the correct value to use is ALL | +| `disableCsrf` | boolean | false | To prevent the CSRF Token from been submitted. Only for Activiti call | +| `needHelpLink` | string | '' | It will change the url of the NEED HELP link in the footer | +| `registerLink` | string | '' | It will change the url of the REGISTER link in the footer | +| `logoImageUrl` | string | Alfresco logo image | To change the logo image with a customised image | +| `backgroundImageUrl` | string | Alfresco background image | To change the background image with a customised image | +| `fieldsValidation` | { [key: string]: any; }, extra?: { [key: string]: any; } | | Use it to customise the validation rules of the login form | +| `showRememberMe` | boolean | false | Toggle `Remember me` checkbox visibility | +| `showLoginActions` | boolean | false | Toggle extra actions visibility (`Need Help`, `Register`, etc.) | + #### Events | Name | Description | @@ -164,19 +177,6 @@ platformBrowserDynamic().bootstrapModule(AppModule); | `onError` | The event is emitted when the login fails | | `executeSubmit` | The event is emitted when the form is submitted | -#### Options - -| Name | Options | Default | Description | Mandatory -| --- | --- | --- | --- | --- -| `providers` | *string* | ECM | Possible valid value are ECM, BPM or ALL. The default behaviour of this component will logged in only in the ECM . If you want log in in both system the correct value to use is ALL | -| `disableCsrf` | *boolean* | false | To prevent the CSRF Token from been submitted. Only for Activiti call | -| `needHelpLink` | *string* | '' | It will change the url of the NEED HELP link in the footer | -| `registerLink` | *string* | '' | It will change the url of the REGISTER link in the footer | -| `logoImageUrl` | *string* | Alfresco logo image | To change the logo image with a customised image | -| `backgroundImageUrl` | *string* | Alfresco background image | To change the background image with a customised image | -| `fieldsValidation` | *map* { [key: string]: any; }, extra?: { [key: string]: any; } | null | Use it to customise the validation rules of the login form | - - ## Change footer content diff --git a/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.css b/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.css index 643d1beb1f..3ba3b8801a 100644 --- a/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.css +++ b/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.css @@ -230,3 +230,14 @@ .adf-full-width { width: 100%; } + +.adf-login__remember-me { + padding-top: 15px; +} + +.adf-login__field { + display: block; + margin-left: auto; + margin-right: auto; + padding-bottom: 24px; +} diff --git a/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.html b/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.html index ac38b7139d..7cf4430e4b 100644 --- a/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.html +++ b/ng2-components/ng2-alfresco-login/src/components/alfresco-login.component.html @@ -1,6 +1,6 @@
-
diff --git a/ng2-components/ng2-activiti-tasklist/src/components/adf-task-attachment-list.component.html b/ng2-components/ng2-activiti-tasklist/src/components/adf-task-attachment-list.component.html index 74208ad2f7..8eaadbb56f 100644 --- a/ng2-components/ng2-activiti-tasklist/src/components/adf-task-attachment-list.component.html +++ b/ng2-components/ng2-activiti-tasklist/src/components/adf-task-attachment-list.component.html @@ -5,7 +5,7 @@ (showRowActionsMenu)="onShowRowActionsMenu($event)" (executeRowAction)="onExecuteRowAction($event)"> - + diff --git a/ng2-components/ng2-alfresco-datatable/src/components/datatable/datatable.component.html b/ng2-components/ng2-alfresco-datatable/src/components/datatable/datatable.component.html index b3894ed078..1343f025bc 100644 --- a/ng2-components/ng2-alfresco-datatable/src/components/datatable/datatable.component.html +++ b/ng2-components/ng2-alfresco-datatable/src/components/datatable/datatable.component.html @@ -65,8 +65,14 @@ {{asIconValue(row, col)}} {{iconAltTextKey(data.getValue(row, col))|translate}} + +
+ {{ iconAltTextKey(data.getValue(row, col)) | translate }}
diff --git a/ng2-components/ng2-alfresco-datatable/src/data/object-datatable-adapter.ts b/ng2-components/ng2-alfresco-datatable/src/data/object-datatable-adapter.ts index cab70d8f9c..0f8a513652 100644 --- a/ng2-components/ng2-alfresco-datatable/src/data/object-datatable-adapter.ts +++ b/ng2-components/ng2-alfresco-datatable/src/data/object-datatable-adapter.ts @@ -25,6 +25,33 @@ export class ObjectDataTableAdapter implements DataTableAdapter { private _sorting: DataSorting; private _rows: DataRow[]; private _columns: DataColumn[]; + private icons: string[] = [ + 'empty_doc_lib.svg', + 'ft_ic_archive.svg', + 'ft_ic_audio.svg', + 'ft_ic_database.svg', + 'ft_ic_document.svg', + 'ft_ic_ebook.svg', + 'ft_ic_folder.svg', + 'ft_ic_folder_empty.svg', + 'ft_ic_form.svg', + 'ft_ic_google_docs.svg', + 'ft_ic_google_drawings.svg', + 'ft_ic_google_forms.svg', + 'ft_ic_google_sheets.svg', + 'ft_ic_google_slides.svg', + 'ft_ic_miscellaneous.svg', + 'ft_ic_ms_excel.svg', + 'ft_ic_ms_powerpoint.svg', + 'ft_ic_ms_word.svg', + 'ft_ic_pdf.svg', + 'ft_ic_presentation.svg', + 'ft_ic_raster_image.svg', + 'ft_ic_spreadsheet.svg', + 'ft_ic_vector_image.svg', + 'ft_ic_video.svg', + 'ft_ic_website.svg' + ]; selectedRow: DataRow; @@ -111,16 +138,12 @@ export class ObjectDataTableAdapter implements DataTableAdapter { } } - if (col.type === 'image') { - - if (col.key === 'icon') { - - let icon = this.getImagePath(row.getValue('icon')); - if (icon) { - return icon; - } - return this.getImagePath('ft_ic_miscellaneous.svg'); + if (col.type === 'icon') { + const iconName = row.getValue(col.key); + if (this.icons.indexOf(iconName) > -1) { + return this.getImagePath(iconName); } + return this.getImagePath('ft_ic_miscellaneous.svg'); } return value; From e376b34341d3942ac943cd82cf44b7fb310f658c Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Thu, 25 May 2017 00:51:09 +0100 Subject: [PATCH 70/72] update version library demo folders (#1901) * update version library demo folders * fix demo dependency * fix upload demo and check permissions * fix images webpack resolution * fix update versions script --- demo-shell-ng2/config/webpack.common.js | 2 +- ng2-components/config/webpack.common.js | 4 +- .../config/webpack.common.js | 4 +- .../ng2-activiti-analytics/demo/package.json | 40 ++++---- .../demo/systemjs.config.js | 9 +- .../ng2-activiti-analytics/package.json | 1 + .../config/webpack.common.js | 4 +- .../ng2-activiti-diagrams/demo/package.json | 38 ++++---- .../demo/systemjs.config.js | 3 + .../ng2-activiti-diagrams/package.json | 1 + .../config/webpack.common.js | 4 +- .../ng2-activiti-form/demo/package.json | 30 +++--- .../ng2-activiti-form/demo/systemjs.config.js | 3 + ng2-components/ng2-activiti-form/package.json | 1 + .../config/webpack.common.js | 4 +- .../demo/package.json | 30 +++--- .../demo/systemjs.config.js | 3 + .../ng2-activiti-processlist/package.json | 1 + .../config/webpack.common.js | 4 +- .../ng2-activiti-tasklist/demo/package.json | 30 +++--- .../demo/systemjs.config.js | 3 + .../ng2-activiti-tasklist/package.json | 1 + .../config/webpack.common.js | 4 +- .../config/webpack.common.js | 4 +- .../ng2-alfresco-datatable/demo/package.json | 31 +++--- .../demo/systemjs.config.js | 3 + .../ng2-alfresco-datatable/package.json | 1 + .../config/webpack.common.js | 4 +- .../demo/package.json | 30 +++--- .../demo/systemjs.config.js | 3 + .../ng2-alfresco-documentlist/package.json | 1 + .../config/webpack.common.js | 4 +- .../ng2-alfresco-login/demo/package.json | 30 +++--- .../demo/systemjs.config.js | 3 + .../ng2-alfresco-login/package.json | 1 + .../config/webpack.common.js | 4 +- .../ng2-alfresco-search/demo/package.json | 30 +++--- .../demo/systemjs.config.js | 3 + .../ng2-alfresco-search/package.json | 1 + .../config/webpack.common.js | 4 +- .../ng2-alfresco-social/demo/package.json | 30 +++--- .../demo/systemjs.config.js | 3 + .../ng2-alfresco-social/package.json | 1 + .../ng2-alfresco-tag/config/webpack.common.js | 4 +- .../ng2-alfresco-tag/demo/package.json | 42 ++++---- .../ng2-alfresco-tag/demo/systemjs.config.js | 3 + ng2-components/ng2-alfresco-tag/package.json | 1 + .../config/webpack.common.js | 4 +- .../ng2-alfresco-upload/demo/package.json | 30 +++--- .../ng2-alfresco-upload/demo/src/main.ts | 8 +- .../demo/systemjs.config.js | 3 + .../ng2-alfresco-upload/package.json | 1 + .../src/components/upload-button.component.ts | 9 +- .../config/webpack.common.js | 4 +- .../ng2-alfresco-userinfo/demo/package.json | 30 +++--- .../demo/systemjs.config.js | 3 + .../ng2-alfresco-userinfo/package.json | 1 + .../config/webpack.common.js | 4 +- .../ng2-alfresco-viewer/demo/package.json | 30 +++--- .../demo/systemjs.config.js | 3 + .../ng2-alfresco-viewer/package.json | 1 + .../config/webpack.common.js | 4 +- .../ng2-alfresco-webscript/demo/package.json | 30 +++--- .../demo/systemjs.config.js | 3 + .../ng2-alfresco-webscript/package.json | 1 + scripts/npm-build-all-demo.sh | 96 +++++++++++++++++++ scripts/update-version.sh | 4 +- 67 files changed, 459 insertions(+), 275 deletions(-) create mode 100755 scripts/npm-build-all-demo.sh diff --git a/demo-shell-ng2/config/webpack.common.js b/demo-shell-ng2/config/webpack.common.js index 55e39787f8..ee7a199828 100644 --- a/demo-shell-ng2/config/webpack.common.js +++ b/demo-shell-ng2/config/webpack.common.js @@ -123,7 +123,7 @@ module.exports = { return { context: `../ng2-components/${lib}/bundles/assets/` , from: '**/*', - to: `bundles/assets/` + to: `assets/` } }), { diff --git a/ng2-components/config/webpack.common.js b/ng2-components/config/webpack.common.js index 67fd8b9440..f05c4ec322 100644 --- a/ng2-components/config/webpack.common.js +++ b/ng2-components/config/webpack.common.js @@ -94,8 +94,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-activiti-analytics/config/webpack.common.js b/ng2-components/ng2-activiti-analytics/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-activiti-analytics/config/webpack.common.js +++ b/ng2-components/ng2-activiti-analytics/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-activiti-analytics/demo/package.json b/ng2-components/ng2-activiti-analytics/demo/package.json index b149870db0..272da2731e 100644 --- a/ng2-components/ng2-activiti-analytics/demo/package.json +++ b/ng2-components/ng2-activiti-analytics/demo/package.json @@ -1,5 +1,5 @@ { - "name": "ng2-activiti-diagrams-demo", + "name": "ng2-activiti-analytics-demo", "description": "Alfresco Angular2 Diagrams Component - Demo", "version": "0.1.0", "author": "Alfresco Software, Ltd.", @@ -12,7 +12,7 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core ng2-activiti-diagrams", + "travis": "npm link ng2-alfresco-core ng2-activiti-diagrams ng2-activiti-analytics", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" @@ -32,22 +32,28 @@ "activiti-diagrams" ], "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + + "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", @@ -55,18 +61,16 @@ "material-design-lite": "1.2.1", "chart.js": "2.5.0", "md-date-time-picker": "2.2.0", - "ng2-charts": "1.1.0", + "ng2-charts": "1.5.0", "moment": "2.15.1", "raphael": "^2.2.6", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-activiti-diagrams": "1.4.0", "ng2-activiti-analytics": "1.4.0" }, "devDependencies": { - "@types/jasmine": "^2.2.33", - "@types/node": "^6.0.42", + "@types/hammerjs": "^2.0.34", + "@types/jasmine": "2.5.35", + "@types/node": "6.0.45", "concurrently": "^2.2.0", "rimraf": "2.5.2", "tslint": "^3.8.1", diff --git a/ng2-components/ng2-activiti-analytics/demo/systemjs.config.js b/ng2-components/ng2-activiti-analytics/demo/systemjs.config.js index 0b8ca69bc1..07f10a7da3 100644 --- a/ng2-components/ng2-activiti-analytics/demo/systemjs.config.js +++ b/ng2-components/ng2-activiti-analytics/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', @@ -44,11 +47,11 @@ }, 'moment': 'npm:moment/min/moment.min.js', 'ng2-translate': { defaultExtension: 'js' }, - 'ng2-charts': { main: 'ng2-charts.js', defaultExtension: 'js'}, + 'ng2-charts': { main: './bundles/ng2-charts.umd.js', defaultExtension: 'js'}, 'alfresco-js-api': { main: './alfresco-js-api.js', defaultExtension: 'js'}, 'ng2-alfresco-core': { main: './bundles/ng2-alfresco-core.js', defaultExtension: 'js'}, - 'ng2-analytics-diagrams': { main: './bundles/ng2-analytics-diagrams.js', defaultExtension: 'js'}, - 'ng2-analytics-analytics': { main: './bundles/ng2-analytics-analytics.js', defaultExtension: 'js'} + 'ng2-activiti-diagrams': { main: './bundles/ng2-activiti-diagrams.js', defaultExtension: 'js'}, + 'ng2-activiti-analytics': { main: './bundles/ng2-activiti-analytics.js', defaultExtension: 'js'} } }); })(this); diff --git a/ng2-components/ng2-activiti-analytics/package.json b/ng2-components/ng2-activiti-analytics/package.json index 691135b2f6..e9a420e520 100644 --- a/ng2-components/ng2-activiti-analytics/package.json +++ b/ng2-components/ng2-activiti-analytics/package.json @@ -31,6 +31,7 @@ "url": "https://github.com/Alfresco/alfresco-ng2-components/issues" }, "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-activiti-diagrams/config/webpack.common.js b/ng2-components/ng2-activiti-diagrams/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-activiti-diagrams/config/webpack.common.js +++ b/ng2-components/ng2-activiti-diagrams/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-activiti-diagrams/demo/package.json b/ng2-components/ng2-activiti-diagrams/demo/package.json index 96df7844b5..52a16ae8de 100644 --- a/ng2-components/ng2-activiti-diagrams/demo/package.json +++ b/ng2-components/ng2-activiti-diagrams/demo/package.json @@ -12,7 +12,7 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core", + "travis": "npm link ng2-alfresco-core ng2-activiti-diagrams", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" @@ -32,32 +32,34 @@ "activiti-diagrams" ], "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", + "reflect-metadata": "0.1.10", + "rxjs": "5.1.0", + "systemjs": "0.19.27", + "zone.js": "0.7.6", + "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", "intl": "1.2.4", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", "ng2-activiti-diagrams": "1.4.0", - "ng2-alfresco-core": "1.4.0", - "ng2-translate": "5.0.0", - "raphael": "^2.2.6", - "reflect-metadata": "0.1.10", - "rxjs": "5.1.0", - "systemjs": "0.19.27", - "zone.js": "0.7.6" + "raphael": "^2.2.6" }, "devDependencies": { "@types/jasmine": "^2.2.33", diff --git a/ng2-components/ng2-activiti-diagrams/demo/systemjs.config.js b/ng2-components/ng2-activiti-diagrams/demo/systemjs.config.js index f34f2f87ad..a3fb7b584d 100644 --- a/ng2-components/ng2-activiti-diagrams/demo/systemjs.config.js +++ b/ng2-components/ng2-activiti-diagrams/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-activiti-diagrams/package.json b/ng2-components/ng2-activiti-diagrams/package.json index 1b8864ed2e..ee95c39fc4 100644 --- a/ng2-components/ng2-activiti-diagrams/package.json +++ b/ng2-components/ng2-activiti-diagrams/package.json @@ -27,6 +27,7 @@ "url": "https://github.com/Alfresco/alfresco-ng2-components/issues" }, "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-activiti-form/config/webpack.common.js b/ng2-components/ng2-activiti-form/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-activiti-form/config/webpack.common.js +++ b/ng2-components/ng2-activiti-form/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-activiti-form/demo/package.json b/ng2-components/ng2-activiti-form/demo/package.json index 5567f382d3..952dc722f7 100644 --- a/ng2-components/ng2-activiti-form/demo/package.json +++ b/ng2-components/ng2-activiti-form/demo/package.json @@ -12,7 +12,7 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core", + "travis": "npm link ng2-alfresco-core ng2-activiti-form", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" @@ -32,22 +32,27 @@ "activiti-form" ], "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", @@ -55,9 +60,6 @@ "material-design-lite": "1.2.1", "moment": "2.15.1", "md-date-time-picker": "2.2.0", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-activiti-form": "1.4.0" }, "devDependencies": { diff --git a/ng2-components/ng2-activiti-form/demo/systemjs.config.js b/ng2-components/ng2-activiti-form/demo/systemjs.config.js index 1e20c19026..7a7f9a1355 100644 --- a/ng2-components/ng2-activiti-form/demo/systemjs.config.js +++ b/ng2-components/ng2-activiti-form/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-activiti-form/package.json b/ng2-components/ng2-activiti-form/package.json index 3dc28649b7..8d9a63680a 100644 --- a/ng2-components/ng2-activiti-form/package.json +++ b/ng2-components/ng2-activiti-form/package.json @@ -34,6 +34,7 @@ "activiti" ], "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-activiti-processlist/config/webpack.common.js b/ng2-components/ng2-activiti-processlist/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-activiti-processlist/config/webpack.common.js +++ b/ng2-components/ng2-activiti-processlist/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-activiti-processlist/demo/package.json b/ng2-components/ng2-activiti-processlist/demo/package.json index 12d7875f30..235d80ba50 100644 --- a/ng2-components/ng2-activiti-processlist/demo/package.json +++ b/ng2-components/ng2-activiti-processlist/demo/package.json @@ -12,7 +12,7 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable ng2-activiti-form ng2-activiti-tasklist", + "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable ng2-activiti-form ng2-activiti-tasklist ng2-activiti-processlist", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" @@ -25,22 +25,27 @@ "demo" ], "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", @@ -48,10 +53,7 @@ "material-design-lite": "1.2.1", "moment": "2.15.1", "md-date-time-picker": "2.2.0", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", "ng2-activiti-tasklist": "1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-alfresco-datatable": "1.4.0", "ng2-activiti-processlist": "1.4.0" }, diff --git a/ng2-components/ng2-activiti-processlist/demo/systemjs.config.js b/ng2-components/ng2-activiti-processlist/demo/systemjs.config.js index 952fd92e90..fb4d4b00b7 100644 --- a/ng2-components/ng2-activiti-processlist/demo/systemjs.config.js +++ b/ng2-components/ng2-activiti-processlist/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'moment' : 'npm:moment/min/moment.min.js', diff --git a/ng2-components/ng2-activiti-processlist/package.json b/ng2-components/ng2-activiti-processlist/package.json index 582c9a34b9..4a567e46f4 100644 --- a/ng2-components/ng2-activiti-processlist/package.json +++ b/ng2-components/ng2-activiti-processlist/package.json @@ -33,6 +33,7 @@ "alfresco" ], "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-activiti-tasklist/config/webpack.common.js b/ng2-components/ng2-activiti-tasklist/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-activiti-tasklist/config/webpack.common.js +++ b/ng2-components/ng2-activiti-tasklist/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-activiti-tasklist/demo/package.json b/ng2-components/ng2-activiti-tasklist/demo/package.json index 6a4217bd79..9b0d896781 100644 --- a/ng2-components/ng2-activiti-tasklist/demo/package.json +++ b/ng2-components/ng2-activiti-tasklist/demo/package.json @@ -12,29 +12,34 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable ng2-activiti-form", + "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable ng2-activiti-form ng2-activiti-tasklist", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" }, "license": "Apache-2.0", "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", @@ -42,9 +47,6 @@ "material-design-lite": "1.2.1", "moment": "2.15.1", "md-date-time-picker": "2.2.0", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-alfresco-datatable": "1.4.0", "ng2-activiti-tasklist": "1.4.0" }, diff --git a/ng2-components/ng2-activiti-tasklist/demo/systemjs.config.js b/ng2-components/ng2-activiti-tasklist/demo/systemjs.config.js index 772a76380a..bf04333fc7 100644 --- a/ng2-components/ng2-activiti-tasklist/demo/systemjs.config.js +++ b/ng2-components/ng2-activiti-tasklist/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'moment' : 'npm:moment/min/moment.min.js', diff --git a/ng2-components/ng2-activiti-tasklist/package.json b/ng2-components/ng2-activiti-tasklist/package.json index ec63f4b06a..493eb0a5f3 100644 --- a/ng2-components/ng2-activiti-tasklist/package.json +++ b/ng2-components/ng2-activiti-tasklist/package.json @@ -37,6 +37,7 @@ "alfresco" ], "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-alfresco-core/config/webpack.common.js b/ng2-components/ng2-alfresco-core/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-alfresco-core/config/webpack.common.js +++ b/ng2-components/ng2-alfresco-core/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-alfresco-datatable/config/webpack.common.js b/ng2-components/ng2-alfresco-datatable/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-alfresco-datatable/config/webpack.common.js +++ b/ng2-components/ng2-alfresco-datatable/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-alfresco-datatable/demo/package.json b/ng2-components/ng2-alfresco-datatable/demo/package.json index 9cfb151e2a..b542cf8d6c 100644 --- a/ng2-components/ng2-alfresco-datatable/demo/package.json +++ b/ng2-components/ng2-alfresco-datatable/demo/package.json @@ -12,7 +12,7 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core", + "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" @@ -25,30 +25,33 @@ } ], "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + + "@angular/upgrade": "2.4.7", "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-alfresco-datatable": "1.4.0" }, "devDependencies": { diff --git a/ng2-components/ng2-alfresco-datatable/demo/systemjs.config.js b/ng2-components/ng2-alfresco-datatable/demo/systemjs.config.js index bf0730f3cf..4fa982b2e9 100644 --- a/ng2-components/ng2-alfresco-datatable/demo/systemjs.config.js +++ b/ng2-components/ng2-alfresco-datatable/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-alfresco-datatable/package.json b/ng2-components/ng2-alfresco-datatable/package.json index 5b87b26137..c833c419fc 100644 --- a/ng2-components/ng2-alfresco-datatable/package.json +++ b/ng2-components/ng2-alfresco-datatable/package.json @@ -33,6 +33,7 @@ "alfresco" ], "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-alfresco-documentlist/config/webpack.common.js b/ng2-components/ng2-alfresco-documentlist/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-alfresco-documentlist/config/webpack.common.js +++ b/ng2-components/ng2-alfresco-documentlist/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-alfresco-documentlist/demo/package.json b/ng2-components/ng2-alfresco-documentlist/demo/package.json index e72980bff6..51a174b717 100644 --- a/ng2-components/ng2-alfresco-documentlist/demo/package.json +++ b/ng2-components/ng2-alfresco-documentlist/demo/package.json @@ -12,32 +12,34 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable", + "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable ng2-alfresco-documentlist", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" }, "license": "Apache-2.0", "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-datatable": "1.4.0", "ng2-alfresco-documentlist": "1.4.0", "material-design-icons": "2.2.3", diff --git a/ng2-components/ng2-alfresco-documentlist/demo/systemjs.config.js b/ng2-components/ng2-alfresco-documentlist/demo/systemjs.config.js index 70b1c64bca..cc70793519 100644 --- a/ng2-components/ng2-alfresco-documentlist/demo/systemjs.config.js +++ b/ng2-components/ng2-alfresco-documentlist/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-alfresco-documentlist/package.json b/ng2-components/ng2-alfresco-documentlist/package.json index d505dc3b20..622f4466c1 100644 --- a/ng2-components/ng2-alfresco-documentlist/package.json +++ b/ng2-components/ng2-alfresco-documentlist/package.json @@ -41,6 +41,7 @@ "alfresco" ], "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-alfresco-login/config/webpack.common.js b/ng2-components/ng2-alfresco-login/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-alfresco-login/config/webpack.common.js +++ b/ng2-components/ng2-alfresco-login/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-alfresco-login/demo/package.json b/ng2-components/ng2-alfresco-login/demo/package.json index 5a4e6f8ee2..8795003a03 100644 --- a/ng2-components/ng2-alfresco-login/demo/package.json +++ b/ng2-components/ng2-alfresco-login/demo/package.json @@ -12,7 +12,7 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core", + "travis": "npm link ng2-alfresco-core ng2-alfresco-login", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" @@ -47,30 +47,32 @@ "alfresco" ], "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-alfresco-login": "1.4.0" }, "devDependencies": { diff --git a/ng2-components/ng2-alfresco-login/demo/systemjs.config.js b/ng2-components/ng2-alfresco-login/demo/systemjs.config.js index 0991c99dcf..49c8cd8c90 100644 --- a/ng2-components/ng2-alfresco-login/demo/systemjs.config.js +++ b/ng2-components/ng2-alfresco-login/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-alfresco-login/package.json b/ng2-components/ng2-alfresco-login/package.json index 3b6b4ac985..9389358f62 100644 --- a/ng2-components/ng2-alfresco-login/package.json +++ b/ng2-components/ng2-alfresco-login/package.json @@ -45,6 +45,7 @@ "alfresco" ], "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-alfresco-search/config/webpack.common.js b/ng2-components/ng2-alfresco-search/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-alfresco-search/config/webpack.common.js +++ b/ng2-components/ng2-alfresco-search/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-alfresco-search/demo/package.json b/ng2-components/ng2-alfresco-search/demo/package.json index 2e8fb4606e..da03b8522e 100644 --- a/ng2-components/ng2-alfresco-search/demo/package.json +++ b/ng2-components/ng2-alfresco-search/demo/package.json @@ -12,7 +12,7 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable ng2-alfresco-documentlist", + "travis": "npm link ng2-alfresco-search ng2-alfresco-core ng2-alfresco-datatable ng2-alfresco-documentlist", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" @@ -47,30 +47,32 @@ "alfresco" ], "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-alfresco-datatable": "1.4.0", "ng2-alfresco-documentlist": "1.4.0", "ng2-alfresco-search": "1.4.0" diff --git a/ng2-components/ng2-alfresco-search/demo/systemjs.config.js b/ng2-components/ng2-alfresco-search/demo/systemjs.config.js index 353cef68ae..527c9b8a1f 100644 --- a/ng2-components/ng2-alfresco-search/demo/systemjs.config.js +++ b/ng2-components/ng2-alfresco-search/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-alfresco-search/package.json b/ng2-components/ng2-alfresco-search/package.json index 73f0ee291f..292d4cad14 100644 --- a/ng2-components/ng2-alfresco-search/package.json +++ b/ng2-components/ng2-alfresco-search/package.json @@ -41,6 +41,7 @@ "alfresco" ], "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-alfresco-social/config/webpack.common.js b/ng2-components/ng2-alfresco-social/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-alfresco-social/config/webpack.common.js +++ b/ng2-components/ng2-alfresco-social/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-alfresco-social/demo/package.json b/ng2-components/ng2-alfresco-social/demo/package.json index c833061861..5a55e194b7 100644 --- a/ng2-components/ng2-alfresco-social/demo/package.json +++ b/ng2-components/ng2-alfresco-social/demo/package.json @@ -12,37 +12,39 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core", + "travis": "npm link ng2-alfresco-core ng2-alfresco-social", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" }, "license": "Apache-2.0", "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-alfresco-social": "1.4.0" }, "devDependencies": { diff --git a/ng2-components/ng2-alfresco-social/demo/systemjs.config.js b/ng2-components/ng2-alfresco-social/demo/systemjs.config.js index b5e32d070a..2a250d51b1 100644 --- a/ng2-components/ng2-alfresco-social/demo/systemjs.config.js +++ b/ng2-components/ng2-alfresco-social/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-alfresco-social/package.json b/ng2-components/ng2-alfresco-social/package.json index 304fc0b769..98740e4c17 100644 --- a/ng2-components/ng2-alfresco-social/package.json +++ b/ng2-components/ng2-alfresco-social/package.json @@ -21,6 +21,7 @@ "url": "https://github.com/Alfresco/alfresco-ng2-components/issues" }, "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-alfresco-tag/config/webpack.common.js b/ng2-components/ng2-alfresco-tag/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-alfresco-tag/config/webpack.common.js +++ b/ng2-components/ng2-alfresco-tag/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-alfresco-tag/demo/package.json b/ng2-components/ng2-alfresco-tag/demo/package.json index 78581fc354..0ef7cec36e 100644 --- a/ng2-components/ng2-alfresco-tag/demo/package.json +++ b/ng2-components/ng2-alfresco-tag/demo/package.json @@ -12,42 +12,38 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core", + "travis": "npm link ng2-alfresco-core ng2-alfresco-tag", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" }, "license": "Apache-2.0", "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", - "zone.js": "0.7.6", - "intl": "1.2.4", - "dialog-polyfill": "0.4.7", - "element.scrollintoviewifneeded-polyfill": "1.0.1", - "material-design-icons": "2.2.3", - "material-design-lite": "1.2.1", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", - "ng2-alfresco-tag": "1.4.0" + "zone.js": "0.7.6" }, "devDependencies": { - "@types/jasmine": "^2.2.33", - "@types/node": "^6.0.42", + "@types/hammerjs": "^2.0.34", + "@types/jasmine": "2.5.35", + "@types/node": "6.0.45", "concurrently": "^2.2.0", "rimraf": "2.5.2", "tslint": "3.15.1", diff --git a/ng2-components/ng2-alfresco-tag/demo/systemjs.config.js b/ng2-components/ng2-alfresco-tag/demo/systemjs.config.js index 6d080473a1..d4c4f382bc 100644 --- a/ng2-components/ng2-alfresco-tag/demo/systemjs.config.js +++ b/ng2-components/ng2-alfresco-tag/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-alfresco-tag/package.json b/ng2-components/ng2-alfresco-tag/package.json index 8170c978eb..aca0abc0ef 100644 --- a/ng2-components/ng2-alfresco-tag/package.json +++ b/ng2-components/ng2-alfresco-tag/package.json @@ -21,6 +21,7 @@ "url": "https://github.com/Alfresco/alfresco-ng2-components/issues" }, "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-alfresco-upload/config/webpack.common.js b/ng2-components/ng2-alfresco-upload/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-alfresco-upload/config/webpack.common.js +++ b/ng2-components/ng2-alfresco-upload/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-alfresco-upload/demo/package.json b/ng2-components/ng2-alfresco-upload/demo/package.json index d539b4ccf9..3765f93ee3 100644 --- a/ng2-components/ng2-alfresco-upload/demo/package.json +++ b/ng2-components/ng2-alfresco-upload/demo/package.json @@ -12,7 +12,7 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core", + "travis": "npm link ng2-alfresco-core ng2-alfresco-upload", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" @@ -47,30 +47,32 @@ "alfresco" ], "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-alfresco-upload": "1.4.0" }, "devDependencies": { diff --git a/ng2-components/ng2-alfresco-upload/demo/src/main.ts b/ng2-components/ng2-alfresco-upload/demo/src/main.ts index a8c702b244..24f4c65120 100644 --- a/ng2-components/ng2-alfresco-upload/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-upload/demo/src/main.ts @@ -42,22 +42,18 @@ import { UploadModule } from 'ng2-alfresco-upload';
+ [versioning] = "versioning">
+ [versioning] = "versioning">
diff --git a/ng2-components/ng2-alfresco-upload/demo/systemjs.config.js b/ng2-components/ng2-alfresco-upload/demo/systemjs.config.js index c9897420b6..5ac7852681 100644 --- a/ng2-components/ng2-alfresco-upload/demo/systemjs.config.js +++ b/ng2-components/ng2-alfresco-upload/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-alfresco-upload/package.json b/ng2-components/ng2-alfresco-upload/package.json index 0d65c5f890..ed1e7bee01 100644 --- a/ng2-components/ng2-alfresco-upload/package.json +++ b/ng2-components/ng2-alfresco-upload/package.json @@ -42,6 +42,7 @@ "alfresco" ], "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-alfresco-upload/src/components/upload-button.component.ts b/ng2-components/ng2-alfresco-upload/src/components/upload-button.component.ts index 84d19f9b9a..4256157030 100644 --- a/ng2-components/ng2-alfresco-upload/src/components/upload-button.component.ts +++ b/ng2-components/ng2-alfresco-upload/src/components/upload-button.component.ts @@ -17,7 +17,7 @@ import { Component, ElementRef, Input, Output, EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { Subject } from 'rxjs/Rx'; -import { AlfrescoTranslationService, LogService, NotificationService } from 'ng2-alfresco-core'; +import { AlfrescoTranslationService, LogService, NotificationService, AlfrescoSettingsService } from 'ng2-alfresco-core'; import { UploadService } from '../services/upload.service'; import { FileModel } from '../models/file.model'; import { PermissionModel } from '../models/permissions.model'; @@ -105,13 +105,18 @@ export class UploadButtonComponent implements OnInit, OnChanges { private uploadService: UploadService, private translateService: AlfrescoTranslationService, private logService: LogService, - private notificationService: NotificationService) { + private notificationService: NotificationService, + private settingsService: AlfrescoSettingsService) { if (translateService) { translateService.addTranslationFolder('ng2-alfresco-upload', 'node_modules/ng2-alfresco-upload/src'); } } ngOnInit() { + this.settingsService.ecmHostSubject.subscribe((hostEcm: string) => { + this.checkPermission(); + }); + this.permissionValue.subscribe((permission: boolean) => { this.hasPermission = permission; }); diff --git a/ng2-components/ng2-alfresco-userinfo/config/webpack.common.js b/ng2-components/ng2-alfresco-userinfo/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-alfresco-userinfo/config/webpack.common.js +++ b/ng2-components/ng2-alfresco-userinfo/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-alfresco-userinfo/demo/package.json b/ng2-components/ng2-alfresco-userinfo/demo/package.json index 460b97c8ff..22e07723b4 100644 --- a/ng2-components/ng2-alfresco-userinfo/demo/package.json +++ b/ng2-components/ng2-alfresco-userinfo/demo/package.json @@ -12,37 +12,39 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core", + "travis": "npm link ng2-alfresco-core ng2-alfresco-login ng2-alfresco-userinfo", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" }, "license": "Apache-2.0", "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-alfresco-login": "1.4.0", "ng2-alfresco-userinfo": "1.4.0" }, diff --git a/ng2-components/ng2-alfresco-userinfo/demo/systemjs.config.js b/ng2-components/ng2-alfresco-userinfo/demo/systemjs.config.js index 9a8c09d837..284d7d0b4c 100644 --- a/ng2-components/ng2-alfresco-userinfo/demo/systemjs.config.js +++ b/ng2-components/ng2-alfresco-userinfo/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-alfresco-userinfo/package.json b/ng2-components/ng2-alfresco-userinfo/package.json index 1cad39a289..2cedbc1002 100644 --- a/ng2-components/ng2-alfresco-userinfo/package.json +++ b/ng2-components/ng2-alfresco-userinfo/package.json @@ -21,6 +21,7 @@ "url": "https://github.com/Alfresco/alfresco-ng2-components/issues" }, "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-alfresco-viewer/config/webpack.common.js b/ng2-components/ng2-alfresco-viewer/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-alfresco-viewer/config/webpack.common.js +++ b/ng2-components/ng2-alfresco-viewer/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-alfresco-viewer/demo/package.json b/ng2-components/ng2-alfresco-viewer/demo/package.json index bbbad09958..d0371e51e6 100644 --- a/ng2-components/ng2-alfresco-viewer/demo/package.json +++ b/ng2-components/ng2-alfresco-viewer/demo/package.json @@ -12,37 +12,39 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core", + "travis": "npm link ng2-alfresco-core ng2-alfresco-viewer", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" }, "license": "Apache-2.0", "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-alfresco-viewer": "1.4.0", "pdfjs-dist": "1.5.404" }, diff --git a/ng2-components/ng2-alfresco-viewer/demo/systemjs.config.js b/ng2-components/ng2-alfresco-viewer/demo/systemjs.config.js index b37069fb4d..8a17b8f848 100644 --- a/ng2-components/ng2-alfresco-viewer/demo/systemjs.config.js +++ b/ng2-components/ng2-alfresco-viewer/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-alfresco-viewer/package.json b/ng2-components/ng2-alfresco-viewer/package.json index 56c620ef88..41c1c2e07e 100644 --- a/ng2-components/ng2-alfresco-viewer/package.json +++ b/ng2-components/ng2-alfresco-viewer/package.json @@ -36,6 +36,7 @@ "alfresco" ], "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/ng2-components/ng2-alfresco-webscript/config/webpack.common.js b/ng2-components/ng2-alfresco-webscript/config/webpack.common.js index 95cd33177e..52a680e87e 100644 --- a/ng2-components/ng2-alfresco-webscript/config/webpack.common.js +++ b/ng2-components/ng2-alfresco-webscript/config/webpack.common.js @@ -87,8 +87,8 @@ module.exports = { }, publicPath: (url, resourcePath)=> { var component = resourcePath.substring(0, resourcePath.indexOf('src')); - var path = resourcePath.replace(component, '').replace('src', 'bundles'); - return './' + path + url; + var path = resourcePath.replace(component, '').replace('src/', ''); + return path + url; } } } diff --git a/ng2-components/ng2-alfresco-webscript/demo/package.json b/ng2-components/ng2-alfresco-webscript/demo/package.json index ee378181e2..4a1d831482 100644 --- a/ng2-components/ng2-alfresco-webscript/demo/package.json +++ b/ng2-components/ng2-alfresco-webscript/demo/package.json @@ -12,37 +12,39 @@ "server": "wsrv -o -s -l", "build": "npm run tslint && npm run clean-build && npm run tsc", "build:w": "npm run tslint && rimraf dist && npm run tsc:w", - "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable", + "travis": "npm link ng2-alfresco-core ng2-alfresco-datatable ng2-alfresco-webscript", "tsc": "tsc", "tsc:w": "tsc -w", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'" }, "license": "Apache-2.0", "dependencies": { - "@angular/common": "2.4.7", - "@angular/compiler": "2.4.7", - "@angular/compiler-cli": "2.4.7", - "@angular/core": "2.4.7", - "@angular/forms": "2.4.7", - "@angular/http": "2.4.7", - "@angular/platform-browser": "2.4.7", - "@angular/platform-browser-dynamic": "2.4.7", + "@angular/animations": "~4.0.0", + "@angular/common": "~4.0.0", + "@angular/compiler": "~4.0.0", + "@angular/core": "~4.0.0", + "@angular/forms": "~4.0.0", + "@angular/http": "~4.0.0", + "@angular/platform-browser": "~4.0.0", + "@angular/platform-browser-dynamic": "~4.0.0", + "@angular/router": "~4.0.0", + "@angular/material": "2.0.0-beta.1", - "@angular/router": "3.4.7", - "@angular/upgrade": "2.4.7", + "alfresco-js-api": "~1.4.0", "core-js": "2.4.1", + "hammerjs": "2.0.8", + "ng2-alfresco-core": "1.4.0", + "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", + "intl": "1.2.4", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-translate": "5.0.0", - "alfresco-js-api": "~1.4.0", - "ng2-alfresco-core": "1.4.0", "ng2-alfresco-datatable": "1.4.0", "ng2-alfresco-webscript": "1.4.0" }, diff --git a/ng2-components/ng2-alfresco-webscript/demo/systemjs.config.js b/ng2-components/ng2-alfresco-webscript/demo/systemjs.config.js index ef3161379c..a106cb4527 100644 --- a/ng2-components/ng2-alfresco-webscript/demo/systemjs.config.js +++ b/ng2-components/ng2-alfresco-webscript/demo/systemjs.config.js @@ -22,6 +22,9 @@ '@angular/router': 'npm:@angular/router/bundles/router.umd.js', '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js', '@angular/material': 'npm:@angular/material/bundles/material.umd.js', + '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', + '@angular/animations/browser':'npm:@angular/animations/bundles/animations-browser.umd.js', + '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js', // other libraries 'rxjs': 'npm:rxjs', diff --git a/ng2-components/ng2-alfresco-webscript/package.json b/ng2-components/ng2-alfresco-webscript/package.json index 96b7901a96..73eb80b819 100644 --- a/ng2-components/ng2-alfresco-webscript/package.json +++ b/ng2-components/ng2-alfresco-webscript/package.json @@ -21,6 +21,7 @@ "url": "https://github.com/Alfresco/alfresco-ng2-components/issues" }, "dependencies": { + "@angular/animations": "~4.0.0", "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/core": "~4.0.0", diff --git a/scripts/npm-build-all-demo.sh b/scripts/npm-build-all-demo.sh new file mode 100755 index 0000000000..9a8f9e73df --- /dev/null +++ b/scripts/npm-build-all-demo.sh @@ -0,0 +1,96 @@ +#!/usr/bin/env bash + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +eval EXEC_GIT_NPM_INSTALL_JSAPI=false +eval EXEC_BUILD=true +eval EXEC_INSTALL=true + +eval projects=( + "ng2-alfresco-core" + "ng2-alfresco-datatable" + "ng2-activiti-diagrams" + "ng2-activiti-analytics" + "ng2-activiti-form" + "ng2-activiti-tasklist" + "ng2-activiti-processlist" + "ng2-alfresco-documentlist" + "ng2-alfresco-login" + "ng2-alfresco-search" + "ng2-alfresco-social" + "ng2-alfresco-tag" + "ng2-alfresco-social" + "ng2-alfresco-upload" + "ng2-alfresco-viewer" + "ng2-alfresco-webscript" + "ng2-alfresco-userinfo" ) + +enable_js_api_git_link() { + GIT_ISH='git://github.com/Alfresco/alfresco-js-api.git#'$1 + EXEC_GIT_NPM_INSTALL_JSAPI=true +} + +show_help() { + echo "Usage: npm-build-all-demo.sh" + echo "" + echo "-t or -test build all your local component and run also the test on them , this parameter accept also a wildecard to execute test for example -t "ng2-alfresco-core" " + echo "-gitjsapi to build all the components against a commit-ish version of the JS-API" +} + +exclude_build(){ + EXEC_BUILD=false +} + +exec_install(){ + EXEC_INSTALL=false +} + +while [[ $1 == -* ]]; do + case "$1" in + -h|--help|-\?) show_help; exit 0;; + -si|--skipinstall) exec_install; shift;; + -sb|--skipbuild) exclude_build; shift;; + -gitjsapi) enable_js_api_git_link $2; shift 2;; + -*) echo "invalid option: $1" 1>&2; show_help; exit 1;; + esac +done + +cd "$DIR/../ng2-components/" + +if $EXEC_INSTALL == true; then + echo "====== Regenerate global ng2-components package.json =====" + npm install package-json-merge + npm run pkg-build + echo "====== Install ng2-components dependencies =====" + npm install + + if $EXEC_GIT_NPM_INSTALL_JSAPI == true; then + echo "====== Use the alfresco JS-API '$GIT_ISH'=====" + npm install $GIT_ISH + cd "$DIR/../ng2-components/node_modules/alfresco-js-api" + npm install + cd "$DIR/../ng2-components/" + fi +fi + +if $EXEC_BUILD == true; then + echo "====== Build ng2-components =====" + npm run build || exit 1 +fi + +for PACKAGE in ${projects[@]} +do + DESTDIR="$DIR/../ng2-components/$PACKAGE/demo" + if $EXEC_GIT_NPM_INSTALL_JSAPI == true; then + echo "====== Use the alfresco JS-API '$GIT_ISH' in $PACKAGE demo =====" + cd $DESTDIR + npm install $GIT_ISH + cd "$DIR/../ng2-components/$PACKAGE/demo/node_modules/alfresco-js-api" + npm install + fi + cd $DESTDIR + + npm link + npm run travis +done + diff --git a/scripts/update-version.sh b/scripts/update-version.sh index bb87ab6881..06bdc127b8 100755 --- a/scripts/update-version.sh +++ b/scripts/update-version.sh @@ -93,8 +93,8 @@ update_component_js_version(){ update_demo_shell_dependency_version(){ - for (( k=0; j<${projectslength}; k++ )); - do + for (( k=0; k<${projectslength}; k++ )); + do echo "====== UPDATE VERSION OF DEMO-SHELL to ${projects[$k]} version ${VERSION} ======" DESTDIR="$DIR/../demo-shell-ng2/" sed "${sedi[@]}" "s/\"${projects[$k]}\": \"[0-9]\\.[0-9]\\.[0-9]\"/\"${projects[$k]}\": \"${VERSION}\"/g" ${DESTDIR}/package.json From c751c28bbd43680f2b38153c0117f1106ee64e9d Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Thu, 25 May 2017 11:34:03 +0100 Subject: [PATCH 71/72] update 1.5.0 version (#1903) --- demo-shell-ng2/package.json | 36 +++++++++---------- .../ng2-activiti-analytics/demo/package.json | 8 ++--- .../ng2-activiti-analytics/package.json | 8 ++--- .../ng2-activiti-diagrams/demo/package.json | 6 ++-- .../ng2-activiti-diagrams/package.json | 6 ++-- .../ng2-activiti-form/demo/package.json | 6 ++-- ng2-components/ng2-activiti-form/package.json | 6 ++-- .../demo/package.json | 10 +++--- .../ng2-activiti-processlist/package.json | 12 +++---- .../ng2-activiti-tasklist/demo/package.json | 8 ++--- .../ng2-activiti-tasklist/package.json | 10 +++--- ng2-components/ng2-alfresco-core/package.json | 4 +-- .../ng2-alfresco-datatable/demo/package.json | 6 ++-- .../ng2-alfresco-datatable/package.json | 6 ++-- .../demo/package.json | 8 ++--- .../ng2-alfresco-documentlist/package.json | 8 ++--- .../ng2-alfresco-login/demo/package.json | 6 ++-- .../ng2-alfresco-login/package.json | 6 ++-- .../ng2-alfresco-search/demo/package.json | 10 +++--- .../ng2-alfresco-search/package.json | 10 +++--- .../ng2-alfresco-social/demo/package.json | 6 ++-- .../ng2-alfresco-social/package.json | 6 ++-- .../ng2-alfresco-tag/demo/package.json | 4 +-- ng2-components/ng2-alfresco-tag/package.json | 6 ++-- .../ng2-alfresco-upload/demo/package.json | 6 ++-- .../ng2-alfresco-upload/package.json | 6 ++-- .../ng2-alfresco-userinfo/demo/package.json | 8 ++--- .../ng2-alfresco-userinfo/package.json | 6 ++-- .../ng2-alfresco-viewer/demo/package.json | 6 ++-- .../ng2-alfresco-viewer/package.json | 6 ++-- .../ng2-alfresco-webscript/demo/package.json | 8 ++--- .../ng2-alfresco-webscript/package.json | 8 ++--- 32 files changed, 128 insertions(+), 128 deletions(-) diff --git a/demo-shell-ng2/package.json b/demo-shell-ng2/package.json index 355972cdb0..08469df2ef 100644 --- a/demo-shell-ng2/package.json +++ b/demo-shell-ng2/package.json @@ -1,7 +1,7 @@ { "name": "Alfresco-Angular2-Demo", "description": "Demo shell for Alfresco Angular2 components", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "build": "npm run server-versions && rimraf dist && npm run webpack -- --config config/webpack.prod.js --progress --profile --bail", @@ -82,23 +82,23 @@ "md-date-time-picker": "2.2.0", "element.scrollintoviewifneeded-polyfill": "^1.0.1", "ng2-3d-editor": "0.0.15", - "alfresco-js-api": "~1.4.0", - "ng2-activiti-analytics": "1.4.0", - "ng2-activiti-diagrams": "1.4.0", - "ng2-activiti-form": "1.4.0", - "ng2-activiti-processlist": "1.4.0", - "ng2-activiti-tasklist": "1.4.0", - "ng2-alfresco-core": "1.4.0", - "ng2-alfresco-datatable": "1.4.0", - "ng2-alfresco-documentlist": "1.4.0", - "ng2-alfresco-login": "1.4.0", - "ng2-alfresco-search": "1.4.0", - "ng2-alfresco-tag": "1.4.0", - "ng2-alfresco-social": "1.4.0", - "ng2-alfresco-upload": "1.4.0", - "ng2-alfresco-userinfo": "1.4.0", - "ng2-alfresco-viewer": "1.4.0", - "ng2-alfresco-webscript": "1.4.0" + "alfresco-js-api": "~1.5.0", + "ng2-activiti-analytics": "1.5.0", + "ng2-activiti-diagrams": "1.5.0", + "ng2-activiti-form": "1.5.0", + "ng2-activiti-processlist": "1.5.0", + "ng2-activiti-tasklist": "1.5.0", + "ng2-alfresco-core": "1.5.0", + "ng2-alfresco-datatable": "1.5.0", + "ng2-alfresco-documentlist": "1.5.0", + "ng2-alfresco-login": "1.5.0", + "ng2-alfresco-search": "1.5.0", + "ng2-alfresco-tag": "1.5.0", + "ng2-alfresco-social": "1.5.0", + "ng2-alfresco-upload": "1.5.0", + "ng2-alfresco-userinfo": "1.5.0", + "ng2-alfresco-viewer": "1.5.0", + "ng2-alfresco-webscript": "1.5.0" }, "devDependencies": { "@types/hammerjs": "^2.0.34", diff --git a/ng2-components/ng2-activiti-analytics/demo/package.json b/ng2-components/ng2-activiti-analytics/demo/package.json index 272da2731e..e1bab4ae48 100644 --- a/ng2-components/ng2-activiti-analytics/demo/package.json +++ b/ng2-components/ng2-activiti-analytics/demo/package.json @@ -43,10 +43,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -64,8 +64,8 @@ "ng2-charts": "1.5.0", "moment": "2.15.1", "raphael": "^2.2.6", - "ng2-activiti-diagrams": "1.4.0", - "ng2-activiti-analytics": "1.4.0" + "ng2-activiti-diagrams": "1.5.0", + "ng2-activiti-analytics": "1.5.0" }, "devDependencies": { "@types/hammerjs": "^2.0.34", diff --git a/ng2-components/ng2-activiti-analytics/package.json b/ng2-components/ng2-activiti-analytics/package.json index e9a420e520..cf97546ca1 100644 --- a/ng2-components/ng2-activiti-analytics/package.json +++ b/ng2-components/ng2-activiti-analytics/package.json @@ -1,7 +1,7 @@ { "name": "ng2-activiti-analytics", "description": "Activiti Angular2 Analytics Component", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -42,14 +42,14 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "chart.js": "2.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", "md-date-time-picker": "2.2.0", "moment": "2.15.1", - "ng2-activiti-diagrams": "1.4.0", - "ng2-alfresco-core": "1.4.0", + "ng2-activiti-diagrams": "1.5.0", + "ng2-alfresco-core": "1.5.0", "ng2-charts": "1.5.0", "ng2-translate": "5.0.0", "raphael": "2.2.7", diff --git a/ng2-components/ng2-activiti-diagrams/demo/package.json b/ng2-components/ng2-activiti-diagrams/demo/package.json index 52a16ae8de..fe3e7744bf 100644 --- a/ng2-components/ng2-activiti-diagrams/demo/package.json +++ b/ng2-components/ng2-activiti-diagrams/demo/package.json @@ -43,10 +43,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -58,7 +58,7 @@ "intl": "1.2.4", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-activiti-diagrams": "1.4.0", + "ng2-activiti-diagrams": "1.5.0", "raphael": "^2.2.6" }, "devDependencies": { diff --git a/ng2-components/ng2-activiti-diagrams/package.json b/ng2-components/ng2-activiti-diagrams/package.json index ee95c39fc4..e9325cb0df 100644 --- a/ng2-components/ng2-activiti-diagrams/package.json +++ b/ng2-components/ng2-activiti-diagrams/package.json @@ -1,7 +1,7 @@ { "name": "ng2-activiti-diagrams", "description": "Activiti Angular2 Diagrams Component", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -38,10 +38,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "raphael": "^2.2.6", "reflect-metadata": "0.1.10", diff --git a/ng2-components/ng2-activiti-form/demo/package.json b/ng2-components/ng2-activiti-form/demo/package.json index 952dc722f7..15f537cd94 100644 --- a/ng2-components/ng2-activiti-form/demo/package.json +++ b/ng2-components/ng2-activiti-form/demo/package.json @@ -43,10 +43,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -60,7 +60,7 @@ "material-design-lite": "1.2.1", "moment": "2.15.1", "md-date-time-picker": "2.2.0", - "ng2-activiti-form": "1.4.0" + "ng2-activiti-form": "1.5.0" }, "devDependencies": { "@types/jasmine": "^2.2.33", diff --git a/ng2-components/ng2-activiti-form/package.json b/ng2-components/ng2-activiti-form/package.json index 8d9a63680a..2eaa668290 100644 --- a/ng2-components/ng2-activiti-form/package.json +++ b/ng2-components/ng2-activiti-form/package.json @@ -1,7 +1,7 @@ { "name": "ng2-activiti-form", "description": "Alfresco Activiti Form Component for Angular 2", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -44,12 +44,12 @@ "@angular/platform-browser-dynamic": "~4.0.0", "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", "md-date-time-picker": "2.2.0", "moment": "2.15.1", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", diff --git a/ng2-components/ng2-activiti-processlist/demo/package.json b/ng2-components/ng2-activiti-processlist/demo/package.json index 235d80ba50..b65aecae94 100644 --- a/ng2-components/ng2-activiti-processlist/demo/package.json +++ b/ng2-components/ng2-activiti-processlist/demo/package.json @@ -36,10 +36,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -53,9 +53,9 @@ "material-design-lite": "1.2.1", "moment": "2.15.1", "md-date-time-picker": "2.2.0", - "ng2-activiti-tasklist": "1.4.0", - "ng2-alfresco-datatable": "1.4.0", - "ng2-activiti-processlist": "1.4.0" + "ng2-activiti-tasklist": "1.5.0", + "ng2-alfresco-datatable": "1.5.0", + "ng2-activiti-processlist": "1.5.0" }, "devDependencies": { "@types/jasmine": "^2.2.33", diff --git a/ng2-components/ng2-activiti-processlist/package.json b/ng2-components/ng2-activiti-processlist/package.json index 4a567e46f4..7914081163 100644 --- a/ng2-components/ng2-activiti-processlist/package.json +++ b/ng2-components/ng2-activiti-processlist/package.json @@ -1,7 +1,7 @@ { "name": "ng2-activiti-processlist", "description": "Show active processes from the Activiti Process Services suite", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -44,15 +44,15 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", "md-date-time-picker": "2.2.0", "moment": "2.15.1", - "ng2-activiti-form": "1.4.0", - "ng2-activiti-tasklist": "1.4.0", - "ng2-alfresco-core": "1.4.0", - "ng2-alfresco-datatable": "1.4.0", + "ng2-activiti-form": "1.5.0", + "ng2-activiti-tasklist": "1.5.0", + "ng2-alfresco-core": "1.5.0", + "ng2-alfresco-datatable": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", diff --git a/ng2-components/ng2-activiti-tasklist/demo/package.json b/ng2-components/ng2-activiti-tasklist/demo/package.json index 9b0d896781..81f721541c 100644 --- a/ng2-components/ng2-activiti-tasklist/demo/package.json +++ b/ng2-components/ng2-activiti-tasklist/demo/package.json @@ -30,10 +30,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -47,8 +47,8 @@ "material-design-lite": "1.2.1", "moment": "2.15.1", "md-date-time-picker": "2.2.0", - "ng2-alfresco-datatable": "1.4.0", - "ng2-activiti-tasklist": "1.4.0" + "ng2-alfresco-datatable": "1.5.0", + "ng2-activiti-tasklist": "1.5.0" }, "devDependencies": { "@types/jasmine": "^2.2.33", diff --git a/ng2-components/ng2-activiti-tasklist/package.json b/ng2-components/ng2-activiti-tasklist/package.json index 493eb0a5f3..44909fe9dc 100644 --- a/ng2-components/ng2-activiti-tasklist/package.json +++ b/ng2-components/ng2-activiti-tasklist/package.json @@ -1,7 +1,7 @@ { "name": "ng2-activiti-tasklist", "description": "Activiti Angular2 Task List Component", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -48,14 +48,14 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", "md-date-time-picker": "2.2.0", "moment": "2.15.1", - "ng2-activiti-form": "1.4.0", - "ng2-alfresco-core": "1.4.0", - "ng2-alfresco-datatable": "1.4.0", + "ng2-activiti-form": "1.5.0", + "ng2-alfresco-core": "1.5.0", + "ng2-alfresco-datatable": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", diff --git a/ng2-components/ng2-alfresco-core/package.json b/ng2-components/ng2-alfresco-core/package.json index 7f08e15059..0b96fb1ed0 100644 --- a/ng2-components/ng2-alfresco-core/package.json +++ b/ng2-components/ng2-alfresco-core/package.json @@ -1,7 +1,7 @@ { "name": "ng2-alfresco-core", "description": "Alfresco Angular 2 Components core", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -53,7 +53,7 @@ "@angular/compiler-cli": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "dialog-polyfill": "0.4.7", "element.scrollintoviewifneeded-polyfill": "1.0.1", diff --git a/ng2-components/ng2-alfresco-datatable/demo/package.json b/ng2-components/ng2-alfresco-datatable/demo/package.json index b542cf8d6c..73f9cd849a 100644 --- a/ng2-components/ng2-alfresco-datatable/demo/package.json +++ b/ng2-components/ng2-alfresco-datatable/demo/package.json @@ -36,10 +36,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -52,7 +52,7 @@ "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-alfresco-datatable": "1.4.0" + "ng2-alfresco-datatable": "1.5.0" }, "devDependencies": { "@types/jasmine": "^2.2.33", diff --git a/ng2-components/ng2-alfresco-datatable/package.json b/ng2-components/ng2-alfresco-datatable/package.json index c833c419fc..75c84ea3dd 100644 --- a/ng2-components/ng2-alfresco-datatable/package.json +++ b/ng2-components/ng2-alfresco-datatable/package.json @@ -1,7 +1,7 @@ { "name": "ng2-alfresco-datatable", "description": "Alfresco Angular2 DataTable Component", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -44,10 +44,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", diff --git a/ng2-components/ng2-alfresco-documentlist/demo/package.json b/ng2-components/ng2-alfresco-documentlist/demo/package.json index 51a174b717..6e15b9c75c 100644 --- a/ng2-components/ng2-alfresco-documentlist/demo/package.json +++ b/ng2-components/ng2-alfresco-documentlist/demo/package.json @@ -30,18 +30,18 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", "systemjs": "0.19.27", "zone.js": "0.7.6", - "ng2-alfresco-datatable": "1.4.0", - "ng2-alfresco-documentlist": "1.4.0", + "ng2-alfresco-datatable": "1.5.0", + "ng2-alfresco-documentlist": "1.5.0", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", "intl": "^1.2.5" diff --git a/ng2-components/ng2-alfresco-documentlist/package.json b/ng2-components/ng2-alfresco-documentlist/package.json index 622f4466c1..05dfd9a5c8 100644 --- a/ng2-components/ng2-alfresco-documentlist/package.json +++ b/ng2-components/ng2-alfresco-documentlist/package.json @@ -1,7 +1,7 @@ { "name": "ng2-alfresco-documentlist", "description": "Alfresco Angular2 Document List Component", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -52,11 +52,11 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", - "ng2-alfresco-datatable": "1.4.0", + "ng2-alfresco-core": "1.5.0", + "ng2-alfresco-datatable": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", diff --git a/ng2-components/ng2-alfresco-login/demo/package.json b/ng2-components/ng2-alfresco-login/demo/package.json index 8795003a03..e8d5c42c14 100644 --- a/ng2-components/ng2-alfresco-login/demo/package.json +++ b/ng2-components/ng2-alfresco-login/demo/package.json @@ -58,10 +58,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -73,7 +73,7 @@ "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-alfresco-login": "1.4.0" + "ng2-alfresco-login": "1.5.0" }, "devDependencies": { "@types/jasmine": "^2.2.33", diff --git a/ng2-components/ng2-alfresco-login/package.json b/ng2-components/ng2-alfresco-login/package.json index 9389358f62..58cb974c0a 100644 --- a/ng2-components/ng2-alfresco-login/package.json +++ b/ng2-components/ng2-alfresco-login/package.json @@ -1,7 +1,7 @@ { "name": "ng2-alfresco-login", "description": "Alfresco Angular2 Login Component", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -56,9 +56,9 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", diff --git a/ng2-components/ng2-alfresco-search/demo/package.json b/ng2-components/ng2-alfresco-search/demo/package.json index da03b8522e..b4984d2904 100644 --- a/ng2-components/ng2-alfresco-search/demo/package.json +++ b/ng2-components/ng2-alfresco-search/demo/package.json @@ -58,10 +58,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -73,9 +73,9 @@ "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-alfresco-datatable": "1.4.0", - "ng2-alfresco-documentlist": "1.4.0", - "ng2-alfresco-search": "1.4.0" + "ng2-alfresco-datatable": "1.5.0", + "ng2-alfresco-documentlist": "1.5.0", + "ng2-alfresco-search": "1.5.0" }, "devDependencies": { "@types/jasmine": "^2.2.33", diff --git a/ng2-components/ng2-alfresco-search/package.json b/ng2-components/ng2-alfresco-search/package.json index 292d4cad14..6aa7fc2442 100644 --- a/ng2-components/ng2-alfresco-search/package.json +++ b/ng2-components/ng2-alfresco-search/package.json @@ -1,7 +1,7 @@ { "name": "ng2-alfresco-search", "description": "Alfresco Angular2 Search Component", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -52,12 +52,12 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", - "ng2-alfresco-datatable": "1.4.0", - "ng2-alfresco-documentlist": "1.4.0", + "ng2-alfresco-core": "1.5.0", + "ng2-alfresco-datatable": "1.5.0", + "ng2-alfresco-documentlist": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", diff --git a/ng2-components/ng2-alfresco-social/demo/package.json b/ng2-components/ng2-alfresco-social/demo/package.json index 5a55e194b7..6d0dbc3477 100644 --- a/ng2-components/ng2-alfresco-social/demo/package.json +++ b/ng2-components/ng2-alfresco-social/demo/package.json @@ -30,10 +30,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -45,7 +45,7 @@ "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-alfresco-social": "1.4.0" + "ng2-alfresco-social": "1.5.0" }, "devDependencies": { "@types/jasmine": "^2.2.33", diff --git a/ng2-components/ng2-alfresco-social/package.json b/ng2-components/ng2-alfresco-social/package.json index 98740e4c17..19bb270372 100644 --- a/ng2-components/ng2-alfresco-social/package.json +++ b/ng2-components/ng2-alfresco-social/package.json @@ -1,7 +1,7 @@ { "name": "ng2-alfresco-social", "description": "Alfresco rating component", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -32,10 +32,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "2.5.0", "reflect-metadata": "0.1.10", "rxjs": "5.0.0-beta.12", diff --git a/ng2-components/ng2-alfresco-tag/demo/package.json b/ng2-components/ng2-alfresco-tag/demo/package.json index 0ef7cec36e..717d173bdd 100644 --- a/ng2-components/ng2-alfresco-tag/demo/package.json +++ b/ng2-components/ng2-alfresco-tag/demo/package.json @@ -30,10 +30,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", diff --git a/ng2-components/ng2-alfresco-tag/package.json b/ng2-components/ng2-alfresco-tag/package.json index aca0abc0ef..6f531c7887 100644 --- a/ng2-components/ng2-alfresco-tag/package.json +++ b/ng2-components/ng2-alfresco-tag/package.json @@ -1,7 +1,7 @@ { "name": "ng2-alfresco-tag", "description": "Alfresco tag component", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -32,10 +32,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", diff --git a/ng2-components/ng2-alfresco-upload/demo/package.json b/ng2-components/ng2-alfresco-upload/demo/package.json index 3765f93ee3..6752088815 100644 --- a/ng2-components/ng2-alfresco-upload/demo/package.json +++ b/ng2-components/ng2-alfresco-upload/demo/package.json @@ -58,10 +58,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -73,7 +73,7 @@ "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-alfresco-upload": "1.4.0" + "ng2-alfresco-upload": "1.5.0" }, "devDependencies": { "@types/jasmine": "^2.2.33", diff --git a/ng2-components/ng2-alfresco-upload/package.json b/ng2-components/ng2-alfresco-upload/package.json index ed1e7bee01..5baf9bead1 100644 --- a/ng2-components/ng2-alfresco-upload/package.json +++ b/ng2-components/ng2-alfresco-upload/package.json @@ -1,7 +1,7 @@ { "name": "ng2-alfresco-upload", "description": "Alfresco Angular2 Upload Component", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -53,10 +53,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", diff --git a/ng2-components/ng2-alfresco-userinfo/demo/package.json b/ng2-components/ng2-alfresco-userinfo/demo/package.json index 22e07723b4..b4d437a03d 100644 --- a/ng2-components/ng2-alfresco-userinfo/demo/package.json +++ b/ng2-components/ng2-alfresco-userinfo/demo/package.json @@ -30,10 +30,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -45,8 +45,8 @@ "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-alfresco-login": "1.4.0", - "ng2-alfresco-userinfo": "1.4.0" + "ng2-alfresco-login": "1.5.0", + "ng2-alfresco-userinfo": "1.5.0" }, "devDependencies": { "@types/jasmine": "^2.2.33", diff --git a/ng2-components/ng2-alfresco-userinfo/package.json b/ng2-components/ng2-alfresco-userinfo/package.json index 2cedbc1002..2da1d4dd7d 100644 --- a/ng2-components/ng2-alfresco-userinfo/package.json +++ b/ng2-components/ng2-alfresco-userinfo/package.json @@ -1,7 +1,7 @@ { "name": "ng2-alfresco-userinfo", "description": "Alfresco User Info component", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -32,10 +32,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", diff --git a/ng2-components/ng2-alfresco-viewer/demo/package.json b/ng2-components/ng2-alfresco-viewer/demo/package.json index d0371e51e6..8690ac4c79 100644 --- a/ng2-components/ng2-alfresco-viewer/demo/package.json +++ b/ng2-components/ng2-alfresco-viewer/demo/package.json @@ -30,10 +30,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -45,7 +45,7 @@ "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-alfresco-viewer": "1.4.0", + "ng2-alfresco-viewer": "1.5.0", "pdfjs-dist": "1.5.404" }, "devDependencies": { diff --git a/ng2-components/ng2-alfresco-viewer/package.json b/ng2-components/ng2-alfresco-viewer/package.json index 41c1c2e07e..0fd3e7b8dc 100644 --- a/ng2-components/ng2-alfresco-viewer/package.json +++ b/ng2-components/ng2-alfresco-viewer/package.json @@ -1,7 +1,7 @@ { "name": "ng2-alfresco-viewer", "description": "Alfresco documents viewer", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -47,10 +47,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "pdfjs-dist": "1.5.404", "reflect-metadata": "0.1.10", diff --git a/ng2-components/ng2-alfresco-webscript/demo/package.json b/ng2-components/ng2-alfresco-webscript/demo/package.json index 4a1d831482..3f59e22235 100644 --- a/ng2-components/ng2-alfresco-webscript/demo/package.json +++ b/ng2-components/ng2-alfresco-webscript/demo/package.json @@ -30,10 +30,10 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", + "ng2-alfresco-core": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", @@ -45,8 +45,8 @@ "element.scrollintoviewifneeded-polyfill": "1.0.1", "material-design-icons": "2.2.3", "material-design-lite": "1.2.1", - "ng2-alfresco-datatable": "1.4.0", - "ng2-alfresco-webscript": "1.4.0" + "ng2-alfresco-datatable": "1.5.0", + "ng2-alfresco-webscript": "1.5.0" }, "devDependencies": { "@types/jasmine": "^2.2.33", diff --git a/ng2-components/ng2-alfresco-webscript/package.json b/ng2-components/ng2-alfresco-webscript/package.json index 73eb80b819..59565594a0 100644 --- a/ng2-components/ng2-alfresco-webscript/package.json +++ b/ng2-components/ng2-alfresco-webscript/package.json @@ -1,7 +1,7 @@ { "name": "ng2-alfresco-webscript", "description": "Alfresco webscript executor", - "version": "1.4.0", + "version": "1.5.0", "author": "Alfresco Software, Ltd.", "scripts": { "clean": "rimraf dist node_modules typings bundles coverage .npmrc", @@ -32,11 +32,11 @@ "@angular/router": "~4.0.0", "@angular/material": "2.0.0-beta.1", - "alfresco-js-api": "~1.4.0", + "alfresco-js-api": "~1.5.0", "core-js": "2.4.1", "hammerjs": "2.0.8", - "ng2-alfresco-core": "1.4.0", - "ng2-alfresco-datatable": "1.4.0", + "ng2-alfresco-core": "1.5.0", + "ng2-alfresco-datatable": "1.5.0", "ng2-translate": "5.0.0", "reflect-metadata": "0.1.10", "rxjs": "5.1.0", From 81270d3a32e1110d0de35ba671d7c72b48ebee6e Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Thu, 25 May 2017 14:16:55 +0100 Subject: [PATCH 72/72] fix image in dist --- demo-shell-ng2/config/webpack.prod.js | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/demo-shell-ng2/config/webpack.prod.js b/demo-shell-ng2/config/webpack.prod.js index a4b9bb3e44..8ed049c3cb 100644 --- a/demo-shell-ng2/config/webpack.prod.js +++ b/demo-shell-ng2/config/webpack.prod.js @@ -3,9 +3,28 @@ const webpackMerge = require('webpack-merge'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const commonConfig = require('./webpack.common.js'); const helpers = require('./helpers'); +const CopyWebpackPlugin = require('copy-webpack-plugin'); const ENV = process.env.NODE_ENV = process.env.ENV = 'production'; +const alfrescoLibs = [ + 'ng2-activiti-analytics', + 'ng2-activiti-diagrams', + 'ng2-activiti-form', + 'ng2-activiti-processlist', + 'ng2-activiti-tasklist', + 'ng2-alfresco-core', + 'ng2-alfresco-datatable', + 'ng2-alfresco-documentlist', + 'ng2-alfresco-login', + 'ng2-alfresco-search', + 'ng2-alfresco-tag', + 'ng2-alfresco-upload', + 'ng2-alfresco-userinfo', + 'ng2-alfresco-viewer', + 'ng2-alfresco-webscript' +]; + module.exports = webpackMerge(commonConfig, { devtool: 'source-map', @@ -23,6 +42,15 @@ module.exports = webpackMerge(commonConfig, { }, plugins: [ + new CopyWebpackPlugin([ + ... alfrescoLibs.map(lib => { + return { + context: `node_modules/${lib}/bundles/assets/` , + from: '**/*', + to: `assets/` + } + }) + ]), new webpack.NoEmitOnErrorsPlugin(), new webpack.optimize.UglifyJsPlugin({ // https://github.com/angular/angular/issues/10618 mangle: {