Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
angular-ui-select
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angularjs
angular-ui-select
Commits
96abbc86
Commit
96abbc86
authored
Nov 21, 2018
by
bingchuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev]version 0.19.9_fix 修复样式丢失问题
parent
408d8f94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
select.js
dist/select.js
+1
-1
No files found.
dist/select.js
View file @
96abbc86
...
...
@@ -2352,7 +2352,7 @@
}());
angular
.
module
(
"ui.select"
).
run
([
"$templateCache"
,
function
(
$templateCache
)
{
$templateCache
.
put
(
"bootstrap/choices.tpl.html"
,
"<ul class=
\"
ui-select-choices ui-select-choices-content ui-select-dropdown dropdown-menu
\"
role=
\"
listbox
\"
ng-show=
\"
$select.open && $select.items.length > 0
\"
><li class=
\"
ui-select-choices-group
\"
id=
\"
ui-select-choices-{{ $select.generatedId }}
\"
><div class=
\"
divider
\"
ng-show=
\"
$select.isGrouped && $index > 0
\"
></div><div ng-show=
\"
$select.isGrouped
\"
class=
\"
ui-select-choices-group-label dropdown-header
\"
ng-bind=
\"
$group.name
\"
></div><div ng-attr-id=
\"
ui-select-choices-row-{{ $select.generatedId }}-{{$index}}
\"
class=
\"
ui-select-choices-row
\"
ng-class=
\"
{active: $select.isActive(this), disabled: $select.isDisabled(this)}
\"
role=
\"
option
\"
><span class=
\"
ui-select-choices-row-inner
\"
></span></div></li></ul>"
);
$templateCache
.
put
(
"bootstrap/match-multiple.tpl.html"
,
"<span class=
\"
ui-select-match
\"
><span ng-repeat=
\"
$item in $select.selected track by $index
\"
><span class=
\"
ui-select-match-item btn btn-primary btn-xs
\"
tabindex=
\"
-1
\"
type=
\"
button
\"
ng-disabled=
\"
$select.disabled
\"
ng-click=
\"
$selectMultiple.activeMatchIndex = $index;
\"
ng-class=
\"
{
\
'btn-
primary
\
':$selectMultiple.activeMatchIndex === $index,
\
'select-locked
\
':$select.isLocked(this, $index)}
\"
ui-select-sort=
\"
$select.selected
\"
><span class=
\"
close ui-select-match-close
\"
ng-hide=
\"
$select.disabled|| $select.nullValueField&&($item[$select.nullValueField]=='')
\"
ng-click=
\"
$selectMultiple.removeChoice($index)
\"
> ×</span> <span uis-transclude-append=
\"\"
></span></span></span></span>"
);
$templateCache
.
put
(
"bootstrap/match-multiple.tpl.html"
,
"<span class=
\"
ui-select-match
\"
><span ng-repeat=
\"
$item in $select.selected track by $index
\"
><span class=
\"
ui-select-match-item btn btn-primary btn-xs
\"
tabindex=
\"
-1
\"
type=
\"
button
\"
ng-disabled=
\"
$select.disabled
\"
ng-click=
\"
$selectMultiple.activeMatchIndex = $index;
\"
ng-class=
\"
{
\
'btn-
default
\
':$selectMultiple.activeMatchIndex === $index,
\
'select-locked
\
':$select.isLocked(this, $index)}
\"
ui-select-sort=
\"
$select.selected
\"
><span class=
\"
close ui-select-match-close
\"
ng-hide=
\"
$select.disabled|| $select.nullValueField&&($item[$select.nullValueField]=='')
\"
ng-click=
\"
$selectMultiple.removeChoice($index)
\"
> ×</span> <span uis-transclude-append=
\"\"
></span></span></span></span>"
);
$templateCache
.
put
(
"bootstrap/match.tpl.html"
,
"<div class=
\"
ui-select-match
\"
ng-hide=
\"
$select.open && $select.searchEnabled
\"
ng-disabled=
\"
$select.disabled
\"
ng-class=
\"
{
\
'btn-primary-focus
\
':$select.focus}
\"
><span tabindex=
\"
-1
\"
class=
\"
btn btn-primary form-control ui-select-toggle
\"
aria-label=
\"
{{ $select.baseTitle }} activate
\"
ng-disabled=
\"
$select.disabled
\"
ng-click=
\"
$select.activate()
\"
style=
\"
outline: 0;
\"
><span ng-show=
\"
$select.isEmpty()
\"
class=
\"
ui-select-placeholder text-muted
\"
>{{$select.placeholder}}</span> <span ng-hide=
\"
$select.isEmpty()
\"
class=
\"
ui-select-match-text pull-left
\"
ng-class=
\"
{
\
'ui-select-allow-clear
\
': $select.allowClear && !$select.isEmpty()}
\"
ng-transclude=
\"\"
></span> <i class=
\"
caret pull-right
\"
ng-click=
\"
$select.toggle($event)
\"
></i> <a ng-show=
\"
$select.allowClear && !$select.isEmpty() && ($select.disabled !== true)
\"
aria-label=
\"
{{ $select.baseTitle }} clear
\"
style=
\"
margin-right: 10px
\"
ng-click=
\"
$select.clear($event)
\"
class=
\"
btn btn-xs btn-link pull-right
\"
><i class=
\"
glyphicon glyphicon-remove
\"
aria-hidden=
\"
true
\"
></i></a></span></div>"
);
$templateCache
.
put
(
"bootstrap/no-choice.tpl.html"
,
"<ul class=
\"
ui-select-no-choice dropdown-menu
\"
ng-show=
\"
$select.items.length == 0
\"
><li ng-transclude=
\"\"
></li></ul>"
);
$templateCache
.
put
(
"bootstrap/select-multiple.tpl.html"
,
"<div class=
\"
ui-select-container ui-select-multiple ui-select-bootstrap dropdown form-control
\"
ng-class=
\"
{open: $select.open}
\"
><div ng-click='$select.openWin($event)'><div class=
\"
ui-select-match
\"
></div><input type=
\"
search
\"
autocomplete=
\"
off
\"
autocorrect=
\"
off
\"
autocapitalize=
\"
off
\"
spellcheck=
\"
false
\"
class=
\"
ui-select-search input-xs
\"
placeholder=
\"
{{$selectMultiple.getPlaceholder()}}
\"
ng-disabled=
\"
$select.disabled
\"
ng-click=
\"
$select.activate()
\"
ng-model=
\"
$select.search
\"
role=
\"
combobox
\"
aria-label=
\"
{{ $select.baseTitle }}
\"
ondrop=
\"
return false;
\"
></div><div class=
\"
ui-select-choices
\"
></div><div class=
\"
ui-select-no-choice
\"
></div></div>"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment