Implement library update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {Component, EventEmitter, Output} from '@angular/core';
|
||||
import {Component, EventEmitter, Input, Output} from '@angular/core';
|
||||
import {DialogModule} from 'primeng/dialog';
|
||||
import {NgForOf} from '@angular/common';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
@@ -14,9 +14,6 @@ import {FormsModule} from '@angular/forms';
|
||||
],
|
||||
})
|
||||
export class IconPickerComponent {
|
||||
iconDialogVisible: boolean = false;
|
||||
selectedIcon: string | null = null;
|
||||
searchText: string = '';
|
||||
iconCategories: string[] = [
|
||||
"address-book", "align-center", "align-justify", "align-left", "align-right", "android",
|
||||
"angle-double-down", "angle-double-left", "angle-double-right", "angle-double-up", "angle-down", "angle-left",
|
||||
@@ -51,7 +48,10 @@ export class IconPickerComponent {
|
||||
];
|
||||
|
||||
icons: string[] = this.createIconList(this.iconCategories);
|
||||
iconDialogVisible: boolean = false;
|
||||
searchText: string = '';
|
||||
|
||||
selectedIcon: string | null = null;
|
||||
@Output() iconSelected = new EventEmitter<string>();
|
||||
|
||||
createIconList(categories: string[]): string[] {
|
||||
|
||||
Reference in New Issue
Block a user