@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
|
@@ -24228,7 +24228,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24228
24228
|
}],
|
|
24229
24229
|
execute: function () {
|
|
24230
24230
|
_export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
|
|
24231
|
-
var _a, _b;
|
|
24231
|
+
var _a, _b, _c;
|
|
24232
24232
|
if (!value) {
|
|
24233
24233
|
e.innerHTML = "";
|
|
24234
24234
|
return;
|
|
@@ -24250,7 +24250,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24250
24250
|
for (const iterator of descendentElementIterator(msg)) {
|
|
24251
24251
|
let cid = iterator.getAttribute("data-content-id");
|
|
24252
24252
|
if (cid) {
|
|
24253
|
-
const a = mail.attachments.find(x => x.contentID === cid);
|
|
24253
|
+
const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
|
|
24254
24254
|
if (a) {
|
|
24255
24255
|
iterator.setAttribute("src", a.url);
|
|
24256
24256
|
continue;
|
|
@@ -24261,7 +24261,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24261
24261
|
if (src) {
|
|
24262
24262
|
if (src.startsWith("cid:")) {
|
|
24263
24263
|
cid = src.substring(4);
|
|
24264
|
-
const a = (
|
|
24264
|
+
const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
|
|
24265
24265
|
if (a) {
|
|
24266
24266
|
iterator.setAttribute("src", fileUrl(a));
|
|
24267
24267
|
}
|
|
@@ -24280,7 +24280,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24280
24280
|
mode: "open"
|
|
24281
24281
|
});
|
|
24282
24282
|
shadow.appendChild(msg);
|
|
24283
|
-
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((
|
|
24283
|
+
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_c = thread.email) === null || _c === void 0 ? void 0 : _c.senderID)) {
|
|
24284
24284
|
const timeRead = DateTime.now;
|
|
24285
24285
|
thread.timeRead = timeRead;
|
|
24286
24286
|
const control = AtomControl.from(e);
|
|
@@ -35477,7 +35477,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
35477
35477
|
yield this.conversationService.closeAllThreads(this.parameters);
|
|
35478
35478
|
});
|
|
35479
35479
|
}
|
|
35480
|
-
|
|
35480
|
+
closePermanent() {
|
|
35481
35481
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35482
35482
|
yield this.conversationService.closePermanently(this.parameters);
|
|
35483
35483
|
});
|
|
@@ -35729,7 +35729,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
35729
35729
|
__decorate([Action({
|
|
35730
35730
|
onEvent: "close-permanently",
|
|
35731
35731
|
confirm: "Are you sure, you wan to close this contact permanently?"
|
|
35732
|
-
}), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], ConversationPage.prototype, "
|
|
35732
|
+
}), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], ConversationPage.prototype, "closePermanent", null);
|
|
35733
35733
|
__decorate([Action({
|
|
35734
35734
|
onEvent: "open-threads",
|
|
35735
35735
|
confirm: "Are you sure you want to change this contact to normal?"
|
|
@@ -47564,7 +47564,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
|
|
|
47564
47564
|
});
|
|
47565
47565
|
}
|
|
47566
47566
|
});
|
|
47567
|
-
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.
|
|
47567
|
+
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.114`;
|
|
47568
47568
|
}
|
|
47569
47569
|
};
|
|
47570
47570
|
});
|