2017-02-21 10:36:43 +00:00
|
|
|
<form ng-submit="$ctrl.onSubmit()">
|
2019-10-09 22:47:29 +00:00
|
|
|
<vn-textfield
|
2019-11-10 10:08:44 +00:00
|
|
|
class="dense standout"
|
2019-10-09 22:47:29 +00:00
|
|
|
placeholder="{{::'Search' | translate}}"
|
|
|
|
ng-model="$ctrl.searchString">
|
|
|
|
<prepend>
|
|
|
|
<vn-icon
|
|
|
|
icon="search"
|
2019-11-10 10:08:44 +00:00
|
|
|
ng-click="$ctrl.onSubmit()"
|
2019-10-09 22:47:29 +00:00
|
|
|
pointer>
|
|
|
|
</vn-icon>
|
2019-11-10 10:08:44 +00:00
|
|
|
<div class="search-params">
|
|
|
|
<span
|
|
|
|
ng-repeat="param in $ctrl.params"
|
|
|
|
class="search-param"
|
|
|
|
title="{{param.chip}}">
|
|
|
|
<vn-icon
|
|
|
|
icon="close"
|
|
|
|
ng-click="$ctrl.removeParam($index)">
|
|
|
|
</vn-icon>
|
|
|
|
{{param.chip}}
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-10-09 22:47:29 +00:00
|
|
|
</prepend>
|
|
|
|
<append>
|
|
|
|
<vn-icon
|
2019-04-12 12:33:08 +00:00
|
|
|
ng-if="$ctrl.info"
|
|
|
|
icon="info_outline"
|
2019-10-09 22:47:29 +00:00
|
|
|
vn-tooltip="{{$ctrl.info}}"
|
|
|
|
pointer>
|
|
|
|
</vn-icon>
|
|
|
|
<vn-icon
|
|
|
|
ng-if="$ctrl.panel"
|
|
|
|
ng-click="$ctrl.openPanel($event)"
|
|
|
|
icon="arrow_drop_down"
|
2019-04-12 12:33:08 +00:00
|
|
|
pointer>
|
2019-10-09 22:47:29 +00:00
|
|
|
</vn-icon>
|
|
|
|
</append>
|
|
|
|
</vn-textfield>
|
2018-03-17 19:59:02 +00:00
|
|
|
</form>
|
|
|
|
<vn-popover
|
|
|
|
vn-id="popover"
|
|
|
|
on-close="$ctrl.onPopoverClose()">
|
2018-04-19 12:58:43 +00:00
|
|
|
</vn-popover>
|