mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-05 16:59:21 +00:00
(js/css) Update generated files
This commit is contained in:
1 parent
2f89c5d4a7
commit
b896897c3e
25 files changed
+25
-25
No files matched your search
@@ -1,2 +1,2 @@
|
||||
!function(){"use strict";function e(e,t){e.state("preferences",{abstract:!0,views:{preferences:{templateUrl:"preferences.html",controller:"PreferencesController",controllerAs:"app"}}}).state("preferences.general",{url:"/general",views:{module:{templateUrl:"generalPreferences.html"}}}).state("preferences.calendars",{url:"/calendars",views:{module:{templateUrl:"calendarsPreferences.html"}}}).state("preferences.addressbooks",{url:"/addressbooks",views:{module:{templateUrl:"addressbooksPreferences.html"}}}).state("preferences.mailer",{url:"/mailer",views:{module:{templateUrl:"mailerPreferences.html"}}}),t.otherwise("/general")}function t(e){e.$on("$routeChangeError",function(e,t,a,n){console.error(e,t,a,n)})}angular.module("SOGo.PreferencesUI",["ui.router","ck","SOGo.Common","SOGo.MailerUI","SOGo.ContactsUI","SOGo.Authentication","as.sortable"]).config(e).run(t),e.$inject=["$stateProvider","$urlRouterProvider"],t.$inject=["$rootScope"]}(),function(){"use strict";function e(e,t,a,n,r){function s(){return!(n>0)&&!r}function i(){e.cancel()}function o(){e.hide()}var l=this;l.defaultPort=143,l.defaults=t,l.account=a,l.accountId=n,l.customFromIsReadonly=s,l.cancel=i,l.save=o,l.hostnameRE=n>0?/^(?!(127\.0\.0\.1|localhost(?:\.localdomain)?)$)/:/./,l.account.encryption?"ssl"==l.account.encryption&&(l.defaultPort=993):l.account.encryption="none"}e.$inject=["$mdDialog","defaults","account","accountId","mailCustomFromEnabled"],angular.module("SOGo.PreferencesUI").controller("AccountDialogController",e)}(),function(){"use strict";function e(e,t,a,n,r,s){function i(){a.cancel()}function o(){var e=[m.filter.actions];return"allmessages"!=m.filter.match&&e.push(m.filter.rules),_.every(e,function(e){return e&&e.length>0})}function c(e){a.hide()}function d(e){m.filter.rules||(m.filter.rules=[]),m.filter.rules.push({field:"subject",operator:"contains"})}function f(e){m.filter.rules.splice(e,1)}function u(e){m.filter.actions||(m.filter.actions=[]),m.filter.actions.push({method:"discard"})}function h(e){m.filter.actions.splice(e,1)}var m=this,g=t.sieveCapabilities,p=t.forwardEnabled;t.vacationEnabled;m.filter=n,m.mailboxes=r,m.labels=s,m.cancel=i,m.hasRulesAndActions=o,m.save=c,m.addMailFilterRule=d,m.removeMailFilterRule=f,m.addMailFilterAction=u,m.removeMailFilterAction=h,m.fieldLabels={subject:l("Subject"),from:l("From"),to:l("To"),cc:l("Cc"),to_or_cc:l("To or Cc"),size:l("Size (Kb)"),header:l("Header")},g.indexOf("body")>-1&&(m.fieldLabels.body=l("Body")),m.methodLabels={discard:l("Discard the message"),keep:l("Keep the message"),stop:l("Stop processing filter rules")},p&&(m.methodLabels.redirect=l("Forward the message to")),g.indexOf("reject")>-1&&(m.methodLabels.reject=l("Send a reject message")),g.indexOf("fileinto")>-1&&(m.methodLabels.fileinto=l("File the message in")),(g.indexOf("imapflags")>-1||g.indexOf("imap4flags")>-1)&&(m.methodLabels.addflag=l("Flag the message with")),m.numberOperatorLabels={under:l("is under"),over:l("is over")},m.textOperatorLabels={is:l("is"),is_not:l("is not"),contains:l("contains"),contains_not:l("does not contain"),matches:l("matches"),matches_not:l("does not match")},g.indexOf("regex")>-1&&(m.textOperatorLabels.regex=l("matches regex"),m.textOperatorLabels.regex_not=l("does not match regex")),m.flagLabels={seen:l("Seen"),deleted:l("Deleted"),answered:l("Answered"),flagged:l("Flagged"),junk:l("Junk"),not_junk:l("Not Junk")}}e.$inject=["$scope","$window","$mdDialog","filter","mailboxes","labels"],angular.module("SOGo.PreferencesUI").controller("FiltersDialogController",e)}(),function(){"use strict";function e(e,t,a,n,r,s,i,o,c,d,f,u,h,m){var g,p=this,w=[],v=(new Date).beginOfDay().addDays(1);this.$onInit=function(){this.preferences=h,this.passwords={newPassword:null,newPasswordConfirmation:null},this.timeZonesList=t.timeZonesList,this.timeZonesSearchText="",this.sieveVariablesCapability=t.sieveCapabilities.indexOf("variables")>=0,o.activeUser("path").mail&&(g=new u({id:0})).$getMailboxes().then(function(){for(var e=g.$flattenMailboxes({all:!0}),t=-1,a=e.length;++t<a;)w.push(e[t])}),h.defaults.SOGoAlternateAvatar&&(f.$alternateAvatar=h.defaults.SOGoAlternateAvatar),this.updateVacationDates()},this.go=function(e,t){t.$valid&&(n("xs")&&r("left").close(),a.go("preferences."+e))},this.onLanguageChange=function(e){e.$valid&&d.confirm(l("Warning"),l("Save preferences and reload page now?"),{ok:l("Yes"),cancel:l("No")}).then(function(){p.save(e,{quick:!0}).then(function(){t.location.reload(!0)})})},this.addCalendarCategory=function(e){this.preferences.defaults.SOGoCalendarCategoriesColors["New category"]="#aaa",this.preferences.defaults.SOGoCalendarCategories.push("New category"),c("calendarCategory_"+(this.preferences.defaults.SOGoCalendarCategories.length-1)),e.$setDirty()},this.removeCalendarCategory=function(e,t){var a=this.preferences.defaults.SOGoCalendarCategories[e];this.preferences.defaults.SOGoCalendarCategories.splice(e,1),delete this.preferences.defaults.SOGoCalendarCategoriesColors[a],t.$Line truncated
|
||||
!function(){"use strict";function e(e,t){e.state("preferences",{abstract:!0,views:{preferences:{templateUrl:"preferences.html",controller:"PreferencesController",controllerAs:"app"}}}).state("preferences.general",{url:"/general",views:{module:{templateUrl:"generalPreferences.html"}}}).state("preferences.calendars",{url:"/calendars",views:{module:{templateUrl:"calendarsPreferences.html"}}}).state("preferences.addressbooks",{url:"/addressbooks",views:{module:{templateUrl:"addressbooksPreferences.html"}}}).state("preferences.mailer",{url:"/mailer",views:{module:{templateUrl:"mailerPreferences.html"}}}),t.otherwise("/general")}function t(e){e.$on("$routeChangeError",function(e,t,a,n){console.error(e,t,a,n)})}angular.module("SOGo.PreferencesUI",["ui.router","ck","SOGo.Common","SOGo.MailerUI","SOGo.ContactsUI","SOGo.Authentication","as.sortable"]).config(e).run(t),e.$inject=["$stateProvider","$urlRouterProvider"],t.$inject=["$rootScope"]}(),function(){"use strict";function e(e,t,a,n,r){var s=this;s.defaultPort=143,s.defaults=t,s.account=a,s.accountId=n,s.customFromIsReadonly=function(){return!(n>0||r)},s.cancel=function(){e.cancel()},s.save=function(){e.hide()},s.hostnameRE=n>0?/^(?!(127\.0\.0\.1|localhost(?:\.localdomain)?)$)/:/./,s.account.encryption?"ssl"==s.account.encryption&&(s.defaultPort=993):s.account.encryption="none"}e.$inject=["$mdDialog","defaults","account","accountId","mailCustomFromEnabled"],angular.module("SOGo.PreferencesUI").controller("AccountDialogController",e)}(),function(){"use strict";function e(e,t,a,n,r,s){var i=this,o=t.sieveCapabilities,c=t.forwardEnabled;t.vacationEnabled;i.filter=n,i.mailboxes=r,i.labels=s,i.cancel=function(){a.cancel()},i.hasRulesAndActions=function(){var e=[i.filter.actions];return"allmessages"!=i.filter.match&&e.push(i.filter.rules),_.every(e,function(e){return e&&e.length>0})},i.save=function(e){a.hide()},i.addMailFilterRule=function(e){i.filter.rules||(i.filter.rules=[]),i.filter.rules.push({field:"subject",operator:"contains"})},i.removeMailFilterRule=function(e){i.filter.rules.splice(e,1)},i.addMailFilterAction=function(e){i.filter.actions||(i.filter.actions=[]),i.filter.actions.push({method:"discard"})},i.removeMailFilterAction=function(e){i.filter.actions.splice(e,1)},i.fieldLabels={subject:l("Subject"),from:l("From"),to:l("To"),cc:l("Cc"),to_or_cc:l("To or Cc"),size:l("Size (Kb)"),header:l("Header")},o.indexOf("body")>-1&&(i.fieldLabels.body=l("Body")),i.methodLabels={discard:l("Discard the message"),keep:l("Keep the message"),stop:l("Stop processing filter rules")},c&&(i.methodLabels.redirect=l("Forward the message to")),o.indexOf("reject")>-1&&(i.methodLabels.reject=l("Send a reject message")),o.indexOf("fileinto")>-1&&(i.methodLabels.fileinto=l("File the message in")),(o.indexOf("imapflags")>-1||o.indexOf("imap4flags")>-1)&&(i.methodLabels.addflag=l("Flag the message with")),i.numberOperatorLabels={under:l("is under"),over:l("is over")},i.textOperatorLabels={is:l("is"),is_not:l("is not"),contains:l("contains"),contains_not:l("does not contain"),matches:l("matches"),matches_not:l("does not match")},o.indexOf("regex")>-1&&(i.textOperatorLabels.regex=l("matches regex"),i.textOperatorLabels.regex_not=l("does not match regex")),i.flagLabels={seen:l("Seen"),deleted:l("Deleted"),answered:l("Answered"),flagged:l("Flagged"),junk:l("Junk"),not_junk:l("Not Junk")}}e.$inject=["$scope","$window","$mdDialog","filter","mailboxes","labels"],angular.module("SOGo.PreferencesUI").controller("FiltersDialogController",e)}(),function(){"use strict";function e(e,t,a,n,r,s,i,o,c,d,f,u,h,m){var g,p=this,w=[],v=(new Date).beginOfDay().addDays(1);this.$onInit=function(){this.preferences=h,this.passwords={newPassword:null,newPasswordConfirmation:null},this.timeZonesList=t.timeZonesList,this.timeZonesSearchText="",this.sieveVariablesCapability=t.sieveCapabilities.indexOf("variables")>=0,o.activeUser("path").mail&&(g=new u({id:0})).$getMailboxes().then(function(){for(var e=g.$flattenMailboxes({all:!0}),t=-1,a=e.length;++t<a;)w.push(e[t])}),h.defaults.SOGoAlternateAvatar&&(f.$alternateAvatar=h.defaults.SOGoAlternateAvatar),this.updateVacationDates()},this.go=function(e,t){t.$valid&&(n("xs")&&r("left").close(),a.go("preferences."+e))},this.onLanguageChange=function(e){e.$valid&&d.confirm(l("Warning"),l("Save preferences and reload page now?"),{ok:l("Yes"),cancel:l("No")}).then(function(){p.save(e,{quick:!0}).then(function(){t.location.reload(!0)})})},this.addCalendarCategory=function(e){this.preferences.defaults.SOGoCalendarCategoriesColors["New category"]="#aaa",this.preferences.defaults.SOGoCalendarCategories.push("New category"),c("calendarCategory_"+(this.preferences.defaults.SOGoCalendarCategories.length-1)),e.$setDirty()},this.removeCalendarCategory=function(e,t){var a=this.preferences.defaults.SOGoCalendarCategories[e];this.preferences.defaults.SOGoCalendarCategories.splice(e,1),delete this.preferences.defaults.SOGoCalendarCategoriesColors[a],t.$setDirty()},this.addContactCateLine truncated
|
||||
//# sourceMappingURL=Preferences.js.map
|
||||
Reference in new issue
Block a user