@prose-reader/core 1.233.0 → 1.235.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/dist/cfi/resolve.d.ts +1 -1
- package/dist/createReaderWithEnhancer.d.ts +1 -1
- package/dist/enhancers/layout/viewportMode.d.ts +1 -1
- package/dist/enhancers/navigation/report.d.ts +2 -0
- package/dist/enhancers/pagination/ResourcesLocator.d.ts +0 -1
- package/dist/enhancers/pagination/enhancer.d.ts +1 -1
- package/dist/enhancers/pagination/index.d.ts +1 -1
- package/dist/enhancers/pagination/types.d.ts +1 -1
- package/dist/index.js +3290 -3363
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +54 -54
- package/dist/index.umd.cjs.map +1 -1
- package/dist/navigation/UserScrollNavigation.d.ts +2 -1
- package/dist/navigation/types.d.ts +2 -2
- package/dist/reader.d.ts +1 -1
- package/dist/report.d.ts +2 -0
- package/dist/settings/SettingsManager.d.ts +2 -2
- package/dist/settings/SettingsManagerOverload.d.ts +1 -1
- package/dist/spine/Pages.d.ts +2 -2
- package/dist/spine/report.d.ts +2 -0
- package/dist/spine/types.d.ts +1 -0
- package/dist/viewport/Viewport.d.ts +1 -0
- package/package.json +5 -5
- package/dist/navigation/controllers/getScaledDownPosition.d.ts +0 -7
package/dist/cfi/resolve.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const resolveCfi: ({ cfi, spineItemsManager, }: {
|
|
|
6
6
|
spineItemsManager: SpineItemsManager;
|
|
7
7
|
}) => Omit<ReturnType<typeof parseCfi>, "offset"> & {
|
|
8
8
|
offset?: number | undefined;
|
|
9
|
-
node
|
|
9
|
+
node: Node | null;
|
|
10
10
|
range?: Range | null;
|
|
11
11
|
spineItem?: SpineItem;
|
|
12
12
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { Reader } from '../../reader';
|
|
3
|
-
export declare const createViewportModeHandler: (reader: Reader, viewportMode$: Observable<`normal` | `thumbnails`>) => Observable<
|
|
3
|
+
export declare const createViewportModeHandler: (reader: Reader, viewportMode$: Observable<`normal` | `thumbnails`>) => Observable<0>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LayoutEnhancerOutput } from '../layout/layoutEnhancer';
|
|
2
2
|
import { EnhancerOutput, RootEnhancer } from '../types/enhancer';
|
|
3
3
|
import { PaginationEnhancerAPI } from './types';
|
|
4
|
-
export type {
|
|
4
|
+
export type { EnhancerPaginationInto, PaginationEnhancerAPI } from './types';
|
|
5
5
|
export declare const paginationEnhancer: <InheritOptions, InheritOutput extends EnhancerOutput<RootEnhancer> & LayoutEnhancerOutput, PaginationOutput extends PaginationEnhancerAPI<InheritOutput>>(next: (options: InheritOptions) => InheritOutput) => (options: InheritOptions) => PaginationOutput;
|
|
@@ -2,8 +2,8 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { PaginationInfo } from '../../pagination/types';
|
|
3
3
|
import { LayoutEnhancerOutput } from '../layout/layoutEnhancer';
|
|
4
4
|
import { EnhancerOutput, RootEnhancer } from '../types/enhancer';
|
|
5
|
-
import { ResourcesLocator } from './ResourcesLocator';
|
|
6
5
|
import { ChapterInfo } from './chapters';
|
|
6
|
+
import { ResourcesLocator } from './ResourcesLocator';
|
|
7
7
|
export type ExtraPaginationInfo = {
|
|
8
8
|
beginChapterInfo: ChapterInfo | undefined;
|
|
9
9
|
beginSpineItemReadingDirection: `rtl` | `ltr` | undefined;
|