pptx-svelte-viewer 0.4.0 → 0.5.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/CHANGELOG.md +2 -0
- package/dist/{component-qdUERFDU.js → component-CtIGg1wg.js} +13821 -12346
- package/dist/index.d.ts +13 -2
- package/dist/index.js +1 -1
- package/dist/viewer/index.d.ts +13 -2
- package/dist/viewer/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -385,14 +385,25 @@ export declare interface PowerPointViewerProps {
|
|
|
385
385
|
* to the room (y-websocket or serverless y-webrtc), publishes local edits
|
|
386
386
|
* granularly, and applies remote peers' edits into the editable slides.
|
|
387
387
|
* Clearing it (undefined) tears the session down. A `viewer` role makes the
|
|
388
|
-
* local user read-only. Remote presence
|
|
389
|
-
*
|
|
388
|
+
* local user read-only. Remote cursors/presence render via the built-in
|
|
389
|
+
* Share/Broadcast toolbar buttons; see `collab/collaboration.svelte.ts` and
|
|
390
|
+
* `collab/components/`.
|
|
390
391
|
*/
|
|
391
392
|
collaboration?: CollaborationConfig;
|
|
392
393
|
/** Fired when a collaboration session starts (with the resolved config). */
|
|
393
394
|
onstartcollaboration?: (config: CollaborationConfig) => void;
|
|
394
395
|
/** Fired when a collaboration session stops. */
|
|
395
396
|
onstopcollaboration?: () => void;
|
|
397
|
+
/**
|
|
398
|
+
* Prefilled values for the built-in Share dialog's form (room id, display
|
|
399
|
+
* name, server URL). The Broadcast dialog reuses `serverUrl` from this same
|
|
400
|
+
* object. Purely a starting point; the user can still edit every field.
|
|
401
|
+
*/
|
|
402
|
+
shareDefaults?: {
|
|
403
|
+
roomId?: string;
|
|
404
|
+
userName?: string;
|
|
405
|
+
serverUrl?: string;
|
|
406
|
+
};
|
|
396
407
|
}
|
|
397
408
|
|
|
398
409
|
/** Colour mode for the printed output. */
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, b as e, d as o, f as r, g as t, h as i, l, m, p as n, t as h, u, v, y as p } from "./component-
|
|
1
|
+
import { _ as a, b as e, d as o, f as r, g as t, h as i, l, m, p as n, t as h, u, v, y as p } from "./component-CtIGg1wg.js";
|
|
2
2
|
import { r as f } from "./translator-nTmCzaSH.js";
|
|
3
3
|
import "./i18n.js";
|
|
4
4
|
export {
|
package/dist/viewer/index.d.ts
CHANGED
|
@@ -1545,14 +1545,25 @@ export declare interface PowerPointViewerProps {
|
|
|
1545
1545
|
* to the room (y-websocket or serverless y-webrtc), publishes local edits
|
|
1546
1546
|
* granularly, and applies remote peers' edits into the editable slides.
|
|
1547
1547
|
* Clearing it (undefined) tears the session down. A `viewer` role makes the
|
|
1548
|
-
* local user read-only. Remote presence
|
|
1549
|
-
*
|
|
1548
|
+
* local user read-only. Remote cursors/presence render via the built-in
|
|
1549
|
+
* Share/Broadcast toolbar buttons; see `collab/collaboration.svelte.ts` and
|
|
1550
|
+
* `collab/components/`.
|
|
1550
1551
|
*/
|
|
1551
1552
|
collaboration?: CollaborationConfig;
|
|
1552
1553
|
/** Fired when a collaboration session starts (with the resolved config). */
|
|
1553
1554
|
onstartcollaboration?: (config: CollaborationConfig) => void;
|
|
1554
1555
|
/** Fired when a collaboration session stops. */
|
|
1555
1556
|
onstopcollaboration?: () => void;
|
|
1557
|
+
/**
|
|
1558
|
+
* Prefilled values for the built-in Share dialog's form (room id, display
|
|
1559
|
+
* name, server URL). The Broadcast dialog reuses `serverUrl` from this same
|
|
1560
|
+
* object. Purely a starting point; the user can still edit every field.
|
|
1561
|
+
*/
|
|
1562
|
+
shareDefaults?: {
|
|
1563
|
+
roomId?: string;
|
|
1564
|
+
userName?: string;
|
|
1565
|
+
serverUrl?: string;
|
|
1566
|
+
};
|
|
1556
1567
|
}
|
|
1557
1568
|
|
|
1558
1569
|
/**
|
package/dist/viewer/index.js
CHANGED