@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.
Files changed (28) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +12 -5
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +3 -3
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/public/channel/ChannelView.pack.js +10 -2
  6. package/dist/public/channel/ChannelView.pack.js.map +1 -1
  7. package/dist/public/channel/ChannelView.pack.min.js +1 -1
  8. package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
  9. package/dist/tsconfig.tsbuildinfo +1 -1
  10. package/dist/web/AppIndex.pack.js +12 -5
  11. package/dist/web/AppIndex.pack.js.map +1 -1
  12. package/dist/web/AppIndex.pack.min.js +3 -3
  13. package/dist/web/AppIndex.pack.min.js.map +1 -1
  14. package/dist/web/page/mails/ComposeMailPage.js +1 -1
  15. package/dist/web/page/mails/ComposeMailPage.js.map +1 -1
  16. package/dist/web/page/mails/service/MailService.d.ts.map +1 -1
  17. package/dist/web/page/mails/service/MailService.js +1 -2
  18. package/dist/web/page/mails/service/MailService.js.map +1 -1
  19. package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.d.ts +2 -2
  20. package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.d.ts.map +1 -1
  21. package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.js +10 -2
  22. package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.js.map +1 -1
  23. package/node_modules/@web-atoms/entity/dist/tsconfig.tsbuildinfo +1 -1
  24. package/node_modules/@web-atoms/entity/package.json +1 -1
  25. package/node_modules/@web-atoms/entity/src/services/BaseEntityService.ts +15 -5
  26. package/package.json +2 -2
  27. package/src/web/page/mails/ComposeMailPage.tsx +1 -1
  28. 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
- const url = this.url;
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
- const cloner = this.entityService.cloner(email).include(x => x.recipients).include(x => x.attachments).copy;
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
  });