From 01d448ecde9dffba833d89bb4c50f59593c8027b Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+nikonratm@users.noreply.github.com> Date: Fri, 18 Dec 2020 21:19:49 -0800 Subject: [PATCH] Bulk editor component skeleton --- .../filterable-dropdown.component.ts | 4 + .../bulk-editor/bulk-editor.component.html | 95 ++++--------------- .../bulk-editor/bulk-editor.component.scss | 10 -- .../bulk-editor/bulk-editor.component.ts | 75 ++++++++++++++- .../document-list.component.html | 22 ++--- 5 files changed, 107 insertions(+), 99 deletions(-) diff --git a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts index 0f7f937aa..cecbdf9fa 100644 --- a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts +++ b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts @@ -27,6 +27,9 @@ export class FilterableDropdownComponent { @Output() toggle = new EventEmitter() + @Output() + close = new EventEmitter() + @ViewChild('listFilterTextInput') listFilterTextInput: ElementRef @ViewChild('dropdown') dropdown: NgbDropdown @@ -47,6 +50,7 @@ export class FilterableDropdownComponent { }, 0); } else { this.filterText = '' + this.close.emit(this.itemsSelected) } } diff --git a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html index d330ba228..bf8f7b732 100644 --- a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html +++ b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html @@ -1,89 +1,34 @@ -