diff --git a/demo-shell-ng2/.angular-cli.json b/demo-shell-ng2/.angular-cli.json index ce1cc48990..b44dc30450 100644 --- a/demo-shell-ng2/.angular-cli.json +++ b/demo-shell-ng2/.angular-cli.json @@ -101,7 +101,8 @@ "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", @@ -230,7 +231,89 @@ "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", @@ -287,6 +370,9 @@ "defaults": { "styleExt": "scss", "component": { + }, + "serve": { + "port": 3000 } } } diff --git a/demo-shell-ng2/src/app/components/activiti/activiti.component.html b/demo-shell-ng2/src/app/components/activiti/activiti.component.html index 77ee2b7961..570447f948 100644 --- a/demo-shell-ng2/src/app/components/activiti/activiti.component.html +++ b/demo-shell-ng2/src/app/components/activiti/activiti.component.html @@ -1,10 +1,10 @@
-
-
-
- @@ -23,7 +23,7 @@
-
-
+
-
+
-
-
-
+
+
+
-
-
+
-
-
-
+
+
Report List

-
+
-
+
diff --git a/demo-shell-ng2/src/app/components/files/files.component.scss b/demo-shell-ng2/src/app/components/files/files.component.scss index 443d29b227..9870b204bc 100644 --- a/demo-shell-ng2/src/app/components/files/files.component.scss +++ b/demo-shell-ng2/src/app/components/files/files.component.scss @@ -52,7 +52,7 @@ adf-document-list ::ng-deep adf-datatable tr.is-selected .image-table-cell::befo background: #00bcd4; } -.adf-demo-site-container-style { +.adf-site-container-style { margin-top: 10px; margin-bottom: 10px; width: 100%; @@ -81,7 +81,7 @@ adf-document-list ::ng-deep adf-datatable tr.is-selected .image-table-cell::befo } } - .adf-demo-site-container-style { + .adf-site-container-style { width: 100%; display: block; diff --git a/demo-shell-ng2/src/app/components/form/form-list.component.ts b/demo-shell-ng2/src/app/components/form/form-list.component.ts index 57c90149df..54a7054528 100644 --- a/demo-shell-ng2/src/app/components/form/form-list.component.ts +++ b/demo-shell-ng2/src/app/components/form/form-list.component.ts @@ -20,7 +20,7 @@ import { ActivitiForm, FormModel, FormService } from 'ng2-activiti-form'; import { LogService } from 'ng2-alfresco-core'; @Component({ - selector: 'form-list-demo', + selector: 'form-list', templateUrl: 'form-list.component.html', styleUrls: ['form-list.component.scss'] }) diff --git a/demo-shell-ng2/src/app/components/form/form.component.ts b/demo-shell-ng2/src/app/components/form/form.component.ts index bd40257c2e..006e5bf6b2 100644 --- a/demo-shell-ng2/src/app/components/form/form.component.ts +++ b/demo-shell-ng2/src/app/components/form/form.component.ts @@ -22,7 +22,7 @@ import { InMemoryFormService } from '../../services/in-memory-form.service'; import { DemoForm } from './demo-form'; @Component({ - selector: 'form-demo', + selector: 'form', templateUrl: 'form.component.html', styleUrls: [ 'form.component.css' ], providers: [ diff --git a/demo-shell-ng2/src/app/components/login/login.component.ts b/demo-shell-ng2/src/app/components/login/login.component.ts index 07a54d533f..b2d9ba9a60 100644 --- a/demo-shell-ng2/src/app/components/login/login.component.ts +++ b/demo-shell-ng2/src/app/components/login/login.component.ts @@ -21,7 +21,7 @@ import { Router } from '@angular/router'; import { LogService, StorageService } from 'ng2-alfresco-core'; @Component({ - selector: 'login-demo', + selector: 'login', templateUrl: './login.component.html', styleUrls: ['./login.component.css'] }) diff --git a/demo-shell-ng2/src/app/components/social/social.component.ts b/demo-shell-ng2/src/app/components/social/social.component.ts index 683a212d5b..b68b31a663 100644 --- a/demo-shell-ng2/src/app/components/social/social.component.ts +++ b/demo-shell-ng2/src/app/components/social/social.component.ts @@ -18,7 +18,7 @@ import { Component } from '@angular/core'; @Component({ - selector: 'alfresco-social-demo', + selector: 'alfresco-social', templateUrl: 'social.component.html', styleUrls: ['social.component.scss'] }) diff --git a/demo-shell-ng2/src/app/components/tag/tag.component.ts b/demo-shell-ng2/src/app/components/tag/tag.component.ts index e80e075858..f6f524bc89 100644 --- a/demo-shell-ng2/src/app/components/tag/tag.component.ts +++ b/demo-shell-ng2/src/app/components/tag/tag.component.ts @@ -18,7 +18,7 @@ import { Component } from '@angular/core'; @Component({ - selector: 'alfresco-tag-demo', + selector: 'alfresco-tag', templateUrl: 'tag.component.html', styleUrls: ['tag.component.scss'] }) diff --git a/demo-shell-ng2/src/app/components/webscript/webscript.component.ts b/demo-shell-ng2/src/app/components/webscript/webscript.component.ts index 88bc04013e..55f8f3ed8c 100644 --- a/demo-shell-ng2/src/app/components/webscript/webscript.component.ts +++ b/demo-shell-ng2/src/app/components/webscript/webscript.component.ts @@ -19,7 +19,7 @@ import { Component } from '@angular/core'; import { LogService } from 'ng2-alfresco-core'; @Component({ - selector: 'alfresco-webscript-demo', + selector: 'alfresco-webscript', templateUrl: 'webscript.component.html' }) export class WebscriptComponent {