(js/css) Update generated files

This commit is contained in:
InverseBot committed 2018-07-29 00:29:49 -04:00
1 parent 9fc5c7d52a
commit 540edc0c25
30 files changed
+30 -30

No files matched your search

@@ -1,2 +1,2 @@
!function(){"use strict";function e(){var a,t,o,r=this;if(this.defaults={},this.settings={},a=e.$document[0].getElementById("UserDefaults")){try{o=angular.fromJson(a.textContent||a.innerHTML)}catch(a){e.$log.error("Can't parse user's defaults: "+a.message),o={}}o.SOGoMailLabelsColorsKeys=[],o.SOGoMailLabelsColorsValues=[],_.forEach(o.SOGoMailLabelsColors,function(e,a){o.SOGoMailLabelsColorsKeys.push(a),o.SOGoMailLabelsColorsValues.push(e),"$"==a.charAt(0)&&(Object.defineProperty(o.SOGoMailLabelsColors,"_"+a,Object.getOwnPropertyDescriptor(o.SOGoMailLabelsColors,a)),delete o.SOGoMailLabelsColors[a])}),_.forEach(o.SOGoSieveFilters,function(e){_.forEach(e.actions,function(e){"addflag"==e.method&&"$"==e.argument.charAt(0)&&(e.argument="_"+e.argument)})}),o.SOGoRememberLastModule&&(o.SOGoLoginModule="Last"),o.SOGoMailAutoSave=parseInt(o.SOGoMailAutoSave)||0,o.SOGoMailComposeWindowEnabled=angular.isDefined(o.SOGoMailComposeWindow),o.SOGoMailComposeFontSizeEnabled=parseInt(o.SOGoMailComposeFontSize)>0,window.CKEDITOR&&o.SOGoMailComposeFontSizeEnabled&&(window.CKEDITOR.config.fontSize_defaultLabel=o.SOGoMailComposeFontSize,window.CKEDITOR.addCss(".cke_editable { font-size: "+o.SOGoMailComposeFontSize+"px; }")),_.forEach(o.AuxiliaryMailAccounts,function(e){isNaN(parseInt(e.port))&&(e.port=null)}),o.Vacation?(o.Vacation.startDate?o.Vacation.startDate=new Date(1e3*parseInt(o.Vacation.startDate)):(o.Vacation.startDateEnabled=0,o.Vacation.startDate=new Date,o.Vacation.startDate=o.Vacation.startDate.beginOfDay(),o.Vacation.startDate.addDays(1)),o.Vacation.endDate?o.Vacation.endDate=new Date(1e3*parseInt(o.Vacation.endDate)):(o.Vacation.endDateEnabled=0,o.Vacation.endDate=new Date(o.Vacation.startDate.getTime()),o.Vacation.endDate.addDays(1)),o.Vacation.autoReplyEmailAddresses&&o.Vacation.autoReplyEmailAddresses.length?o.Vacation.autoReplyEmailAddresses=o.Vacation.autoReplyEmailAddresses.join(","):delete o.Vacation.autoReplyEmailAddresses):o.Vacation={},angular.isUndefined(o.Vacation.autoReplyEmailAddresses)&&angular.isDefined(window.defaultEmailAddresses)&&(o.Vacation.autoReplyEmailAddresses=window.defaultEmailAddresses),angular.isUndefined(o.Vacation.daysBetweenResponse)&&(o.Vacation.daysBetweenResponse=7),angular.isUndefined(o.Vacation.startDate)&&(o.Vacation.startDateEnabled=0,o.Vacation.startDate=new Date),angular.isUndefined(o.Vacation.endDate)&&(o.Vacation.endDateEnabled=0,o.Vacation.endDate=new Date),o.Forward&&o.Forward.forwardAddress&&(o.Forward.forwardAddress=o.Forward.forwardAddress.join(",")),angular.isUndefined(o.SOGoCalendarCategoriesColors)&&(o.SOGoCalendarCategoriesColors={},o.SOGoCalendarCategories=[]),angular.isUndefined(o.SOGoContactsCategories)?o.SOGoContactsCategories=[]:o.SOGoContactsCategories=_.compact(o.SOGoContactsCategories),angular.extend(r.defaults,o),r.$mdDateLocaleProvider=e.$mdDateLocaleProvider,angular.extend(r.$mdDateLocaleProvider,o.locale),angular.extend(r.$mdDateLocaleProvider,{firstDayOfWeek:o.SOGoFirstDayOfWeek,firstWeekOfYear:o.SOGoFirstWeekOfYear}),r.$mdDateLocaleProvider.firstDayOfWeek=parseInt(o.SOGoFirstDayOfWeek),r.$mdDateLocaleProvider.weekNumberFormatter=function(e){return l("Week %d",e)},r.$mdDateLocaleProvider.msgCalendar=l("Calender"),r.$mdDateLocaleProvider.msgOpenCalendar=l("Open Calendar"),r.$mdDateLocaleProvider.parseDate=function(e){return e?e.parseDate(r.$mdDateLocaleProvider,r.defaults.SOGoShortDateFormat):new Date(NaN)},r.$mdDateLocaleProvider.formatDate=function(e){return e?e.format(r.$mdDateLocaleProvider,e.$dateFormat||r.defaults.SOGoShortDateFormat):""},r.$mdDateLocaleProvider.parseTime=function(e){return e?e.parseDate(r.$mdDateLocaleProvider,r.defaults.SOGoTimeFormat):new Date(NaN)},r.$mdDateLocaleProvider.formatTime=function(e){return e?e.format(r.$mdDateLocaleProvider,r.defaults.SOGoTimeFormat):""}}if(t=e.$document[0].getElementById("UserSettings")){try{o=angular.fromJson(t.textContent||t.innerHTML)}catch(a){e.$log.error("Can't parse user's settings: "+a.message),o={}}o.Calendar&&(o.Calendar.PreventInvitationsWhitelist?o.Calendar.PreventInvitationsWhitelist=_.map(o.Calendar.PreventInvitationsWhitelist,function(a,t){var o=/^(.+)\s<(\S+)>$/.exec(a),n=new e.$User({uid:t,cn:o[1],c_email:o[2]});return n.$$image||(n.$$image=r.avatar(n.c_email,32,{no_404:!0})),n}):o.Calendar.PreventInvitationsWhitelist=[]),angular.extend(r.settings,o)}}e.$factory=["$document","$q","$timeout","$log","$mdDateLocale","sgSettings","Gravatar","Resource","User",function(a,t,o,r,n,s,i,d,l){return angular.extend(e,{$document:a,$q:t,$timeout:o,$log:r,$mdDateLocaleProvider:n,$gravatar:i,$$resource:new d(s.activeUser("folderURL"),s.activeUser()),$resourcesURL:s.resourcesURL(),$User:l}),new e}];try{angular.module("SOGo.PreferencesUI")}catch(e){angular.module("SOGo.PreferencesUI",["SOGo.Common"])}angular.module("SOGo.PreferencesUI").factory("Preferences",e.$factory),e.prototype.ready=function(){return e.$log.warn("Preferences.ready is deprecated -- access settings/defaults directly."),e.$q.whLine truncated
!function(){"use strict";function c(){var e,a,t,r=this;if(this.defaults={},this.settings={},e=c.$document[0].getElementById("UserDefaults")){try{t=angular.fromJson(e.textContent||e.innerHTML)}catch(e){c.$log.error("Can't parse user's defaults: "+e.message),t={}}t.SOGoMailLabelsColorsKeys=[],t.SOGoMailLabelsColorsValues=[],_.forEach(t.SOGoMailLabelsColors,function(e,a){t.SOGoMailLabelsColorsKeys.push(a),t.SOGoMailLabelsColorsValues.push(e),"$"==a.charAt(0)&&(Object.defineProperty(t.SOGoMailLabelsColors,"_"+a,Object.getOwnPropertyDescriptor(t.SOGoMailLabelsColors,a)),delete t.SOGoMailLabelsColors[a])}),_.forEach(t.SOGoSieveFilters,function(e){_.forEach(e.actions,function(e){"addflag"==e.method&&"$"==e.argument.charAt(0)&&(e.argument="_"+e.argument)})}),t.SOGoRememberLastModule&&(t.SOGoLoginModule="Last"),t.SOGoMailAutoSave=parseInt(t.SOGoMailAutoSave)||0,t.SOGoMailComposeWindowEnabled=angular.isDefined(t.SOGoMailComposeWindow),t.SOGoMailComposeFontSizeEnabled=0<parseInt(t.SOGoMailComposeFontSize),window.CKEDITOR&&t.SOGoMailComposeFontSizeEnabled&&(window.CKEDITOR.config.fontSize_defaultLabel=t.SOGoMailComposeFontSize,window.CKEDITOR.addCss(".cke_editable { font-size: "+t.SOGoMailComposeFontSize+"px; }")),_.forEach(t.AuxiliaryMailAccounts,function(e){isNaN(parseInt(e.port))&&(e.port=null)}),t.Vacation?(t.Vacation.startDate?t.Vacation.startDate=new Date(1e3*parseInt(t.Vacation.startDate)):(t.Vacation.startDateEnabled=0,t.Vacation.startDate=new Date,t.Vacation.startDate=t.Vacation.startDate.beginOfDay(),t.Vacation.startDate.addDays(1)),t.Vacation.endDate?t.Vacation.endDate=new Date(1e3*parseInt(t.Vacation.endDate)):(t.Vacation.endDateEnabled=0,t.Vacation.endDate=new Date(t.Vacation.startDate.getTime()),t.Vacation.endDate.addDays(1)),t.Vacation.autoReplyEmailAddresses&&t.Vacation.autoReplyEmailAddresses.length?t.Vacation.autoReplyEmailAddresses=t.Vacation.autoReplyEmailAddresses.join(","):delete t.Vacation.autoReplyEmailAddresses):t.Vacation={},angular.isUndefined(t.Vacation.autoReplyEmailAddresses)&&angular.isDefined(window.defaultEmailAddresses)&&(t.Vacation.autoReplyEmailAddresses=window.defaultEmailAddresses),angular.isUndefined(t.Vacation.daysBetweenResponse)&&(t.Vacation.daysBetweenResponse=7),angular.isUndefined(t.Vacation.startDate)&&(t.Vacation.startDateEnabled=0,t.Vacation.startDate=new Date),angular.isUndefined(t.Vacation.endDate)&&(t.Vacation.endDateEnabled=0,t.Vacation.endDate=new Date),t.Forward&&t.Forward.forwardAddress&&(t.Forward.forwardAddress=t.Forward.forwardAddress.join(",")),angular.isUndefined(t.SOGoCalendarCategoriesColors)&&(t.SOGoCalendarCategoriesColors={},t.SOGoCalendarCategories=[]),angular.isUndefined(t.SOGoContactsCategories)?t.SOGoContactsCategories=[]:t.SOGoContactsCategories=_.compact(t.SOGoContactsCategories),angular.extend(r.defaults,t),r.$mdDateLocaleProvider=c.$mdDateLocaleProvider,angular.extend(r.$mdDateLocaleProvider,t.locale),angular.extend(r.$mdDateLocaleProvider,{firstDayOfWeek:t.SOGoFirstDayOfWeek,firstWeekOfYear:t.SOGoFirstWeekOfYear}),r.$mdDateLocaleProvider.firstDayOfWeek=parseInt(t.SOGoFirstDayOfWeek),r.$mdDateLocaleProvider.weekNumberFormatter=function(e){return l("Week %d",e)},r.$mdDateLocaleProvider.msgCalendar=l("Calender"),r.$mdDateLocaleProvider.msgOpenCalendar=l("Open Calendar"),r.$mdDateLocaleProvider.parseDate=function(e){return e?e.parseDate(r.$mdDateLocaleProvider,r.defaults.SOGoShortDateFormat):new Date(NaN)},r.$mdDateLocaleProvider.formatDate=function(e){return e?e.format(r.$mdDateLocaleProvider,e.$dateFormat||r.defaults.SOGoShortDateFormat):""},r.$mdDateLocaleProvider.parseTime=function(e){return e?e.parseDate(r.$mdDateLocaleProvider,r.defaults.SOGoTimeFormat):new Date(NaN)},r.$mdDateLocaleProvider.formatTime=function(e){return e?e.format(r.$mdDateLocaleProvider,r.defaults.SOGoTimeFormat):""}}if(a=c.$document[0].getElementById("UserSettings")){try{t=angular.fromJson(a.textContent||a.innerHTML)}catch(e){c.$log.error("Can't parse user's settings: "+e.message),t={}}t.Calendar&&(t.Calendar.PreventInvitationsWhitelist?t.Calendar.PreventInvitationsWhitelist=_.map(t.Calendar.PreventInvitationsWhitelist,function(e,a){var t=/^(.+)\s<(\S+)>$/.exec(e),o=new c.$User({uid:a,cn:t[1],c_email:t[2]});return o.$$image||(o.$$image=r.avatar(o.c_email,32,{no_404:!0})),o}):t.Calendar.PreventInvitationsWhitelist=[]),angular.extend(r.settings,t)}}c.$factory=["$document","$q","$timeout","$log","$mdDateLocale","sgSettings","Gravatar","Resource","User",function(e,a,t,o,r,n,s,i,d){return angular.extend(c,{$document:e,$q:a,$timeout:t,$log:o,$mdDateLocaleProvider:r,$gravatar:s,$$resource:new i(n.activeUser("folderURL"),n.activeUser()),$resourcesURL:n.resourcesURL(),$User:d}),new c}];try{angular.module("SOGo.PreferencesUI")}catch(e){angular.module("SOGo.PreferencesUI",["SOGo.Common"])}angular.module("SOGo.PreferencesUI").factory("Preferences",c.$factory),c.prototype.ready=function(){return c.$log.warn("Preferences.ready is deprecated -- access settings/defaults directly."),c.$q.whLine truncated
//# sourceMappingURL=Preferences.services.js.map