[Library | Trunk]: Move Option to input component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57941 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
eee4f0807e
commit
cd11ead730
|
@ -1,8 +1,15 @@
|
||||||
import {Component, Input, OnDestroy, OnInit} from "@angular/core";
|
import {Component, Input, OnDestroy, OnInit} from "@angular/core";
|
||||||
import {Option} from "../../../../utils/indicator-utils";
|
|
||||||
import {AbstractControl} from "@angular/forms";
|
import {AbstractControl} from "@angular/forms";
|
||||||
import {HelperFunctions} from "../../../utils/HelperFunctions.class";
|
import {HelperFunctions} from "../../../utils/HelperFunctions.class";
|
||||||
|
|
||||||
|
|
||||||
|
export interface Option {
|
||||||
|
icon?: string,
|
||||||
|
iconClass?: string,
|
||||||
|
value: any,
|
||||||
|
label: string
|
||||||
|
}
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: '[dashboard-input]',
|
selector: '[dashboard-input]',
|
||||||
template: `
|
template: `
|
||||||
|
|
Loading…
Reference in New Issue