@social-mail/social-mail-client 1.0.99 → 1.0.101

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.
@@ -18070,7 +18070,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
18070
18070
  parentID
18071
18071
  }) {
18072
18072
  return __awaiter(this, void 0, void 0, function* () {
18073
- const dateCreated = DateTime.utcNow;
18073
+ const dateCreated = DateTime.now;
18074
18074
  const r = yield this.entityService.save(AppFile.create({
18075
18075
  name,
18076
18076
  parentID,
@@ -19262,7 +19262,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
19262
19262
  resetPassword() {
19263
19263
  return __awaiter(this, void 0, void 0, function* () {
19264
19264
  const entityService = this.resolve(EntityService);
19265
- this.model.dateUpdated = DateTime.utcNow;
19265
+ this.model.dateUpdated = DateTime.now;
19266
19266
  const clone = entityService.cloner(this.model).include(x => x.changePassword).copy;
19267
19267
  yield entityService.save(clone);
19268
19268
  });
@@ -21089,7 +21089,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
21089
21089
  });
21090
21090
  shadow.appendChild(msg);
21091
21091
  if (!thread.timeRead) {
21092
- const timeRead = DateTime.utcNow;
21092
+ const timeRead = DateTime.now;
21093
21093
  thread.timeRead = timeRead;
21094
21094
  const control = AtomControl.from(e);
21095
21095
  const entityService = control.app.resolve(EntityService);
@@ -21124,7 +21124,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
21124
21124
  search
21125
21125
  }, p => x => Sql.text.iLike(x.email.subject, p.search) || Sql.text.iLike(x.email.textBody, p.search));
21126
21126
  }
21127
- const emails = yield q.include(x => [x.email.recipients.forEach(r => r.emailAddress), x.email.attachments, x.email.senderUser, x.email.senderEmail]).orderByDescending(x => x.email.dateReceived).toPagedList({
21127
+ const emails = yield q.include(x => [x.email.recipients.forEach(r => r.emailAddress), x.email.attachments, x.email.senderUser, x.email.senderEmail]).orderByDescending(x => x.dateReceived).toPagedList({
21128
21128
  start,
21129
21129
  size,
21130
21130
  cancelToken
@@ -25621,7 +25621,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
25621
25621
  }
25622
25622
  this.model.senderID = this.parameters.mailboxID;
25623
25623
  this.model.status = "scheduled";
25624
- this.model.dateSent = DateTime.utcNow;
25624
+ this.model.dateSent = DateTime.now;
25625
25625
  yield this.mailService.send(this.model);
25626
25626
  });
25627
25627
  }
@@ -25948,7 +25948,7 @@ System.register(["@web-atoms/date-time/dist/DateTime"], function (_export, _cont
25948
25948
  return "";
25949
25949
  }
25950
25950
  d = DateTime.from(d);
25951
- const now = DateTime.utcNow;
25951
+ const now = DateTime.now;
25952
25952
  if (now < d) {
25953
25953
  return "in " + DateFormats.diff(d);
25954
25954
  }