@social-mail/social-mail-client 1.9.158 → 1.9.159
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 +12 -5
- 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/site-editor-app/SiteEditorApp.pack.js +12 -5
- 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 +12 -5
- 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/dist/web/page/mails/contacts/list/MailboxContacts.d.ts +1 -0
- package/dist/web/page/mails/contacts/list/MailboxContacts.d.ts.map +1 -1
- package/dist/web/page/mails/contacts/list/MailboxContacts.js +12 -5
- package/dist/web/page/mails/contacts/list/MailboxContacts.js.map +1 -1
- package/package.json +1 -1
- package/src/web/page/mails/contacts/list/MailboxContacts.tsx +11 -5
|
@@ -42825,6 +42825,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
42825
42825
|
this.previousThread = null;
|
|
42826
42826
|
this.searchInMessages = false;
|
|
42827
42827
|
this.version = 1;
|
|
42828
|
+
this.folderVersion = 1;
|
|
42828
42829
|
this.conversationType = "open";
|
|
42829
42830
|
this.folder = null;
|
|
42830
42831
|
}
|
|
@@ -42880,7 +42881,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
42880
42881
|
class: "blocked-bar"
|
|
42881
42882
|
}, XNode.create(MailboxContactFolders, {
|
|
42882
42883
|
mailbox: this.currentMailbox,
|
|
42883
|
-
items: Bind.oneWay(() => prepareContactFolders(this.currentMailbox, this.
|
|
42884
|
+
items: Bind.oneWay(() => prepareContactFolders(this.currentMailbox, this.folderVersion)),
|
|
42884
42885
|
selectedFolder: this.filter ? this.folder.tagID + "/" + this.filter : this.folder.tagID
|
|
42885
42886
|
})), XNode.create(AtomRepeater, Object.assign({
|
|
42886
42887
|
class: "threads",
|
|
@@ -42985,6 +42986,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
42985
42986
|
}
|
|
42986
42987
|
onArchiveContact(mc) {
|
|
42987
42988
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42989
|
+
var _a;
|
|
42988
42990
|
const r = yield AskArchiveConfirmationPopup.showModal({
|
|
42989
42991
|
parameters: {},
|
|
42990
42992
|
modal: true
|
|
@@ -42997,21 +42999,26 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
42997
42999
|
mc.alwaysArchived = true;
|
|
42998
43000
|
}
|
|
42999
43001
|
yield this.entityService.save(mc, c => c);
|
|
43000
|
-
this.threadsRepeater.items.
|
|
43002
|
+
const i = this.threadsRepeater.items.indexOf(mc);
|
|
43003
|
+
this.threadsRepeater.items.removeAt(i);
|
|
43004
|
+
this.threadsRepeater.selectedItem = (_a = this.threadsRepeater.items[i]) !== null && _a !== void 0 ? _a : this.threadsRepeater.items[i - 1];
|
|
43001
43005
|
this.folder.count--;
|
|
43002
43006
|
this.folder.archivedCount++;
|
|
43003
|
-
this.
|
|
43007
|
+
this.folderVersion++;
|
|
43004
43008
|
});
|
|
43005
43009
|
}
|
|
43006
43010
|
unArchiveContact(mc) {
|
|
43007
43011
|
return __awaiter(this, void 0, void 0, function* () {
|
|
43012
|
+
var _a;
|
|
43008
43013
|
mc.archived = false;
|
|
43009
43014
|
mc.alwaysArchived = false;
|
|
43010
43015
|
yield this.entityService.save(mc, c => c);
|
|
43011
|
-
this.threadsRepeater.items.
|
|
43016
|
+
const i = this.threadsRepeater.items.indexOf(mc);
|
|
43017
|
+
this.threadsRepeater.items.removeAt(i);
|
|
43018
|
+
this.threadsRepeater.selectedItem = (_a = this.threadsRepeater.items[i]) !== null && _a !== void 0 ? _a : this.threadsRepeater.items[i - 1];
|
|
43012
43019
|
this.folder.archivedCount--;
|
|
43013
43020
|
this.folder.count++;
|
|
43014
|
-
this.
|
|
43021
|
+
this.folderVersion++;
|
|
43015
43022
|
});
|
|
43016
43023
|
}
|
|
43017
43024
|
openWebHooks() {
|