@social-mail/social-mail-client 1.2.730 → 1.2.732
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/admin/AdminAppIndex.pack.js +18 -7
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/MenuService.d.ts.map +1 -1
- package/dist/common/MenuService.js +18 -7
- package/dist/common/MenuService.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +18 -7
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +18 -7
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/MenuService.tsx +18 -7
|
@@ -43497,16 +43497,28 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
43497
43497
|
});
|
|
43498
43498
|
}
|
|
43499
43499
|
addMailbox(mb) {
|
|
43500
|
-
|
|
43500
|
+
if (this.mailboxes.some(m => m.mailboxID === mb.mailboxID)) {
|
|
43501
|
+
return;
|
|
43502
|
+
}
|
|
43503
|
+
this.mailboxes.insert(0, mb);
|
|
43501
43504
|
}
|
|
43502
43505
|
addWebSite(mb) {
|
|
43503
|
-
|
|
43506
|
+
if (this.websites.some(m => mb.folderID === mb.folderID)) {
|
|
43507
|
+
return;
|
|
43508
|
+
}
|
|
43509
|
+
this.websites.insert(0, mb);
|
|
43504
43510
|
}
|
|
43505
43511
|
addDrives(mb) {
|
|
43506
|
-
|
|
43512
|
+
if (this.drives.some(m => m.appFileID === mb.appFileID)) {
|
|
43513
|
+
return;
|
|
43514
|
+
}
|
|
43515
|
+
this.drives.insert(0, mb);
|
|
43507
43516
|
}
|
|
43508
43517
|
addChannel(mb) {
|
|
43509
|
-
this.
|
|
43518
|
+
if (this.channels.some(m => m.mailboxID === mb.mailboxID)) {
|
|
43519
|
+
return;
|
|
43520
|
+
}
|
|
43521
|
+
this.channels.insert(0, mb);
|
|
43510
43522
|
}
|
|
43511
43523
|
add(list, ...items) {
|
|
43512
43524
|
for (const item of items) {
|
|
@@ -43515,10 +43527,9 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
43515
43527
|
keys
|
|
43516
43528
|
} = model.schema;
|
|
43517
43529
|
if (list.some(m => keys.every(k => m[k.name] === item[k.name]))) {
|
|
43518
|
-
|
|
43530
|
+
continue;
|
|
43519
43531
|
}
|
|
43520
|
-
item
|
|
43521
|
-
list.insert(0, item);
|
|
43532
|
+
list.push(item);
|
|
43522
43533
|
}
|
|
43523
43534
|
}
|
|
43524
43535
|
};
|