From e127149a2e7b8e2f5a97881bab364a4dce2740a1 Mon Sep 17 00:00:00 2001 From: Vito Date: Mon, 26 Feb 2018 14:56:46 +0000 Subject: [PATCH] [ADF-2346] fixed the people list task style (#3001) --- .../components/people-list/people-list.component.html | 4 +++- .../components/people-list/people-list.component.scss | 9 +++++++++ .../people-search-field/people-search-field.component.ts | 5 +++-- lib/process-services/people/people.module.scss | 2 ++ 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/lib/process-services/people/components/people-list/people-list.component.html b/lib/process-services/people/components/people-list/people-list.component.html index 7881fc124d..dd6548199b 100644 --- a/lib/process-services/people/components/people-list/people-list.component.html +++ b/lib/process-services/people/components/people-list/people-list.component.html @@ -1,8 +1,10 @@ - \ No newline at end of file + diff --git a/lib/process-services/people/components/people-list/people-list.component.scss b/lib/process-services/people/components/people-list/people-list.component.scss index e69de29bb2..94220da499 100644 --- a/lib/process-services/people/components/people-list/people-list.component.scss +++ b/lib/process-services/people/components/people-list/people-list.component.scss @@ -0,0 +1,9 @@ +@mixin adf-task-people-list-theme($theme) { + + .adf-task-people-list { + .adf-data-table { + width: 0; + } + } + +} diff --git a/lib/process-services/people/components/people-search-field/people-search-field.component.ts b/lib/process-services/people/components/people-search-field/people-search-field.component.ts index 5aca22326e..378435568d 100644 --- a/lib/process-services/people/components/people-search-field/people-search-field.component.ts +++ b/lib/process-services/people/components/people-search-field/people-search-field.component.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { UserProcessModel, TranslationService } from '@alfresco/adf-core'; +import { UserProcessModel, TranslationService, PeopleProcessService } from '@alfresco/adf-core'; import { Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core'; import { FormControl } from '@angular/forms'; import { debounceTime } from 'rxjs/operators'; @@ -47,7 +47,8 @@ export class PeopleSearchFieldComponent { defaultPlaceholder = 'ADF_TASK_LIST.PEOPLE.SEARCH_USER'; - constructor(private translationService: TranslationService) { + constructor(public peopleProcessService: PeopleProcessService, + private translationService: TranslationService) { this.users$ = this.searchUser.valueChanges .pipe(debounceTime(200)) .switchMap((searchWord: string) => { diff --git a/lib/process-services/people/people.module.scss b/lib/process-services/people/people.module.scss index 46ca3a02bb..31dffc3990 100644 --- a/lib/process-services/people/people.module.scss +++ b/lib/process-services/people/people.module.scss @@ -2,10 +2,12 @@ @import './components/people-search-field/people-search-field.component'; @import './components/people/people.component'; @import './components/people-selector/people-selector.component'; +@import './components/people-list/people-list.component'; @mixin adf-people-module-theme($theme) { @include adf-task-list-people-selector-theme($theme); @include adf-task-list-people-search-theme($theme); @include adf-task-list-people-search-field-theme($theme); @include adf-task-list-people-theme($theme); + @include adf-task-people-list-theme($theme); }