From 51846c9917bf06ea4ce87cefcb0418b1f6654b9d Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Mon, 14 Nov 2016 12:57:42 +0000 Subject: [PATCH] Create autocomplete for entites, create a service, use it for projects in claim projects module git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@44475 d315682c-612b-4755-9ff5-7f18f6832af3 --- .../claim-utils/claimDataset.component.ts | 5 - .../claim-utils/claimProject.component.ts | 78 ++---- .../src/app/services/entitySearch.service.ts | 100 ++++++++ .../app/services/searchProjects.service.ts | 22 ++ portal-2/src/app/services/services.module.ts | 4 +- .../utils/entitiesAutoComplete.component.ts | 225 ++++++++++++++++++ portal-2/src/app/utils/utils.module.ts | 3 + 7 files changed, 376 insertions(+), 61 deletions(-) create mode 100644 portal-2/src/app/services/entitySearch.service.ts create mode 100644 portal-2/src/app/utils/entitiesAutoComplete.component.ts diff --git a/portal-2/src/app/claimPages/claim-utils/claimDataset.component.ts b/portal-2/src/app/claimPages/claim-utils/claimDataset.component.ts index e0acad3d..2462ed85 100644 --- a/portal-2/src/app/claimPages/claim-utils/claimDataset.component.ts +++ b/portal-2/src/app/claimPages/claim-utils/claimDataset.component.ts @@ -29,11 +29,6 @@ import { ErrorCodes} from '../../utils/properties/openaireProperties';
-