|
2 | 2 | <ul class="ait-dropdown" |
3 | 3 | ng-if="$ctrl.maxLength > $ctrl.tags.length" |
4 | 4 | ng-show="$ctrl.autocompleteVisible"> |
5 | | - <li class="ait-dropdown--title" |
| 5 | + <li class="ait-dropdown-title" |
6 | 6 | ng-if="$ctrl.path.length > 0" |
7 | | - ng-click="$ctrl.previous()" |
8 | | - ng-bind="$ctrl.currentItem[$ctrl.displayProperty] + '< '"> |
| 7 | + ng-click="$ctrl.previous()"> |
| 8 | + <span class="ait-dropdown-titleBack"><</span> |
| 9 | + <span class="ait-dropdown-titleContent" |
| 10 | + ng-bind="$ctrl.currentItem[$ctrl.displayProperty]"></span> |
9 | 11 | </li> |
10 | | - <li class="ait-dropdown--title" |
11 | | - ng-if="$ctrl.path.length === 0" |
12 | | - ng-bind="$ctrl.currentItem[$ctrl.displayProperty]"> |
13 | | - </li> |
14 | | - <li class="ait-dropdown--item" |
| 12 | + <li class="ait-dropdown-item" |
15 | 13 | ng-repeat="item in $ctrl.currentItem.data track by item.code" |
16 | | - ng-click="item.data && item.data.length > 0 ? $ctrl.next(item) : $ctrl.addTag(item)" |
17 | | - ng-bind="item[$ctrl.displayProperty] + (item.data && item.data.length > 0 && ' >')"> |
| 14 | + ng-click="item.data && item.data.length > 0 ? $ctrl.next(item) : $ctrl.addTag(item)"> |
| 15 | + <span class="ait-dropdown-itemNext" |
| 16 | + ng-bind="item[$ctrl.displayProperty]"></span> |
| 17 | + <span class="ait-dropdown-itemContent" |
| 18 | + ng-if="item.data && item.data.length > 0"></span> |
18 | 19 | </li> |
19 | 20 | </ul> |
20 | 21 |
|
21 | 22 | <div class="ait-tag" |
22 | 23 | ng-repeat="tag in $ctrl.tags track by $ctrl.track(tag)"> |
23 | | - <span class="ait-tag--text" |
| 24 | + <span class="ait-tag-text" |
24 | 25 | ng-bind="::$ctrl.getTagText(tag)"></span> |
25 | | - <span class="ait-tag--close" |
| 26 | + <span class="ait-tag-close" |
26 | 27 | style="cursor: pointer" |
27 | 28 | ng-click="$ctrl.removeTag(tag)"> |
28 | 29 | </span> |
|
0 commit comments