@social-mail/social-mail-client 1.2.682 → 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/content/templates/plain/blog.html +4 -0
- package/content/templates/plain/contact.html +4 -0
- package/content/templates/plain/index.html +4 -0
- package/content/templates/plain/store.html +4 -0
- package/content/templates/plain/templates/footer.html +4 -0
- package/content/templates/plain/templates/header.html +4 -0
- 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
|
@@ -8,7 +8,6 @@ export default class AppDrawer extends Drawer {
|
|
|
8
8
|
channels: import("../../model/model").IMailbox[];
|
|
9
9
|
drives: import("../../model/model").IAppFile[];
|
|
10
10
|
websites: import("../../model/model").IWebSiteFolder[];
|
|
11
|
-
stores: import("../../model/model").IWebSiteFolder[];
|
|
12
11
|
}>;
|
|
13
12
|
userLogout(): Promise<void>;
|
|
14
13
|
onClick(none: any, e: MouseEvent): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppDrawer.d.ts","sourceRoot":"","sources":["../../../src/web/drawer/AppDrawer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mDAAmD,CAAC;AAwC3E,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,MAAM;IAEzC,OAAO,CAAC,IAAI,CAAQ;IAEpB,OAAO,CAAC,QAAQ,CAAc;IAExB,IAAI;IAoJJ,QAAQ
|
|
1
|
+
{"version":3,"file":"AppDrawer.d.ts","sourceRoot":"","sources":["../../../src/web/drawer/AppDrawer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mDAAmD,CAAC;AAwC3E,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,MAAM;IAEzC,OAAO,CAAC,IAAI,CAAQ;IAEpB,OAAO,CAAC,QAAQ,CAAc;IAExB,IAAI;IAoJJ,QAAQ;;;;;;IAcR,UAAU;IAMhB,OAAO,CAAC,IAAI,KAAA,EAAE,CAAC,EAAE,UAAU;CAY9B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
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"
|
|
1
|
+
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) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var __awaiter, __decorate, __metadata, XNode, Drawer, SocialMailApp, MenuItem, styled, AppCommands, ExpanderMenu, MailboxService, CloudFileService, toFileSize, Action, CommonCommands, LoginService,
|
|
4
|
+
var __awaiter, __decorate, __metadata, XNode, Drawer, SocialMailApp, MenuItem, styled, AppCommands, ExpanderMenu, MailboxService, CloudFileService, toFileSize, Action, CommonCommands, LoginService, AppDrawer, css;
|
|
5
5
|
_export("default", void 0);
|
|
6
6
|
return {
|
|
7
7
|
setters: [function (_tslib) {
|
|
@@ -34,8 +34,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
34
34
|
CommonCommands = _commonCommandsCommonCommands.default;
|
|
35
35
|
}, function (_servicesLoginService) {
|
|
36
36
|
LoginService = _servicesLoginService.default;
|
|
37
|
-
}, function (_servicesStoreStoreService) {
|
|
38
|
-
StoreService = _servicesStoreStoreService.default;
|
|
39
37
|
}],
|
|
40
38
|
execute: function () {
|
|
41
39
|
css = styled.css`
|
|
@@ -68,8 +66,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
68
66
|
mailboxes,
|
|
69
67
|
channels,
|
|
70
68
|
drives,
|
|
71
|
-
websites
|
|
72
|
-
stores
|
|
69
|
+
websites
|
|
73
70
|
} = yield this.getItems();
|
|
74
71
|
this.renderer = XNode.create("div", null, XNode.create("div", {
|
|
75
72
|
class: "header",
|
|
@@ -145,18 +142,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
145
142
|
})), XNode.create(MenuItem, {
|
|
146
143
|
label: "All",
|
|
147
144
|
commandLink: AppCommands.openWebSiteList.displayRoute({})
|
|
148
|
-
})),
|
|
149
|
-
isExpanded: false
|
|
150
|
-
}, XNode.create(MenuItem, {
|
|
151
|
-
icon: "fas fa-dollar",
|
|
152
|
-
label: "Stores",
|
|
153
|
-
commandLink: null
|
|
154
|
-
}), ...stores.map(s => XNode.create(MenuItem, {
|
|
155
|
-
label: s.folder.name,
|
|
156
|
-
commandLink: AppCommands.editStore.displayRoute({
|
|
157
|
-
id: s.folderID
|
|
158
|
-
})
|
|
159
|
-
}))), mailboxes.length && XNode.create(MenuItem, {
|
|
145
|
+
})), mailboxes.length && XNode.create(MenuItem, {
|
|
160
146
|
icon: "fas fa-money-check-pen",
|
|
161
147
|
label: "Templates",
|
|
162
148
|
commandLink: AppCommands.openTemplates.displayRoute({
|
|
@@ -193,16 +179,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
193
179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
194
180
|
const ms = this.resolve(MailboxService);
|
|
195
181
|
const fs = this.resolve(CloudFileService);
|
|
196
|
-
const
|
|
197
|
-
const [mailboxes, channels, drives, websites, stores] = yield Promise.all([ms.top(), ms.top({
|
|
182
|
+
const [mailboxes, channels, drives, websites] = yield Promise.all([ms.top(), ms.top({
|
|
198
183
|
isChannel: true
|
|
199
|
-
}), fs.top(), fs.topSites()
|
|
184
|
+
}), fs.top(), fs.topSites()]);
|
|
200
185
|
return {
|
|
201
186
|
mailboxes,
|
|
202
187
|
channels,
|
|
203
188
|
drives,
|
|
204
|
-
websites
|
|
205
|
-
stores
|
|
189
|
+
websites
|
|
206
190
|
};
|
|
207
191
|
});
|
|
208
192
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AppDrawer","css","_export","setters","_tslib","XNode","_webAtomsCoreDistCoreXNode","default","_webAtomsWebControlsDistMobileAppMobileApp","Drawer","_commonSocialMailApp","SocialMailApp","_commonControlsMenuMenuItem","MenuItem","_webAtomsCoreDistStyleStyled","styled","_commandsAppCommands","AppCommands","_webAtomsWebControlsDistBasicExpander","ExpanderMenu","_commonPagesMailboxesServicesMailboxService","MailboxService","_pageFilesServiceCloudFileService","CloudFileService","_commonNumberFormats","toFileSize","_webAtomsCoreDistViewModelAction","Action","_commonCommandsCommonCommands","CommonCommands","_servicesLoginService","LoginService","
|
|
1
|
+
{"version":3,"names":["AppDrawer","css","_export","setters","_tslib","XNode","_webAtomsCoreDistCoreXNode","default","_webAtomsWebControlsDistMobileAppMobileApp","Drawer","_commonSocialMailApp","SocialMailApp","_commonControlsMenuMenuItem","MenuItem","_webAtomsCoreDistStyleStyled","styled","_commandsAppCommands","AppCommands","_webAtomsWebControlsDistBasicExpander","ExpanderMenu","_commonPagesMailboxesServicesMailboxService","MailboxService","_pageFilesServiceCloudFileService","CloudFileService","_commonNumberFormats","toFileSize","_webAtomsCoreDistViewModelAction","Action","_commonCommandsCommonCommands","CommonCommands","_servicesLoginService","LoginService","execute","installLocal","init","element","className","user","mailboxes","channels","drives","websites","getItems","renderer","create","class","text","config","name","icon","label","commandLink","openHome","displayRoute","isExpanded","map","mb","openMailbox","id","mailboxID","emailAddress","description","title","openMailboxList","length","openChannel","d","openFiles","appFileID","_a","creator","displayName","BigInt","fileSize","openDrives","editWebSite","folderID","folder","Number","snapshotStorage","openWebSiteList","openTemplates","templates","dnsZoneList","externalLogin","changePassword","setupMultiFactor","accessTokenList","ms","resolve","fs","Promise","all","top","isChannel","topSites","userLogout","loginService","logout","onClick","none","e","selected","removeAttribute","start","target","currentTarget","getAttribute","setAttribute","parentElement","__decorate","onEvent","MouseEvent"],"sources":["../../../src/web/drawer/AppDrawer.tsx"],"sourcesContent":[null],"mappings":";;;wMAyCqBA,SAAU,EAAAC,GAAA;EAAAC,OAAA;EAAA;IAAAC,OAAA,aAAAC,MAAA;;;;;MAzCxBC,KAAK,GAAAC,0BAAA,CAAAC,OAAA;IAAA,aAAAC,0CAAA;MACHC,MAAM,GAAAD,0CAAA,CAANC,MAAM;IAAA,aAAAC,oBAAA;MAERC,aAAa,GAAAD,oBAAA,CAAAH,OAAA;IAAA,aAAAK,2BAAA;MACbC,QAAQ,GAAAD,2BAAA,CAAAL,OAAA;IAAA,aAAAO,4BAAA;MAERC,MAAM,GAAAD,4BAAA,CAAAP,OAAA;IAAA,aAAAS,oBAAA;MACNC,WAAW,GAAAD,oBAAA,CAAAT,OAAA;IAAA,aAAAW,qCAAA;MACTC,YAAY,GAAAD,qCAAA,CAAZC,YAAY;IAAA,aAAAC,2CAAA;MACdC,cAAc,GAAAD,2CAAA,CAAAb,OAAA;IAAA,aAAAe,iCAAA;MACdC,gBAAgB,GAAAD,iCAAA,CAAAf,OAA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AY,CAAC;YAC/C,MAAMkE,YAAY,CAACC,MAAM,EAAE;UAC/B,CAAC;;QAGDC,OAAOA,CAACC,IAAI,EAAEC,CAAa;;UACvB,CAAAhC,EAAA,OAAI,CAACiC,QAAQ,cAAAjC,EAAA,uBAAAA,EAAA,CAAEkC,eAAe,CAAC,eAAe,CAAC;UAC/C,IAAIC,KAAK,GAAGH,CAAC,CAACI,MAAqB;UACnC,OAAMD,KAAK,KAAKH,CAAC,CAACK,aAAa,EAAE;YAC7B,IAAIF,KAAK,CAACG,YAAY,CAAC,aAAa,CAAC,KAAK,WAAW,EAAE;cACnDH,KAAK,CAACI,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC;cAC3C,IAAI,CAACN,QAAQ,GAAGE,KAAK;cACrB;;YAEJA,KAAK,GAAGA,KAAK,CAACK,aAAa;;QAEnC;OACH;MAlBSC,UAAA,EADLnF,MAAM,CAAC;QAAEoF,OAAO,EAAE;MAAa,CAAC,CAAC,E,6JAIjC;MAEDD,UAAA,EAACnF,MAAM,CAAC;QAAEoF,OAAO,EAAE;MAAO,CAAC,CAAC,E,8EACXC,UAAU,I,+EAW1B;IAAA;EAAA;AAAA","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -50,7 +50,7 @@ export default class AppDrawer extends Drawer {
|
|
|
50
50
|
|
|
51
51
|
this.user = SocialMailApp.user;
|
|
52
52
|
|
|
53
|
-
const { mailboxes, channels, drives, websites
|
|
53
|
+
const { mailboxes, channels, drives, websites } = await this.getItems();
|
|
54
54
|
|
|
55
55
|
this.renderer = <div>
|
|
56
56
|
<div
|
|
@@ -129,7 +129,7 @@ export default class AppDrawer extends Drawer {
|
|
|
129
129
|
commandLink={AppCommands.openWebSiteList.displayRoute({})}
|
|
130
130
|
/>
|
|
131
131
|
</ExpanderMenu> }
|
|
132
|
-
{stores.length && <ExpanderMenu isExpanded={false}>
|
|
132
|
+
{/* {stores.length && <ExpanderMenu isExpanded={false}>
|
|
133
133
|
<MenuItem
|
|
134
134
|
icon="fas fa-dollar"
|
|
135
135
|
label="Stores"
|
|
@@ -139,7 +139,7 @@ export default class AppDrawer extends Drawer {
|
|
|
139
139
|
label={s.folder.name}
|
|
140
140
|
commandLink={AppCommands.editStore.displayRoute({ id: s.folderID})}
|
|
141
141
|
/>)}
|
|
142
|
-
</ExpanderMenu>}
|
|
142
|
+
</ExpanderMenu>} */}
|
|
143
143
|
{ mailboxes.length && <MenuItem
|
|
144
144
|
icon="fas fa-money-check-pen"
|
|
145
145
|
label="Templates"
|
|
@@ -196,15 +196,14 @@ export default class AppDrawer extends Drawer {
|
|
|
196
196
|
async getItems() {
|
|
197
197
|
const ms = this.resolve(MailboxService);
|
|
198
198
|
const fs = this.resolve(CloudFileService);
|
|
199
|
-
const ss = this.resolve(StoreService);
|
|
200
|
-
const [mailboxes, channels, drives, websites
|
|
199
|
+
// const ss = this.resolve(StoreService);
|
|
200
|
+
const [mailboxes, channels, drives, websites] = await Promise.all([
|
|
201
201
|
ms.top(),
|
|
202
202
|
ms.top({ isChannel: true }),
|
|
203
203
|
fs.top(),
|
|
204
|
-
fs.topSites()
|
|
205
|
-
ss.top()
|
|
204
|
+
fs.topSites()
|
|
206
205
|
]);
|
|
207
|
-
return { mailboxes, channels, drives, websites
|
|
206
|
+
return { mailboxes, channels, drives, websites };
|
|
208
207
|
}
|
|
209
208
|
|
|
210
209
|
@Action({ onEvent: "user-logout"})
|