@social-mail/social-mail-client 1.8.267 → 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.global.css +1 -1
- package/dist/admin/AdminAppIndex.pack.global.css.map +1 -1
- 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/common/pages/websites/detail/WebSiteDetail.global.css +1 -1
- package/dist/common/pages/websites/detail/WebSiteDetail.global.css.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.global.css +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.global.css.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.global.css +1 -1
- package/dist/web/AppIndex.pack.global.css.map +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/common/pages/websites/detail/WebSiteDetail.global.css +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
|
@@ -27644,7 +27644,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
27644
27644
|
return FetchBuilder.get(path).asText();
|
|
27645
27645
|
}))();
|
|
27646
27646
|
_export("renderMailPromise", renderMailPromise = AtomControl.registerProperty("data-html", "html", (c, e, value) => __awaiter(void 0, void 0, void 0, function* () {
|
|
27647
|
-
var _a, _b, _c, _d, _e, _f;
|
|
27647
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
27648
27648
|
if (!value) {
|
|
27649
27649
|
e.innerHTML = "";
|
|
27650
27650
|
return;
|
|
@@ -27736,15 +27736,23 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
27736
27736
|
const container = document.createElement("msg-root");
|
|
27737
27737
|
msg.setAttribute("msg", "msg");
|
|
27738
27738
|
container.appendChild(msg);
|
|
27739
|
-
const root = AncestorEnumerator.find(e, x => x.tagName === "CHANNEL-POST" || x.hasAttribute("data-msg-container"));
|
|
27739
|
+
const root = (_e = AncestorEnumerator.find(e, x => x.tagName === "CHANNEL-POST" || x.hasAttribute("data-msg-container"))) !== null && _e !== void 0 ? _e : e;
|
|
27740
|
+
for (const a of Array.from(msg.querySelectorAll(`a[hash-tag]`))) {
|
|
27741
|
+
const tag = a.getAttribute("hash-tag");
|
|
27742
|
+
const tokens = tag.toLowerCase().split("/");
|
|
27743
|
+
if (tokens[0] !== "#price") {
|
|
27744
|
+
continue;
|
|
27745
|
+
}
|
|
27746
|
+
root.setAttribute("enable-buy", "true");
|
|
27747
|
+
}
|
|
27740
27748
|
if (/img|video/i.test(firstVisibleElement === null || firstVisibleElement === void 0 ? void 0 : firstVisibleElement.tagName)) {
|
|
27741
|
-
|
|
27749
|
+
root.setAttribute("has-poster", "true");
|
|
27742
27750
|
}
|
|
27743
|
-
const included = (
|
|
27751
|
+
const included = (_f = email.attachments) === null || _f === void 0 ? void 0 : _f.every(x => x.included);
|
|
27744
27752
|
if (included) {
|
|
27745
27753
|
(root !== null && root !== void 0 ? root : e).setAttribute("hide-media", "1");
|
|
27746
27754
|
}
|
|
27747
|
-
if (thread && !thread.timeRead && thread.mailboxID && thread.mailboxID !== ((
|
|
27755
|
+
if (thread && !thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_g = thread.email) === null || _g === void 0 ? void 0 : _g.senderID)) {
|
|
27748
27756
|
const timeRead = DateTime.now;
|
|
27749
27757
|
thread.timeRead = timeRead;
|
|
27750
27758
|
const es = c.app.resolve(EntityService);
|