mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-02 07:35:33 +00:00
(js/css) Update generated files
This commit is contained in:
1 parent
0afc6d2307
commit
d7adb1b802
2 files changed
+58
-30
No files matched your search
+48
-20
@@ -2,7 +2,7 @@
|
||||
* Angular Material Design
|
||||
* https://github.com/angular/material
|
||||
* @license MIT
|
||||
* v1.0.6-master-6a9ee5c
|
||||
* v1.0.6-master-0855fd3
|
||||
*/
|
||||
(function( window, angular, undefined ){
|
||||
"use strict";
|
||||
@@ -34,6 +34,7 @@ angular
|
||||
/**
|
||||
* Detect if the ng-Touch module is also being used.
|
||||
* Warn if detected.
|
||||
* @ngInject
|
||||
*/
|
||||
function DetectNgTouch($log, $injector) {
|
||||
if ( $injector.has('$swipe') ) {
|
||||
@@ -46,7 +47,9 @@ function DetectNgTouch($log, $injector) {
|
||||
}
|
||||
DetectNgTouch.$inject = ["$log", "$injector"];
|
||||
|
||||
|
||||
/**
|
||||
* @ngInject
|
||||
*/
|
||||
function MdCoreConfigure($provide, $mdThemingProvider) {
|
||||
|
||||
$provide.decorator('$$rAF', ["$delegate", rAFDecorator]);
|
||||
@@ -59,6 +62,9 @@ function MdCoreConfigure($provide, $mdThemingProvider) {
|
||||
}
|
||||
MdCoreConfigure.$inject = ["$provide", "$mdThemingProvider"];
|
||||
|
||||
/**
|
||||
* @ngInject
|
||||
*/
|
||||
function rAFDecorator($delegate) {
|
||||
/**
|
||||
* Use this to throttle events that come in often.
|
||||
@@ -89,6 +95,7 @@ function rAFDecorator($delegate) {
|
||||
};
|
||||
return $delegate;
|
||||
}
|
||||
rAFDecorator.$inject = ["$delegate"];
|
||||
|
||||
})();
|
||||
(function(){
|
||||
@@ -614,6 +621,7 @@ angular.module('material.core')
|
||||
* $scope.anotherCustom = $mdMedia('max-width: 300px');
|
||||
* });
|
||||
* </hljs>
|
||||
* @ngInject
|
||||
*/
|
||||
|
||||
function mdMediaFactory($mdConstant, $rootScope, $window) {
|
||||
@@ -737,6 +745,9 @@ angular
|
||||
.module('material.core')
|
||||
.factory('$mdUtil', UtilFactory);
|
||||
|
||||
/**
|
||||
* @ngInject
|
||||
*/
|
||||
function UtilFactory($document, $timeout, $compile, $rootScope, $$mdAnimate, $interpolate, $log, $rootElement, $window) {
|
||||
// Setup some core variables for the processTemplate method
|
||||
var startSymbol = $interpolate.startSymbol(),
|
||||
@@ -13564,6 +13575,8 @@ mdRadioButtonDirective.$inject = ["$mdAria", "$mdUtil", "$mdTheming"];
|
||||
|
||||
var SELECT_EDGE_MARGIN = 8;
|
||||
var selectNextId = 0;
|
||||
var CHECKBOX_SELECTION_INDICATOR =
|
||||
angular.element('<div class="_md-container"><div class="_md-icon"></div></div>');
|
||||
|
||||
angular.module('material.components.select', [
|
||||
'material.core',
|
||||
@@ -14332,6 +14345,11 @@ function OptionDirective($mdButtonInkRipple, $mdUtil) {
|
||||
var optionCtrl = ctrls[0];
|
||||
var selectCtrl = ctrls[1];
|
||||
|
||||
if (selectCtrl.isMultiple) {
|
||||
element.attr('md-checkbox-enabled', '');
|
||||
element.prepend(CHECKBOX_SELECTION_INDICATOR.clone());
|
||||
}
|
||||
|
||||
if (angular.isDefined(attr.ngValue)) {
|
||||
scope.$watch(attr.ngValue, setOptionValue);
|
||||
} else if (angular.isDefined(attr.value)) {
|
||||
@@ -22133,7 +22151,8 @@ function mdIconDirective($mdIcon, $mdTheming, $mdAria ) {
|
||||
/* @ngInject */
|
||||
function MdIconService(config, $http, $q, $log, $templateCache) {
|
||||
var iconCache = {};
|
||||
var urlRegex = /[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?/i;
|
||||
var urlRegex = /[-\w@:%\+.~#?&//=]{2,}\.[a-z]{2,4}\b(\/[-\w@:%\+.~#?&//=]*)?/i;
|
||||
var dataUrlRegex = /^data:image\/svg\+xml[\s*;\w\-\=]*?(base64)?,(.*)$/i;
|
||||
|
||||
Icon.prototype = { clone : cloneSVG, prepare: prepareAndStyle };
|
||||
getIcon.fontSet = findRegisteredFontSet;
|
||||
@@ -22150,8 +22169,8 @@ function mdIconDirective($mdIcon, $mdTheming, $mdAria ) {
|
||||
// If already loaded and cached, use a clone of the cached icon.
|
||||
// Otherwise either load by URL, or lookup in the registry and then load by URL, and cache.
|
||||
|
||||
if ( iconCache[id] ) return $q.when( iconCache[id].clone() );
|
||||
if ( urlRegex.test(id) ) return loadByURL(id).then( cacheIcon(id) );
|
||||
if ( iconCache[id] ) return $q.when( iconCache[id].clone() );
|
||||
if ( urlRegex.test(id) || dataUrlRegex.test(id) ) return loadByURL(id).then( cacheIcon(id) );
|
||||
if ( id.indexOf(':') == -1 ) id = '$default:' + id;
|
||||
|
||||
var load = config[id] ? loadByID : loadFromIconSet;
|
||||
@@ -22239,11 +22258,26 @@ function mdIconDirective($mdIcon, $mdTheming, $mdAria ) {
|
||||
* Extract the data for later conversion to Icon
|
||||
*/
|
||||
function loadByURL(url) {
|
||||
return $http
|
||||
.get(url, { cache: $templateCache })
|
||||
.then(function(response) {
|
||||
return angular.element('<div>').append(response.data).find('svg')[0];
|
||||
}).catch(announceNotFound);
|
||||
/* Load the icon from embedded data URL. */
|
||||
function loadByDataUrl(url) {
|
||||
var results = dataUrlRegex.exec(url);
|
||||
var isBase64 = /base64/i.test(url);
|
||||
var data = isBase64 ? window.atob(results[2]) : results[2];
|
||||
return $q.when(angular.element(data)[0]);
|
||||
}
|
||||
|
||||
/* Load the icon by URL using HTTP. */
|
||||
function loadByHttpUrl(url) {
|
||||
return $http
|
||||
.get(url, { cache: $templateCache })
|
||||
.then(function(response) {
|
||||
return angular.element('<div>').append(response.data).find('svg')[0];
|
||||
}).catch(announceNotFound);
|
||||
}
|
||||
|
||||
return dataUrlRegex.test(url)
|
||||
? loadByDataUrl(url)
|
||||
: loadByHttpUrl(url);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -23642,10 +23676,7 @@ angular
|
||||
.module('material.components.menuBar')
|
||||
.directive('mdMenuBar', MenuBarDirective);
|
||||
|
||||
/**
|
||||
*
|
||||
* @ngInjdect
|
||||
*/
|
||||
/* @ngInject */
|
||||
function MenuBarDirective($mdUtil, $mdTheming) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
@@ -23823,10 +23854,7 @@ angular
|
||||
.module('material.components.menuBar')
|
||||
.directive('mdMenuItem', MenuItemDirective);
|
||||
|
||||
/**
|
||||
*
|
||||
* @ngInjdect
|
||||
*/
|
||||
/* @ngInject */
|
||||
function MenuItemDirective() {
|
||||
return {
|
||||
require: ['mdMenuItem', '?ngModel'],
|
||||
@@ -25539,8 +25567,8 @@ MdTabsTemplate.$inject = ["$compile", "$mdUtil"];
|
||||
|
||||
})();
|
||||
(function(){
|
||||
angular.module("material.core").constant("$MD_THEME_CSS", "/* Only used with Theme processes */html.md-THEME_NAME-theme, body.md-THEME_NAME-theme { color: '{{foreground-1}}'; background-color: '{{background-50}}'; }md-autocomplete.md-THEME_NAME-theme { background: '{{background-A100}}'; } md-autocomplete.md-THEME_NAME-theme[disabled] { 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:hover, .md-autocomplete-suggestions-container.md-THEME_NAME-theme li.selected { 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}}'; } md-bottom-sheet.md-THEME_NAME-theme .md-subheader { color: '{{foreground-1}}'; }a.md-button.md-THEME_NAME-theme:not([disabled]):hover,.md-button.md-THEME_NAME-theme:not([disabled]):hover { background-color: '{{background-500-0.2}}'; }a.md-button.md-THEME_NAME-theme:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme:not([disabled]).md-focused { background-color: '{{background-500-0.2}}'; }a.md-button.md-THEME_NAME-theme:not([disabled]).md-icon-button:hover,.md-button.md-THEME_NAME-theme:not([disabled]).md-icon-button:hover { background-color: transparent; }a.md-button.md-THEME_NAME-theme.md-fab,.md-button.md-THEME_NAME-theme.md-fab { background-color: '{{accent-color}}'; color: '{{accent-contrast}}'; } a.md-button.md-THEME_NAME-theme.md-fab md-icon, .md-button.md-THEME_NAME-theme.md-fab md-icon { color: '{{accent-contrast}}'; } a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover { background-color: '{{accent-color}}'; } a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused { background-color: '{{accent-A700}}'; }a.md-button.md-THEME_NAME-theme.md-primary,.md-button.md-THEME_NAME-theme.md-primary { color: '{{primary-color}}'; } a.md-button.md-THEME_NAME-theme.md-primary.md-raised, a.md-button.md-THEME_NAME-theme.md-primary.md-fab, .md-button.md-THEME_NAME-theme.md-primary.md-raised, .md-button.md-THEME_NAME-theme.md-primary.md-fab { color: '{{primary-contrast}}'; background-color: '{{primary-color}}'; } a.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]) md-icon, a.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, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]) md-icon { color: '{{primary-contrast}}'; } a.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]):hover, a.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]):hover, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]):hover { background-color: '{{primary-color}}'; } a.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]).md-focused, a.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]).md-focused { background-color: '{{primary-600}}'; } a.md-button.md-THEME_NAME-theme.md-primary:not([disabled]) md-icon, .md-button.md-THEME_NAME-theme.md-primary:not([disabled]) md-icon { color: '{{primary-color}}'; }a.md-button.md-THEME_NAME-theme.md-fab,.md-button.md-THEME_NAME-theme.md-fab { background-color: '{{accent-color}}'; color: '{{accent-contrast}}'; } a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]) .md-icon, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]) .md-icon { color: '{{accent-contrast}}'; } a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover { background-color: '{{accent-color}}'; } a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]).mdLine truncated
|
||||
angular.module("material.core").constant("$MD_THEME_CSS", "/* Only used with Theme processes */html.md-THEME_NAME-theme, body.md-THEME_NAME-theme { color: '{{foreground-1}}'; background-color: '{{background-50}}'; }md-autocomplete.md-THEME_NAME-theme { background: '{{background-A100}}'; } md-autocomplete.md-THEME_NAME-theme[disabled] { 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:hover, .md-autocomplete-suggestions-container.md-THEME_NAME-theme li.selected { 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}}'; } md-bottom-sheet.md-THEME_NAME-theme .md-subheader { color: '{{foreground-1}}'; }a.md-button.md-THEME_NAME-theme:not([disabled]):hover,.md-button.md-THEME_NAME-theme:not([disabled]):hover { background-color: '{{background-500-0.2}}'; }a.md-button.md-THEME_NAME-theme:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme:not([disabled]).md-focused { background-color: '{{background-500-0.2}}'; }a.md-button.md-THEME_NAME-theme:not([disabled]).md-icon-button:hover,.md-button.md-THEME_NAME-theme:not([disabled]).md-icon-button:hover { background-color: transparent; }a.md-button.md-THEME_NAME-theme.md-fab,.md-button.md-THEME_NAME-theme.md-fab { background-color: '{{accent-color}}'; color: '{{accent-contrast}}'; } a.md-button.md-THEME_NAME-theme.md-fab md-icon, .md-button.md-THEME_NAME-theme.md-fab md-icon { color: '{{accent-contrast}}'; } a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover { background-color: '{{accent-color}}'; } a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused { background-color: '{{accent-A700}}'; }a.md-button.md-THEME_NAME-theme.md-primary,.md-button.md-THEME_NAME-theme.md-primary { color: '{{primary-color}}'; } a.md-button.md-THEME_NAME-theme.md-primary.md-raised, a.md-button.md-THEME_NAME-theme.md-primary.md-fab, .md-button.md-THEME_NAME-theme.md-primary.md-raised, .md-button.md-THEME_NAME-theme.md-primary.md-fab { color: '{{primary-contrast}}'; background-color: '{{primary-color}}'; } a.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]) md-icon, a.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, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]) md-icon { color: '{{primary-contrast}}'; } a.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]):hover, a.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]):hover, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]):hover { background-color: '{{primary-color}}'; } a.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]).md-focused, a.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]).md-focused { background-color: '{{primary-600}}'; } a.md-button.md-THEME_NAME-theme.md-primary:not([disabled]) md-icon, .md-button.md-THEME_NAME-theme.md-primary:not([disabled]) md-icon { color: '{{primary-color}}'; }a.md-button.md-THEME_NAME-theme.md-fab,.md-button.md-THEME_NAME-theme.md-fab { background-color: '{{accent-color}}'; color: '{{accent-contrast}}'; } a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]) .md-icon, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]) .md-icon { color: '{{accent-contrast}}'; } a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover { background-color: '{{accent-color}}'; } a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]).mdLine truncated
|
||||
})();
|
||||
|
||||
|
||||
})(window, window.angular);;window.ngMaterial={version:{full: "1.0.6-master-6a9ee5c"}};
|
||||
})(window, window.angular);;window.ngMaterial={version:{full: "1.0.6-master-0855fd3"}};
|
||||
Reference in new issue
Block a user