Built motion from commit f861bcb808219e66da88ba48b61bddb35224a65e. Version 3.0.0...
[motion-next.git] / public / app / core / directives / ms-phonebar / ms-phonebar-input.html
1 <div
2   class="angucomplete-holder"
3   ng-class="{'angucomplete-dropdown-visible': showDropdown}"
4 >
5   <input
6     id="ms-target"
7     ng-model="searchStr"
8     ng-disabled="disableInput"
9     type="text"
10     placeholder="{{placeholder}}"
11     ng-focus="onFocusHandler()"
12     class="{{inputClass}}"
13     ng-focus="resetHideResults()"
14     ng-blur="hideResults($event)"
15     autocapitalize="off"
16     autocorrect="off"
17     autocomplete="off"
18     ng-change="inputChangeHandler(searchStr)"
19   />
20   <div
21     class="angucomplete-dropdown"
22     ng-show="showDropdown && !(!searching && (!results || results.length == 0))"
23   >
24     <div
25       class="angucomplete-row"
26       ng-repeat="result in results"
27       ng-click="selectResult(result)"
28       ng-mouseenter="hoverRow($index)"
29       ng-class="{'angucomplete-selected-row': $index == currentIndex}"
30     >
31       <div layout="row" layout-align="start center">
32         <md-icon
33           md-font-icon="{{result.originalObject.inbound ? 'icon-arrow-bottom-left' : 'icon-arrow-top-right'}}"
34           class="icon no-margin s22"
35         ></md-icon>
36         <span style="margin-left: 8px"
37           >({{result.originalObject.time}}) -
38           <span
39             class="angucomplete-title"
40             ng-if="matchClass"
41             ng-bind-html="result.title"
42             privacy
43             ng-cloak
44           ></span
45         ></span>
46       </div>
47     </div>
48   </div>
49 </div>