calmlens 0.20.0 → 0.22.0
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/README.md +15 -10
- package/bin/calmlens.js +1848 -679
- package/cjs/{BrowserUpload-C07aL9Vq.d.ts → BrowserUpload-BWjZ9ntu.d.ts} +2 -2
- package/cjs/{BrowserUpload-CjSHjx3C.js → BrowserUpload-Bwlib4Zc.js} +1 -1
- package/cjs/{CalmLensAppClient-DDLojj0P.d.ts → CalmLensAppClient-BaW3ddUR.d.ts} +13 -3
- package/cjs/{CalmLensAppClient-NaCxOVlM.js → CalmLensAppClient-DUYMo9PZ.js} +30 -10
- package/cjs/{CalmLensOptionKeys-p2QK687A.js → CalmLensOptionKeys-YvgV995V.js} +318 -374
- package/cjs/{CalmLensServerClient-BDzTthxE.js → CalmLensServerClient-3N-gdsxC.js} +346 -89
- package/cjs/CalmLensServerClient-BKzn8zmp.d.ts +353 -0
- package/cjs/{CalmLensTypes-COJbOuiv.d.ts → CalmLensTypes-BDKwThbO.d.ts} +26993 -27187
- package/cjs/{Classification-D3SkprrQ-CMnQKW13.d.ts → Classification-Q5zGpR8l-CEWjnE39.d.ts} +731 -607
- package/cjs/Core-C33pkBmf.d.ts +826 -0
- package/cjs/Core-Cm5Z1oJ9.js +1001 -0
- package/cjs/FileIcons-4qSX7DW2.d.ts +67 -0
- package/cjs/{ModerationContextLimits-2nIv7Zh3.js → ModerationContextLimits-ud1xpZRK.js} +727 -268
- package/cjs/{ReactUpload-BdTRCTGA.js → ReactUpload-DQ0BYISX.js} +1 -1
- package/cjs/{ReactUpload-CRJNPB5T.d.ts → ReactUpload-DhF8mm51.d.ts} +1 -1
- package/{esm/TestTriggers-D-fwfhEP-hlaP1oW2.d.ts → cjs/TestTriggers-D0pYHbkr-D5T0VdSn.d.ts} +146 -8
- package/cjs/{TestTriggers-DbhsNPdg-DjvVuc2h.js → TestTriggers-D29T_R0M-D6Bu-Mln.js} +355 -47
- package/cjs/{UploadController-MLVs97Zt.js → UploadController-l8fZM2qT.js} +34 -14
- package/{esm/WebhookPayload-DkukERKE.d.ts → cjs/WebhookPayload-Dt6DttS0.d.ts} +120 -86
- package/cjs/app.d.ts +6 -7
- package/cjs/app.js +4 -3
- package/cjs/elements.d.ts +123 -22
- package/cjs/elements.js +553 -156
- package/cjs/file-icons.d.ts +2 -67
- package/cjs/index-Bde1wjiw.d.ts +16 -0
- package/cjs/index.d.ts +5 -6
- package/cjs/index.js +3 -2
- package/cjs/react-native.d.ts +52 -11
- package/cjs/react-native.js +231 -99
- package/cjs/react.d.ts +42 -9
- package/cjs/react.js +381 -118
- package/cjs/server.d.ts +48 -7
- package/cjs/server.js +7 -3
- package/cjs/test-inputs.d.ts +2 -2
- package/cjs/test-inputs.js +13 -9
- package/cjs/testing.d.ts +29 -15
- package/cjs/testing.js +1722 -433
- package/cjs/ui-BRA4HQ8r.js +1359 -0
- package/cjs/ui-YQuvbidU.d.ts +139 -0
- package/cjs/ui.d.ts +3 -2
- package/cjs/ui.js +45 -22
- package/cjs/vue.d.ts +802 -199
- package/cjs/vue.js +359 -127
- package/esm/{BrowserUpload-C07aL9Vq.d.ts → BrowserUpload-BWjZ9ntu.d.ts} +2 -2
- package/esm/{BrowserUpload-CAVkRotw.js → BrowserUpload-GRZVB0G_.js} +1 -1
- package/esm/{CalmLensAppClient-PQ9VBvlW.js → CalmLensAppClient-B5QIJ6KS.js} +30 -10
- package/esm/{CalmLensAppClient-DDLojj0P.d.ts → CalmLensAppClient-BaW3ddUR.d.ts} +13 -3
- package/esm/{CalmLensOptionKeys-Do2mPP6w.js → CalmLensOptionKeys-BG7Qrh8-.js} +317 -367
- package/esm/CalmLensServerClient-BKzn8zmp.d.ts +353 -0
- package/esm/{CalmLensServerClient-C_H5aAsV.js → CalmLensServerClient-bRUAebi-.js} +323 -90
- package/esm/{CalmLensTypes-COJbOuiv.d.ts → CalmLensTypes-BDKwThbO.d.ts} +26993 -27187
- package/esm/{Classification-D3SkprrQ-CMnQKW13.d.ts → Classification-Q5zGpR8l-CEWjnE39.d.ts} +731 -607
- package/esm/Core-BvQe4moS.js +846 -0
- package/esm/Core-C33pkBmf.d.ts +826 -0
- package/esm/FileIcons-4qSX7DW2.d.ts +67 -0
- package/esm/{ModerationContextLimits-Chw-AzgL.js → ModerationContextLimits-CrxSnVZ3.js} +682 -253
- package/esm/{ReactUpload-CMmL0R5Q.js → ReactUpload-BMO8saxT.js} +1 -1
- package/esm/{ReactUpload-CRJNPB5T.d.ts → ReactUpload-DhF8mm51.d.ts} +1 -1
- package/{cjs/TestTriggers-D-fwfhEP-hlaP1oW2.d.ts → esm/TestTriggers-D0pYHbkr-D5T0VdSn.d.ts} +146 -8
- package/esm/{TestTriggers-DbhsNPdg-CUdrv8Nm.js → TestTriggers-D29T_R0M-Ztc74ucs.js} +332 -48
- package/esm/{UploadController-BJZghJpg.js → UploadController-DnJrWiE4.js} +34 -14
- package/{cjs/WebhookPayload-DkukERKE.d.ts → esm/WebhookPayload-Dt6DttS0.d.ts} +120 -86
- package/esm/app.d.ts +6 -7
- package/esm/app.js +3 -3
- package/esm/elements.d.ts +123 -22
- package/esm/elements.js +497 -128
- package/esm/file-icons.d.ts +2 -67
- package/esm/index-Bde1wjiw.d.ts +16 -0
- package/esm/index.d.ts +5 -6
- package/esm/index.js +1 -1
- package/esm/react-native.d.ts +52 -11
- package/esm/react-native.js +205 -75
- package/esm/react.d.ts +42 -9
- package/esm/react.js +327 -91
- package/esm/server.d.ts +48 -7
- package/esm/server.js +3 -3
- package/esm/styles.css +142 -22
- package/esm/svelte/AssetViewer.svelte +25 -0
- package/esm/svelte/CalmLensAsset.svelte +318 -0
- package/esm/svelte/CalmLensDocumentViewer.svelte +7 -0
- package/esm/svelte/CalmLensImageViewer.svelte +7 -0
- package/esm/svelte/CalmLensSpreadsheetViewer.svelte +7 -0
- package/esm/svelte/CalmLensTextViewer.svelte +7 -0
- package/esm/svelte/CalmLensWebsiteViewer.svelte +7 -0
- package/esm/svelte/index.d.ts +29 -6
- package/esm/svelte/index.js +7 -2
- package/esm/test-inputs.d.ts +2 -2
- package/esm/test-inputs.js +1 -1
- package/esm/testing.d.ts +29 -15
- package/esm/testing.js +1718 -429
- package/esm/ui-YQuvbidU.d.ts +139 -0
- package/esm/ui-heryDd6g.js +1258 -0
- package/esm/ui.d.ts +3 -2
- package/esm/ui.js +4 -3
- package/esm/vue.d.ts +802 -199
- package/esm/vue.js +308 -103
- package/package.json +4 -2
- package/cjs/CalmLensServerClient-C-jsjn8m.d.ts +0 -259
- package/cjs/ModerationContext-9lGm-Mna-CcmbRnOy.d.ts +0 -67
- package/cjs/index-DxbJ_Xaa.d.ts +0 -253
- package/cjs/ui-BSqPGKrZ.d.ts +0 -539
- package/cjs/ui-CX1z2pD9.js +0 -586
- package/esm/CalmLensServerClient-C-jsjn8m.d.ts +0 -259
- package/esm/ModerationContext-9lGm-Mna-CcmbRnOy.d.ts +0 -67
- package/esm/index-DxbJ_Xaa.d.ts +0 -253
- package/esm/svelte/CalmLensMedia.svelte +0 -134
- package/esm/ui-BSqPGKrZ.d.ts +0 -539
- package/esm/ui-CXH7xJpb.js +0 -461
package/cjs/elements.d.ts
CHANGED
|
@@ -1,5 +1,72 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
1
|
+
import { r as AssetAvailability } from "./CalmLensTypes-BDKwThbO.js";
|
|
2
|
+
import { $ as getAssetViewKey, A as CustomUploadResult, B as AssetDisplay, C as formatMessage, D as resolveMessages, E as getUploadItemOutcome, G as AssetSession, H as AssetImageOptions, J as AssetVideoOptions, K as AssetSessionState, L as UploadStage, M as UploadController, P as UploadFile, Q as getAssetView, S as formatBytes, T as getUploadItemMessage, U as AssetImageSource, V as AssetDocumentOptions, W as AssetOptions, X as MediaPlayback, Y as AssetView, Z as getAssetAspectRatio, _ as DEFAULT_MESSAGES, _t as formatViewerMessage, a as ProgressFetchOptions, at as ImageViewerOptions, b as describeUploadItem, c as ICON_ATTRIBUTES, ct as TextViewerOptions, d as AssetDisplayOptions, dt as ViewerTextOptions, et as getPeakHeights, f as AssetEventHandlers, ft as WebsiteViewerOptions, g as CalmLensMessages, gt as ViewerMessages, ht as DEFAULT_VIEWER_MESSAGES, i as CALMLENS_STYLES, it as DocumentViewerOptions, j as UploadClient, k as CustomUploadContext, l as IconName, lt as ViewerAsset, m as UploaderDisplayOptions, mt as isSpreadsheetFormat, n as CalmLensTheme, nt as pickAssetSource, o as createProgressFetch, ot as PdfAssetOptions, p as AssetProps, pt as getAssetViewerKind, q as AssetSpreadsheetOptions, r as resolveTheme, rt as AssetViewerKind, s as ICONS, st as SpreadsheetViewerOptions, t as CALMLENS_THEME, tt as getPlayedPercent, u as ASSET_FILE_ICON_SIZE, ut as ViewerOptions, v as UploadItemView, vt as resolveViewerMessages, w as getDropzoneHint, x as describeUploader, y as UploaderView, z as isFileAccepted } from "./Core-C33pkBmf.js";
|
|
3
|
+
import { a as UploaderProps, i as UploadSnapshot, n as UploadControllerOptions, r as UploadItem, s as createUploadController, t as CalmLensUpload } from "./BrowserUpload-BWjZ9ntu.js";
|
|
4
|
+
import { C as ViewerState, S as AssetViewer, _ as spreadsheetColumnIndex, a as isMountedViewerKind, b as createWebsiteViewer, c as AssetViewerOptionsByKind, d as createTextViewer, f as SpreadsheetCell, g as parseSpreadsheetText, h as getSpreadsheetPage, i as getMountedViewerOptions, l as VIEWER_STYLES, m as SpreadsheetSheet, n as AssetViewerMount, o as ASSET_VIEWERS, p as SpreadsheetRow, r as MountedViewerKind, s as AssetViewerName, t as MediaStreamPlayer, u as createSpreadsheetViewer, v as loadPdfJs, x as createDocumentViewer, y as createImageViewer } from "./ui-YQuvbidU.js";
|
|
5
|
+
declare const BaseElement$1: typeof HTMLElement;
|
|
6
|
+
/**
|
|
7
|
+
* An asset viewer element. Set the `src` attribute to the asset URL (public or signed) and the
|
|
8
|
+
* `asset` property to its display info or the asset from the API, and `onExpired` to refresh a
|
|
9
|
+
* signed URL; other attributes: `label`, `viewer-claims` (JSON), `sizes` (images), `page-size`
|
|
10
|
+
* (spreadsheets) and `initial-page` (documents). The `text` and `getText` properties supply text
|
|
11
|
+
* and spreadsheet viewers' text, `messages` replaces their text and `pdf` sets where pdf.js loads
|
|
12
|
+
* its files from.
|
|
13
|
+
*/
|
|
14
|
+
declare abstract class ViewerElement<K extends AssetViewerName> extends BaseElement$1 {
|
|
15
|
+
#private;
|
|
16
|
+
static observedAttributes: string[];
|
|
17
|
+
protected abstract readonly kind: K;
|
|
18
|
+
/** The asset to show, from the API. */
|
|
19
|
+
get asset(): ViewerAsset | undefined;
|
|
20
|
+
set asset(value: ViewerAsset | undefined);
|
|
21
|
+
/** Returns a fresh asset URL from your server once a signed one expires. */
|
|
22
|
+
get onExpired(): (() => string | Promise<string>) | undefined;
|
|
23
|
+
set onExpired(value: (() => string | Promise<string>) | undefined);
|
|
24
|
+
/** Reads a text or spreadsheet viewer's text yourself. */
|
|
25
|
+
get getText(): (() => Promise<string>) | undefined;
|
|
26
|
+
set getText(value: (() => Promise<string>) | undefined);
|
|
27
|
+
/** Text your app already has, for a text or spreadsheet viewer. */
|
|
28
|
+
get text(): string | undefined;
|
|
29
|
+
set text(value: string | undefined);
|
|
30
|
+
get messages(): Partial<ViewerMessages> | undefined;
|
|
31
|
+
set messages(value: Partial<ViewerMessages> | undefined);
|
|
32
|
+
/** Where a document viewer's pdf.js loads its worker, fonts and decoders from. */
|
|
33
|
+
get pdf(): PdfAssetOptions | undefined;
|
|
34
|
+
set pdf(value: PdfAssetOptions | undefined);
|
|
35
|
+
connectedCallback(): void;
|
|
36
|
+
attributeChangedCallback(): void;
|
|
37
|
+
disconnectedCallback(): void;
|
|
38
|
+
}
|
|
39
|
+
/** `<calmlens-image-viewer>`: an image asset's rendered file, fitted to the element. */
|
|
40
|
+
export declare class CalmLensImageViewerElement extends ViewerElement<"image"> {
|
|
41
|
+
protected readonly kind = "image";
|
|
42
|
+
}
|
|
43
|
+
/** `<calmlens-website-viewer>`: a website's screenshot and a link to the page. */
|
|
44
|
+
export declare class CalmLensWebsiteViewerElement extends ViewerElement<"website"> {
|
|
45
|
+
protected readonly kind = "website";
|
|
46
|
+
}
|
|
47
|
+
/** `<calmlens-text-viewer>`: text, escaped, in a scrolling region. */
|
|
48
|
+
export declare class CalmLensTextViewerElement extends ViewerElement<"text"> {
|
|
49
|
+
protected readonly kind = "text";
|
|
50
|
+
}
|
|
51
|
+
/** `<calmlens-document-viewer>`: a PDF a page at a time, with pdf.js loaded lazily. */
|
|
52
|
+
export declare class CalmLensDocumentViewerElement extends ViewerElement<"document"> {
|
|
53
|
+
protected readonly kind = "document";
|
|
54
|
+
}
|
|
55
|
+
/** `<calmlens-spreadsheet-viewer>`: a spreadsheet's sheets as tabs and paged tables. */
|
|
56
|
+
export declare class CalmLensSpreadsheetViewerElement extends ViewerElement<"spreadsheet"> {
|
|
57
|
+
protected readonly kind = "spreadsheet";
|
|
58
|
+
}
|
|
59
|
+
/** Defines the asset viewer elements, if they aren't defined yet. */
|
|
60
|
+
export declare const defineCalmLensViewerElements: () => void;
|
|
61
|
+
declare global {
|
|
62
|
+
interface HTMLElementTagNameMap {
|
|
63
|
+
"calmlens-image-viewer": CalmLensImageViewerElement;
|
|
64
|
+
"calmlens-website-viewer": CalmLensWebsiteViewerElement;
|
|
65
|
+
"calmlens-text-viewer": CalmLensTextViewerElement;
|
|
66
|
+
"calmlens-document-viewer": CalmLensDocumentViewerElement;
|
|
67
|
+
"calmlens-spreadsheet-viewer": CalmLensSpreadsheetViewerElement;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
3
70
|
/** The `detail` of each event the elements dispatch. */
|
|
4
71
|
export interface CalmLensElementEvents {
|
|
5
72
|
"calmlens-uploaded": CalmLensUpload;
|
|
@@ -7,7 +74,13 @@ export interface CalmLensElementEvents {
|
|
|
7
74
|
"calmlens-failed": UploadItem;
|
|
8
75
|
"calmlens-removed": UploadItem;
|
|
9
76
|
"calmlens-change": UploadSnapshot;
|
|
10
|
-
"calmlens-
|
|
77
|
+
"calmlens-load": undefined;
|
|
78
|
+
"calmlens-error": undefined;
|
|
79
|
+
"calmlens-availability-change": AssetAvailability;
|
|
80
|
+
"calmlens-age-confirm-request": undefined;
|
|
81
|
+
"calmlens-play": undefined;
|
|
82
|
+
"calmlens-ended": undefined;
|
|
83
|
+
"calmlens-timeupdate": number;
|
|
11
84
|
}
|
|
12
85
|
declare const BaseElement: typeof HTMLElement;
|
|
13
86
|
/**
|
|
@@ -46,35 +119,57 @@ export declare class CalmLensUploaderElement extends BaseElement {
|
|
|
46
119
|
attributeChangedCallback(): void;
|
|
47
120
|
}
|
|
48
121
|
/**
|
|
49
|
-
* `<calmlens-
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* `transform`, `widths` (comma-separated), `
|
|
54
|
-
* `
|
|
55
|
-
* `
|
|
56
|
-
* `
|
|
122
|
+
* `<calmlens-asset src="…" alt="…">` shows any asset from its asset URL (public, or signed by your
|
|
123
|
+
* server), natively in the page, the same way `CalmLensAsset` does in React, Vue and Svelte. It
|
|
124
|
+
* reads `{src}/info` once connected, unless the `info` property is set. Attributes: `src`,
|
|
125
|
+
* `display` (`full` or `preview`), `viewer-claims` (JSON), `alt`, `fit`, `aspect-ratio`, `eager`,
|
|
126
|
+
* `fetch-priority`, `lens`, `transform`, `widths` (comma-separated), `sizes`, `no-controls`,
|
|
127
|
+
* `autoplay`, `muted`, `loop`, `no-stream`, `initial-page` and `page-size`. Properties: `info`,
|
|
128
|
+
* `onExpired` (returns a fresh signed asset URL), `messages`, `pdf`, `getText` (a spreadsheet's
|
|
129
|
+
* sheets), and `renderUnavailable` / `renderAgeGate` (return your own notice's node). Events:
|
|
130
|
+
* `calmlens-load`, `calmlens-error`, `calmlens-availability-change` (detail: the availability),
|
|
131
|
+
* `calmlens-age-confirm-request`, `calmlens-play`, `calmlens-ended` and `calmlens-timeupdate`
|
|
132
|
+
* (detail: the position in seconds).
|
|
57
133
|
*/
|
|
58
|
-
export declare class
|
|
134
|
+
export declare class CalmLensAssetElement extends BaseElement {
|
|
59
135
|
#private;
|
|
60
136
|
static observedAttributes: string[];
|
|
61
137
|
get messages(): Partial<CalmLensMessages> | undefined;
|
|
62
138
|
set messages(value: Partial<CalmLensMessages> | undefined);
|
|
63
|
-
/**
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
get
|
|
68
|
-
set
|
|
139
|
+
/** The asset's display info, prefetched with `getAssetInfo`, so nothing waits for `/info`. */
|
|
140
|
+
get info(): ViewerAsset | undefined;
|
|
141
|
+
set info(value: ViewerAsset | undefined);
|
|
142
|
+
/** Returns a fresh asset URL from your server once a signed one expires. */
|
|
143
|
+
get onExpired(): (() => string | Promise<string>) | undefined;
|
|
144
|
+
set onExpired(value: (() => string | Promise<string>) | undefined);
|
|
145
|
+
/** Where a document's pdf.js loads its worker, fonts and decoders from. */
|
|
146
|
+
get pdf(): PdfAssetOptions | undefined;
|
|
147
|
+
set pdf(value: PdfAssetOptions | undefined);
|
|
148
|
+
/** Reads a spreadsheet's sheets yourself, such as from its text child asset. */
|
|
149
|
+
get getText(): (() => Promise<string>) | undefined;
|
|
150
|
+
set getText(value: (() => Promise<string>) | undefined);
|
|
151
|
+
/** Returns your own unavailable notice. */
|
|
152
|
+
get renderUnavailable(): (() => Node) | undefined;
|
|
153
|
+
set renderUnavailable(value: (() => Node) | undefined);
|
|
154
|
+
/** Returns your own age notice; call `confirm` from its reveal button. */
|
|
155
|
+
get renderAgeGate(): ((props: {
|
|
156
|
+
placeholderUrl?: string;
|
|
157
|
+
confirm: () => void;
|
|
158
|
+
}) => Node) | undefined;
|
|
159
|
+
set renderAgeGate(value: ((props: {
|
|
160
|
+
placeholderUrl?: string;
|
|
161
|
+
confirm: () => void;
|
|
162
|
+
}) => Node) | undefined);
|
|
69
163
|
connectedCallback(): void;
|
|
70
164
|
attributeChangedCallback(): void;
|
|
165
|
+
disconnectedCallback(): void;
|
|
71
166
|
}
|
|
72
|
-
/** Defines `<calmlens-uploader>` and `<calmlens-
|
|
167
|
+
/** Defines `<calmlens-uploader>` and `<calmlens-asset>`, if they aren't defined yet. */
|
|
73
168
|
export declare const defineCalmLensElements: () => void;
|
|
74
169
|
declare global {
|
|
75
170
|
interface HTMLElementTagNameMap {
|
|
76
171
|
"calmlens-uploader": CalmLensUploaderElement;
|
|
77
|
-
"calmlens-
|
|
172
|
+
"calmlens-asset": CalmLensAssetElement;
|
|
78
173
|
}
|
|
79
174
|
interface HTMLElementEventMap {
|
|
80
175
|
"calmlens-uploaded": CustomEvent<CalmLensUpload>;
|
|
@@ -82,7 +177,13 @@ declare global {
|
|
|
82
177
|
"calmlens-failed": CustomEvent<UploadItem>;
|
|
83
178
|
"calmlens-removed": CustomEvent<UploadItem>;
|
|
84
179
|
"calmlens-change": CustomEvent<UploadSnapshot>;
|
|
85
|
-
"calmlens-
|
|
180
|
+
"calmlens-load": CustomEvent<undefined>;
|
|
181
|
+
"calmlens-error": CustomEvent<undefined>;
|
|
182
|
+
"calmlens-availability-change": CustomEvent<AssetAvailability>;
|
|
183
|
+
"calmlens-age-confirm-request": CustomEvent<undefined>;
|
|
184
|
+
"calmlens-play": CustomEvent<undefined>;
|
|
185
|
+
"calmlens-ended": CustomEvent<undefined>;
|
|
186
|
+
"calmlens-timeupdate": CustomEvent<number>;
|
|
86
187
|
}
|
|
87
188
|
}
|
|
88
|
-
export { CALMLENS_STYLES, CALMLENS_THEME, type CalmLensMessages, type CalmLensTheme, type CalmLensUpload, type CustomUploadContext, type CustomUploadResult, DEFAULT_MESSAGES, ICONS, ICON_ATTRIBUTES, type IconName, type
|
|
189
|
+
export { ASSET_FILE_ICON_SIZE, ASSET_VIEWERS, type AssetDisplay, type AssetDisplayOptions, type AssetDocumentOptions, type AssetEventHandlers, type AssetImageOptions, type AssetImageSource, type AssetOptions, type AssetProps, AssetSession, type AssetSessionState, type AssetSpreadsheetOptions, type AssetVideoOptions, type AssetView, type AssetViewer, type AssetViewerKind, AssetViewerMount, AssetViewerName, AssetViewerOptionsByKind, CALMLENS_STYLES, CALMLENS_THEME, type CalmLensMessages, type CalmLensTheme, type CalmLensUpload, type CustomUploadContext, type CustomUploadResult, DEFAULT_MESSAGES, DEFAULT_VIEWER_MESSAGES, type DocumentViewerOptions, ICONS, ICON_ATTRIBUTES, type IconName, type ImageViewerOptions, type MediaPlayback, MediaStreamPlayer, type MountedViewerKind, type PdfAssetOptions, type ProgressFetchOptions, type SpreadsheetCell, type SpreadsheetRow, type SpreadsheetSheet, type SpreadsheetViewerOptions, type TextViewerOptions, type UploadClient, UploadController, type UploadControllerOptions, type UploadFile, type UploadItem, type UploadItemView, type UploadSnapshot, type UploadStage, type UploaderDisplayOptions, type UploaderProps, type UploaderView, VIEWER_STYLES, type ViewerAsset, type ViewerMessages, type ViewerOptions, type ViewerState, type ViewerTextOptions, type WebsiteViewerOptions, createDocumentViewer, createImageViewer, createProgressFetch, createSpreadsheetViewer, createTextViewer, createUploadController, createWebsiteViewer, describeUploadItem, describeUploader, formatBytes, formatMessage, formatViewerMessage, getAssetAspectRatio, getAssetView, getAssetViewKey, getAssetViewerKind, getDropzoneHint, getMountedViewerOptions, getPeakHeights, getPlayedPercent, getSpreadsheetPage, getUploadItemMessage, getUploadItemOutcome, isFileAccepted, isMountedViewerKind, isSpreadsheetFormat, loadPdfJs, parseSpreadsheetText, pickAssetSource, resolveMessages, resolveTheme, resolveViewerMessages, spreadsheetColumnIndex };
|