@social-mail/social-mail-client 1.8.299 → 1.8.301
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 +36 -11
- 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/pages/websites/detail/reports/DailyVisitors.d.ts.map +1 -1
- package/dist/common/pages/websites/detail/reports/DailyVisitors.js +1 -1
- package/dist/common/pages/websites/detail/reports/DailyVisitors.js.map +1 -1
- package/dist/common/pages/websites/detail/reports/DailyVisitorsByCountry.d.ts.map +1 -1
- package/dist/common/pages/websites/detail/reports/DailyVisitorsByCountry.js +1 -1
- package/dist/common/pages/websites/detail/reports/DailyVisitorsByCountry.js.map +1 -1
- package/dist/common/pages/websites/detail/reports/DailyVisitorsByDevices.d.ts.map +1 -1
- package/dist/common/pages/websites/detail/reports/DailyVisitorsByDevices.js +1 -1
- package/dist/common/pages/websites/detail/reports/DailyVisitorsByDevices.js.map +1 -1
- package/dist/common/pages/websites/detail/reports/DailyVisitorsBySources.d.ts.map +1 -1
- package/dist/common/pages/websites/detail/reports/DailyVisitorsBySources.js +1 -1
- package/dist/common/pages/websites/detail/reports/DailyVisitorsBySources.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +36 -11
- 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 +36 -11
- 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 -1
- package/dist/web/page/mails/mini-compose/MiniComposeBox.d.ts.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposeBox.js +10 -5
- package/dist/web/page/mails/mini-compose/MiniComposeBox.js.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposePage.d.ts +1 -0
- package/dist/web/page/mails/mini-compose/MiniComposePage.d.ts.map +1 -1
- package/dist/web/page/mails/mini-compose/MiniComposePage.js +22 -2
- package/dist/web/page/mails/mini-compose/MiniComposePage.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/websites/detail/reports/DailyVisitors.tsx +1 -0
- package/src/common/pages/websites/detail/reports/DailyVisitorsByCountry.tsx +1 -0
- package/src/common/pages/websites/detail/reports/DailyVisitorsByDevices.tsx +1 -0
- package/src/common/pages/websites/detail/reports/DailyVisitorsBySources.tsx +1 -0
- package/src/web/page/mails/mini-compose/MiniComposeBox.tsx +12 -5
- package/src/web/page/mails/mini-compose/MiniComposePage.tsx +12 -0
|
@@ -35223,6 +35223,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
35223
35223
|
}
|
|
35224
35224
|
};
|
|
35225
35225
|
_export("default", MiniComposeBox = class MiniComposeBox extends AtomControl {
|
|
35226
|
+
get isEmpty() {
|
|
35227
|
+
var _a, _b;
|
|
35228
|
+
const {
|
|
35229
|
+
text
|
|
35230
|
+
} = this.editor.htmlTextContent;
|
|
35231
|
+
const isEmpty = !(text === null || text === void 0 ? void 0 : text.trim()) && !((_b = (_a = this.draft) === null || _a === void 0 ? void 0 : _a.attachments) === null || _b === void 0 ? void 0 : _b.length);
|
|
35232
|
+
return isEmpty;
|
|
35233
|
+
}
|
|
35226
35234
|
constructor(app, e) {
|
|
35227
35235
|
super(app, e);
|
|
35228
35236
|
this.mailboxContacts = [];
|
|
@@ -35519,17 +35527,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
35519
35527
|
}
|
|
35520
35528
|
sendEmail() {
|
|
35521
35529
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35522
|
-
var _a, _b;
|
|
35523
35530
|
const {
|
|
35524
35531
|
html,
|
|
35525
35532
|
text
|
|
35526
35533
|
} = this.editor.htmlTextContent;
|
|
35527
35534
|
this.draft.htmlBody = html;
|
|
35528
35535
|
this.draft.textBody = text;
|
|
35529
|
-
if (
|
|
35530
|
-
|
|
35531
|
-
throw new Error("Cannot send empty email");
|
|
35532
|
-
}
|
|
35536
|
+
if (this.isEmpty) {
|
|
35537
|
+
throw new Error("Cannot send empty email");
|
|
35533
35538
|
}
|
|
35534
35539
|
yield this.save();
|
|
35535
35540
|
const {
|
|
@@ -38141,10 +38146,10 @@ System.register(["@web-atoms/core/dist/core/XNode"], function (_export, _context
|
|
|
38141
38146
|
|
|
38142
38147
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/web/page/mails/mini-compose/MiniComposePage");
|
|
38143
38148
|
|
|
38144
|
-
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) {
|
|
38149
|
+
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", "@web-atoms/core/dist/web/services/PopupWindow"], function (_export, _context) {
|
|
38145
38150
|
"use strict";
|
|
38146
38151
|
|
|
38147
|
-
var __awaiter, __decorate, __metadata, PopupWindowPage, AppFile, Email, EmailRecipient, DomToString, XNode, EmailLabel, MiniComposeBox, defaultMessageBodyStyle, Bind, EmailIconTextButton, SaveIconTextButton, Action, EntityService, InjectProperty, MiniComposePage;
|
|
38152
|
+
var __awaiter, __decorate, __metadata, PopupWindowPage, AppFile, Email, EmailRecipient, DomToString, XNode, EmailLabel, MiniComposeBox, defaultMessageBodyStyle, Bind, EmailIconTextButton, SaveIconTextButton, Action, EntityService, InjectProperty, ConfirmPopup, MiniComposePage;
|
|
38148
38153
|
_export("default", void 0);
|
|
38149
38154
|
return {
|
|
38150
38155
|
setters: [function (_tslib) {
|
|
@@ -38177,6 +38182,8 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
38177
38182
|
EntityService = _servicesEntityService.default;
|
|
38178
38183
|
}, function (_webAtomsCoreDistCoreInjectProperty) {
|
|
38179
38184
|
InjectProperty = _webAtomsCoreDistCoreInjectProperty.default;
|
|
38185
|
+
}, function (_webAtomsCoreDistWebServicesPopupWindow) {
|
|
38186
|
+
ConfirmPopup = _webAtomsCoreDistWebServicesPopupWindow.ConfirmPopup;
|
|
38180
38187
|
}],
|
|
38181
38188
|
execute: function () {
|
|
38182
38189
|
_export("default", MiniComposePage = class MiniComposePage extends PopupWindowPage {
|
|
@@ -38238,6 +38245,24 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
38238
38245
|
})));
|
|
38239
38246
|
});
|
|
38240
38247
|
}
|
|
38248
|
+
requestCancel() {
|
|
38249
|
+
const _super = Object.create(null, {
|
|
38250
|
+
requestCancel: {
|
|
38251
|
+
get: () => super.requestCancel
|
|
38252
|
+
}
|
|
38253
|
+
});
|
|
38254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38255
|
+
if (!this.composer.isEmpty) {
|
|
38256
|
+
const result = yield ConfirmPopup.confirm({
|
|
38257
|
+
message: "Are you sure you want to cancel the compose?"
|
|
38258
|
+
});
|
|
38259
|
+
if (!result) {
|
|
38260
|
+
return;
|
|
38261
|
+
}
|
|
38262
|
+
}
|
|
38263
|
+
return _super.requestCancel.call(this);
|
|
38264
|
+
});
|
|
38265
|
+
}
|
|
38241
38266
|
sendEmail() {
|
|
38242
38267
|
return __awaiter(this, arguments, void 0, function* (send = false) {
|
|
38243
38268
|
if (send) {
|
|
@@ -44772,7 +44797,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "../../../
|
|
|
44772
44797
|
siteID,
|
|
44773
44798
|
start,
|
|
44774
44799
|
end
|
|
44775
|
-
}, p => x => x.siteID === p.siteID && x.date >= p.start && x.date <= p.end && x.duration === "daily" && x.category === "").toArray();
|
|
44800
|
+
}, p => x => x.siteID === p.siteID && x.date >= p.start && x.date <= p.end && x.duration === "daily" && x.category === "").orderBy(x => x.date).toArray();
|
|
44776
44801
|
this.renderChart({
|
|
44777
44802
|
title: "Daily",
|
|
44778
44803
|
type: "line",
|
|
@@ -44900,7 +44925,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "../../../
|
|
|
44900
44925
|
siteID,
|
|
44901
44926
|
start,
|
|
44902
44927
|
end
|
|
44903
|
-
}, p => x => x.siteID === p.siteID && x.date >= p.start && x.date <= p.end && x.duration === "daily" && Sql.text.like(x.category, "/country/%")).toArray();
|
|
44928
|
+
}, p => x => x.siteID === p.siteID && x.date >= p.start && x.date <= p.end && x.duration === "daily" && Sql.text.like(x.category, "/country/%")).orderBy(x => x.date).toArray();
|
|
44904
44929
|
const data = new ChartDataBuilder(daily, x => ({
|
|
44905
44930
|
x: x.date.day,
|
|
44906
44931
|
group: x.category.split("/").pop(),
|
|
@@ -44963,7 +44988,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "../../../
|
|
|
44963
44988
|
siteID,
|
|
44964
44989
|
start,
|
|
44965
44990
|
end
|
|
44966
|
-
}, p => x => x.siteID === p.siteID && x.date >= p.start && x.date <= p.end && x.duration === "daily" && Sql.text.like(x.category, "/devices/%") && Sql.text.indexOf(Sql.text.right(x.category, Sql.text.length(x.category) - 9), "/") === -1).toArray();
|
|
44991
|
+
}, p => x => x.siteID === p.siteID && x.date >= p.start && x.date <= p.end && x.duration === "daily" && Sql.text.like(x.category, "/devices/%") && Sql.text.indexOf(Sql.text.right(x.category, Sql.text.length(x.category) - 9), "/") === -1).orderBy(x => x.date).toArray();
|
|
44967
44992
|
const data = new ChartDataBuilder(daily, x => ({
|
|
44968
44993
|
x: x.date.day,
|
|
44969
44994
|
group: x.category.split("/").pop(),
|
|
@@ -45040,7 +45065,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "../../../
|
|
|
45040
45065
|
siteID,
|
|
45041
45066
|
start,
|
|
45042
45067
|
end
|
|
45043
|
-
}, p => x => x.siteID === p.siteID && x.date >= p.start && x.date <= p.end && x.duration === "daily" && Sql.text.like(x.category, "/source/%")).toArray();
|
|
45068
|
+
}, p => x => x.siteID === p.siteID && x.date >= p.start && x.date <= p.end && x.duration === "daily" && Sql.text.like(x.category, "/source/%")).orderBy(x => x.date).toArray();
|
|
45044
45069
|
const data = new ChartDataBuilder(daily, x => ({
|
|
45045
45070
|
x: x.date.day,
|
|
45046
45071
|
group: getHost(x.category),
|