pptx-svelte-viewer 0.1.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.
@@ -0,0 +1,11 @@
1
+ import { a, c as o, i as t, n as r, o as s, r as i, s as n, t as c } from "../component-CacEu31z.js";
2
+ export {
3
+ c as PowerPointViewer,
4
+ o as PresentationLoader,
5
+ r as ViewerState,
6
+ i as clampSlideIndex,
7
+ t as fitScale,
8
+ a as resolveNavigationKey,
9
+ s as zoomInPercent,
10
+ n as zoomOutPercent
11
+ };
package/package.json ADDED
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "pptx-svelte-viewer",
3
+ "version": "0.1.0",
4
+ "description": "Svelte 5 PowerPoint viewer component: render PPTX slides in the browser.",
5
+ "keywords": [
6
+ "office",
7
+ "openxml",
8
+ "powerpoint",
9
+ "ppt",
10
+ "pptx",
11
+ "presentation",
12
+ "slides",
13
+ "slideshow",
14
+ "svelte",
15
+ "svelte-component",
16
+ "svelte5",
17
+ "viewer"
18
+ ],
19
+ "homepage": "https://github.com/ChristopherVR/pptx-viewer",
20
+ "bugs": {
21
+ "url": "https://github.com/ChristopherVR/pptx-viewer/issues"
22
+ },
23
+ "license": "Apache-2.0",
24
+ "author": "ChristopherVR",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/ChristopherVR/pptx-viewer.git",
28
+ "directory": "packages/svelte"
29
+ },
30
+ "files": [
31
+ "dist/",
32
+ "CHANGELOG.md",
33
+ "LICENSE",
34
+ "NOTICE",
35
+ "README.md"
36
+ ],
37
+ "type": "module",
38
+ "module": "dist/index.js",
39
+ "types": "dist/index.d.ts",
40
+ "svelte": "./dist/index.js",
41
+ "exports": {
42
+ ".": {
43
+ "types": "./dist/index.d.ts",
44
+ "svelte": "./dist/index.js",
45
+ "import": "./dist/index.js"
46
+ },
47
+ "./viewer": {
48
+ "types": "./dist/viewer/index.d.ts",
49
+ "svelte": "./dist/viewer/index.js",
50
+ "import": "./dist/viewer/index.js"
51
+ },
52
+ "./i18n": {
53
+ "types": "./dist/i18n.d.ts",
54
+ "import": "./dist/i18n.js"
55
+ }
56
+ },
57
+ "scripts": {
58
+ "build": "vite build",
59
+ "dev": "vite build --watch",
60
+ "typecheck": "svelte-check --tsconfig ./tsconfig.json",
61
+ "test": "vitest run",
62
+ "test:watch": "vitest",
63
+ "pack": "bun run build && bun pm pack"
64
+ },
65
+ "devDependencies": {
66
+ "@microsoft/api-extractor": "^7.53.1",
67
+ "@sveltejs/vite-plugin-svelte": "^7.2.0",
68
+ "happy-dom": "^20.10.6",
69
+ "pptx-viewer-core": "workspace:*",
70
+ "pptx-viewer-shared": "workspace:*",
71
+ "svelte": "^5.46.4",
72
+ "svelte-check": "^4.7.2",
73
+ "typescript": "^6.0.3",
74
+ "vite": "^8.0.16",
75
+ "vite-plugin-dts": "^5.0.3",
76
+ "vitest": "^4.1.9"
77
+ },
78
+ "peerDependencies": {
79
+ "fast-xml-parser": "^5.8.0",
80
+ "jszip": "^3.10.1",
81
+ "svelte": "^5.0.0"
82
+ }
83
+ }