@social-mail/social-mail-client 1.2.211 → 1.2.213
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 +12 -5
- 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/public/channel/ChannelView.pack.js +10 -2
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +1 -1
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +12 -5
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +3 -3
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/mails/ComposeMailPage.js +1 -1
- package/dist/web/page/mails/ComposeMailPage.js.map +1 -1
- package/dist/web/page/mails/service/MailService.d.ts.map +1 -1
- package/dist/web/page/mails/service/MailService.js +1 -2
- package/dist/web/page/mails/service/MailService.js.map +1 -1
- package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.d.ts +2 -2
- package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.d.ts.map +1 -1
- package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.js +10 -2
- package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.js.map +1 -1
- package/node_modules/@web-atoms/entity/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@web-atoms/entity/package.json +1 -1
- package/node_modules/@web-atoms/entity/src/services/BaseEntityService.ts +15 -5
- package/package.json +2 -2
- package/src/web/page/mails/ComposeMailPage.tsx +1 -1
- package/src/web/page/mails/service/MailService.ts +1 -2
|
@@ -12987,15 +12987,23 @@ System.register(["tslib", "../models/Cloner", "../models/IEntityModel", "./HttpS
|
|
|
12987
12987
|
body
|
|
12988
12988
|
});
|
|
12989
12989
|
}
|
|
12990
|
-
save(body, cloner) {
|
|
12990
|
+
save(body, cloner, trace) {
|
|
12991
12991
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12992
12992
|
if (Array.isArray(body) && body.length === 0) {
|
|
12993
12993
|
return body;
|
|
12994
12994
|
}
|
|
12995
|
-
|
|
12995
|
+
let url = this.url;
|
|
12996
12996
|
if (body instanceof Cloner) {
|
|
12997
12997
|
body = body.copy;
|
|
12998
12998
|
}
|
|
12999
|
+
if (trace) {
|
|
13000
|
+
const hasQuery = url.includes("?");
|
|
13001
|
+
if (hasQuery) {
|
|
13002
|
+
url = url += "&trace=true";
|
|
13003
|
+
} else {
|
|
13004
|
+
url = url += "?trace=true";
|
|
13005
|
+
}
|
|
13006
|
+
}
|
|
12999
13007
|
if (cloner) {
|
|
13000
13008
|
if (Array.isArray(body)) {
|
|
13001
13009
|
body = body.map(x => cloner(new Cloner(x)).copy);
|
|
@@ -22008,8 +22016,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
22008
22016
|
iterator.emailAddressText = iterator.emailAddressText.trim();
|
|
22009
22017
|
}
|
|
22010
22018
|
}
|
|
22011
|
-
|
|
22012
|
-
yield this.entityService.save(cloner);
|
|
22019
|
+
yield this.entityService.save(email, c => c.include(x => x.recipients).include(x => x.attachments));
|
|
22013
22020
|
CommonEvents.onEmailScheduled.dispatchEvent(email);
|
|
22014
22021
|
});
|
|
22015
22022
|
}
|
|
@@ -27007,7 +27014,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
27007
27014
|
name: iterator.file.name,
|
|
27008
27015
|
contentType: iterator.file.type,
|
|
27009
27016
|
contentDisposition: iterator.inline ? "inline" : "attachment",
|
|
27010
|
-
contentID: iterator.inline ? iterator.appFileID.toString() : void 0
|
|
27017
|
+
contentID: iterator.inline ? iterator.appFileID.toString(36) : void 0
|
|
27011
27018
|
}));
|
|
27012
27019
|
}
|
|
27013
27020
|
});
|