@social-mail/social-mail-client 1.2.265 → 1.2.266

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.
@@ -49992,9 +49992,12 @@ System.register(["tslib", "@web-atoms/core/dist/web/controls/AtomControl", "../.
49992
49992
  return __awaiter(this, void 0, void 0, function* () {
49993
49993
  (_a = (_b = this.model).mediaFiles) !== null && _a !== void 0 ? _a : _b.mediaFiles = [];
49994
49994
  for (const appFile of files) {
49995
+ const isPreview = /^(image|video)\//i.test(appFile.contentType);
49995
49996
  this.model.mediaFiles.add(StoreMediaFile.create({
49996
49997
  appFile,
49997
- appFileID: appFile.appFileID
49998
+ appFileID: appFile.appFileID,
49999
+ fileContentID: appFile.fileContentID,
50000
+ isPreview
49998
50001
  }));
49999
50002
  }
50000
50003
  });