@social-mail/social-mail-client 1.2.538 → 1.2.540
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 +23 -23
- 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/public/channel/ChannelView.pack.js +23 -23
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +2 -2
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/public/contact-us/ContactUsApp.pack.js +19 -19
- package/dist/public/contact-us/ContactUsApp.pack.js.map +1 -1
- package/dist/public/contact-us/ContactUsApp.pack.min.js +1 -1
- package/dist/public/contact-us/ContactUsApp.pack.min.js.map +1 -1
- package/dist/public/preview/pdf/PreviewPDF.pack.js +19 -19
- package/dist/public/preview/pdf/PreviewPDF.pack.js.map +1 -1
- package/dist/public/preview/pdf/PreviewPDF.pack.min.js +1 -1
- package/dist/public/preview/pdf/PreviewPDF.pack.min.js.map +1 -1
- package/dist/public/store/Store.pack.js +19 -19
- package/dist/public/store/Store.pack.js.map +1 -1
- package/dist/public/store/Store.pack.min.js +1 -1
- package/dist/public/store/Store.pack.min.js.map +1 -1
- package/dist/public/store/StoreApp.pack.js +19 -19
- package/dist/public/store/StoreApp.pack.js.map +1 -1
- package/dist/public/store/StoreApp.pack.min.js +1 -1
- package/dist/public/store/StoreApp.pack.min.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.js +19 -19
- package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
- package/dist/site-editor/SiteEditorApp.pack.js +19 -19
- package/dist/site-editor/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +23 -23
- 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 +4 -4
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/node_modules/@web-atoms/core/dist/style/styled.d.ts.map +1 -1
- package/node_modules/@web-atoms/core/dist/style/styled.js +19 -19
- package/node_modules/@web-atoms/core/dist/style/styled.js.map +1 -1
- package/node_modules/@web-atoms/core/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@web-atoms/core/package.json +1 -1
- package/node_modules/@web-atoms/core/src/style/styled.ts +19 -21
- package/package.json +2 -2
- package/src/web/page/mails/service/ConversationService.tsx +1 -1
|
@@ -8923,7 +8923,7 @@ System.register(["tslib", "../../core/AtomBinder", "../../core/AtomComponent", "
|
|
|
8923
8923
|
System.register([], function (_export, _context) {
|
|
8924
8924
|
"use strict";
|
|
8925
8925
|
|
|
8926
|
-
var StyleFragment, id, nextId, globalLow, global, globalHigh, localLow, local, localHigh, styles, styled, svgAsCssDataUrl;
|
|
8926
|
+
var StyleFragment, id, nextId, first, addMarker, globalLow, global, globalHigh, localLow, local, localHigh, styles, styled, svgAsCssDataUrl;
|
|
8927
8927
|
function* divide(text) {
|
|
8928
8928
|
const regex = /^(([^\{\n]+\{[\t\x20]*)|([^\n\}]*\}[^\S\n\r]*))$/gm;
|
|
8929
8929
|
let m;
|
|
@@ -8962,24 +8962,24 @@ System.register([], function (_export, _context) {
|
|
|
8962
8962
|
;
|
|
8963
8963
|
id = 1;
|
|
8964
8964
|
nextId = () => `styled-r${id++}`;
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
|
|
8981
|
-
|
|
8982
|
-
|
|
8965
|
+
first = document.head.firstElementChild;
|
|
8966
|
+
addMarker = name => {
|
|
8967
|
+
const m = document.createElement("meta");
|
|
8968
|
+
m.name = name;
|
|
8969
|
+
if (first) {
|
|
8970
|
+
first.insertAdjacentElement("afterend", m);
|
|
8971
|
+
} else {
|
|
8972
|
+
document.head.insertAdjacentElement("afterbegin", m);
|
|
8973
|
+
}
|
|
8974
|
+
first = m;
|
|
8975
|
+
return m;
|
|
8976
|
+
};
|
|
8977
|
+
globalLow = addMarker("global-low-style");
|
|
8978
|
+
global = addMarker("global-style");
|
|
8979
|
+
globalHigh = addMarker("global-high-style");
|
|
8980
|
+
localLow = addMarker("local-low-style");
|
|
8981
|
+
local = addMarker("local-style");
|
|
8982
|
+
localHigh = addMarker("local-high-style");
|
|
8983
8983
|
StyleFragment = class StyleFragment {
|
|
8984
8984
|
static newStyle({
|
|
8985
8985
|
selector = "",
|
|
@@ -28623,7 +28623,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28623
28623
|
}],
|
|
28624
28624
|
execute: function () {
|
|
28625
28625
|
_export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
|
|
28626
|
-
var _a, _b;
|
|
28626
|
+
var _a, _b, _c;
|
|
28627
28627
|
if (!value) {
|
|
28628
28628
|
e.innerHTML = "";
|
|
28629
28629
|
return;
|
|
@@ -28645,7 +28645,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28645
28645
|
for (const iterator of descendentElementIterator(msg)) {
|
|
28646
28646
|
let cid = iterator.getAttribute("data-content-id");
|
|
28647
28647
|
if (cid) {
|
|
28648
|
-
const a = mail.attachments.find(x => x.contentID === cid);
|
|
28648
|
+
const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
|
|
28649
28649
|
if (a) {
|
|
28650
28650
|
iterator.setAttribute("src", a.url);
|
|
28651
28651
|
continue;
|
|
@@ -28656,7 +28656,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28656
28656
|
if (src) {
|
|
28657
28657
|
if (src.startsWith("cid:")) {
|
|
28658
28658
|
cid = src.substring(4);
|
|
28659
|
-
const a = (
|
|
28659
|
+
const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
|
|
28660
28660
|
if (a) {
|
|
28661
28661
|
iterator.setAttribute("src", fileUrl(a));
|
|
28662
28662
|
}
|
|
@@ -28675,7 +28675,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28675
28675
|
mode: "open"
|
|
28676
28676
|
});
|
|
28677
28677
|
shadow.appendChild(msg);
|
|
28678
|
-
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((
|
|
28678
|
+
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_c = thread.email) === null || _c === void 0 ? void 0 : _c.senderID)) {
|
|
28679
28679
|
const timeRead = DateTime.now;
|
|
28680
28680
|
thread.timeRead = timeRead;
|
|
28681
28681
|
const control = AtomControl.from(e);
|