Add @Directive attributes
This commit is contained in:
parent
a5a7e1ece1
commit
511f1f4731
@ -1,4 +1,4 @@
|
||||
import { Component, Input, Injectable} from '@angular/core';
|
||||
import { Component, Input, Injectable,Directive} from '@angular/core';
|
||||
import { Feature } from 'ol';
|
||||
import { Store } from '@ngrx/store';
|
||||
import * as mapReducers from '../../reducers/map.reducer';
|
||||
@ -7,6 +7,7 @@ import { commonReducers,ItemTypeService,AppConfig } from '@farmmaps/common';
|
||||
|
||||
|
||||
@Injectable()
|
||||
@Directive()
|
||||
export abstract class AbstractFeatureListFeatureComponent {
|
||||
@Input() feature: Feature
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Component, Input, Injectable } from '@angular/core';
|
||||
import { Component, Input, Injectable,Directive } from '@angular/core';
|
||||
import { Location } from '@angular/common';
|
||||
import { Feature } from 'ol';
|
||||
import { Store } from '@ngrx/store';
|
||||
@ -12,6 +12,7 @@ import { IQueryState } from '@farmmaps/common';
|
||||
|
||||
|
||||
@Injectable()
|
||||
@Directive()
|
||||
export abstract class AbstractFeatureListComponent {
|
||||
@Input() features: Array<Feature>;
|
||||
@Input() queryState: IQueryState;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Component, Input, Injectable} from '@angular/core';
|
||||
import { Component, Input, Injectable,Directive} from '@angular/core';
|
||||
import { Store } from '@ngrx/store';
|
||||
import * as mapReducers from '../../reducers/map.reducer';
|
||||
import { commonReducers,ItemTypeService,IListItem } from '@farmmaps/common';
|
||||
@ -6,6 +6,7 @@ import { commonReducers,ItemTypeService,IListItem } from '@farmmaps/common';
|
||||
|
||||
|
||||
@Injectable()
|
||||
@Directive()
|
||||
export abstract class AbstractItemListItemComponent {
|
||||
@Input() item: IListItem
|
||||
|
||||
@ -14,6 +15,7 @@ export abstract class AbstractItemListItemComponent {
|
||||
}
|
||||
|
||||
@Injectable()
|
||||
@Directive()
|
||||
export abstract class AbstractItemWidgetComponent {
|
||||
@Input() item: IListItem
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Component, Input, Injectable } from '@angular/core';
|
||||
import { Component, Input, Injectable, Directive } from '@angular/core';
|
||||
import { Location } from '@angular/common';
|
||||
import { Store } from '@ngrx/store';
|
||||
import * as mapReducers from '../../reducers/map.reducer';
|
||||
@ -8,6 +8,7 @@ import { tassign } from 'tassign';
|
||||
|
||||
|
||||
@Injectable()
|
||||
@Directive()
|
||||
export abstract class AbstractItemListComponent {
|
||||
@Input() items: Array<IListItem>
|
||||
constructor(public store: Store<mapReducers.State | commonReducers.State>, public itemTypeService: ItemTypeService, private location: Location) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {Component, Injectable, Input} from '@angular/core';
|
||||
import {Component, Injectable, Input, Directive} from '@angular/core';
|
||||
import {Location} from '@angular/common';
|
||||
import {Store} from '@ngrx/store';
|
||||
import * as mapReducers from '../../reducers/map.reducer';
|
||||
@ -9,6 +9,7 @@ import { IItemLayer } from '../../models/item.layer';
|
||||
|
||||
|
||||
@Injectable()
|
||||
@Directive()
|
||||
export abstract class AbstractSelectedItemComponent {
|
||||
@Input() item: IItem
|
||||
@Input() itemLayer: IItemLayer;
|
||||
|
Loading…
Reference in New Issue
Block a user