@social-mail/social-mail-client 1.4.158 → 1.4.160
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 +15 -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/site-editor-app/SiteEditorApp.pack.js +15 -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.js +15 -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.js +1 -1
- package/dist/web/page/mails/ConversationPage.js.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposePage.d.ts +1 -0
- package/dist/web/page/mails/mini-compose/MiniComposePage.d.ts.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposePage.js +14 -4
- package/dist/web/page/mails/mini-compose/MiniComposePage.js.map +1 -1
- package/package.json +1 -1
- package/src/web/page/mails/ConversationPage.tsx +1 -1
- package/src/web/page/mails/mini-compose/MiniComposePage.tsx +11 -4
|
@@ -37312,12 +37312,14 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37312
37312
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37313
37313
|
const {
|
|
37314
37314
|
htmlBody,
|
|
37315
|
-
attachments
|
|
37315
|
+
attachments,
|
|
37316
|
+
subject
|
|
37316
37317
|
} = this.prepareEmail();
|
|
37317
37318
|
const draft = Email.create({
|
|
37318
37319
|
senderID: (_b = (_a = this.parameters.thread) === null || _a === void 0 ? void 0 : _a.mailboxID) !== null && _b !== void 0 ? _b : null,
|
|
37319
37320
|
forwardedID: (_d = (_c = this.parameters.thread) === null || _c === void 0 ? void 0 : _c.emailID) !== null && _d !== void 0 ? _d : null,
|
|
37320
37321
|
htmlBody,
|
|
37322
|
+
subject: subject !== null && subject !== void 0 ? subject : "",
|
|
37321
37323
|
attachments
|
|
37322
37324
|
});
|
|
37323
37325
|
const to = [];
|
|
@@ -37376,9 +37378,11 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37376
37378
|
prepareEmail() {
|
|
37377
37379
|
var _a, _b;
|
|
37378
37380
|
this.title = "Forward";
|
|
37381
|
+
let subject = "";
|
|
37379
37382
|
let htmlBody;
|
|
37380
37383
|
let attachments = [];
|
|
37381
37384
|
if (!((_a = this.parameters.thread) === null || _a === void 0 ? void 0 : _a.emailID)) {
|
|
37385
|
+
this.title = "Compose";
|
|
37382
37386
|
htmlBody = DomToString(XNode.create("section", {
|
|
37383
37387
|
style: "background-color: white; color: black;"
|
|
37384
37388
|
}, XNode.create("section", {
|
|
@@ -37386,7 +37390,8 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37386
37390
|
}, "\xa0", XNode.create("br", null))));
|
|
37387
37391
|
return {
|
|
37388
37392
|
htmlBody,
|
|
37389
|
-
attachments
|
|
37393
|
+
attachments,
|
|
37394
|
+
subject
|
|
37390
37395
|
};
|
|
37391
37396
|
}
|
|
37392
37397
|
const {
|
|
@@ -37396,9 +37401,12 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37396
37401
|
asAttachment
|
|
37397
37402
|
} = this.parameters;
|
|
37398
37403
|
const {
|
|
37399
|
-
mimeFileID
|
|
37404
|
+
mimeFileID,
|
|
37405
|
+
subject: emailSubject
|
|
37400
37406
|
} = email;
|
|
37401
37407
|
if (asAttachment) {
|
|
37408
|
+
this.title = "Fowrard";
|
|
37409
|
+
subject = "Fwd: " + emailSubject.replace(/(re|fwd)\s{0,5}\:\s{0,5}/g, "");
|
|
37402
37410
|
htmlBody = DomToString(XNode.create("section", {
|
|
37403
37411
|
style: "background-color: white; color: black;"
|
|
37404
37412
|
}, XNode.create("section", {
|
|
@@ -37415,6 +37423,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37415
37423
|
} = email;
|
|
37416
37424
|
const to = recipients === null || recipients === void 0 ? void 0 : recipients.filter(x => x.type === "to");
|
|
37417
37425
|
const cc = recipients === null || recipients === void 0 ? void 0 : recipients.filter(x => x.type === "cc");
|
|
37426
|
+
subject = "Fwd: " + emailSubject.replace(/(re|fwd)\s{0,5}\:\s{0,5}/g, "");
|
|
37418
37427
|
htmlBody = DomToString(XNode.create("section", {
|
|
37419
37428
|
style: "background-color: white; color: black;"
|
|
37420
37429
|
}, XNode.create("section", {
|
|
@@ -37445,7 +37454,8 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37445
37454
|
}
|
|
37446
37455
|
return {
|
|
37447
37456
|
htmlBody,
|
|
37448
|
-
attachments
|
|
37457
|
+
attachments,
|
|
37458
|
+
subject
|
|
37449
37459
|
};
|
|
37450
37460
|
}
|
|
37451
37461
|
});
|
|
@@ -38425,7 +38435,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
38425
38435
|
} = thread;
|
|
38426
38436
|
const email = Email.create({
|
|
38427
38437
|
parentID: emailID,
|
|
38428
|
-
subject: "Re: " + subject,
|
|
38438
|
+
subject: "Re: " + subject.replace(/(re|fwd)\s{0,5}\:\s{0,5}/g, ""),
|
|
38429
38439
|
textBody: emoji + "\n",
|
|
38430
38440
|
htmlBody: `<div>${emoji}</div>`,
|
|
38431
38441
|
engagement: emoji,
|