@social-mail/social-mail-client 1.9.50 → 1.9.52

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"], 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, HomePage;
30551
30551
  _export("default", void 0);
30552
30552
  return {
30553
30553
  setters: [function (_tslib) {
@@ -30561,22 +30561,28 @@ 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;
30566
30568
  }],
30567
30569
  execute: function () {
30568
30570
  _export("default", HomePage = class HomePage extends ContentPage {
30569
30571
  init() {
30570
30572
  return __awaiter(this, void 0, void 0, function* () {
30571
- this.renderer = XNode.create("div", null, XNode.create("home-page", null));
30572
30573
  if (PositronInBrowser.isAvailable || isMobileView) {
30574
+ this.renderer = XNode.create("div", null, XNode.create("div", {
30575
+ "data-layout": "center-all"
30576
+ }, XNode.create("div", null, "Opening mailbox....")));
30573
30577
  const menuService = this.resolve(MenuService);
30574
30578
  yield menuService.firstSearch;
30575
30579
  const id = menuService.mailboxes[0].mailboxID;
30576
- AppCommands.openMailbox.dispatch({
30580
+ PageNavigator.openPage(MailboxContacts, {
30577
30581
  id
30578
30582
  });
30583
+ return;
30579
30584
  }
30585
+ this.renderer = XNode.create("div", null, XNode.create("home-page", null));
30580
30586
  });
30581
30587
  }
30582
30588
  });