@inboxsdk/core 2.1.38 → 2.1.40

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.
Files changed (19) hide show
  1. package/inboxsdk.js +38 -8
  2. package/package.json +1 -1
  3. package/src/inboxsdk.d.ts +11 -58
  4. package/src/platform-implementation-js/dom-driver/gmail/gmail-driver/add-toolbar-button-for-app.d.ts +1 -1
  5. package/src/platform-implementation-js/dom-driver/gmail/gmail-driver/add-toolbar-button-for-app.d.ts.map +1 -1
  6. package/src/platform-implementation-js/dom-driver/gmail/gmail-driver.d.ts +10 -3
  7. package/src/platform-implementation-js/dom-driver/gmail/gmail-driver.d.ts.map +1 -1
  8. package/src/platform-implementation-js/dom-driver/gmail/views/gmail-app-toolbar-button-view.d.ts +4 -3
  9. package/src/platform-implementation-js/dom-driver/gmail/views/gmail-app-toolbar-button-view.d.ts.map +1 -1
  10. package/src/platform-implementation-js/dom-driver/gmail/views/gmail-message-view.d.ts +1 -1
  11. package/src/platform-implementation-js/dom-driver/gmail/views/gmail-message-view.d.ts.map +1 -1
  12. package/src/platform-implementation-js/namespaces/compose.d.ts +2 -2
  13. package/src/platform-implementation-js/namespaces/compose.d.ts.map +1 -1
  14. package/src/platform-implementation-js/namespaces/toolbars.d.ts +23 -10
  15. package/src/platform-implementation-js/namespaces/toolbars.d.ts.map +1 -1
  16. package/src/platform-implementation-js/views/conversations/attachment-card-view.d.ts +2 -0
  17. package/src/platform-implementation-js/views/conversations/attachment-card-view.d.ts.map +1 -1
  18. package/src/platform-implementation-js/views/conversations/message-view.d.ts +35 -5
  19. package/src/platform-implementation-js/views/conversations/message-view.d.ts.map +1 -1
package/inboxsdk.js CHANGED
@@ -890,7 +890,7 @@ function isNotNil(value) {
890
890
 
891
891
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- SDK_VERSION is injected by webpack
892
892
  ///@ts-ignore
893
- const BUILD_VERSION = "2.1.38-1712087227941-d4c8bfd8eba680c6";
893
+ const BUILD_VERSION = "2.1.40-1712267809214-d32e615a996147df";
894
894
  if (false) {}
895
895
 
896
896
  /***/ }),
@@ -10629,7 +10629,7 @@ options.insert = htmlElement => {
10629
10629
  htmlElement.setAttribute('data-inboxsdk-version',
10630
10630
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
10631
10631
  ///@ts-ignore
10632
- "2.1.38-1712087227941-d4c8bfd8eba680c6");
10632
+ "2.1.40-1712267809214-d32e615a996147df");
10633
10633
  document.head.append(htmlElement);
10634
10634
  };
10635
10635
  options.domAPI = (styleDomAPI_default());
@@ -11774,7 +11774,7 @@ if (!globalThis.__InboxSDKImpLoader) {
11774
11774
 
11775
11775
  "use strict";
11776
11776
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11777
- /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
11777
+ /* harmony export */ "Z": () => (/* binding */ Compose)
11778
11778
  /* harmony export */ });
11779
11779
  /* harmony import */ var ud__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1010);
11780
11780
  /* harmony import */ var kefir__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6609);
@@ -11822,6 +11822,8 @@ class Compose {
11822
11822
  await members.driver.openDraftByMessageID(messageID);
11823
11823
  return kefir__WEBPACK_IMPORTED_MODULE_0__.fromPromise(newComposePromise).merge(kefir__WEBPACK_IMPORTED_MODULE_0__.later(15 * 1000, null).flatMap(() => kefir__WEBPACK_IMPORTED_MODULE_0__.constantError(new Error('draft did not open in time')))).take(1).takeErrors(1).toPromise();
11824
11824
  }
11825
+
11826
+ /** @deprecated Use {@link openNewComposeView} instead */
11825
11827
  getComposeView() {
11826
11828
  const {
11827
11829
  driver
@@ -11833,7 +11835,6 @@ class Compose {
11833
11835
  return this.openNewComposeView();
11834
11836
  }
11835
11837
  }
11836
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Compose);
11837
11838
 
11838
11839
  /***/ }),
11839
11840
 
@@ -12433,6 +12434,15 @@ class AttachmentCardView extends safe_event_emitter/* default */.Z {
12433
12434
  const messageViewDriver = this.#attachmentCardImplementation.getMessageViewDriver();
12434
12435
  return messageViewDriver ? this.#membrane.get(messageViewDriver) : null;
12435
12436
  }
12437
+ get _attachmentCardImplementation() {
12438
+ this.#driver.getLogger().deprecationWarning('AttachmentCardView._attachmentCardImplementation._element', 'AttachmentCardView.getElement');
12439
+ return {
12440
+ _element: this.getElement()
12441
+ };
12442
+ }
12443
+ getElement() {
12444
+ return this.#attachmentCardImplementation.getElement();
12445
+ }
12436
12446
  }
12437
12447
  // EXTERNAL MODULE: ./node_modules/lodash/find.js
12438
12448
  var find = __webpack_require__(3311);
@@ -12852,6 +12862,14 @@ function _setupViewDriverWatcher(appId, stream, ViewClass, handlerRegistry, Conv
12852
12862
 
12853
12863
 
12854
12864
 
12865
+ /**
12866
+ * Represents a visible message in the UI. There are properties to access data about the message itself as well as change the state of the UI. MessageViews have a view state as well as a loaded state. These 2 properties are orthogonal to each other.
12867
+
12868
+ * A messages' view state can be one of {@link MessageViewViewStates.EXPANDED}, {@link MessageViewViewStates.COLLAPSED} or {@link MessageViewViewStates.HIDDEN}. Gmail visually display messages in a thread in different ways depending on what they are trying to show a user. These values are described in the enum MessageViewViewStates. The load state of a message determines whether all of the data pertaining to a message has been loaded in the UI. In some case, not all the information (such as recipients or the body) may be loaded, typically when the the view state is COLLAPSED or HIDDEN.
12869
+
12870
+ * @note You should not depend on any relationship between the view state
12871
+ * and load state. Instead, use the provided {MessageView#getViewState} and {MessageView#isLoaded} methods.
12872
+ */
12855
12873
  class MessageView extends safe_event_emitter/* default */.Z {
12856
12874
  destroyed = false;
12857
12875
  #driver;
@@ -12931,6 +12949,10 @@ class MessageView extends safe_event_emitter/* default */.Z {
12931
12949
  isElementInQuotedArea(element) {
12932
12950
  return this.#messageViewImplementation.isElementInQuotedArea(element);
12933
12951
  }
12952
+
12953
+ /**
12954
+ * Returns whether this message has been loaded yet. If the message has not been loaded, some of the data related methods on this object may return empty results. The message may be loaded once the user clicks on the message stub.
12955
+ */
12934
12956
  isLoaded() {
12935
12957
  return this.#messageViewImplementation.isLoaded();
12936
12958
  }
@@ -12947,6 +12969,14 @@ class MessageView extends safe_event_emitter/* default */.Z {
12947
12969
  }
12948
12970
  return this.#linksInBody;
12949
12971
  }
12972
+
12973
+ /**
12974
+ * Get the contact of the sender of this message.
12975
+ * @returns {Contact} The contact of the sender of this message.
12976
+ * @throws {Error} If the message has not been loaded yet.
12977
+ *
12978
+ * @note If you're using this method on an array of {MessageView}s returned by {@link ThreadRowView#getMessageViewsAll}, make sure to check {@link MessageView#isLoaded} before calling this method.
12979
+ */
12950
12980
  getSender() {
12951
12981
  return this.#messageViewImplementation.getSender();
12952
12982
  }
@@ -15496,7 +15526,7 @@ options.insert = htmlElement => {
15496
15526
  htmlElement.setAttribute('data-inboxsdk-version',
15497
15527
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
15498
15528
  ///@ts-ignore
15499
- "2.1.38-1712087227941-d4c8bfd8eba680c6");
15529
+ "2.1.40-1712267809214-d32e615a996147df");
15500
15530
  document.head.append(htmlElement);
15501
15531
  };
15502
15532
  options.domAPI = (styleDomAPI_default());
@@ -18574,7 +18604,6 @@ class Toolbars extends safe_event_emitter/* default */.Z {
18574
18604
  onClick: event => {
18575
18605
  if (!_buttonDescriptor.onClick) return;
18576
18606
  _buttonDescriptor.onClick({
18577
- // Is this shape correct, or do we want positions here instead?
18578
18607
  position: event.position,
18579
18608
  dropdown: event.dropdown,
18580
18609
  selectedThreadViews: event.selectedThreadViewDrivers.map(x => this.#membrane.get(x)),
@@ -18625,11 +18654,12 @@ class Toolbars extends safe_event_emitter/* default */.Z {
18625
18654
  iconClass: buttonDescriptor.iconClass,
18626
18655
  onClick: event => {
18627
18656
  if (!buttonDescriptor.onClick) return;
18657
+ const driver = this.#driver;
18628
18658
  buttonDescriptor.onClick({
18629
18659
  dropdown: event.dropdown,
18630
18660
  selectedThreadRowViews: event.selectedThreadRowViews,
18631
18661
  get threadRowViews() {
18632
- this.#driver.getLogger().deprecationWarning('Toolbars.registerToolbarButtonForList onClick event.threadRowViews');
18662
+ driver.getLogger().deprecationWarning('Toolbars.registerToolbarButtonForList onClick event.threadRowViews', 'Toolbars.registerToolbarButtonForList onClick event.selectedThreadRowViews');
18633
18663
  return event.selectedThreadRowViews;
18634
18664
  }
18635
18665
  });
@@ -19582,7 +19612,7 @@ mole_view_module_options.insert = htmlElement => {
19582
19612
  htmlElement.setAttribute('data-inboxsdk-version',
19583
19613
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
19584
19614
  ///@ts-ignore
19585
- "2.1.38-1712087227941-d4c8bfd8eba680c6");
19615
+ "2.1.40-1712267809214-d32e615a996147df");
19586
19616
  document.head.append(htmlElement);
19587
19617
  };
19588
19618
  mole_view_module_options.domAPI = (styleDomAPI_default());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inboxsdk/core",
3
- "version": "2.1.38",
3
+ "version": "2.1.40",
4
4
  "description": "Library for building browser extensions for Gmail",
5
5
  "main": "inboxsdk.js",
6
6
  "author": "Streak",
package/src/inboxsdk.d.ts CHANGED
@@ -2,6 +2,7 @@ import { EventEmitter } from 'events';
2
2
  import type * as Kefir from 'kefir';
3
3
  import type TypedEmitter from 'typed-emitter';
4
4
  import AppMenu from './platform-implementation-js/namespaces/app-menu';
5
+ import Compose from './platform-implementation-js/namespaces/compose';
5
6
  import type Global from './platform-implementation-js/namespaces/global';
6
7
  import type {
7
8
  NavItemTypes,
@@ -15,10 +16,9 @@ import type GmailRowListView from './platform-implementation-js/dom-driver/gmail
15
16
  import type { AppLogger } from './platform-implementation-js/lib/logger';
16
17
  import type ThreadRowView from './platform-implementation-js/views/thread-row-view';
17
18
  import TypedEventEmitter from 'typed-emitter';
18
- import { MessageViewEvent } from './platform-implementation-js/views/conversations/message-view';
19
+ import { default as MessageView } from './platform-implementation-js/views/conversations/message-view';
19
20
  import type { ThreadViewEvents } from './platform-implementation-js/views/conversations/thread-view';
20
21
  import type { ComposeViewEvent } from './platform-implementation-js/views/compose-view';
21
- import type AttachmentCardView from './platform-implementation-js/views/conversations/attachment-card-view';
22
22
  import type TopMessageBarView from './platform-implementation-js/widgets/top-message-bar-view';
23
23
  import type { IMoleView as MoleView } from './platform-implementation-js/widgets/mole-view';
24
24
  export * from './platform-implementation-js/dom-driver/gmail/views/gmail-nav-item-view';
@@ -87,11 +87,7 @@ export interface Conversations {
87
87
  ): () => void;
88
88
  }
89
89
 
90
- export interface Compose {
91
- openDraftByMessageID(messageId: string): Promise<ComposeView>;
92
- openNewComposeView(): Promise<ComposeView>;
93
- registerComposeViewHandler(handler: (composeView: ComposeView) => void): void;
94
- }
90
+ export { Compose };
95
91
 
96
92
  export interface ButterBar {
97
93
  showMessage(messageDescriptor: MessageDescriptor): { destroy: () => void };
@@ -218,7 +214,7 @@ export interface AppToolbarButtonDescriptor {
218
214
  titleClass?: string;
219
215
  iconUrl: string;
220
216
  iconClass?: string;
221
- onClick: (e: MouseEvent) => void;
217
+ onClick: (e: { dropdown?: DropdownView }) => void;
222
218
  arrowColor?: string | null;
223
219
  }
224
220
 
@@ -577,8 +573,8 @@ export interface MessageAttachmentIconDescriptor {
577
573
  iconUrl?: string;
578
574
  iconClass?: string;
579
575
  iconHtml?: string | null;
580
- tooltip: string | HTMLElement;
581
- onClick: () => void;
576
+ tooltip?: string | HTMLElement;
577
+ onClick?: () => void;
582
578
  }
583
579
 
584
580
  export type AttachmentIcon = TypedEmitter<{
@@ -586,56 +582,13 @@ export type AttachmentIcon = TypedEmitter<{
586
582
  tooltipShown: () => void;
587
583
  }>;
588
584
 
589
- export type MessageViewToolbarSectionNames = 'MORE';
590
-
591
- export interface MessageViewToolbarButtonDescriptor {
592
- section: MessageViewToolbarSectionNames;
593
- title: string;
594
- iconUrl?: string;
595
- iconClass?: string;
596
- onClick: (e: MouseEvent) => void;
597
- orderHint?: number;
598
- }
599
-
600
585
  export type { MessageViewViewStates } from './platform-implementation-js/namespaces/conversations';
601
586
 
602
- /**
603
- * Represents a visible message in the UI. There are properties to access data about the message itself as well as change the state of the UI. MessageViews have a view state as well as a loaded state. These 2 properties are orthogonal to each other.
604
-
605
- * A messages' view state can be one of {@link MessageViewViewStates.EXPANDED}, {@link MessageViewViewStates.COLLAPSED} or {@link MessageViewViewStates.HIDDEN}. Gmail visually display messages in a thread in different ways depending on what they are trying to show a user. These values are described in the enum MessageViewViewStates. The load state of a message determines whether all of the data pertaining to a message has been loaded in the UI. In some case, not all the information (such as recipients or the body) may be loaded, typically when the the view state is COLLAPSED or HIDDEN.
606
-
607
- * @note You should not depend on any relationship between the view state
608
- * and load state. Instead, use the provided {MessageView#getViewState} and {MessageView#isLoaded} methods.
609
- */
610
- export interface MessageView extends TypedEventEmitter<MessageViewEvent> {
611
- addAttachmentIcon(
612
- opts:
613
- | MessageAttachmentIconDescriptor
614
- | Kefir.Stream<MessageAttachmentIconDescriptor, never>,
615
- ): AttachmentIcon;
616
- addToolbarButton(opts: MessageViewToolbarButtonDescriptor): void;
617
- getBodyElement(): HTMLElement;
618
- isElementInQuotedArea(element: HTMLElement): boolean;
619
- /**
620
- * Returns whether this message has been loaded yet. If the message has not been loaded, some of the data related methods on this object may return empty results. The message may be loaded once the user clicks on the message stub.
621
- */
622
- isLoaded(): boolean;
623
- getFileAttachmentCardViews(): AttachmentCardView[];
624
- /**
625
- * Get the contact of the sender of this message.
626
-
627
- * @returns {Contact} The contact of the sender of this message.
628
- * @throws {Error} If the message has not been loaded yet.
629
- *
630
- * @note If you're using this method on an array of {MessageView}s returned by {@link ThreadRowView#getMessageViewsAll}, make sure to check {@link MessageView#isLoaded} before calling this method.
631
- */
632
- getSender(): Contact;
633
- getRecipients(): Array<Contact>;
634
- getRecipientsFull(): Promise<Array<Contact>>;
635
- getLinksInBody(): Array<MessageViewLinkDescriptor>;
636
- getThreadView(): ThreadView;
637
- getMessageIDAsync(): Promise<string>;
638
- }
587
+ export {
588
+ default as MessageView,
589
+ MessageViewToolbarButtonDescriptor,
590
+ MessageViewToolbarSectionNames,
591
+ } from './platform-implementation-js/views/conversations/message-view';
639
592
 
640
593
  export interface Contact {
641
594
  name: string;
@@ -2,5 +2,5 @@ import type * as Kefir from 'kefir';
2
2
  import GmailAppToolbarButtonView from '../views/gmail-app-toolbar-button-view';
3
3
  import type GmailDriver from '../gmail-driver';
4
4
  import { AppToolbarButtonDescriptor } from '../../../../inboxsdk';
5
- export default function addToolbarButtonForApp(gmailDriver: GmailDriver, buttonDescriptor: Kefir.Stream<AppToolbarButtonDescriptor, any>): Promise<GmailAppToolbarButtonView>;
5
+ export default function addToolbarButtonForApp(gmailDriver: GmailDriver, buttonDescriptor: Kefir.Observable<AppToolbarButtonDescriptor, any>): Promise<GmailAppToolbarButtonView>;
6
6
  //# sourceMappingURL=add-toolbar-button-for-app.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-toolbar-button-for-app.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/gmail-driver/add-toolbar-button-for-app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,yBAAyB,MAAM,wCAAwC,CAAC;AAC/E,OAAO,KAAK,WAAW,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAC5C,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,0BAA0B,EAAE,GAAG,CAAC,GAC9D,OAAO,CAAC,yBAAyB,CAAC,CAUpC"}
1
+ {"version":3,"file":"add-toolbar-button-for-app.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/gmail-driver/add-toolbar-button-for-app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,yBAAyB,MAAM,wCAAwC,CAAC;AAC/E,OAAO,KAAK,WAAW,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAC5C,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,KAAK,CAAC,UAAU,CAAC,0BAA0B,EAAE,GAAG,CAAC,GAClE,OAAO,CAAC,yBAAyB,CAAC,CAUpC"}
@@ -29,7 +29,7 @@ import type NativeGmailNavItemView from './views/native-gmail-nav-item-view';
29
29
  import type { AppMenuItemDescriptor } from '../../namespaces/app-menu';
30
30
  import type ContentPanelViewDriver from '../../driver-common/sidebar/ContentPanelViewDriver';
31
31
  import GmailNavItemView, { type NavItemDescriptor } from './views/gmail-nav-item-view';
32
- import { AppToolbarButtonDescriptor, Contact } from '../../../inboxsdk';
32
+ import { AppToolbarButtonDescriptor, Contact, DropdownView, ToolbarButtonDescriptor } from '../../../inboxsdk';
33
33
  import GmailAttachmentCardView from './views/gmail-attachment-card-view';
34
34
  import type { PersonDetails } from '../../namespaces/user';
35
35
  import { type ContentPanelDescriptor } from '../../driver-common/sidebar/ContentPanelViewDriver';
@@ -83,7 +83,14 @@ declare class GmailDriver {
83
83
  readonly accountSwitcherReady: number | null | undefined;
84
84
  readonly onready: number | null | undefined;
85
85
  };
86
- registerThreadButton(options: any): () => void;
86
+ registerThreadButton(options: Omit<ToolbarButtonDescriptor, 'hideFor' | 'onClick'> & {
87
+ onClick(event: {
88
+ position: 'ROW' | 'LIST' | 'THREAD';
89
+ dropdown: DropdownView;
90
+ selectedThreadViewDrivers: GmailThreadView[];
91
+ selectedThreadRowViewDrivers: GmailThreadRowView[];
92
+ }): void;
93
+ }): () => void;
87
94
  hashChangeNoViewChange(hash: string): void;
88
95
  addCustomRouteID(routeID: string): () => void;
89
96
  addCustomListRouteID(routeID: string, handler: Function): () => void;
@@ -100,7 +107,7 @@ declare class GmailDriver {
100
107
  resolveUrlRedirects(url: string): Promise<string>;
101
108
  registerSearchSuggestionsProvider(handler: SearchSuggestionsProvider): void;
102
109
  registerSearchQueryRewriter(obj: SearchQueryRewriter): void;
103
- addToolbarButtonForApp(buttonDescriptor: Kefir.Stream<AppToolbarButtonDescriptor, any>): Promise<GmailAppToolbarButtonView>;
110
+ addToolbarButtonForApp(buttonDescriptor: Kefir.Observable<AppToolbarButtonDescriptor, any>): Promise<GmailAppToolbarButtonView>;
104
111
  openNewComposeViewDriver(): Promise<GmailComposeView>;
105
112
  getNextComposeViewDriver(timeout?: number): Promise<GmailComposeView>;
106
113
  openDraftByMessageID(messageID: string): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"gmail-driver.d.ts","sourceRoot":"","sources":["../../../../../../src/platform-implementation-js/dom-driver/gmail/gmail-driver.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAUxC,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD,OAAO,KAAK,kBAAkB,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,yBAAyB,MAAM,uCAAuC,CAAC;AAInF,OAAO,wBAAwB,MAAM,wCAAwC,CAAC;AAC9E,OAAO,oBAAoB,MAAM,mCAAmC,CAAC;AACrE,OAAO,mBAAmB,EAAE,EAC1B,KAAK,WAAW,EACjB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,eAAe,MAAM,kCAAkC,CAAC;AAE/D,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAG1F,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAS7D,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAYnF,OAAO,mBAAmB,MAAM,sCAAsC,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,20 +2,21 @@ import * as Kefir from 'kefir';
2
2
  import type { Stopper } from 'kefir-stopper';
3
3
  import DropdownView from '../../../widgets/buttons/dropdown-view';
4
4
  import type Driver from '../gmail-driver';
5
+ import { AppToolbarButtonDescriptor } from '../../../../inboxsdk';
5
6
  export default class GmailAppToolbarButtonView {
6
7
  _stopper: Stopper;
7
8
  _iconSettings: Record<string, any>;
8
9
  _element: HTMLElement | null | undefined;
9
10
  _activeDropdown: DropdownView | null | undefined;
10
- _buttonDescriptor: Record<string, any> | null | undefined;
11
+ _buttonDescriptor: AppToolbarButtonDescriptor | null | undefined;
11
12
  _driver: Driver;
12
- constructor(driver: Driver, inButtonDescriptor: Kefir.Observable<Record<string, any>, unknown>);
13
+ constructor(driver: Driver, inButtonDescriptor: Kefir.Observable<AppToolbarButtonDescriptor, unknown>);
13
14
  destroy(): void;
14
15
  getStopper(): Stopper;
15
16
  getElement(): HTMLElement | null | undefined;
16
17
  open(): void;
17
18
  close(): void;
18
- _handleButtonDescriptor(buttonDescriptor: Record<string, any>): void;
19
+ _handleButtonDescriptor(buttonDescriptor: AppToolbarButtonDescriptor): void;
19
20
  _handleClick(): void;
20
21
  }
21
22
  //# sourceMappingURL=gmail-app-toolbar-button-view.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gmail-app-toolbar-button-view.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/views/gmail-app-toolbar-button-view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAI7C,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,MAAM,CAAC,OAAO,OAAO,yBAAyB;IAC5C,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,QAAQ,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,CAAQ;IAChD,eAAe,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,OAAO,EAAE,MAAM,CAAC;gBAGd,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,CAAC;IAiBpE,OAAO;IAYP,UAAU;IAIV,UAAU,IAAI,WAAW,GAAG,IAAI,GAAG,SAAS;IAI5C,IAAI;IAUJ,KAAK;IAUL,uBAAuB,CAAC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAyB7D,YAAY;CA2Db"}
1
+ {"version":3,"file":"gmail-app-toolbar-button-view.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/views/gmail-app-toolbar-button-view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAI7C,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,MAAM,CAAC,OAAO,OAAO,yBAAyB;IAC5C,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,QAAQ,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,CAAQ;IAChD,eAAe,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,iBAAiB,EAAE,0BAA0B,GAAG,IAAI,GAAG,SAAS,CAAC;IACjE,OAAO,EAAE,MAAM,CAAC;gBAGd,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,KAAK,CAAC,UAAU,CAAC,0BAA0B,EAAE,OAAO,CAAC;IAiB3E,OAAO;IAYP,UAAU;IAIV,UAAU,IAAI,WAAW,GAAG,IAAI,GAAG,SAAS;IAI5C,IAAI;IAUJ,KAAK;IAUL,uBAAuB,CAAC,gBAAgB,EAAE,0BAA0B;IAyBpE,YAAY;CA2Db"}
@@ -56,7 +56,7 @@ declare class GmailMessageView {
56
56
  addMoreMenuItem(options: Record<string, any>): void;
57
57
  getMessageID(ignoreLoadStatus?: boolean): string;
58
58
  getMessageIDAsync(): Promise<string>;
59
- addAttachmentIcon(iconDescriptor: MessageAttachmentIconDescriptor | Kefir.Stream<MessageAttachmentIconDescriptor, never>): AttachmentIcon;
59
+ addAttachmentIcon(iconDescriptor: MessageAttachmentIconDescriptor | Kefir.Observable<MessageAttachmentIconDescriptor, never>): AttachmentIcon;
60
60
  getViewState(): VIEW_STATE;
61
61
  hasOpenReply(): boolean;
62
62
  addAttachmentCard(options: Record<string, any>): GmailAttachmentCardView;
@@ -1 +1 @@
1
- {"version":3,"file":"gmail-message-view.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/views/gmail-message-view.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAIrC,OAAO,uBAAuB,MAAM,8BAA8B,CAAC;AAEnE,OAAO,cAAc,MAAM,sCAAsC,CAAC;AAIlE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAKtF,OAAO,KAAK,WAAW,MAAM,iBAAiB,CAAC;AAC/C,OAAO,KAAK,eAAe,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EACV,OAAO,EACP,+BAA+B,EAC/B,WAAW,EACX,UAAU,EACX,MAAM,sBAAsB,CAAC;AAC9B,O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KAAK,CAAC,MAAM,CAAC;IAYrC,iBAAiB,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAuBlD,aAAa,IAAI,MAAM;IAIjB,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAQnD,4BAA4B;IAQ5B,0BAA0B,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAUvD,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAyJ5C,YAAY,CAAC,gBAAgB,GAAE,OAAe,GAAG,MAAM;IAoEjD,iBAAiB,IAAI,OAAO,CAAC,MAAM,CAAC;IAI1C,iBAAiB,CACf,cAAc,EACV,+BAA+B,GAC/B,KAAK,CAAC,MAAM,CAAC,+BAA+B,EAAE,KAAK,CAAC;IA4J1D,YAAY,IAAI,UAAU;IAa1B,YAAY,IAAI,OAAO;IAIvB,iBAAiB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IA8Q9C,cAAc;CAGf;AASD,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"gmail-message-view.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/views/gmail-message-view.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAIrC,OAAO,uBAAuB,MAAM,8BAA8B,CAAC;AAEnE,OAAO,cAAc,MAAM,sCAAsC,CAAC;AAIlE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAKtF,OAAO,KAAK,WAAW,MAAM,iBAAiB,CAAC;AAC/C,OAAO,KAAK,eAAe,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EACV,OAAO,EACP,+BAA+B,EAC/B,WAAW,EACX,UAAU,EACX,MAAM,sBAAsB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,0BAA0B,IAAI,KAAK,CAAC,MAAM,CAAC;IAYrC,iBAAiB,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAuBlD,aAAa,IAAI,MAAM;IAIjB,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAQnD,4BAA4B;IAQ5B,0BAA0B,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAUvD,eAAe,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAyJ5C,YAAY,CAAC,gBAAgB,GAAE,OAAe,GAAG,MAAM;IAoEjD,iBAAiB,IAAI,OAAO,CAAC,MAAM,CAAC;IAI1C,iBAAiB,CACf,cAAc,EACV,+BAA+B,GAC/B,KAAK,CAAC,UAAU,CAAC,+BAA+B,EAAE,KAAK,CAAC;IA4J9D,YAAY,IAAI,UAAU;IAa1B,YAAY,IAAI,OAAO;IAIvB,iBAAiB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IA8Q9C,cAAc;CAGf;AASD,eAAe,gBAAgB,CAAC"}
@@ -2,12 +2,12 @@ import ComposeView from '../views/compose-view';
2
2
  import type Membrane from '../lib/Membrane';
3
3
  import type { Handler } from '../lib/handler-registry';
4
4
  import type { Driver } from '../driver-interfaces/driver';
5
- declare class Compose {
5
+ export default class Compose {
6
6
  constructor(driver: Driver, membrane: Membrane);
7
7
  registerComposeViewHandler(handler: Handler<ComposeView>): () => void;
8
8
  openNewComposeView(): Promise<ComposeView>;
9
9
  openDraftByMessageID(messageID: string): Promise<ComposeView>;
10
+ /** @deprecated Use {@link openNewComposeView} instead */
10
11
  getComposeView(): Promise<ComposeView>;
11
12
  }
12
- export default Compose;
13
13
  //# sourceMappingURL=compose.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compose.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/namespaces/compose.ts"],"names":[],"mappings":"AAGA,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAEhD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAU1D,cAAM,OAAO;gBACC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ;IA2B9C,0BAA0B,CAAC,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC;IAIlD,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC;IAM1C,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAenE,cAAc,IAAI,OAAO,CAAC,WAAW,CAAC;CAevC;AAED,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"compose.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/namespaces/compose.ts"],"names":[],"mappings":"AAGA,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAEhD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAU1D,MAAM,CAAC,OAAO,OAAO,OAAO;gBACd,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ;IA2B9C,0BAA0B,CAAC,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC;IAIlD,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC;IAM1C,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAenE,yDAAyD;IACzD,cAAc,IAAI,OAAO,CAAC,WAAW,CAAC;CAevC"}
@@ -1,27 +1,40 @@
1
- import { type Stream } from 'kefir';
1
+ import { type Observable } from 'kefir';
2
2
  import EventEmitter from '../lib/safe-event-emitter';
3
3
  import type { Driver } from '../driver-interfaces/driver';
4
4
  import type { PiOpts } from '../platform-implementation';
5
5
  import type Membrane from '../lib/Membrane';
6
6
  import AppToolbarButtonView from '../views/app-toolbar-button-view';
7
7
  import type { AppToolbarButtonDescriptor, DropdownView, KeyboardShortcutHandle, RouteView, ThreadRowView, ThreadView } from '../../inboxsdk';
8
- export interface ToolbarButtonOnClickEvent {
9
- selectedThreadViews: Array<ThreadView>;
10
- selectedThreadRowViews: Array<ThreadRowView>;
8
+ export interface LegacyToolbarButtonOnClickEvent {
9
+ threadView: ThreadView;
11
10
  dropdown?: DropdownView;
12
- threadView?: ThreadView;
13
11
  }
14
12
  export interface LegacyToolbarButtonDescriptor {
15
13
  title: string;
16
14
  iconUrl?: string;
17
15
  iconClass?: string;
18
16
  section: 'INBOX_STATE' | 'METADATA_STATE' | 'OTHER';
19
- onClick(event: ToolbarButtonOnClickEvent): void;
17
+ onClick(event: LegacyToolbarButtonOnClickEvent): void;
20
18
  hasDropdown?: boolean;
21
19
  hideFor?: (routeView: RouteView) => boolean;
22
20
  keyboardShortcutHandle?: KeyboardShortcutHandle;
23
21
  orderHint?: number;
24
22
  }
23
+ export interface LegacyListToolbarButtonOnClickEvent {
24
+ selectedThreadRowViews: Array<ThreadRowView>;
25
+ /** @deprecated use {@link selectedThreadRowViews} instead */
26
+ threadRowViews: Array<ThreadRowView>;
27
+ dropdown?: DropdownView;
28
+ }
29
+ export interface LegacyListToolbarButtonDescriptor extends Omit<LegacyToolbarButtonDescriptor, 'onClick'> {
30
+ onClick(event: LegacyListToolbarButtonOnClickEvent): void;
31
+ }
32
+ export interface ToolbarButtonOnClickEvent {
33
+ position: 'THREAD' | 'ROW' | 'LIST';
34
+ selectedThreadViews: Array<ThreadView>;
35
+ selectedThreadRowViews: Array<ThreadRowView>;
36
+ dropdown?: DropdownView;
37
+ }
25
38
  export interface ToolbarButtonDescriptor {
26
39
  title: string;
27
40
  iconUrl?: string;
@@ -30,7 +43,7 @@ export interface ToolbarButtonDescriptor {
30
43
  threadSection?: string;
31
44
  listSection?: string;
32
45
  onClick(event: ToolbarButtonOnClickEvent): void;
33
- hasDropdown: boolean;
46
+ hasDropdown?: boolean;
34
47
  hideFor?: (routeView: RouteView) => boolean;
35
48
  keyboardShortcutHandle?: KeyboardShortcutHandle;
36
49
  orderHint?: number;
@@ -54,7 +67,7 @@ export default class Toolbars extends EventEmitter {
54
67
  *
55
68
  * Registers a toolbar button to appear above any list page such as the Inbox or Sent Mail.
56
69
  */
57
- registerToolbarButtonForList(buttonDescriptor: Record<string, any>): () => void;
70
+ registerToolbarButtonForList(buttonDescriptor: LegacyListToolbarButtonDescriptor): () => void;
58
71
  /**
59
72
  * @deprecated This function is deprecated in favor of {@link Toolbars#registerThreadButton}.
60
73
  *
@@ -62,10 +75,10 @@ export default class Toolbars extends EventEmitter {
62
75
  */
63
76
  registerToolbarButtonForThreadView(buttonDescriptor: LegacyToolbarButtonDescriptor): () => void;
64
77
  /** @deprecated */
65
- setAppToolbarButton(appToolbarButtonDescriptor: AppToolbarButtonDescriptor | Stream<AppToolbarButtonDescriptor, any>): AppToolbarButtonView;
78
+ setAppToolbarButton(appToolbarButtonDescriptor: AppToolbarButtonDescriptor | Observable<AppToolbarButtonDescriptor, any>): AppToolbarButtonView;
66
79
  /**
67
80
  * Adds a button and dropdown to the "Global Toolbar". This is typically used to show a dropdown with general information about your application. In Gmail, this refers to the navigation area at the top right of the window.
68
81
  */
69
- addToolbarButtonForApp(buttonDescriptor: AppToolbarButtonDescriptor | Stream<AppToolbarButtonDescriptor, any>): AppToolbarButtonView;
82
+ addToolbarButtonForApp(buttonDescriptor: AppToolbarButtonDescriptor | Observable<AppToolbarButtonDescriptor, any>): AppToolbarButtonView;
70
83
  }
71
84
  //# sourceMappingURL=toolbars.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolbars.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/namespaces/toolbars.ts"],"names":[],"mappings":"AAAA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(): Promise<string | null | undefined>;
20
20
  getMessageView(): MessageView | null;
21
+ private get _attachmentCardImplementation();
22
+ getElement(): HTMLElement;
21
23
  }
22
24
  export {};
23
25
  //# sourceMappingURL=attachment-card-view.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"attachment-card-view.d.ts","sourceRoot":"","sources":["../../../../../../src/platform-implementation-js/views/conversations/attachment-card-view.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EACV,MAAM,EACN,wBAAwB,EACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AACtG,OAAO,iBAAiB,MAAM,eAAe,CAAC;iDAE6B,kBAAkB;IAC3F,OAAO,IAAI,IAAI,CAAC;CACjB,CAAC;AAFF,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,uBAE7C;;IAID,SAAS,EAAE,OAAO,CAAS;gBAGzB,4BAA4B,EAAE,wBAAwB,EACtD,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ;IAapB,iBAAiB;IAIjB,SAAS,CAAC,aAAa,EAAE,sBAAsB;IAI/C,QAAQ,IAAI,MAAM;IAIlB;;OAEG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAepD,cAAc,IAAI,WAAW,GAAG,IAAI;CAMrC"}
1
+ {"version":3,"file":"attachment-card-view.d.ts","sourceRoot":"","sources":["../../../../../../src/platform-implementation-js/views/conversations/attachment-card-view.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EACV,MAAM,EACN,wBAAwB,EACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AACtG,OAAO,iBAAiB,MAAM,eAAe,CAAC;iDAE6B,kBAAkB;IAC3F,OAAO,IAAI,IAAI,CAAC;CACjB,CAAC;AAFF,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,uBAE7C;;IAID,SAAS,EAAE,OAAO,CAAS;gBAGzB,4BAA4B,EAAE,wBAAwB,EACtD,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ;IAapB,iBAAiB;IAIjB,SAAS,CAAC,aAAa,EAAE,sBAAsB;IAI/C,QAAQ,IAAI,MAAM;IAIlB;;OAEG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAepD,cAAc,IAAI,WAAW,GAAG,IAAI;IAOpC,OAAO,KAAK,6BAA6B,GAWxC;IAED,UAAU,IAAI,WAAW;CAG1B"}
@@ -1,11 +1,22 @@
1
1
  import type Membrane from '../../lib/Membrane';
2
2
  import type AttachmentCardView from './attachment-card-view';
3
3
  import type { Driver } from '../../driver-interfaces/driver';
4
- import type { Contact, MessageView as IMessageView } from '../../../inboxsdk';
4
+ import type { Contact, MessageAttachmentIconDescriptor } from '../../../inboxsdk';
5
5
  import type { MessageViewDriverEventByName } from '../../dom-driver/gmail/views/gmail-message-view';
6
6
  import type TypedEventEmitter from 'typed-emitter';
7
7
  import type MessageViewDriver from '../../dom-driver/gmail/views/gmail-message-view';
8
+ import ThreadView from './thread-view';
9
+ import { Descriptor } from '../../../types/descriptor';
8
10
  export type VIEW_STATE = 'HIDDEN' | 'COLLAPSED' | 'EXPANDED';
11
+ export type MessageViewToolbarSectionNames = 'MORE';
12
+ export interface MessageViewToolbarButtonDescriptor {
13
+ section: MessageViewToolbarSectionNames;
14
+ title: string;
15
+ iconUrl?: string;
16
+ iconClass?: string;
17
+ onClick: (e: MouseEvent) => void;
18
+ orderHint?: number;
19
+ }
9
20
  interface MessageViewLinkDescriptor {
10
21
  text: string;
11
22
  html: string;
@@ -26,29 +37,48 @@ export type MessageViewEvent = {
26
37
  }): void;
27
38
  };
28
39
  declare const MessageView_base: new () => TypedEventEmitter<MessageViewEvent>;
29
- export default class MessageView extends MessageView_base implements IMessageView {
40
+ /**
41
+ * Represents a visible message in the UI. There are properties to access data about the message itself as well as change the state of the UI. MessageViews have a view state as well as a loaded state. These 2 properties are orthogonal to each other.
42
+
43
+ * A messages' view state can be one of {@link MessageViewViewStates.EXPANDED}, {@link MessageViewViewStates.COLLAPSED} or {@link MessageViewViewStates.HIDDEN}. Gmail visually display messages in a thread in different ways depending on what they are trying to show a user. These values are described in the enum MessageViewViewStates. The load state of a message determines whether all of the data pertaining to a message has been loaded in the UI. In some case, not all the information (such as recipients or the body) may be loaded, typically when the the view state is COLLAPSED or HIDDEN.
44
+
45
+ * @note You should not depend on any relationship between the view state
46
+ * and load state. Instead, use the provided {MessageView#getViewState} and {MessageView#isLoaded} methods.
47
+ */
48
+ export default class MessageView extends MessageView_base {
30
49
  #private;
31
50
  destroyed: boolean;
32
51
  constructor(messageViewImplementation: MessageViewDriver, membrane: Membrane, driver: Driver);
33
52
  addAttachmentCardView(cardOptions: Record<string, any>): AttachmentCardView;
34
53
  addAttachmentCardViewNoPreview(cardOptions: Record<string, any>): AttachmentCardView;
35
54
  addAttachmentsToolbarButton(buttonOptions: Record<string, any>): void;
36
- addToolbarButton(buttonOptions: Parameters<IMessageView['addToolbarButton']>[0]): void;
55
+ addToolbarButton(buttonOptions: MessageViewToolbarButtonDescriptor): void;
37
56
  getBodyElement(): HTMLElement;
38
57
  getMessageID(): string;
39
58
  getMessageIDAsync(): Promise<string>;
40
59
  getFileAttachmentCardViews(): Array<AttachmentCardView>;
41
60
  getAttachmentCardViews(): Array<AttachmentCardView>;
42
61
  isElementInQuotedArea(element: HTMLElement): boolean;
62
+ /**
63
+ * Returns whether this message has been loaded yet. If the message has not been loaded, some of the data related methods on this object may return empty results. The message may be loaded once the user clicks on the message stub.
64
+ */
43
65
  isLoaded(): boolean;
44
66
  getLinksInBody(): Array<MessageViewLinkDescriptor>;
67
+ /**
68
+ * Get the contact of the sender of this message.
69
+
70
+ * @returns {Contact} The contact of the sender of this message.
71
+ * @throws {Error} If the message has not been loaded yet.
72
+ *
73
+ * @note If you're using this method on an array of {MessageView}s returned by {@link ThreadRowView#getMessageViewsAll}, make sure to check {@link MessageView#isLoaded} before calling this method.
74
+ */
45
75
  getSender(): Contact;
46
76
  getRecipients(): Array<Contact>;
47
77
  getRecipientEmailAddresses(): Array<string>;
48
78
  getRecipientsFull(): Promise<Array<Contact>>;
49
- getThreadView(): ReturnType<IMessageView['getThreadView']>;
79
+ getThreadView(): ThreadView;
50
80
  getDateString(): string;
51
- addAttachmentIcon(iconDescriptor: Parameters<IMessageView['addAttachmentIcon']>[0]): import("../../dom-driver/gmail/views/gmail-message-view/attachment-icon").default;
81
+ addAttachmentIcon(iconDescriptor: Descriptor<MessageAttachmentIconDescriptor, never>): import("../../dom-driver/gmail/views/gmail-message-view/attachment-icon").default;
52
82
  getViewState(): VIEW_STATE;
53
83
  hasOpenReply(): boolean;
54
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"message-view.d.ts","sourceRoot":"","sources":["../../../../../../src/platform-implementation-js/views/conversations/message-view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAK7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE9E,OAAO,KAAK,EAEV,4BAA4B,EAC7B,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,iBAAiB,MAAM,iDAAiD,CAAC;AAErF,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,W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C,MAAM,CAAC;IAOpC,0BAA0B,IAAI,KAAK,CAAC,kBAAkB,CAAC;IAUvD,sBAAsB,IAAI,KAAK,CAAC,kBAAkB,CAAC;IAenD,qBAAqB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO;IAIpD,QAAQ,IAAI,OAAO;IAInB,cAAc,IAAI,KAAK,CAAC,yBAAyB,CAAC;IAiBlD,SAAS,IAAI,OAAO;IAIpB,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAa/B,0BAA0B,IAAI,KAAK,CAAC,MAAM,CAAC;IAI3C,iBAAiB,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAI5C,aAAa,IAAI,UAAU,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;IAM1D,aAAa,IAAI,MAAM;IAIvB,iBAAiB,CACf,cAAc,EAAE,UAAU,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;IAKlE,YAAY,IAAI,UAAU;IAM1B,YAAY,IAAI,OAAO;CA2DxB"}
1
+ {"version":3,"file":"message-view.d.ts","sourceRoot":"","sources":["../../../../../../src/platform-implementation-js/views/conversations/message-view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAK7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,EACV,OAAO,EACP,+BAA+B,EAChC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAEV,4BAA4B,EAC7B,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,iBAAiB,MAAM,iDAAiD,CAAC;AACrF,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,MAAM,MAAM,UAA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