@social-mail/social-mail-client 1.2.537 → 1.2.539
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 +7 -7
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +3 -3
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +4 -4
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +1 -1
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/site-editor/editor/webComponentsPath.d.ts.map +1 -1
- package/dist/site-editor/editor/webComponentsPath.js +1 -1
- package/dist/site-editor/editor/webComponentsPath.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +7 -7
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +3 -3
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/mails/ConversationPage.d.ts +1 -1
- package/dist/web/page/mails/ConversationPage.d.ts.map +1 -1
- package/dist/web/page/mails/ConversationPage.js +2 -2
- package/dist/web/page/mails/ConversationPage.js.map +1 -1
- package/dist/web/page/mails/service/ConversationService.js +4 -4
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/webComponentsPath.ts +4 -1
- package/src/web/page/mails/ConversationPage.tsx +1 -5
- package/src/web/page/mails/service/ConversationService.tsx +1 -1
|
@@ -28623,7 +28623,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28623
28623
|
}],
|
|
28624
28624
|
execute: function () {
|
|
28625
28625
|
_export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
|
|
28626
|
-
var _a, _b;
|
|
28626
|
+
var _a, _b, _c;
|
|
28627
28627
|
if (!value) {
|
|
28628
28628
|
e.innerHTML = "";
|
|
28629
28629
|
return;
|
|
@@ -28645,7 +28645,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28645
28645
|
for (const iterator of descendentElementIterator(msg)) {
|
|
28646
28646
|
let cid = iterator.getAttribute("data-content-id");
|
|
28647
28647
|
if (cid) {
|
|
28648
|
-
const a = mail.attachments.find(x => x.contentID === cid);
|
|
28648
|
+
const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
|
|
28649
28649
|
if (a) {
|
|
28650
28650
|
iterator.setAttribute("src", a.url);
|
|
28651
28651
|
continue;
|
|
@@ -28656,7 +28656,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28656
28656
|
if (src) {
|
|
28657
28657
|
if (src.startsWith("cid:")) {
|
|
28658
28658
|
cid = src.substring(4);
|
|
28659
|
-
const a = (
|
|
28659
|
+
const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
|
|
28660
28660
|
if (a) {
|
|
28661
28661
|
iterator.setAttribute("src", fileUrl(a));
|
|
28662
28662
|
}
|
|
@@ -28675,7 +28675,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28675
28675
|
mode: "open"
|
|
28676
28676
|
});
|
|
28677
28677
|
shadow.appendChild(msg);
|
|
28678
|
-
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((
|
|
28678
|
+
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_c = thread.email) === null || _c === void 0 ? void 0 : _c.senderID)) {
|
|
28679
28679
|
const timeRead = DateTime.now;
|
|
28680
28680
|
thread.timeRead = timeRead;
|
|
28681
28681
|
const control = AtomControl.from(e);
|
|
@@ -44162,7 +44162,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
44162
44162
|
yield this.conversationService.closeAllThreads(this.parameters);
|
|
44163
44163
|
});
|
|
44164
44164
|
}
|
|
44165
|
-
|
|
44165
|
+
closePermanent() {
|
|
44166
44166
|
return __awaiter(this, void 0, void 0, function* () {
|
|
44167
44167
|
yield this.conversationService.closePermanently(this.parameters);
|
|
44168
44168
|
});
|
|
@@ -44414,7 +44414,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
44414
44414
|
__decorate([Action({
|
|
44415
44415
|
onEvent: "close-permanently",
|
|
44416
44416
|
confirm: "Are you sure, you wan to close this contact permanently?"
|
|
44417
|
-
}), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], ConversationPage.prototype, "
|
|
44417
|
+
}), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], ConversationPage.prototype, "closePermanent", null);
|
|
44418
44418
|
__decorate([Action({
|
|
44419
44419
|
onEvent: "open-threads",
|
|
44420
44420
|
confirm: "Are you sure you want to change this contact to normal?"
|
|
@@ -52295,7 +52295,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
|
|
|
52295
52295
|
});
|
|
52296
52296
|
}
|
|
52297
52297
|
});
|
|
52298
|
-
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.
|
|
52298
|
+
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.114`;
|
|
52299
52299
|
}
|
|
52300
52300
|
};
|
|
52301
52301
|
});
|