@w100n/documents 0.18.1 → 0.19.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/dist/{SheetView-F4CBWEOS.js → SheetView-PUSRW7W2.js} +3 -3
- package/dist/{TextEditor-ZY4B7YIF.js → TextEditor-Z4KSBLBV.js} +3 -3
- package/dist/{chunk-2G34AIPU.js → chunk-JSJEB2CO.js} +192 -60
- package/dist/chunk-JSJEB2CO.js.map +1 -0
- package/dist/{chunk-TSB2QS56.js → chunk-ZQYSBWLK.js} +2 -2
- package/dist/collab.cjs +326 -187
- package/dist/collab.cjs.map +1 -1
- package/dist/collab.d.cts +27 -1
- package/dist/collab.d.ts +27 -1
- package/dist/collab.js +9 -1
- package/dist/index.cjs +364 -389
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +123 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +366 -395
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-2G34AIPU.js.map +0 -1
- /package/dist/{SheetView-F4CBWEOS.js.map → SheetView-PUSRW7W2.js.map} +0 -0
- /package/dist/{TextEditor-ZY4B7YIF.js.map → TextEditor-Z4KSBLBV.js.map} +0 -0
- /package/dist/{chunk-TSB2QS56.js.map → chunk-ZQYSBWLK.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -65,6 +65,13 @@ declare function FilePreview({ url, name, mimeType, size, bytes, pdfWorker }: {
|
|
|
65
65
|
pdfWorker?: () => Worker;
|
|
66
66
|
}): react.JSX.Element | null;
|
|
67
67
|
|
|
68
|
+
declare function PreviewCard({ thumb, icon, title, lines }: {
|
|
69
|
+
thumb: ReactNode;
|
|
70
|
+
icon: ReactNode;
|
|
71
|
+
title: string;
|
|
72
|
+
lines: ReactNode[];
|
|
73
|
+
}): react.JSX.Element;
|
|
74
|
+
|
|
68
75
|
type GuestRefusal = 'missing' | 'ended' | 'password' | 'wrong' | 'name' | 'busy';
|
|
69
76
|
declare class GuestRefused extends Error {
|
|
70
77
|
readonly reason: GuestRefusal;
|
|
@@ -169,4 +176,4 @@ declare function SlidesView({ html, name, rights, language, theme, baseUrl, scri
|
|
|
169
176
|
guard?: Guard;
|
|
170
177
|
}): react.JSX.Element;
|
|
171
178
|
|
|
172
|
-
export { type Deck, type DeckKind, DocumentFile, DocumentOverlay, DocumentsHost, DocumentsWorkspace, type DocxModel, FilePreview, GuestDocument, GuestHost, type GuestRefusal, GuestRefused, Language, Place, Rights, type Slide, SlidesView, readDeck, readDocx, writeDeck, writeDocx };
|
|
179
|
+
export { type Deck, type DeckKind, DocumentFile, DocumentOverlay, DocumentsHost, DocumentsWorkspace, type DocxModel, FilePreview, GuestDocument, GuestHost, type GuestRefusal, GuestRefused, Language, Place, PreviewCard, Rights, type Slide, SlidesView, readDeck, readDocx, writeDeck, writeDocx };
|
package/dist/index.d.ts
CHANGED
|
@@ -65,6 +65,13 @@ declare function FilePreview({ url, name, mimeType, size, bytes, pdfWorker }: {
|
|
|
65
65
|
pdfWorker?: () => Worker;
|
|
66
66
|
}): react.JSX.Element | null;
|
|
67
67
|
|
|
68
|
+
declare function PreviewCard({ thumb, icon, title, lines }: {
|
|
69
|
+
thumb: ReactNode;
|
|
70
|
+
icon: ReactNode;
|
|
71
|
+
title: string;
|
|
72
|
+
lines: ReactNode[];
|
|
73
|
+
}): react.JSX.Element;
|
|
74
|
+
|
|
68
75
|
type GuestRefusal = 'missing' | 'ended' | 'password' | 'wrong' | 'name' | 'busy';
|
|
69
76
|
declare class GuestRefused extends Error {
|
|
70
77
|
readonly reason: GuestRefusal;
|
|
@@ -169,4 +176,4 @@ declare function SlidesView({ html, name, rights, language, theme, baseUrl, scri
|
|
|
169
176
|
guard?: Guard;
|
|
170
177
|
}): react.JSX.Element;
|
|
171
178
|
|
|
172
|
-
export { type Deck, type DeckKind, DocumentFile, DocumentOverlay, DocumentsHost, DocumentsWorkspace, type DocxModel, FilePreview, GuestDocument, GuestHost, type GuestRefusal, GuestRefused, Language, Place, Rights, type Slide, SlidesView, readDeck, readDocx, writeDeck, writeDocx };
|
|
179
|
+
export { type Deck, type DeckKind, DocumentFile, DocumentOverlay, DocumentsHost, DocumentsWorkspace, type DocxModel, FilePreview, GuestDocument, GuestHost, type GuestRefusal, GuestRefused, Language, Place, PreviewCard, Rights, type Slide, SlidesView, readDeck, readDocx, writeDeck, writeDocx };
|