@social-mail/social-mail-client 1.4.153 → 1.4.154
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/content/emails/welcome/welcome.html +14 -0
- package/dist/admin/AdminAppIndex.pack.js +9 -1
- 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 +9 -1
- 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 +9 -1
- 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 +2 -0
- package/dist/web/page/mails/mini-compose/MiniComposeBox.d.ts.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposeBox.js +5 -0
- package/dist/web/page/mails/mini-compose/MiniComposeBox.js.map +1 -1
- package/package.json +1 -1
- package/src/common/controls/mailboxes/MailboxDropDown.tsx +6 -2
- package/src/web/page/mails/mini-compose/MiniComposeBox.tsx +5 -1
|
@@ -34283,6 +34283,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
34283
34283
|
this.itemRenderer = mb => XNode.create("div", null, mb.emailAddress.name, " (", mb.emailAddress.emailAddress, ")");
|
|
34284
34284
|
}
|
|
34285
34285
|
init() {
|
|
34286
|
+
var _a;
|
|
34286
34287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34287
34288
|
this.search = "";
|
|
34288
34289
|
this.prompt = "From";
|
|
@@ -34290,9 +34291,11 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
34290
34291
|
items: Bind.oneWayAsync((s, e, cancelToken) => this.searchMailboxes(this.search, this.value, cancelToken))
|
|
34291
34292
|
}));
|
|
34292
34293
|
const subscribe = '%subscribe%';
|
|
34294
|
+
const value = (_a = this.value) !== null && _a !== void 0 ? _a : 0;
|
|
34293
34295
|
const item = yield this.entityService.query(Mailbox).where({
|
|
34296
|
+
value,
|
|
34294
34297
|
subscribe
|
|
34295
|
-
}, p => x => x.isChannel === false && !Sql.text.like(x.emailAddress.emailAddress, p.subscribe)).orderByDescending(x => x.dateUpdated).include(x => x.emailAddress).firstOrDefault();
|
|
34298
|
+
}, p => x => x.mailboxID === p.value || x.isChannel === false && !Sql.text.like(x.emailAddress.emailAddress, p.subscribe)).orderByDescending(x => x.dateUpdated).include(x => x.emailAddress).firstOrDefault();
|
|
34296
34299
|
this.items = [item];
|
|
34297
34300
|
this.selectedItem = item;
|
|
34298
34301
|
});
|
|
@@ -34498,6 +34501,11 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
34498
34501
|
}, this.showSender && XNode.create("div", {
|
|
34499
34502
|
"data-layout": "row"
|
|
34500
34503
|
}, "From: ", XNode.create(MailboxDropDown, {
|
|
34504
|
+
presenter: Bind.presenter(c => this.sender = c),
|
|
34505
|
+
"event-selection-changed": () => {
|
|
34506
|
+
var _a, _b;
|
|
34507
|
+
return this.draft.senderName = (_b = (_a = this.sender.selectedItem) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.draft.senderName;
|
|
34508
|
+
},
|
|
34501
34509
|
value: Bind.sourceTwoWays(this, x => x.source.draft.senderID)
|
|
34502
34510
|
})), XNode.create("div", {
|
|
34503
34511
|
"data-layout": "row",
|