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';