@social-mail/social-mail-client 1.0.41 → 1.0.42

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.
@@ -18410,6 +18410,12 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
18410
18410
  }
18411
18411
  save(model) {
18412
18412
  return __awaiter(this, void 0, void 0, function* () {
18413
+ if (model.name) {
18414
+ model.name = model.name.trim();
18415
+ }
18416
+ if (model.username) {
18417
+ model.username = model.username.trim();
18418
+ }
18413
18419
  const cloner = this.entityService.cloner(model);
18414
18420
  yield this.entityService.save(cloner.copy);
18415
18421
  return model;
@@ -18748,6 +18754,11 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
18748
18754
  }
18749
18755
  send(email) {
18750
18756
  return __awaiter(this, void 0, void 0, function* () {
18757
+ for (const iterator of email.recipients) {
18758
+ if (iterator.emailAddressText) {
18759
+ iterator.emailAddressText = iterator.emailAddressText.trim();
18760
+ }
18761
+ }
18751
18762
  const cloner = this.entityService.cloner(email).include(x => x.recipients).include(x => x.attachments).copy;
18752
18763
  yield this.entityService.save(cloner);
18753
18764
  });
@@ -23309,10 +23320,10 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
23309
23320
  text: item.name || item.emailAddressText
23310
23321
  }),
23311
23322
  onKeyPressedItemToChip: (key, search) => key === "Enter" || key === "Comma" ? EmailRecipient.create({
23312
- emailAddressText: search
23323
+ emailAddressText: search.trim()
23313
23324
  }) : void 0,
23314
23325
  onBlurItemToChip: search => EmailRecipient.create({
23315
- emailAddressText: search
23326
+ emailAddressText: search.trim()
23316
23327
  })
23317
23328
  })), XNode.create(FormField, {
23318
23329
  label: ""