mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
parent
6a24c6ef75
commit
a52bb5600a
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
*.log
|
||||
node_modules
|
||||
bundles
|
||||
workspace.xml
|
||||
.idea/
|
||||
dist/
|
||||
|
34
.travis.yml
34
.travis.yml
@ -10,12 +10,14 @@ before_install:
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- MODULE=ng2-components-alfresco
|
||||
- MODULE=ng2-components-activiti
|
||||
- MODULE=ng2-demo-shell
|
||||
- MODULE=core
|
||||
- MODULE=insights
|
||||
- MODULE=process-services
|
||||
- MODULE=content-services
|
||||
- MODULE=demo-shell
|
||||
|
||||
install:
|
||||
- if ([ "$MODULE" == "ng2-components-alfresco" -o "$MODULE" == "ng2-components-activiti" ]); then
|
||||
- if ([ "$MODULE" != "demo-shell" ]); then
|
||||
if ([ "$TRAVIS_BRANCH" = "master" ]); then
|
||||
(./scripts/npm-build-all.sh || exit 1;);
|
||||
else
|
||||
@ -24,13 +26,23 @@ install:
|
||||
fi
|
||||
|
||||
script:
|
||||
- if ([ "$MODULE" == "ng2-components-activiti" ]); then
|
||||
(./scripts/npm-build-all.sh -si -sb -t "ng2-activiti*" || exit 1;);
|
||||
- if ([ "$MODULE" == "core" ]); then
|
||||
(./scripts/npm-build-all.sh -si -sb -t "core*" || exit 1;);
|
||||
fi
|
||||
- if ([ "$MODULE" == "ng2-components-alfresco" ]); then
|
||||
(./scripts/npm-build-all.sh -si -sb -t "ng2-alfresco*" || exit 1;);
|
||||
|
||||
- if ([ "$MODULE" == "process-services" ]); then
|
||||
(./scripts/npm-build-all.sh -si -sb -t "process-services" || exit 1;);
|
||||
fi
|
||||
- if ([ "$MODULE" == "ng2-demo-shell" ]); then
|
||||
|
||||
- if ([ "$MODULE" == "insights" ]); then
|
||||
(./scripts/npm-build-all.sh -si -sb -t "insights" || exit 1;);
|
||||
fi
|
||||
|
||||
- if ([ "$MODULE" == "content-services" ]); then
|
||||
(./scripts/npm-build-all.sh -si -sb -t "content-services" || exit 1;);
|
||||
fi
|
||||
|
||||
- if ([ "$MODULE" == "demo-shell" ]); then
|
||||
if ([ "$TRAVIS_BRANCH" = "master" ]); then
|
||||
(./scripts/start.sh -t -ss || exit 1;);
|
||||
else
|
||||
@ -70,5 +82,5 @@ cache:
|
||||
directories:
|
||||
- ./node_modules/material-design-lite
|
||||
- ./node_modules/material-design-icons
|
||||
- demo-shell-ng2/node_modules
|
||||
- ng2-components/node_modules
|
||||
- demo-shell/node_modules
|
||||
- lib/node_modules
|
||||
|
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@ -19,5 +19,8 @@
|
||||
"MD036": false,
|
||||
"MD033" : false,
|
||||
"MD031" : false
|
||||
}
|
||||
},
|
||||
"cSpell.words": [
|
||||
"webscript"
|
||||
]
|
||||
}
|
||||
|
@ -52,4 +52,4 @@ ADF (demo shell) imports by default the following set of recommended polyfills:
|
||||
<link rel="stylesheet" type="text/css" href="node_modules/dialog-polyfill/dialog-polyfill.css" />
|
||||
```
|
||||
|
||||
For a complete code please refer to [demo shell](demo-shell-ng2/index.html) example.
|
||||
For a complete code please refer to [demo shell](demo-shell/index.html) example.
|
||||
|
@ -37,7 +37,7 @@ You can browse all the components at the following [page](http://devproducts.alf
|
||||
|
||||
## Demo Application
|
||||
|
||||
A separate application showcasing integration of components can be found [here](https://github.com/Alfresco/alfresco-ng2-components/tree/master/demo-shell-ng2).
|
||||
A separate application showcasing integration of components can be found [here](https://github.com/Alfresco/alfresco-ng2-components/tree/master/demo-shell).
|
||||
|
||||
You will find examples of basic interaction for both BPM and ECM sets of widgets.
|
||||
|
||||
|
@ -1,377 +0,0 @@
|
||||
{
|
||||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||||
"project": {
|
||||
"name": "myapp"
|
||||
},
|
||||
"apps": [
|
||||
{
|
||||
"root": "src",
|
||||
"outDir": "dist",
|
||||
"assets": [
|
||||
"assets",
|
||||
"favicon.ico",
|
||||
"app.config.json",
|
||||
"versions.json",
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../resources",
|
||||
"output": "./resources"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-core/prebuilt-themes",
|
||||
"output": "./prebuilt-themes"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-core/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-login/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-userinfo/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-upload/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-search/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-datatable/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-documentlist/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-viewer/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-social/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-tag/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-alfresco-webscript/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-activiti-analytics/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-activiti-diagrams/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-activiti-form/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-activiti-processlist/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/ng2-activiti-tasklist/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{ "glob": "pdf.worker.js", "input": "../node_modules/pdfjs-dist/build", "output": "./" }
|
||||
],
|
||||
"index": "index.html",
|
||||
"main": "main.ts",
|
||||
"polyfills": "polyfills.ts",
|
||||
"test": "test.ts",
|
||||
"tsconfig": "tsconfig.app.json",
|
||||
"testTsconfig": "tsconfig.spec.json",
|
||||
"prefix": "app",
|
||||
"styles": [
|
||||
"styles.scss"
|
||||
],
|
||||
"stylePreprocessorOptions": {
|
||||
"includePaths": [
|
||||
"../node_modules/"
|
||||
]
|
||||
},
|
||||
"scripts": [
|
||||
"../node_modules/pdfjs-dist/build/pdf.js",
|
||||
"../node_modules/pdfjs-dist/web/pdf_viewer.js",
|
||||
"../node_modules/raphael/raphael.min.js",
|
||||
"../node_modules/moment/min/moment.min.js",
|
||||
"../node_modules/three/build/three.min.js"
|
||||
],
|
||||
"environmentSource": "environments/environment.ts",
|
||||
"environments": {
|
||||
"dev": "environments/environment.ts",
|
||||
"prod": "environments/environment.prod.ts"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"root": "src",
|
||||
"outDir": "dist",
|
||||
"assets": [
|
||||
"assets",
|
||||
"app.config.json",
|
||||
"versions.json",
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../resources",
|
||||
"output": "./resources"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-core/prebuilt-themes",
|
||||
"output": "./prebuilt-themes"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-core/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-login/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-userinfo/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-upload/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-search/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-datatable/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-documentlist/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-viewer/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-social/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-tag/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-webscript/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-activiti-analytics/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-activiti-diagrams/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-activiti-form/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-activiti-processlist/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-activiti-tasklist/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-core/src/i18n",
|
||||
"output": "./assets/ng2-alfresco-core/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-login/src/i18n",
|
||||
"output": "./assets/ng2-alfresco-login/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-userinfo/src/i18n",
|
||||
"output": "./assets/ng2-alfresco-userinfo/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-upload/src/i18n",
|
||||
"output": "./assets/ng2-alfresco-upload/i18n"
|
||||
},
|
||||
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-search/src/i18n",
|
||||
"output": "./assets/ng2-alfresco-search/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-datatable/src/i18n",
|
||||
"output": "./assets/ng2-alfresco-datatable/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-documentlist/src/i18n",
|
||||
"output": "./assets/ng2-alfresco-documentlist/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-viewer/src/i18n",
|
||||
"output": "./assets/ng2-alfresco-viewer/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-social/src/i18n",
|
||||
"output": "./assets/ng2-alfresco-social/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-tag/src/i18n",
|
||||
"output": "./assets/ng2-alfresco-tag/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-alfresco-webscript/src/i18n",
|
||||
"output": "./assets/ng2-alfresco-webscript/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-activiti-analytics/src/i18n",
|
||||
"output": "./assets/ng2-activiti-analytics/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-activiti-diagrams/src/i18n",
|
||||
"output": "./assets/ng2-activiti-diagrams/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-activiti-form/src/i18n",
|
||||
"output": "./assets/ng2-activiti-form/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-activiti-processlist/src/i18n",
|
||||
"output": "./assets/ng2-activiti-processlist/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../ng2-components/ng2-activiti-tasklist/src/i18n",
|
||||
"output": "./assets/ng2-activiti-tasklist/i18n"
|
||||
},
|
||||
{ "glob": "pdf.worker.js", "input": "../node_modules/pdfjs-dist/build", "output": "./" }
|
||||
],
|
||||
"index": "index.html",
|
||||
"main": "main.ts",
|
||||
"polyfills": "polyfills.ts",
|
||||
"test": "test.ts",
|
||||
"tsconfig": "tsconfig.dev.json",
|
||||
"testTsconfig": "tsconfig.spec.json",
|
||||
"prefix": "app-dev",
|
||||
"styles": [
|
||||
"styles.scss",
|
||||
"custom-style.scss"
|
||||
],
|
||||
"stylePreprocessorOptions": {
|
||||
"includePaths": [
|
||||
"../../ng2-components/"
|
||||
]
|
||||
},
|
||||
"scripts": [
|
||||
"../node_modules/pdfjs-dist/build/pdf.js",
|
||||
"../node_modules/pdfjs-dist/web/pdf_viewer.js",
|
||||
"../node_modules/raphael/raphael.min.js",
|
||||
"../node_modules/moment/min/moment.min.js",
|
||||
"../node_modules/three/build/three.min.js"
|
||||
],
|
||||
"environmentSource": "environments/environment.ts",
|
||||
"environments": {
|
||||
"dev": "environments/environment.ts",
|
||||
"prod": "environments/environment.prod.ts"
|
||||
}
|
||||
}
|
||||
],
|
||||
"e2e": {
|
||||
"protractor": {
|
||||
"config": "./protractor.conf.js"
|
||||
}
|
||||
},
|
||||
"lint": [
|
||||
{
|
||||
"project": "src/tsconfig.app.json"
|
||||
},
|
||||
{
|
||||
"project": "src/tsconfig.spec.json"
|
||||
},
|
||||
{
|
||||
"project": "e2e/tsconfig.e2e.json"
|
||||
}
|
||||
],
|
||||
"test": {
|
||||
"karma": {
|
||||
"config": "./karma.conf.js"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"styleExt": "scss",
|
||||
"component": {
|
||||
},
|
||||
"serve": {
|
||||
"port": 3000
|
||||
}
|
||||
}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
const ExtractTextPlugin = require("extract-text-webpack-plugin");
|
||||
const path = require('path');
|
||||
|
||||
const extractScss = new ExtractTextPlugin('../ng2-components/ng2-alfresco-core/prebuilt-themes/[name].css');
|
||||
|
||||
module.exports = {
|
||||
|
||||
entry: {
|
||||
'adf-blue-orange': '../ng2-components/ng2-alfresco-core/styles/prebuilt/adf-blue-orange.scss',
|
||||
'adf-blue-purple': '../ng2-components/ng2-alfresco-core/styles/prebuilt/adf-blue-purple.scss',
|
||||
'adf-cyan-orange': '../ng2-components/ng2-alfresco-core/styles/prebuilt/adf-cyan-orange.scss',
|
||||
'adf-cyan-purple': '../ng2-components/ng2-alfresco-core/styles/prebuilt/adf-cyan-purple.scss',
|
||||
'adf-green-purple': '../ng2-components/ng2-alfresco-core/styles/prebuilt/adf-green-purple.scss',
|
||||
'adf-green-orange': '../ng2-components/ng2-alfresco-core/styles/prebuilt/adf-green-orange.scss',
|
||||
'adf-pink-bluegrey': '../ng2-components/ng2-alfresco-core/styles/prebuilt/adf-pink-bluegrey.scss',
|
||||
'adf-indigo-pink': '../ng2-components/ng2-alfresco-core/styles/prebuilt/adf-indigo-pink.scss',
|
||||
'adf-purple-green': '../ng2-components/ng2-alfresco-core/styles/prebuilt/adf-purple-green.scss'
|
||||
},
|
||||
|
||||
resolve: {
|
||||
extensions: ['.ts', '.js'],
|
||||
modules: [path.resolve(__dirname, '../node_modules')]
|
||||
},
|
||||
|
||||
output: {
|
||||
filename: '../dist/[name].js'
|
||||
},
|
||||
|
||||
module: {
|
||||
rules: [{
|
||||
test: /\.scss$/,
|
||||
use: extractScss.extract([{
|
||||
loader: "raw-loader"
|
||||
}, {
|
||||
loader: "sass-loader"
|
||||
}])
|
||||
}]
|
||||
},
|
||||
plugins: [
|
||||
extractScss
|
||||
]
|
||||
};
|
@ -1,47 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
|
||||
// ADF modules
|
||||
import { CoreModule } from 'ng2-alfresco-core';
|
||||
import { DataTableModule } from 'ng2-alfresco-datatable';
|
||||
import { ViewerModule } from 'ng2-alfresco-viewer';
|
||||
import { DocumentListModule } from 'ng2-alfresco-documentlist';
|
||||
import { LoginModule } from 'ng2-alfresco-login';
|
||||
import { UploadModule } from 'ng2-alfresco-upload';
|
||||
import { SearchModule } from 'ng2-alfresco-search';
|
||||
import { UserInfoModule } from 'ng2-alfresco-userinfo';
|
||||
import { SocialModule } from 'ng2-alfresco-social';
|
||||
import { TagModule } from 'ng2-alfresco-tag';
|
||||
import { WebScriptModule } from 'ng2-alfresco-webscript';
|
||||
import { ActivitiFormModule } from 'ng2-activiti-form';
|
||||
import { ActivitiTaskListModule } from 'ng2-activiti-tasklist';
|
||||
import { ActivitiProcessListModule } from 'ng2-activiti-processlist';
|
||||
import { DiagramsModule } from 'ng2-activiti-diagrams';
|
||||
import { AnalyticsModule } from 'ng2-activiti-analytics';
|
||||
|
||||
export function modules() {
|
||||
return [
|
||||
// ADF modules
|
||||
CoreModule,
|
||||
DataTableModule,
|
||||
DocumentListModule,
|
||||
LoginModule,
|
||||
SearchModule,
|
||||
SocialModule,
|
||||
TagModule,
|
||||
UploadModule,
|
||||
UserInfoModule,
|
||||
ViewerModule,
|
||||
WebScriptModule,
|
||||
ActivitiFormModule,
|
||||
ActivitiTaskListModule,
|
||||
ActivitiProcessListModule,
|
||||
DiagramsModule,
|
||||
AnalyticsModule
|
||||
];
|
||||
}
|
||||
|
||||
@NgModule({
|
||||
imports: modules(),
|
||||
exports: modules()
|
||||
})
|
||||
export class AdfModule {}
|
@ -1,40 +0,0 @@
|
||||
@import './app/components/app-layout/app-layout.component.scss';
|
||||
|
||||
@import 'ng2-alfresco-core/styles/theming';
|
||||
@import 'ng2-alfresco-core/styles/index';
|
||||
@import 'ng2-activiti-analytics/styles/index';
|
||||
@import 'ng2-activiti-diagrams/styles/index';
|
||||
@import 'ng2-activiti-form/styles/index';
|
||||
@import 'ng2-activiti-processlist/styles/index';
|
||||
@import 'ng2-activiti-tasklist/styles/index';
|
||||
@import 'ng2-alfresco-datatable/styles/index';
|
||||
@import 'ng2-alfresco-documentlist/styles/index';
|
||||
@import 'ng2-alfresco-login/styles/index';
|
||||
@import 'ng2-alfresco-upload/styles/index';
|
||||
@import 'ng2-alfresco-userinfo/styles/index';
|
||||
@import 'ng2-alfresco-search/styles/index';
|
||||
|
||||
@import '~@angular/material/theming';
|
||||
|
||||
@include mat-core($alfresco-typography);
|
||||
|
||||
$primary: mat-palette($alfresco-accent-orange);
|
||||
$accent: mat-palette($alfresco-accent-purple);
|
||||
$warn: mat-palette($alfresco-warn);
|
||||
$theme: mat-light-theme($primary, $accent, $warn);
|
||||
|
||||
@include angular-material-theme($theme);
|
||||
|
||||
@include adf-app-layout-theme($theme);
|
||||
@include alfresco-core-theme($theme);
|
||||
@include alfresco-activity-analytics-theme($theme);
|
||||
@include alfresco-activity-diagrams-theme($theme);
|
||||
@include alfresco-activity-form-theme($theme);
|
||||
@include alfresco-activity-processlist-theme($theme);
|
||||
@include alfresco-activity-tasklist-theme($theme);
|
||||
@include alfresco-datatable-theme($theme);
|
||||
@include alfresco-documentlist-theme($theme);
|
||||
@include alfresco-login-theme($theme);
|
||||
@include alfresco-upload-theme($theme);
|
||||
@include alfresco-userinfo-theme($theme);
|
||||
@include alfresco-search-theme($theme);
|
@ -1,77 +0,0 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../out-tsc/app",
|
||||
"module": "es2015",
|
||||
"rootDir": "..",
|
||||
"baseUrl": ".",
|
||||
"skipLibCheck": false,
|
||||
"types": [],
|
||||
"paths": {
|
||||
"ng2-alfresco-core": [
|
||||
"../../ng2-components/ng2-alfresco-core"
|
||||
],
|
||||
"ng2-alfresco-login": [
|
||||
"../../ng2-components/ng2-alfresco-login"
|
||||
],
|
||||
"ng2-alfresco-userinfo": [
|
||||
"../../ng2-components/ng2-alfresco-userinfo"
|
||||
],
|
||||
"ng2-alfresco-search": [
|
||||
"../../ng2-components/ng2-alfresco-search"
|
||||
],
|
||||
"ng2-alfresco-datatable": [
|
||||
"../../ng2-components/ng2-alfresco-datatable"
|
||||
],
|
||||
"ng2-alfresco-documentlist": [
|
||||
"../../ng2-components/ng2-alfresco-documentlist"
|
||||
],
|
||||
"ng2-alfresco-viewer": [
|
||||
"../../ng2-components/ng2-alfresco-viewer"
|
||||
],
|
||||
"ng2-alfresco-social": [
|
||||
"../../ng2-components/ng2-alfresco-social"
|
||||
],
|
||||
"ng2-alfresco-tag": [
|
||||
"../../ng2-components/ng2-alfresco-tag"
|
||||
],
|
||||
"ng2-alfresco-upload": [
|
||||
"../../ng2-components/ng2-alfresco-upload"
|
||||
],
|
||||
"ng2-alfresco-webscript": [
|
||||
"../../ng2-components/ng2-alfresco-webscript"
|
||||
],
|
||||
"ng2-activiti-analytics": [
|
||||
"../../ng2-components/ng2-activiti-analytics"
|
||||
],
|
||||
"ng2-activiti-diagrams": [
|
||||
"../../ng2-components/ng2-activiti-diagrams"
|
||||
],
|
||||
"ng2-activiti-form": [
|
||||
"../../ng2-components/ng2-activiti-form"
|
||||
],
|
||||
"ng2-activiti-processlist": [
|
||||
"../../ng2-components/ng2-activiti-processlist"
|
||||
],
|
||||
"ng2-activiti-tasklist": [
|
||||
"../../ng2-components/ng2-activiti-tasklist"
|
||||
],
|
||||
"alfresco-js-api": [
|
||||
"../node_modules/alfresco-js-api/dist/alfresco-js-api.js"
|
||||
],
|
||||
"rxjs/*": [
|
||||
"../node_modules/rxjs/*"
|
||||
],
|
||||
"@angular/*": [
|
||||
"../node_modules/@angular/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"test.ts",
|
||||
"**/*.spec.ts"
|
||||
],
|
||||
"angularCompilerOptions": {
|
||||
"skipTemplateCodegen": false
|
||||
}
|
||||
}
|
@ -1,767 +0,0 @@
|
||||
{
|
||||
"name": "myapp",
|
||||
"version": "0.0.0",
|
||||
"problems": [
|
||||
"peer dep missing: @angular/compiler@4.4.6, required by @angular/compiler-cli@4.4.6",
|
||||
"peer dep missing: @angular/core@4.4.6, required by @angular/compiler-cli@4.4.6",
|
||||
"missing: alfresco-js-api@1.9.0, required by myapp@0.0.0",
|
||||
"missing: superagent@3.4.1, required by alfresco-js-api@1.9.0"
|
||||
],
|
||||
"dependencies": {
|
||||
"@angular/animations": {
|
||||
"version": "4.4.5",
|
||||
"from": "@angular/animations@4.4.5",
|
||||
"resolved": "https://registry.npmjs.org/@angular/animations/-/animations-4.4.5.tgz"
|
||||
},
|
||||
"@angular/cdk": {
|
||||
"version": "2.0.0-beta.12",
|
||||
"from": "@angular/cdk@2.0.0-beta.12",
|
||||
"resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-2.0.0-beta.12.tgz"
|
||||
},
|
||||
"@angular/common": {
|
||||
"version": "4.4.5",
|
||||
"from": "@angular/common@4.4.5",
|
||||
"resolved": "https://registry.npmjs.org/@angular/common/-/common-4.4.5.tgz"
|
||||
},
|
||||
"@angular/compiler": {
|
||||
"required": {
|
||||
"_from": "@angular/compiler@4.4.5",
|
||||
"_id": "@angular/compiler@4.4.5",
|
||||
"_integrity": "sha1-hyGlkQ8rtS8J4tQEytJk817eWQI=",
|
||||
"_location": "/@angular/compiler",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@angular/compiler@4.4.5",
|
||||
"name": "@angular/compiler",
|
||||
"escapedName": "@angular%2fcompiler",
|
||||
"scope": "@angular",
|
||||
"rawSpec": "4.4.5",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "4.4.5"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-4.4.5.tgz",
|
||||
"_shasum": "8721a5910f2bb52f09e2d404cad264f35ede5902",
|
||||
"_spec": "4.4.5",
|
||||
"_where": "/Users/valbano/Documents/alfresco-ng2-components/demo-shell-ng2",
|
||||
"author": {
|
||||
"name": "angular"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/angular/angular/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"tslib": {
|
||||
"_from": "tslib@^1.7.1",
|
||||
"_id": "tslib@1.8.0",
|
||||
"_integrity": "sha512-ymKWWZJST0/CkgduC2qkzjMOWr4bouhuURNXCn/inEX0L57BnRG6FhX76o7FOnsjHazCjfU2LKeSrlS2sIKQJg==",
|
||||
"_location": "/tslib",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "tslib@1.8.0",
|
||||
"name": "tslib",
|
||||
"escapedName": "tslib",
|
||||
"rawSpec": "1.8.0",
|
||||
"saveSpec": "[Circular]",
|
||||
"fetchSpec": "1.8.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@angular/animations",
|
||||
"/@angular/cdk",
|
||||
"/@angular/common",
|
||||
"/@angular/compiler",
|
||||
"/@angular/core",
|
||||
"/@angular/flex-layout",
|
||||
"/@angular/forms",
|
||||
"/@angular/http",
|
||||
"/@angular/material",
|
||||
"/@angular/platform-browser",
|
||||
"/@angular/platform-browser-dynamic",
|
||||
"/@angular/router",
|
||||
"/ng2-activiti-analytics/@angular/animations",
|
||||
"/ng2-activiti-analytics/@angular/cdk",
|
||||
"/ng2-activiti-analytics/@angular/common",
|
||||
"/ng2-activiti-analytics/@angular/compiler",
|
||||
"/ng2-activiti-analytics/@angular/core",
|
||||
"/ng2-activiti-analytics/@angular/forms",
|
||||
"/ng2-activiti-analytics/@angular/http",
|
||||
"/ng2-activiti-analytics/@angular/material",
|
||||
"/ng2-activiti-analytics/@angular/platform-browser",
|
||||
"/ng2-activiti-analytics/@angular/platform-browser-dynamic",
|
||||
"/ng2-activiti-analytics/@angular/router",
|
||||
"/ng2-activiti-diagrams/@angular/animations",
|
||||
"/ng2-activiti-diagrams/@angular/cdk",
|
||||
"/ng2-activiti-diagrams/@angular/common",
|
||||
"/ng2-activiti-diagrams/@angular/compiler",
|
||||
"/ng2-activiti-diagrams/@angular/core",
|
||||
"/ng2-activiti-diagrams/@angular/forms",
|
||||
"/ng2-activiti-diagrams/@angular/http",
|
||||
"/ng2-activiti-diagrams/@angular/material",
|
||||
"/ng2-activiti-diagrams/@angular/platform-browser",
|
||||
"/ng2-activiti-diagrams/@angular/platform-browser-dynamic",
|
||||
"/ng2-activiti-diagrams/@angular/router",
|
||||
"/ng2-activiti-form/@angular/animations",
|
||||
"/ng2-activiti-form/@angular/cdk",
|
||||
"/ng2-activiti-form/@angular/common",
|
||||
"/ng2-activiti-form/@angular/compiler",
|
||||
"/ng2-activiti-form/@angular/core",
|
||||
"/ng2-activiti-form/@angular/forms",
|
||||
"/ng2-activiti-form/@angular/http",
|
||||
"/ng2-activiti-form/@angular/material",
|
||||
"/ng2-activiti-form/@angular/platform-browser",
|
||||
"/ng2-activiti-form/@angular/platform-browser-dynamic",
|
||||
"/ng2-activiti-form/@angular/router",
|
||||
"/ng2-activiti-processlist/@angular/animations",
|
||||
"/ng2-activiti-processlist/@angular/cdk",
|
||||
"/ng2-activiti-processlist/@angular/common",
|
||||
"/ng2-activiti-processlist/@angular/compiler",
|
||||
"/ng2-activiti-processlist/@angular/core",
|
||||
"/ng2-activiti-processlist/@angular/forms",
|
||||
"/ng2-activiti-processlist/@angular/http",
|
||||
"/ng2-activiti-processlist/@angular/material",
|
||||
"/ng2-activiti-processlist/@angular/platform-browser",
|
||||
"/ng2-activiti-processlist/@angular/platform-browser-dynamic",
|
||||
"/ng2-activiti-processlist/@angular/router",
|
||||
"/ng2-activiti-tasklist/@angular/animations",
|
||||
"/ng2-activiti-tasklist/@angular/cdk",
|
||||
"/ng2-activiti-tasklist/@angular/common",
|
||||
"/ng2-activiti-tasklist/@angular/compiler",
|
||||
"/ng2-activiti-tasklist/@angular/core",
|
||||
"/ng2-activiti-tasklist/@angular/forms",
|
||||
"/ng2-activiti-tasklist/@angular/http",
|
||||
"/ng2-activiti-tasklist/@angular/material",
|
||||
"/ng2-activiti-tasklist/@angular/platform-browser",
|
||||
"/ng2-activiti-tasklist/@angular/platform-browser-dynamic",
|
||||
"/ng2-activiti-tasklist/@angular/router",
|
||||
"/ng2-alfresco-core/@angular/animations",
|
||||
"/ng2-alfresco-core/@angular/cdk",
|
||||
"/ng2-alfresco-core/@angular/common",
|
||||
"/ng2-alfresco-core/@angular/compiler",
|
||||
"/ng2-alfresco-core/@angular/core",
|
||||
"/ng2-alfresco-core/@angular/forms",
|
||||
"/ng2-alfresco-core/@angular/http",
|
||||
"/ng2-alfresco-core/@angular/material",
|
||||
"/ng2-alfresco-core/@angular/platform-browser",
|
||||
"/ng2-alfresco-core/@angular/platform-browser-dynamic",
|
||||
"/ng2-alfresco-core/@angular/router",
|
||||
"/ng2-alfresco-datatable/@angular/animations",
|
||||
"/ng2-alfresco-datatable/@angular/cdk",
|
||||
"/ng2-alfresco-datatable/@angular/common",
|
||||
"/ng2-alfresco-datatable/@angular/compiler",
|
||||
"/ng2-alfresco-datatable/@angular/core",
|
||||
"/ng2-alfresco-datatable/@angular/forms",
|
||||
"/ng2-alfresco-datatable/@angular/http",
|
||||
"/ng2-alfresco-datatable/@angular/material",
|
||||
"/ng2-alfresco-datatable/@angular/platform-browser",
|
||||
"/ng2-alfresco-datatable/@angular/platform-browser-dynamic",
|
||||
"/ng2-alfresco-datatable/@angular/router",
|
||||
"/ng2-alfresco-documentlist/@angular/animations",
|
||||
"/ng2-alfresco-documentlist/@angular/cdk",
|
||||
"/ng2-alfresco-documentlist/@angular/common",
|
||||
"/ng2-alfresco-documentlist/@angular/compiler",
|
||||
"/ng2-alfresco-documentlist/@angular/core",
|
||||
"/ng2-alfresco-documentlist/@angular/forms",
|
||||
"/ng2-alfresco-documentlist/@angular/http",
|
||||
"/ng2-alfresco-documentlist/@angular/material",
|
||||
"/ng2-alfresco-documentlist/@angular/platform-browser",
|
||||
"/ng2-alfresco-documentlist/@angular/platform-browser-dynamic",
|
||||
"/ng2-alfresco-documentlist/@angular/router",
|
||||
"/ng2-alfresco-login/@angular/animations",
|
||||
"/ng2-alfresco-login/@angular/cdk",
|
||||
"/ng2-alfresco-login/@angular/common",
|
||||
"/ng2-alfresco-login/@angular/compiler",
|
||||
"/ng2-alfresco-login/@angular/core",
|
||||
"/ng2-alfresco-login/@angular/forms",
|
||||
"/ng2-alfresco-login/@angular/http",
|
||||
"/ng2-alfresco-login/@angular/material",
|
||||
"/ng2-alfresco-login/@angular/platform-browser",
|
||||
"/ng2-alfresco-login/@angular/platform-browser-dynamic",
|
||||
"/ng2-alfresco-login/@angular/router",
|
||||
"/ng2-alfresco-search/@angular/animations",
|
||||
"/ng2-alfresco-search/@angular/cdk",
|
||||
"/ng2-alfresco-search/@angular/common",
|
||||
"/ng2-alfresco-search/@angular/compiler",
|
||||
"/ng2-alfresco-search/@angular/core",
|
||||
"/ng2-alfresco-search/@angular/forms",
|
||||
"/ng2-alfresco-search/@angular/http",
|
||||
"/ng2-alfresco-search/@angular/material",
|
||||
"/ng2-alfresco-search/@angular/platform-browser",
|
||||
"/ng2-alfresco-search/@angular/platform-browser-dynamic",
|
||||
"/ng2-alfresco-search/@angular/router",
|
||||
"/ng2-alfresco-social/@angular/animations",
|
||||
"/ng2-alfresco-social/@angular/cdk",
|
||||
"/ng2-alfresco-social/@angular/common",
|
||||
"/ng2-alfresco-social/@angular/compiler",
|
||||
"/ng2-alfresco-social/@angular/core",
|
||||
"/ng2-alfresco-social/@angular/forms",
|
||||
"/ng2-alfresco-social/@angular/http",
|
||||
"/ng2-alfresco-social/@angular/material",
|
||||
"/ng2-alfresco-social/@angular/platform-browser",
|
||||
"/ng2-alfresco-social/@angular/platform-browser-dynamic",
|
||||
"/ng2-alfresco-social/@angular/router",
|
||||
"/ng2-alfresco-tag/@angular/animations",
|
||||
"/ng2-alfresco-tag/@angular/cdk",
|
||||
"/ng2-alfresco-tag/@angular/common",
|
||||
"/ng2-alfresco-tag/@angular/compiler",
|
||||
"/ng2-alfresco-tag/@angular/core",
|
||||
"/ng2-alfresco-tag/@angular/forms",
|
||||
"/ng2-alfresco-tag/@angular/http",
|
||||
"/ng2-alfresco-tag/@angular/material",
|
||||
"/ng2-alfresco-tag/@angular/platform-browser",
|
||||
"/ng2-alfresco-tag/@angular/platform-browser-dynamic",
|
||||
"/ng2-alfresco-tag/@angular/router",
|
||||
"/ng2-alfresco-upload/@angular/animations",
|
||||
"/ng2-alfresco-upload/@angular/cdk",
|
||||
"/ng2-alfresco-upload/@angular/common",
|
||||
"/ng2-alfresco-upload/@angular/compiler",
|
||||
"/ng2-alfresco-upload/@angular/core",
|
||||
"/ng2-alfresco-upload/@angular/forms",
|
||||
"/ng2-alfresco-upload/@angular/http",
|
||||
"/ng2-alfresco-upload/@angular/material",
|
||||
"/ng2-alfresco-upload/@angular/platform-browser",
|
||||
"/ng2-alfresco-upload/@angular/platform-browser-dynamic",
|
||||
"/ng2-alfresco-upload/@angular/router",
|
||||
"/ng2-alfresco-userinfo/@angular/animations",
|
||||
"/ng2-alfresco-userinfo/@angular/cdk",
|
||||
"/ng2-alfresco-userinfo/@angular/common",
|
||||
"/ng2-alfresco-userinfo/@angular/compiler",
|
||||
"/ng2-alfresco-userinfo/@angular/core",
|
||||
"/ng2-alfresco-userinfo/@angular/forms",
|
||||
"/ng2-alfresco-userinfo/@angular/http",
|
||||
"/ng2-alfresco-userinfo/@angular/material",
|
||||
"/ng2-alfresco-userinfo/@angular/platform-browser",
|
||||
"/ng2-alfresco-userinfo/@angular/platform-browser-dynamic",
|
||||
"/ng2-alfresco-userinfo/@angular/router",
|
||||
"/ng2-alfresco-viewer/@angular/animations",
|
||||
"/ng2-alfresco-viewer/@angular/cdk",
|
||||
"/ng2-alfresco-viewer/@angular/common",
|
||||
"/ng2-alfresco-viewer/@angular/compiler",
|
||||
"/ng2-alfresco-viewer/@angular/core",
|
||||
"/ng2-alfresco-viewer/@angular/forms",
|
||||
"/ng2-alfresco-viewer/@angular/http",
|
||||
"/ng2-alfresco-viewer/@angular/material",
|
||||
"/ng2-alfresco-viewer/@angular/platform-browser",
|
||||
"/ng2-alfresco-viewer/@angular/platform-browser-dynamic",
|
||||
"/ng2-alfresco-viewer/@angular/router",
|
||||
"/ng2-alfresco-webscript/@angular/animations",
|
||||
"/ng2-alfresco-webscript/@angular/cdk",
|
||||
"/ng2-alfresco-webscript/@angular/common",
|
||||
"/ng2-alfresco-webscript/@angular/compiler",
|
||||
"/ng2-alfresco-webscript/@angular/core",
|
||||
"/ng2-alfresco-webscript/@angular/forms",
|
||||
"/ng2-alfresco-webscript/@angular/http",
|
||||
"/ng2-alfresco-webscript/@angular/material",
|
||||
"/ng2-alfresco-webscript/@angular/platform-browser",
|
||||
"/ng2-alfresco-webscript/@angular/platform-browser-dynamic",
|
||||
"/ng2-alfresco-webscript/@angular/router"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/tslib/-/tslib-1.8.0.tgz",
|
||||
"_shasum": "dc604ebad64bcbf696d613da6c954aa0e7ea1eb6",
|
||||
"_spec": "1.8.0",
|
||||
"_where": "/Users/valbano/Documents/alfresco-ng2-components/demo-shell-ng2",
|
||||
"author": {
|
||||
"name": "Microsoft Corp."
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/Microsoft/TypeScript/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Runtime library for TypeScript helper functions",
|
||||
"homepage": "http://typescriptlang.org/",
|
||||
"jsnext:main": "tslib.es6.js",
|
||||
"keywords": [
|
||||
"TypeScript",
|
||||
"Microsoft",
|
||||
"compiler",
|
||||
"language",
|
||||
"javascript",
|
||||
"tslib",
|
||||
"runtime"
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"main": "tslib.js",
|
||||
"module": "tslib.es6.js",
|
||||
"name": "tslib",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Microsoft/tslib.git"
|
||||
},
|
||||
"typings": "tslib.d.ts",
|
||||
"version": "1.8.0",
|
||||
"readme": "# tslib\r\n\r\nThis is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions.\r\n\r\nThis library is primarily used by the `--importHelpers` flag in TypeScript.\r\nWhen using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file:\r\n\r\n```ts\r\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n};\r\nexports.x = {};\r\nexports.y = __assign({}, exports.x);\r\n\r\n```\r\n\r\nwill instead be emitted as something like the following:\r\n\r\n```ts\r\nvar tslib_1 = require(\"tslib\");\r\nexports.x = {};\r\nexports.y = tslib_1.__assign({}, exports.x);\r\n```\r\n\r\nBecause this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead.\r\nFor optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`.\r\n\r\n# Installing\r\n\r\nFor the latest stable version, run:\r\n\r\n## npm\r\n\r\n```sh\r\n# TypeScript 2.3.3 or later\r\nnpm install --save tslib\r\n\r\n# TypeScript 2.3.2 or earlier\r\nnpm install --save tslib@1.6.1\r\n```\r\n\r\n## bower\r\n\r\n```sh\r\n# TypeScript 2.3.3 or later\r\nbower install tslib\r\n\r\n# TypeScript 2.3.2 or earlier\r\nbower install tslib@1.6.1\r\n```\r\n\r\n## JSPM\r\n\r\n```sh\r\n# TypeScript 2.3.3 or later\r\njspm install tslib\r\n\r\n# TypeScript 2.3.2 or earlier\r\njspm install tslib@1.6.1\r\n```\r\n\r\n# Usage\r\n\r\nSet the `importHelpers` compiler option on the command line:\r\n\r\n```\r\ntsc --importHelpers file.ts\r\n```\r\n\r\nor in your tsconfig.json:\r\n\r\n```json\r\n{\r\n \"compilerOptions\": {\r\n \"importHelpers\": true\r\n }\r\n}\r\n```\r\n\r\n#### For bower and JSPM users\r\n\r\nYou will need to add a `paths` mapping for `tslib`, e.g. For Bower users:\r\n\r\n```json\r\n{\r\n \"compilerOptions\": {\r\n \"module\": \"amd\",\r\n \"importHelpers\": true,\r\n \"baseUrl\": \"./\",\r\n \"paths\": {\r\n \"tslib\" : [\"bower_components/tslib/tslib.d.ts\"]\r\n }\r\n }\r\n}\r\n```\r\n\r\nFor JSPM users:\r\n\r\n```json\r\n{\r\n \"compilerOptions\": {\r\n \"module\": \"system\",\r\n \"importHelpers\": true,\r\n \"baseUrl\": \"./\",\r\n \"paths\": {\r\n \"tslib\" : [\"jspm_packages/npm/tslib@1.8.0/tslib.d.ts\"]\r\n }\r\n }\r\n}\r\n```\r\n\r\n\r\n# Contribute\r\n\r\nThere are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript.\r\n\r\n* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in.\r\n* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls).\r\n* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript).\r\n* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter.\r\n* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md).\r\n* Read the language specification ([docx](http://go.microsoft.com/fwlink/?LinkId=267121), [pdf](http://go.microsoft.com/fwlink/?LinkId=267238)).\r\n\r\n# Documentation\r\n\r\n* [Quick tutorial](http://www.typescriptlang.org/Tutorial)\r\n* [Programming handbook](http://www.typescriptlang.org/Handbook)\r\n* [Language specification](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)\r\n* [Homepage](http://www.typescriptlang.org/)\r\n",
|
||||
"readmeFilename": "README.md",
|
||||
"_args": [
|
||||
[
|
||||
"tslib@1.8.0",
|
||||
"/Users/valbano/Documents/alfresco-ng2-components/demo-shell-ng2"
|
||||
]
|
||||
],
|
||||
"dependencies": {},
|
||||
"devDependencies": {},
|
||||
"optionalDependencies": {},
|
||||
"_dependencies": {},
|
||||
"path": "/Users/valbano/Documents/alfresco-ng2-components/demo-shell-ng2/node_modules/tslib",
|
||||
"error": "[Circular]",
|
||||
"extraneous": false,
|
||||
"_deduped": "tslib"
|
||||
}
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Angular - the compiler library",
|
||||
"es2015": "./@angular/compiler.js",
|
||||
"homepage": "https://github.com/angular/angular#readme",
|
||||
"license": "MIT",
|
||||
"main": "./bundles/compiler.umd.js",
|
||||
"module": "./@angular/compiler.es5.js",
|
||||
"name": "@angular/compiler",
|
||||
"peerDependencies": {
|
||||
"@angular/core": "4.4.5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/angular/angular.git"
|
||||
},
|
||||
"typings": "./compiler.d.ts",
|
||||
"version": "4.4.5",
|
||||
"readme": "Angular\n=======\n\nThe sources for this package are in the main [Angular](https://github.com/angular/angular) repo. Please file issues and pull requests against that repo.\n\nLicense: MIT\n",
|
||||
"readmeFilename": "README.md",
|
||||
"_args": [
|
||||
[
|
||||
"@angular/compiler@4.4.5",
|
||||
"/Users/valbano/Documents/alfresco-ng2-components/demo-shell-ng2"
|
||||
]
|
||||
],
|
||||
"devDependencies": {},
|
||||
"optionalDependencies": {},
|
||||
"_dependencies": {
|
||||
"tslib": "^1.7.1"
|
||||
},
|
||||
"path": "/Users/valbano/Documents/alfresco-ng2-components/demo-shell-ng2/node_modules/@angular/compiler",
|
||||
"error": "[Circular]",
|
||||
"extraneous": false,
|
||||
"peerMissing": [
|
||||
{
|
||||
"requiredBy": "@angular/compiler-cli@4.4.6",
|
||||
"requires": "@angular/compiler@4.4.6"
|
||||
}
|
||||
]
|
||||
},
|
||||
"peerMissing": true
|
||||
},
|
||||
"@angular/core": {
|
||||
"required": {
|
||||
"_from": "@angular/core@4.4.5",
|
||||
"_id": "@angular/core@4.4.5",
|
||||
"_integrity": "sha1-VKy8vaEXGfiDx4apBpdKvrEy8aA=",
|
||||
"_location": "/@angular/core",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "@angular/core@4.4.5",
|
||||
"name": "@angular/core",
|
||||
"escapedName": "@angular%2fcore",
|
||||
"scope": "@angular",
|
||||
"rawSpec": "4.4.5",
|
||||
"saveSpec": "[Circular]",
|
||||
"fetchSpec": "4.4.5"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@angular/core/-/core-4.4.5.tgz",
|
||||
"_shasum": "54acbcbda11719f883c786a906974abeb132f1a0",
|
||||
"_spec": "4.4.5",
|
||||
"_where": "/Users/valbano/Documents/alfresco-ng2-components/demo-shell-ng2",
|
||||
"author": {
|
||||
"name": "angular"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/angular/angular/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"tslib": {
|
||||
"_from": "tslib@^1.7.1",
|
||||
"_id": "tslib@1.8.0",
|
||||
"_integrity": "sha512-ymKWWZJST0/CkgduC2qkzjMOWr4bouhuURNXCn/inEX0L57BnRG6FhX76o7FOnsjHazCjfU2LKeSrlS2sIKQJg==",
|
||||
"_location": "/tslib",
|
||||
"_phantomChildren": "[Circular]",
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "tslib@1.8.0",
|
||||
"name": "tslib",
|
||||
"escapedName": "tslib",
|
||||
"rawSpec": "1.8.0",
|
||||
"saveSpec": "[Circular]",
|
||||
"fetchSpec": "1.8.0"
|
||||
},
|
||||
"_requiredBy": "[Circular]",
|
||||
"_resolved": "https://registry.npmjs.org/tslib/-/tslib-1.8.0.tgz",
|
||||
"_shasum": "dc604ebad64bcbf696d613da6c954aa0e7ea1eb6",
|
||||
"_spec": "1.8.0",
|
||||
"_where": "/Users/valbano/Documents/alfresco-ng2-components/demo-shell-ng2",
|
||||
"author": "[Circular]",
|
||||
"bugs": "[Circular]",
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Runtime library for TypeScript helper functions",
|
||||
"homepage": "http://typescriptlang.org/",
|
||||
"jsnext:main": "tslib.es6.js",
|
||||
"keywords": "[Circular]",
|
||||
"license": "Apache-2.0",
|
||||
"main": "tslib.js",
|
||||
"module": "tslib.es6.js",
|
||||
"name": "tslib",
|
||||
"repository": "[Circular]",
|
||||
"typings": "tslib.d.ts",
|
||||
"version": "1.8.0",
|
||||
"readme": "# tslib\r\n\r\nThis is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions.\r\n\r\nThis library is primarily used by the `--importHelpers` flag in TypeScript.\r\nWhen using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file:\r\n\r\n```ts\r\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n};\r\nexports.x = {};\r\nexports.y = __assign({}, exports.x);\r\n\r\n```\r\n\r\nwill instead be emitted as something like the following:\r\n\r\n```ts\r\nvar tslib_1 = require(\"tslib\");\r\nexports.x = {};\r\nexports.y = tslib_1.__assign({}, exports.x);\r\n```\r\n\r\nBecause this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead.\r\nFor optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`.\r\n\r\n# Installing\r\n\r\nFor the latest stable version, run:\r\n\r\n## npm\r\n\r\n```sh\r\n# TypeScript 2.3.3 or later\r\nnpm install --save tslib\r\n\r\n# TypeScript 2.3.2 or earlier\r\nnpm install --save tslib@1.6.1\r\n```\r\n\r\n## bower\r\n\r\n```sh\r\n# TypeScript 2.3.3 or later\r\nbower install tslib\r\n\r\n# TypeScript 2.3.2 or earlier\r\nbower install tslib@1.6.1\r\n```\r\n\r\n## JSPM\r\n\r\n```sh\r\n# TypeScript 2.3.3 or later\r\njspm install tslib\r\n\r\n# TypeScript 2.3.2 or earlier\r\njspm install tslib@1.6.1\r\n```\r\n\r\n# Usage\r\n\r\nSet the `importHelpers` compiler option on the command line:\r\n\r\n```\r\ntsc --importHelpers file.ts\r\n```\r\n\r\nor in your tsconfig.json:\r\n\r\n```json\r\n{\r\n \"compilerOptions\": {\r\n \"importHelpers\": true\r\n }\r\n}\r\n```\r\n\r\n#### For bower and JSPM users\r\n\r\nYou will need to add a `paths` mapping for `tslib`, e.g. For Bower users:\r\n\r\n```json\r\n{\r\n \"compilerOptions\": {\r\n \"module\": \"amd\",\r\n \"importHelpers\": true,\r\n \"baseUrl\": \"./\",\r\n \"paths\": {\r\n \"tslib\" : [\"bower_components/tslib/tslib.d.ts\"]\r\n }\r\n }\r\n}\r\n```\r\n\r\nFor JSPM users:\r\n\r\n```json\r\n{\r\n \"compilerOptions\": {\r\n \"module\": \"system\",\r\n \"importHelpers\": true,\r\n \"baseUrl\": \"./\",\r\n \"paths\": {\r\n \"tslib\" : [\"jspm_packages/npm/tslib@1.8.0/tslib.d.ts\"]\r\n }\r\n }\r\n}\r\n```\r\n\r\n\r\n# Contribute\r\n\r\nThere are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript.\r\n\r\n* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in.\r\n* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls).\r\n* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript).\r\n* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter.\r\n* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md).\r\n* Read the language specification ([docx](http://go.microsoft.com/fwlink/?LinkId=267121), [pdf](http://go.microsoft.com/fwlink/?LinkId=267238)).\r\n\r\n# Documentation\r\n\r\n* [Quick tutorial](http://www.typescriptlang.org/Tutorial)\r\n* [Programming handbook](http://www.typescriptlang.org/Handbook)\r\n* [Language specification](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)\r\n* [Homepage](http://www.typescriptlang.org/)\r\n",
|
||||
"readmeFilename": "README.md",
|
||||
"_args": "[Circular]",
|
||||
"dependencies": {},
|
||||
"devDependencies": "[Circular]",
|
||||
"optionalDependencies": "[Circular]",
|
||||
"_dependencies": "[Circular]",
|
||||
"path": "/Users/valbano/Documents/alfresco-ng2-components/demo-shell-ng2/node_modules/tslib",
|
||||
"error": "[Circular]",
|
||||
"extraneous": false,
|
||||
"_deduped": "tslib"
|
||||
}
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Angular - the core framework",
|
||||
"es2015": "./@angular/core.js",
|
||||
"homepage": "https://github.com/angular/angular#readme",
|
||||
"license": "MIT",
|
||||
"main": "./bundles/core.umd.js",
|
||||
"module": "./@angular/core.es5.js",
|
||||
"name": "@angular/core",
|
||||
"peerDependencies": {
|
||||
"rxjs": "^5.0.1",
|
||||
"zone.js": "^0.8.4"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/angular/angular.git"
|
||||
},
|
||||
"typings": "./core.d.ts",
|
||||
"version": "4.4.5",
|
||||
"readme": "Angular\n=======\n\nThe sources for this package are in the main [Angular](https://github.com/angular/angular) repo. Please file issues and pull requests against that repo.\n\nLicense: MIT\n",
|
||||
"readmeFilename": "README.md",
|
||||
"_args": [
|
||||
[
|
||||
"@angular/core@4.4.5",
|
||||
"/Users/valbano/Documents/alfresco-ng2-components/demo-shell-ng2"
|
||||
]
|
||||
],
|
||||
"devDependencies": {},
|
||||
"optionalDependencies": {},
|
||||
"_dependencies": {
|
||||
"tslib": "^1.7.1"
|
||||
},
|
||||
"path": "/Users/valbano/Documents/alfresco-ng2-components/demo-shell-ng2/node_modules/@angular/core",
|
||||
"error": "[Circular]",
|
||||
"extraneous": false,
|
||||
"peerMissing": [
|
||||
{
|
||||
"requiredBy": "@angular/compiler-cli@4.4.6",
|
||||
"requires": "@angular/core@4.4.6"
|
||||
}
|
||||
]
|
||||
},
|
||||
"peerMissing": true
|
||||
},
|
||||
"@angular/flex-layout": {
|
||||
"version": "2.0.0-beta.9",
|
||||
"from": "@angular/flex-layout@2.0.0-beta.9",
|
||||
"resolved": "https://registry.npmjs.org/@angular/flex-layout/-/flex-layout-2.0.0-beta.9.tgz"
|
||||
},
|
||||
"@angular/forms": {
|
||||
"version": "4.4.5",
|
||||
"from": "@angular/forms@4.4.5",
|
||||
"resolved": "https://registry.npmjs.org/@angular/forms/-/forms-4.4.5.tgz"
|
||||
},
|
||||
"@angular/http": {
|
||||
"version": "4.4.5",
|
||||
"from": "@angular/http@4.4.5",
|
||||
"resolved": "https://registry.npmjs.org/@angular/http/-/http-4.4.5.tgz"
|
||||
},
|
||||
"@angular/material": {
|
||||
"version": "2.0.0-beta.12",
|
||||
"from": "@angular/material@2.0.0-beta.12",
|
||||
"resolved": "https://registry.npmjs.org/@angular/material/-/material-2.0.0-beta.12.tgz"
|
||||
},
|
||||
"@angular/platform-browser": {
|
||||
"version": "4.4.5",
|
||||
"from": "@angular/platform-browser@4.4.5",
|
||||
"resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-4.4.5.tgz"
|
||||
},
|
||||
"@angular/platform-browser-dynamic": {
|
||||
"version": "4.4.5",
|
||||
"from": "@angular/platform-browser-dynamic@4.4.5",
|
||||
"resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-4.4.5.tgz"
|
||||
},
|
||||
"@angular/router": {
|
||||
"version": "4.4.5",
|
||||
"from": "@angular/router@4.4.5",
|
||||
"resolved": "https://registry.npmjs.org/@angular/router/-/router-4.4.5.tgz"
|
||||
},
|
||||
"@ngx-translate/core": {
|
||||
"version": "7.0.0",
|
||||
"from": "@ngx-translate/core@7.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@ngx-translate/core/-/core-7.0.0.tgz"
|
||||
},
|
||||
"alfresco-js-api": {
|
||||
"version": "1.9.0",
|
||||
"from": "alfresco-js-api@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.9.0.tgz",
|
||||
"problems": [
|
||||
"missing: superagent@3.4.1, required by alfresco-js-api@1.9.0"
|
||||
],
|
||||
"dependencies": {
|
||||
"event-emitter": {
|
||||
"version": "0.3.4",
|
||||
"from": "event-emitter@0.3.4",
|
||||
"resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.4.tgz"
|
||||
},
|
||||
"superagent": {
|
||||
"version": "3.4.1",
|
||||
"from": "superagent@3.4.1",
|
||||
"resolved": "https://registry.npmjs.org/superagent/-/superagent-3.4.1.tgz",
|
||||
"dependencies": {
|
||||
"component-emitter": {
|
||||
"version": "1.2.1",
|
||||
"from": "component-emitter@^1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz"
|
||||
},
|
||||
"cookiejar": {
|
||||
"version": "2.1.1",
|
||||
"from": "cookiejar@^2.0.6",
|
||||
"resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.1.tgz"
|
||||
},
|
||||
"debug": {
|
||||
"version": "2.6.9",
|
||||
"from": "debug@^2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz"
|
||||
},
|
||||
"extend": {
|
||||
"version": "3.0.1",
|
||||
"from": "extend@^3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz"
|
||||
},
|
||||
"form-data": {
|
||||
"version": "2.3.1",
|
||||
"from": "form-data@^2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.1.tgz"
|
||||
},
|
||||
"formidable": {
|
||||
"version": "1.1.1",
|
||||
"from": "formidable@^1.0.17",
|
||||
"resolved": "https://registry.npmjs.org/formidable/-/formidable-1.1.1.tgz"
|
||||
},
|
||||
"methods": {
|
||||
"version": "1.1.2",
|
||||
"from": "methods@^1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz"
|
||||
},
|
||||
"mime": {
|
||||
"version": "1.4.1",
|
||||
"from": "mime@^1.3.4",
|
||||
"resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz"
|
||||
},
|
||||
"qs": {
|
||||
"version": "6.5.1",
|
||||
"from": "qs@^6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz"
|
||||
},
|
||||
"readable-stream": {
|
||||
"version": "2.3.3",
|
||||
"from": "readable-stream@^2.0.5",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"chart.js": {
|
||||
"version": "2.5.0",
|
||||
"from": "chart.js@2.5.0",
|
||||
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.5.0.tgz"
|
||||
},
|
||||
"classlist.js": {
|
||||
"version": "1.1.20150312",
|
||||
"from": "classlist.js@1.1.20150312",
|
||||
"resolved": "https://registry.npmjs.org/classlist.js/-/classlist.js-1.1.20150312.tgz"
|
||||
},
|
||||
"core-js": {
|
||||
"version": "2.4.1",
|
||||
"from": "core-js@2.4.1",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz"
|
||||
},
|
||||
"custom-event-polyfill": {
|
||||
"version": "0.3.0",
|
||||
"from": "custom-event-polyfill@0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/custom-event-polyfill/-/custom-event-polyfill-0.3.0.tgz"
|
||||
},
|
||||
"dialog-polyfill": {
|
||||
"version": "0.4.7",
|
||||
"from": "dialog-polyfill@0.4.7",
|
||||
"resolved": "https://registry.npmjs.org/dialog-polyfill/-/dialog-polyfill-0.4.7.tgz"
|
||||
},
|
||||
"element.scrollintoviewifneeded-polyfill": {
|
||||
"version": "1.0.1",
|
||||
"from": "element.scrollintoviewifneeded-polyfill@1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/element.scrollintoviewifneeded-polyfill/-/element.scrollintoviewifneeded-polyfill-1.0.1.tgz"
|
||||
},
|
||||
"hammerjs": {
|
||||
"version": "2.0.8",
|
||||
"from": "hammerjs@2.0.8",
|
||||
"resolved": "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz"
|
||||
},
|
||||
"intl": {
|
||||
"version": "1.2.5",
|
||||
"from": "intl@1.2.5",
|
||||
"resolved": "https://registry.npmjs.org/intl/-/intl-1.2.5.tgz"
|
||||
},
|
||||
"material-design-lite": {
|
||||
"version": "1.2.1",
|
||||
"from": "material-design-lite@1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/material-design-lite/-/material-design-lite-1.2.1.tgz"
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "3.0.4",
|
||||
"from": "minimatch@3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz"
|
||||
},
|
||||
"moment": {
|
||||
"version": "2.15.1",
|
||||
"from": "moment@2.15.1",
|
||||
"resolved": "https://registry.npmjs.org/moment/-/moment-2.15.1.tgz"
|
||||
},
|
||||
"ng2-3d-editor": {
|
||||
"version": "0.0.18",
|
||||
"from": "ng2-3d-editor@0.0.18",
|
||||
"resolved": "https://registry.npmjs.org/ng2-3d-editor/-/ng2-3d-editor-0.0.18.tgz"
|
||||
},
|
||||
"ng2-activiti-analytics": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-activiti-analytics@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-activiti-analytics/-/ng2-activiti-analytics-1.9.0.tgz"
|
||||
},
|
||||
"ng2-activiti-diagrams": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-activiti-diagrams@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-activiti-diagrams/-/ng2-activiti-diagrams-1.9.0.tgz"
|
||||
},
|
||||
"ng2-activiti-form": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-activiti-form@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-activiti-form/-/ng2-activiti-form-1.9.0.tgz"
|
||||
},
|
||||
"ng2-activiti-processlist": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-activiti-processlist@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-activiti-processlist/-/ng2-activiti-processlist-1.9.0.tgz"
|
||||
},
|
||||
"ng2-alfresco-core": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-alfresco-core@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-alfresco-core/-/ng2-alfresco-core-1.9.0.tgz"
|
||||
},
|
||||
"ng2-alfresco-datatable": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-alfresco-datatable@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-alfresco-datatable/-/ng2-alfresco-datatable-1.9.0.tgz"
|
||||
},
|
||||
"ng2-alfresco-documentlist": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-alfresco-documentlist@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-alfresco-documentlist/-/ng2-alfresco-documentlist-1.9.0.tgz"
|
||||
},
|
||||
"ng2-alfresco-login": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-alfresco-login@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-alfresco-login/-/ng2-alfresco-login-1.9.0.tgz"
|
||||
},
|
||||
"ng2-alfresco-search": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-alfresco-search@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-alfresco-search/-/ng2-alfresco-search-1.9.0.tgz"
|
||||
},
|
||||
"ng2-alfresco-social": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-alfresco-social@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-alfresco-social/-/ng2-alfresco-social-1.9.0.tgz"
|
||||
},
|
||||
"ng2-alfresco-tag": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-alfresco-tag@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-alfresco-tag/-/ng2-alfresco-tag-1.9.0.tgz"
|
||||
},
|
||||
"ng2-alfresco-upload": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-alfresco-upload@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-alfresco-upload/-/ng2-alfresco-upload-1.9.0.tgz"
|
||||
},
|
||||
"ng2-alfresco-userinfo": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-alfresco-userinfo@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-alfresco-userinfo/-/ng2-alfresco-userinfo-1.9.0.tgz"
|
||||
},
|
||||
"ng2-alfresco-viewer": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-alfresco-viewer@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-alfresco-viewer/-/ng2-alfresco-viewer-1.9.0.tgz"
|
||||
},
|
||||
"ng2-alfresco-webscript": {
|
||||
"version": "1.9.0",
|
||||
"from": "ng2-alfresco-webscript@1.9.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-alfresco-webscript/-/ng2-alfresco-webscript-1.9.0.tgz"
|
||||
},
|
||||
"ng2-charts": {
|
||||
"version": "1.6.0",
|
||||
"from": "ng2-charts@1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/ng2-charts/-/ng2-charts-1.6.0.tgz"
|
||||
},
|
||||
"pdfjs-dist": {
|
||||
"version": "1.5.404",
|
||||
"from": "pdfjs-dist@1.5.404",
|
||||
"resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-1.5.404.tgz"
|
||||
},
|
||||
"raphael": {
|
||||
"version": "2.2.7",
|
||||
"from": "raphael@2.2.7",
|
||||
"resolved": "https://registry.npmjs.org/raphael/-/raphael-2.2.7.tgz"
|
||||
},
|
||||
"reflect-metadata": {
|
||||
"version": "0.1.10",
|
||||
"from": "reflect-metadata@0.1.10",
|
||||
"resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.10.tgz"
|
||||
},
|
||||
"rxjs": {
|
||||
"version": "5.1.0",
|
||||
"from": "rxjs@5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.1.0.tgz"
|
||||
},
|
||||
"web-animations-js": {
|
||||
"version": "2.3.1",
|
||||
"from": "web-animations-js@2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/web-animations-js/-/web-animations-js-2.3.1.tgz"
|
||||
},
|
||||
"zone.js": {
|
||||
"version": "0.8.12",
|
||||
"from": "zone.js@0.8.12",
|
||||
"resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.8.12.tgz"
|
||||
}
|
||||
}
|
||||
}
|
189
demo-shell/.angular-cli.json
Normal file
189
demo-shell/.angular-cli.json
Normal file
@ -0,0 +1,189 @@
|
||||
{
|
||||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||||
"project": {
|
||||
"name": "myapp"
|
||||
},
|
||||
"apps": [
|
||||
{
|
||||
"root": "src",
|
||||
"outDir": "dist",
|
||||
"assets": [
|
||||
"assets",
|
||||
"favicon.ico",
|
||||
"app.config.json",
|
||||
"versions.json",
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../resources",
|
||||
"output": "./resources"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/core/prebuilt-themes",
|
||||
"output": "./prebuilt-themes"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/core/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/analytics/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/process-services/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../node_modules/content-services/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{ "glob": "pdf.worker.js", "input": "../node_modules/pdfjs-dist/build", "output": "./" }
|
||||
],
|
||||
"index": "index.html",
|
||||
"main": "main.ts",
|
||||
"polyfills": "polyfills.ts",
|
||||
"test": "test.ts",
|
||||
"tsconfig": "tsconfig.app.json",
|
||||
"testTsconfig": "tsconfig.spec.json",
|
||||
"prefix": "app",
|
||||
"styles": [
|
||||
"styles.scss"
|
||||
],
|
||||
"stylePreprocessorOptions": {
|
||||
"includePaths": [
|
||||
"../node_modules/"
|
||||
]
|
||||
},
|
||||
"scripts": [
|
||||
"../node_modules/pdfjs-dist/build/pdf.js",
|
||||
"../node_modules/pdfjs-dist/web/pdf_viewer.js",
|
||||
"../node_modules/raphael/raphael.min.js",
|
||||
"../node_modules/moment/min/moment.min.js",
|
||||
"../node_modules/three/build/three.min.js"
|
||||
],
|
||||
"environmentSource": "environments/environment.ts",
|
||||
"environments": {
|
||||
"dev": "environments/environment.ts",
|
||||
"prod": "environments/environment.prod.ts"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"root": "src",
|
||||
"outDir": "dist",
|
||||
"assets": [
|
||||
"assets",
|
||||
"app.config.json",
|
||||
"versions.json",
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../resources",
|
||||
"output": "./resources"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../lib/core/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../lib/process-services/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../lib/content-services/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../lib/analytics/bundles/assets",
|
||||
"output": "./assets/"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../lib/core/i18n",
|
||||
"output": "./assets/@adf/core/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../lib/analytics/i18n",
|
||||
"output": "./assets/@adf/analytics/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../lib/process-services/i18n",
|
||||
"output": "./assets/@adf/process-services/i18n"
|
||||
},
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "../../lib/content-services/i18n",
|
||||
"output": "./assets/@adf/content-services/i18n"
|
||||
},
|
||||
{ "glob": "pdf.worker.js", "input": "../node_modules/pdfjs-dist/build", "output": "./" }
|
||||
],
|
||||
"index": "index.html",
|
||||
"main": "main.ts",
|
||||
"polyfills": "polyfills.ts",
|
||||
"test": "test.ts",
|
||||
"tsconfig": "tsconfig.dev.json",
|
||||
"testTsconfig": "tsconfig.spec.json",
|
||||
"prefix": "app-dev",
|
||||
"styles": [
|
||||
"styles.scss",
|
||||
"custom-style.scss"
|
||||
],
|
||||
"stylePreprocessorOptions": {
|
||||
"includePaths": [
|
||||
"../../lib/"
|
||||
]
|
||||
},
|
||||
"scripts": [
|
||||
"../node_modules/pdfjs-dist/build/pdf.js",
|
||||
"../node_modules/pdfjs-dist/web/pdf_viewer.js",
|
||||
"../node_modules/raphael/raphael.min.js",
|
||||
"../node_modules/moment/min/moment.min.js",
|
||||
"../node_modules/three/build/three.min.js"
|
||||
],
|
||||
"environmentSource": "environments/environment.ts",
|
||||
"environments": {
|
||||
"dev": "environments/environment.ts",
|
||||
"prod": "environments/environment.prod.ts"
|
||||
}
|
||||
}
|
||||
],
|
||||
"e2e": {
|
||||
"protractor": {
|
||||
"config": "./protractor.conf.js"
|
||||
}
|
||||
},
|
||||
"lint": [
|
||||
{
|
||||
"project": "src/tsconfig.app.json"
|
||||
},
|
||||
{
|
||||
"project": "src/tsconfig.spec.json"
|
||||
},
|
||||
{
|
||||
"project": "e2e/tsconfig.e2e.json"
|
||||
}
|
||||
],
|
||||
"test": {
|
||||
"karma": {
|
||||
"config": "./karma.conf.js"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"styleExt": "scss",
|
||||
"component": {
|
||||
},
|
||||
"serve": {
|
||||
"port": 3000
|
||||
}
|
||||
}
|
||||
}
|
@ -45,7 +45,7 @@ Thumbs.db
|
||||
typings/
|
||||
node_modules/
|
||||
bower_components/
|
||||
ng2-components/
|
||||
lib/
|
||||
app/**/*.js
|
||||
app/**/*.js.map
|
||||
app/**/*.d.ts
|
@ -9,7 +9,7 @@ To correctly use this demo check that on your machine you have [Node](https://no
|
||||
|
||||
```sh
|
||||
git clone https://github.com/Alfresco/alfresco-ng2-components.git
|
||||
cd alfresco-ng2-components/demo-shell-ng2/
|
||||
cd alfresco-ng2-components/demo-shell/
|
||||
npm install
|
||||
```
|
||||
|
||||
@ -98,4 +98,4 @@ If you want to run the demo shell with the latest changes from the development b
|
||||
```sh
|
||||
./npm-clean.sh
|
||||
./start-linked.sh -install
|
||||
```
|
||||
```
|
42
demo-shell/config/webpack.style.js
Normal file
42
demo-shell/config/webpack.style.js
Normal file
@ -0,0 +1,42 @@
|
||||
const ExtractTextPlugin = require("extract-text-webpack-plugin");
|
||||
const path = require('path');
|
||||
|
||||
const extractScss = new ExtractTextPlugin('../lib/core/prebuilt-themes/[name].css');
|
||||
|
||||
module.exports = {
|
||||
|
||||
entry: {
|
||||
'adf-blue-orange': '../lib/core/styles/prebuilt/adf-blue-orange.scss',
|
||||
'adf-blue-purple': '../lib/core/styles/prebuilt/adf-blue-purple.scss',
|
||||
'adf-cyan-orange': '../lib/core/styles/prebuilt/adf-cyan-orange.scss',
|
||||
'adf-cyan-purple': '../lib/core/styles/prebuilt/adf-cyan-purple.scss',
|
||||
'adf-green-purple': '../lib/core/styles/prebuilt/adf-green-purple.scss',
|
||||
'adf-green-orange': '../lib/core/styles/prebuilt/adf-green-orange.scss',
|
||||
'adf-pink-bluegrey': '../lib/core/styles/prebuilt/adf-pink-bluegrey.scss',
|
||||
'adf-indigo-pink': '../lib/core/styles/prebuilt/adf-indigo-pink.scss',
|
||||
'adf-purple-green': '../lib/core/styles/prebuilt/adf-purple-green.scss'
|
||||
},
|
||||
|
||||
resolve: {
|
||||
extensions: ['.ts', '.js'],
|
||||
modules: [path.resolve(__dirname, '../node_modules')]
|
||||
},
|
||||
|
||||
output: {
|
||||
filename: '../dist/[name].js'
|
||||
},
|
||||
|
||||
module: {
|
||||
rules: [{
|
||||
test: /\.scss$/,
|
||||
use: extractScss.extract([{
|
||||
loader: "raw-loader"
|
||||
}, {
|
||||
loader: "sass-loader"
|
||||
}])
|
||||
}]
|
||||
},
|
||||
plugins: [
|
||||
extractScss
|
||||
]
|
||||
};
|
@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "Alfresco-Angular2-Demo",
|
||||
"description": "Demo shell for Alfresco Angular2 components",
|
||||
"version": "1.9.0",
|
||||
"name": "Alfresco-ADF-Angular-Demo",
|
||||
"description": "Demo shell for Alfresco Angular components",
|
||||
"version": "2.0.0",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "npm run server-versions && rimraf dist && ng serve --host 0.0.0.0 --app=0 --open --aot=true",
|
||||
"start:dev": "npm run style:dev & npm run clean-ng2-component-angular && npm run server-versions && rimraf dist && ng serve --host 0.0.0.0 --disable-host-check --app=1 pp-dev --proxy-config proxy.conf.js --open",
|
||||
"start:dist": "npm run server-versions && rimraf dist && ng serve --host 0.0.0.0 --disable-host-check --aot=false --app=0",
|
||||
"start:dev": "npm run style:dev & npm run clean-lib-angular && npm run server-versions && rimraf dist && ng serve --host 0.0.0.0 --disable-host-check --app=1 pp-dev --proxy-config proxy.conf.js --open",
|
||||
"start:dist": "npm run server-versions && rimraf dist && ng serve --host 0.0.0.0 --disable-host-check --aot=false --prod --app=0",
|
||||
"build": "npm run server-versions && rimraf dist && ng build -app=0",
|
||||
"build:dev": "npm run style:dev & npm run server-versions && rimraf dist && ng build -app=1",
|
||||
"style:dev": "npm run webpack -- --config config/webpack.style.js --progress --profile --bail --watch",
|
||||
@ -16,7 +16,7 @@
|
||||
"e2e": "ng e2e",
|
||||
"server-versions": "rimraf ./src/versions.json && npm list --depth=0 --json=true --prod=true > ./src/versions.json || exit 0",
|
||||
"clean": "npm run clean-build && rimraf dist node_modules typings dist",
|
||||
"clean-ng2-component-angular": "rimraf ../ng2-components/node_modules/@angular",
|
||||
"clean-lib-angular": "rimraf ../lib/node_modules/@angular",
|
||||
"clean-build": "rimraf 'app/{,**/}**.js' 'app/{,**/}**.js.map' 'app/{,**/}**.d.ts'",
|
||||
"clean-lock": "rimraf package-lock.json",
|
||||
"webpack": "node node_modules/webpack/bin/webpack.js"
|
||||
@ -72,33 +72,16 @@
|
||||
"@angular/platform-browser-dynamic": "5.0.0",
|
||||
"@angular/router": "5.0.0",
|
||||
"@ngx-translate/core": "8.0.0",
|
||||
"alfresco-js-api": "1.10.0-beta5",
|
||||
"alfresco-js-api": "^2.0.0-de41fd8ca9c1c6f6072d2e06415eef0a71330dc0",
|
||||
"chart.js": "2.5.0",
|
||||
"classlist.js": "1.1.20150312",
|
||||
"core-js": "2.4.1",
|
||||
"custom-event-polyfill": "0.3.0",
|
||||
"dialog-polyfill": "0.4.7",
|
||||
"element.scrollintoviewifneeded-polyfill": "1.0.1",
|
||||
"hammerjs": "2.0.8",
|
||||
"intl": "1.2.5",
|
||||
"minimatch": "3.0.4",
|
||||
"moment": "2.15.2",
|
||||
"ng2-3d-editor": "0.0.18",
|
||||
"ng2-activiti-analytics": "1.9.0",
|
||||
"ng2-activiti-diagrams": "1.9.0",
|
||||
"ng2-activiti-form": "1.9.0",
|
||||
"ng2-activiti-processlist": "1.9.0",
|
||||
"ng2-alfresco-core": "1.9.0",
|
||||
"ng2-alfresco-datatable": "1.9.0",
|
||||
"ng2-alfresco-documentlist": "1.9.0",
|
||||
"ng2-alfresco-login": "1.9.0",
|
||||
"ng2-alfresco-search": "1.9.0",
|
||||
"ng2-alfresco-social": "1.9.0",
|
||||
"ng2-alfresco-tag": "1.9.0",
|
||||
"ng2-alfresco-upload": "1.9.0",
|
||||
"ng2-alfresco-userinfo": "1.9.0",
|
||||
"ng2-alfresco-viewer": "1.9.0",
|
||||
"ng2-alfresco-webscript": "1.9.0",
|
||||
"ng2-charts": "1.6.0",
|
||||
"pdfjs-dist": "1.5.404",
|
||||
"raphael": "2.2.7",
|
22
demo-shell/src/app/adf.module.ts
Normal file
22
demo-shell/src/app/adf.module.ts
Normal file
@ -0,0 +1,22 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
|
||||
import { ContentModule } from '@alfresco/content-services';
|
||||
import { ProcessModule } from '@alfresco/process-services';
|
||||
import { CoreModule } from '@alfresco/core';
|
||||
import { InsightsModule } from '@alfresco/insights';
|
||||
|
||||
export function modules() {
|
||||
return [
|
||||
CoreModule,
|
||||
ContentModule,
|
||||
InsightsModule,
|
||||
ProcessModule
|
||||
];
|
||||
}
|
||||
|
||||
@NgModule({
|
||||
imports: modules(),
|
||||
exports: modules()
|
||||
})
|
||||
export class AdfModule {
|
||||
}
|
@ -17,7 +17,7 @@
|
||||
|
||||
import { Component, ViewEncapsulation } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { AlfrescoSettingsService, PageTitleService, StorageService, TranslationService } from 'ng2-alfresco-core';
|
||||
import { SettingsService, PageTitleService, StorageService, TranslationService } from '@alfresco/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
@ -28,7 +28,7 @@ import { AlfrescoSettingsService, PageTitleService, StorageService, TranslationS
|
||||
export class AppComponent {
|
||||
searchTerm: string = '';
|
||||
|
||||
constructor(private settingsService: AlfrescoSettingsService,
|
||||
constructor(private settingsService: SettingsService,
|
||||
private storage: StorageService,
|
||||
translationService: TranslationService,
|
||||
pageTitleService: PageTitleService,
|
@ -4,8 +4,10 @@ import { FormsModule } from '@angular/forms';
|
||||
import { FlexLayoutModule } from '@angular/flex-layout';
|
||||
// import { Editor3DModule } from 'ng2-3d-editor';
|
||||
import { ChartsModule } from 'ng2-charts';
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { TranslateService } from '@ngx-translate/core';
|
||||
|
||||
import { AppConfigService, TRANSLATION_PROVIDER } from 'ng2-alfresco-core';
|
||||
import { AppConfigService, TRANSLATION_PROVIDER } from '@alfresco/core';
|
||||
import { AppComponent } from './app.component';
|
||||
import { AdfModule } from './adf.module';
|
||||
import { MaterialModule } from './material.module';
|
||||
@ -39,62 +41,68 @@ import { ThemePickerModule } from './components/theme-picker/theme-picker';
|
||||
import { DebugAppConfigService } from './services/debug-app-config.service';
|
||||
|
||||
import { routing } from './app.routes';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { ReactiveFormsModule } from '@angular/forms';
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
LoginComponent,
|
||||
SettingsComponent,
|
||||
AppLayoutComponent,
|
||||
HomeComponent,
|
||||
SearchBarComponent,
|
||||
SearchResultComponent,
|
||||
AboutComponent,
|
||||
ActivitiComponent,
|
||||
ActivitiTaskAttachmentsComponent,
|
||||
ActivitiProcessAttachmentsComponent,
|
||||
ActivitiShowDiagramComponent,
|
||||
FormViewerComponent,
|
||||
FormNodeViewerComponent,
|
||||
ActivitiAppsViewComponent,
|
||||
DataTableComponent,
|
||||
FilesComponent,
|
||||
FileViewComponent,
|
||||
FormComponent,
|
||||
FormListComponent,
|
||||
WebscriptComponent,
|
||||
TagComponent,
|
||||
SocialComponent,
|
||||
CustomSourcesComponent,
|
||||
VersionManagerDialogAdapterComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
routing,
|
||||
FormsModule,
|
||||
AdfModule,
|
||||
MaterialModule,
|
||||
ThemePickerModule,
|
||||
FlexLayoutModule,
|
||||
//Editor3DModule,
|
||||
ChartsModule,
|
||||
],
|
||||
providers: [
|
||||
{ provide: AppConfigService, useClass: DebugAppConfigService },
|
||||
{
|
||||
provide: TRANSLATION_PROVIDER,
|
||||
multi: true,
|
||||
useValue: {
|
||||
name: 'app',
|
||||
source: 'resources'
|
||||
}
|
||||
}
|
||||
],
|
||||
entryComponents: [
|
||||
VersionManagerDialogAdapterComponent
|
||||
],
|
||||
bootstrap: [AppComponent]
|
||||
imports: [
|
||||
ReactiveFormsModule,
|
||||
TranslateModule,
|
||||
BrowserModule,
|
||||
routing,
|
||||
FormsModule,
|
||||
AdfModule,
|
||||
MaterialModule,
|
||||
ThemePickerModule,
|
||||
FlexLayoutModule,
|
||||
//Editor3DModule,
|
||||
ChartsModule,
|
||||
HttpClientModule
|
||||
],
|
||||
declarations: [
|
||||
AppComponent,
|
||||
LoginComponent,
|
||||
SettingsComponent,
|
||||
AppLayoutComponent,
|
||||
HomeComponent,
|
||||
SearchBarComponent,
|
||||
SearchResultComponent,
|
||||
AboutComponent,
|
||||
ActivitiComponent,
|
||||
ActivitiTaskAttachmentsComponent,
|
||||
ActivitiProcessAttachmentsComponent,
|
||||
ActivitiShowDiagramComponent,
|
||||
FormViewerComponent,
|
||||
FormNodeViewerComponent,
|
||||
ActivitiAppsViewComponent,
|
||||
DataTableComponent,
|
||||
FilesComponent,
|
||||
FileViewComponent,
|
||||
FormComponent,
|
||||
FormListComponent,
|
||||
WebscriptComponent,
|
||||
TagComponent,
|
||||
SocialComponent,
|
||||
CustomSourcesComponent,
|
||||
VersionManagerDialogAdapterComponent
|
||||
],
|
||||
providers: [
|
||||
TranslateService,
|
||||
{ provide: AppConfigService, useClass: DebugAppConfigService },
|
||||
{
|
||||
provide: TRANSLATION_PROVIDER,
|
||||
multi: true,
|
||||
useValue: {
|
||||
name: 'app',
|
||||
source: 'resources'
|
||||
}
|
||||
}
|
||||
],
|
||||
entryComponents: [
|
||||
VersionManagerDialogAdapterComponent
|
||||
],
|
||||
bootstrap: [AppComponent]
|
||||
})
|
||||
export class AppModule {
|
||||
}
|
@ -17,7 +17,7 @@
|
||||
|
||||
import { ModuleWithProviders } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { AuthGuard, AuthGuardBpm, AuthGuardEcm } from 'ng2-alfresco-core';
|
||||
import { AuthGuard, AuthGuardBpm, AuthGuardEcm } from '@alfresco/core';
|
||||
import { AppLayoutComponent } from './components/app-layout/app-layout.component';
|
||||
import { LoginComponent } from './components/login/login.component';
|
||||
import { SettingsComponent } from './components/settings/settings.component';
|
||||
@ -37,7 +37,7 @@ import { SocialComponent } from './components/social/social.component';
|
||||
import { FilesComponent } from './components/files/files.component';
|
||||
import { FormComponent } from './components/form/form.component';
|
||||
|
||||
import { UploadButtonComponent } from 'ng2-alfresco-upload';
|
||||
import { UploadButtonComponent } from '@alfresco/content-services';
|
||||
import { FileViewComponent } from './components/file-view/file-view.component';
|
||||
import { CustomSourcesComponent } from './components/files/custom-sources.component';
|
||||
import { FormListComponent } from './components/form/form-list.component';
|
@ -17,8 +17,14 @@
|
||||
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { Http } from '@angular/http';
|
||||
import { AlfrescoAuthenticationService, AppConfigService, BpmProductVersionModel, DiscoveryApiService, EcmProductVersionModel } from 'ng2-alfresco-core';
|
||||
import { ObjectDataTableAdapter } from 'ng2-alfresco-datatable';
|
||||
import {
|
||||
AuthenticationService,
|
||||
AppConfigService,
|
||||
BpmProductVersionModel,
|
||||
DiscoveryApiService,
|
||||
EcmProductVersionModel,
|
||||
ObjectDataTableAdapter
|
||||
} from '@alfresco/core';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-about-page',
|
||||
@ -42,7 +48,7 @@ export class AboutComponent implements OnInit {
|
||||
|
||||
constructor(private http: Http,
|
||||
private appConfig: AppConfigService,
|
||||
private authService: AlfrescoAuthenticationService,
|
||||
private authService: AuthenticationService,
|
||||
private discovery: DiscoveryApiService) {
|
||||
}
|
||||
|
||||
@ -88,7 +94,7 @@ export class AboutComponent implements OnInit {
|
||||
}
|
||||
|
||||
this.http.get('/versions.json').subscribe(response => {
|
||||
let regexp = new RegExp('^(ng2-activiti|ng2-alfresco|alfresco-)');
|
||||
let regexp = new RegExp('^(@alfresco)');
|
||||
|
||||
let alfrescoPackages = Object.keys(response.json().dependencies).filter((val) => {
|
||||
return regexp.test(val);
|
||||
@ -117,7 +123,7 @@ export class AboutComponent implements OnInit {
|
||||
|
||||
private gitHubLinkCreation(alfrescoPackagesTableRepresentation): void {
|
||||
let corePackage = alfrescoPackagesTableRepresentation.find((packageUp) => {
|
||||
return packageUp.name === 'ng2-alfresco-core';
|
||||
return packageUp.name === '@alfresco/core';
|
||||
});
|
||||
|
||||
if (corePackage) {
|
@ -16,9 +16,9 @@
|
||||
*/
|
||||
|
||||
import { Component, Input, OnChanges, OnInit, ViewChild } from '@angular/core';
|
||||
import { ProcessAttachmentListComponent, ProcessUploadService } from 'ng2-activiti-processlist';
|
||||
import { ProcessInstance, ProcessService } from 'ng2-activiti-processlist';
|
||||
import { UploadService } from 'ng2-alfresco-core';
|
||||
import { ProcessInstance, ProcessService ,
|
||||
ProcessAttachmentListComponent, ProcessUploadService } from '@alfresco/process-services';
|
||||
import { UploadService } from '@alfresco/core';
|
||||
|
||||
@Component({
|
||||
selector: 'activiti-process-attachments',
|
@ -16,9 +16,8 @@
|
||||
*/
|
||||
|
||||
import { Component, Input, OnChanges, OnInit, ViewChild } from '@angular/core';
|
||||
import { ProcessUploadService, TaskAttachmentListComponent } from 'ng2-activiti-tasklist';
|
||||
import { ActivitiTaskListService } from 'ng2-activiti-tasklist';
|
||||
import { UploadService } from 'ng2-alfresco-core';
|
||||
import { ProcessUploadService, TaskListService, TaskAttachmentListComponent } from '@alfresco/process-services';
|
||||
import { UploadService } from '@alfresco/core';
|
||||
|
||||
@Component({
|
||||
selector: 'activiti-task-attachments',
|
||||
@ -44,7 +43,7 @@ export class ActivitiTaskAttachmentsComponent implements OnInit, OnChanges {
|
||||
taskDetails: any;
|
||||
|
||||
constructor(private uploadService: UploadService,
|
||||
private activitiTaskList: ActivitiTaskListService) {
|
||||
private activitiTaskList: TaskListService) {
|
||||
|
||||
}
|
||||
|
@ -16,14 +16,24 @@
|
||||
*/
|
||||
|
||||
// tslint:disable-next-line:adf-file-name
|
||||
import { AfterViewInit, Component, ElementRef, Input, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core';
|
||||
import {
|
||||
AfterViewInit,
|
||||
Component,
|
||||
ElementRef,
|
||||
Input,
|
||||
OnDestroy,
|
||||
OnInit,
|
||||
ViewChild,
|
||||
ViewEncapsulation
|
||||
} from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { Pagination, ProcessInstanceFilterRepresentation } from 'alfresco-js-api';
|
||||
import { AnalyticsReportListComponent } from 'ng2-activiti-analytics';
|
||||
import {
|
||||
DynamicTableRow, FORM_FIELD_VALIDATORS, FormEvent, FormFieldEvent, FormRenderingService,
|
||||
FormService, ValidateDynamicTableRowEvent
|
||||
} from 'ng2-activiti-form';
|
||||
FORM_FIELD_VALIDATORS, FormEvent, FormFieldEvent, FormRenderingService, FormService,
|
||||
DynamicTableRow, ValidateDynamicTableRowEvent
|
||||
} from '@alfresco/core';
|
||||
|
||||
import { AnalyticsReportListComponent } from '@alfresco/insights';
|
||||
|
||||
import {
|
||||
ProcessFiltersComponent,
|
||||
@ -31,7 +41,7 @@ import {
|
||||
ProcessInstanceDetailsComponent,
|
||||
ProcessInstanceListComponent,
|
||||
StartProcessInstanceComponent
|
||||
} from 'ng2-activiti-processlist';
|
||||
} from '@alfresco/process-services';
|
||||
import {
|
||||
AppsListComponent,
|
||||
FilterRepresentationModel,
|
||||
@ -40,14 +50,14 @@ import {
|
||||
TaskFiltersComponent,
|
||||
TaskListComponent,
|
||||
TaskListService
|
||||
} from 'ng2-activiti-tasklist';
|
||||
import { LogService } from 'ng2-alfresco-core';
|
||||
import { AlfrescoApiService } from 'ng2-alfresco-core';
|
||||
} from '@alfresco/process-services';
|
||||
import { LogService } from '@alfresco/core';
|
||||
import { AlfrescoApiService } from '@alfresco/core';
|
||||
import {
|
||||
DataSorting,
|
||||
ObjectDataRow,
|
||||
ObjectDataTableAdapter
|
||||
} from 'ng2-alfresco-datatable';
|
||||
} from '@alfresco/core';
|
||||
import { Subscription } from 'rxjs/Rx';
|
||||
import { /*CustomEditorComponent*/ CustomStencil01 } from './custom-editor/custom-editor.component';
|
||||
import { DemoFieldValidator } from './demo-field-validator';
|
||||
@ -206,10 +216,20 @@ export class ActivitiComponent implements AfterViewInit, OnDestroy, OnInit {
|
||||
ngOnInit() {
|
||||
this.taskListService.tasksList$.subscribe(
|
||||
(tasks) => {
|
||||
this.taskPagination = { count: tasks.data.length, maxItems: this.taskPagination.maxItems, skipCount: this.taskPagination.skipCount, totalItems: tasks.total };
|
||||
this.logService.log({ count: tasks.data.length, maxItems: this.taskPagination.maxItems, skipCount: this.taskPagination.skipCount, totalItems: tasks.total });
|
||||
this.taskPagination = {
|
||||
count: tasks.data.length,
|
||||
maxItems: this.taskPagination.maxItems,
|
||||
skipCount: this.taskPagination.skipCount,
|
||||
totalItems: tasks.total
|
||||
};
|
||||
this.logService.log({
|
||||
count: tasks.data.length,
|
||||
maxItems: this.taskPagination.maxItems,
|
||||
skipCount: this.taskPagination.skipCount,
|
||||
totalItems: tasks.total
|
||||
});
|
||||
}, (err) => {
|
||||
this.logService.log('err' + err);
|
||||
this.logService.log('err' + err);
|
||||
});
|
||||
|
||||
if (this.router.url.includes('processes')) {
|
@ -17,7 +17,7 @@
|
||||
|
||||
import { Component } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
import { AppDefinitionRepresentationModel } from 'ng2-activiti-tasklist';
|
||||
import { AppDefinitionRepresentationModel } from '@alfresco/process-services';
|
||||
|
||||
@Component({
|
||||
selector: 'activiti-apps-view',
|
@ -18,7 +18,7 @@
|
||||
/* tslint:disable */
|
||||
|
||||
import { Component, NgModule } from '@angular/core';
|
||||
import { WidgetComponent } from 'ng2-activiti-form';
|
||||
import { WidgetComponent } from '@alfresco/core';
|
||||
|
||||
@Component({
|
||||
selector: 'custom-editor',
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { FormFieldModel, FormFieldTypes, FormFieldValidator } from 'ng2-activiti-form';
|
||||
import { FormFieldModel, FormFieldTypes, FormFieldValidator } from '@alfresco/core';
|
||||
|
||||
export class DemoFieldValidator implements FormFieldValidator {
|
||||
|
@ -16,9 +16,9 @@
|
||||
*/
|
||||
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { AlfrescoApiService, LogService } from 'ng2-alfresco-core';
|
||||
import { DataCellEvent, DataRowActionEvent, DataSorting, ObjectDataColumn, ObjectDataRow, ObjectDataTableAdapter } from 'ng2-alfresco-datatable';
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
import { AlfrescoApiService, LogService } from '@alfresco/core';
|
||||
import { DataCellEvent, DataRowActionEvent, DataSorting, ObjectDataColumn, ObjectDataRow, ObjectDataTableAdapter } from '@alfresco/core';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
@Component({
|
||||
selector: 'datatable',
|
@ -17,7 +17,7 @@
|
||||
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { AlfrescoApiService } from 'ng2-alfresco-core';
|
||||
import { AlfrescoApiService } from '@alfresco/core';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-file-view',
|
@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { Component, Input, ViewChild } from '@angular/core';
|
||||
import { DocumentListComponent } from 'ng2-alfresco-documentlist';
|
||||
import { DocumentListComponent } from '@alfresco/content-services';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-custom-sources',
|
@ -15,18 +15,21 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Component, Input, OnInit, OnChanges, OnDestroy, ChangeDetectorRef,
|
||||
EventEmitter, Optional, ViewChild, SimpleChanges, Output } from '@angular/core';
|
||||
import {
|
||||
Component, Input, OnInit, OnChanges, OnDestroy, ChangeDetectorRef,
|
||||
EventEmitter, Optional, ViewChild, SimpleChanges, Output
|
||||
} from '@angular/core';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { ActivatedRoute, Params, Router } from '@angular/router';
|
||||
import { MinimalNodeEntity, NodePaging } from 'alfresco-js-api';
|
||||
import {
|
||||
AlfrescoApiService, AlfrescoContentService, AlfrescoTranslationService,
|
||||
DownloadZipDialogComponent, FileUploadEvent, FolderCreatedEvent, LogService, NotificationService,
|
||||
SiteModel, UploadService
|
||||
} from 'ng2-alfresco-core';
|
||||
import { DataColumn, DataRow } from 'ng2-alfresco-datatable';
|
||||
import { DocumentListComponent, PermissionStyleModel } from 'ng2-alfresco-documentlist';
|
||||
AlfrescoApiService, ContentService, TranslationService,
|
||||
FileUploadEvent, FolderCreatedEvent, LogService, NotificationService,
|
||||
SiteModel, UploadService, DataColumn, DataRow
|
||||
} from '@alfresco/core';
|
||||
|
||||
import { DocumentListComponent, PermissionStyleModel, DownloadZipDialogComponent } from '@alfresco/content-services';
|
||||
|
||||
import { VersionManagerDialogAdapterComponent } from './version-manager-dialog-adapter.component';
|
||||
import { Subscription } from 'rxjs/Rx';
|
||||
|
||||
@ -53,7 +56,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
|
||||
];
|
||||
|
||||
@Input()
|
||||
// The identifier of a node. You can also use one of these well-known aliases: -my- | -shared- | -root-
|
||||
// The identifier of a node. You can also use one of these well-known aliases: -my- | -shared- | -root-
|
||||
currentFolderId: string = DEFAULT_FOLDER_TO_SHOW;
|
||||
|
||||
@Input()
|
||||
@ -104,9 +107,9 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
|
||||
private apiService: AlfrescoApiService,
|
||||
private notificationService: NotificationService,
|
||||
private uploadService: UploadService,
|
||||
private contentService: AlfrescoContentService,
|
||||
private contentService: ContentService,
|
||||
private dialog: MatDialog,
|
||||
private translateService: AlfrescoTranslationService,
|
||||
private translateService: TranslationService,
|
||||
private router: Router,
|
||||
@Optional() private route: ActivatedRoute,
|
||||
private logService: LogService) {
|
@ -16,8 +16,7 @@
|
||||
*/
|
||||
|
||||
import { Component, ViewChild } from '@angular/core';
|
||||
import { ActivitiForm, FormModel, FormService } from 'ng2-activiti-form';
|
||||
import { LogService } from 'ng2-alfresco-core';
|
||||
import { FormComponent, FormModel, FormService, LogService } from '@alfresco/core';
|
||||
|
||||
@Component({
|
||||
selector: 'form-list',
|
||||
@ -26,8 +25,8 @@ import { LogService } from 'ng2-alfresco-core';
|
||||
})
|
||||
export class FormListComponent {
|
||||
|
||||
@ViewChild(ActivitiForm)
|
||||
activitiForm: ActivitiForm;
|
||||
@ViewChild(FormComponent)
|
||||
activitiForm: FormComponent;
|
||||
|
||||
formList: any [] = [];
|
||||
|
@ -16,8 +16,7 @@
|
||||
*/
|
||||
|
||||
import { Component, Inject, OnInit } from '@angular/core';
|
||||
import { FormModel, FormService } from 'ng2-activiti-form';
|
||||
import { LogService } from 'ng2-alfresco-core';
|
||||
import { FormModel, FormService, LogService } from '@alfresco/core';
|
||||
import { InMemoryFormService } from '../../services/in-memory-form.service';
|
||||
import { DemoForm } from './demo-form';
|
||||
|
@ -18,7 +18,7 @@
|
||||
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
import { HomeComponent } from './home.component';
|
||||
import { CoreModule } from 'ng2-alfresco-core';
|
||||
import { CoreModule } from '@alfresco/core';
|
||||
|
||||
describe('HomeComponent', () => {
|
||||
beforeEach(() => {
|
@ -18,7 +18,7 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { Validators } from '@angular/forms';
|
||||
import { Router } from '@angular/router';
|
||||
import { LogService, StorageService } from 'ng2-alfresco-core';
|
||||
import { LogService, StorageService } from '@alfresco/core';
|
||||
|
||||
@Component({
|
||||
selector: 'login',
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user