pptx-svelte-viewer 0.3.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 +4 -0
- package/dist/{component-BPX8pWOs.js → component-CtIGg1wg.js} +18380 -14330
- package/dist/i18n.js +1 -1
- package/dist/index.d.ts +13 -2
- package/dist/index.js +2 -2
- package/dist/{translator-C44zS1dl.js → translator-nTmCzaSH.js} +9 -0
- package/dist/viewer/index.d.ts +13 -2
- package/dist/viewer/index.js +1 -1
- package/package.json +1 -1
package/dist/i18n.js
CHANGED
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,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { r as f } from "./translator-
|
|
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
|
+
import { r as f } from "./translator-nTmCzaSH.js";
|
|
3
3
|
import "./i18n.js";
|
|
4
4
|
export {
|
|
5
5
|
h as PowerPointViewer,
|
|
@@ -1020,6 +1020,7 @@ var a = {
|
|
|
1020
1020
|
"pptx.table.bandRowCycle": "Row band size",
|
|
1021
1021
|
"pptx.table.cell": "Cell R{{row}} C{{col}}",
|
|
1022
1022
|
"pptx.table.cellBorders": "Cell borders",
|
|
1023
|
+
"pptx.table.cellPadding": "Cell padding",
|
|
1023
1024
|
"pptx.table.color": "Text",
|
|
1024
1025
|
"pptx.table.columnWidths": "Column widths",
|
|
1025
1026
|
"pptx.table.even": "Even",
|
|
@@ -1525,6 +1526,9 @@ Item 3`,
|
|
|
1525
1526
|
"pptx.ribbon.strokeWidth": "Stroke width",
|
|
1526
1527
|
"pptx.ribbon.browseThemes": "Browse Themes",
|
|
1527
1528
|
"pptx.ribbon.browseThemesTitle": "Browse and apply built-in themes",
|
|
1529
|
+
"pptx.ribbon.theme.default": "Default",
|
|
1530
|
+
"pptx.ribbon.theme.light": "Light (Vermilion)",
|
|
1531
|
+
"pptx.ribbon.theme.dark": "Dark (Vermilion)",
|
|
1528
1532
|
"pptx.ribbon.editTheme": "Edit Theme",
|
|
1529
1533
|
"pptx.ribbon.editThemeTitle": "Edit theme - theme editor not yet ported",
|
|
1530
1534
|
"pptx.ribbon.slideSize": "Slide Size",
|
|
@@ -2263,6 +2267,10 @@ Item 3`,
|
|
|
2263
2267
|
"pptx.text.characterSpacingTight": "Tight",
|
|
2264
2268
|
"pptx.text.characterSpacingVeryLoose": "Very Loose",
|
|
2265
2269
|
"pptx.text.characterSpacingVeryTight": "Very Tight",
|
|
2270
|
+
"pptx.textAdvanced.autoFit": "AutoFit",
|
|
2271
|
+
"pptx.textAdvanced.autoFitNone": "Do not autofit",
|
|
2272
|
+
"pptx.textAdvanced.autoFitResize": "Resize shape to fit text",
|
|
2273
|
+
"pptx.textAdvanced.autoFitShrink": "Shrink text on overflow",
|
|
2266
2274
|
"pptx.textAdvanced.autoPlaceholder": "auto",
|
|
2267
2275
|
"pptx.textAdvanced.indent": "Indent",
|
|
2268
2276
|
"pptx.textAdvanced.indentMargin": "Indent & Margin",
|
|
@@ -2276,6 +2284,7 @@ Item 3`,
|
|
|
2276
2284
|
"pptx.textAdvanced.spaceBefore": "Space Before",
|
|
2277
2285
|
"pptx.textAdvanced.spacing": "Spacing",
|
|
2278
2286
|
"pptx.textAdvanced.vAlign": "V-Align",
|
|
2287
|
+
"pptx.textAdvanced.wrapText": "Wrap text in shape",
|
|
2279
2288
|
"pptx.textFormatting.bulleted": "Bulleted",
|
|
2280
2289
|
"pptx.textFormatting.numbered": "Numbered",
|
|
2281
2290
|
"pptx.textFormatting.paragraphAfter": "Paragraph After",
|
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