@somecat/epub-reader 0.1.0 → 0.1.3
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 +94 -9
- package/dist/react.cjs +661 -101
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +1 -0
- package/dist/react.d.ts +1 -0
- package/dist/react.js +661 -101
- package/dist/react.js.map +1 -1
- package/dist/vue.cjs +0 -0
- package/dist/vue.cjs.map +1 -1
- package/dist/vue.d.cts +9 -0
- package/dist/vue.d.ts +9 -0
- package/dist/vue.js +669 -97
- package/dist/vue.js.map +1 -1
- package/package.json +1 -1
- package/style.css +205 -118
package/dist/vue.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import * as vue from 'vue';
|
|
|
4
4
|
type EBookReaderVueExposed = Pick<EBookReaderHandle, 'prevPage' | 'nextPage' | 'prevSection' | 'nextSection' | 'goTo' | 'goToFraction' | 'search' | 'cancelSearch' | 'clearSearch'>;
|
|
5
5
|
type EBookReaderVueProps = {
|
|
6
6
|
file?: File | null;
|
|
7
|
+
fileUrl?: string | null;
|
|
7
8
|
defaultFontSize?: number;
|
|
8
9
|
fontSize?: number;
|
|
9
10
|
defaultDarkMode?: boolean;
|
|
@@ -17,6 +18,10 @@ declare const EBookReaderVue: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
17
18
|
readonly type: vue.PropType<File | null>;
|
|
18
19
|
readonly required: false;
|
|
19
20
|
};
|
|
21
|
+
readonly fileUrl: {
|
|
22
|
+
readonly type: StringConstructor;
|
|
23
|
+
readonly required: false;
|
|
24
|
+
};
|
|
20
25
|
readonly defaultFontSize: {
|
|
21
26
|
readonly type: NumberConstructor;
|
|
22
27
|
readonly required: false;
|
|
@@ -56,6 +61,10 @@ declare const EBookReaderVue: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
56
61
|
readonly type: vue.PropType<File | null>;
|
|
57
62
|
readonly required: false;
|
|
58
63
|
};
|
|
64
|
+
readonly fileUrl: {
|
|
65
|
+
readonly type: StringConstructor;
|
|
66
|
+
readonly required: false;
|
|
67
|
+
};
|
|
59
68
|
readonly defaultFontSize: {
|
|
60
69
|
readonly type: NumberConstructor;
|
|
61
70
|
readonly required: false;
|