@embedpdf/viewer-chrome 3.0.0-next.10 → 3.0.0-next.11
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/commands.cjs +11 -2
- package/dist/commands.cjs.map +1 -1
- package/dist/commands.js +11 -2
- package/dist/commands.js.map +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9,7 +9,8 @@ import { InteractionToken, InteractionToken as InteractionToken$1, feedbackPlugi
|
|
|
9
9
|
import { SelectionClipboard, SelectionHandles, SelectionLayer, SelectionMenu, SelectionToken, selectionPlugin } from "@embedpdf/react/selection";
|
|
10
10
|
import { AnnotationLayer, AnnotationToken, AnnotationToken as AnnotationToken$1, annotationPlugin, refKey, useAnnotation, useAnnotationDefaults, useAnnotationSelected, useAnnotationSelection, useCommentThreads, useComments, useCommentsHydration, useFilePickerProvider, useSelectionFlags, useSelectionProps } from "@embedpdf/react/annotation";
|
|
11
11
|
import { RedactionToken, RedactionToken as RedactionToken$1, redactionPlugin, usePendingRedactions, useRedaction } from "@embedpdf/react/redaction";
|
|
12
|
-
import {
|
|
12
|
+
import { actionsPlugin, useActionsUiAdapter } from "@embedpdf/react/actions";
|
|
13
|
+
import { FormToken, formPlugin, formWidgetRenderer } from "@embedpdf/react/form";
|
|
13
14
|
import { LinkLayer, linkPlugin } from "@embedpdf/react/link";
|
|
14
15
|
import { SearchLayer, SearchToken, SearchToken as SearchToken$1, searchPlugin, useSearch, useSearchState, validateSearchQuery } from "@embedpdf/react/search";
|
|
15
16
|
import { I18nToken, i18nPlugin, negotiateLocale, useT } from "@embedpdf/react/i18n";
|
|
@@ -3873,7 +3874,7 @@ function DocumentArea({ children }) {
|
|
|
3873
3874
|
function Shell() {
|
|
3874
3875
|
useCommandShortcuts();
|
|
3875
3876
|
useFilePickerProvider();
|
|
3876
|
-
|
|
3877
|
+
useActionsUiAdapter();
|
|
3877
3878
|
const schema = useChromeSchema();
|
|
3878
3879
|
const frame = schema.frame ?? {};
|
|
3879
3880
|
const toolbarEdge = frame.toolbar ?? "top";
|
|
@@ -4077,7 +4078,8 @@ function FullViewer({ engine, initialDocuments, fallback, commands, icons, strin
|
|
|
4077
4078
|
end: "open-arrow"
|
|
4078
4079
|
} }
|
|
4079
4080
|
}] }),
|
|
4080
|
-
|
|
4081
|
+
actionsPlugin({ javascript: { enabled: true } }),
|
|
4082
|
+
formPlugin(),
|
|
4081
4083
|
linkPlugin(),
|
|
4082
4084
|
redactionPlugin(),
|
|
4083
4085
|
searchPlugin(),
|