(js/css) Update generated files
parent
7e06894700
commit
82f0471fb1
|
@ -2,7 +2,7 @@
|
|||
* Angular Material Design
|
||||
* https://github.com/angular/material
|
||||
* @license MIT
|
||||
* v1.0.4-master-9179c61
|
||||
* v1.0.4-master-df90238
|
||||
*/
|
||||
(function( window, angular, undefined ){
|
||||
"use strict";
|
||||
|
@ -19321,7 +19321,12 @@ function MdAutocompleteCtrl ($scope, $element, $mdUtil, $mdConstant, $mdTheming,
|
|||
matches = ctrl.matches,
|
||||
item = matches[ 0 ];
|
||||
if (matches.length === 1) getDisplayValue(item).then(function (displayValue) {
|
||||
if (searchText == displayValue) select(0);
|
||||
var isMatching = searchText == displayValue;
|
||||
if ($scope.matchInsensitive && !isMatching) {
|
||||
isMatching = searchText.toLowerCase() == displayValue.toLowerCase();
|
||||
}
|
||||
|
||||
if (isMatching) select(0);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -19395,6 +19400,8 @@ angular
|
|||
* @param {number=} md-input-maxlength The maximum length for the input's value for validation
|
||||
* @param {boolean=} md-select-on-match When set, autocomplete will automatically select exact
|
||||
* the item if the search text is an exact match
|
||||
* @param {boolean=} md-match-case-insensitive When set and using `md-select-on-match`, autocomplete
|
||||
* will select on case-insensitive match
|
||||
*
|
||||
* @usage
|
||||
* ### Basic Example
|
||||
|
@ -19457,25 +19464,26 @@ function MdAutocomplete () {
|
|||
controller: 'MdAutocompleteCtrl',
|
||||
controllerAs: '$mdAutocompleteCtrl',
|
||||
scope: {
|
||||
inputName: '@mdInputName',
|
||||
inputMinlength: '@mdInputMinlength',
|
||||
inputMaxlength: '@mdInputMaxlength',
|
||||
searchText: '=?mdSearchText',
|
||||
selectedItem: '=?mdSelectedItem',
|
||||
itemsExpr: '@mdItems',
|
||||
itemText: '&mdItemText',
|
||||
placeholder: '@placeholder',
|
||||
noCache: '=?mdNoCache',
|
||||
selectOnMatch: '=?mdSelectOnMatch',
|
||||
itemChange: '&?mdSelectedItemChange',
|
||||
textChange: '&?mdSearchTextChange',
|
||||
minLength: '=?mdMinLength',
|
||||
delay: '=?mdDelay',
|
||||
autofocus: '=?mdAutofocus',
|
||||
floatingLabel: '@?mdFloatingLabel',
|
||||
autoselect: '=?mdAutoselect',
|
||||
menuClass: '@?mdMenuClass',
|
||||
inputId: '@?mdInputId'
|
||||
inputName: '@mdInputName',
|
||||
inputMinlength: '@mdInputMinlength',
|
||||
inputMaxlength: '@mdInputMaxlength',
|
||||
searchText: '=?mdSearchText',
|
||||
selectedItem: '=?mdSelectedItem',
|
||||
itemsExpr: '@mdItems',
|
||||
itemText: '&mdItemText',
|
||||
placeholder: '@placeholder',
|
||||
noCache: '=?mdNoCache',
|
||||
selectOnMatch: '=?mdSelectOnMatch',
|
||||
matchInsensitive: '=?mdMatchCaseInsensitive',
|
||||
itemChange: '&?mdSelectedItemChange',
|
||||
textChange: '&?mdSearchTextChange',
|
||||
minLength: '=?mdMinLength',
|
||||
delay: '=?mdDelay',
|
||||
autofocus: '=?mdAutofocus',
|
||||
floatingLabel: '@?mdFloatingLabel',
|
||||
autoselect: '=?mdAutoselect',
|
||||
menuClass: '@?mdMenuClass',
|
||||
inputId: '@?mdInputId'
|
||||
},
|
||||
link: function(scope, element, attrs, controller) {
|
||||
controller.hasNotFound = element.hasNotFoundTemplate;
|
||||
|
@ -24578,4 +24586,4 @@ angular.module("material.core").constant("$MD_THEME_CSS", "md-autocomplete.md-TH
|
|||
})();
|
||||
|
||||
|
||||
})(window, window.angular);;window.ngMaterial={version:{full: "1.0.4-master-9179c61"}};
|
||||
})(window, window.angular);;window.ngMaterial={version:{full: "1.0.4-master-df90238"}};
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue