@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
|
@@ -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);
|
|
@@ -48024,20 +48024,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
|
|
|
48024
48024
|
});
|
|
48025
48025
|
};
|
|
48026
48026
|
_export("WebComponents", WebComponents = class WebComponents {
|
|
48027
|
-
static run2(frame, doc) {
|
|
48028
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
48029
|
-
const url = this.path + "/dist/editable.js";
|
|
48030
|
-
const sandbox = frame.getAttribute("sandbox");
|
|
48031
|
-
frame.setAttribute("sandbox", "allow-same-origin allow-scripts allow-popups allow-forms");
|
|
48032
|
-
const text = yield FetchBuilder.get(url).responseAsText();
|
|
48033
|
-
const win = doc.defaultView;
|
|
48034
|
-
win.eval(`window.addEventListener("unsafeEval", (e) => eval(e.detail) , { once: true });`);
|
|
48035
|
-
win.dispatchEvent(new CustomEvent("unsafeEval", {
|
|
48036
|
-
detail: text
|
|
48037
|
-
}));
|
|
48038
|
-
setTimeout(() => frame.setAttribute("sandbox", ""), 100);
|
|
48039
|
-
});
|
|
48040
|
-
}
|
|
48041
48027
|
static run(frame, doc) {
|
|
48042
48028
|
return __awaiter(this, void 0, void 0, function* () {
|
|
48043
48029
|
const url = this.path + "/dist/editable.js";
|
|
@@ -48156,7 +48142,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
|
|
|
48156
48142
|
});
|
|
48157
48143
|
}
|
|
48158
48144
|
});
|
|
48159
|
-
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.
|
|
48145
|
+
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.129`;
|
|
48160
48146
|
}
|
|
48161
48147
|
};
|
|
48162
48148
|
});
|