mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-08 18:23:39 +00:00
(js/css) Update generated files
This commit is contained in:
1 parent
1825b167dc
commit
3cbeba32d9
4 files changed
+37
-45
No files matched your search
+26
-34
@@ -2,7 +2,7 @@
|
||||
* Angular Material Design
|
||||
* https://github.com/angular/material
|
||||
* @license MIT
|
||||
* v1.1.1-master-64b2621
|
||||
* v1.1.1-master-2c9a5cc
|
||||
*/
|
||||
(function( window, angular, undefined ){
|
||||
"use strict";
|
||||
@@ -1955,18 +1955,15 @@ angular
|
||||
*/
|
||||
function MdAriaProvider() {
|
||||
|
||||
var self = this;
|
||||
|
||||
/**
|
||||
* Whether we should show ARIA warnings in the console, if labels are missing on the element
|
||||
* By default the warnings are enabled
|
||||
*/
|
||||
self.showWarnings = true;
|
||||
var config = {
|
||||
/** Whether we should show ARIA warnings in the console if labels are missing on the element */
|
||||
showWarnings: true
|
||||
};
|
||||
|
||||
return {
|
||||
disableWarnings: disableWarnings,
|
||||
$get: ["$$rAF", "$log", "$window", "$interpolate", function($$rAF, $log, $window, $interpolate) {
|
||||
return MdAriaService.apply(self, arguments);
|
||||
return MdAriaService.apply(config, arguments);
|
||||
}]
|
||||
};
|
||||
|
||||
@@ -1976,7 +1973,7 @@ function MdAriaProvider() {
|
||||
* @description Disables all ARIA warnings generated by Angular Material.
|
||||
*/
|
||||
function disableWarnings() {
|
||||
self.showWarnings = false;
|
||||
config.showWarnings = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1993,7 +1990,8 @@ function MdAriaService($$rAF, $log, $window, $interpolate) {
|
||||
expect: expect,
|
||||
expectAsync: expectAsync,
|
||||
expectWithText: expectWithText,
|
||||
expectWithoutText: expectWithoutText
|
||||
expectWithoutText: expectWithoutText,
|
||||
getText: getText
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -2035,7 +2033,7 @@ function MdAriaService($$rAF, $log, $window, $interpolate) {
|
||||
var content = getText(element) || "";
|
||||
var hasBinding = content.indexOf($interpolate.startSymbol()) > -1;
|
||||
|
||||
if ( hasBinding ) {
|
||||
if (hasBinding) {
|
||||
expectAsync(element, attrName, function() {
|
||||
return getText(element);
|
||||
});
|
||||
@@ -13631,11 +13629,14 @@ function mdListItemDirective($mdAria, $mdConstant, $mdUtil, $timeout) {
|
||||
'<md-button class="md-no-style"></md-button>'
|
||||
);
|
||||
|
||||
// Expect the root element to have a label set. If not set, determine the label from the text content.
|
||||
$mdAria.expectWithText(tEl, 'aria-label');
|
||||
|
||||
copyAttributes(tEl[0], buttonWrap[0]);
|
||||
|
||||
// If there is no aria-label set on the button (previously copied over if present)
|
||||
// we determine the label from the content and copy it to the button.
|
||||
if (!buttonWrap.attr('aria-label')) {
|
||||
buttonWrap.attr('aria-label', $mdAria.getText(tEl));
|
||||
}
|
||||
|
||||
// We allow developers to specify the `md-no-focus` class, to disable the focus style
|
||||
// on the button executor. Once more classes should be forwarded, we should probably make the
|
||||
// class forward more generic.
|
||||
@@ -13924,7 +13925,7 @@ angular.module('material.components.menuBar', [
|
||||
|
||||
|
||||
MdNavBarController.$inject = ["$element", "$scope", "$timeout", "$mdConstant"];
|
||||
MdNavItem.$inject = ["$$rAF"];
|
||||
MdNavItem.$inject = ["$mdAria", "$$rAF"];
|
||||
MdNavItemController.$inject = ["$element"];
|
||||
MdNavBar.$inject = ["$mdAria", "$mdTheming"];
|
||||
angular.module('material.components.navBar', ['material.core'])
|
||||
@@ -14017,6 +14018,7 @@ angular.module('material.components.navBar', ['material.core'])
|
||||
* (https://ui-router.github.io/docs/latest/interfaces/transition.transitionoptions.html).
|
||||
* @param {string=} name The name of this link. Used by the nav bar to know
|
||||
* which link is currently selected.
|
||||
* @param {string=} aria-label Adds alternative text for accessibility
|
||||
*
|
||||
* @usage
|
||||
* See `<md-nav-bar>` for usage.
|
||||
@@ -14310,7 +14312,7 @@ MdNavBarController.prototype.onKeydown = function(e) {
|
||||
/**
|
||||
* @ngInject
|
||||
*/
|
||||
function MdNavItem($$rAF) {
|
||||
function MdNavItem($mdAria, $$rAF) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
require: ['mdNavItem', '^mdNavBar'],
|
||||
@@ -14390,6 +14392,8 @@ function MdNavItem($$rAF) {
|
||||
mdNavBar.mdSelectedNavItem = mdNavItem.name;
|
||||
scope.$apply();
|
||||
});
|
||||
|
||||
$mdAria.expectWithText(element, 'aria-label');
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -23168,7 +23172,7 @@ function MdTooltipDirective($timeout, $window, $$rAF, $document, $interpolate,
|
||||
if (override || !parent.attr('aria-label')) {
|
||||
// Only interpolate the text from the HTML element because otherwise the custom text
|
||||
// could be interpolated twice and cause XSS violations.
|
||||
var interpolatedText = override || $interpolate(element.text().trim())(parent.scope);
|
||||
var interpolatedText = override || $interpolate(element.text().trim())(scope.$parent);
|
||||
parent.attr('aria-label', interpolatedText);
|
||||
}
|
||||
}
|
||||
@@ -25096,7 +25100,8 @@ function MdAutocompleteCtrl ($scope, $element, $mdUtil, $mdConstant, $mdTheming,
|
||||
// Clear the searchText, when the selectedItem is set to null.
|
||||
// Do not clear the searchText, when the searchText isn't matching with the previous
|
||||
// selected item.
|
||||
if (displayValue.toString().toLowerCase() === $scope.searchText.toLowerCase()) {
|
||||
if (angular.isString($scope.searchText)
|
||||
&& displayValue.toString().toLowerCase() === $scope.searchText.toLowerCase()) {
|
||||
$scope.searchText = '';
|
||||
}
|
||||
});
|
||||
@@ -35129,23 +35134,10 @@ function MdTabsController ($scope, $element, $window, $mdConstant, $mdTabInkRipp
|
||||
* Updates whether or not pagination should be displayed.
|
||||
*/
|
||||
function updatePagination () {
|
||||
updatePagingWidth();
|
||||
ctrl.maxTabWidth = getMaxTabWidth();
|
||||
ctrl.shouldPaginate = shouldPaginate();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets or clears fixed width for md-pagination-wrapper depending on if tabs should stretch.
|
||||
*/
|
||||
function updatePagingWidth() {
|
||||
var elements = getElements();
|
||||
if (shouldStretchTabs()) {
|
||||
angular.element(elements.paging).css('width', '');
|
||||
} else {
|
||||
angular.element(elements.paging).css('width', calcPagingWidth() + 'px');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Calculates the width of the pagination wrapper by summing the widths of the dummy tabs.
|
||||
* @returns {number}
|
||||
@@ -35738,8 +35730,8 @@ function MdTabsTemplate ($compile, $mdUtil) {
|
||||
|
||||
})();
|
||||
(function(){
|
||||
angular.module("material.core").constant("$MD_THEME_CSS", "md-autocomplete.md-THEME_NAME-theme{background:\"{{background-A100}}\"}md-autocomplete.md-THEME_NAME-theme[disabled]:not([md-floating-label]){background:\"{{background-100}}\"}md-autocomplete.md-THEME_NAME-theme button md-icon path{fill:\"{{background-600}}\"}md-autocomplete.md-THEME_NAME-theme button:after{background:\"{{background-600-0.3}}\"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme{background:\"{{background-A100}}\"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li{color:\"{{background-900}}\"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li .highlight{color:\"{{background-600}}\"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li.selected,.md-autocomplete-suggestions-container.md-THEME_NAME-theme li:hover{background:\"{{background-200}}\"}md-backdrop{background-color:\"{{background-900-0.0}}\"}md-backdrop.md-opaque.md-THEME_NAME-theme{background-color:\"{{background-900-1.0}}\"}md-bottom-sheet.md-THEME_NAME-theme{background-color:\"{{background-50}}\";border-top-color:\"{{background-300}}\"}md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item{color:\"{{foreground-1}}\"}md-bottom-sheet.md-THEME_NAME-theme .md-subheader{background-color:\"{{background-50}}\";color:\"{{foreground-1}}\"}.md-button.md-THEME_NAME-theme:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme:not([disabled]):hover{background-color:\"{{background-500-0.2}}\"}.md-button.md-THEME_NAME-theme:not([disabled]).md-icon-button:hover{background-color:transparent}.md-button.md-THEME_NAME-theme.md-fab md-icon{color:\"{{accent-contrast}}\"}.md-button.md-THEME_NAME-theme.md-primary{color:\"{{primary-color}}\"}.md-button.md-THEME_NAME-theme.md-primary.md-fab,.md-button.md-THEME_NAME-theme.md-primary.md-raised{color:\"{{primary-contrast}}\";background-color:\"{{primary-color}}\"}.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]) md-icon,.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]) md-icon{color:\"{{primary-contrast}}\"}.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]):hover,.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]):hover{background-color:\"{{primary-600}}\"}.md-button.md-THEME_NAME-theme.md-primary:not([disabled]) md-icon{color:\"{{primary-color}}\"}.md-button.md-THEME_NAME-theme.md-fab{background-color:\"{{accent-color}}\";color:\"{{accent-contrast}}\"}.md-button.md-THEME_NAME-theme.md-fab:not([disabled]) .md-icon{color:\"{{accent-contrast}}\"}.md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover{background-color:\"{{accent-A700}}\"}.md-button.md-THEME_NAME-theme.md-raised{color:\"{{background-900}}\";background-color:\"{{background-50}}\"}.md-button.md-THEME_NAME-theme.md-raised:not([disabled]) md-icon{color:\"{{background-900}}\"}.md-button.md-THEME_NAME-theme.md-raised:not([disabled]):hover{background-color:\"{{background-50}}\"}.md-button.md-THEME_NAME-theme.md-raised:not([disabled]).md-focused{background-color:\"{{background-200}}\"}.md-button.md-THEME_NAME-theme.md-warn{color:\"{{warn-color}}\"}.md-button.md-THEME_NAME-theme.md-warn.md-fab,.md-button.md-THEME_NAME-theme.md-warn.md-raised{color:\"{{warn-contrast}}\";background-color:\"{{warn-color}}\"}.md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]) md-icon,.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]) md-icon{color:\"{{warn-contrast}}\"}.md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]):hover,.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]):hover{background-color:\"{{warn-600}}\"}.md-button.md-THEME_NAME-theme.md-warn:not([disabled]) md-icon{color:\"{{warn-color}}\"}.md-button.md-THEME_NAME-theme.md-accent{color:\"{{accent-color}}\"}.md-button.md-THEME_NAME-theme.md-accent.md-fab,.md-button.md-THEME_NAME-theme.md-accent.md-raised{color:\"{{accent-contrast}}\";background-color:\"{{accent-color}}\"}.md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]) md-icon,.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]) md-icon{color:\"{{accent-contrast}}\"}.md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]):hover,.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]):hover{background-color:\"{{accent-A700}}\"}.md-button.md-THEME_NAME-theme.md-accent:not([disabled]) md-icon{color:\"{{accent-color}}\"}.md-button.md-THEME_NAME-theme.md-accent[disabled],.md-button.md-THEME_NAME-themeLine truncated
|
||||
angular.module("material.core").constant("$MD_THEME_CSS", "md-autocomplete.md-THEME_NAME-theme{background:\"{{background-A100}}\"}md-autocomplete.md-THEME_NAME-theme[disabled]:not([md-floating-label]){background:\"{{background-100}}\"}md-autocomplete.md-THEME_NAME-theme button md-icon path{fill:\"{{background-600}}\"}md-autocomplete.md-THEME_NAME-theme button:after{background:\"{{background-600-0.3}}\"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme{background:\"{{background-A100}}\"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li{color:\"{{background-900}}\"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li .highlight{color:\"{{background-600}}\"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li.selected,.md-autocomplete-suggestions-container.md-THEME_NAME-theme li:hover{background:\"{{background-200}}\"}md-backdrop{background-color:\"{{background-900-0.0}}\"}md-backdrop.md-opaque.md-THEME_NAME-theme{background-color:\"{{background-900-1.0}}\"}md-bottom-sheet.md-THEME_NAME-theme{background-color:\"{{background-50}}\";border-top-color:\"{{background-300}}\"}md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item{color:\"{{foreground-1}}\"}md-bottom-sheet.md-THEME_NAME-theme .md-subheader{background-color:\"{{background-50}}\";color:\"{{foreground-1}}\"}.md-button.md-THEME_NAME-theme:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme:not([disabled]):hover{background-color:\"{{background-500-0.2}}\"}.md-button.md-THEME_NAME-theme:not([disabled]).md-icon-button:hover{background-color:transparent}.md-button.md-THEME_NAME-theme.md-fab md-icon{color:\"{{accent-contrast}}\"}.md-button.md-THEME_NAME-theme.md-primary{color:\"{{primary-color}}\"}.md-button.md-THEME_NAME-theme.md-primary.md-fab,.md-button.md-THEME_NAME-theme.md-primary.md-raised{color:\"{{primary-contrast}}\";background-color:\"{{primary-color}}\"}.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]) md-icon,.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]) md-icon{color:\"{{primary-contrast}}\"}.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]):hover,.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]):hover{background-color:\"{{primary-600}}\"}.md-button.md-THEME_NAME-theme.md-primary:not([disabled]) md-icon{color:\"{{primary-color}}\"}.md-button.md-THEME_NAME-theme.md-fab{background-color:\"{{accent-color}}\";color:\"{{accent-contrast}}\"}.md-button.md-THEME_NAME-theme.md-fab:not([disabled]) .md-icon{color:\"{{accent-contrast}}\"}.md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover{background-color:\"{{accent-A700}}\"}.md-button.md-THEME_NAME-theme.md-raised{color:\"{{background-900}}\";background-color:\"{{background-50}}\"}.md-button.md-THEME_NAME-theme.md-raised:not([disabled]) md-icon{color:\"{{background-900}}\"}.md-button.md-THEME_NAME-theme.md-raised:not([disabled]):hover{background-color:\"{{background-50}}\"}.md-button.md-THEME_NAME-theme.md-raised:not([disabled]).md-focused{background-color:\"{{background-200}}\"}.md-button.md-THEME_NAME-theme.md-warn{color:\"{{warn-color}}\"}.md-button.md-THEME_NAME-theme.md-warn.md-fab,.md-button.md-THEME_NAME-theme.md-warn.md-raised{color:\"{{warn-contrast}}\";background-color:\"{{warn-color}}\"}.md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]) md-icon,.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]) md-icon{color:\"{{warn-contrast}}\"}.md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]):hover,.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]):hover{background-color:\"{{warn-600}}\"}.md-button.md-THEME_NAME-theme.md-warn:not([disabled]) md-icon{color:\"{{warn-color}}\"}.md-button.md-THEME_NAME-theme.md-accent{color:\"{{accent-color}}\"}.md-button.md-THEME_NAME-theme.md-accent.md-fab,.md-button.md-THEME_NAME-theme.md-accent.md-raised{color:\"{{accent-contrast}}\";background-color:\"{{accent-color}}\"}.md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]) md-icon,.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]) md-icon{color:\"{{accent-contrast}}\"}.md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]):hover,.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]):hover{background-color:\"{{accent-A700}}\"}.md-button.md-THEME_NAME-theme.md-accent:not([disabled]) md-icon{color:\"{{accent-color}}\"}.md-button.md-THEME_NAME-theme.md-accent[disabled],.md-button.md-THEME_NAME-themeLine truncated
|
||||
})();
|
||||
|
||||
|
||||
})(window, window.angular);;window.ngMaterial={version:{full: "1.1.1-master-64b2621"}};
|
||||
})(window, window.angular);;window.ngMaterial={version:{full: "1.1.1-master-2c9a5cc"}};
|
||||
Reference in new issue
Block a user