@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
|
@@ -9493,7 +9493,7 @@ System.register(["tslib", "../models/Cloner", "../models/IEntityModel", "./HttpS
|
|
|
9493
9493
|
System.register([], function (_export, _context) {
|
|
9494
9494
|
"use strict";
|
|
9495
9495
|
|
|
9496
|
-
var StyleFragment, id, nextId, globalLow, global, globalHigh, localLow, local, localHigh, styles, styled, svgAsCssDataUrl;
|
|
9496
|
+
var StyleFragment, id, nextId, first, addMarker, globalLow, global, globalHigh, localLow, local, localHigh, styles, styled, svgAsCssDataUrl;
|
|
9497
9497
|
function* divide(text) {
|
|
9498
9498
|
const regex = /^(([^\{\n]+\{[\t\x20]*)|([^\n\}]*\}[^\S\n\r]*))$/gm;
|
|
9499
9499
|
let m;
|
|
@@ -9532,24 +9532,24 @@ System.register([], function (_export, _context) {
|
|
|
9532
9532
|
;
|
|
9533
9533
|
id = 1;
|
|
9534
9534
|
nextId = () => `styled-r${id++}`;
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9535
|
+
first = document.head.firstElementChild;
|
|
9536
|
+
addMarker = name => {
|
|
9537
|
+
const m = document.createElement("meta");
|
|
9538
|
+
m.name = name;
|
|
9539
|
+
if (first) {
|
|
9540
|
+
first.insertAdjacentElement("afterend", m);
|
|
9541
|
+
} else {
|
|
9542
|
+
document.head.insertAdjacentElement("afterbegin", m);
|
|
9543
|
+
}
|
|
9544
|
+
first = m;
|
|
9545
|
+
return m;
|
|
9546
|
+
};
|
|
9547
|
+
globalLow = addMarker("global-low-style");
|
|
9548
|
+
global = addMarker("global-style");
|
|
9549
|
+
globalHigh = addMarker("global-high-style");
|
|
9550
|
+
localLow = addMarker("local-low-style");
|
|
9551
|
+
local = addMarker("local-style");
|
|
9552
|
+
localHigh = addMarker("local-high-style");
|
|
9553
9553
|
StyleFragment = class StyleFragment {
|
|
9554
9554
|
static newStyle({
|
|
9555
9555
|
selector = "",
|
|
@@ -23304,7 +23304,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
23304
23304
|
}],
|
|
23305
23305
|
execute: function () {
|
|
23306
23306
|
_export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
|
|
23307
|
-
var _a, _b;
|
|
23307
|
+
var _a, _b, _c;
|
|
23308
23308
|
if (!value) {
|
|
23309
23309
|
e.innerHTML = "";
|
|
23310
23310
|
return;
|
|
@@ -23326,7 +23326,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
23326
23326
|
for (const iterator of descendentElementIterator(msg)) {
|
|
23327
23327
|
let cid = iterator.getAttribute("data-content-id");
|
|
23328
23328
|
if (cid) {
|
|
23329
|
-
const a = mail.attachments.find(x => x.contentID === cid);
|
|
23329
|
+
const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
|
|
23330
23330
|
if (a) {
|
|
23331
23331
|
iterator.setAttribute("src", a.url);
|
|
23332
23332
|
continue;
|
|
@@ -23337,7 +23337,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
23337
23337
|
if (src) {
|
|
23338
23338
|
if (src.startsWith("cid:")) {
|
|
23339
23339
|
cid = src.substring(4);
|
|
23340
|
-
const a = (
|
|
23340
|
+
const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
|
|
23341
23341
|
if (a) {
|
|
23342
23342
|
iterator.setAttribute("src", fileUrl(a));
|
|
23343
23343
|
}
|
|
@@ -23356,7 +23356,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
23356
23356
|
mode: "open"
|
|
23357
23357
|
});
|
|
23358
23358
|
shadow.appendChild(msg);
|
|
23359
|
-
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((
|
|
23359
|
+
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_c = thread.email) === null || _c === void 0 ? void 0 : _c.senderID)) {
|
|
23360
23360
|
const timeRead = DateTime.now;
|
|
23361
23361
|
thread.timeRead = timeRead;
|
|
23362
23362
|
const control = AtomControl.from(e);
|