@social-mail/social-mail-client 1.4.187 → 1.4.189
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 +8 -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/site-editor-app/SiteEditorApp.pack.js +8 -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 +8 -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/mini-compose/MiniComposeBox.d.ts +1 -0
- package/dist/web/page/mails/mini-compose/MiniComposeBox.d.ts.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposeBox.js +3 -2
- package/dist/web/page/mails/mini-compose/MiniComposeBox.js.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposePage.d.ts.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposePage.js +5 -4
- package/dist/web/page/mails/mini-compose/MiniComposePage.js.map +1 -1
- package/package.json +1 -1
- package/src/web/page/mails/mini-compose/MiniComposeBox.tsx +3 -1
- package/src/web/page/mails/mini-compose/MiniComposePage.tsx +4 -4
|
@@ -34131,7 +34131,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
34131
34131
|
System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/controls/AtomControl", "../../../../model/model", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/view-model/Action", "../../../../common/controls/audio/AudioRecorder", "../service/ConversationService", "@web-atoms/web-controls/dist/basic/AtomRepeater", "@web-atoms/core/dist/core/InjectProperty", "../../../../common/events/CommonEvents", "../service/MailService", "@web-atoms/date-time/dist/DateTime", "@web-atoms/core/dist/core/sleep", "../../../../common/controls/html/InlineHtmlEditorWithToolbar", "@web-atoms/web-controls/dist/html-editor/AtomHtmlEditor", "@web-atoms/web-controls/dist/html-editor/commands/Align", "@web-atoms/web-controls/dist/html-editor/commands/Bold", "@web-atoms/web-controls/dist/html-editor/commands/Italic", "@web-atoms/web-controls/dist/html-editor/commands/StrikeThrough", "@web-atoms/web-controls/dist/html-editor/commands/Underline", "@web-atoms/web-controls/dist/html-editor/commands/AddLink", "@web-atoms/web-controls/dist/html-editor/commands/Unlink", "@web-atoms/web-controls/dist/html-editor/commands/Separator", "./Insert", "@web-atoms/date-time/dist/TimeSpan", "./Attach", "@web-atoms/core/dist/core/types", "@web-atoms/email-dom/dist/DomToString", "../../../../common/controls/Loader", "@web-atoms/core/dist/web/core/AtomUI", "@web-atoms/web-controls/dist/basic/TitleEditor", "../../../../common/controls/email-recipients/EmailRecipientChips", "../../../../common/controls/mailboxes/MailboxDropDown", "../../../../common/fileUrl", "./styles/mini-compose.local.less"], function (_export, _context) {
|
|
34132
34132
|
"use strict";
|
|
34133
34133
|
|
|
34134
|
-
var __awaiter, __decorate, __metadata, XNode, AtomControl, AppFile, Email, EmailRecipient, Bind, Action, AudioRecorder, ConversationService, AtomRepeater, InjectProperty, CommonEvents, MailService, DateTime, sleep, MailHtmlEditor, Toolbar, Align, Bold, Italic, StrikeThrough, Underline, AddLink, Unlink, Separator, Insert, TimeSpan, Attach, CancelToken, DomToElement, Loader, descendentElementIterator, TitleEditor, EmailRecipientChips, MailboxDropDown, fileUrl, MiniComposeBox, css, defaultEmailBody, addRecipient;
|
|
34134
|
+
var __awaiter, __decorate, __metadata, XNode, AtomControl, AppFile, Email, EmailRecipient, Bind, Action, AudioRecorder, ConversationService, AtomRepeater, InjectProperty, CommonEvents, MailService, DateTime, sleep, MailHtmlEditor, Toolbar, Align, Bold, Italic, StrikeThrough, Underline, AddLink, Unlink, Separator, Insert, TimeSpan, Attach, CancelToken, DomToElement, Loader, descendentElementIterator, TitleEditor, EmailRecipientChips, MailboxDropDown, fileUrl, MiniComposeBox, css, defaultMessageBodyStyle, defaultEmailBody, addRecipient;
|
|
34135
34135
|
_export("default", void 0);
|
|
34136
34136
|
return {
|
|
34137
34137
|
setters: [function (_tslib) {
|
|
@@ -34211,7 +34211,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
34211
34211
|
}, function (_stylesMiniComposeLocalLess) {}],
|
|
34212
34212
|
execute: function () {
|
|
34213
34213
|
css = "mini-compose-page";
|
|
34214
|
-
|
|
34214
|
+
_export("defaultMessageBodyStyle", defaultMessageBodyStyle = `background-color: var(--message-body-background, canvas); color: var(--message-body-color, canvasText);`);
|
|
34215
|
+
defaultEmailBody = `<section style="${defaultMessageBodyStyle}">
|
|
34215
34216
|
<section contentEditable="true"> <br/></section>
|
|
34216
34217
|
<footer data-social-mail-commands="emoji-bar"></footer>
|
|
34217
34218
|
</section>`;
|
|
@@ -37003,7 +37004,7 @@ System.register(["@web-atoms/core/dist/core/XNode"], function (_export, _context
|
|
|
37003
37004
|
System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "../../../../model/model", "@web-atoms/email-dom/dist/DomToString", "@web-atoms/core/dist/core/XNode", "../../../../common/controls/email-recipients/EmailLabel", "./MiniComposeBox", "@web-atoms/core/dist/core/Bind", "../../../../common/controls/buttons/IconButton", "@web-atoms/core/dist/view-model/Action", "../../../../services/EntityService", "@web-atoms/core/dist/core/InjectProperty"], function (_export, _context) {
|
|
37004
37005
|
"use strict";
|
|
37005
37006
|
|
|
37006
|
-
var __awaiter, __decorate, __metadata, PopupWindowPage, AppFile, Email, EmailRecipient, DomToString, XNode, EmailLabel, MiniComposeBox, Bind, EmailIconTextButton, SaveIconTextButton, Action, EntityService, InjectProperty, MiniComposePage;
|
|
37007
|
+
var __awaiter, __decorate, __metadata, PopupWindowPage, AppFile, Email, EmailRecipient, DomToString, XNode, EmailLabel, MiniComposeBox, defaultMessageBodyStyle, Bind, EmailIconTextButton, SaveIconTextButton, Action, EntityService, InjectProperty, MiniComposePage;
|
|
37007
37008
|
_export("default", void 0);
|
|
37008
37009
|
return {
|
|
37009
37010
|
setters: [function (_tslib) {
|
|
@@ -37024,6 +37025,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37024
37025
|
EmailLabel = _commonControlsEmailRecipientsEmailLabel.default;
|
|
37025
37026
|
}, function (_MiniComposeBox) {
|
|
37026
37027
|
MiniComposeBox = _MiniComposeBox.default;
|
|
37028
|
+
defaultMessageBodyStyle = _MiniComposeBox.defaultMessageBodyStyle;
|
|
37027
37029
|
}, function (_webAtomsCoreDistCoreBind) {
|
|
37028
37030
|
Bind = _webAtomsCoreDistCoreBind.default;
|
|
37029
37031
|
}, function (_commonControlsButtonsIconButton) {
|
|
@@ -37115,7 +37117,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37115
37117
|
if (!((_a = this.parameters.thread) === null || _a === void 0 ? void 0 : _a.emailID)) {
|
|
37116
37118
|
this.title = "Compose";
|
|
37117
37119
|
htmlBody = DomToString(XNode.create("section", {
|
|
37118
|
-
style:
|
|
37120
|
+
style: defaultMessageBodyStyle
|
|
37119
37121
|
}, XNode.create("section", {
|
|
37120
37122
|
contentEditable: "true"
|
|
37121
37123
|
}, "\xa0", XNode.create("br", null))));
|
|
@@ -37139,7 +37141,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37139
37141
|
this.title = "Forward";
|
|
37140
37142
|
subject = "Fwd: " + emailSubject.replace(/(re|fwd)\s{0,5}\:\s{0,5}/g, "");
|
|
37141
37143
|
htmlBody = DomToString(XNode.create("section", {
|
|
37142
|
-
style:
|
|
37144
|
+
style: defaultMessageBodyStyle
|
|
37143
37145
|
}, XNode.create("section", {
|
|
37144
37146
|
contentEditable: "true"
|
|
37145
37147
|
}, "\xa0", XNode.create("br", null))));
|
|
@@ -37156,7 +37158,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
37156
37158
|
const cc = recipients === null || recipients === void 0 ? void 0 : recipients.filter(x => x.type === "cc");
|
|
37157
37159
|
subject = "Fwd: " + emailSubject.replace(/(re|fwd)\s{0,5}\:\s{0,5}/g, "");
|
|
37158
37160
|
htmlBody = DomToString(XNode.create("section", {
|
|
37159
|
-
style:
|
|
37161
|
+
style: defaultMessageBodyStyle
|
|
37160
37162
|
}, XNode.create("section", {
|
|
37161
37163
|
contentEditable: "true"
|
|
37162
37164
|
}, "\xa0", XNode.create("br", null)), XNode.create("blockquote", {
|