(js/css) Update generated files
This commit is contained in:
parent
7e06894700
commit
82f0471fb1
|
@ -2,7 +2,7 @@
|
||||||
* Angular Material Design
|
* Angular Material Design
|
||||||
* https://github.com/angular/material
|
* https://github.com/angular/material
|
||||||
* @license MIT
|
* @license MIT
|
||||||
* v1.0.4-master-9179c61
|
* v1.0.4-master-df90238
|
||||||
*/
|
*/
|
||||||
(function( window, angular, undefined ){
|
(function( window, angular, undefined ){
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -19321,7 +19321,12 @@ function MdAutocompleteCtrl ($scope, $element, $mdUtil, $mdConstant, $mdTheming,
|
||||||
matches = ctrl.matches,
|
matches = ctrl.matches,
|
||||||
item = matches[ 0 ];
|
item = matches[ 0 ];
|
||||||
if (matches.length === 1) getDisplayValue(item).then(function (displayValue) {
|
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 {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
|
* @param {boolean=} md-select-on-match When set, autocomplete will automatically select exact
|
||||||
* the item if the search text is an exact match
|
* 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
|
* @usage
|
||||||
* ### Basic Example
|
* ### Basic Example
|
||||||
|
@ -19457,25 +19464,26 @@ function MdAutocomplete () {
|
||||||
controller: 'MdAutocompleteCtrl',
|
controller: 'MdAutocompleteCtrl',
|
||||||
controllerAs: '$mdAutocompleteCtrl',
|
controllerAs: '$mdAutocompleteCtrl',
|
||||||
scope: {
|
scope: {
|
||||||
inputName: '@mdInputName',
|
inputName: '@mdInputName',
|
||||||
inputMinlength: '@mdInputMinlength',
|
inputMinlength: '@mdInputMinlength',
|
||||||
inputMaxlength: '@mdInputMaxlength',
|
inputMaxlength: '@mdInputMaxlength',
|
||||||
searchText: '=?mdSearchText',
|
searchText: '=?mdSearchText',
|
||||||
selectedItem: '=?mdSelectedItem',
|
selectedItem: '=?mdSelectedItem',
|
||||||
itemsExpr: '@mdItems',
|
itemsExpr: '@mdItems',
|
||||||
itemText: '&mdItemText',
|
itemText: '&mdItemText',
|
||||||
placeholder: '@placeholder',
|
placeholder: '@placeholder',
|
||||||
noCache: '=?mdNoCache',
|
noCache: '=?mdNoCache',
|
||||||
selectOnMatch: '=?mdSelectOnMatch',
|
selectOnMatch: '=?mdSelectOnMatch',
|
||||||
itemChange: '&?mdSelectedItemChange',
|
matchInsensitive: '=?mdMatchCaseInsensitive',
|
||||||
textChange: '&?mdSearchTextChange',
|
itemChange: '&?mdSelectedItemChange',
|
||||||
minLength: '=?mdMinLength',
|
textChange: '&?mdSearchTextChange',
|
||||||
delay: '=?mdDelay',
|
minLength: '=?mdMinLength',
|
||||||
autofocus: '=?mdAutofocus',
|
delay: '=?mdDelay',
|
||||||
floatingLabel: '@?mdFloatingLabel',
|
autofocus: '=?mdAutofocus',
|
||||||
autoselect: '=?mdAutoselect',
|
floatingLabel: '@?mdFloatingLabel',
|
||||||
menuClass: '@?mdMenuClass',
|
autoselect: '=?mdAutoselect',
|
||||||
inputId: '@?mdInputId'
|
menuClass: '@?mdMenuClass',
|
||||||
|
inputId: '@?mdInputId'
|
||||||
},
|
},
|
||||||
link: function(scope, element, attrs, controller) {
|
link: function(scope, element, attrs, controller) {
|
||||||
controller.hasNotFound = element.hasNotFoundTemplate;
|
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 a new issue