@social-mail/social-mail-client 1.2.613 → 1.2.615
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 +6 -20
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +2 -2
- 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.d.ts.map +1 -1
- package/dist/public/channel/ChannelView.js +19 -33
- package/dist/public/channel/ChannelView.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +62 -114
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +7 -10
- 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/site-editor/editor/webComponentsPath.d.ts +0 -1
- package/dist/site-editor/editor/webComponentsPath.d.ts.map +1 -1
- package/dist/site-editor/editor/webComponentsPath.js +1 -15
- package/dist/site-editor/editor/webComponentsPath.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +6 -20
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +2 -2
- 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/ChannelView.tsx +43 -27
- package/src/public/channel/PostView.tsx +2 -2
- package/src/public/channel/styles/channelViewStyle.ts +2 -0
- package/src/site-editor/editor/webComponentsPath.ts +15 -14
- package/src/web/page/mails/service/ConversationService.tsx +1 -1
|
@@ -28867,7 +28867,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28867
28867
|
}],
|
|
28868
28868
|
execute: function () {
|
|
28869
28869
|
_export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
|
|
28870
|
-
var _a, _b, _c;
|
|
28870
|
+
var _a, _b, _c, _d;
|
|
28871
28871
|
if (!value) {
|
|
28872
28872
|
e.innerHTML = "";
|
|
28873
28873
|
return;
|
|
@@ -28893,7 +28893,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28893
28893
|
const {
|
|
28894
28894
|
parentElement
|
|
28895
28895
|
} = node;
|
|
28896
|
-
if (parentElement.tagName !== "STYLE") {
|
|
28896
|
+
if (parentElement.tagName !== "STYLE" && ((_a = node.nodeValue) === null || _a === void 0 ? void 0 : _a.trim())) {
|
|
28897
28897
|
firstVisibleElement || (firstVisibleElement = node.parentElement);
|
|
28898
28898
|
}
|
|
28899
28899
|
}
|
|
@@ -28903,7 +28903,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28903
28903
|
const iterator = node;
|
|
28904
28904
|
let cid = iterator.getAttribute("data-content-id");
|
|
28905
28905
|
if (cid) {
|
|
28906
|
-
const a = (
|
|
28906
|
+
const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
|
|
28907
28907
|
if (a) {
|
|
28908
28908
|
iterator.setAttribute("src", a.url);
|
|
28909
28909
|
}
|
|
@@ -28916,7 +28916,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28916
28916
|
if (src) {
|
|
28917
28917
|
if (src.startsWith("cid:")) {
|
|
28918
28918
|
cid = src.substring(4);
|
|
28919
|
-
const a = (
|
|
28919
|
+
const a = (_c = mail.attachments) === null || _c === void 0 ? void 0 : _c.find(x => x.contentID === cid);
|
|
28920
28920
|
if (a) {
|
|
28921
28921
|
iterator.setAttribute("src", fileUrl(a));
|
|
28922
28922
|
}
|
|
@@ -28952,7 +28952,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28952
28952
|
const root = AncestorEnumerator.find(e, x => x.hasAttribute("data-msg-container"));
|
|
28953
28953
|
(root !== null && root !== void 0 ? root : e).setAttribute("has-poster", "true");
|
|
28954
28954
|
}
|
|
28955
|
-
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((
|
|
28955
|
+
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_d = thread.email) === null || _d === void 0 ? void 0 : _d.senderID)) {
|
|
28956
28956
|
const timeRead = DateTime.now;
|
|
28957
28957
|
thread.timeRead = timeRead;
|
|
28958
28958
|
const control = AtomControl.from(e);
|
|
@@ -52755,20 +52755,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
|
|
|
52755
52755
|
});
|
|
52756
52756
|
};
|
|
52757
52757
|
_export("WebComponents", WebComponents = class WebComponents {
|
|
52758
|
-
static run2(frame, doc) {
|
|
52759
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
52760
|
-
const url = this.path + "/dist/editable.js";
|
|
52761
|
-
const sandbox = frame.getAttribute("sandbox");
|
|
52762
|
-
frame.setAttribute("sandbox", "allow-same-origin allow-scripts allow-popups allow-forms");
|
|
52763
|
-
const text = yield FetchBuilder.get(url).responseAsText();
|
|
52764
|
-
const win = doc.defaultView;
|
|
52765
|
-
win.eval(`window.addEventListener("unsafeEval", (e) => eval(e.detail) , { once: true });`);
|
|
52766
|
-
win.dispatchEvent(new CustomEvent("unsafeEval", {
|
|
52767
|
-
detail: text
|
|
52768
|
-
}));
|
|
52769
|
-
setTimeout(() => frame.setAttribute("sandbox", ""), 100);
|
|
52770
|
-
});
|
|
52771
|
-
}
|
|
52772
52758
|
static run(frame, doc) {
|
|
52773
52759
|
return __awaiter(this, void 0, void 0, function* () {
|
|
52774
52760
|
const url = this.path + "/dist/editable.js";
|
|
@@ -52887,7 +52873,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
|
|
|
52887
52873
|
});
|
|
52888
52874
|
}
|
|
52889
52875
|
});
|
|
52890
|
-
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.
|
|
52876
|
+
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.129`;
|
|
52891
52877
|
}
|
|
52892
52878
|
};
|
|
52893
52879
|
});
|