@social-mail/social-mail-client 1.2.16 → 1.2.17

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.
@@ -18372,7 +18372,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
18372
18372
  showDeleted = false,
18373
18373
  showFolder = true
18374
18374
  }) {
18375
- var _a;
18375
+ var _a, _b;
18376
18376
  return __awaiter(this, void 0, void 0, function* () {
18377
18377
  const parentID = folder === null || folder === void 0 ? void 0 : folder.appFileID;
18378
18378
  if (!parentID) {
@@ -18407,6 +18407,12 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
18407
18407
  const results = [];
18408
18408
  for (const iterator of files) {
18409
18409
  if (!iterator.isFolder) {
18410
+ if (accept && iterator.parentID === folder.appFileID) {
18411
+ const children = (_a = folder.children) !== null && _a !== void 0 ? _a : folder.children = [];
18412
+ if (!children.some(f => f.appFileID === iterator.appFileID)) {
18413
+ children.add(iterator);
18414
+ }
18415
+ }
18410
18416
  results.push(iterator);
18411
18417
  continue;
18412
18418
  }
@@ -18416,7 +18422,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
18416
18422
  fx.fileSize = iterator.fileSize;
18417
18423
  continue;
18418
18424
  }
18419
- (_a = iterator.children) !== null && _a !== void 0 ? _a : iterator.children = [];
18425
+ (_b = iterator.children) !== null && _b !== void 0 ? _b : iterator.children = [];
18420
18426
  folder.children.add(iterator);
18421
18427
  results.push(iterator);
18422
18428
  }
@@ -34856,7 +34862,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
34856
34862
  return __awaiter(this, void 0, void 0, function* () {
34857
34863
  this.renderer = XNode.create("div", null, XNode.create("button", {
34858
34864
  "data-click-event": "create-template",
34859
- text: "Create"
34865
+ text: "Create From Template"
34860
34866
  }));
34861
34867
  });
34862
34868
  }