@ably/ui 14.4.0-dev.22628d7 → 14.4.0-dev.49f3533
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
import{queryId}from"./dom-query";function enableBtn(el,text){el.disabled=false;el.innerText=text}function disableBtn(el,text){el.disabled=true;el.innerText=text}const WAIT_BETWEEN_RETRIES_MS=100;let MAX_RETRY_COUNT=30;export default function toggleChatWidget(params
|
|
1
|
+
import{queryId}from"./dom-query";function enableBtn(el,text){el.disabled=false;el.innerText=text}function disableBtn(el,text){el.disabled=true;el.innerText=text}const WAIT_BETWEEN_RETRIES_MS=100;let MAX_RETRY_COUNT=30;export default function toggleChatWidget(params){const{dataId}=params??{};const container=queryId(dataId);const chatButton=queryId("open-chat-widget",container);const textEnabled=chatButton.dataset.enabledLabel;const textDisabled=chatButton.dataset.disabledLabel;if(!dataId||!container)return;const trigger=queryId("open-chat-widget",container);let clickHandler;const waitForScript=delay=>{const widget=window?.HubSpotConversations?.widget;const iframe=document.querySelector("#hubspot-messages-iframe-container");clickHandler=e=>{e.preventDefault();widget.open()};if(widget&&iframe){trigger.addEventListener("click",clickHandler);enableBtn(trigger,textEnabled)}else if(--MAX_RETRY_COUNT){setTimeout(()=>waitForScript(WAIT_BETWEEN_RETRIES_MS),delay)}};disableBtn(trigger,textDisabled);waitForScript(0);return()=>{disableBtn(trigger,textDisabled);trigger.removeEventListener("click",clickHandler)}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ably/ui",
|
|
3
|
-
"version": "14.4.0-dev.
|
|
3
|
+
"version": "14.4.0-dev.49f3533",
|
|
4
4
|
"description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default function toggleChatWidget(params
|
|
1
|
+
export default function toggleChatWidget(params: any): (() => void) | undefined;
|
|
2
2
|
//# sourceMappingURL=hubspot-chat-toggle.d.ts.map
|
package/types/index.d.ts
CHANGED
|
@@ -1,59 +1,784 @@
|
|
|
1
|
-
|
|
2
|
-
declare module '@ably/ui/core/
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
declare module '@ably/ui/core/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
declare module '@ably/ui/core/
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
declare module '@ably/ui/core/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
declare module '@ably/ui/core/
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
+
declare module '@ably/ui/core/Accordion' {
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
type AccordionData = {
|
|
5
|
+
name: string;
|
|
6
|
+
content: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export type AccordionProps = {
|
|
9
|
+
data: AccordionData[];
|
|
10
|
+
arrowIcon?: boolean;
|
|
11
|
+
topBorder?: boolean;
|
|
12
|
+
bottomBorder?: boolean;
|
|
13
|
+
id?: string;
|
|
14
|
+
autoClose?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
};
|
|
17
|
+
const Accordion: ({ data, id, topBorder, bottomBorder, arrowIcon, autoClose, className, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default Accordion;
|
|
19
|
+
//# sourceMappingURL=Accordion.d.ts.map
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
declare module '@ably/ui/core/Code' {
|
|
23
|
+
type CodeProps = {
|
|
24
|
+
language: string;
|
|
25
|
+
snippet: string;
|
|
26
|
+
textSize?: string;
|
|
27
|
+
padding?: string;
|
|
28
|
+
additionalCSS?: string;
|
|
29
|
+
};
|
|
30
|
+
const Code: ({ language, snippet, textSize, padding, additionalCSS, }: CodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export default Code;
|
|
32
|
+
//# sourceMappingURL=Code.d.ts.map
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
declare module '@ably/ui/core/ConnectStateWrapper' {
|
|
36
|
+
const ConnectStateWrapper: (Component: any, selectors: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export default ConnectStateWrapper;
|
|
38
|
+
//# sourceMappingURL=ConnectStateWrapper.d.ts.map
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
declare module '@ably/ui/core/ContactFooter' {
|
|
42
|
+
type ContactFooterProps = {
|
|
43
|
+
urlBase: string;
|
|
44
|
+
};
|
|
45
|
+
const ContactFooter: ({ urlBase }: ContactFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export default ContactFooter;
|
|
47
|
+
//# sourceMappingURL=ContactFooter.d.ts.map
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
declare module '@ably/ui/core/CookieMessage' {
|
|
51
|
+
type CookieMessageProps = {
|
|
52
|
+
cookieId: string;
|
|
53
|
+
urlBase: string;
|
|
54
|
+
};
|
|
55
|
+
const CookieMessage: ({ cookieId, urlBase }: CookieMessageProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
56
|
+
export default CookieMessage;
|
|
57
|
+
//# sourceMappingURL=CookieMessage.d.ts.map
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
declare module '@ably/ui/core/CustomerLogos' {
|
|
61
|
+
type CompanyEntity = {
|
|
62
|
+
label: string;
|
|
63
|
+
logo: string;
|
|
64
|
+
};
|
|
65
|
+
type CustomerLogosProps = {
|
|
66
|
+
companies: CompanyEntity[];
|
|
67
|
+
additionalCss?: string;
|
|
68
|
+
};
|
|
69
|
+
const CustomerLogos: ({ companies, additionalCss, }: CustomerLogosProps) => import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
export default CustomerLogos;
|
|
71
|
+
//# sourceMappingURL=CustomerLogos.d.ts.map
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
declare module '@ably/ui/core/DropdownMenu' {
|
|
75
|
+
import { ReactNode } from "react";
|
|
76
|
+
type DropdownMenuProps = {
|
|
77
|
+
children: ReactNode;
|
|
78
|
+
};
|
|
79
|
+
type TriggerProps = {
|
|
80
|
+
children: ReactNode;
|
|
81
|
+
additionalTriggerCSS?: string;
|
|
82
|
+
};
|
|
83
|
+
type ContentProps = {
|
|
84
|
+
children: ReactNode;
|
|
85
|
+
anchorPosition?: string;
|
|
86
|
+
additionalContentCSS?: string;
|
|
87
|
+
};
|
|
88
|
+
type LinkProps = {
|
|
89
|
+
url: string;
|
|
90
|
+
title: string;
|
|
91
|
+
subtitle: string;
|
|
92
|
+
iconName: string;
|
|
93
|
+
children: ReactNode;
|
|
94
|
+
};
|
|
95
|
+
const DropdownMenu: {
|
|
96
|
+
({ children }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
97
|
+
Trigger: ({ children, additionalTriggerCSS }: TriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
98
|
+
Content: ({ children, anchorPosition, additionalContentCSS, }: ContentProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
99
|
+
Link: ({ url, title, subtitle, iconName, children }: LinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
100
|
+
};
|
|
101
|
+
export default DropdownMenu;
|
|
102
|
+
//# sourceMappingURL=DropdownMenu.d.ts.map
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
declare module '@ably/ui/core/Expander' {
|
|
106
|
+
import { PropsWithChildren } from "react";
|
|
107
|
+
type ExpanderProps = {
|
|
108
|
+
heightThreshold?: number;
|
|
109
|
+
className?: string;
|
|
110
|
+
fadeClassName?: string;
|
|
111
|
+
controlsClassName?: string;
|
|
112
|
+
controlsOpenedLabel?: string;
|
|
113
|
+
controlsClosedLabel?: string;
|
|
114
|
+
};
|
|
115
|
+
const Expander: ({ heightThreshold, className, fadeClassName, controlsClassName, controlsOpenedLabel, controlsClosedLabel, children, }: PropsWithChildren<ExpanderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
116
|
+
export default Expander;
|
|
117
|
+
//# sourceMappingURL=Expander.d.ts.map
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
declare module '@ably/ui/core/FeaturedLink' {
|
|
121
|
+
import { ReactNode } from "react";
|
|
122
|
+
type FeaturedLinkProps = {
|
|
123
|
+
url: string;
|
|
124
|
+
children: ReactNode;
|
|
125
|
+
textSize?: string;
|
|
126
|
+
iconColor?: string;
|
|
127
|
+
flush?: boolean;
|
|
128
|
+
reverse?: boolean;
|
|
129
|
+
additionalCSS?: string;
|
|
130
|
+
newWindow?: boolean;
|
|
131
|
+
onClick?: () => void;
|
|
132
|
+
};
|
|
133
|
+
const FeaturedLink: ({ url, textSize, iconColor, flush, reverse, additionalCSS, newWindow, onClick, children, }: FeaturedLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
134
|
+
export default FeaturedLink;
|
|
135
|
+
//# sourceMappingURL=FeaturedLink.d.ts.map
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
declare module '@ably/ui/core/Flash' {
|
|
139
|
+
type FlashPropsType = "error" | "success" | "notice" | "info" | "alert";
|
|
140
|
+
type FlashProps = {
|
|
141
|
+
id: string;
|
|
142
|
+
removed: boolean;
|
|
143
|
+
type: FlashPropsType;
|
|
144
|
+
content: string;
|
|
145
|
+
removeFlash: (id: string) => void;
|
|
146
|
+
};
|
|
147
|
+
type FlashesProps = {
|
|
148
|
+
flashes: {
|
|
149
|
+
items: FlashProps[];
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
type BackendFlashesProps = {
|
|
153
|
+
flashes: string[][];
|
|
154
|
+
};
|
|
155
|
+
const FLASH_DATA_ID = "ui-flashes";
|
|
156
|
+
const reducerFlashes: {
|
|
157
|
+
flashes: (state: {
|
|
158
|
+
items: FlashProps[];
|
|
159
|
+
} | undefined, action: {
|
|
160
|
+
type: string;
|
|
161
|
+
payload: FlashProps | FlashProps[];
|
|
162
|
+
}) => {
|
|
163
|
+
items: FlashProps[];
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
const Flashes: ({ flashes }: FlashesProps) => import("react/jsx-runtime").JSX.Element;
|
|
167
|
+
const BackendFlashes: ({ flashes }: BackendFlashesProps) => import("react/jsx-runtime").JSX.Element;
|
|
168
|
+
export { reducerFlashes, FLASH_DATA_ID, Flashes };
|
|
169
|
+
export default BackendFlashes;
|
|
170
|
+
//# sourceMappingURL=Flash.d.ts.map
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
declare module '@ably/ui/core/Footer' {
|
|
174
|
+
type FooterProps = {
|
|
175
|
+
paths: {
|
|
176
|
+
ablyStack: string;
|
|
177
|
+
highestPerformer: string;
|
|
178
|
+
highestUserAdoption: string;
|
|
179
|
+
bestSupport: string;
|
|
180
|
+
fastestImplementation: string;
|
|
181
|
+
};
|
|
182
|
+
urlBase: string;
|
|
183
|
+
statusUrl: string;
|
|
184
|
+
};
|
|
185
|
+
const Footer: ({ paths, urlBase, statusUrl }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
186
|
+
export default Footer;
|
|
187
|
+
//# sourceMappingURL=Footer.d.ts.map
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
declare module '@ably/ui/core/Icon' {
|
|
191
|
+
type IconProps = {
|
|
192
|
+
name: string;
|
|
193
|
+
size?: string;
|
|
194
|
+
color?: string;
|
|
195
|
+
additionalCSS?: string;
|
|
196
|
+
};
|
|
197
|
+
const Icon: ({ name, size, color, additionalCSS, ...additionalAttributes }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
198
|
+
export default Icon;
|
|
199
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
declare module '@ably/ui/core/Loader' {
|
|
203
|
+
type LoaderProps = {
|
|
204
|
+
size?: string;
|
|
205
|
+
ringColor?: string;
|
|
206
|
+
additionalCSS?: string;
|
|
207
|
+
};
|
|
208
|
+
const Loader: ({ ringColor, size, additionalCSS, }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
209
|
+
export default Loader;
|
|
210
|
+
//# sourceMappingURL=Loader.d.ts.map
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
declare module '@ably/ui/core/Logo' {
|
|
214
|
+
import React from "react";
|
|
215
|
+
type LogoProps = {
|
|
216
|
+
dataId: string;
|
|
217
|
+
logoUrl: string;
|
|
218
|
+
href?: string;
|
|
219
|
+
additionalImgAttrs?: object;
|
|
220
|
+
additionalLinkAttrs?: object;
|
|
221
|
+
};
|
|
222
|
+
const _default: React.MemoExoticComponent<({ dataId, logoUrl, href, additionalImgAttrs, additionalLinkAttrs, }: LogoProps) => import("react/jsx-runtime").JSX.Element>;
|
|
223
|
+
export default _default;
|
|
224
|
+
//# sourceMappingURL=Logo.d.ts.map
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
declare module '@ably/ui/core/Meganav/component' {
|
|
228
|
+
export default function Meganav({ themeName, addSearchApiKey }: {
|
|
229
|
+
themeName: any;
|
|
230
|
+
addSearchApiKey: any;
|
|
231
|
+
}): () => void;
|
|
232
|
+
//# sourceMappingURL=component.d.ts.map
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
declare module '@ably/ui/core/Meganav' {
|
|
236
|
+
import { ReactNode } from "react";
|
|
237
|
+
export type MeganavTheme = {
|
|
238
|
+
backgroundColor?: string;
|
|
239
|
+
textColor?: string;
|
|
240
|
+
buttonBackgroundColor?: string;
|
|
241
|
+
buttonTextColor?: string;
|
|
242
|
+
mobileMenuColor?: string;
|
|
243
|
+
logoTextColor?: string;
|
|
244
|
+
barShadow?: string;
|
|
245
|
+
};
|
|
246
|
+
export type AbsUrl = (path: string) => string;
|
|
247
|
+
export type MeganavPaths = {
|
|
248
|
+
logo: string;
|
|
249
|
+
iconSprites: string;
|
|
250
|
+
ablyStack: string;
|
|
251
|
+
blogThumb1: string;
|
|
252
|
+
blogThumb2: string;
|
|
253
|
+
blogThumb3: string;
|
|
254
|
+
awsLogo?: string;
|
|
255
|
+
};
|
|
256
|
+
export type MeganavPanels = {
|
|
257
|
+
[index: string]: ({ paths, absUrl, statusUrl, }: {
|
|
258
|
+
paths?: MeganavPaths;
|
|
259
|
+
absUrl: (path: string) => string;
|
|
260
|
+
statusUrl: string;
|
|
261
|
+
}) => ReactNode;
|
|
262
|
+
};
|
|
263
|
+
export type MeganavSessionState = {
|
|
264
|
+
signedIn: boolean;
|
|
265
|
+
logOut: {
|
|
266
|
+
token: string;
|
|
267
|
+
href: string;
|
|
268
|
+
text: string;
|
|
269
|
+
};
|
|
270
|
+
accountName: string;
|
|
271
|
+
preferredEmail: string;
|
|
272
|
+
account: {
|
|
273
|
+
links: {
|
|
274
|
+
dashboard: {
|
|
275
|
+
href: string;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
mySettings: {
|
|
280
|
+
text: string;
|
|
281
|
+
href: string;
|
|
282
|
+
};
|
|
283
|
+
myAccessTokens: {
|
|
284
|
+
text: string;
|
|
285
|
+
href: string;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
type MeganavProps = {
|
|
289
|
+
paths?: MeganavPaths;
|
|
290
|
+
themeName: "white" | "black" | "transparentToWhite";
|
|
291
|
+
notice?: {
|
|
292
|
+
props: {
|
|
293
|
+
title: string;
|
|
294
|
+
bodyText: string;
|
|
295
|
+
buttonLink: string;
|
|
296
|
+
buttonLabel: string;
|
|
297
|
+
closeBtn: boolean;
|
|
298
|
+
};
|
|
299
|
+
config: {
|
|
300
|
+
cookieId: string;
|
|
301
|
+
noticeId: string;
|
|
302
|
+
collapse: boolean;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
loginLink?: string;
|
|
306
|
+
urlBase?: string;
|
|
307
|
+
addSearchApiKey: string;
|
|
308
|
+
statusUrl: string;
|
|
309
|
+
};
|
|
310
|
+
const Meganav: ({ paths, themeName, notice, loginLink, urlBase, addSearchApiKey, statusUrl, }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
|
|
311
|
+
export default Meganav;
|
|
312
|
+
//# sourceMappingURL=Meganav.d.ts.map
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
declare module '@ably/ui/core/MeganavBlogPostsList' {
|
|
316
|
+
import { AbsUrl } from "@ably/ui/core/Meganav";
|
|
317
|
+
type MeganavBlogPostsListProps = {
|
|
318
|
+
recentBlogPosts: {
|
|
319
|
+
link: string;
|
|
320
|
+
title: string;
|
|
321
|
+
pubDate: string;
|
|
322
|
+
}[];
|
|
323
|
+
absUrl: AbsUrl;
|
|
324
|
+
};
|
|
325
|
+
const MeganavBlogPostsList: ({ recentBlogPosts, absUrl, }: MeganavBlogPostsListProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
326
|
+
export default MeganavBlogPostsList;
|
|
327
|
+
//# sourceMappingURL=MeganavBlogPostsList.d.ts.map
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
declare module '@ably/ui/core/MeganavContentCompany' {
|
|
331
|
+
import { AbsUrl, MeganavPaths } from "@ably/ui/core/Meganav";
|
|
332
|
+
type MeganavContentCompanyProps = {
|
|
333
|
+
absUrl: AbsUrl;
|
|
334
|
+
paths?: MeganavPaths;
|
|
335
|
+
};
|
|
336
|
+
const MeganavContentCompany: ({ paths, absUrl, }: MeganavContentCompanyProps) => import("react/jsx-runtime").JSX.Element;
|
|
337
|
+
export default MeganavContentCompany;
|
|
338
|
+
//# sourceMappingURL=MeganavContentCompany.d.ts.map
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
declare module '@ably/ui/core/MeganavContentDevelopers' {
|
|
342
|
+
import { AbsUrl } from "@ably/ui/core/Meganav";
|
|
343
|
+
const MeganavContentDevelopers: ({ absUrl, statusUrl, }: {
|
|
344
|
+
absUrl: AbsUrl;
|
|
345
|
+
statusUrl: string;
|
|
346
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
347
|
+
export default MeganavContentDevelopers;
|
|
348
|
+
//# sourceMappingURL=MeganavContentDevelopers.d.ts.map
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
declare module '@ably/ui/core/MeganavContentProducts' {
|
|
352
|
+
import { AbsUrl, MeganavPaths } from "@ably/ui/core/Meganav";
|
|
353
|
+
type MeganavContentProductsProps = {
|
|
354
|
+
paths?: MeganavPaths;
|
|
355
|
+
absUrl: AbsUrl;
|
|
356
|
+
};
|
|
357
|
+
const MeganavContentProducts: ({ paths, absUrl, }: MeganavContentProductsProps) => import("react/jsx-runtime").JSX.Element;
|
|
358
|
+
export default MeganavContentProducts;
|
|
359
|
+
//# sourceMappingURL=MeganavContentProducts.d.ts.map
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
declare module '@ably/ui/core/MeganavContentUseCases' {
|
|
363
|
+
import { AbsUrl } from "@ably/ui/core/Meganav";
|
|
364
|
+
const MeganavContentUseCases: ({ absUrl }: {
|
|
365
|
+
absUrl: AbsUrl;
|
|
366
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
367
|
+
export default MeganavContentUseCases;
|
|
368
|
+
//# sourceMappingURL=MeganavContentUseCases.d.ts.map
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
declare module '@ably/ui/core/MeganavControl/component' {
|
|
372
|
+
export default MeganavControl;
|
|
373
|
+
function MeganavControl(): {
|
|
374
|
+
teardown: () => void;
|
|
375
|
+
clear: () => void;
|
|
376
|
+
}[];
|
|
377
|
+
//# sourceMappingURL=component.d.ts.map
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
declare module '@ably/ui/core/MeganavControl' {
|
|
381
|
+
import { ReactNode } from "react";
|
|
382
|
+
import { MeganavTheme } from "@ably/ui/core/Meganav";
|
|
383
|
+
type MeganavControlProps = {
|
|
384
|
+
ariaControls: string;
|
|
385
|
+
ariaLabel: string;
|
|
386
|
+
children: ReactNode;
|
|
387
|
+
theme: MeganavTheme;
|
|
388
|
+
additionalCSS?: string;
|
|
389
|
+
};
|
|
390
|
+
const MeganavControl: ({ ariaControls, ariaLabel, children, theme, additionalCSS, }: MeganavControlProps) => import("react/jsx-runtime").JSX.Element;
|
|
391
|
+
export default MeganavControl;
|
|
392
|
+
//# sourceMappingURL=MeganavControl.d.ts.map
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
declare module '@ably/ui/core/MeganavControlMobileDropdown/component' {
|
|
396
|
+
export default MeganavControlMobileDropdown;
|
|
397
|
+
function MeganavControlMobileDropdown({ clearPanels }: {
|
|
398
|
+
clearPanels: any;
|
|
399
|
+
}): {
|
|
400
|
+
teardown: () => void;
|
|
401
|
+
clear: () => void;
|
|
402
|
+
};
|
|
403
|
+
//# sourceMappingURL=component.d.ts.map
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
declare module '@ably/ui/core/MeganavControlMobileDropdown' {
|
|
407
|
+
import { MeganavTheme } from "@ably/ui/core/Meganav";
|
|
408
|
+
const MeganavControlMobileDropdown: ({ theme }: {
|
|
409
|
+
theme: MeganavTheme;
|
|
410
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
411
|
+
export default MeganavControlMobileDropdown;
|
|
412
|
+
//# sourceMappingURL=MeganavControlMobileDropdown.d.ts.map
|
|
413
|
+
};
|
|
414
|
+
|
|
415
|
+
declare module '@ably/ui/core/MeganavControlMobilePanelClose/component' {
|
|
416
|
+
function _default(): {
|
|
417
|
+
teardown: () => void;
|
|
418
|
+
clear: () => void;
|
|
419
|
+
}[];
|
|
420
|
+
export default _default;
|
|
421
|
+
//# sourceMappingURL=component.d.ts.map
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
declare module '@ably/ui/core/MeganavControlMobilePanelClose' {
|
|
425
|
+
type MeganavControlMobilePanelCloseProps = {
|
|
426
|
+
ariaControls: string;
|
|
427
|
+
displayHr?: boolean;
|
|
428
|
+
};
|
|
429
|
+
const MeganavControlMobilePanelClose: ({ ariaControls, displayHr, }: MeganavControlMobilePanelCloseProps) => import("react/jsx-runtime").JSX.Element;
|
|
430
|
+
export default MeganavControlMobilePanelClose;
|
|
431
|
+
//# sourceMappingURL=MeganavControlMobilePanelClose.d.ts.map
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
declare module '@ably/ui/core/MeganavControlMobilePanelOpen/component' {
|
|
435
|
+
function _default(): {
|
|
436
|
+
teardown: () => void;
|
|
437
|
+
clear: () => void;
|
|
438
|
+
}[];
|
|
439
|
+
export default _default;
|
|
440
|
+
//# sourceMappingURL=component.d.ts.map
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
declare module '@ably/ui/core/MeganavControlMobilePanelOpen' {
|
|
444
|
+
import { ReactNode } from "react";
|
|
445
|
+
type MeganavControlMobilePanelOpenProps = {
|
|
446
|
+
ariaControls: string;
|
|
447
|
+
children: ReactNode;
|
|
448
|
+
};
|
|
449
|
+
const MeganavControlMobilePanelOpen: ({ ariaControls, children, }: MeganavControlMobilePanelOpenProps) => import("react/jsx-runtime").JSX.Element;
|
|
450
|
+
export default MeganavControlMobilePanelOpen;
|
|
451
|
+
//# sourceMappingURL=MeganavControlMobilePanelOpen.d.ts.map
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
declare module '@ably/ui/core/MeganavItemsDesktop' {
|
|
455
|
+
import React from "react";
|
|
456
|
+
import { AbsUrl, MeganavPanels, MeganavPaths, MeganavTheme } from "@ably/ui/core/Meganav";
|
|
457
|
+
type MeganavDesktopItems = {
|
|
458
|
+
panels: MeganavPanels;
|
|
459
|
+
paths?: MeganavPaths;
|
|
460
|
+
theme: MeganavTheme;
|
|
461
|
+
absUrl: AbsUrl;
|
|
462
|
+
statusUrl: string;
|
|
463
|
+
};
|
|
464
|
+
const MeganavDesktopItems: ({ panels, paths, theme, absUrl, statusUrl, }: MeganavDesktopItems) => import("react/jsx-runtime").JSX.Element;
|
|
465
|
+
const _default: React.MemoExoticComponent<({ panels, paths, theme, absUrl, statusUrl, }: MeganavDesktopItems) => import("react/jsx-runtime").JSX.Element>;
|
|
466
|
+
export default _default;
|
|
467
|
+
//# sourceMappingURL=MeganavItemsDesktop.d.ts.map
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
declare module '@ably/ui/core/MeganavItemsMobile' {
|
|
471
|
+
import React from "react";
|
|
472
|
+
import { AbsUrl, MeganavPanels, MeganavPaths, MeganavSessionState, MeganavTheme } from "@ably/ui/core/Meganav";
|
|
473
|
+
type MeganavItemsMobileProps = {
|
|
474
|
+
panels: MeganavPanels;
|
|
475
|
+
paths?: MeganavPaths;
|
|
476
|
+
sessionState?: MeganavSessionState;
|
|
477
|
+
theme: MeganavTheme;
|
|
478
|
+
loginLink: string;
|
|
479
|
+
absUrl: AbsUrl;
|
|
480
|
+
statusUrl: string;
|
|
481
|
+
};
|
|
482
|
+
const _default: React.MemoExoticComponent<({ panels, paths, sessionState, theme, loginLink, absUrl, statusUrl, }: MeganavItemsMobileProps) => import("react/jsx-runtime").JSX.Element>;
|
|
483
|
+
export default _default;
|
|
484
|
+
//# sourceMappingURL=MeganavItemsMobile.d.ts.map
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
declare module '@ably/ui/core/MeganavItemsSignedIn' {
|
|
488
|
+
import { AbsUrl, MeganavSessionState, MeganavTheme } from "@ably/ui/core/Meganav";
|
|
489
|
+
type MeganavItemsSignedIn = {
|
|
490
|
+
sessionState: MeganavSessionState;
|
|
491
|
+
theme: MeganavTheme;
|
|
492
|
+
absUrl: AbsUrl;
|
|
493
|
+
};
|
|
494
|
+
const MeganavItemsSignedIn: ({ sessionState, absUrl, }: MeganavItemsSignedIn) => import("react/jsx-runtime").JSX.Element;
|
|
495
|
+
export default MeganavItemsSignedIn;
|
|
496
|
+
//# sourceMappingURL=MeganavItemsSignedIn.d.ts.map
|
|
497
|
+
};
|
|
498
|
+
|
|
499
|
+
declare module '@ably/ui/core/MeganavSearch' {
|
|
500
|
+
import { AbsUrl } from "@ably/ui/core/Meganav";
|
|
501
|
+
const MeganavSearch: ({ absUrl }: {
|
|
502
|
+
absUrl: AbsUrl;
|
|
503
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
504
|
+
export default MeganavSearch;
|
|
505
|
+
//# sourceMappingURL=MeganavSearch.d.ts.map
|
|
506
|
+
};
|
|
507
|
+
|
|
508
|
+
declare module '@ably/ui/core/MeganavSearchAutocomplete/component' {
|
|
509
|
+
function _default(apiKey: any): {
|
|
510
|
+
teardown: () => void;
|
|
511
|
+
clear: () => void;
|
|
512
|
+
}[];
|
|
513
|
+
export default _default;
|
|
514
|
+
//# sourceMappingURL=component.d.ts.map
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
declare module '@ably/ui/core/MeganavSearchAutocomplete' {
|
|
518
|
+
const MeganavSearchAutocomplete: () => import("react/jsx-runtime").JSX.Element;
|
|
519
|
+
export default MeganavSearchAutocomplete;
|
|
520
|
+
//# sourceMappingURL=MeganavSearchAutocomplete.d.ts.map
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
declare module '@ably/ui/core/MeganavSearchPanel' {
|
|
524
|
+
import { AbsUrl } from "@ably/ui/core/Meganav";
|
|
525
|
+
const MeganavSearchPanel: ({ absUrl }: {
|
|
526
|
+
absUrl: AbsUrl;
|
|
527
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
528
|
+
export default MeganavSearchPanel;
|
|
529
|
+
//# sourceMappingURL=MeganavSearchPanel.d.ts.map
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
declare module '@ably/ui/core/MeganavSearchSuggestions/component' {
|
|
533
|
+
export default MeganavSearchSuggestions;
|
|
534
|
+
function MeganavSearchSuggestions(): {
|
|
535
|
+
teardown: () => void;
|
|
536
|
+
clear: () => void;
|
|
537
|
+
};
|
|
538
|
+
//# sourceMappingURL=component.d.ts.map
|
|
539
|
+
};
|
|
540
|
+
|
|
541
|
+
declare module '@ably/ui/core/MeganavSearchSuggestions' {
|
|
542
|
+
import { AbsUrl } from "@ably/ui/core/Meganav";
|
|
543
|
+
type MeganavSearchSuggestionsProps = {
|
|
544
|
+
absUrl: AbsUrl;
|
|
545
|
+
displaySupportLink: boolean;
|
|
546
|
+
};
|
|
547
|
+
const MeganavSearchSuggestions: ({ absUrl, displaySupportLink, }: MeganavSearchSuggestionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
548
|
+
export default MeganavSearchSuggestions;
|
|
549
|
+
//# sourceMappingURL=MeganavSearchSuggestions.d.ts.map
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
declare module '@ably/ui/core/Notice/component' {
|
|
553
|
+
export default Notice;
|
|
554
|
+
function Notice({ bannerContainer, cookieId, noticeId, options }: {
|
|
555
|
+
bannerContainer: any;
|
|
556
|
+
cookieId: any;
|
|
557
|
+
noticeId: any;
|
|
558
|
+
options: any;
|
|
559
|
+
}): () => void;
|
|
560
|
+
//# sourceMappingURL=component.d.ts.map
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
declare module '@ably/ui/core/Notice' {
|
|
564
|
+
type NoticeProps = {
|
|
565
|
+
buttonLink?: string;
|
|
566
|
+
buttonLabel?: string;
|
|
567
|
+
bodyText?: string;
|
|
568
|
+
title?: string;
|
|
569
|
+
closeBtn?: boolean;
|
|
570
|
+
config?: {
|
|
571
|
+
collapse: boolean;
|
|
572
|
+
noticeId: string;
|
|
573
|
+
cookieId: string;
|
|
574
|
+
};
|
|
575
|
+
bgColor?: string;
|
|
576
|
+
textColor?: string;
|
|
577
|
+
bannerContainer?: Element | null;
|
|
578
|
+
cookieId?: string;
|
|
579
|
+
noticeId?: string;
|
|
580
|
+
options?: {
|
|
581
|
+
collapse: boolean;
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
const Notice: ({ buttonLink, buttonLabel, bodyText, title, config, closeBtn, bgColor, textColor, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
|
|
585
|
+
export default Notice;
|
|
586
|
+
//# sourceMappingURL=Notice.d.ts.map
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
declare module '@ably/ui/core/SignOutLink' {
|
|
590
|
+
import { MouseEventHandler, ReactNode } from "react";
|
|
591
|
+
import { AbsUrl } from "@ably/ui/core/Meganav";
|
|
592
|
+
type SignOutLinkProps = {
|
|
593
|
+
token: string;
|
|
594
|
+
href: string;
|
|
595
|
+
text: string;
|
|
596
|
+
children: ({ href, text, onClick, }: {
|
|
597
|
+
href: string;
|
|
598
|
+
text: string;
|
|
599
|
+
onClick: MouseEventHandler<HTMLAnchorElement>;
|
|
600
|
+
}) => ReactNode;
|
|
601
|
+
absUrl: AbsUrl;
|
|
602
|
+
};
|
|
603
|
+
const SignOutLink: ({ token, href, text, children, absUrl, }: SignOutLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
604
|
+
export default SignOutLink;
|
|
605
|
+
//# sourceMappingURL=SignOutLink.d.ts.map
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
declare module '@ably/ui/core/Slider' {
|
|
609
|
+
import { ReactNode } from "react";
|
|
610
|
+
interface SliderProps {
|
|
611
|
+
children: ReactNode[];
|
|
612
|
+
options?: {
|
|
613
|
+
interval?: number;
|
|
614
|
+
controlPosition?: "inline" | "floating";
|
|
615
|
+
intervalIndicator?: boolean;
|
|
616
|
+
};
|
|
617
|
+
}
|
|
618
|
+
const Slider: ({ children, options }: SliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
619
|
+
export default Slider;
|
|
620
|
+
//# sourceMappingURL=Slider.d.ts.map
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
declare module '@ably/ui/core/Status' {
|
|
624
|
+
const Status: ({ statusUrl, additionalCSS, }: {
|
|
625
|
+
statusUrl: string;
|
|
626
|
+
additionalCSS?: string;
|
|
627
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
628
|
+
export default Status;
|
|
629
|
+
//# sourceMappingURL=Status.d.ts.map
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
declare module '@ably/ui/core/Table/Table' {
|
|
633
|
+
import { PropsWithChildren, TableHTMLAttributes } from "react";
|
|
634
|
+
type TableProps = {
|
|
635
|
+
id?: string;
|
|
636
|
+
};
|
|
637
|
+
export const Table: ({ id, children, ...rest }: PropsWithChildren<TableProps & TableHTMLAttributes<HTMLTableElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
638
|
+
export const TableBody: ({ children, ...rest }: PropsWithChildren<TableHTMLAttributes<HTMLTableSectionElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
639
|
+
export const TableHeader: ({ children, ...rest }: PropsWithChildren<TableHTMLAttributes<HTMLTableSectionElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
640
|
+
export const TableRowHeader: ({ children, ...rest }: PropsWithChildren<TableHTMLAttributes<HTMLTableRowElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
641
|
+
export {};
|
|
642
|
+
//# sourceMappingURL=Table.d.ts.map
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
declare module '@ably/ui/core/Table/TableCell' {
|
|
646
|
+
import React, { PropsWithChildren } from "react";
|
|
647
|
+
type TableCellProps = {
|
|
648
|
+
isRowHeader?: boolean;
|
|
649
|
+
} & React.TdHTMLAttributes<HTMLTableCellElement>;
|
|
650
|
+
const LabelCell: ({ children, ...rest }: PropsWithChildren<React.TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
651
|
+
const TableCell: ({ children, isRowHeader, ...rest }: PropsWithChildren<TableCellProps>) => import("react/jsx-runtime").JSX.Element;
|
|
652
|
+
const HeaderCell: ({ children, ...rest }: PropsWithChildren<React.TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
653
|
+
const CtaCell: ({ children, ...rest }: PropsWithChildren<React.TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
654
|
+
export { TableCell, LabelCell, HeaderCell, CtaCell };
|
|
655
|
+
//# sourceMappingURL=TableCell.d.ts.map
|
|
656
|
+
};
|
|
657
|
+
|
|
658
|
+
declare module '@ably/ui/core/Table/TableRow' {
|
|
659
|
+
import React, { PropsWithChildren } from "react";
|
|
660
|
+
const CtaRow: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
661
|
+
type RowProps = {
|
|
662
|
+
isHeader?: boolean;
|
|
663
|
+
} & React.HTMLAttributes<HTMLTableRowElement>;
|
|
664
|
+
const TableRow: ({ children, isHeader, ...rest }: PropsWithChildren<RowProps>) => import("react/jsx-runtime").JSX.Element;
|
|
665
|
+
export { TableRow, CtaRow };
|
|
666
|
+
//# sourceMappingURL=TableRow.d.ts.map
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
declare module '@ably/ui/core/Table/data' {
|
|
670
|
+
export const PricingPageTable: () => import("react/jsx-runtime").JSX.Element;
|
|
671
|
+
//# sourceMappingURL=data.d.ts.map
|
|
672
|
+
};
|
|
673
|
+
|
|
674
|
+
declare module '@ably/ui/core/Table' {
|
|
675
|
+
const _default: {
|
|
676
|
+
Root: ({ id, children, ...rest }: import("react").PropsWithChildren<{
|
|
677
|
+
id?: string;
|
|
678
|
+
} & import("react").TableHTMLAttributes<HTMLTableElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
679
|
+
Row: ({ children, isHeader, ...rest }: import("react").PropsWithChildren<{
|
|
680
|
+
isHeader?: boolean;
|
|
681
|
+
} & import("react").HTMLAttributes<HTMLTableRowElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
682
|
+
Cell: ({ children, isRowHeader, ...rest }: import("react").PropsWithChildren<{
|
|
683
|
+
isRowHeader?: boolean;
|
|
684
|
+
} & import("react").TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
685
|
+
LabelCell: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
686
|
+
HeaderCell: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
687
|
+
CtaCell: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
688
|
+
RowHeader: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TableHTMLAttributes<HTMLTableRowElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
689
|
+
Body: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TableHTMLAttributes<HTMLTableSectionElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
690
|
+
Header: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TableHTMLAttributes<HTMLTableSectionElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
691
|
+
};
|
|
692
|
+
export default _default;
|
|
693
|
+
//# sourceMappingURL=Table.d.ts.map
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
declare module '@ably/ui/core/Tooltip' {
|
|
697
|
+
import { ButtonHTMLAttributes, HTMLAttributes, PropsWithChildren } from "react";
|
|
698
|
+
type TooltipProps = {
|
|
699
|
+
triggerProps?: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
700
|
+
tooltipProps?: HTMLAttributes<HTMLDivElement>;
|
|
701
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
702
|
+
const Tooltip: ({ children, triggerProps, tooltipProps, ...rest }: PropsWithChildren<TooltipProps>) => import("react/jsx-runtime").JSX.Element;
|
|
703
|
+
export default Tooltip;
|
|
704
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
declare module '@ably/ui/core/css' {
|
|
708
|
+
export function remsToPixelValue(remString: any): number;
|
|
709
|
+
//# sourceMappingURL=css.d.ts.map
|
|
710
|
+
};
|
|
711
|
+
|
|
712
|
+
declare module '@ably/ui/core/dom-query' {
|
|
713
|
+
export function queryId(val: any, root?: Document): Element | null;
|
|
714
|
+
export function queryIdAll(val: any, root?: Document): NodeListOf<Element>;
|
|
715
|
+
//# sourceMappingURL=dom-query.d.ts.map
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
declare module '@ably/ui/core/hubspot-chat-toggle' {
|
|
719
|
+
export default function toggleChatWidget(params: any): (() => void) | undefined;
|
|
720
|
+
//# sourceMappingURL=hubspot-chat-toggle.d.ts.map
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
declare module '@ably/ui/core/remote-blogs-posts' {
|
|
724
|
+
export function fetchBlogPosts(store: any, blogUrl: any): Promise<void>;
|
|
725
|
+
export namespace reducerBlogPosts {
|
|
726
|
+
function blogPosts(state: {
|
|
727
|
+
recent: null;
|
|
728
|
+
} | undefined, action: any): {
|
|
729
|
+
recent: any;
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
export function selectRecentBlogPosts(store: any): any;
|
|
733
|
+
//# sourceMappingURL=remote-blogs-posts.d.ts.map
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
declare module '@ably/ui/core/remote-data-store' {
|
|
737
|
+
export function attachStoreToWindow(store: any): void;
|
|
738
|
+
export function getRemoteDataStore(): any;
|
|
739
|
+
export function connectState(selector: any, setState: any): void;
|
|
740
|
+
export function createRemoteDataStore(reducers: any): any;
|
|
741
|
+
//# sourceMappingURL=remote-data-store.d.ts.map
|
|
742
|
+
};
|
|
743
|
+
|
|
744
|
+
declare module '@ably/ui/core/remote-data-util' {
|
|
745
|
+
export function isJsonResponse(contentType: any): any;
|
|
746
|
+
//# sourceMappingURL=remote-data-util.d.ts.map
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
declare module '@ably/ui/core/remote-session-data' {
|
|
750
|
+
export function fetchSessionData(store: any, sessionUrl: any): Promise<void>;
|
|
751
|
+
export namespace reducerSessionData {
|
|
752
|
+
function session(state: {
|
|
753
|
+
data: null;
|
|
754
|
+
} | undefined, action: any): {
|
|
755
|
+
data: any;
|
|
756
|
+
};
|
|
757
|
+
}
|
|
758
|
+
export function selectSessionData(store: any): any;
|
|
759
|
+
//# sourceMappingURL=remote-session-data.d.ts.map
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
declare module '@ably/ui/core/url-base' {
|
|
763
|
+
export default absUrl;
|
|
764
|
+
function absUrl(path: any, urlBase?: string): string;
|
|
765
|
+
//# sourceMappingURL=url-base.d.ts.map
|
|
766
|
+
};
|
|
767
|
+
|
|
768
|
+
declare module '@ably/ui/core/utils/syntax-highlighter-registry' {
|
|
769
|
+
export default registry;
|
|
770
|
+
const registry: {
|
|
771
|
+
label: string;
|
|
772
|
+
key: string;
|
|
773
|
+
module: any;
|
|
774
|
+
}[];
|
|
775
|
+
//# sourceMappingURL=syntax-highlighter-registry.d.ts.map
|
|
776
|
+
};
|
|
777
|
+
|
|
778
|
+
declare module '@ably/ui/core/utils/syntax-highlighter' {
|
|
779
|
+
export function highlightSnippet(languageKeyword: any, snippet: any): string | undefined;
|
|
780
|
+
export function languageToHighlightKey(lang: any): any;
|
|
781
|
+
export function registerDefaultLanguages(register: any): void;
|
|
782
|
+
//# sourceMappingURL=syntax-highlighter.d.ts.map
|
|
783
|
+
};
|
|
784
|
+
|