flipbookengine 0.2.3 → 0.3.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 +28 -1
- package/THIRD-PARTY-NOTICES.md +56 -0
- package/dist/adapters/PageFlipAdapter.d.ts +1 -0
- package/dist/components/NavigationArrows.d.ts +6 -0
- package/dist/core/PdfRenderer.d.ts +34 -0
- package/dist/engine.d.ts +10 -2
- package/dist/flipbook-engine.css +1 -1
- package/dist/flipbook-engine.iife.js +78 -13
- package/dist/flipbook-engine.iife.js.map +1 -1
- package/dist/flipbook-engine.js +19110 -18926
- package/dist/flipbook-engine.js.map +1 -1
- package/dist/state/store.d.ts +1 -0
- package/dist/theme/theme.d.ts +0 -1
- package/package.json +107 -105
package/dist/state/store.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export declare const currentPage: import('@preact/signals-core').Signal<number>;
|
|
|
6
6
|
export declare const totalPages: import('@preact/signals-core').Signal<number>;
|
|
7
7
|
export declare const isSingleMode: import('@preact/signals-core').Signal<boolean>;
|
|
8
8
|
export declare const showThumbs: import('@preact/signals-core').Signal<boolean>;
|
|
9
|
+
export declare const showArrows: import('@preact/signals-core').Signal<boolean>;
|
|
9
10
|
export declare const orientation: import('@preact/signals-core').Signal<"landscape" | "portrait">;
|
|
10
11
|
export declare const flipState: import('@preact/signals-core').Signal<"read" | "fold_corner" | "flipping">;
|
|
11
12
|
export declare const themeMode: import('@preact/signals-core').Signal<FlipbookThemeMode>;
|
package/dist/theme/theme.d.ts
CHANGED
|
@@ -10,5 +10,4 @@ export interface ThemeConfiguration {
|
|
|
10
10
|
primaryColor?: string;
|
|
11
11
|
cssVariables?: Record<string, string>;
|
|
12
12
|
}
|
|
13
|
-
export declare function ensureRuntimeStyles(): void;
|
|
14
13
|
export declare function applyThemeConfiguration(container: HTMLElement, config: ThemeConfiguration): void;
|
package/package.json
CHANGED
|
@@ -1,105 +1,107 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "flipbookengine",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "A modern, embeddable HTML flipbook engine for PDF-backed catalogs and digital publications.",
|
|
5
|
-
"private": false,
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "vite",
|
|
8
|
-
"build": "vite build && vite build --config vite.config.iife.js",
|
|
9
|
-
"test": "tsx --loader ./tests/css-loader.js --test tests/*.test.ts",
|
|
10
|
-
"typecheck": "tsc --noEmit",
|
|
11
|
-
"clean": "rimraf dist"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"flipbook",
|
|
15
|
-
"catalog",
|
|
16
|
-
"pdf",
|
|
17
|
-
"viewer",
|
|
18
|
-
"publication",
|
|
19
|
-
"pageflip",
|
|
20
|
-
"digital-catalog",
|
|
21
|
-
"page-flip",
|
|
22
|
-
"typescript"
|
|
23
|
-
],
|
|
24
|
-
"author": "Murat Dogan",
|
|
25
|
-
"license": "AGPL-3.0-or-later",
|
|
26
|
-
"homepage": "https://flipbookengine.com",
|
|
27
|
-
"repository": {
|
|
28
|
-
"type": "git",
|
|
29
|
-
"url": "git+https://github.com/Bizeka/flipbook-engine.git"
|
|
30
|
-
},
|
|
31
|
-
"bugs": {
|
|
32
|
-
"url": "https://github.com/Bizeka/flipbook-engine/issues"
|
|
33
|
-
},
|
|
34
|
-
"engines": {
|
|
35
|
-
"node": ">=18"
|
|
36
|
-
},
|
|
37
|
-
"sideEffects": [
|
|
38
|
-
"**/*.css"
|
|
39
|
-
],
|
|
40
|
-
"files": [
|
|
41
|
-
"dist",
|
|
42
|
-
"react",
|
|
43
|
-
"vue",
|
|
44
|
-
"README.md",
|
|
45
|
-
"LICENSE",
|
|
46
|
-
"CHANGELOG.md",
|
|
47
|
-
"COMMERCIAL_LICENSE.md",
|
|
48
|
-
"TRADEMARK_POLICY.md",
|
|
49
|
-
"THIRD-PARTY-NOTICES.md"
|
|
50
|
-
],
|
|
51
|
-
"main": "./dist/flipbook-engine.js",
|
|
52
|
-
"module": "./dist/flipbook-engine.js",
|
|
53
|
-
"types": "./dist/index.d.ts",
|
|
54
|
-
"exports": {
|
|
55
|
-
".": {
|
|
56
|
-
"types": "./dist/index.d.ts",
|
|
57
|
-
"import": "./dist/flipbook-engine.js",
|
|
58
|
-
"default": "./dist/flipbook-engine.js"
|
|
59
|
-
},
|
|
60
|
-
"./styles.css": {
|
|
61
|
-
"default": "./dist/flipbook-engine.css"
|
|
62
|
-
},
|
|
63
|
-
"./react": {
|
|
64
|
-
"types": "./dist/react/index.d.ts",
|
|
65
|
-
"import": "./dist/flipbook-engine.react.js",
|
|
66
|
-
"default": "./dist/flipbook-engine.react.js"
|
|
67
|
-
},
|
|
68
|
-
"./vue": {
|
|
69
|
-
"types": "./dist/vue/index.d.ts",
|
|
70
|
-
"import": "./dist/flipbook-engine.vue.js",
|
|
71
|
-
"default": "./dist/flipbook-engine.vue.js"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"peerDependencies": {
|
|
75
|
-
"react": ">=16.8.0",
|
|
76
|
-
"vue": ">=3.0.0"
|
|
77
|
-
},
|
|
78
|
-
"peerDependenciesMeta": {
|
|
79
|
-
"react": {
|
|
80
|
-
"optional": true
|
|
81
|
-
},
|
|
82
|
-
"vue": {
|
|
83
|
-
"optional": true
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"devDependencies": {
|
|
87
|
-
"@types/
|
|
88
|
-
"@types/
|
|
89
|
-
"@types/
|
|
90
|
-
"react": "^19.2.
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "flipbookengine",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "A modern, embeddable HTML flipbook engine for PDF-backed catalogs and digital publications.",
|
|
5
|
+
"private": false,
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "vite",
|
|
8
|
+
"build": "vite build && vite build --config vite.config.iife.js",
|
|
9
|
+
"test": "tsx --loader ./tests/css-loader.js --test tests/*.test.ts",
|
|
10
|
+
"typecheck": "tsc --noEmit",
|
|
11
|
+
"clean": "rimraf dist"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"flipbook",
|
|
15
|
+
"catalog",
|
|
16
|
+
"pdf",
|
|
17
|
+
"viewer",
|
|
18
|
+
"publication",
|
|
19
|
+
"pageflip",
|
|
20
|
+
"digital-catalog",
|
|
21
|
+
"page-flip",
|
|
22
|
+
"typescript"
|
|
23
|
+
],
|
|
24
|
+
"author": "Murat Dogan",
|
|
25
|
+
"license": "AGPL-3.0-or-later",
|
|
26
|
+
"homepage": "https://flipbookengine.com",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/Bizeka/flipbook-engine.git"
|
|
30
|
+
},
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/Bizeka/flipbook-engine/issues"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=18"
|
|
36
|
+
},
|
|
37
|
+
"sideEffects": [
|
|
38
|
+
"**/*.css"
|
|
39
|
+
],
|
|
40
|
+
"files": [
|
|
41
|
+
"dist",
|
|
42
|
+
"react",
|
|
43
|
+
"vue",
|
|
44
|
+
"README.md",
|
|
45
|
+
"LICENSE",
|
|
46
|
+
"CHANGELOG.md",
|
|
47
|
+
"COMMERCIAL_LICENSE.md",
|
|
48
|
+
"TRADEMARK_POLICY.md",
|
|
49
|
+
"THIRD-PARTY-NOTICES.md"
|
|
50
|
+
],
|
|
51
|
+
"main": "./dist/flipbook-engine.js",
|
|
52
|
+
"module": "./dist/flipbook-engine.js",
|
|
53
|
+
"types": "./dist/index.d.ts",
|
|
54
|
+
"exports": {
|
|
55
|
+
".": {
|
|
56
|
+
"types": "./dist/index.d.ts",
|
|
57
|
+
"import": "./dist/flipbook-engine.js",
|
|
58
|
+
"default": "./dist/flipbook-engine.js"
|
|
59
|
+
},
|
|
60
|
+
"./styles.css": {
|
|
61
|
+
"default": "./dist/flipbook-engine.css"
|
|
62
|
+
},
|
|
63
|
+
"./react": {
|
|
64
|
+
"types": "./dist/react/index.d.ts",
|
|
65
|
+
"import": "./dist/flipbook-engine.react.js",
|
|
66
|
+
"default": "./dist/flipbook-engine.react.js"
|
|
67
|
+
},
|
|
68
|
+
"./vue": {
|
|
69
|
+
"types": "./dist/vue/index.d.ts",
|
|
70
|
+
"import": "./dist/flipbook-engine.vue.js",
|
|
71
|
+
"default": "./dist/flipbook-engine.vue.js"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"peerDependencies": {
|
|
75
|
+
"react": ">=16.8.0",
|
|
76
|
+
"vue": ">=3.0.0"
|
|
77
|
+
},
|
|
78
|
+
"peerDependenciesMeta": {
|
|
79
|
+
"react": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"vue": {
|
|
83
|
+
"optional": true
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"devDependencies": {
|
|
87
|
+
"@types/jsdom": "^28.0.3",
|
|
88
|
+
"@types/node": "^25.0.10",
|
|
89
|
+
"@types/page-flip": "^2.0.4",
|
|
90
|
+
"@types/react": "^19.2.14",
|
|
91
|
+
"jsdom": "^29.1.1",
|
|
92
|
+
"react": "^19.2.6",
|
|
93
|
+
"rimraf": "^6.0.0",
|
|
94
|
+
"tsx": "^4.22.4",
|
|
95
|
+
"typescript": "^5.0.0",
|
|
96
|
+
"vite": "^5.0.0",
|
|
97
|
+
"vite-plugin-dts": "^3.0.0",
|
|
98
|
+
"vue": "^3.5.34"
|
|
99
|
+
},
|
|
100
|
+
"type": "module",
|
|
101
|
+
"dependencies": {
|
|
102
|
+
"@preact/signals-core": "^1.14.3",
|
|
103
|
+
"@serenity-is/domwise": "^10.2.3",
|
|
104
|
+
"page-flip": "^2.0.7",
|
|
105
|
+
"pdfjs-dist": "^5.4.530"
|
|
106
|
+
}
|
|
107
|
+
}
|