@social-mail/social-mail-client 1.9.51 → 1.9.53

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.
@@ -30544,10 +30544,10 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
30544
30544
 
30545
30545
  AmdLoader.instance.setup("@social-mail/social-mail-client/dist/web/page/home/HomePage");
30546
30546
 
30547
- System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "@positron-js/context/dist/PositronInBrowser", "./HomePage.global.css", "../../../common/menu/MenuService", "../../commands/AppCommands"], function (_export, _context) {
30547
+ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "@positron-js/context/dist/PositronInBrowser", "./HomePage.global.css", "../../../common/menu/MenuService", "@web-atoms/web-controls/dist/PageNavigator", "../mails/contacts/MailboxContacts", "@web-atoms/core/dist/core/sleep"], function (_export, _context) {
30548
30548
  "use strict";
30549
30549
 
30550
- var __awaiter, XNode, ContentPage, isMobileView, PositronInBrowser, MenuService, AppCommands, HomePage;
30550
+ var __awaiter, XNode, ContentPage, isMobileView, PositronInBrowser, MenuService, PageNavigator, MailboxContacts, sleep, HomePage;
30551
30551
  _export("default", void 0);
30552
30552
  return {
30553
30553
  setters: [function (_tslib) {
@@ -30561,8 +30561,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
30561
30561
  PositronInBrowser = _positronJsContextDistPositronInBrowser.default;
30562
30562
  }, function (_HomePageGlobalCss) {}, function (_commonMenuMenuService) {
30563
30563
  MenuService = _commonMenuMenuService.default;
30564
- }, function (_commandsAppCommands) {
30565
- AppCommands = _commandsAppCommands.default;
30564
+ }, function (_webAtomsWebControlsDistPageNavigator) {
30565
+ PageNavigator = _webAtomsWebControlsDistPageNavigator.default;
30566
+ }, function (_mailsContactsMailboxContacts) {
30567
+ MailboxContacts = _mailsContactsMailboxContacts.default;
30568
+ }, function (_webAtomsCoreDistCoreSleep) {
30569
+ sleep = _webAtomsCoreDistCoreSleep.default;
30566
30570
  }],
30567
30571
  execute: function () {
30568
30572
  _export("default", HomePage = class HomePage extends ContentPage {
@@ -30573,9 +30577,10 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
30573
30577
  "data-layout": "center-all"
30574
30578
  }, XNode.create("div", null, "Opening mailbox....")));
30575
30579
  const menuService = this.resolve(MenuService);
30580
+ yield sleep(10);
30576
30581
  yield menuService.firstSearch;
30577
30582
  const id = menuService.mailboxes[0].mailboxID;
30578
- AppCommands.openMailbox.dispatch({
30583
+ PageNavigator.openPage(MailboxContacts, {
30579
30584
  id
30580
30585
  });
30581
30586
  return;