(js/css) Update generated files

pull/14/merge
InverseBot 2016-12-15 01:22:53 -05:00
parent 8493701408
commit 15a3bf48d9
4 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
!function(){"use strict";function a(a,b,c,d,e){function f(){return h.loginState="authenticating",e.login(h.creds).then(function(a){h.loginState="logged",h.cn=a.cn,b(function(){window.location.href===a.url?window.location.reload(!0):window.location.href=a.url},1e3)},function(a){h.loginState="error",h.errorMessage=a.error}),!1}function g(a){function b(a){this.closeDialog=function(){a.hide()}}d.show({targetEvent:a,templateUrl:"aboutBox.html",controller:b,controllerAs:"about"}),b.$inject=["$mdDialog"]}var h=this;h.creds={username:cookieUsername,password:null},h.login=f,h.loginState=!1,h.showAbout=g,h.showLogin=!1,b(function(){h.showLogin=!0},100)}angular.module("SOGo.MainUI",["SOGo.Common","SOGo.Authentication"]),a.$inject=["$scope","$timeout","Dialog","$mdDialog","Authentication"],angular.module("SOGo.MainUI").controller("LoginController",a)}();
!function(){"use strict";function a(a,b,c,d,e,f){function g(){return i.loginState="authenticating",f.login(i.creds).then(function(a){i.loginState="logged",i.cn=a.cn,c(function(){b.location.href===a.url?b.location.reload(!0):b.location.href=a.url},1e3)},function(a){i.loginState="error",i.errorMessage=a.error}),!1}function h(a){function b(a){this.closeDialog=function(){a.hide()}}e.show({targetEvent:a,templateUrl:"aboutBox.html",controller:b,controllerAs:"about"}),b.$inject=["$mdDialog"]}var i=this;i.creds={username:b.cookieUsername,password:null,rememberLogin:angular.isDefined(b.cookieUsername)&&b.cookieUsername.length>0},i.login=g,i.loginState=!1,i.showAbout=h,i.showLogin=!1,c(function(){i.showLogin=!0},100)}angular.module("SOGo.MainUI",["SOGo.Common","SOGo.Authentication"]),a.$inject=["$scope","$window","$timeout","Dialog","$mdDialog","Authentication"],angular.module("SOGo.MainUI").controller("LoginController",a)}();
//# sourceMappingURL=Main.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["Main/Main.app.js"],"names":["LoginController","$scope","$timeout","Dialog","$mdDialog","Authentication","login","vm","loginState","creds","then","data","cn","window","location","href","url","reload","msg","errorMessage","error","showAbout","$event","AboutDialogController","this","closeDialog","hide","show","targetEvent","templateUrl","controller","controllerAs","$inject","username","cookieUsername","password","showLogin","angular","module"],"mappings":"CAGA,WACE,YAQA,SAASA,GAAgBC,EAAQC,EAAUC,EAAQC,EAAWC,GAY5D,QAASC,KAkBP,MAjBAC,GAAGC,WAAa,iBAChBH,EAAeC,MAAMC,EAAGE,OACrBC,KAAK,SAASC,GACbJ,EAAGC,WAAa,SAChBD,EAAGK,GAAKD,EAAKC,GAGbV,EAAS,WACHW,OAAOC,SAASC,OAASJ,EAAKK,IAChCH,OAAOC,SAASG,QAAO,GAEvBJ,OAAOC,SAASC,KAAOJ,EAAKK,KAC7B,MACF,SAASE,GACVX,EAAGC,WAAa,QAChBD,EAAGY,aAAeD,EAAIE,SAEnB,EAGT,QAASC,GAAUC,GAQjB,QAASC,GAAsBnB,GAC7BoB,KAAKC,YAAc,WACjBrB,EAAUsB,QATdtB,EAAUuB,MACRC,YAAaN,EACbO,YAAa,gBACbC,WAAYP,EACZQ,aAAc,UAEhBR,EAAsBS,SAAW,aAvCnC,GAAIzB,GAAKiB,IAETjB,GAAGE,OAAUwB,SAAUC,eAAgBC,SAAU,MACjD5B,EAAGD,MAAQA,EACXC,EAAGC,YAAa,EAChBD,EAAGc,UAAYA,EAGfd,EAAG6B,WAAY,EACflC,EAAS,WAAaK,EAAG6B,WAAY,GAAS,KAhBhDC,QAAQC,OAAO,eAAgB,cAAe,wBAK9CtC,EAAgBgC,SAAW,SAAU,WAAY,SAAU,YAAa,kBAkDxEK,QACGC,OAAO,eACPR,WAAW,kBAAmB9B","file":"Main.js","sourcesContent":["/* -*- Mode: javascript; indent-tabs-mode: nil; c-basic-offset: 2 -*- */\n/* JavaScript for MainUI (SOGoRootPage) */\n\n(function() {\n 'use strict';\n\n angular.module('SOGo.MainUI', ['SOGo.Common', 'SOGo.Authentication']);\n\n /**\n * @ngInject\n */\n LoginController.$inject = ['$scope', '$timeout', 'Dialog', '$mdDialog', 'Authentication'];\n function LoginController($scope, $timeout, Dialog, $mdDialog, Authentication) {\n var vm = this;\n\n vm.creds = { username: cookieUsername, password: null };\n vm.login = login;\n vm.loginState = false;\n vm.showAbout = showAbout;\n\n // Show login once everything is initialized\n vm.showLogin = false;\n $timeout(function() { vm.showLogin = true; }, 100);\n\n function login() {\n vm.loginState = 'authenticating';\n Authentication.login(vm.creds)\n .then(function(data) {\n vm.loginState = 'logged';\n vm.cn = data.cn;\n\n // Let the user see the succesfull message before reloading the page\n $timeout(function() {\n if (window.location.href === data.url)\n window.location.reload(true);\n else\n window.location.href = data.url;\n }, 1000);\n }, function(msg) {\n vm.loginState = 'error';\n vm.errorMessage = msg.error;\n });\n return false;\n }\n\n function showAbout($event) {\n $mdDialog.show({\n targetEvent: $event,\n templateUrl: 'aboutBox.html',\n controller: AboutDialogController,\n controllerAs: 'about'\n });\n AboutDialogController.$inject = ['$mdDialog'];\n function AboutDialogController($mdDialog) {\n this.closeDialog = function() {\n $mdDialog.hide();\n };\n }\n }\n }\n\n angular\n .module('SOGo.MainUI')\n .controller('LoginController', LoginController);\n})();\n"]}
{"version":3,"sources":["Main/Main.app.js"],"names":["LoginController","$scope","$window","$timeout","Dialog","$mdDialog","Authentication","login","vm","loginState","creds","then","data","cn","location","href","url","reload","msg","errorMessage","error","showAbout","$event","AboutDialogController","this","closeDialog","hide","show","targetEvent","templateUrl","controller","controllerAs","$inject","username","cookieUsername","password","rememberLogin","angular","isDefined","length","showLogin","module"],"mappings":"CAGA,WACE,YAQA,SAASA,GAAgBC,EAAQC,EAASC,EAAUC,EAAQC,EAAWC,GAgBrE,QAASC,KAkBP,MAjBAC,GAAGC,WAAa,iBAChBH,EAAeC,MAAMC,EAAGE,OACrBC,KAAK,SAASC,GACbJ,EAAGC,WAAa,SAChBD,EAAGK,GAAKD,EAAKC,GAGbV,EAAS,WACHD,EAAQY,SAASC,OAASH,EAAKI,IACjCd,EAAQY,SAASG,QAAO,GAExBf,EAAQY,SAASC,KAAOH,EAAKI,KAC9B,MACF,SAASE,GACVV,EAAGC,WAAa,QAChBD,EAAGW,aAAeD,EAAIE,SAEnB,EAGT,QAASC,GAAUC,GAQjB,QAASC,GAAsBlB,GAC7BmB,KAAKC,YAAc,WACjBpB,EAAUqB,QATdrB,EAAUsB,MACRC,YAAaN,EACbO,YAAa,gBACbC,WAAYP,EACZQ,aAAc,UAEhBR,EAAsBS,SAAW,aA3CnC,GAAIxB,GAAKgB,IAEThB,GAAGE,OACDuB,SAAU/B,EAAQgC,eAClBC,SAAU,KACVC,cAAeC,QAAQC,UAAUpC,EAAQgC,iBAAmBhC,EAAQgC,eAAeK,OAAS,GAE9F/B,EAAGD,MAAQA,EACXC,EAAGC,YAAa,EAChBD,EAAGa,UAAYA,EAGfb,EAAGgC,WAAY,EACfrC,EAAS,WAAaK,EAAGgC,WAAY,GAAS,KApBhDH,QAAQI,OAAO,eAAgB,cAAe,wBAK9CzC,EAAgBgC,SAAW,SAAU,UAAW,WAAY,SAAU,YAAa,kBAsDnFK,QACGI,OAAO,eACPX,WAAW,kBAAmB9B","file":"Main.js","sourcesContent":["/* -*- Mode: javascript; indent-tabs-mode: nil; c-basic-offset: 2 -*- */\n/* JavaScript for MainUI (SOGoRootPage) */\n\n(function() {\n 'use strict';\n\n angular.module('SOGo.MainUI', ['SOGo.Common', 'SOGo.Authentication']);\n\n /**\n * @ngInject\n */\n LoginController.$inject = ['$scope', '$window', '$timeout', 'Dialog', '$mdDialog', 'Authentication'];\n function LoginController($scope, $window, $timeout, Dialog, $mdDialog, Authentication) {\n var vm = this;\n\n vm.creds = {\n username: $window.cookieUsername,\n password: null,\n rememberLogin: angular.isDefined($window.cookieUsername) && $window.cookieUsername.length > 0\n };\n vm.login = login;\n vm.loginState = false;\n vm.showAbout = showAbout;\n\n // Show login once everything is initialized\n vm.showLogin = false;\n $timeout(function() { vm.showLogin = true; }, 100);\n\n function login() {\n vm.loginState = 'authenticating';\n Authentication.login(vm.creds)\n .then(function(data) {\n vm.loginState = 'logged';\n vm.cn = data.cn;\n\n // Let the user see the succesfull message before reloading the page\n $timeout(function() {\n if ($window.location.href === data.url)\n $window.location.reload(true);\n else\n $window.location.href = data.url;\n }, 1000);\n }, function(msg) {\n vm.loginState = 'error';\n vm.errorMessage = msg.error;\n });\n return false;\n }\n\n function showAbout($event) {\n $mdDialog.show({\n targetEvent: $event,\n templateUrl: 'aboutBox.html',\n controller: AboutDialogController,\n controllerAs: 'about'\n });\n AboutDialogController.$inject = ['$mdDialog'];\n function AboutDialogController($mdDialog) {\n this.closeDialog = function() {\n $mdDialog.hide();\n };\n }\n }\n }\n\n angular\n .module('SOGo.MainUI')\n .controller('LoginController', LoginController);\n})();\n"]}