@social-mail/social-mail-client 1.2.683 → 1.2.684
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +7 -23
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +2 -2
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/drawer/AppDrawer.d.ts +0 -1
- package/dist/web/drawer/AppDrawer.d.ts.map +1 -1
- package/dist/web/drawer/AppDrawer.js +7 -23
- package/dist/web/drawer/AppDrawer.js.map +1 -1
- package/package.json +1 -1
- package/src/web/drawer/AppDrawer.tsx +7 -8
|
@@ -60256,10 +60256,10 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
60256
60256
|
|
|
60257
60257
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/controls/menu/MenuItem");
|
|
60258
60258
|
|
|
60259
|
-
System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "../../common/SocialMailApp", "../../common/controls/menu/MenuItem", "@web-atoms/core/dist/style/styled", "../commands/AppCommands", "@web-atoms/web-controls/dist/basic/Expander", "../../common/pages/mailboxes/services/MailboxService", "../page/files/service/CloudFileService", "../../common/NumberFormats", "@web-atoms/core/dist/view-model/Action", "../../common/commands/CommonCommands", "../../services/LoginService"
|
|
60259
|
+
System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "../../common/SocialMailApp", "../../common/controls/menu/MenuItem", "@web-atoms/core/dist/style/styled", "../commands/AppCommands", "@web-atoms/web-controls/dist/basic/Expander", "../../common/pages/mailboxes/services/MailboxService", "../page/files/service/CloudFileService", "../../common/NumberFormats", "@web-atoms/core/dist/view-model/Action", "../../common/commands/CommonCommands", "../../services/LoginService"], function (_export, _context) {
|
|
60260
60260
|
"use strict";
|
|
60261
60261
|
|
|
60262
|
-
var __awaiter, __decorate, __metadata, XNode, Drawer, SocialMailApp, MenuItem, styled, AppCommands, ExpanderMenu, MailboxService, CloudFileService, toFileSize, Action, CommonCommands, LoginService,
|
|
60262
|
+
var __awaiter, __decorate, __metadata, XNode, Drawer, SocialMailApp, MenuItem, styled, AppCommands, ExpanderMenu, MailboxService, CloudFileService, toFileSize, Action, CommonCommands, LoginService, AppDrawer, css;
|
|
60263
60263
|
_export("default", void 0);
|
|
60264
60264
|
return {
|
|
60265
60265
|
setters: [function (_tslib) {
|
|
@@ -60292,8 +60292,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
60292
60292
|
CommonCommands = _commonCommandsCommonCommands.default;
|
|
60293
60293
|
}, function (_servicesLoginService) {
|
|
60294
60294
|
LoginService = _servicesLoginService.default;
|
|
60295
|
-
}, function (_servicesStoreStoreService) {
|
|
60296
|
-
StoreService = _servicesStoreStoreService.default;
|
|
60297
60295
|
}],
|
|
60298
60296
|
execute: function () {
|
|
60299
60297
|
css = styled.css`
|
|
@@ -60326,8 +60324,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
60326
60324
|
mailboxes,
|
|
60327
60325
|
channels,
|
|
60328
60326
|
drives,
|
|
60329
|
-
websites
|
|
60330
|
-
stores
|
|
60327
|
+
websites
|
|
60331
60328
|
} = yield this.getItems();
|
|
60332
60329
|
this.renderer = XNode.create("div", null, XNode.create("div", {
|
|
60333
60330
|
class: "header",
|
|
@@ -60403,18 +60400,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
60403
60400
|
})), XNode.create(MenuItem, {
|
|
60404
60401
|
label: "All",
|
|
60405
60402
|
commandLink: AppCommands.openWebSiteList.displayRoute({})
|
|
60406
|
-
})),
|
|
60407
|
-
isExpanded: false
|
|
60408
|
-
}, XNode.create(MenuItem, {
|
|
60409
|
-
icon: "fas fa-dollar",
|
|
60410
|
-
label: "Stores",
|
|
60411
|
-
commandLink: null
|
|
60412
|
-
}), ...stores.map(s => XNode.create(MenuItem, {
|
|
60413
|
-
label: s.folder.name,
|
|
60414
|
-
commandLink: AppCommands.editStore.displayRoute({
|
|
60415
|
-
id: s.folderID
|
|
60416
|
-
})
|
|
60417
|
-
}))), mailboxes.length && XNode.create(MenuItem, {
|
|
60403
|
+
})), mailboxes.length && XNode.create(MenuItem, {
|
|
60418
60404
|
icon: "fas fa-money-check-pen",
|
|
60419
60405
|
label: "Templates",
|
|
60420
60406
|
commandLink: AppCommands.openTemplates.displayRoute({
|
|
@@ -60451,16 +60437,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
60451
60437
|
return __awaiter(this, void 0, void 0, function* () {
|
|
60452
60438
|
const ms = this.resolve(MailboxService);
|
|
60453
60439
|
const fs = this.resolve(CloudFileService);
|
|
60454
|
-
const
|
|
60455
|
-
const [mailboxes, channels, drives, websites, stores] = yield Promise.all([ms.top(), ms.top({
|
|
60440
|
+
const [mailboxes, channels, drives, websites] = yield Promise.all([ms.top(), ms.top({
|
|
60456
60441
|
isChannel: true
|
|
60457
|
-
}), fs.top(), fs.topSites()
|
|
60442
|
+
}), fs.top(), fs.topSites()]);
|
|
60458
60443
|
return {
|
|
60459
60444
|
mailboxes,
|
|
60460
60445
|
channels,
|
|
60461
60446
|
drives,
|
|
60462
|
-
websites
|
|
60463
|
-
stores
|
|
60447
|
+
websites
|
|
60464
60448
|
};
|
|
60465
60449
|
});
|
|
60466
60450
|
}
|