From 3b8b721b3427e3dd316d259c2ca61d3b2de6a02c Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Wed, 4 May 2016 14:47:12 +0100 Subject: [PATCH] Internal model improvements for document list refs #9 --- .../src/components/document-list.d.ts | 3 +- .../src/components/document-list.js.map | 2 +- .../src/components/document-list.ts | 3 +- .../src/core/entities/document.entity.js.map | 1 - .../src/core/entities/folder.entity.d.ts | 20 ---------- .../src/core/entities/folder.entity.js | 34 ---------------- .../src/core/entities/folder.entity.js.map | 1 - .../src/core/entities/folder.entity.ts | 23 ----------- .../src/core/entities/location.entity.d.ts | 28 ------------- .../src/core/entities/location.entity.js | 40 ------------------- .../src/core/entities/location.entity.js.map | 1 - .../src/core/entities/location.entity.ts | 30 -------------- .../document-library.model.d.ts} | 16 +++++++- .../document-library.model.js} | 23 ++++++++++- .../src/models/document-library.model.js.map | 1 + .../document-library.model.ts} | 21 +++++++++- .../src/services/alfresco.service.d.ts | 3 +- .../src/services/alfresco.service.js.map | 2 +- .../src/services/alfresco.service.ts | 3 +- 19 files changed, 62 insertions(+), 193 deletions(-) delete mode 100644 ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.js.map delete mode 100644 ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.d.ts delete mode 100644 ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.js delete mode 100644 ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.js.map delete mode 100644 ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.ts delete mode 100644 ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.d.ts delete mode 100644 ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.js delete mode 100644 ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.js.map delete mode 100644 ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.ts rename ng2-components/ng2-alfresco-documentlist/src/{core/entities/document.entity.d.ts => models/document-library.model.d.ts} (79%) rename ng2-components/ng2-alfresco-documentlist/src/{core/entities/document.entity.js => models/document-library.model.js} (54%) create mode 100644 ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.js.map rename ng2-components/ng2-alfresco-documentlist/src/{core/entities/document.entity.ts => models/document-library.model.ts} (77%) diff --git a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.d.ts b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.d.ts index 3229eb4726..29d5477f4a 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.d.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.d.ts @@ -16,8 +16,7 @@ */ import { OnInit, EventEmitter, AfterViewChecked } from 'angular2/core'; import { AlfrescoService } from './../services/alfresco.service'; -import { FolderEntity } from './../core/entities/folder.entity'; -import { DocumentEntity } from './../core/entities/document.entity'; +import { FolderEntity, DocumentEntity } from './../models/document-library.model'; import { ContentActionModel } from './../models/content-action.model'; import { ContentColumnModel } from './../models/content-column.model'; export declare class DocumentList implements OnInit, AfterViewChecked { diff --git a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.js.map b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.js.map index 92e1f3d35a..5158120675 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.js.map +++ b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.js.map @@ -1 +1 @@ -{"version":3,"file":"document-list.js","sourceRoot":"","sources":["document-list.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;;;YA0BH;gBA4BI,sBACY,gBAAiC;oBAAjC,qBAAgB,GAAhB,gBAAgB,CAAiB;oBA3BpC,aAAQ,GAAY,IAAI,CAAC;oBACzB,eAAU,GAAY,KAAK,CAAC;oBAE5B,eAAU,GAAY,IAAI,CAAC;oBAE1B,cAAS,GAAsB,IAAI,mBAAY,EAAE,CAAC;oBAE5D,eAAU,GAAG;wBACT,IAAI,EAAE,kBAAkB;wBACxB,IAAI,EAAE,uBAAuB;qB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;gBACnD,CAAC;gBAEO,2CAAoB,GAA5B,UAA6B,IAAI;oBAAjC,iBAQC;oBAPG,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;oBAC9B,IAAI,CAAC,gBAAgB;yBAChB,SAAS,CAAC,IAAI,CAAC;yBACf,SAAS,CACN,UAAA,MAAM,IAAI,OAAA,KAAI,CAAC,MAAM,GAAG,MAAM,EAApB,CAAoB,EAC9B,UAAA,KAAK,IAAI,OAAA,KAAI,CAAC,YAAY,GAAQ,KAAK,EAA9B,CAA8B,CAC1C,CAAC;gBACV,CAAC;gBArID;oBAAC,YAAK,EAAE;;8DAAA;gBACR;oBAAC,YAAK,EAAE;;gEAAA;gBACR;oBAAC,YAAK,CAAC,aAAa,CAAC;;gEAAA;gBACrB;oBAAC,YAAK,EAAE;;gEAAA;gBAER;oBAAC,aAAM,EAAE;;+DAAA;gBAdb;oBAAC,gBAAS,CAAC;wBACP,QAAQ,EAAE,YAAY;wBACtB,QAAQ,EAAE,wBAAwB;wBAClC,SAAS,EAAE,CAAC,qBAAqB,CAAC;wBAClC,WAAW,EAAE,sBAAsB;wBACnC,SAAS,EAAE,CAAC,kCAAe,CAAC;qBAC/B,CAAC;;gCAAA;gBAyIF,mBAAC;YAAD,CAAC,AAxID,IAwIC;YAxID,uCAwIC,CAAA"} \ No newline at end of file diff --git a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.ts b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.ts index cb683d42f0..b6ff6cc357 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.ts @@ -24,8 +24,7 @@ import { AfterViewChecked } from 'angular2/core'; import {AlfrescoService} from './../services/alfresco.service'; -import {FolderEntity} from './../core/entities/folder.entity'; -import {DocumentEntity} from './../core/entities/document.entity'; +import {FolderEntity, DocumentEntity} from './../models/document-library.model'; import {ContentActionModel} from './../models/content-action.model'; import {ContentColumnModel} from './../models/content-column.model'; diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.js.map b/ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.js.map deleted file mode 100644 index 4ea6dce34a..0000000000 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"document.entity.js","sourceRoot":"","sources":["document.entity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;YAKH;gBAAA;gBA6BA,CAAC;gBAAD,qBAAC;YAAD,CAAC,AA7BD,IA6BC;YA7BD,2CA6BC,CAAA"} \ No newline at end of file diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.d.ts b/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.d.ts deleted file mode 100644 index b9373f9720..0000000000 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * @license - * Copyright 2016 Alfresco Software, Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { DocumentEntity } from './document.entity'; -export declare class FolderEntity { - items: DocumentEntity[]; -} diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.js b/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.js deleted file mode 100644 index 1933d04f81..0000000000 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @license - * Copyright 2016 Alfresco Software, Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -System.register([], function(exports_1, context_1) { - "use strict"; - var __moduleName = context_1 && context_1.id; - var FolderEntity; - return { - setters:[], - execute: function() { - // contains only limited subset of available fields - FolderEntity = (function () { - function FolderEntity() { - } - return FolderEntity; - }()); - exports_1("FolderEntity", FolderEntity); - } - } -}); -//# sourceMappingURL=folder.entity.js.map \ No newline at end of file diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.js.map b/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.js.map deleted file mode 100644 index 2eee4bb337..0000000000 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"folder.entity.js","sourceRoot":"","sources":["folder.entity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;YAIH,mDAAmD;YACnD;gBAAA;gBAEA,CAAC;gBAAD,mBAAC;YAAD,CAAC,AAFD,IAEC;YAFD,uCAEC,CAAA"} \ No newline at end of file diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.ts b/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.ts deleted file mode 100644 index 4d14edb6cd..0000000000 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/folder.entity.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * @license - * Copyright 2016 Alfresco Software, Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import {DocumentEntity} from './document.entity'; - -// contains only limited subset of available fields -export class FolderEntity { - items: DocumentEntity[]; -} diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.d.ts b/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.d.ts deleted file mode 100644 index ec49e11020..0000000000 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @license - * Copyright 2016 Alfresco Software, Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export declare class LocationEntity { - repositoryId: string; - site: string; - siteTitle: string; - container: string; - path: string; - file: string; - parent: LocationParentEntity; -} -export declare class LocationParentEntity { - nodeRef: string; -} diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.js b/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.js deleted file mode 100644 index 3d7d60700e..0000000000 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.js +++ /dev/null @@ -1,40 +0,0 @@ -System.register([], function(exports_1, context_1) { - "use strict"; - var __moduleName = context_1 && context_1.id; - var LocationEntity, LocationParentEntity; - return { - setters:[], - execute: function() { - /** - * @license - * Copyright 2016 Alfresco Software, Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // contains only limited subset of available fields - LocationEntity = (function () { - function LocationEntity() { - } - return LocationEntity; - }()); - exports_1("LocationEntity", LocationEntity); - LocationParentEntity = (function () { - function LocationParentEntity() { - } - return LocationParentEntity; - }()); - exports_1("LocationParentEntity", LocationParentEntity); - } - } -}); -//# sourceMappingURL=location.entity.js.map \ No newline at end of file diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.js.map b/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.js.map deleted file mode 100644 index bb6574e274..0000000000 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"location.entity.js","sourceRoot":"","sources":["location.entity.ts"],"names":[],"mappings":";;;;;;;YAAA;;;;;;;;;;;;;;;eAeG;YACH,mDAAmD;YACnD;gBAAA;gBAQA,CAAC;gBAAD,qBAAC;YAAD,CAAC,AARD,IAQC;YARD,2CAQC,CAAA;YAED;gBAAA;gBAEA,CAAC;gBAAD,2BAAC;YAAD,CAAC,AAFD,IAEC;YAFD,uDAEC,CAAA"} \ No newline at end of file diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.ts b/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.ts deleted file mode 100644 index 6671a990a2..0000000000 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/location.entity.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @license - * Copyright 2016 Alfresco Software, Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// contains only limited subset of available fields -export class LocationEntity { - repositoryId: string; - site: string; - siteTitle: string; - container: string; - path: string; - file: string; - parent: LocationParentEntity; -} - -export class LocationParentEntity { - nodeRef: string; -} diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.d.ts b/ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.d.ts similarity index 79% rename from ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.d.ts rename to ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.d.ts index 81af81ce52..e89fae80df 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.d.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.d.ts @@ -14,7 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { LocationEntity } from './location.entity'; +export declare class FolderEntity { + items: DocumentEntity[]; +} export declare class DocumentEntity { nodeRef: string; nodeType: string; @@ -45,3 +47,15 @@ export declare class DocumentEntity { activeWorkflows: string; location: LocationEntity; } +export declare class LocationEntity { + repositoryId: string; + site: string; + siteTitle: string; + container: string; + path: string; + file: string; + parent: LocationParentEntity; +} +export declare class LocationParentEntity { + nodeRef: string; +} diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.js b/ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.js similarity index 54% rename from ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.js rename to ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.js index b6d19e7101..c5c31ef70c 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.js +++ b/ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.js @@ -17,17 +17,36 @@ System.register([], function(exports_1, context_1) { "use strict"; var __moduleName = context_1 && context_1.id; - var DocumentEntity; + var FolderEntity, DocumentEntity, LocationEntity, LocationParentEntity; return { setters:[], execute: function() { + // Note: contains only limited subset of available fields + FolderEntity = (function () { + function FolderEntity() { + } + return FolderEntity; + }()); + exports_1("FolderEntity", FolderEntity); DocumentEntity = (function () { function DocumentEntity() { } return DocumentEntity; }()); exports_1("DocumentEntity", DocumentEntity); + LocationEntity = (function () { + function LocationEntity() { + } + return LocationEntity; + }()); + exports_1("LocationEntity", LocationEntity); + LocationParentEntity = (function () { + function LocationParentEntity() { + } + return LocationParentEntity; + }()); + exports_1("LocationParentEntity", LocationParentEntity); } } }); -//# sourceMappingURL=document.entity.js.map \ No newline at end of file +//# sourceMappingURL=document-library.model.js.map \ No newline at end of file diff --git a/ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.js.map b/ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.js.map new file mode 100644 index 0000000000..a74e4d94be --- /dev/null +++ b/ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.js.map @@ -0,0 +1 @@ +{"version":3,"file":"document-library.model.js","sourceRoot":"","sources":["document-library.model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;YAEH,yDAAyD;YAEzD;gBAAA;gBAEA,CAAC;gBAAD,mBAAC;YAAD,CAAC,AAFD,IAEC;YAFD,uCAEC,CAAA;YAED;gBAAA;gBA6BA,CAAC;gBAAD,qBAAC;YAAD,CAAC,AA7BD,IA6BC;YA7BD,2CA6BC,CAAA;YAED;gBAAA;gBAQA,CAAC;gBAAD,qBAAC;YAAD,CAAC,AARD,IAQC;YARD,2CAQC,CAAA;YAED;gBAAA;gBAEA,CAAC;gBAAD,2BAAC;YAAD,CAAC,AAFD,IAEC;YAFD,uDAEC,CAAA"} \ No newline at end of file diff --git a/ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.ts b/ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.ts similarity index 77% rename from ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.ts rename to ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.ts index 2616bab6a4..32b8e340a1 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/core/entities/document.entity.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/models/document-library.model.ts @@ -15,8 +15,11 @@ * limitations under the License. */ -// contains only limited subset of available fields -import {LocationEntity} from './location.entity'; +// Note: contains only limited subset of available fields + +export class FolderEntity { + items: DocumentEntity[]; +} export class DocumentEntity { nodeRef: string; @@ -48,3 +51,17 @@ export class DocumentEntity { activeWorkflows: string; location: LocationEntity; } + +export class LocationEntity { + repositoryId: string; + site: string; + siteTitle: string; + container: string; + path: string; + file: string; + parent: LocationParentEntity; +} + +export class LocationParentEntity { + nodeRef: string; +} diff --git a/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.d.ts b/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.d.ts index af3e322518..63b2ed160b 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.d.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.d.ts @@ -1,7 +1,6 @@ import { Http } from 'angular2/http'; import { Observable } from 'rxjs/Observable'; -import { FolderEntity } from './../core/entities/folder.entity'; -import { DocumentEntity } from './../core/entities/document.entity'; +import { FolderEntity, DocumentEntity } from './../models/document-library.model'; import { AlfrescoSettingsService } from '../../../ng2-alfresco-core/services'; export declare class AlfrescoService { private http; diff --git a/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.js.map b/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.js.map index 63e89ed9b4..c4e36e3ccd 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.js.map +++ b/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.js.map @@ -1 +1 @@ -{"version":3,"file":"alfresco.service.js","sourceRoot":"","sources":["alfresco.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAUH;gBACI,yBACY,IAAU,EACV,QAAiC;oBADjC,SAAI,GAAJ,IAAI,CAAM;oBACV,aAAQ,GAAR,QAAQ,CAAyB;oBAKrC,UAAK,GAAW,uBAAuB,CAAC;oBACx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AC,aAAa,CAAC;qBAClD,CAAC,CAAC;oBACH,IAAI,OAAO,GAAG,IAAI,qBAAc,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;oBACvD,MAAM,CAAC,IAAI,CAAC,IAAI;yBACX,GAAG,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,MAAM,EAAE,OAAO,CAAC;yBACxC,GAAG,CAAC,UAAA,GAAG,IAAI,OAAe,GAAG,CAAC,IAAI,EAAE,EAAzB,CAAyB,CAAC;yBACrC,EAAE,CAAC,UAAA,IAAI,IAAI,OAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAjB,CAAiB,CAAC,CAAC,iCAAiC;yBAC/D,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;gBACjC,CAAC;gBAED,iDAAuB,GAAvB,UAAwB,QAAwB;oBAC5C,MAAM,CAAC,IAAI,CAAC,KAAK;wBACb,6BAA6B;wBAC7B,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,mEAAmE,CAAC;gBACnH,CAAC;gBAED,uCAAa,GAAb,UAAc,QAAwB;oBAClC,MAAM,CAAC,IAAI,CAAC,KAAK,GAAG,oBAAoB,GAAG,QAAQ,CAAC,UAAU,CAAC;gBACnE,CAAC;gBAEO,qCAAW,GAAnB,UAAqB,KAAe;oBAChC,mFAAmF;oBACnF,4CAA4C;oBAC5C,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;oBACrB,MAAM,CAAC,uBAAU,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,cAAc,CAAC,CAAC;gBAClE,CAAC;gBApDL;oBAAC,iBAAU,EAAE;;mCAAA;gBAqDb,sBAAC;YAAD,CAAC,AApDD,IAoDC;YApDD,6CAoDC,CAAA"} \ No newline at end of file diff --git a/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.ts b/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.ts index 8ccce249db..6f24e40318 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/services/alfresco.service.ts @@ -18,8 +18,7 @@ import {Injectable} from 'angular2/core'; import {Http, Response, RequestOptions, Headers} from 'angular2/http'; import {Observable} from 'rxjs/Observable'; -import {FolderEntity} from './../core/entities/folder.entity'; -import {DocumentEntity} from './../core/entities/document.entity'; +import {FolderEntity, DocumentEntity} from './../models/document-library.model'; import {AlfrescoSettingsService} from '../../../ng2-alfresco-core/services'; @Injectable()