@social-mail/social-mail-client 1.0.86 → 1.0.88
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 +31 -18
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +3 -3
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/controls/menu/MenuItem.js +21 -17
- package/dist/common/controls/menu/MenuItem.js.map +1 -1
- package/dist/services/LoginService.js +9 -0
- package/dist/services/LoginService.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.js +3 -1
- package/dist/web/AppIndex.js.map +1 -1
- package/dist/web/AppIndex.pack.js +49 -22
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +4 -4
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/drawer/AppDrawer.js +15 -3
- package/dist/web/drawer/AppDrawer.js.map +1 -1
- package/dist/web/page/mails/service/MailService.js +1 -1
- package/dist/web/page/mails/service/MailService.js.map +1 -1
- package/package.json +1 -1
- package/src/common/controls/menu/MenuItem.tsx +6 -3
- package/src/services/LoginService.ts +8 -0
- package/src/web/AppIndex.tsx +1 -0
- package/src/web/drawer/AppDrawer.tsx +13 -2
- package/src/web/page/mails/service/MailService.ts +5 -1
|
@@ -13709,6 +13709,15 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
13709
13709
|
location.reload();
|
|
13710
13710
|
});
|
|
13711
13711
|
}
|
|
13712
|
+
logout() {
|
|
13713
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13714
|
+
const session = yield this.entityService.query(LoginSession, "currentUser").firstOrDefault();
|
|
13715
|
+
session.invalid = true;
|
|
13716
|
+
const cloner = this.entityService.cloner(session);
|
|
13717
|
+
yield this.entityService.save(cloner.copy);
|
|
13718
|
+
location.reload();
|
|
13719
|
+
});
|
|
13720
|
+
}
|
|
13712
13721
|
};
|
|
13713
13722
|
__decorate([Inject, __metadata("design:type", EntityService)], LoginService.prototype, "entityService", void 0);
|
|
13714
13723
|
LoginService = __decorate([DISingleton()], LoginService);
|
|
@@ -20687,7 +20696,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
20687
20696
|
q = q.where({
|
|
20688
20697
|
search,
|
|
20689
20698
|
likeSearch
|
|
20690
|
-
}, p => x => x.emailAddress.emailAddress === p.search || Sql.text.
|
|
20699
|
+
}, p => x => x.emailAddress.emailAddress === p.search || Sql.text.iLike(x.lastEmail.textBody, p.likeSearch) || Sql.text.iLike(x.lastEmail.subject, p.likeSearch) || Sql.text.iLike(x.emailAddress.name, p.likeSearch) || Sql.text.iLike(x.lastEmail.senderName, p.likeSearch));
|
|
20691
20700
|
}
|
|
20692
20701
|
return q.include(x => [x.emailAddress, x.lastEmail]).toPagedList({
|
|
20693
20702
|
start,
|
|
@@ -31178,38 +31187,40 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
31178
31187
|
|
|
31179
31188
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/pages/user/login/LoginPage");
|
|
31180
31189
|
|
|
31181
|
-
System.register(["@web-atoms/core/dist/core/XNode"], function (_export, _context) {
|
|
31190
|
+
System.register(["tslib", "@web-atoms/core/dist/core/XNode"], function (_export, _context) {
|
|
31182
31191
|
"use strict";
|
|
31183
31192
|
|
|
31184
|
-
var XNode;
|
|
31185
|
-
function MenuItem({
|
|
31186
|
-
|
|
31187
|
-
|
|
31188
|
-
|
|
31189
|
-
|
|
31190
|
-
|
|
31191
|
-
|
|
31192
|
-
|
|
31193
|
-
|
|
31194
|
-
|
|
31195
|
-
|
|
31193
|
+
var __rest, XNode;
|
|
31194
|
+
function MenuItem(_a) {
|
|
31195
|
+
var {
|
|
31196
|
+
label,
|
|
31197
|
+
icon = void 0,
|
|
31198
|
+
click = undefined,
|
|
31199
|
+
title = label,
|
|
31200
|
+
description = void 0,
|
|
31201
|
+
href = "",
|
|
31202
|
+
commandLink = "",
|
|
31203
|
+
target = undefined
|
|
31204
|
+
} = _a,
|
|
31205
|
+
a = __rest(_a, ["label", "icon", "click", "title", "description", "href", "commandLink", "target"]);
|
|
31206
|
+
return href || commandLink ? XNode.create("a", Object.assign({
|
|
31196
31207
|
"data-layout": "menu-item",
|
|
31197
31208
|
title: title,
|
|
31198
31209
|
"data-click-event": commandLink ? "route" : void 0,
|
|
31199
31210
|
href: href || commandLink,
|
|
31200
31211
|
target: target,
|
|
31201
31212
|
"event-click": click
|
|
31202
|
-
}, icon && XNode.create("i", {
|
|
31213
|
+
}, a), icon && XNode.create("i", {
|
|
31203
31214
|
class: icon
|
|
31204
31215
|
}), XNode.create("span", {
|
|
31205
31216
|
text: label
|
|
31206
31217
|
}), description && XNode.create("small", {
|
|
31207
31218
|
text: description
|
|
31208
|
-
})) : XNode.create("div", {
|
|
31219
|
+
})) : XNode.create("div", Object.assign({
|
|
31209
31220
|
title: title,
|
|
31210
31221
|
"data-layout": "menu-item",
|
|
31211
31222
|
"event-click": click
|
|
31212
|
-
}, icon && XNode.create("i", {
|
|
31223
|
+
}, a), icon && XNode.create("i", {
|
|
31213
31224
|
class: icon
|
|
31214
31225
|
}), XNode.create("span", {
|
|
31215
31226
|
text: label
|
|
@@ -31219,7 +31230,9 @@ System.register(["@web-atoms/core/dist/core/XNode"], function (_export, _context
|
|
|
31219
31230
|
}
|
|
31220
31231
|
_export("default", MenuItem);
|
|
31221
31232
|
return {
|
|
31222
|
-
setters: [function (
|
|
31233
|
+
setters: [function (_tslib) {
|
|
31234
|
+
__rest = _tslib.__rest;
|
|
31235
|
+
}, function (_webAtomsCoreDistCoreXNode) {
|
|
31223
31236
|
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
31224
31237
|
}],
|
|
31225
31238
|
execute: function () {}
|