mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
cleanup webpack export references
This commit is contained in:
parent
b1e066d4a7
commit
1535dd00f1
54 changed files with 84 additions and 168 deletions
|
|
@ -8,7 +8,7 @@ import Remote from 'Remote/User/Fetch';
|
|||
|
||||
import { showScreenPopup } from 'Knoin/Knoin';
|
||||
|
||||
class AccountsUserSettings {
|
||||
export class AccountsUserSettings {
|
||||
constructor() {
|
||||
this.allowAdditionalAccount = rl.settings.capa(Capa.AdditionalAccounts);
|
||||
this.allowIdentities = rl.settings.capa(Capa.Identities);
|
||||
|
|
@ -89,5 +89,3 @@ class AccountsUserSettings {
|
|||
});
|
||||
}
|
||||
}
|
||||
|
||||
export { AccountsUserSettings, AccountsUserSettings as default };
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import AppStore from 'Stores/User/App';
|
|||
import ContactStore from 'Stores/User/Contact';
|
||||
import Remote from 'Remote/User/Fetch';
|
||||
|
||||
class ContactsUserSettings {
|
||||
export class ContactsUserSettings {
|
||||
constructor() {
|
||||
this.contactsAutosave = AppStore.contactsAutosave;
|
||||
|
||||
|
|
@ -44,5 +44,3 @@ class ContactsUserSettings {
|
|||
});
|
||||
}
|
||||
}
|
||||
|
||||
export { ContactsUserSettings, ContactsUserSettings as default };
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import { SieveScriptModel } from 'Model/SieveScript';
|
|||
|
||||
import { showScreenPopup } from 'Knoin/Knoin';
|
||||
|
||||
class FiltersUserSettings {
|
||||
export class FiltersUserSettings {
|
||||
constructor() {
|
||||
this.scripts = SieveStore.scripts;
|
||||
this.loading = ko.observable(false).extend({ throttle: 200 });
|
||||
|
|
@ -115,5 +115,3 @@ class FiltersUserSettings {
|
|||
this.updateList();
|
||||
}
|
||||
}
|
||||
|
||||
export { FiltersUserSettings, FiltersUserSettings as default };
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import Remote from 'Remote/User/Fetch';
|
|||
|
||||
import { showScreenPopup } from 'Knoin/Knoin';
|
||||
|
||||
class FoldersUserSettings {
|
||||
export class FoldersUserSettings {
|
||||
constructor() {
|
||||
this.displaySpecSetting = FolderStore.displaySpecSetting;
|
||||
this.folderList = FolderStore.folderList;
|
||||
|
|
@ -141,5 +141,3 @@ class FoldersUserSettings {
|
|||
folder.checkable(false);
|
||||
}
|
||||
}
|
||||
|
||||
export { FoldersUserSettings, FoldersUserSettings as default };
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ import MessageStore from 'Stores/User/Message';
|
|||
|
||||
import Remote from 'Remote/User/Fetch';
|
||||
|
||||
class GeneralUserSettings {
|
||||
export class GeneralUserSettings {
|
||||
constructor() {
|
||||
this.language = LanguageStore.language;
|
||||
this.languages = LanguageStore.languages;
|
||||
|
|
@ -163,5 +163,3 @@ class GeneralUserSettings {
|
|||
showScreenPopup(require('View/Popup/Languages'), [this.language, this.languages(), LanguageStore.userLanguage()]);
|
||||
}
|
||||
}
|
||||
|
||||
export { GeneralUserSettings, GeneralUserSettings as default };
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import Remote from 'Remote/User/Fetch';
|
|||
|
||||
import { showScreenPopup } from 'Knoin/Knoin';
|
||||
|
||||
class OpenPgpUserSettings {
|
||||
export class OpenPgpUserSettings {
|
||||
constructor() {
|
||||
this.openpgpkeys = PgpStore.openpgpkeys;
|
||||
this.openpgpkeysPublic = PgpStore.openpgpkeysPublic;
|
||||
|
|
@ -64,5 +64,3 @@ class OpenPgpUserSettings {
|
|||
}, 50);
|
||||
}
|
||||
}
|
||||
|
||||
export { OpenPgpUserSettings, OpenPgpUserSettings as default };
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import SettinsStore from 'Stores/User/Settings';
|
|||
|
||||
import Remote from 'Remote/User/Fetch';
|
||||
|
||||
class SecurityUserSettings {
|
||||
export class SecurityUserSettings {
|
||||
constructor() {
|
||||
this.capaAutoLogout = rl.settings.capa(Capa.AutoLogout);
|
||||
this.capaTwoFactor = rl.settings.capa(Capa.TwoFactor);
|
||||
|
|
@ -47,5 +47,3 @@ class SecurityUserSettings {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
export { SecurityUserSettings, SecurityUserSettings as default };
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import Remote from 'Remote/User/Fetch';
|
|||
|
||||
import { showScreenPopup } from 'Knoin/Knoin';
|
||||
|
||||
class TemplatesUserSettings {
|
||||
export class TemplatesUserSettings {
|
||||
constructor() {
|
||||
this.templates = TemplateStore.templates;
|
||||
|
||||
|
|
@ -56,5 +56,3 @@ class TemplatesUserSettings {
|
|||
this.reloadTemplates();
|
||||
}
|
||||
}
|
||||
|
||||
export { TemplatesUserSettings, TemplatesUserSettings as default };
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import ThemeStore from 'Stores/Theme';
|
|||
|
||||
import Remote from 'Remote/User/Fetch';
|
||||
|
||||
class ThemesUserSettings {
|
||||
export class ThemesUserSettings {
|
||||
constructor() {
|
||||
this.theme = ThemeStore.theme;
|
||||
this.themes = ThemeStore.themes;
|
||||
|
|
@ -130,5 +130,3 @@ class ThemesUserSettings {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
export { ThemesUserSettings, ThemesUserSettings as default };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue