@inboxsdk/core 2.1.3 → 2.1.5
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.
- package/inboxsdk.js +579 -507
- package/inboxsdk.js.map +1 -1
- package/package.json +1 -1
- package/pageWorld.js.map +1 -1
- package/src/inboxsdk.d.ts +2 -6
- package/src/platform-implementation-js/dom-driver/gmail/gmail-driver/gmail-load-event.d.ts.map +1 -1
- package/src/platform-implementation-js/dom-driver/gmail/gmail-driver/isIntegratedViewGmail.d.ts +6 -6
- package/src/platform-implementation-js/dom-driver/gmail/gmail-driver/isIntegratedViewGmail.d.ts.map +1 -1
- package/src/platform-implementation-js/dom-driver/gmail/gmail-driver.d.ts +12 -57
- package/src/platform-implementation-js/dom-driver/gmail/gmail-driver.d.ts.map +1 -1
- package/src/platform-implementation-js/dom-driver/gmail/views/gmail-app-sidebar-view/index.d.ts +4 -7
- package/src/platform-implementation-js/dom-driver/gmail/views/gmail-app-sidebar-view/index.d.ts.map +1 -1
- package/src/platform-implementation-js/dom-driver/gmail/views/gmail-app-sidebar-view/primary/index.d.ts +10 -36
- package/src/platform-implementation-js/dom-driver/gmail/views/gmail-app-sidebar-view/primary/index.d.ts.map +1 -1
- package/src/platform-implementation-js/dom-driver/gmail/widgets/gmail-mole-view-driver.d.ts +1 -8
- package/src/platform-implementation-js/dom-driver/gmail/widgets/gmail-mole-view-driver.d.ts.map +1 -1
- package/src/platform-implementation-js/driver-common/sidebar/ContentPanelViewDriver.d.ts +4 -12
- package/src/platform-implementation-js/driver-common/sidebar/ContentPanelViewDriver.d.ts.map +1 -1
- package/src/platform-implementation-js/lib/logger.d.ts +7 -2
- package/src/platform-implementation-js/lib/logger.d.ts.map +1 -1
- package/src/platform-implementation-js/views/content-panel-view.d.ts +9 -3
- package/src/platform-implementation-js/views/content-panel-view.d.ts.map +1 -1
package/src/inboxsdk.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import type { IMoleView as MoleView } from './platform-implementation-js/widgets
|
|
|
24
24
|
export * from './platform-implementation-js/dom-driver/gmail/views/gmail-nav-item-view';
|
|
25
25
|
import type User from './platform-implementation-js/namespaces/user';
|
|
26
26
|
import { ContentPanelDescriptor } from './platform-implementation-js/driver-common/sidebar/ContentPanelViewDriver';
|
|
27
|
+
import type ContentPanelView from './platform-implementation-js/views/content-panel-view';
|
|
27
28
|
|
|
28
29
|
export type { User };
|
|
29
30
|
|
|
@@ -460,12 +461,7 @@ export interface CustomMessageView extends EventEmitter {
|
|
|
460
461
|
getSortDate(): Date | null;
|
|
461
462
|
}
|
|
462
463
|
|
|
463
|
-
export
|
|
464
|
-
close(): void;
|
|
465
|
-
isActive(): boolean;
|
|
466
|
-
open(): void;
|
|
467
|
-
remove(): void;
|
|
468
|
-
}
|
|
464
|
+
export { ContentPanelView };
|
|
469
465
|
|
|
470
466
|
export interface MessageAttachmentIconDescriptor {
|
|
471
467
|
iconUrl?: string;
|
package/src/platform-implementation-js/dom-driver/gmail/gmail-driver/gmail-load-event.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gmail-load-event.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/gmail-driver/gmail-load-event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"gmail-load-event.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/gmail-driver/gmail-load-event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,iBAAiB,CAAC;AAgC/C,wBAA8B,cAAc,CAAC,MAAM,EAAE,WAAW,iBAmD/D"}
|
package/src/platform-implementation-js/dom-driver/gmail/gmail-driver/isIntegratedViewGmail.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
- The user is in a pre-Google-Chat Hangouts-only version of Gmail (the Gmail Settings ->
|
|
4
|
-
Chat and Meet -> Chat menu only has the options "Hangouts On" and "Hangouts Off").
|
|
5
|
-
- The user has "Classic Hangouts" picked in Gmail Settings -> Chat and Meet -> Chat.
|
|
6
|
-
- Integrated view gmail.
|
|
2
|
+
* As of writing, @returns true when either Google Chat or Google Meet or both are enabled.
|
|
7
3
|
* @see https://support.google.com/mail/answer/11555490
|
|
8
4
|
*/
|
|
9
5
|
export default function isIntegratedViewGmail(): boolean;
|
|
10
|
-
/** @returns null if the app menu is configured off */
|
|
6
|
+
/** @returns null if the app menu (left side menu containing Mail, Chat/Spaces, and Meet) is configured off */
|
|
11
7
|
export declare function isCollapsiblePanelHidden(): boolean | null;
|
|
8
|
+
/**
|
|
9
|
+
* @note only able to @return true when @see {isIntegratedViewGmail} returns true
|
|
10
|
+
*/
|
|
11
|
+
export declare function isGoogleChatEnabled(): boolean;
|
|
12
12
|
//# sourceMappingURL=isIntegratedViewGmail.d.ts.map
|
package/src/platform-implementation-js/dom-driver/gmail/gmail-driver/isIntegratedViewGmail.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isIntegratedViewGmail.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/gmail-driver/isIntegratedViewGmail.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"isIntegratedViewGmail.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/gmail-driver/isIntegratedViewGmail.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,IAAI,OAAO,CAGvD;AAED,8GAA8G;AAC9G,wBAAgB,wBAAwB,IAAI,OAAO,GAAG,IAAI,CAMzD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,YAElC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import type LiveSet from 'live-set';
|
|
2
|
-
import t from 'transducers.js';
|
|
3
1
|
import * as Kefir from 'kefir';
|
|
4
|
-
import type { Bus } from 'kefir-bus';
|
|
5
2
|
import type { TagTree } from 'tag-tree';
|
|
6
|
-
import type PageParserTree from 'page-parser-tree';
|
|
7
3
|
import GmailBackdrop from './views/gmail-backdrop';
|
|
8
4
|
import type GmailThreadRowView from './views/gmail-thread-row-view';
|
|
9
5
|
import type GmailAppToolbarButtonView from './views/gmail-app-toolbar-button-view';
|
|
@@ -11,9 +7,7 @@ import GmailTopMessageBarDriver from './widgets/gmail-top-message-bar-driver';
|
|
|
11
7
|
import GmailModalViewDriver from './widgets/gmail-modal-view-driver';
|
|
12
8
|
import GmailMoleViewDriver from './widgets/gmail-mole-view-driver';
|
|
13
9
|
import InboxDrawerView from '../inbox/views/inbox-drawer-view';
|
|
14
|
-
import GmailRouteProcessor from './views/gmail-route-view/gmail-route-processor';
|
|
15
10
|
import KeyboardShortcutHelpModifier from './gmail-driver/keyboard-shortcut-help-modifier';
|
|
16
|
-
import UserInfo from './gmail-driver/user-info';
|
|
17
11
|
import GmailButterBarDriver from './gmail-butter-bar-driver';
|
|
18
12
|
import type KeyboardShortcutHandle from '../../views/keyboard-shortcut-handle';
|
|
19
13
|
import type { GetDraftIdResult } from './gmail-driver/get-draft-id-for-message-id';
|
|
@@ -23,12 +17,10 @@ import type Logger from '../../lib/logger';
|
|
|
23
17
|
import type PageCommunicator from './gmail-page-communicator';
|
|
24
18
|
import type { RouteParams } from '../../namespaces/router';
|
|
25
19
|
import type ButterBar from '../../namespaces/butter-bar';
|
|
26
|
-
import type {
|
|
20
|
+
import type { DrawerViewOptions } from '../../driver-interfaces/driver';
|
|
27
21
|
import type GmailComposeView from './views/gmail-compose-view';
|
|
28
22
|
import type GmailMessageView from './views/gmail-message-view';
|
|
29
23
|
import type GmailThreadView from './views/gmail-thread-view';
|
|
30
|
-
import type GmailToolbarView from './views/gmail-toolbar-view';
|
|
31
|
-
import type GmailRowListView from './views/gmail-row-list-view';
|
|
32
24
|
import type GmailRouteView from './views/gmail-route-view/gmail-route-view';
|
|
33
25
|
import type GmailSupportItemView from './views/gmail-support-item-view';
|
|
34
26
|
import type { SupportItemDescriptor } from './views/gmail-support-item-view';
|
|
@@ -42,45 +34,12 @@ import { Contact } from '../../../inboxsdk';
|
|
|
42
34
|
import GmailAttachmentCardView from './views/gmail-attachment-card-view';
|
|
43
35
|
import type { PersonDetails } from '../../namespaces/user';
|
|
44
36
|
import { type ContentPanelDescriptor } from '../../driver-common/sidebar/ContentPanelViewDriver';
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
_customRouteIDs: Set<string>;
|
|
51
|
-
_customListRouteIDs: Map<string, Function>;
|
|
52
|
-
_customListSearchStringsToRouteIds: Map<string, string>;
|
|
53
|
-
_messageIDsToThreadIDs: Map<string, string>;
|
|
54
|
-
_threadRowIdentifier: ThreadRowIdentifier;
|
|
55
|
-
_gmailRouteProcessor: GmailRouteProcessor;
|
|
56
|
-
_keyboardShortcutHelpModifier: KeyboardShortcutHelpModifier;
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
declare class GmailDriver {
|
|
41
|
+
#private;
|
|
57
42
|
onready: Promise<void>;
|
|
58
|
-
_page: PageParserTree;
|
|
59
|
-
_pageCommunicator: PageCommunicator;
|
|
60
|
-
_pageCommunicatorPromise: Promise<PageCommunicator>;
|
|
61
|
-
_butterBar: ButterBar | null | undefined;
|
|
62
|
-
_butterBarDriver: GmailButterBarDriver;
|
|
63
|
-
_routeViewDriverStream: Kefir.Observable<GmailRouteView, unknown>;
|
|
64
|
-
_rowListViewDriverStream: Kefir.Observable<any, unknown>;
|
|
65
|
-
_threadRowViewDriverKefirStream: Kefir.Observable<any, unknown>;
|
|
66
|
-
_threadViewDriverLiveSet: LiveSet<GmailThreadView>;
|
|
67
|
-
_toolbarViewDriverLiveSet: LiveSet<GmailToolbarView>;
|
|
68
|
-
_composeViewDriverStream: Kefir.Observable<GmailComposeView, unknown>;
|
|
69
|
-
_xhrInterceptorStream: Kefir.Observable<any, unknown>;
|
|
70
|
-
_messageViewDriverStream: Kefir.Observable<GmailMessageView, unknown>;
|
|
71
|
-
_stopper: import("kefir-stopper").Stopper;
|
|
72
|
-
_navMarkerHiddenChanged: Bus<null, unknown>;
|
|
73
|
-
_addonSidebarHiddenChanged: Bus<null, unknown>;
|
|
74
|
-
_userInfo: UserInfo;
|
|
75
|
-
_timestampAccountSwitcherReady: number | null | undefined;
|
|
76
|
-
_timestampGlobalsFound: number | null | undefined;
|
|
77
|
-
_timestampOnready: number | null | undefined;
|
|
78
|
-
_lastCustomThreadListActivity: {
|
|
79
|
-
customRouteID: string;
|
|
80
|
-
timestamp: Date;
|
|
81
|
-
} | null | undefined;
|
|
82
|
-
_currentRouteViewDriver: GmailRouteView;
|
|
83
|
-
_appSidebarView: GmailAppSidebarView | null | undefined;
|
|
84
43
|
getGmailThreadIdForRfcMessageId: (rfcId: string) => Promise<string>;
|
|
85
44
|
getRfcMessageIdForGmailThreadId: (threadId: string) => Promise<string>;
|
|
86
45
|
getSyncThreadIdForOldGmailThreadId: (threadId: string) => Promise<string>;
|
|
@@ -95,6 +54,7 @@ declare class GmailDriver implements Driver {
|
|
|
95
54
|
getOpts(): PiOpts;
|
|
96
55
|
getPageCommunicator(): PageCommunicator;
|
|
97
56
|
getPageCommunicatorPromise(): Promise<PageCommunicator>;
|
|
57
|
+
get logger(): Logger;
|
|
98
58
|
getLogger(): Logger;
|
|
99
59
|
getTagTree(): TagTree<HTMLElement>;
|
|
100
60
|
getCustomListSearchStringsToRouteIds(): Map<string, string>;
|
|
@@ -118,7 +78,11 @@ declare class GmailDriver implements Driver {
|
|
|
118
78
|
getTimestampOnReady(): number;
|
|
119
79
|
delayToTimeAfterReady(time: number): Kefir.Observable<void, unknown>;
|
|
120
80
|
getTimings(): {
|
|
121
|
-
|
|
81
|
+
readonly piMainStarted: number;
|
|
82
|
+
readonly piLoadStarted: number;
|
|
83
|
+
readonly globalsFound: number | null | undefined;
|
|
84
|
+
readonly accountSwitcherReady: number | null | undefined;
|
|
85
|
+
readonly onready: number | null | undefined;
|
|
122
86
|
};
|
|
123
87
|
registerThreadButton(options: any): () => void;
|
|
124
88
|
hashChangeNoViewChange(hash: string): void;
|
|
@@ -158,12 +122,6 @@ declare class GmailDriver implements Driver {
|
|
|
158
122
|
getUserContact(): Contact;
|
|
159
123
|
getAccountSwitcherContactList(): Contact[];
|
|
160
124
|
activateShortcut(keyboardShortcutHandle: KeyboardShortcutHandle, appName: string | null | undefined, appIconUrl: string | null | undefined): void;
|
|
161
|
-
_setupEventStreams(): void;
|
|
162
|
-
_setupComposeViewDriverStream(): void;
|
|
163
|
-
_setupRouteSubViewDriver(viewName: string): Kefir.Observable<any, unknown>;
|
|
164
|
-
_setupThreadRowViewDriverKefirStream(): void;
|
|
165
|
-
_setupToolbarViewDriverStream(): void;
|
|
166
|
-
_setupMessageViewDriverStream(): void;
|
|
167
125
|
addGlobalSidebarContentPanel(descriptor: Kefir.Observable<ContentPanelDescriptor, unknown>): Promise<ContentPanelViewDriver | null | undefined>;
|
|
168
126
|
waitForGlobalSidebarReady(): Kefir.Observable<void, unknown>;
|
|
169
127
|
getGlobalSidebar(): GmailAppSidebarView;
|
|
@@ -174,13 +132,10 @@ declare class GmailDriver implements Driver {
|
|
|
174
132
|
associateThreadAndMessageIDs(threadID: string, messageID: string): void;
|
|
175
133
|
getThreadIDForMessageID(messageID: string): string;
|
|
176
134
|
getDraftIDForMessageID(messageID: string, skipCache?: boolean): Promise<GetDraftIdResult>;
|
|
177
|
-
_recentSyncDraftIds: Map<string, number>;
|
|
178
135
|
reportRecentSyncDraftId(syncDraftId: string): void;
|
|
179
136
|
reportDraftClosed(syncDraftId: string): void;
|
|
180
137
|
isRecentSyncDraftId(syncMessageId: string): boolean;
|
|
181
|
-
_selectedThreadRows: t.Transducer<GmailRowListView, GmailThreadRowView>;
|
|
182
138
|
getSelectedThreadRowViewDrivers(): ReadonlyArray<GmailThreadRowView>;
|
|
183
|
-
_threadRowViewSelectionChanges: Bus<unknown, unknown>;
|
|
184
139
|
signalThreadRowViewSelectionChange(): void;
|
|
185
140
|
registerThreadRowViewSelectionHandler(handler: () => any): () => void;
|
|
186
141
|
getPersonDetails(emailAddress: string): Promise<PersonDetails | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gmail-driver.d.ts","sourceRoot":"","sources":["../../../../../../src/platform-implementation-js/dom-driver/gmail/gmail-driver.ts"],"names":[],"mappings":"
|
|
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,MAAM,kCAAkC,CAAC;AACnE,OAAO,eAAe,MAAM,kCAAkC,CAAC;AAE/D,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAG1F,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAO7D,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAYnF,OAAO,mBAAmB,MAAM,sCAAsC,CAAC;AAQvE,OAAO,mBAAmB,MAAM,gCAAgC,CAAC;AAWjE,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAC9D,O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S,EAClC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS;IA4HjC,4BAA4B,CAChC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,EAAE,OAAO,CAAC,GAC5D,OAAO,CAAC,sBAAsB,GAAG,IAAI,GAAG,SAAS,CAAC;IAcrD,yBAAyB,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE,OAAO,CAAC;IAW5D,gBAAgB,IAAI,mBAAmB;IAgBvC,sBAAsB,IAAI,OAAO;IAIjC,cAAc,IAAI,OAAO;IAIzB,gBAAgB;IAIhB,yBAAyB,CACvB,YAAY,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,GAC3C,wBAAwB;IAI3B,4BAA4B,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAIhE,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAIlD,sBAAsB,CACpB,SAAS,EAAE,MAAM,EACjB,SAAS,GAAE,OAAe,GACzB,OAAO,CAAC,gBAAgB,CAAC;IAM5B,uBAAuB,CAAC,WAAW,EAAE,MAAM;IAM3C,iBAAiB,CAAC,WAAW,EAAE,MAAM;IAyBrC,mBAAmB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO;IAOnD,+BAA+B,IAAI,aAAa,CAAC,kBAAkB,CAAC;IAYpE,kCAAkC;IAIlC,qCAAqC,CAAC,OAAO,EAAE,MAAM,GAAG,GAAG,MAAM,IAAI;IAOrE,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC;CAG3E;AAED,eAAe,WAAW,CAAC"}
|
package/src/platform-implementation-js/dom-driver/gmail/views/gmail-app-sidebar-view/index.d.ts
CHANGED
|
@@ -2,17 +2,14 @@ import * as Kefir from 'kefir';
|
|
|
2
2
|
import ContentPanelViewDriver, { type ContentPanelDescriptor } from '../../../../driver-common/sidebar/ContentPanelViewDriver';
|
|
3
3
|
import type GmailDriver from '../../gmail-driver';
|
|
4
4
|
import type GmailThreadView from '../gmail-thread-view';
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
5
8
|
declare class GmailAppSidebarView {
|
|
6
|
-
|
|
7
|
-
_driver: GmailDriver;
|
|
8
|
-
_instanceId: string;
|
|
9
|
+
#private;
|
|
9
10
|
constructor(driver: GmailDriver, companionSidebarContentContainerElement: HTMLElement);
|
|
10
11
|
destroy(): void;
|
|
11
12
|
getStopper(): import("kefir-stopper").Stopper;
|
|
12
|
-
_getShouldThreadAppSidebarOpen(): boolean;
|
|
13
|
-
_setShouldThreadAppSidebarOpen(open: boolean): void;
|
|
14
|
-
_getShouldGlobalAppSidebarOpen(): boolean;
|
|
15
|
-
_setShouldGlobalAppSidebarOpen(open: boolean): void;
|
|
16
13
|
addThreadSidebarContentPanel(descriptor: Kefir.Observable<ContentPanelDescriptor, unknown>, threadView: GmailThreadView): ContentPanelViewDriver;
|
|
17
14
|
addGlobalSidebarContentPanel(descriptor: Kefir.Observable<ContentPanelDescriptor, unknown>): ContentPanelViewDriver;
|
|
18
15
|
}
|
package/src/platform-implementation-js/dom-driver/gmail/views/gmail-app-sidebar-view/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/platform-implementation-js/dom-driver/gmail/views/gmail-app-sidebar-view/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,sBAAsB,EAAE,EAC7B,KAAK,sBAAsB,EAC5B,MAAM,0DAA0D,CAAC;AAClE,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAC;AAGxD,cAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/platform-implementation-js/dom-driver/gmail/views/gmail-app-sidebar-view/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,sBAAsB,EAAE,EAC7B,KAAK,sBAAsB,EAC5B,MAAM,0DAA0D,CAAC;AAClE,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAC;AAGxD;;GAEG;AACH,cAAM,mBAAmB;;gBAMrB,MAAM,EAAE,WAAW,EACnB,uCAAuC,EAAE,WAAW;IAoCtD,OAAO;IAIP,UAAU;IAIV,4BAA4B,CAC1B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,EAAE,OAAO,CAAC,EAC7D,UAAU,EAAE,eAAe;IAc7B,4BAA4B,CAC1B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,EAAE,OAAO,CAAC;CAahE;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,44 +1,18 @@
|
|
|
1
|
-
import type { Bus } from 'kefir-bus';
|
|
2
|
-
import OrderManager from 'order-manager';
|
|
3
|
-
import AppSidebar from '../../../../../driver-common/sidebar/AppSidebar';
|
|
4
|
-
import type { PanelDescriptor } from '../../../../../driver-common/sidebar/AppSidebar';
|
|
5
1
|
import type GmailDriver from '../../../gmail-driver';
|
|
2
|
+
/** Only one instance of this Primary is ever created within a page, even if
|
|
3
|
+
* there are multiple InboxSDK instances and/or extensions. All other InboxSDK
|
|
4
|
+
* instances (including from other extensions) communicate with this Primary
|
|
5
|
+
* through DOM events. */
|
|
6
6
|
declare class GmailAppSidebarPrimary {
|
|
7
|
-
|
|
8
|
-
_driver: GmailDriver;
|
|
9
|
-
_instanceId: string;
|
|
10
|
-
_companionSidebarContentContainerEl: HTMLElement;
|
|
11
|
-
_instanceIdsToDescriptors: Map<string, Record<string, any>>;
|
|
12
|
-
_threadSidebarComponent: AppSidebar | null | undefined;
|
|
13
|
-
_threadIconArea: HTMLElement | null | undefined;
|
|
14
|
-
_globalIconArea: HTMLElement | null | undefined;
|
|
15
|
-
_globalButtonContainers: Map<string, HTMLElement>;
|
|
16
|
-
_threadButtonContainers: Map<string, HTMLElement>;
|
|
17
|
-
_contentContainers: Map<string, HTMLElement>;
|
|
18
|
-
_threadSidebarContainerEl: HTMLElement | null | undefined;
|
|
19
|
-
_companionSidebarOuterWrapper: HTMLElement;
|
|
20
|
-
_currentIds: Set<string>;
|
|
21
|
-
_orderManager: OrderManager<PanelDescriptor>;
|
|
22
|
-
_containerProp: () => HTMLElement;
|
|
23
|
-
_updateHighlightedAppThreadIconBus: Bus<null, unknown>;
|
|
7
|
+
#private;
|
|
24
8
|
constructor(driver: GmailDriver, companionSidebarContentContainerElement: HTMLElement);
|
|
25
9
|
getInstanceId(): string;
|
|
10
|
+
/**
|
|
11
|
+
* Only use this if a different Primary needs to take over this one's elements.
|
|
12
|
+
* Currently this is only done when hot-reloading in dev. Don't use this when
|
|
13
|
+
* a threadview exits, the sdk.destroy() is called, etc.
|
|
14
|
+
*/
|
|
26
15
|
destroy(): void;
|
|
27
|
-
_getShouldGlobalAppSidebarOpen(): boolean;
|
|
28
|
-
_setShouldGlobalAppSidebarOpen(open: boolean): void;
|
|
29
|
-
_getShouldThreadAppSidebarOpen(): boolean;
|
|
30
|
-
_setShouldThreadAppSidebarOpen(open: boolean): void;
|
|
31
|
-
_createThreadSidebarIfNeeded(): HTMLElement;
|
|
32
|
-
_renderThreadSidebarIfPresent(): void;
|
|
33
|
-
_appSidebarRefSetter: (el: AppSidebar | null | undefined) => void;
|
|
34
|
-
_renderThreadSidebar(): Promise<AppSidebar>;
|
|
35
|
-
_getActiveButtonContainer(): HTMLElement | null | undefined;
|
|
36
|
-
_closeButton: ((userClick: boolean) => void) | null | undefined;
|
|
37
|
-
_addButton(iconArea: HTMLElement, event: Record<string, any>, isGlobal: boolean): void;
|
|
38
|
-
_removeButton(event: Record<string, any>, buttonContainers: Map<string, HTMLElement>, iconArea: HTMLElement | null | undefined): void;
|
|
39
|
-
_closeSidebarAndDeactivateButton(activeButtonContainer: HTMLElement): void;
|
|
40
|
-
_openSidebarAndActivateButton(buttonContainer: HTMLElement, isGlobal: boolean): void;
|
|
41
|
-
_setupElement(): void;
|
|
42
16
|
}
|
|
43
17
|
export default GmailAppSidebarPrimary;
|
|
44
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/platform-implementation-js/dom-driver/gmail/views/gmail-app-sidebar-view/primary/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/platform-implementation-js/dom-driver/gmail/views/gmail-app-sidebar-view/primary/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC;AAmBrD;;;yBAGyB;AACzB,cAAM,sBAAsB;;gBAuDxB,MAAM,EAAE,WAAW,EACnB,uCAAuC,EAAE,WAAW;IAStD,aAAa,IAAI,MAAM;IAIvB;;;;OAIG;IACH,OAAO;CAw+BR;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import type { MoleOptions } from '../../../driver-interfaces/mole-view-driver';
|
|
2
2
|
import type GmailDriver from '../gmail-driver';
|
|
3
3
|
declare class GmailMoleViewDriver {
|
|
4
|
-
|
|
5
|
-
_eventStream: import("kefir-bus").Bus<{
|
|
6
|
-
eventName: 'minimize' | 'restore';
|
|
7
|
-
}, unknown>;
|
|
8
|
-
_stopper: import("kefir-stopper").Stopper;
|
|
9
|
-
_element: HTMLElement;
|
|
4
|
+
#private;
|
|
10
5
|
constructor(driver: GmailDriver, options: MoleOptions);
|
|
11
6
|
show(): void;
|
|
12
7
|
setMinimized(minimized: boolean): void;
|
|
13
8
|
getMinimized(): boolean;
|
|
14
9
|
setTitle(text: string): void;
|
|
15
|
-
_setTitleEl(el: HTMLElement): void;
|
|
16
|
-
_setMinimizedTitleEl(el: HTMLElement): void;
|
|
17
10
|
getEventStream(): import("kefir-bus").Bus<{
|
|
18
11
|
eventName: "minimize" | "restore";
|
|
19
12
|
}, unknown>;
|
package/src/platform-implementation-js/dom-driver/gmail/widgets/gmail-mole-view-driver.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gmail-mole-view-driver.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/widgets/gmail-mole-view-driver.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAE/E,OAAO,KAAK,WAAW,MAAM,iBAAiB,CAAC;AAI/C,cAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"gmail-mole-view-driver.d.ts","sourceRoot":"","sources":["../../../../../../../src/platform-implementation-js/dom-driver/gmail/widgets/gmail-mole-view-driver.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAE/E,OAAO,KAAK,WAAW,MAAM,iBAAiB,CAAC;AAI/C,cAAM,mBAAmB;;gBAWX,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW;IAgFrD,IAAI;IA6CJ,YAAY,CAAC,SAAS,EAAE,OAAO;IAwB/B,YAAY,IAAI,OAAO;IAIvB,QAAQ,CAAC,IAAI,EAAE,MAAM;IAkCrB,cAAc;;;IAId,OAAO;CAOR;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -4,29 +4,21 @@ export interface ContentPanelDescriptor {
|
|
|
4
4
|
appIconUrl?: string;
|
|
5
5
|
appName?: string;
|
|
6
6
|
el: HTMLElement;
|
|
7
|
-
id
|
|
7
|
+
id?: string;
|
|
8
8
|
hideTitleBar?: boolean;
|
|
9
9
|
iconClass?: string;
|
|
10
10
|
iconUrl?: string;
|
|
11
11
|
orderHint?: number;
|
|
12
12
|
primaryColor?: string;
|
|
13
13
|
secondaryColor?: string;
|
|
14
|
-
title
|
|
14
|
+
title?: string;
|
|
15
15
|
}
|
|
16
16
|
declare class ContentPanelViewDriver {
|
|
17
|
-
|
|
18
|
-
_stopper: Kefir.Observable<null, unknown>;
|
|
19
|
-
_eventStream: import("kefir-bus").Bus<{
|
|
20
|
-
eventName: string;
|
|
21
|
-
}, unknown>;
|
|
22
|
-
_isActive: boolean;
|
|
23
|
-
_instanceId: string;
|
|
24
|
-
_sidebarId: string;
|
|
25
|
-
_isGlobal: boolean;
|
|
17
|
+
#private;
|
|
26
18
|
constructor(driver: Driver, descriptor: Kefir.Observable<ContentPanelDescriptor, unknown>, sidebarId: string, isGlobal?: boolean);
|
|
27
19
|
getStopper(): Kefir.Observable<null, unknown>;
|
|
28
20
|
getEventStream(): import("kefir-bus").Bus<{
|
|
29
|
-
eventName:
|
|
21
|
+
eventName: "activate" | "deactivate";
|
|
30
22
|
}, unknown>;
|
|
31
23
|
scrollIntoView(): void;
|
|
32
24
|
close(): void;
|
package/src/platform-implementation-js/driver-common/sidebar/ContentPanelViewDriver.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPanelViewDriver.d.ts","sourceRoot":"","sources":["../../../../../../src/platform-implementation-js/driver-common/sidebar/ContentPanelViewDriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAI7D,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,EAAE,WAAW,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ContentPanelViewDriver.d.ts","sourceRoot":"","sources":["../../../../../../src/platform-implementation-js/driver-common/sidebar/ContentPanelViewDriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAI7D,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,EAAE,WAAW,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,cAAM,sBAAsB;;gBAcxB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,EAAE,OAAO,CAAC,EAC7D,SAAS,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE,OAAO;IAkHpB,UAAU;IAIV,cAAc;;;IAKd,cAAc;IAad,KAAK;IAcL,IAAI;IAcJ,QAAQ,IAAI,OAAO;IAInB,MAAM;CAGP;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -3,8 +3,7 @@ export interface AppLogger {
|
|
|
3
3
|
event(name: string, details?: any): void;
|
|
4
4
|
}
|
|
5
5
|
export default class Logger {
|
|
6
|
-
private
|
|
7
|
-
private _isMaster;
|
|
6
|
+
#private;
|
|
8
7
|
constructor(appId: string, opts: any, loaderVersion: string, implVersion: string);
|
|
9
8
|
setUserEmailAddress(email: string): void;
|
|
10
9
|
shouldTrackEverything(): boolean;
|
|
@@ -14,8 +13,14 @@ export default class Logger {
|
|
|
14
13
|
static error(err: Error | unknown, details?: any): void;
|
|
15
14
|
error(err: Error | unknown, details?: any): void;
|
|
16
15
|
errorApp(err: Error | unknown, details?: any): void;
|
|
16
|
+
/** Only the first logger instance reports Site errors. */
|
|
17
17
|
errorSite(err: Error | unknown, details?: any): void;
|
|
18
|
+
/** Should only be used by the InboxSDK users for their own app events. */
|
|
18
19
|
eventApp(name: string, details?: any): void;
|
|
20
|
+
/**
|
|
21
|
+
* For tracking app events that are possibly triggered by the user. Extensions
|
|
22
|
+
* can opt out of this with a flag passed to InboxSDK.load().
|
|
23
|
+
*/
|
|
19
24
|
eventSdkActive(name: string, details?: any): void;
|
|
20
25
|
eventSdkPassive(name: string, details?: any, sensitive?: boolean): void;
|
|
21
26
|
eventSite(name: string, details?: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/lib/logger.ts"],"names":[],"mappings":"AAsDA,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,GAAG,EAAE,KAAK,GAAG,OAAO,EAAE,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACjD,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CAC1C;AAED,MAAM,CAAC,OAAO,OAAO,MAAM
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/lib/logger.ts"],"names":[],"mappings":"AAsDA,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,GAAG,EAAE,KAAK,GAAG,OAAO,EAAE,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACjD,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CAC1C;AAED,MAAM,CAAC,OAAO,OAAO,MAAM;;gBAKvB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,GAAG,EACT,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM;IA8CrB,mBAAmB,CAAC,KAAK,EAAE,MAAM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gB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAI7C"}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
import EventEmitter from '../lib/safe-event-emitter';
|
|
2
1
|
import type ContentPanelViewDriver from '../driver-common/sidebar/ContentPanelViewDriver';
|
|
3
|
-
|
|
2
|
+
import type TypedEventEmitter from 'typed-emitter';
|
|
3
|
+
declare const ContentPanelView_base: new () => TypedEventEmitter<{
|
|
4
|
+
activate(): void;
|
|
5
|
+
deactivate(): void;
|
|
6
|
+
destroy(): void;
|
|
7
|
+
}>;
|
|
8
|
+
export default class ContentPanelView extends ContentPanelView_base {
|
|
9
|
+
#private;
|
|
4
10
|
destroyed: boolean;
|
|
5
11
|
constructor(contentPanelViewImplementation: ContentPanelViewDriver);
|
|
6
12
|
remove(): void;
|
|
7
13
|
close(): void;
|
|
8
14
|
open(): void;
|
|
9
15
|
isActive(): boolean;
|
|
10
|
-
_bindToStreamEvents(): void;
|
|
11
16
|
}
|
|
17
|
+
export {};
|
|
12
18
|
//# sourceMappingURL=content-panel-view.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-panel-view.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/views/content-panel-view.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"content-panel-view.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/views/content-panel-view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,sBAAsB,MAAM,iDAAiD,CAAC;AAC1F,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC;+CAOsB,kBAAkB;IACzF,QAAQ,IAAI,IAAI,CAAC;IACjB,UAAU,IAAI,IAAI,CAAC;IACnB,OAAO,IAAI,IAAI,CAAC;CACjB,CAAC;AAJF,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,qBAI3C;;IACD,SAAS,EAAE,OAAO,CAAS;gBAEf,8BAA8B,EAAE,sBAAsB;IAUlE,MAAM;IAIN,KAAK;IAIL,IAAI;IAIJ,QAAQ,IAAI,OAAO;CAiBpB"}
|