28 lines
546 B
JavaScript
28 lines
546 B
JavaScript
import ngModule from '../module';
|
|
import SearchPanel from 'core/components/searchbar/search-panel';
|
|
|
|
class Controller extends SearchPanel {
|
|
get from() {
|
|
return this._from;
|
|
}
|
|
|
|
set from(value) {
|
|
this._from = value;
|
|
this.filter.scopeDays = null;
|
|
}
|
|
|
|
get to() {
|
|
return this._to;
|
|
}
|
|
|
|
set to(value) {
|
|
this._to = value;
|
|
this.filter.scopeDays = null;
|
|
}
|
|
}
|
|
|
|
ngModule.vnComponent('vnAgencyTermSearchPanel', {
|
|
template: require('./index.html'),
|
|
controller: Controller
|
|
});
|