@social-mail/social-mail-client 1.4.134 → 1.4.135
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 +7 -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/common/controls/mailboxes/MailboxDropDown.d.ts.map +1 -1
- package/dist/common/controls/mailboxes/MailboxDropDown.js +4 -1
- package/dist/common/controls/mailboxes/MailboxDropDown.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +7 -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 +7 -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/mini-compose/MiniComposeBox.d.ts.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposeBox.js +3 -4
- package/dist/web/page/mails/mini-compose/MiniComposeBox.js.map +1 -1
- package/package.json +1 -1
- package/src/common/controls/mailboxes/MailboxDropDown.tsx +5 -1
- package/src/web/page/mails/mini-compose/MiniComposeBox.tsx +3 -92
|
@@ -34252,7 +34252,10 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
34252
34252
|
this.render(XNode.create("div", {
|
|
34253
34253
|
items: Bind.oneWayAsync((s, e, cancelToken) => this.searchMailboxes(this.search, this.value, cancelToken))
|
|
34254
34254
|
}));
|
|
34255
|
-
const
|
|
34255
|
+
const subscribe = '%subscribe%';
|
|
34256
|
+
const item = yield this.entityService.query(Mailbox).where({
|
|
34257
|
+
subscribe
|
|
34258
|
+
}, p => x => x.isChannel === false && !Sql.text.like(x.emailAddress.emailAddress, p.subscribe)).orderByDescending(x => x.dateUpdated).include(x => x.emailAddress).firstOrDefault();
|
|
34256
34259
|
this.items = [item];
|
|
34257
34260
|
this.selectedItem = item;
|
|
34258
34261
|
});
|
|
@@ -34455,10 +34458,10 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
34455
34458
|
this.renderer = XNode.create("div", null, XNode.create("div", {
|
|
34456
34459
|
"data-layout": "vertical-flex-stretch-items",
|
|
34457
34460
|
"style-width": "100%"
|
|
34458
|
-
},
|
|
34461
|
+
}, this.showSender && XNode.create("div", {
|
|
34459
34462
|
"data-layout": "row"
|
|
34460
34463
|
}, "From: ", XNode.create(MailboxDropDown, {
|
|
34461
|
-
value: Bind.sourceTwoWays(this, x => x.source.senderID)
|
|
34464
|
+
value: Bind.sourceTwoWays(this, x => x.source.draft.senderID)
|
|
34462
34465
|
})), XNode.create("div", {
|
|
34463
34466
|
"data-layout": "row",
|
|
34464
34467
|
"style-display": Bind.source(this, x => x.source.showTo)
|
|
@@ -34701,7 +34704,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
34701
34704
|
const saved = this.draft;
|
|
34702
34705
|
this.draft = Email.create({
|
|
34703
34706
|
subject: "",
|
|
34704
|
-
senderID:
|
|
34707
|
+
senderID: saved.senderID,
|
|
34705
34708
|
htmlBody: defaultEmailBody,
|
|
34706
34709
|
attachments: []
|
|
34707
34710
|
});
|
|
@@ -34733,7 +34736,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
34733
34736
|
if (prevSave) {
|
|
34734
34737
|
yield prevSave;
|
|
34735
34738
|
}
|
|
34736
|
-
this.draft.senderID = this.senderID;
|
|
34737
34739
|
addRecipient(this.draft, this.to, "to");
|
|
34738
34740
|
addRecipient(this.draft, this.cc, "cc");
|
|
34739
34741
|
addRecipient(this.draft, this.bcc, "bcc");
|