@social-mail/social-mail-client 1.2.36 → 1.2.38

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.
@@ -18979,7 +18979,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
18979
18979
  appFileID
18980
18980
  }) => AppFile.create({
18981
18981
  appFileID,
18982
- $deleted: true
18982
+ isDeleted: true
18983
18983
  }));
18984
18984
  yield this.entityService.save(files);
18985
18985
  });
@@ -33267,7 +33267,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
33267
33267
  });
33268
33268
  }
33269
33269
  sendEmail() {
33270
- var _a, _b, _c, _d;
33270
+ var _a, _b, _c;
33271
33271
  return __awaiter(this, void 0, void 0, function* () {
33272
33272
  if (!((_a = this.draft) === null || _a === void 0 ? void 0 : _a.textBody)) {
33273
33273
  if (!((_c = (_b = this.draft) === null || _b === void 0 ? void 0 : _b.attachments) === null || _c === void 0 ? void 0 : _c.length)) {
@@ -33284,7 +33284,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
33284
33284
  this.draft.status = "scheduled";
33285
33285
  this.draft.dateSent = DateTime.now.add(TimeSpan.fromSeconds(30));
33286
33286
  yield this.mailService.send(this.draft);
33287
- (_d = this.draft) !== null && _d !== void 0 ? _d : this.draft = Email.create({
33287
+ this.draft = Email.create({
33288
33288
  htmlBody: `<div contentEditable="true"><p></p><br/></div>`,
33289
33289
  attachments: []
33290
33290
  });
@@ -39811,7 +39811,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
39811
39811
  this.root.children.remove(x => x.isDeleted || !(/^(text\/(html|css))$/i.test(x.contentType) || x.isFolder));
39812
39812
  this.root.children.sort((a, b) => a.isFolder ? -1 : 0);
39813
39813
  yield this.onItemExpanded(this.root);
39814
- if (!((_b = this.root.children) === null || _b === void 0 ? void 0 : _b.length)) {
39814
+ if (!((_b = this.root.children) === null || _b === void 0 ? void 0 : _b.some(f => f.name === "index.html"))) {
39815
39815
  yield this.createIndexHtml();
39816
39816
  return;
39817
39817
  }