@social-mail/social-mail-client 1.2.613 → 1.2.614
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 +5 -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/common/CDN.d.ts +4 -0
- package/dist/common/CDN.d.ts.map +1 -0
- package/dist/common/CDN.js +20 -0
- package/dist/common/CDN.js.map +1 -0
- package/dist/model/model.d.ts +1 -0
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js.map +1 -1
- package/dist/public/channel/BlogImageService.d.ts.map +1 -1
- package/dist/public/channel/BlogImageService.js +5 -3
- package/dist/public/channel/BlogImageService.js.map +1 -1
- package/dist/public/channel/BlogService.d.ts.map +1 -1
- package/dist/public/channel/BlogService.js +5 -3
- package/dist/public/channel/BlogService.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +42 -13
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +6 -4
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/public/channel/PostView.js +1 -1
- package/dist/public/channel/PostView.js.map +1 -1
- package/dist/public/channel/styles/channelViewStyle.d.ts.map +1 -1
- package/dist/public/channel/styles/channelViewStyle.js +2 -0
- package/dist/public/channel/styles/channelViewStyle.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js.map +1 -1
- package/dist/public/store/Store.pack.js.map +1 -1
- package/dist/public/store/Store.pack.min.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +5 -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/service/ConversationService.js +5 -5
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/package.json +1 -1
- package/src/common/CDN.ts +12 -0
- package/src/model/model.ts +1 -0
- package/src/public/channel/BlogImageService.ts +2 -1
- package/src/public/channel/BlogService.ts +2 -1
- package/src/public/channel/PostView.tsx +2 -2
- package/src/public/channel/styles/channelViewStyle.ts +2 -0
- package/src/web/page/mails/service/ConversationService.tsx +1 -1
|
@@ -24328,7 +24328,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24328
24328
|
}],
|
|
24329
24329
|
execute: function () {
|
|
24330
24330
|
_export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
|
|
24331
|
-
var _a, _b, _c;
|
|
24331
|
+
var _a, _b, _c, _d;
|
|
24332
24332
|
if (!value) {
|
|
24333
24333
|
e.innerHTML = "";
|
|
24334
24334
|
return;
|
|
@@ -24354,7 +24354,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24354
24354
|
const {
|
|
24355
24355
|
parentElement
|
|
24356
24356
|
} = node;
|
|
24357
|
-
if (parentElement.tagName !== "STYLE") {
|
|
24357
|
+
if (parentElement.tagName !== "STYLE" && ((_a = node.nodeValue) === null || _a === void 0 ? void 0 : _a.trim())) {
|
|
24358
24358
|
firstVisibleElement || (firstVisibleElement = node.parentElement);
|
|
24359
24359
|
}
|
|
24360
24360
|
}
|
|
@@ -24364,7 +24364,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24364
24364
|
const iterator = node;
|
|
24365
24365
|
let cid = iterator.getAttribute("data-content-id");
|
|
24366
24366
|
if (cid) {
|
|
24367
|
-
const a = (
|
|
24367
|
+
const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
|
|
24368
24368
|
if (a) {
|
|
24369
24369
|
iterator.setAttribute("src", a.url);
|
|
24370
24370
|
}
|
|
@@ -24377,7 +24377,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24377
24377
|
if (src) {
|
|
24378
24378
|
if (src.startsWith("cid:")) {
|
|
24379
24379
|
cid = src.substring(4);
|
|
24380
|
-
const a = (
|
|
24380
|
+
const a = (_c = mail.attachments) === null || _c === void 0 ? void 0 : _c.find(x => x.contentID === cid);
|
|
24381
24381
|
if (a) {
|
|
24382
24382
|
iterator.setAttribute("src", fileUrl(a));
|
|
24383
24383
|
}
|
|
@@ -24413,7 +24413,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24413
24413
|
const root = AncestorEnumerator.find(e, x => x.hasAttribute("data-msg-container"));
|
|
24414
24414
|
(root !== null && root !== void 0 ? root : e).setAttribute("has-poster", "true");
|
|
24415
24415
|
}
|
|
24416
|
-
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((
|
|
24416
|
+
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_d = thread.email) === null || _d === void 0 ? void 0 : _d.senderID)) {
|
|
24417
24417
|
const timeRead = DateTime.now;
|
|
24418
24418
|
thread.timeRead = timeRead;
|
|
24419
24419
|
const control = AtomControl.from(e);
|