mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
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
This commit is contained in:
parent
5b4aad5d91
commit
e376b34341
@ -123,7 +123,7 @@ module.exports = {
|
|||||||
return {
|
return {
|
||||||
context: `../ng2-components/${lib}/bundles/assets/` ,
|
context: `../ng2-components/${lib}/bundles/assets/` ,
|
||||||
from: '**/*',
|
from: '**/*',
|
||||||
to: `bundles/assets/`
|
to: `assets/`
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
|
@ -94,8 +94,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "ng2-activiti-diagrams-demo",
|
"name": "ng2-activiti-analytics-demo",
|
||||||
"description": "Alfresco Angular2 Diagrams Component - Demo",
|
"description": "Alfresco Angular2 Diagrams Component - Demo",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
@ -12,7 +12,7 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
@ -32,22 +32,28 @@
|
|||||||
"activiti-diagrams"
|
"activiti-diagrams"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
|
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
@ -55,18 +61,16 @@
|
|||||||
"material-design-lite": "1.2.1",
|
"material-design-lite": "1.2.1",
|
||||||
"chart.js": "2.5.0",
|
"chart.js": "2.5.0",
|
||||||
"md-date-time-picker": "2.2.0",
|
"md-date-time-picker": "2.2.0",
|
||||||
"ng2-charts": "1.1.0",
|
"ng2-charts": "1.5.0",
|
||||||
"moment": "2.15.1",
|
"moment": "2.15.1",
|
||||||
"raphael": "^2.2.6",
|
"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-diagrams": "1.4.0",
|
||||||
"ng2-activiti-analytics": "1.4.0"
|
"ng2-activiti-analytics": "1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jasmine": "^2.2.33",
|
"@types/hammerjs": "^2.0.34",
|
||||||
"@types/node": "^6.0.42",
|
"@types/jasmine": "2.5.35",
|
||||||
|
"@types/node": "6.0.45",
|
||||||
"concurrently": "^2.2.0",
|
"concurrently": "^2.2.0",
|
||||||
"rimraf": "2.5.2",
|
"rimraf": "2.5.2",
|
||||||
"tslint": "^3.8.1",
|
"tslint": "^3.8.1",
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
@ -44,11 +47,11 @@
|
|||||||
},
|
},
|
||||||
'moment': 'npm:moment/min/moment.min.js',
|
'moment': 'npm:moment/min/moment.min.js',
|
||||||
'ng2-translate': { defaultExtension: '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'},
|
'alfresco-js-api': { main: './alfresco-js-api.js', defaultExtension: 'js'},
|
||||||
'ng2-alfresco-core': { main: './bundles/ng2-alfresco-core.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-activiti-diagrams': { main: './bundles/ng2-activiti-diagrams.js', defaultExtension: 'js'},
|
||||||
'ng2-analytics-analytics': { main: './bundles/ng2-analytics-analytics.js', defaultExtension: 'js'}
|
'ng2-activiti-analytics': { main: './bundles/ng2-activiti-analytics.js', defaultExtension: 'js'}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})(this);
|
})(this);
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
@ -32,32 +32,34 @@
|
|||||||
"activiti-diagrams"
|
"activiti-diagrams"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"alfresco-js-api": "~1.4.0",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"core-js": "2.4.1",
|
"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",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"material-design-icons": "2.2.3",
|
"material-design-icons": "2.2.3",
|
||||||
"material-design-lite": "1.2.1",
|
"material-design-lite": "1.2.1",
|
||||||
"ng2-activiti-diagrams": "1.4.0",
|
"ng2-activiti-diagrams": "1.4.0",
|
||||||
"ng2-alfresco-core": "1.4.0",
|
"raphael": "^2.2.6"
|
||||||
"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"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jasmine": "^2.2.33",
|
"@types/jasmine": "^2.2.33",
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
@ -32,22 +32,27 @@
|
|||||||
"activiti-form"
|
"activiti-form"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
@ -55,9 +60,6 @@
|
|||||||
"material-design-lite": "1.2.1",
|
"material-design-lite": "1.2.1",
|
||||||
"moment": "2.15.1",
|
"moment": "2.15.1",
|
||||||
"md-date-time-picker": "2.2.0",
|
"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"
|
"ng2-activiti-form": "1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
"activiti"
|
"activiti"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
@ -25,22 +25,27 @@
|
|||||||
"demo"
|
"demo"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
@ -48,10 +53,7 @@
|
|||||||
"material-design-lite": "1.2.1",
|
"material-design-lite": "1.2.1",
|
||||||
"moment": "2.15.1",
|
"moment": "2.15.1",
|
||||||
"md-date-time-picker": "2.2.0",
|
"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-activiti-tasklist": "1.4.0",
|
||||||
"ng2-alfresco-core": "1.4.0",
|
|
||||||
"ng2-alfresco-datatable": "1.4.0",
|
"ng2-alfresco-datatable": "1.4.0",
|
||||||
"ng2-activiti-processlist": "1.4.0"
|
"ng2-activiti-processlist": "1.4.0"
|
||||||
},
|
},
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'moment' : 'npm:moment/min/moment.min.js',
|
'moment' : 'npm:moment/min/moment.min.js',
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,29 +12,34 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
@ -42,9 +47,6 @@
|
|||||||
"material-design-lite": "1.2.1",
|
"material-design-lite": "1.2.1",
|
||||||
"moment": "2.15.1",
|
"moment": "2.15.1",
|
||||||
"md-date-time-picker": "2.2.0",
|
"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-alfresco-datatable": "1.4.0",
|
||||||
"ng2-activiti-tasklist": "1.4.0"
|
"ng2-activiti-tasklist": "1.4.0"
|
||||||
},
|
},
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'moment' : 'npm:moment/min/moment.min.js',
|
'moment' : 'npm:moment/min/moment.min.js',
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
@ -25,30 +25,33 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
|
"@angular/upgrade": "2.4.7",
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
"material-design-icons": "2.2.3",
|
"material-design-icons": "2.2.3",
|
||||||
"material-design-lite": "1.2.1",
|
"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-datatable": "1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,32 +12,34 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"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-datatable": "1.4.0",
|
||||||
"ng2-alfresco-documentlist": "1.4.0",
|
"ng2-alfresco-documentlist": "1.4.0",
|
||||||
"material-design-icons": "2.2.3",
|
"material-design-icons": "2.2.3",
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
@ -47,30 +47,32 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
"material-design-icons": "2.2.3",
|
"material-design-icons": "2.2.3",
|
||||||
"material-design-lite": "1.2.1",
|
"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-login": "1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
@ -47,30 +47,32 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
"material-design-icons": "2.2.3",
|
"material-design-icons": "2.2.3",
|
||||||
"material-design-lite": "1.2.1",
|
"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-datatable": "1.4.0",
|
||||||
"ng2-alfresco-documentlist": "1.4.0",
|
"ng2-alfresco-documentlist": "1.4.0",
|
||||||
"ng2-alfresco-search": "1.4.0"
|
"ng2-alfresco-search": "1.4.0"
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,37 +12,39 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
"material-design-icons": "2.2.3",
|
"material-design-icons": "2.2.3",
|
||||||
"material-design-lite": "1.2.1",
|
"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"
|
"ng2-alfresco-social": "1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,42 +12,38 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"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"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jasmine": "^2.2.33",
|
"@types/hammerjs": "^2.0.34",
|
||||||
"@types/node": "^6.0.42",
|
"@types/jasmine": "2.5.35",
|
||||||
|
"@types/node": "6.0.45",
|
||||||
"concurrently": "^2.2.0",
|
"concurrently": "^2.2.0",
|
||||||
"rimraf": "2.5.2",
|
"rimraf": "2.5.2",
|
||||||
"tslint": "3.15.1",
|
"tslint": "3.15.1",
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
@ -47,30 +47,32 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
"material-design-icons": "2.2.3",
|
"material-design-icons": "2.2.3",
|
||||||
"material-design-lite": "1.2.1",
|
"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"
|
"ng2-alfresco-upload": "1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -42,22 +42,18 @@ import { UploadModule } from 'ng2-alfresco-upload';
|
|||||||
</div>
|
</div>
|
||||||
<div *ngIf="!acceptedFilesTypeShow">
|
<div *ngIf="!acceptedFilesTypeShow">
|
||||||
<alfresco-upload-button data-automation-id="multiple-file-upload"
|
<alfresco-upload-button data-automation-id="multiple-file-upload"
|
||||||
[currentFolderPath]="currentPath"
|
|
||||||
[multipleFiles]="multipleFileUpload"
|
[multipleFiles]="multipleFileUpload"
|
||||||
[uploadFolders]="folderUpload"
|
[uploadFolders]="folderUpload"
|
||||||
[versioning] = "versioning"
|
[versioning] = "versioning">
|
||||||
(onSuccess)="documentList.reload()">
|
|
||||||
<div class="mdl-spinner mdl-js-spinner is-active"></div>
|
<div class="mdl-spinner mdl-js-spinner is-active"></div>
|
||||||
</alfresco-upload-button>
|
</alfresco-upload-button>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="acceptedFilesTypeShow">
|
<div *ngIf="acceptedFilesTypeShow">
|
||||||
<alfresco-upload-button data-automation-id="multiple-file-upload"
|
<alfresco-upload-button data-automation-id="multiple-file-upload"
|
||||||
[currentFolderPath]="currentPath"
|
|
||||||
acceptedFilesType="{{acceptedFilesType}}"
|
acceptedFilesType="{{acceptedFilesType}}"
|
||||||
[multipleFiles]="multipleFileUpload"
|
[multipleFiles]="multipleFileUpload"
|
||||||
[uploadFolders]="folderUpload"
|
[uploadFolders]="folderUpload"
|
||||||
[versioning] = "versioning"
|
[versioning] = "versioning">
|
||||||
(onSuccess)="documentList.reload()">
|
|
||||||
<div class="mdl-spinner mdl-js-spinner is-active"></div>
|
<div class="mdl-spinner mdl-js-spinner is-active"></div>
|
||||||
</alfresco-upload-button>
|
</alfresco-upload-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
import { Component, ElementRef, Input, Output, EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
import { Component, ElementRef, Input, Output, EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
||||||
import { Subject } from 'rxjs/Rx';
|
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 { UploadService } from '../services/upload.service';
|
||||||
import { FileModel } from '../models/file.model';
|
import { FileModel } from '../models/file.model';
|
||||||
import { PermissionModel } from '../models/permissions.model';
|
import { PermissionModel } from '../models/permissions.model';
|
||||||
@ -105,13 +105,18 @@ export class UploadButtonComponent implements OnInit, OnChanges {
|
|||||||
private uploadService: UploadService,
|
private uploadService: UploadService,
|
||||||
private translateService: AlfrescoTranslationService,
|
private translateService: AlfrescoTranslationService,
|
||||||
private logService: LogService,
|
private logService: LogService,
|
||||||
private notificationService: NotificationService) {
|
private notificationService: NotificationService,
|
||||||
|
private settingsService: AlfrescoSettingsService) {
|
||||||
if (translateService) {
|
if (translateService) {
|
||||||
translateService.addTranslationFolder('ng2-alfresco-upload', 'node_modules/ng2-alfresco-upload/src');
|
translateService.addTranslationFolder('ng2-alfresco-upload', 'node_modules/ng2-alfresco-upload/src');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
this.settingsService.ecmHostSubject.subscribe((hostEcm: string) => {
|
||||||
|
this.checkPermission();
|
||||||
|
});
|
||||||
|
|
||||||
this.permissionValue.subscribe((permission: boolean) => {
|
this.permissionValue.subscribe((permission: boolean) => {
|
||||||
this.hasPermission = permission;
|
this.hasPermission = permission;
|
||||||
});
|
});
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,37 +12,39 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
"material-design-icons": "2.2.3",
|
"material-design-icons": "2.2.3",
|
||||||
"material-design-lite": "1.2.1",
|
"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-login": "1.4.0",
|
||||||
"ng2-alfresco-userinfo": "1.4.0"
|
"ng2-alfresco-userinfo": "1.4.0"
|
||||||
},
|
},
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,37 +12,39 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
"material-design-icons": "2.2.3",
|
"material-design-icons": "2.2.3",
|
||||||
"material-design-lite": "1.2.1",
|
"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",
|
"ng2-alfresco-viewer": "1.4.0",
|
||||||
"pdfjs-dist": "1.5.404"
|
"pdfjs-dist": "1.5.404"
|
||||||
},
|
},
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
@ -87,8 +87,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: (url, resourcePath)=> {
|
publicPath: (url, resourcePath)=> {
|
||||||
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
var component = resourcePath.substring(0, resourcePath.indexOf('src'));
|
||||||
var path = resourcePath.replace(component, '').replace('src', 'bundles');
|
var path = resourcePath.replace(component, '').replace('src/', '');
|
||||||
return './' + path + url;
|
return path + url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,37 +12,39 @@
|
|||||||
"server": "wsrv -o -s -l",
|
"server": "wsrv -o -s -l",
|
||||||
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
"build": "npm run tslint && npm run clean-build && npm run tsc",
|
||||||
"build:w": "npm run tslint && rimraf dist && npm run tsc:w",
|
"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": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json src/{,**/}**.ts -e '{,**/}**.d.ts'"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "2.4.7",
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/compiler": "2.4.7",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler-cli": "2.4.7",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "2.4.7",
|
"@angular/core": "~4.0.0",
|
||||||
"@angular/forms": "2.4.7",
|
"@angular/forms": "~4.0.0",
|
||||||
"@angular/http": "2.4.7",
|
"@angular/http": "~4.0.0",
|
||||||
"@angular/platform-browser": "2.4.7",
|
"@angular/platform-browser": "~4.0.0",
|
||||||
"@angular/platform-browser-dynamic": "2.4.7",
|
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||||
|
"@angular/router": "~4.0.0",
|
||||||
|
|
||||||
"@angular/material": "2.0.0-beta.1",
|
"@angular/material": "2.0.0-beta.1",
|
||||||
"@angular/router": "3.4.7",
|
"alfresco-js-api": "~1.4.0",
|
||||||
"@angular/upgrade": "2.4.7",
|
|
||||||
"core-js": "2.4.1",
|
"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",
|
"reflect-metadata": "0.1.10",
|
||||||
"rxjs": "5.1.0",
|
"rxjs": "5.1.0",
|
||||||
"systemjs": "0.19.27",
|
"systemjs": "0.19.27",
|
||||||
"zone.js": "0.7.6",
|
"zone.js": "0.7.6",
|
||||||
|
|
||||||
"intl": "1.2.4",
|
"intl": "1.2.4",
|
||||||
"dialog-polyfill": "0.4.7",
|
"dialog-polyfill": "0.4.7",
|
||||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||||
"material-design-icons": "2.2.3",
|
"material-design-icons": "2.2.3",
|
||||||
"material-design-lite": "1.2.1",
|
"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-datatable": "1.4.0",
|
||||||
"ng2-alfresco-webscript": "1.4.0"
|
"ng2-alfresco-webscript": "1.4.0"
|
||||||
},
|
},
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
|
||||||
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
|
||||||
'@angular/material': 'npm:@angular/material/bundles/material.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
|
// other libraries
|
||||||
'rxjs': 'npm:rxjs',
|
'rxjs': 'npm:rxjs',
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@angular/animations": "~4.0.0",
|
||||||
"@angular/common": "~4.0.0",
|
"@angular/common": "~4.0.0",
|
||||||
"@angular/compiler": "~4.0.0",
|
"@angular/compiler": "~4.0.0",
|
||||||
"@angular/core": "~4.0.0",
|
"@angular/core": "~4.0.0",
|
||||||
|
96
scripts/npm-build-all-demo.sh
Executable file
96
scripts/npm-build-all-demo.sh
Executable file
@ -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
|
||||||
|
|
@ -93,8 +93,8 @@ update_component_js_version(){
|
|||||||
|
|
||||||
update_demo_shell_dependency_version(){
|
update_demo_shell_dependency_version(){
|
||||||
|
|
||||||
for (( k=0; j<${projectslength}; k++ ));
|
for (( k=0; k<${projectslength}; k++ ));
|
||||||
do
|
do
|
||||||
echo "====== UPDATE VERSION OF DEMO-SHELL to ${projects[$k]} version ${VERSION} ======"
|
echo "====== UPDATE VERSION OF DEMO-SHELL to ${projects[$k]} version ${VERSION} ======"
|
||||||
DESTDIR="$DIR/../demo-shell-ng2/"
|
DESTDIR="$DIR/../demo-shell-ng2/"
|
||||||
sed "${sedi[@]}" "s/\"${projects[$k]}\": \"[0-9]\\.[0-9]\\.[0-9]\"/\"${projects[$k]}\": \"${VERSION}\"/g" ${DESTDIR}/package.json
|
sed "${sedi[@]}" "s/\"${projects[$k]}\": \"[0-9]\\.[0-9]\\.[0-9]\"/\"${projects[$k]}\": \"${VERSION}\"/g" ${DESTDIR}/package.json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user