@trycourier/courier-ui-inbox 1.0.7-beta → 1.0.8-beta

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.
@@ -1,20 +1,23 @@
1
+ import { CourierBaseElement } from '@trycourier/courier-ui-core';
1
2
  import { CourierInboxMenuOption } from './courier-inbox-option-menu';
2
3
  import { CourierInboxFeedType } from '../types/feed-type';
3
4
  import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager';
4
- import { BaseElement } from '@trycourier/courier-ui-core';
5
- export declare class CourierInboxHeaderTitle extends BaseElement {
5
+ import { CourierInboxTheme } from '../types/courier-inbox-theme';
6
+ export declare class CourierInboxHeaderTitle extends CourierBaseElement {
7
+ static get id(): string;
6
8
  private _themeSubscription;
7
9
  private _option;
8
10
  private _feedType?;
9
- private _titleElement;
10
- private _iconElement;
11
- private _unreadBadge;
12
- private _container;
13
- private _style;
11
+ private _style?;
12
+ private _titleElement?;
13
+ private _iconElement?;
14
+ private _unreadBadge?;
15
+ private get theme();
14
16
  constructor(themeManager: CourierInboxThemeManager, option: CourierInboxMenuOption);
15
- private getStyles;
17
+ static getStyles(theme: CourierInboxTheme): string;
18
+ onComponentMounted(): void;
19
+ onComponentUnmounted(): void;
16
20
  private refreshTheme;
17
21
  updateSelectedOption(option: CourierInboxMenuOption, feedType: CourierInboxFeedType, unreadCount: number): void;
18
22
  private updateFilter;
19
- disconnectedCallback(): void;
20
23
  }
@@ -1,30 +1,33 @@
1
1
  import { CourierInboxFeedType } from '../types/feed-type';
2
- import { CourierElement } from '@trycourier/courier-ui-core';
2
+ import { CourierFactoryElement } from '@trycourier/courier-ui-core';
3
3
  import { CourierInboxHeaderFactoryProps } from '../types/factories';
4
4
  import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager';
5
+ import { CourierInboxTheme } from '../types/courier-inbox-theme';
5
6
  export type CourierInboxHeaderMenuItemId = CourierInboxFeedType | 'markAllRead' | 'archiveAll' | 'archiveRead';
6
- export declare class CourierInboxHeader extends CourierElement {
7
+ export declare class CourierInboxHeader extends CourierFactoryElement {
8
+ static get id(): string;
7
9
  private _themeSubscription;
8
10
  private _feedType;
9
11
  private _unreadCount;
10
- private getFilterOptions;
11
- private getActionOptions;
12
12
  private _titleSection?;
13
13
  private _filterMenu?;
14
14
  private _actionMenu?;
15
15
  private _style?;
16
16
  private _onFeedTypeChange;
17
+ static get observedAttributes(): string[];
18
+ private get theme();
17
19
  constructor(props: {
18
20
  themeManager: CourierInboxThemeManager;
19
21
  onFeedTypeChange: (feedType: CourierInboxFeedType) => void;
20
22
  });
21
- static get observedAttributes(): string[];
23
+ onComponentMounted(): void;
24
+ onComponentUmounted(): void;
25
+ private getFilterOptions;
26
+ private getActionOptions;
22
27
  private refreshTheme;
23
28
  private handleOptionMenuItemClick;
24
29
  render(props: CourierInboxHeaderFactoryProps): void;
25
- private refreshTitleSection;
26
30
  build(newElement: HTMLElement | undefined | null): void;
27
31
  defaultElement(): HTMLElement;
28
- private getStyles;
29
- disconnectedCallback(): void;
32
+ static getStyles(theme: CourierInboxTheme): string;
30
33
  }
@@ -1,16 +1,17 @@
1
- import { BaseElement } from '@trycourier/courier-ui-core';
2
- import { CourierInboxIcon, CourierInboxTheme } from '../types/courier-inbox-theme';
1
+ import { CourierBaseElement } from '@trycourier/courier-ui-core';
2
+ import { CourierInboxIconTheme, CourierInboxTheme } from '../types/courier-inbox-theme';
3
3
  export type CourierInboxListItemActionMenuOption = {
4
4
  id: string;
5
- icon: CourierInboxIcon;
5
+ icon: CourierInboxIconTheme;
6
6
  onClick: () => void;
7
7
  };
8
- export declare class CourierInboxListItemMenu extends BaseElement {
8
+ export declare class CourierInboxListItemMenu extends CourierBaseElement {
9
+ static get id(): string;
9
10
  private _theme;
10
11
  private _options;
11
- private _style;
12
12
  constructor(theme: CourierInboxTheme);
13
- private getStyles;
13
+ onComponentMounted(): void;
14
+ static getStyles(theme: CourierInboxTheme): string;
14
15
  setOptions(options: CourierInboxListItemActionMenuOption[]): void;
15
16
  private renderMenu;
16
17
  show(): void;
@@ -1,34 +1,33 @@
1
1
  import { InboxAction, InboxMessage } from '@trycourier/courier-js';
2
- import { BaseElement } from '@trycourier/courier-ui-core';
2
+ import { CourierBaseElement } from '@trycourier/courier-ui-core';
3
3
  import { CourierInboxFeedType } from '../types/feed-type';
4
4
  import { CourierInboxTheme } from '../types/courier-inbox-theme';
5
- export declare class CourierListItem extends BaseElement {
5
+ export declare class CourierInboxListItem extends CourierBaseElement {
6
+ static get id(): string;
6
7
  private _theme;
7
8
  private _message;
8
9
  private _feedType;
9
10
  private _isMobile;
10
- private _titleElement;
11
- private _subtitleElement;
12
- private _timeElement;
13
- private _style;
14
- private _menu;
15
- private _unreadIndicator;
16
- private _actionsContainer;
11
+ private _titleElement?;
12
+ private _subtitleElement?;
13
+ private _timeElement?;
14
+ private _menu?;
15
+ private _unreadIndicator?;
16
+ private _actionsContainer?;
17
17
  private _longPressTimeout;
18
18
  private _isLongPress;
19
19
  private onItemClick;
20
20
  private onItemLongPress;
21
21
  private onItemActionClick;
22
22
  constructor(theme: CourierInboxTheme);
23
+ private render;
24
+ static getStyles(theme: CourierInboxTheme): string;
23
25
  private _setupHoverBehavior;
24
26
  private _setupLongPressBehavior;
25
27
  setOnLongPress(cb: (message: InboxMessage) => void): void;
26
28
  private _getMenuOptions;
27
29
  private _showMenu;
28
30
  private _hideMenu;
29
- private _getStyles;
30
- private _refreshStyles;
31
- connectedCallback(): void;
32
31
  setMessage(message: InboxMessage, feedType: CourierInboxFeedType): void;
33
32
  setOnItemClick(cb: (message: InboxMessage) => void): void;
34
33
  setOnItemActionClick(cb: (message: InboxMessage, action: InboxAction) => void): void;
@@ -1,10 +1,12 @@
1
1
  import { InboxAction, InboxMessage } from '@trycourier/courier-js';
2
- import { BaseElement } from '@trycourier/courier-ui-core';
2
+ import { CourierBaseElement } from '@trycourier/courier-ui-core';
3
3
  import { InboxDataSet } from '../types/inbox-data-set';
4
4
  import { CourierInboxFeedType } from '../types/feed-type';
5
5
  import { CourierInboxStateErrorFactoryProps, CourierInboxStateEmptyFactoryProps, CourierInboxStateLoadingFactoryProps, CourierInboxListItemFactoryProps, CourierInboxPaginationItemFactoryProps } from '../types/factories';
6
+ import { CourierInboxTheme } from '../types/courier-inbox-theme';
6
7
  import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager';
7
- export declare class CourierInboxList extends BaseElement {
8
+ export declare class CourierInboxList extends CourierBaseElement {
9
+ static get id(): string;
8
10
  private _themeSubscription;
9
11
  private _messages;
10
12
  private _feedType;
@@ -22,6 +24,10 @@ export declare class CourierInboxList extends BaseElement {
22
24
  private _emptyStateFactory?;
23
25
  private _errorStateFactory?;
24
26
  get messages(): InboxMessage[];
27
+ private get theme();
28
+ private _listStyles?;
29
+ private _listItemStyles?;
30
+ private _listItemMenuStyles?;
25
31
  constructor(props: {
26
32
  themeManager: CourierInboxThemeManager;
27
33
  onRefresh: () => void;
@@ -30,8 +36,9 @@ export declare class CourierInboxList extends BaseElement {
30
36
  onMessageActionClick: (message: InboxMessage, action: InboxAction, index: number) => void;
31
37
  onMessageLongPress: (message: InboxMessage, index: number) => void;
32
38
  });
33
- private getStyles;
34
- private reset;
39
+ onComponentMounted(): void;
40
+ onComponentUnmounted(): void;
41
+ static getStyles(theme: CourierInboxTheme): string;
35
42
  setDataSet(dataSet: InboxDataSet): void;
36
43
  addPage(dataSet: InboxDataSet): void;
37
44
  addMessage(message: InboxMessage, index?: number): void;
@@ -49,6 +56,4 @@ export declare class CourierInboxList extends BaseElement {
49
56
  setErrorStateFactory(factory: (props: CourierInboxStateErrorFactoryProps | undefined | null) => HTMLElement): void;
50
57
  setListItemFactory(factory: (props: CourierInboxListItemFactoryProps | undefined | null) => HTMLElement): void;
51
58
  setPaginationItemFactory(factory: (props: CourierInboxPaginationItemFactoryProps | undefined | null) => HTMLElement): void;
52
- refreshTheme(): void;
53
- disconnectedCallback(): void;
54
59
  }
@@ -1,14 +1,19 @@
1
- import { CourierElement } from '@trycourier/courier-ui-core';
1
+ import { CourierFactoryElement } from '@trycourier/courier-ui-core';
2
+ import { CourierInboxTheme } from '../types/courier-inbox-theme';
2
3
  import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager';
3
- export declare class CourierInboxMenuButton extends CourierElement {
4
+ export declare class CourierInboxMenuButton extends CourierFactoryElement {
5
+ static get id(): string;
4
6
  private _themeSubscription;
7
+ private _style?;
5
8
  private _container?;
6
9
  private _triggerButton?;
7
10
  private _unreadCountBadge?;
11
+ get theme(): CourierInboxTheme;
8
12
  constructor(themeBus: CourierInboxThemeManager);
13
+ onComponentMounted(): void;
14
+ onComponentUnmounted(): void;
9
15
  defaultElement(): HTMLElement;
10
- private getStyles;
16
+ static getStyles(_theme: CourierInboxTheme): string;
11
17
  onUnreadCountChange(unreadCount: number): void;
12
- private updateTheme;
13
- disconnectedCallback(): void;
18
+ private refreshTheme;
14
19
  }
@@ -1,21 +1,21 @@
1
- import { BaseElement } from '@trycourier/courier-ui-core';
1
+ import { CourierBaseElement } from '@trycourier/courier-ui-core';
2
2
  import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager';
3
3
  import { CourierInboxMenuOption } from './courier-inbox-option-menu';
4
- export declare class CourierInboxOptionMenuItem extends BaseElement {
4
+ export declare class CourierInboxOptionMenuItem extends CourierBaseElement {
5
+ static get id(): string;
5
6
  private _option;
7
+ private _isSelectedable;
6
8
  private _isSelected?;
7
- private _content;
8
- private _itemIcon;
9
- private _title;
10
- private _selectionIcon;
11
- private _style;
12
- private _themeManager;
9
+ private _content?;
10
+ private _itemIcon?;
11
+ private _title?;
12
+ private _selectionIcon?;
13
13
  constructor(props: {
14
14
  option: CourierInboxMenuOption;
15
15
  selectable: boolean;
16
16
  isSelected: boolean;
17
17
  themeManager: CourierInboxThemeManager;
18
18
  });
19
- private getStyles;
19
+ onComponentMounted(): void;
20
20
  refreshTheme(): void;
21
21
  }
@@ -1,26 +1,29 @@
1
- import { BaseElement } from '@trycourier/courier-ui-core';
1
+ import { CourierBaseElement } from '@trycourier/courier-ui-core';
2
2
  import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager';
3
3
  import { CourierInboxHeaderMenuItemId } from './courier-inbox-header';
4
- import { CourierInboxIcon } from '../types/courier-inbox-theme';
4
+ import { CourierInboxIconTheme } from '../types/courier-inbox-theme';
5
5
  export type CourierInboxMenuOptionType = 'filters' | 'actions';
6
6
  export type CourierInboxMenuOption = {
7
7
  id: CourierInboxHeaderMenuItemId;
8
8
  text: string;
9
- icon: CourierInboxIcon;
10
- selectionIcon?: CourierInboxIcon | null;
9
+ icon: CourierInboxIconTheme;
10
+ selectionIcon?: CourierInboxIconTheme | null;
11
11
  onClick: (option: CourierInboxMenuOption) => void;
12
12
  };
13
- export declare class CourierInboxOptionMenu extends BaseElement {
13
+ export declare class CourierInboxOptionMenu extends CourierBaseElement {
14
+ static get id(): string;
14
15
  private _themeSubscription;
15
16
  private _type;
16
17
  private _selectedIndex;
17
18
  private _options;
18
19
  private _selectable;
19
20
  private _onMenuOpen;
20
- private _menuButton;
21
- private _menu;
22
- private _style;
21
+ private _menuButton?;
22
+ private _menu?;
23
+ private _style?;
23
24
  constructor(themeManager: CourierInboxThemeManager, type: CourierInboxMenuOptionType, selectable: boolean, options: CourierInboxMenuOption[], onMenuOpen: () => void);
25
+ onComponentMounted(): void;
26
+ onComponentUnmounted(): void;
24
27
  private getStyles;
25
28
  private refreshTheme;
26
29
  setOptions(options: CourierInboxMenuOption[]): void;
@@ -29,5 +32,4 @@ export declare class CourierInboxOptionMenu extends BaseElement {
29
32
  private handleOutsideClick;
30
33
  closeMenu(): void;
31
34
  selectOption(option: CourierInboxMenuOption): void;
32
- disconnectedCallback(): void;
33
35
  }
@@ -1,15 +1,19 @@
1
- import { BaseElement } from '@trycourier/courier-ui-core';
1
+ import { CourierBaseElement } from '@trycourier/courier-ui-core';
2
2
  import { CourierInboxTheme } from '../types/courier-inbox-theme';
3
- export declare class CourierInboxPaginationListItem extends BaseElement {
4
- private skeletonLoadingList?;
5
- private observer;
6
- private customItem?;
7
- private onPaginationTrigger;
3
+ export declare class CourierInboxPaginationListItem extends CourierBaseElement {
4
+ static get id(): string;
5
+ private _theme;
6
+ private _style?;
7
+ private _skeletonLoadingList?;
8
+ private _observer?;
9
+ private _customItem?;
10
+ private _onPaginationTrigger;
8
11
  constructor(props: {
9
12
  theme: CourierInboxTheme;
10
13
  customItem?: HTMLElement;
11
14
  onPaginationTrigger: () => void;
12
15
  });
13
- private getStyles;
14
- disconnectedCallback(): void;
16
+ onComponentMounted(): void;
17
+ onComponentUnmounted(): void;
18
+ static getStyles(_theme: CourierInboxTheme): string;
15
19
  }
@@ -2,9 +2,10 @@ import { CourierInboxDatastoreEvents } from '../datastore/datatore-events';
2
2
  import { CourierInboxHeaderFactoryProps, CourierInboxListItemActionFactoryProps, CourierInboxListItemFactoryProps, CourierInboxMenuButtonFactoryProps, CourierInboxPaginationItemFactoryProps, CourierInboxStateEmptyFactoryProps, CourierInboxStateErrorFactoryProps, CourierInboxStateLoadingFactoryProps } from '../types/factories';
3
3
  import { CourierInboxFeedType } from '../types/feed-type';
4
4
  import { CourierInboxTheme } from '../types/courier-inbox-theme';
5
- import { BaseElement } from '@trycourier/courier-ui-core';
5
+ import { CourierBaseElement } from '@trycourier/courier-ui-core';
6
6
  export type CourierInboxPopupAlignment = 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center' | 'center-right' | 'center-left' | 'center-center';
7
- export declare class CourierInboxPopupMenu extends BaseElement implements CourierInboxDatastoreEvents {
7
+ export declare class CourierInboxPopupMenu extends CourierBaseElement implements CourierInboxDatastoreEvents {
8
+ static get id(): string;
8
9
  private _width;
9
10
  private _height;
10
11
  private _popupAlignment;
@@ -16,16 +17,18 @@ export declare class CourierInboxPopupMenu extends BaseElement implements Courie
16
17
  get theme(): CourierInboxTheme;
17
18
  setLightTheme(theme: CourierInboxTheme): void;
18
19
  setDarkTheme(theme: CourierInboxTheme): void;
19
- private _triggerButton;
20
- private _popup;
21
- private _inbox;
22
- private _style;
20
+ private _triggerButton?;
21
+ private _popup?;
22
+ private _inbox?;
23
+ private _style?;
23
24
  private _datastoreListener?;
24
25
  private _popupMenuButtonFactory?;
25
26
  static get observedAttributes(): string[];
26
27
  constructor();
28
+ onComponentMounted(): void;
29
+ onComponentUnmounted(): void;
27
30
  private refreshTheme;
28
- private getStyles;
31
+ static getStyles(theme: CourierInboxTheme, width: string, height: string): string;
29
32
  attributeChangedCallback(name: string, _: string, newValue: string): void;
30
33
  onUnreadCountChange(_: number): void;
31
34
  onMessageClick(handler?: (props: CourierInboxListItemFactoryProps) => void): void;
@@ -48,5 +51,4 @@ export declare class CourierInboxPopupMenu extends BaseElement implements Courie
48
51
  setPopupPaginationItem(factory: (props: CourierInboxPaginationItemFactoryProps | undefined | null) => HTMLElement): void;
49
52
  setPopupMenuButton(factory: (props: CourierInboxMenuButtonFactoryProps | undefined | null) => HTMLElement): void;
50
53
  private render;
51
- disconnectedCallback(): void;
52
54
  }
@@ -1,7 +1,12 @@
1
- import { BaseElement } from '@trycourier/courier-ui-core';
1
+ import { CourierBaseElement } from '@trycourier/courier-ui-core';
2
2
  import { CourierInboxTheme } from '../types/courier-inbox-theme';
3
- export declare class CourierInboxSkeletonListItem extends BaseElement {
4
- private _shadow;
5
- constructor(theme: CourierInboxTheme, opacity: number);
6
- private getStyles;
3
+ export declare class CourierInboxSkeletonListItem extends CourierBaseElement {
4
+ static get id(): string;
5
+ private _theme;
6
+ private _style?;
7
+ constructor(theme: CourierInboxTheme);
8
+ onComponentMounted(): void;
9
+ onComponentUnmounted(): void;
10
+ private render;
11
+ static getStyles(_theme: CourierInboxTheme): string;
7
12
  }
@@ -1,8 +1,12 @@
1
- import { CourierElement } from '@trycourier/courier-ui-core';
1
+ import { CourierFactoryElement } from '@trycourier/courier-ui-core';
2
2
  import { CourierInboxTheme } from '../types/courier-inbox-theme';
3
- export declare class CourierInboxSkeletonList extends CourierElement {
3
+ export declare class CourierInboxSkeletonList extends CourierFactoryElement {
4
+ static get id(): string;
4
5
  private _theme;
6
+ private _style?;
5
7
  constructor(theme: CourierInboxTheme);
8
+ onComponentMounted(): void;
9
+ onComponentUnmounted(): void;
6
10
  defaultElement(): HTMLElement;
7
- private getStyles;
11
+ static getStyles(theme: CourierInboxTheme): string;
8
12
  }
@@ -1,20 +1,21 @@
1
- import { BaseElement } from '@trycourier/courier-ui-core';
1
+ import { CourierBaseElement } from '@trycourier/courier-ui-core';
2
2
  import { CourierInboxFeedType } from '../types/feed-type';
3
3
  import { CourierInboxHeaderFactoryProps, CourierInboxListItemActionFactoryProps, CourierInboxListItemFactoryProps, CourierInboxPaginationItemFactoryProps, CourierInboxStateEmptyFactoryProps, CourierInboxStateErrorFactoryProps, CourierInboxStateLoadingFactoryProps } from '../types/factories';
4
4
  import { CourierInboxTheme } from '../types/courier-inbox-theme';
5
5
  import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager';
6
- export declare class CourierInbox extends BaseElement {
6
+ export declare class CourierInbox extends CourierBaseElement {
7
+ static get id(): string;
7
8
  private _currentFeed;
8
9
  private _themeManager;
9
10
  get theme(): CourierInboxTheme;
10
11
  setLightTheme(theme: CourierInboxTheme): void;
11
12
  setDarkTheme(theme: CourierInboxTheme): void;
12
- private _shadow;
13
- private _list;
13
+ private _inboxStyle?;
14
+ private _unreadIndicatorStyle?;
15
+ private _list?;
14
16
  private _datastoreListener;
15
17
  private _authListener;
16
- private _style;
17
- private _header;
18
+ private _header?;
18
19
  private _headerFactory;
19
20
  private _onMessageClick?;
20
21
  private _onMessageActionClick?;
@@ -22,6 +23,8 @@ export declare class CourierInbox extends BaseElement {
22
23
  private _defaultProps;
23
24
  static get observedAttributes(): string[];
24
25
  constructor(themeManager?: CourierInboxThemeManager);
26
+ onComponentMounted(): void;
27
+ onComponentUnmounted(): void;
25
28
  private refreshTheme;
26
29
  private getStyles;
27
30
  setHeader(factory: (props: CourierInboxHeaderFactoryProps | undefined | null) => HTMLElement): void;
@@ -38,7 +41,5 @@ export declare class CourierInbox extends BaseElement {
38
41
  private updateHeader;
39
42
  private load;
40
43
  refresh(): void;
41
- connectedCallback(): void;
42
- disconnectedCallback(): void;
43
44
  attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
44
45
  }
@@ -1,19 +1,23 @@
1
- import { BaseElement } from '@trycourier/courier-ui-core';
1
+ import { CourierBaseElement } from '@trycourier/courier-ui-core';
2
+ import { CourierInboxTheme } from '../types/courier-inbox-theme';
2
3
  import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager';
3
4
  export type CourierUnreadCountLocation = 'button' | 'header';
4
- export declare class CourierUnreadCountBadge extends BaseElement {
5
+ export declare class CourierUnreadCountBadge extends CourierBaseElement {
6
+ static get id(): string;
5
7
  private _themeSubscription;
6
8
  private _location;
7
9
  private _count;
8
- private _badge;
9
- private _style;
10
+ private _badge?;
11
+ private _style?;
12
+ get theme(): CourierInboxTheme;
10
13
  constructor(props: {
11
14
  themeBus: CourierInboxThemeManager;
12
15
  location: CourierUnreadCountLocation;
13
16
  });
14
- private getStyles;
17
+ onComponentMounted(): void;
18
+ onComponentUnmounted(): void;
19
+ static getStyles(theme: CourierInboxTheme): string;
15
20
  setCount(count: number): void;
16
21
  refreshTheme(location: CourierUnreadCountLocation): void;
17
22
  private updateBadge;
18
- disconnectedCallback(): void;
19
23
  }
@@ -16,16 +16,12 @@ export declare class CourierInboxDatastore {
16
16
  get archiveDataSet(): InboxDataSet;
17
17
  addDataStoreListener(listener: CourierInboxDataStoreListener): void;
18
18
  removeDataStoreListener(listener: CourierInboxDataStoreListener): void;
19
- private fetchDataSet;
19
+ private fetchCachableDataSet;
20
20
  private fetchUnreadCount;
21
21
  load(props?: {
22
- feedType: CourierInboxFeedType;
23
22
  canUseCache: boolean;
24
23
  }): Promise<void>;
25
- /** Listen for inbox and archive dataset updates. */
26
24
  listenForUpdates(): Promise<void>;
27
- /** Fetch either/both datasets if they aren't already loaded. */
28
- private ensureDataSetsLoaded;
29
25
  private connectSocket;
30
26
  /**
31
27
  * Get a message by messageId from the inbox or archive data set