From 7a36a1a30a80133f0c8a9a6791d6cf429c11cbbf Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 12 Apr 2016 20:18:15 +0100 Subject: [PATCH] Simple native (ng2) document list component --- demo-shell-ng2/app/app.component.html | 6 +- .../app/components/alfresco.service.ts | 32 +++++++ .../core/entities/document.entity.ts | 33 +++++++ .../components/core/entities/folder.entity.ts | 6 ++ .../core/entities/location.entity.ts | 14 +++ .../app/components/document-list.component.ts | 90 +++++++++++++++++++ demo-shell-ng2/app/components/page1.view.ts | 6 +- demo-shell-ng2/app/main.ts | 2 + demo-shell-ng2/index.html | 1 + 9 files changed, 184 insertions(+), 6 deletions(-) create mode 100644 demo-shell-ng2/app/components/alfresco.service.ts create mode 100644 demo-shell-ng2/app/components/core/entities/document.entity.ts create mode 100644 demo-shell-ng2/app/components/core/entities/folder.entity.ts create mode 100644 demo-shell-ng2/app/components/core/entities/location.entity.ts create mode 100644 demo-shell-ng2/app/components/document-list.component.ts diff --git a/demo-shell-ng2/app/app.component.html b/demo-shell-ng2/app/app.component.html index 502f8bb3ef..96d7236d48 100644 --- a/demo-shell-ng2/app/app.component.html +++ b/demo-shell-ng2/app/app.component.html @@ -53,9 +53,9 @@
  • Child 2
  • - + -->
  • - Page 1 + Native
  • Page 2 @@ -63,8 +63,6 @@
  • Forms
  • - - -->