@social-mail/social-mail-client 1.4.157 → 1.4.159
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 +18 -6
- 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/common/controls/mailboxes/MailboxDropDown.d.ts.map +1 -1
- package/dist/common/controls/mailboxes/MailboxDropDown.js +5 -2
- package/dist/common/controls/mailboxes/MailboxDropDown.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +18 -6
- 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 +18 -6
- 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 +5 -0
- package/dist/web/page/mails/mini-compose/MiniComposePage.d.ts.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposePage.js +12 -3
- package/dist/web/page/mails/mini-compose/MiniComposePage.js.map +1 -1
- package/package.json +1 -1
- package/src/common/controls/mailboxes/MailboxDropDown.tsx +3 -0
- package/src/web/page/mails/ConversationPage.tsx +1 -1
- package/src/web/page/mails/mini-compose/MiniComposePage.tsx +10 -3
|
@@ -34294,10 +34294,10 @@ System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dis
|
|
|
34294
34294
|
|
|
34295
34295
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/controls/mailboxes/MailboxDropDown");
|
|
34296
34296
|
|
|
34297
|
-
System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atoms/web-controls/dist/basic/DropDown", "../../../services/EntityService", "../../../model/model", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/core/Bind", "../../Sql", "../../cache/CacheTTL"], function (_export, _context) {
|
|
34297
|
+
System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atoms/web-controls/dist/basic/DropDown", "../../../services/EntityService", "../../../model/model", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/core/Bind", "../../Sql", "../../cache/CacheTTL", "@web-atoms/core/dist/core/sleep"], function (_export, _context) {
|
|
34298
34298
|
"use strict";
|
|
34299
34299
|
|
|
34300
|
-
var __awaiter, __decorate, __metadata, InjectProperty, DropDown, EntityService, Mailbox, XNode, Bind, Sql, CacheTTL, MailboxDropDown, cacheSeconds, cacheVersion;
|
|
34300
|
+
var __awaiter, __decorate, __metadata, InjectProperty, DropDown, EntityService, Mailbox, XNode, Bind, Sql, CacheTTL, sleep, MailboxDropDown, cacheSeconds, cacheVersion;
|
|
34301
34301
|
_export("default", void 0);
|
|
34302
34302
|
return {
|
|
34303
34303
|
setters: [function (_tslib) {
|
|
@@ -34320,6 +34320,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
34320
34320
|
Sql = _Sql.Sql;
|
|
34321
34321
|
}, function (_cacheCacheTTL) {
|
|
34322
34322
|
CacheTTL = _cacheCacheTTL.CacheTTL;
|
|
34323
|
+
}, function (_webAtomsCoreDistCoreSleep) {
|
|
34324
|
+
sleep = _webAtomsCoreDistCoreSleep.default;
|
|
34323
34325
|
}],
|
|
34324
34326
|
execute: function () {
|
|
34325
34327
|
cacheSeconds = CacheTTL.seconds.oneMonth;
|
|
@@ -34340,6 +34342,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
34340
34342
|
items: Bind.oneWayAsync((s, e, cancelToken) => this.searchMailboxes(this.search, this.value, cancelToken))
|
|
34341
34343
|
}));
|
|
34342
34344
|
const subscribe = '%subscribe%';
|
|
34345
|
+
yield sleep(10);
|
|
34343
34346
|
const value = (_a = this.value) !== null && _a !== void 0 ? _a : 0;
|
|
34344
34347
|
let item = null;
|
|
34345
34348
|
if (value) {
|
|
@@ -37309,12 +37312,14 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37309
37312
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37310
37313
|
const {
|
|
37311
37314
|
htmlBody,
|
|
37312
|
-
attachments
|
|
37315
|
+
attachments,
|
|
37316
|
+
subject
|
|
37313
37317
|
} = this.prepareEmail();
|
|
37314
37318
|
const draft = Email.create({
|
|
37315
37319
|
senderID: (_b = (_a = this.parameters.thread) === null || _a === void 0 ? void 0 : _a.mailboxID) !== null && _b !== void 0 ? _b : null,
|
|
37316
37320
|
forwardedID: (_d = (_c = this.parameters.thread) === null || _c === void 0 ? void 0 : _c.emailID) !== null && _d !== void 0 ? _d : null,
|
|
37317
37321
|
htmlBody,
|
|
37322
|
+
subject: subject !== null && subject !== void 0 ? subject : "",
|
|
37318
37323
|
attachments
|
|
37319
37324
|
});
|
|
37320
37325
|
const to = [];
|
|
@@ -37373,9 +37378,11 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37373
37378
|
prepareEmail() {
|
|
37374
37379
|
var _a, _b;
|
|
37375
37380
|
this.title = "Forward";
|
|
37381
|
+
let subject = "";
|
|
37376
37382
|
let htmlBody;
|
|
37377
37383
|
let attachments = [];
|
|
37378
37384
|
if (!((_a = this.parameters.thread) === null || _a === void 0 ? void 0 : _a.emailID)) {
|
|
37385
|
+
this.title = "Compose";
|
|
37379
37386
|
htmlBody = DomToString(XNode.create("section", {
|
|
37380
37387
|
style: "background-color: white; color: black;"
|
|
37381
37388
|
}, XNode.create("section", {
|
|
@@ -37383,7 +37390,8 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37383
37390
|
}, "\xa0", XNode.create("br", null))));
|
|
37384
37391
|
return {
|
|
37385
37392
|
htmlBody,
|
|
37386
|
-
attachments
|
|
37393
|
+
attachments,
|
|
37394
|
+
subject
|
|
37387
37395
|
};
|
|
37388
37396
|
}
|
|
37389
37397
|
const {
|
|
@@ -37393,9 +37401,12 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37393
37401
|
asAttachment
|
|
37394
37402
|
} = this.parameters;
|
|
37395
37403
|
const {
|
|
37396
|
-
mimeFileID
|
|
37404
|
+
mimeFileID,
|
|
37405
|
+
subject: emailSubject
|
|
37397
37406
|
} = email;
|
|
37398
37407
|
if (asAttachment) {
|
|
37408
|
+
this.title = "Fowrard";
|
|
37409
|
+
subject = "Fwd: " + emailSubject.replace(/(re|fwd)\s{0,5}\:\s{0,5}/g, "");
|
|
37399
37410
|
htmlBody = DomToString(XNode.create("section", {
|
|
37400
37411
|
style: "background-color: white; color: black;"
|
|
37401
37412
|
}, XNode.create("section", {
|
|
@@ -37412,6 +37423,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37412
37423
|
} = email;
|
|
37413
37424
|
const to = recipients === null || recipients === void 0 ? void 0 : recipients.filter(x => x.type === "to");
|
|
37414
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, "");
|
|
37415
37427
|
htmlBody = DomToString(XNode.create("section", {
|
|
37416
37428
|
style: "background-color: white; color: black;"
|
|
37417
37429
|
}, XNode.create("section", {
|
|
@@ -38422,7 +38434,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
38422
38434
|
} = thread;
|
|
38423
38435
|
const email = Email.create({
|
|
38424
38436
|
parentID: emailID,
|
|
38425
|
-
subject: "Re: " + subject,
|
|
38437
|
+
subject: "Re: " + subject.replace(/(re|fwd)\s{0,5}\:\s{0,5}/g, ""),
|
|
38426
38438
|
textBody: emoji + "\n",
|
|
38427
38439
|
htmlBody: `<div>${emoji}</div>`,
|
|
38428
38440
|
engagement: emoji,
|