@inboxsdk/core 2.1.39 → 2.1.41
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 +2351 -2346
- package/package.json +1 -1
- package/src/inboxsdk.d.ts +11 -77
- package/src/platform-implementation-js/dom-driver/gmail/gmail-driver/add-toolbar-button-for-app.d.ts +1 -1
- package/src/platform-implementation-js/dom-driver/gmail/gmail-driver/add-toolbar-button-for-app.d.ts.map +1 -1
- package/src/platform-implementation-js/dom-driver/gmail/gmail-driver.d.ts +10 -3
- 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-toolbar-button-view.d.ts +4 -3
- package/src/platform-implementation-js/dom-driver/gmail/views/gmail-app-toolbar-button-view.d.ts.map +1 -1
- package/src/platform-implementation-js/dom-driver/gmail/views/gmail-message-view.d.ts +1 -1
- package/src/platform-implementation-js/dom-driver/gmail/views/gmail-message-view.d.ts.map +1 -1
- package/src/platform-implementation-js/lib/handler-registry.d.ts +1 -1
- package/src/platform-implementation-js/lib/handler-registry.d.ts.map +1 -1
- package/src/platform-implementation-js/namespaces/compose.d.ts +2 -2
- package/src/platform-implementation-js/namespaces/compose.d.ts.map +1 -1
- package/src/platform-implementation-js/namespaces/router.d.ts +52 -3
- package/src/platform-implementation-js/namespaces/router.d.ts.map +1 -1
- package/src/platform-implementation-js/namespaces/toolbars.d.ts +23 -10
- package/src/platform-implementation-js/namespaces/toolbars.d.ts.map +1 -1
- package/src/platform-implementation-js/views/conversations/attachment-card-view.d.ts +2 -0
- package/src/platform-implementation-js/views/conversations/attachment-card-view.d.ts.map +1 -1
package/package.json
CHANGED
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,
|
|
@@ -35,7 +36,10 @@ import type {
|
|
|
35
36
|
import type CollapsibleSectionView from './platform-implementation-js/views/collapsible-section-view';
|
|
36
37
|
import type ListRouteView from './platform-implementation-js/views/route-view/list-route-view';
|
|
37
38
|
import type SectionView from './platform-implementation-js/views/section-view';
|
|
38
|
-
import
|
|
39
|
+
import Router, {
|
|
40
|
+
type RouteParams,
|
|
41
|
+
} from './platform-implementation-js/namespaces/router';
|
|
42
|
+
import CustomRouteView from './platform-implementation-js/views/route-view/custom-route-view';
|
|
39
43
|
|
|
40
44
|
export type { User };
|
|
41
45
|
|
|
@@ -86,11 +90,7 @@ export interface Conversations {
|
|
|
86
90
|
): () => void;
|
|
87
91
|
}
|
|
88
92
|
|
|
89
|
-
export
|
|
90
|
-
openDraftByMessageID(messageId: string): Promise<ComposeView>;
|
|
91
|
-
openNewComposeView(): Promise<ComposeView>;
|
|
92
|
-
registerComposeViewHandler(handler: (composeView: ComposeView) => void): void;
|
|
93
|
-
}
|
|
93
|
+
export { Compose };
|
|
94
94
|
|
|
95
95
|
export interface ButterBar {
|
|
96
96
|
showMessage(messageDescriptor: MessageDescriptor): { destroy: () => void };
|
|
@@ -131,71 +131,7 @@ export interface NavMenu {
|
|
|
131
131
|
): NavItemView;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
export
|
|
135
|
-
createLink(routeID: string, params?: any): string;
|
|
136
|
-
getCurrentRouteView(): RouteView;
|
|
137
|
-
goto(routeID: string, params?: any): Promise<void>;
|
|
138
|
-
handleAllRoutes(handler: (routeView: RouteView) => void): () => void;
|
|
139
|
-
handleCustomRoute(
|
|
140
|
-
routeID: string,
|
|
141
|
-
handler: (customRouteView: CustomRouteView) => void,
|
|
142
|
-
): () => void;
|
|
143
|
-
handleCustomListRoute(
|
|
144
|
-
routeID: string,
|
|
145
|
-
handler: (offset: number, max: number) => void,
|
|
146
|
-
): void;
|
|
147
|
-
handleListRoute(
|
|
148
|
-
routeID: string,
|
|
149
|
-
handler: (listRouteView: ListRouteView) => void,
|
|
150
|
-
): () => void;
|
|
151
|
-
NativeRouteIDs: Record<NativeRouteIdTypes, string>;
|
|
152
|
-
NativeListRouteIDs: Record<
|
|
153
|
-
| 'ALL_MAIL'
|
|
154
|
-
| 'ANY_LIST'
|
|
155
|
-
| 'DRAFTS'
|
|
156
|
-
| 'IMPORTANT'
|
|
157
|
-
| 'INBOX'
|
|
158
|
-
| 'LABEL'
|
|
159
|
-
| 'SEARCH'
|
|
160
|
-
| 'SEARCH'
|
|
161
|
-
| 'SENT'
|
|
162
|
-
| 'SPAM'
|
|
163
|
-
| 'STARRED'
|
|
164
|
-
| 'TRASH',
|
|
165
|
-
string
|
|
166
|
-
>;
|
|
167
|
-
RouteTypes: Record<RouteTypes, string>;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
type NativeRouteIdTypes =
|
|
171
|
-
| 'INBOX'
|
|
172
|
-
| 'ALL_MAIL'
|
|
173
|
-
| 'SENT'
|
|
174
|
-
| 'STARRED'
|
|
175
|
-
| 'DRAFTS'
|
|
176
|
-
| 'SNOOZED'
|
|
177
|
-
| 'DONE'
|
|
178
|
-
| 'REMINDERS'
|
|
179
|
-
| 'LABEL'
|
|
180
|
-
| 'TRASH'
|
|
181
|
-
| 'SPAM'
|
|
182
|
-
| 'IMPORTANT'
|
|
183
|
-
| 'SEARCH'
|
|
184
|
-
| 'THREAD'
|
|
185
|
-
| 'CHATS'
|
|
186
|
-
| 'CHAT'
|
|
187
|
-
| 'CONTACTS'
|
|
188
|
-
| 'CONTACT'
|
|
189
|
-
| 'SETTINGS'
|
|
190
|
-
| 'ANY_LIST';
|
|
191
|
-
|
|
192
|
-
type RouteTypes =
|
|
193
|
-
| 'CHAT'
|
|
194
|
-
| 'CUSTOM'
|
|
195
|
-
| 'LIST'
|
|
196
|
-
| 'SETTINGS'
|
|
197
|
-
| 'THREAD'
|
|
198
|
-
| 'UNKNOWN';
|
|
134
|
+
export { Router };
|
|
199
135
|
|
|
200
136
|
export interface Widgets {
|
|
201
137
|
/** check whether mole view has light title bar as part of gmail new view / original view */
|
|
@@ -217,7 +153,7 @@ export interface AppToolbarButtonDescriptor {
|
|
|
217
153
|
titleClass?: string;
|
|
218
154
|
iconUrl: string;
|
|
219
155
|
iconClass?: string;
|
|
220
|
-
onClick: (e:
|
|
156
|
+
onClick: (e: { dropdown?: DropdownView }) => void;
|
|
221
157
|
arrowColor?: string | null;
|
|
222
158
|
}
|
|
223
159
|
|
|
@@ -434,9 +370,7 @@ export interface SectionDescriptor {
|
|
|
434
370
|
|
|
435
371
|
export { ListRouteView };
|
|
436
372
|
|
|
437
|
-
export
|
|
438
|
-
getElement(): HTMLElement;
|
|
439
|
-
}
|
|
373
|
+
export { CustomRouteView };
|
|
440
374
|
|
|
441
375
|
export interface CustomListDescriptor {
|
|
442
376
|
hasMore?: boolean;
|
|
@@ -576,8 +510,8 @@ export interface MessageAttachmentIconDescriptor {
|
|
|
576
510
|
iconUrl?: string;
|
|
577
511
|
iconClass?: string;
|
|
578
512
|
iconHtml?: string | null;
|
|
579
|
-
tooltip
|
|
580
|
-
onClick
|
|
513
|
+
tooltip?: string | HTMLElement;
|
|
514
|
+
onClick?: () => void;
|
|
581
515
|
}
|
|
582
516
|
|
|
583
517
|
export type AttachmentIcon = TypedEmitter<{
|
package/src/platform-implementation-js/dom-driver/gmail/gmail-driver/add-toolbar-button-for-app.d.ts
CHANGED
|
@@ -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.
|
|
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,
|
|
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:
|
|
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.
|
|
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,CAAC;AAQvE,OAAO,mBAAmB,MAAM,gCAAgC,CAAC;AAWjE,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAC;AACzD,OAAO,KA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AAC,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-toolbar-button-view.d.ts
CHANGED
|
@@ -2,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:
|
|
11
|
+
_buttonDescriptor: AppToolbarButtonDescriptor | null | undefined;
|
|
11
12
|
_driver: Driver;
|
|
12
|
-
constructor(driver: Driver, inButtonDescriptor: Kefir.Observable<
|
|
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:
|
|
19
|
+
_handleButtonDescriptor(buttonDescriptor: AppToolbarButtonDescriptor): void;
|
|
19
20
|
_handleClick(): void;
|
|
20
21
|
}
|
|
21
22
|
//# sourceMappingURL=gmail-app-toolbar-button-view.d.ts.map
|
package/src/platform-implementation-js/dom-driver/gmail/views/gmail-app-toolbar-button-view.d.ts.map
CHANGED
|
@@ -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,
|
|
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.
|
|
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/g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AAE,aAAa,CAAC;CAC1B,CACJ,GAAG;IACF,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB,CAAC;AAEF,cAAM,gBAAgB;;gBAoBlB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAE,eAAe,EAChC,MAAM,EAAE,WAAW;IAiFrB,OAAO;IAYP,cAAc;IAId,qBAAqB;IAIrB,UAAU,IAAI,WAAW;IAIzB,mBAAmB,IAAI,eAAe;IAItC,QAAQ,IAAI,OAAO;IAInB,kBAAkB,IAAI,WAAW;IAejC,qBAAqB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO;IAIpD,SAAS,IAAI,OAAO;IAapB,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAe/B,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,
|
|
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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rB,OAAO;IAYP,cAAc;IAId,qBAAqB;IAIrB,UAAU,IAAI,WAAW;IAIzB,mBAAmB,IAAI,eAAe;IAItC,QAAQ,IAAI,OAAO;IAInB,kBAAkB,IAAI,WAAW;IAejC,qBAAqB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO;IAIpD,SAAS,IAAI,OAAO;IAapB,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAe/B,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handler-registry.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/lib/handler-registry.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"handler-registry.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/lib/handler-registry.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AAE7D,MAAM,CAAC,OAAO,OAAO,eAAe,CAAC,CAAC;IACpC,OAAO,CAAC,QAAQ,CAAgB;IAChC,OAAO,CAAC,gBAAgB,CAAyB;IACjD,OAAO,CAAC,SAAS,CAAyB;IAE1C,eAAe,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI;IAwBhD,SAAS,CAAC,MAAM,EAAE,CAAC;IAiBnB,YAAY,CAAC,MAAM,EAAE,CAAC;IAItB,YAAY;IAKZ,OAAO,CAAC,uBAAuB;IAO/B,OAAO,CAAC,uBAAuB;CAMhC"}
|
|
@@ -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
|
-
|
|
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,
|
|
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,12 +1,17 @@
|
|
|
1
|
-
import HandlerRegistry from '../lib/handler-registry';
|
|
2
1
|
import RouteView from '../views/route-view/route-view';
|
|
3
2
|
import ListRouteView from '../views/route-view/list-route-view';
|
|
4
3
|
import CustomRouteView from '../views/route-view/custom-route-view';
|
|
5
4
|
import type Membrane from '../lib/Membrane';
|
|
6
5
|
import type { Driver } from '../driver-interfaces/driver';
|
|
7
6
|
import type { Handler } from '../lib/handler-registry';
|
|
8
|
-
export type RouteParams = Record<string, string | number>;
|
|
7
|
+
export type RouteParams = Record<string, string | number | undefined | null>;
|
|
8
|
+
/**
|
|
9
|
+
* This namespace contains functionality associated with creating your own content inside Gmail. It allows you to define "Routes" which define a full page of content and an associated URL space for which they are active. You can think of routes as different pages in your application. Gmail already have a few routes built in (Inbox, Sent, Drafts, etc). This namespace allows you to define your own as well as listen in on the built in routes being navigated to.
|
|
10
|
+
|
|
11
|
+
This is typically used when you want to create content to fill the main content area of Gmail. Every route has a URL associated with it and can have optional parameters. However, you never construct these URL's manually. The SDK will take care of creating a URL that will work in Gmail for your Route. Since these URL's may change due to implementations of Gmail, you should always create new links when trying to set URL on elements or simply use the goto function which naviagtes to the created link automatically. Using the handleX family of methods, you can specify which routes your application can handle. You will be called back with and instance of a RouteView or similar when the user navigates to a route you've declared you can handle. For custom routes, you'll typically add your own content and for built in routes, you'll typically modify the existing content. Route ID's are path like strings with named parameters, for example: "myroute/:someParamMyRouteNeeds".
|
|
12
|
+
*/
|
|
9
13
|
declare class Router {
|
|
14
|
+
#private;
|
|
10
15
|
NativeRouteIDs: Readonly<{
|
|
11
16
|
INBOX: "inbox/:page";
|
|
12
17
|
ALL_MAIL: "all/:page";
|
|
@@ -62,12 +67,56 @@ declare class Router {
|
|
|
62
67
|
UNKNOWN: "UNKNOWN";
|
|
63
68
|
}>;
|
|
64
69
|
constructor(appId: string, driver: Driver, membrane: Membrane);
|
|
70
|
+
/**
|
|
71
|
+
* Get a URL that can be used to navigate to a view. You'll typically want to use this to set the href of an element or similar. Returns the encoded URL string.
|
|
72
|
+
*
|
|
73
|
+
* @param routeID A route specifying where the link should navigate the user to. This should either be a routeID registered with {@link Router#handleCustomRoute} or {@link Router#handleCustomListRoute}, or a value from {@link Router#NativeRouteIDs}.
|
|
74
|
+
* @param params an object containing the parameters that will be encoded in the link and decoded when the user subsequently visits the route. Handlers for the specified routeID will receive a copy of this object. This object must contain only simple key value pairs with no nested arrays/objects.
|
|
75
|
+
*/
|
|
65
76
|
createLink(routeID: string, params?: (RouteParams | null | undefined) | string): string;
|
|
77
|
+
/**
|
|
78
|
+
* Change the route to be the one with the given ID and have the given parameters.
|
|
79
|
+
* @param routeID A route specifying where the link should navigate the user to. This should either be a routeID registered with {@link Router#handleCustomRoute} or {@link Router#handleCustomListRoute} a value from {@link Router#NativeRouteIDs}, or a value previously returned by {@link Router#createLink}. If it's a value previously returned by {@link Router#createLink} then the params argument must be omitted.
|
|
80
|
+
* @param params an object containing the parameters that will be encoded in the link and decoded when the user subsequently visits the route. Handlers for the specified routeID will receive a copy of this object. This object must contain only simple key value pairs with no nested arrays/objects.
|
|
81
|
+
*/
|
|
66
82
|
goto(routeID: string, params?: (RouteParams | null | undefined) | string): Promise<void>;
|
|
67
|
-
|
|
83
|
+
/**
|
|
84
|
+
* Registers a handler (callback) to be called when the user navigates to a custom route which matches the routeID you provide. Use this to create your own routes (pages) with your own custom content. Your callback will be passed an instance of a {@link CustomRouteView} whose contents you may modify.
|
|
85
|
+
* @param routeID which route this handler is registering for
|
|
86
|
+
* @param handler The callback to call when the route changes to a custom route matching the provided routeID
|
|
87
|
+
* @returns a function which removes the handler registration.
|
|
88
|
+
*/
|
|
89
|
+
handleCustomRoute(routeID: string, handler: Handler<CustomRouteView>): () => void;
|
|
90
|
+
/**
|
|
91
|
+
* Registers a handler (callback) to be called when the user navigates to any route (both customs and built in routes). Because this can apply to any route, your callback will be given only a generic RouteView. This is typically used when you want to monitor for page changes but don't necessarily need to modify the page.
|
|
92
|
+
* @param handler The callback to call when the route changes
|
|
93
|
+
* @returns a function which removes the handler registration.
|
|
94
|
+
*/
|
|
68
95
|
handleAllRoutes(handler: Handler<any>): () => void;
|
|
96
|
+
/**
|
|
97
|
+
* Registers a handler (callback) to be called when the user navigates to a list route which matches the routeID you provide. Gmail have several built in routes which are "Lists". These include routes like Inbox, All Mail, Sent, Drafts, etc. You'll typically use this to modify Gmail's built in List routes.
|
|
98
|
+
* @param routeID which list route this handler is registering for.
|
|
99
|
+
* @param handler The callback to call when the route changes to a list route matching the routeId.
|
|
100
|
+
* @returns a function which removes the handler registration.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
*
|
|
104
|
+
* ```javascript
|
|
105
|
+
* sdk.Router.handleListRoute(sdk.Router.NativeRouteIDs.INBOX, (listRouteView) => {
|
|
106
|
+
* ```
|
|
107
|
+
});
|
|
108
|
+
*/
|
|
69
109
|
handleListRoute(routeID: string, handler: Handler<ListRouteView>): () => void;
|
|
110
|
+
/**
|
|
111
|
+
* Used to create a custom view that shows a list of threads. When the user navigates to the given routeID, the handler function will be called. The handler function will be passed the starting offset (if the user sees 50 threads per page and is on page 2, then the offset will be 50), and a maximum number of threads to return. It must return a CustomListDescriptor, or a promise which resolves to one.
|
|
112
|
+
* @param routeID Which route this handler is registering for.
|
|
113
|
+
* @param handler Passed a page offset and a maximum number of threads to return. Must return a CustomListDescriptor, or a promise which resolves to one.
|
|
114
|
+
* @returns a function which removes the handler registration.
|
|
115
|
+
*/
|
|
70
116
|
handleCustomListRoute(routeID: string, handler: (...args: Array<any>) => any): () => void;
|
|
117
|
+
/**
|
|
118
|
+
* @returns a RouteView of the current route view
|
|
119
|
+
*/
|
|
71
120
|
getCurrentRouteView(): RouteView;
|
|
72
121
|
}
|
|
73
122
|
export default Router;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/namespaces/router.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/namespaces/router.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,gCAAgC,CAAC;AACvD,OAAO,aAAa,MAAM,qCAAqC,CAAC;AAChE,OAAO,eAAe,MAAM,uCAAuC,CAAC;AAEpE,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAM5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAGvD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC,CAAC;AAI7E;;;;GAIG;AACH,cAAM,MAAM;;IACV,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAoB;IAClC,kBAAkB;;;;;;;;;;;;;;;OAAyB;IAC3C,UAAU;;;;;;;;;OAAe;gBAcb,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ;IA8B7D;;;;;OAKG;IACH,UAAU,CACR,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,CAAC,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,MAAM,GACjD,MAAM;IAIT;;;;OAIG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,CAAC,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,MAAM,GACjD,OAAO,CAAC,IAAI,CAAC;IAmBhB;;;;;OAKG;IACH,iBAAiB,CACf,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAChC,MAAM,IAAI;IAoBb;;;;OAIG;IACH,eAAe,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,MAAM,IAAI;IAIlD;;;;;;;;;;;;OAYG;IACH,eAAe,CACb,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,OAAO,CAAC,aAAa,CAAC,GAC9B,MAAM,IAAI;IAUb;;;;;OAKG;IACH,qBAAqB,CACnB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,GAAG,GACpC,MAAM,IAAI;IAIb;;OAEG;IACH,mBAAmB,IAAI,SAAS;CA6EjC;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1,27 +1,40 @@
|
|
|
1
|
-
import { type
|
|
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
|
|
9
|
-
|
|
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:
|
|
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
|
|
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:
|
|
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 |
|
|
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 |
|
|
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,OAAc,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"toolbars.d.ts","sourceRoot":"","sources":["../../../../../src/platform-implementation-js/namespaces/toolbars.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,YAAY,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,oBAAoB,MAAM,kCAAkC,CAAC;AAEpE,OAAO,KAAK,EACV,0BAA0B,EAC1B,YAAY,EACZ,sBAAsB,EACtB,SAAS,EACT,aAAa,EACb,UAAU,EACX,MAAM,gBAAgB,CAAC;AAExB,MAAM,WAAW,+BAA+B;IAC9C,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,aAAa,GAAG,gBAAgB,GAAG,OAAO,CAAC;IACpD,OAAO,CAAC,KAAK,EAAE,+BAA+B,GAAG,IAAI,CAAC;IACtD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,O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AAC,OAAO,OAAO,QAAS,SAAQ,YAAY;;IAKhD,YAAY;;;;OAAiB;gBAG3B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM;IAQhB;;;;OAIG;IACH,oBAAoB,CAAC,gBAAgB,EAAE,uBAAuB;IAuE9D;;;;OAIG;IACH,4BAA4B,CAC1B,gBAAgB,EAAE,iCAAiC;IAiCrD;;;;OAIG;IACH,kCAAkC,CAChC,gBAAgB,EAAE,6BAA6B;IAwBjD,kBAAkB;IAClB,mBAAmB,CACjB,0BAA0B,EACtB,0BAA0B,GAC1B,UAAU,CAAC,0BAA0B,EAAE,GAAG,CAAC;IAgBjD;;OAEG;IACH,sBAAsB,CACpB,gBAAgB,EACZ,0BAA0B,GAC1B,UAAU,CAAC,0BAA0B,EAAE,GAAG,CAAC;CAYlD"}
|
|
@@ -18,6 +18,8 @@ export default class AttachmentCardView extends AttachmentCardView_base {
|
|
|
18
18
|
*/
|
|
19
19
|
getDownloadURL(): 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;
|
|
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"}
|