@social-mail/social-mail-client 1.8.268 → 1.8.269
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 +13 -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/public/channel/ChannelApp.pack.global.css +1 -1
- package/dist/public/channel/ChannelApp.pack.global.css.map +1 -1
- package/dist/public/channel/ChannelApp.pack.js +25 -6
- package/dist/public/channel/ChannelApp.pack.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
- package/dist/public/channel/controls/channel-post/ChannelPost.d.ts.map +1 -1
- package/dist/public/channel/controls/channel-post/ChannelPost.global.css +1 -1
- package/dist/public/channel/controls/channel-post/ChannelPost.global.css.map +1 -1
- package/dist/public/channel/controls/channel-post/ChannelPost.js +4 -1
- package/dist/public/channel/controls/channel-post/ChannelPost.js.map +1 -1
- package/dist/public/channel/pages/posts/ChannelPage.d.ts +3 -0
- package/dist/public/channel/pages/posts/ChannelPage.d.ts.map +1 -1
- package/dist/public/channel/pages/posts/ChannelPage.js +8 -0
- package/dist/public/channel/pages/posts/ChannelPage.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +13 -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 +13 -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/ConversationPage.d.ts.map +1 -1
- package/dist/web/page/mails/ConversationPage.js.map +1 -1
- package/dist/web/page/mails/service/ConversationService.d.ts.map +1 -1
- package/dist/web/page/mails/service/ConversationService.js +13 -5
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/package.json +1 -1
- package/src/public/channel/controls/channel-post/ChannelPost.global.css +17 -0
- package/src/public/channel/controls/channel-post/ChannelPost.tsx +5 -0
- package/src/public/channel/pages/posts/ChannelPage.tsx +6 -0
- package/src/web/page/mails/ConversationPage.tsx +6 -0
- package/src/web/page/mails/service/ConversationService.tsx +10 -2
|
@@ -28354,7 +28354,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28354
28354
|
return FetchBuilder.get(path).asText();
|
|
28355
28355
|
}))();
|
|
28356
28356
|
_export("renderMailPromise", renderMailPromise = AtomControl.registerProperty("data-html", "html", (c, e, value) => __awaiter(void 0, void 0, void 0, function* () {
|
|
28357
|
-
var _a, _b, _c, _d, _e, _f;
|
|
28357
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
28358
28358
|
if (!value) {
|
|
28359
28359
|
e.innerHTML = "";
|
|
28360
28360
|
return;
|
|
@@ -28446,15 +28446,23 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28446
28446
|
const container = document.createElement("msg-root");
|
|
28447
28447
|
msg.setAttribute("msg", "msg");
|
|
28448
28448
|
container.appendChild(msg);
|
|
28449
|
-
const root = AncestorEnumerator.find(e, x => x.tagName === "CHANNEL-POST" || x.hasAttribute("data-msg-container"));
|
|
28449
|
+
const root = (_e = AncestorEnumerator.find(e, x => x.tagName === "CHANNEL-POST" || x.hasAttribute("data-msg-container"))) !== null && _e !== void 0 ? _e : e;
|
|
28450
|
+
for (const a of Array.from(msg.querySelectorAll(`a[hash-tag]`))) {
|
|
28451
|
+
const tag = a.getAttribute("hash-tag");
|
|
28452
|
+
const tokens = tag.toLowerCase().split("/");
|
|
28453
|
+
if (tokens[0] !== "#price") {
|
|
28454
|
+
continue;
|
|
28455
|
+
}
|
|
28456
|
+
root.setAttribute("enable-buy", "true");
|
|
28457
|
+
}
|
|
28450
28458
|
if (/img|video/i.test(firstVisibleElement === null || firstVisibleElement === void 0 ? void 0 : firstVisibleElement.tagName)) {
|
|
28451
|
-
|
|
28459
|
+
root.setAttribute("has-poster", "true");
|
|
28452
28460
|
}
|
|
28453
|
-
const included = (
|
|
28461
|
+
const included = (_f = email.attachments) === null || _f === void 0 ? void 0 : _f.every(x => x.included);
|
|
28454
28462
|
if (included) {
|
|
28455
28463
|
(root !== null && root !== void 0 ? root : e).setAttribute("hide-media", "1");
|
|
28456
28464
|
}
|
|
28457
|
-
if (thread && !thread.timeRead && thread.mailboxID && thread.mailboxID !== ((
|
|
28465
|
+
if (thread && !thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_g = thread.email) === null || _g === void 0 ? void 0 : _g.senderID)) {
|
|
28458
28466
|
const timeRead = DateTime.now;
|
|
28459
28467
|
thread.timeRead = timeRead;
|
|
28460
28468
|
const es = c.app.resolve(EntityService);
|