@social-mail/social-mail-client 1.9.161 → 1.9.162

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.
@@ -42984,9 +42984,10 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
42984
42984
  const item = this.threadsRepeater.items.find(x => x.mailboxID === mailboxID && x.emailAddressID === emailAddressID);
42985
42985
  this.threadsRepeater.refreshItem(item);
42986
42986
  }
42987
- onArchiveContact(mc) {
42987
+ onArchiveContact(mc, e) {
42988
42988
  return __awaiter(this, void 0, void 0, function* () {
42989
42989
  var _a, _b;
42990
+ e.preventDefault();
42990
42991
  const r = yield AskArchiveConfirmationPopup.showModal({
42991
42992
  parameters: {},
42992
42993
  modal: true
@@ -43008,9 +43009,10 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
43008
43009
  this.folderVersion++;
43009
43010
  });
43010
43011
  }
43011
- unArchiveContact(mc) {
43012
+ unArchiveContact(mc, e) {
43012
43013
  return __awaiter(this, void 0, void 0, function* () {
43013
43014
  var _a, _b;
43015
+ e.preventDefault();
43014
43016
  mc.archived = false;
43015
43017
  mc.alwaysArchived = false;
43016
43018
  yield this.entityService.save(mc, c => c);
@@ -43132,10 +43134,10 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
43132
43134
  }), __metadata("design:type", Function), __metadata("design:paramtypes", [Object]), __metadata("design:returntype", void 0)], MailboxContacts.prototype, "updateMailboxContact", null);
43133
43135
  __decorate([Action({
43134
43136
  onEvent: "archive-contact"
43135
- }), __metadata("design:type", Function), __metadata("design:paramtypes", [Object]), __metadata("design:returntype", Promise)], MailboxContacts.prototype, "onArchiveContact", null);
43137
+ }), __metadata("design:type", Function), __metadata("design:paramtypes", [Object, CustomEvent]), __metadata("design:returntype", Promise)], MailboxContacts.prototype, "onArchiveContact", null);
43136
43138
  __decorate([Action({
43137
43139
  onEvent: "unarchive-contact"
43138
- }), __metadata("design:type", Function), __metadata("design:paramtypes", [Object]), __metadata("design:returntype", Promise)], MailboxContacts.prototype, "unArchiveContact", null);
43140
+ }), __metadata("design:type", Function), __metadata("design:paramtypes", [Object, CustomEvent]), __metadata("design:returntype", Promise)], MailboxContacts.prototype, "unArchiveContact", null);
43139
43141
  __decorate([Action({
43140
43142
  onEvent: "open-web-hooks"
43141
43143
  }), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], MailboxContacts.prototype, "openWebHooks", null);