@pdf-viewer/react 1.10.0-beta.0 → 1.10.0-beta.2
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/{ToolbarLayout.module-c014f04b.js → ToolbarLayout.module-2e734dc1.js} +1096 -1083
- package/dist/assets/ToolbarLayout.css +1 -1
- package/dist/components/RPController.js +1 -1
- package/dist/components/RPPages.js +1 -1
- package/dist/components/layout/LayoutContainer.js +1 -1
- package/dist/components/layout/RPDefaultLayout.js +1 -1
- package/dist/components/layout/RPLayout.js +1 -1
- package/dist/components/layout/sidebar/RPSidebar.js +1 -1
- package/dist/components/layout/sidebar/Thumbnail.js +1 -1
- package/dist/components/layout/sidebar/Thumbnails.js +1 -1
- package/dist/components/layout/toolbar/DocumentDialog.js +1 -1
- package/dist/components/layout/toolbar/FileDownloadTool.js +1 -1
- package/dist/components/layout/toolbar/MostPageTool.js +1 -1
- package/dist/components/layout/toolbar/OtherTool.js +1 -1
- package/dist/components/layout/toolbar/Paginate.js +1 -1
- package/dist/components/layout/toolbar/PrintTool.js +2 -2
- package/dist/components/layout/toolbar/RPMenuItem.js +23 -0
- package/dist/components/layout/toolbar/RPMoreOptions.js +147 -0
- package/dist/components/layout/toolbar/RPToolbar.js +1 -1
- package/dist/components/layout/toolbar/RPToolbarEnd.js +1 -1
- package/dist/components/layout/toolbar/SearchResultNavigator.js +1 -1
- package/dist/components/layout/toolbar/SearchTool.js +1 -1
- package/dist/components/layout/toolbar/ThumbnailTool.js +1 -1
- package/dist/components/layout/toolbar/ToolbarCustom.js +1 -1
- package/dist/components/layout/toolbar/ToolbarDefault.js +1 -1
- package/dist/components/layout/toolbar/tools/DocumentPropertiesTool.js +1 -1
- package/dist/components/layout/toolbar/tools/FileDownloadTool.js +1 -1
- package/dist/components/layout/toolbar/tools/InputPageTool.js +1 -1
- package/dist/components/layout/toolbar/tools/NextPageTool.js +1 -1
- package/dist/components/layout/toolbar/tools/PreviousPageTool.js +1 -1
- package/dist/components/layout/toolbar/tools/PrintTool.js +1 -1
- package/dist/components/layout/toolbar/tools/ThumbnailTool.js +1 -1
- package/dist/components/layout/toolbar/tools/defaults/RPHorizontalBar.js +1 -1
- package/dist/components/layout/toolbar/tools/more-options/DocumentProperties.js +16 -0
- package/dist/components/layout/toolbar/tools/more-options/FileDownloadTool.js +20 -0
- package/dist/components/layout/toolbar/tools/more-options/FileUploadTool.js +69 -0
- package/dist/components/layout/toolbar/tools/more-options/FullScreenTool.js +20 -0
- package/dist/components/layout/toolbar/tools/more-options/MostPageTool.js +78 -0
- package/dist/components/layout/toolbar/tools/more-options/PrintTool.js +20 -0
- package/dist/components/layout/toolbar/tools/more-options/RotateTool.js +26 -0
- package/dist/components/layout/toolbar/tools/more-options/ScrollModeTool.js +43 -0
- package/dist/components/layout/toolbar/tools/more-options/SelectionModeTool.js +30 -0
- package/dist/components/layout/toolbar/tools/more-options/ViewModeTool.js +32 -0
- package/dist/components/page/AnnotationLayer.js +1 -1
- package/dist/components/page/CanvasLayer.js +1 -1
- package/dist/components/page/DualPage.js +1 -1
- package/dist/components/page/RPPage.js +1 -1
- package/dist/components/page/SinglePage.js +1 -1
- package/dist/components/page/TextHighlightLayer.js +1 -1
- package/dist/components/page/TextLayer.js +1 -1
- package/dist/components/ui/LoadingIndicator.js +1 -1
- package/dist/contexts/PaginationContext.js +1 -1
- package/dist/contexts/PrintContext.js +1 -1
- package/dist/contexts/RenderQueueProvider.js +1 -1
- package/dist/contexts/SearchContext.js +1 -1
- package/dist/contexts/ThumbnailsContext.js +1 -1
- package/dist/main.js +25 -21
- package/dist/types/components/layout/toolbar/RPMenuItem.d.ts +11 -0
- package/dist/types/components/layout/toolbar/RPMoreOptions.d.ts +3 -0
- package/dist/types/components/layout/toolbar/tools/more-options/DocumentProperties.d.ts +3 -0
- package/dist/types/components/layout/toolbar/tools/more-options/FileDownloadTool.d.ts +3 -0
- package/dist/types/components/layout/toolbar/tools/more-options/FileUploadTool.d.ts +3 -0
- package/dist/types/components/layout/toolbar/tools/more-options/FullScreenTool.d.ts +3 -0
- package/dist/types/components/layout/toolbar/tools/more-options/MostPageTool.d.ts +3 -0
- package/dist/types/components/layout/toolbar/tools/more-options/PrintTool.d.ts +3 -0
- package/dist/types/components/layout/toolbar/tools/more-options/RotateTool.d.ts +3 -0
- package/dist/types/components/layout/toolbar/tools/more-options/ScrollModeTool.d.ts +3 -0
- package/dist/types/components/layout/toolbar/tools/more-options/SelectionModeTool.d.ts +3 -0
- package/dist/types/components/layout/toolbar/tools/more-options/ViewModeTool.d.ts +3 -0
- package/dist/types/contexts/SelectionModeContext.d.ts +2 -2
- package/dist/types/main.d.ts +3 -1
- package/dist/types/utils/getWordPositionInPage.d.ts +2 -5
- package/dist/types/utils/types.d.ts +83 -5
- package/dist/utils/getWordPositionInPage.js +20 -21
- package/dist/utils/hooks/useFileDownload.js +1 -1
- package/dist/utils/hooks/useLicense.js +1 -1
- package/dist/utils/hooks/usePaginate.js +1 -1
- package/dist/utils/hooks/usePresentPage.js +1 -1
- package/dist/utils/hooks/usePrint.js +1 -1
- package/dist/utils/hooks/useScrollToPage.js +1 -1
- package/dist/utils/hooks/useSearch.js +1 -1
- package/dist/utils/hooks/useThumbnail.js +1 -1
- package/dist/utils/hooks/useVirtualReactWindow.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
import { SelectionModeContextType,
|
|
2
|
+
import { SelectionModeContextType, SelectionModeProviderProps } from '../utils/types';
|
|
3
3
|
export declare const SelectionModeContext: import('react').Context<SelectionModeContextType>;
|
|
4
4
|
export declare const useSelectionModeContext: () => SelectionModeContextType;
|
|
5
|
-
export declare const SelectionModeProvider: FC<PropsWithChildren<
|
|
5
|
+
export declare const SelectionModeProvider: FC<PropsWithChildren<SelectionModeProviderProps>>;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -41,5 +41,7 @@ export { RotateClockwiseTool } from './components/layout/toolbar/tools/RotateClo
|
|
|
41
41
|
export { RotateCounterclockwiseTool } from './components/layout/toolbar/tools/RotateCounterclockwiseTool';
|
|
42
42
|
export { RPHorizontalBar } from './components/layout/toolbar/tools/defaults/RPHorizontalBar';
|
|
43
43
|
export { RPVerticalBar } from './components/layout/toolbar/tools/defaults/RPVerticalBar';
|
|
44
|
-
export
|
|
44
|
+
export { RPMoreOptions } from './components/layout/toolbar/RPMoreOptions';
|
|
45
|
+
export { RPMenuItem } from './components/layout/toolbar/RPMenuItem';
|
|
46
|
+
export type { CharacterMap, DarkModeProps, DownloadToolProps, FullScreenToolProps, Localization, MatchValue, OpenFileToolProps, PageNavigationToolProps, PdfPage, PdfProperties, PreparePrintProgress, PrintToolProps, RPConfigProps, RPThemeProps, RPProviderProps, RPDefaultLayoutProps, RPLayoutProps, RPIcons, RPSlots, SearchOptions, SetPageResult, ScrollModeInitialProps, ThumbnailToolProps, ViewModeInitialProps, ZoomProps, RPHorizontalBarProps, RPHorizontalBarSlots, RPHorizontalBarIcons, RPVerticalBarProps, RPVerticalBarSlots, RPVerticalBarIcons } from './utils/types';
|
|
45
47
|
export { ViewMode, ScrollMode, ZoomLevel, Locales, ThemeVariables } from './utils/types';
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { WordPositionRect } from './types';
|
|
2
|
-
export declare const getWordPositionInPage: (
|
|
2
|
+
export declare const getWordPositionInPage: (pageDimension: {
|
|
3
3
|
width: number;
|
|
4
4
|
height: number;
|
|
5
|
-
},
|
|
6
|
-
top: number;
|
|
7
|
-
left: number;
|
|
8
|
-
}, wordPosition: WordPositionRect, scale: number, rotation: number) => {
|
|
5
|
+
}, pagesRef: HTMLDivElement, wordPosition: WordPositionRect, scale: number, rotation: number) => {
|
|
9
6
|
leftInPage: number;
|
|
10
7
|
topInPage: number;
|
|
11
8
|
};
|
|
@@ -462,7 +462,7 @@ export interface RPProviderProps extends PropsWithChildren, LoadPDFOptions, RPCo
|
|
|
462
462
|
characterMap?: CharacterMap;
|
|
463
463
|
}
|
|
464
464
|
export type LocalizationMap = Record<string, Localization>;
|
|
465
|
-
export interface RPControllerProps extends PropsWithChildren, DarkModeProviderProps, RotateProviderProps, LayerProviderProps, ZoomProviderProps, PageProviderProps,
|
|
465
|
+
export interface RPControllerProps extends PropsWithChildren, DarkModeProviderProps, RotateProviderProps, LayerProviderProps, ZoomProviderProps, PageProviderProps, ViewModeInitialProps, ScrollModeInitialProps {
|
|
466
466
|
initialSearch?: string;
|
|
467
467
|
initialThumbnailsVisible?: boolean;
|
|
468
468
|
locale?: string;
|
|
@@ -502,7 +502,7 @@ export interface ZoomContextType {
|
|
|
502
502
|
export type ZoomProps = Omit<ZoomContextType, 'currentZoom'>;
|
|
503
503
|
export type InitialStateContextType = {
|
|
504
504
|
instanceId: string;
|
|
505
|
-
} & ZoomProviderProps & PageProviderProps &
|
|
505
|
+
} & ZoomProviderProps & PageProviderProps & ViewModeInitialProps & ScrollModeInitialProps & RotateProviderProps;
|
|
506
506
|
export interface ZoomProviderProps {
|
|
507
507
|
initialScale?: number | ZoomLevel;
|
|
508
508
|
}
|
|
@@ -515,7 +515,7 @@ export interface ViewModeContextType {
|
|
|
515
515
|
setDualPage: () => void;
|
|
516
516
|
viewMode: ViewMode;
|
|
517
517
|
}
|
|
518
|
-
export interface
|
|
518
|
+
export interface ViewModeInitialProps {
|
|
519
519
|
initialViewMode?: ViewMode;
|
|
520
520
|
}
|
|
521
521
|
export interface ViewportProps {
|
|
@@ -531,7 +531,7 @@ export interface ScrollModeContextType {
|
|
|
531
531
|
scrollMode: ScrollMode;
|
|
532
532
|
setScrollMode: (mode: ScrollMode) => void;
|
|
533
533
|
}
|
|
534
|
-
export interface
|
|
534
|
+
export interface ScrollModeInitialProps {
|
|
535
535
|
initialScrollMode?: ScrollMode;
|
|
536
536
|
}
|
|
537
537
|
export interface WordPositionRect {
|
|
@@ -616,7 +616,7 @@ export interface SelectionModeContextType {
|
|
|
616
616
|
selectionMode: SelectionMode;
|
|
617
617
|
setSelectionMode: (mode: SelectionMode) => void;
|
|
618
618
|
}
|
|
619
|
-
export interface
|
|
619
|
+
export interface SelectionModeProviderProps {
|
|
620
620
|
initialSelectionMode?: SelectionMode;
|
|
621
621
|
}
|
|
622
622
|
export type LoaderImage = JSX.Element | string;
|
|
@@ -774,4 +774,82 @@ export interface RPVerticalBarProps {
|
|
|
774
774
|
slots?: RPVerticalBarSlots;
|
|
775
775
|
icons?: RPVerticalBarIcons;
|
|
776
776
|
}
|
|
777
|
+
export interface RPMoreOptionsSlots {
|
|
778
|
+
openFileTool?: boolean;
|
|
779
|
+
downloadTool?: boolean;
|
|
780
|
+
printTool?: boolean;
|
|
781
|
+
fullscreenTool?: boolean;
|
|
782
|
+
jumpNavigationTool?: boolean;
|
|
783
|
+
rotateTool?: boolean;
|
|
784
|
+
selectionModeTool?: boolean;
|
|
785
|
+
viewModeTool?: boolean;
|
|
786
|
+
scrollModeTool?: boolean;
|
|
787
|
+
documentProperties?: boolean;
|
|
788
|
+
}
|
|
789
|
+
export interface RPMoreOptionsIcons {
|
|
790
|
+
openFileIcon?: React.ReactNode;
|
|
791
|
+
downloadIcon?: React.ReactNode;
|
|
792
|
+
printIcon?: React.ReactNode;
|
|
793
|
+
fullScreenIcon?: React.ReactNode;
|
|
794
|
+
goToFirstPageIcon?: React.ReactNode;
|
|
795
|
+
goToLastPageIcon?: React.ReactNode;
|
|
796
|
+
rotateClockwiseIcon?: React.ReactNode;
|
|
797
|
+
rotateCounterClockwiseIcon?: React.ReactNode;
|
|
798
|
+
textSelectionIcon?: React.ReactNode;
|
|
799
|
+
handModeIcon?: React.ReactNode;
|
|
800
|
+
singlePageIcon?: React.ReactNode;
|
|
801
|
+
dualPageIcon?: React.ReactNode;
|
|
802
|
+
pageScrollIcon?: React.ReactNode;
|
|
803
|
+
verticalScrollIcon?: React.ReactNode;
|
|
804
|
+
horizontalScrollIcon?: React.ReactNode;
|
|
805
|
+
documentPropertiesIcon?: React.ReactNode;
|
|
806
|
+
}
|
|
807
|
+
export interface RPMoreOptionsProps extends PropsWithChildren {
|
|
808
|
+
slots?: RPMoreOptionsSlots;
|
|
809
|
+
icons?: RPMoreOptionsIcons;
|
|
810
|
+
slotTop?: React.ReactNode;
|
|
811
|
+
slotBottom?: React.ReactNode;
|
|
812
|
+
}
|
|
813
|
+
export interface ToolVisible {
|
|
814
|
+
isToolVisible?: boolean;
|
|
815
|
+
}
|
|
816
|
+
export interface MoreOptionToolProps extends ToolVisible {
|
|
817
|
+
icon?: React.ReactNode;
|
|
818
|
+
}
|
|
819
|
+
export interface MostPageIcons {
|
|
820
|
+
firstPageIcon: React.ReactNode;
|
|
821
|
+
lastPageIcon: React.ReactNode;
|
|
822
|
+
}
|
|
823
|
+
export interface MostPageToolProps extends ToolVisible {
|
|
824
|
+
icons?: MostPageIcons;
|
|
825
|
+
}
|
|
826
|
+
export interface RotateIcons {
|
|
827
|
+
rotateClockwiseIcon: React.ReactNode;
|
|
828
|
+
rotateCounterClockwiseIcon: React.ReactNode;
|
|
829
|
+
}
|
|
830
|
+
export interface RotateToolProps extends ToolVisible {
|
|
831
|
+
icons?: RotateIcons;
|
|
832
|
+
}
|
|
833
|
+
export interface SelectionModeIcons {
|
|
834
|
+
textSelectionIcon: React.ReactNode;
|
|
835
|
+
handModeIcon: React.ReactNode;
|
|
836
|
+
}
|
|
837
|
+
export interface SelectionModeProps extends ToolVisible {
|
|
838
|
+
icons?: SelectionModeIcons;
|
|
839
|
+
}
|
|
840
|
+
export interface ViewModeIcons {
|
|
841
|
+
singlePageIcon: React.ReactNode;
|
|
842
|
+
dualPageIcon: React.ReactNode;
|
|
843
|
+
}
|
|
844
|
+
export interface ViewModeProps extends ToolVisible {
|
|
845
|
+
icons?: ViewModeIcons;
|
|
846
|
+
}
|
|
847
|
+
export interface ScrollModeIcons {
|
|
848
|
+
pageScrollIcon: React.ReactNode;
|
|
849
|
+
verticalScrollIcon: React.ReactNode;
|
|
850
|
+
horizontalScrollIcon: React.ReactNode;
|
|
851
|
+
}
|
|
852
|
+
export interface ScrollModeProps extends ToolVisible {
|
|
853
|
+
icons?: ScrollModeIcons;
|
|
854
|
+
}
|
|
777
855
|
export {};
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const a = (i, h, l, o, n) => {
|
|
2
|
+
const c = l.height * o, s = l.width * o, y = l.top * o, w = l.left * o, d = {
|
|
3
|
+
width: n % 180 === 90 ? i.height : i.width,
|
|
4
|
+
height: n % 180 === 90 ? i.width : i.height
|
|
5
|
+
}, r = {
|
|
6
|
+
width: n % 180 === 90 ? c : s,
|
|
7
|
+
height: n % 180 === 90 ? s : c
|
|
8
|
+
}, t = document.createElement("div");
|
|
9
|
+
t.style.width = `${d.width}px`, t.style.height = `${d.height}px`, t.style.position = "absolute", t.style.transform = `rotate(${n}deg)`, t.style.transformOrigin = "center center", t.style.visibility = "hidden", t.style.left = "-99999px";
|
|
10
|
+
const e = document.createElement("div");
|
|
11
|
+
e.style.position = "absolute", e.style.width = `${s}px`, e.style.height = `${c}px`, e.style.position = "absolute", e.style.bottom = `${y}px`, e.style.left = `${w}px`, t.appendChild(e), h.appendChild(t);
|
|
12
|
+
const p = t.getBoundingClientRect(), g = e.getBoundingClientRect();
|
|
13
|
+
h.removeChild(t);
|
|
14
|
+
const u = {
|
|
15
|
+
top: h.clientHeight / 2,
|
|
16
|
+
left: h.clientWidth / 2
|
|
17
|
+
};
|
|
3
18
|
return {
|
|
4
|
-
|
|
5
|
-
|
|
19
|
+
leftInPage: g.left - p.left - u.left + r.width / 2,
|
|
20
|
+
topInPage: g.top - p.top - u.top + r.height / 2
|
|
6
21
|
};
|
|
7
|
-
}, O = (h, c, t, e, n) => {
|
|
8
|
-
const y = t.height * e, a = t.width * e, f = t.top * e, M = t.left * e, { y: d } = s(
|
|
9
|
-
{ x: h.width, y: h.height },
|
|
10
|
-
n % 180 === 0 ? 0 : 90
|
|
11
|
-
), p = M, g = Math.abs(d) - f, o = { x: h.width / 2, y: h.height / 2 }, { x: r, y: u } = s(
|
|
12
|
-
{
|
|
13
|
-
x: c.left + Math.abs(a) / 2,
|
|
14
|
-
y: c.top + Math.abs(y) / 2
|
|
15
|
-
},
|
|
16
|
-
n,
|
|
17
|
-
o
|
|
18
|
-
), { x: I, y: b } = s({ x: p, y: g }, n, o), x = {
|
|
19
|
-
left: I,
|
|
20
|
-
top: b
|
|
21
|
-
}, H = x.left - r, L = x.top - u;
|
|
22
|
-
return { leftInPage: H, topInPage: L };
|
|
23
22
|
};
|
|
24
23
|
export {
|
|
25
|
-
|
|
24
|
+
a as getWordPositionInPage
|
|
26
25
|
};
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../contexts/RPDocumentContext.js";
|
|
4
4
|
import "../../contexts/DocumentPasswordContext.js";
|
|
5
|
-
import { b as io } from "../../ToolbarLayout.module-
|
|
5
|
+
import { b as io } from "../../ToolbarLayout.module-2e734dc1.js";
|
|
6
6
|
import "../../contexts/DarkModeContext.js";
|
|
7
7
|
import "../../contexts/RotationContext.js";
|
|
8
8
|
import "../../contexts/LayerContext.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState as E, useCallback as h, useEffect as A } from "react";
|
|
2
2
|
import { appConsole as l } from "../appConsole.js";
|
|
3
|
-
const b = /* @__PURE__ */ new Date("2025-10-
|
|
3
|
+
const b = /* @__PURE__ */ new Date("2025-10-17T13:03:38.969Z"), d = "Please visit https://www.react-pdf.dev/manage-license/ to generate a new license key.", s = {
|
|
4
4
|
invalidLicense: `You are currently using without a valid license. ${d}`,
|
|
5
5
|
mismatchedDomain: `Your license key is not valid for the current domain / IP. ${d}`,
|
|
6
6
|
expired: `Your license key has expired. ${d}`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "../types.js";
|
|
3
|
-
import {
|
|
3
|
+
import { s as mo } from "../../ToolbarLayout.module-2e734dc1.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "../../contexts/RPDocumentContext.js";
|
|
6
6
|
import "../../contexts/DocumentPasswordContext.js";
|
|
@@ -5,7 +5,7 @@ import "../calculatePage.js";
|
|
|
5
5
|
import "react/jsx-runtime";
|
|
6
6
|
import "../../contexts/RPDocumentContext.js";
|
|
7
7
|
import "../../contexts/DocumentPasswordContext.js";
|
|
8
|
-
import {
|
|
8
|
+
import { N as pr } from "../../ToolbarLayout.module-2e734dc1.js";
|
|
9
9
|
import "../../contexts/DarkModeContext.js";
|
|
10
10
|
import "../../contexts/RotationContext.js";
|
|
11
11
|
import "../../contexts/LayerContext.js";
|
|
@@ -2,7 +2,7 @@ import "react";
|
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "../../contexts/RPDocumentContext.js";
|
|
4
4
|
import "../../contexts/DocumentPasswordContext.js";
|
|
5
|
-
import {
|
|
5
|
+
import { v as ir } from "../../ToolbarLayout.module-2e734dc1.js";
|
|
6
6
|
import "../../contexts/DarkModeContext.js";
|
|
7
7
|
import "../../contexts/RotationContext.js";
|
|
8
8
|
import "../../contexts/LayerContext.js";
|
|
@@ -3,7 +3,7 @@ import "../../contexts/ScrollModeContext.js";
|
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "../../contexts/RPDocumentContext.js";
|
|
5
5
|
import "../../contexts/DocumentPasswordContext.js";
|
|
6
|
-
import {
|
|
6
|
+
import { r as eo } from "../../ToolbarLayout.module-2e734dc1.js";
|
|
7
7
|
import "../../contexts/DarkModeContext.js";
|
|
8
8
|
import "../types.js";
|
|
9
9
|
import "../../contexts/RotationContext.js";
|
|
@@ -7,7 +7,7 @@ import "../../contexts/RPDocumentContext.js";
|
|
|
7
7
|
import "../../contexts/ZoomContext.js";
|
|
8
8
|
import "react/jsx-runtime";
|
|
9
9
|
import "../../contexts/DocumentPasswordContext.js";
|
|
10
|
-
import {
|
|
10
|
+
import { z as er } from "../../ToolbarLayout.module-2e734dc1.js";
|
|
11
11
|
import "../../contexts/DarkModeContext.js";
|
|
12
12
|
import "../../contexts/RotationContext.js";
|
|
13
13
|
import "../../contexts/LayerContext.js";
|
|
@@ -2,7 +2,7 @@ import "react";
|
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "../../contexts/RPDocumentContext.js";
|
|
4
4
|
import "../../contexts/DocumentPasswordContext.js";
|
|
5
|
-
import {
|
|
5
|
+
import { x as im } from "../../ToolbarLayout.module-2e734dc1.js";
|
|
6
6
|
import "../../contexts/DarkModeContext.js";
|
|
7
7
|
import "../../contexts/RotationContext.js";
|
|
8
8
|
import "../../contexts/LayerContext.js";
|
|
@@ -4,7 +4,7 @@ import "../../contexts/ScrollModeContext.js";
|
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "../../contexts/RPDocumentContext.js";
|
|
6
6
|
import "../../contexts/DocumentPasswordContext.js";
|
|
7
|
-
import {
|
|
7
|
+
import { J as mo } from "../../ToolbarLayout.module-2e734dc1.js";
|
|
8
8
|
import "../../contexts/DarkModeContext.js";
|
|
9
9
|
import "../../contexts/RotationContext.js";
|
|
10
10
|
import "../../contexts/LayerContext.js";
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@pdf-viewer/react",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "A react-pdf-viewer component for React and Next.js. Suitable for react-pdf document.",
|
|
5
|
-
"version": "1.10.0-beta.
|
|
5
|
+
"version": "1.10.0-beta.2",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"react-pdf",
|
|
8
8
|
"react-pdf-viewer",
|