@embedpdf/viewer-chrome 3.0.0-next.15 → 3.0.0-next.16
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/{annotation-fonts-BqoLZ4Mp.js → annotation-fonts-DWjVOTP0.js} +2 -2
- package/dist/{annotation-fonts-BqoLZ4Mp.js.map → annotation-fonts-DWjVOTP0.js.map} +1 -1
- package/dist/{annotation-fonts-Dt0IQXhz.cjs → annotation-fonts-dpfVkhnq.cjs} +2 -2
- package/dist/{annotation-fonts-Dt0IQXhz.cjs.map → annotation-fonts-dpfVkhnq.cjs.map} +1 -1
- package/dist/{annotation-style-Bzvvp8-N.cjs → annotation-style-B3XKAyZ-.cjs} +3 -3
- package/dist/{annotation-style-Bzvvp8-N.cjs.map → annotation-style-B3XKAyZ-.cjs.map} +1 -1
- package/dist/{annotation-style--rPIZsuP.js → annotation-style-CXF3X47Z.js} +3 -3
- package/dist/{annotation-style--rPIZsuP.js.map → annotation-style-CXF3X47Z.js.map} +1 -1
- package/dist/{ar-DnEj5vbP.cjs → ar-B132r9bo.cjs} +93 -1
- package/dist/ar-B132r9bo.cjs.map +1 -0
- package/dist/{ar-D9XKAmDx.js → ar-BLWFJoA_.js} +93 -1
- package/dist/ar-BLWFJoA_.js.map +1 -0
- package/dist/attachments-panel-Cxln8xos.cjs +217 -0
- package/dist/attachments-panel-Cxln8xos.cjs.map +1 -0
- package/dist/attachments-panel-H1ucRbwo.js +217 -0
- package/dist/attachments-panel-H1ucRbwo.js.map +1 -0
- package/dist/chrome.cjs +21 -0
- package/dist/chrome.cjs.map +1 -1
- package/dist/chrome.js +21 -0
- package/dist/chrome.js.map +1 -1
- package/dist/{commands-BmgxhJ8B.js → commands-BkgLP3Om.js} +418 -23
- package/dist/commands-BkgLP3Om.js.map +1 -0
- package/dist/{commands-CYt4SFUX.cjs → commands-DL1gjZt7.cjs} +433 -20
- package/dist/commands-DL1gjZt7.cjs.map +1 -0
- package/dist/commands.cjs +2 -1
- package/dist/commands.d.cts +3 -1
- package/dist/commands.d.ts +3 -1
- package/dist/commands.js +2 -2
- package/dist/{comments-panel-pEcQg4Vs.cjs → comments-panel-BsnWedTh.cjs} +2 -2
- package/dist/{comments-panel-pEcQg4Vs.cjs.map → comments-panel-BsnWedTh.cjs.map} +1 -1
- package/dist/{comments-panel-MUVgLCBI.js → comments-panel-D7Eadws9.js} +2 -2
- package/dist/{comments-panel-MUVgLCBI.js.map → comments-panel-D7Eadws9.js.map} +1 -1
- package/dist/{de-Dv6zvbnd.cjs → de-7_MvFWzN.cjs} +93 -1
- package/dist/de-7_MvFWzN.cjs.map +1 -0
- package/dist/{de-Bdr4aWzm.js → de-BUhwc9-x.js} +93 -1
- package/dist/de-BUhwc9-x.js.map +1 -0
- package/dist/{dialog-B5GBisKv.js → dialog-BIb373cg.js} +3 -3
- package/dist/dialog-BIb373cg.js.map +1 -0
- package/dist/{dialog-t8F13BL_.cjs → dialog-CngKTnAM.cjs} +3 -3
- package/dist/dialog-CngKTnAM.cjs.map +1 -0
- package/dist/{es-BP09DR9w.cjs → es-DgYj-1L3.cjs} +93 -1
- package/dist/es-DgYj-1L3.cjs.map +1 -0
- package/dist/{es-BSXz5tBv.js → es-DoXTqFoO.js} +93 -1
- package/dist/es-DoXTqFoO.js.map +1 -0
- package/dist/{form-design-panel-vWWU9uB-.js → form-design-panel-CgV_5YWC.js} +3 -3
- package/dist/{form-design-panel-vWWU9uB-.js.map → form-design-panel-CgV_5YWC.js.map} +1 -1
- package/dist/{form-design-panel-B5MXTZ96.cjs → form-design-panel-D0FdmWXW.cjs} +3 -3
- package/dist/{form-design-panel-B5MXTZ96.cjs.map → form-design-panel-D0FdmWXW.cjs.map} +1 -1
- package/dist/{fr-Ckn3K9v1.js → fr-B-8NDhBA.js} +93 -1
- package/dist/fr-B-8NDhBA.js.map +1 -0
- package/dist/{fr-BBQQn7tJ.cjs → fr-C856dmQJ.cjs} +93 -1
- package/dist/fr-C856dmQJ.cjs.map +1 -0
- package/dist/{he-DRsG7bH7.cjs → he-BFTeNc4t.cjs} +93 -1
- package/dist/he-BFTeNc4t.cjs.map +1 -0
- package/dist/{he-wdGU5PkU.js → he-Dlh0fNXM.js} +93 -1
- package/dist/he-Dlh0fNXM.js.map +1 -0
- package/dist/{icons-x0Tc05bs.cjs → icons-1UfLUZ_y.cjs} +20 -1
- package/dist/icons-1UfLUZ_y.cjs.map +1 -0
- package/dist/{icons-BrK5iVL8.js → icons-7dB0Y1ct.js} +20 -1
- package/dist/icons-7dB0Y1ct.js.map +1 -0
- package/dist/index.cjs +740 -171
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -2
- package/dist/index.d.ts +16 -2
- package/dist/index.js +727 -170
- package/dist/index.js.map +1 -1
- package/dist/{it-BuP4o0xQ.cjs → it-Bef-2Yxq.cjs} +93 -1
- package/dist/it-Bef-2Yxq.cjs.map +1 -0
- package/dist/{it-Us-VmvIu.js → it-BkirG7ol.js} +93 -1
- package/dist/it-BkirG7ol.js.map +1 -0
- package/dist/{ja-Cizj0-5O.js → ja-CGEjCE-s.js} +93 -1
- package/dist/ja-CGEjCE-s.js.map +1 -0
- package/dist/{ja-DovEd6ts.cjs → ja-DNw2zqSD.cjs} +93 -1
- package/dist/ja-DNw2zqSD.cjs.map +1 -0
- package/dist/{ko-DlrXliE1.js → ko-CTkl5vMh.js} +93 -1
- package/dist/ko-CTkl5vMh.js.map +1 -0
- package/dist/{ko-B-qJEol2.cjs → ko-YHzeBqP6.cjs} +93 -1
- package/dist/ko-YHzeBqP6.cjs.map +1 -0
- package/dist/{link-editor-CSjqPnj1.cjs → link-editor-CAS7MZM2.cjs} +2 -2
- package/dist/{link-editor-CSjqPnj1.cjs.map → link-editor-CAS7MZM2.cjs.map} +1 -1
- package/dist/{link-editor-SxM1nnJU.js → link-editor-CkwtqRvb.js} +2 -2
- package/dist/{link-editor-SxM1nnJU.js.map → link-editor-CkwtqRvb.js.map} +1 -1
- package/dist/{measurement-Bs61XWbJ.js → measurement-CQdbnIrn.js} +2 -2
- package/dist/{measurement-Bs61XWbJ.js.map → measurement-CQdbnIrn.js.map} +1 -1
- package/dist/{measurement-CcCsHPOX.cjs → measurement-Cxv1Ahxx.cjs} +2 -2
- package/dist/{measurement-CcCsHPOX.cjs.map → measurement-Cxv1Ahxx.cjs.map} +1 -1
- package/dist/{nl-D3KZDDiJ.cjs → nl-BjkbaLq3.cjs} +93 -1
- package/dist/nl-BjkbaLq3.cjs.map +1 -0
- package/dist/{nl-0aF7M_0h.js → nl-Dya4sR8_.js} +93 -1
- package/dist/nl-Dya4sR8_.js.map +1 -0
- package/dist/outline-panel-BpGtBdj0.cjs +707 -0
- package/dist/outline-panel-BpGtBdj0.cjs.map +1 -0
- package/dist/outline-panel-DO5_REYw.js +707 -0
- package/dist/outline-panel-DO5_REYw.js.map +1 -0
- package/dist/outline-properties-BCa2cc0t.js +330 -0
- package/dist/outline-properties-BCa2cc0t.js.map +1 -0
- package/dist/outline-properties-DT3FIxCw.cjs +330 -0
- package/dist/outline-properties-DT3FIxCw.cjs.map +1 -0
- package/dist/{pl-DSFhAUqx.cjs → pl-CKKdVnpZ.cjs} +93 -1
- package/dist/pl-CKKdVnpZ.cjs.map +1 -0
- package/dist/{pl-BW--AaCI.js → pl-DA9b5NVg.js} +93 -1
- package/dist/pl-DA9b5NVg.js.map +1 -0
- package/dist/print-dialog-BqIrHCBh.cjs +276 -0
- package/dist/print-dialog-BqIrHCBh.cjs.map +1 -0
- package/dist/print-dialog-DvcI2m2_.js +276 -0
- package/dist/print-dialog-DvcI2m2_.js.map +1 -0
- package/dist/{pt-C5S-8MC5.cjs → pt-DLcszlzi.cjs} +93 -1
- package/dist/pt-DLcszlzi.cjs.map +1 -0
- package/dist/{pt-DIhpU5pT.js → pt-Nm8yyjbX.js} +93 -1
- package/dist/pt-Nm8yyjbX.js.map +1 -0
- package/dist/{redact-confirm-CX_SY2ZN.cjs → redact-confirm-C6EiK8yN.cjs} +2 -2
- package/dist/{redact-confirm-CX_SY2ZN.cjs.map → redact-confirm-C6EiK8yN.cjs.map} +1 -1
- package/dist/{redact-confirm-B6j36TPw.js → redact-confirm-CKuv9iN_.js} +2 -2
- package/dist/{redact-confirm-B6j36TPw.js.map → redact-confirm-CKuv9iN_.js.map} +1 -1
- package/dist/{redaction-panel-IJDshSJI.js → redaction-panel-CgNZ-pQk.js} +2 -2
- package/dist/{redaction-panel-IJDshSJI.js.map → redaction-panel-CgNZ-pQk.js.map} +1 -1
- package/dist/{redaction-panel-BmoIl-Ll.cjs → redaction-panel-ZhX0dlMi.cjs} +2 -2
- package/dist/{redaction-panel-BmoIl-Ll.cjs.map → redaction-panel-ZhX0dlMi.cjs.map} +1 -1
- package/dist/{search-panel-HfIhJm1M.js → search-panel-BE4xzWlm.js} +4 -4
- package/dist/{search-panel-HfIhJm1M.js.map → search-panel-BE4xzWlm.js.map} +1 -1
- package/dist/{search-panel-s9IoiOtv.cjs → search-panel-wcbTNG1z.cjs} +4 -4
- package/dist/{search-panel-s9IoiOtv.cjs.map → search-panel-wcbTNG1z.cjs.map} +1 -1
- package/dist/{sheet-BDsa_Sup.cjs → sheet-DTBFiwde.cjs} +30 -11
- package/dist/sheet-DTBFiwde.cjs.map +1 -0
- package/dist/{sheet-R6XDgyEf.js → sheet-DyjKfAq0.js} +25 -12
- package/dist/sheet-DyjKfAq0.js.map +1 -0
- package/dist/{sign-dialog-CgnR7akj.cjs → sign-dialog-D5WGx-Yn.cjs} +2 -2
- package/dist/{sign-dialog-CgnR7akj.cjs.map → sign-dialog-D5WGx-Yn.cjs.map} +1 -1
- package/dist/{sign-dialog-GDqCoQhA.js → sign-dialog-DerNe8qT.js} +2 -2
- package/dist/{sign-dialog-GDqCoQhA.js.map → sign-dialog-DerNe8qT.js.map} +1 -1
- package/dist/{signature-inspector-DyO313Qf.cjs → signature-inspector-Bz6TAfZM.cjs} +4 -10
- package/dist/signature-inspector-Bz6TAfZM.cjs.map +1 -0
- package/dist/{signature-inspector-okFz8do6.js → signature-inspector-CsGr9EBk.js} +4 -10
- package/dist/signature-inspector-CsGr9EBk.js.map +1 -0
- package/dist/{signature-maker-BoYa8vgA.cjs → signature-maker-D_YfBXLn.cjs} +3 -3
- package/dist/{signature-maker-BoYa8vgA.cjs.map → signature-maker-D_YfBXLn.cjs.map} +1 -1
- package/dist/{signature-maker-BhCmYyHD.js → signature-maker-Dnth4rV4.js} +3 -3
- package/dist/{signature-maker-BhCmYyHD.js.map → signature-maker-Dnth4rV4.js.map} +1 -1
- package/dist/{signatures-panel-B56PC6d9.cjs → signatures-panel-Ci_LaI1C.cjs} +4 -10
- package/dist/signatures-panel-Ci_LaI1C.cjs.map +1 -0
- package/dist/{signatures-panel-CgnFfhFm.js → signatures-panel-DZ9ywrjz.js} +4 -10
- package/dist/signatures-panel-DZ9ywrjz.js.map +1 -0
- package/dist/{stamps-panel-CDO0FPyK.js → stamps-panel-BrczStaz.js} +4 -10
- package/dist/stamps-panel-BrczStaz.js.map +1 -0
- package/dist/{stamps-panel-B9NYGayn.cjs → stamps-panel-Cv9nJBwx.cjs} +4 -10
- package/dist/stamps-panel-Cv9nJBwx.cjs.map +1 -0
- package/dist/theme-Be0OZokZ.js +97 -0
- package/dist/theme-Be0OZokZ.js.map +1 -0
- package/dist/theme-FR26JI3r.cjs +126 -0
- package/dist/theme-FR26JI3r.cjs.map +1 -0
- package/dist/{toolbar-z9od3tKl.js → toolbar-DF361xWY.js} +7 -6
- package/dist/toolbar-DF361xWY.js.map +1 -0
- package/dist/{toolbar-CJu2wKTU.cjs → toolbar-ddvpsvTb.cjs} +7 -6
- package/dist/toolbar-ddvpsvTb.cjs.map +1 -0
- package/dist/{zh-cn-CxkUUBct.js → zh-cn-BMPPkLpL.js} +93 -1
- package/dist/zh-cn-BMPPkLpL.js.map +1 -0
- package/dist/{zh-cn-3tmMeHqv.cjs → zh-cn-CZOO3p4H.cjs} +93 -1
- package/dist/zh-cn-CZOO3p4H.cjs.map +1 -0
- package/package.json +4 -4
- package/src/styles.css +8 -0
- package/dist/ar-D9XKAmDx.js.map +0 -1
- package/dist/ar-DnEj5vbP.cjs.map +0 -1
- package/dist/commands-BmgxhJ8B.js.map +0 -1
- package/dist/commands-CYt4SFUX.cjs.map +0 -1
- package/dist/de-Bdr4aWzm.js.map +0 -1
- package/dist/de-Dv6zvbnd.cjs.map +0 -1
- package/dist/dialog-B5GBisKv.js.map +0 -1
- package/dist/dialog-t8F13BL_.cjs.map +0 -1
- package/dist/es-BP09DR9w.cjs.map +0 -1
- package/dist/es-BSXz5tBv.js.map +0 -1
- package/dist/fr-BBQQn7tJ.cjs.map +0 -1
- package/dist/fr-Ckn3K9v1.js.map +0 -1
- package/dist/he-DRsG7bH7.cjs.map +0 -1
- package/dist/he-wdGU5PkU.js.map +0 -1
- package/dist/icons-BrK5iVL8.js.map +0 -1
- package/dist/icons-x0Tc05bs.cjs.map +0 -1
- package/dist/it-BuP4o0xQ.cjs.map +0 -1
- package/dist/it-Us-VmvIu.js.map +0 -1
- package/dist/ja-Cizj0-5O.js.map +0 -1
- package/dist/ja-DovEd6ts.cjs.map +0 -1
- package/dist/ko-B-qJEol2.cjs.map +0 -1
- package/dist/ko-DlrXliE1.js.map +0 -1
- package/dist/nl-0aF7M_0h.js.map +0 -1
- package/dist/nl-D3KZDDiJ.cjs.map +0 -1
- package/dist/pl-BW--AaCI.js.map +0 -1
- package/dist/pl-DSFhAUqx.cjs.map +0 -1
- package/dist/pt-C5S-8MC5.cjs.map +0 -1
- package/dist/pt-DIhpU5pT.js.map +0 -1
- package/dist/sheet-BDsa_Sup.cjs.map +0 -1
- package/dist/sheet-R6XDgyEf.js.map +0 -1
- package/dist/signature-inspector-DyO313Qf.cjs.map +0 -1
- package/dist/signature-inspector-okFz8do6.js.map +0 -1
- package/dist/signatures-panel-B56PC6d9.cjs.map +0 -1
- package/dist/signatures-panel-CgnFfhFm.js.map +0 -1
- package/dist/stamps-panel-B9NYGayn.cjs.map +0 -1
- package/dist/stamps-panel-CDO0FPyK.js.map +0 -1
- package/dist/toolbar-CJu2wKTU.cjs.map +0 -1
- package/dist/toolbar-z9od3tKl.js.map +0 -1
- package/dist/zh-cn-3tmMeHqv.cjs.map +0 -1
- package/dist/zh-cn-CxkUUBct.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -7,11 +7,13 @@ import { ReactNode } from "react";
|
|
|
7
7
|
import { CapabilityToken, CapabilityToken as CapabilityToken$1, DocumentInfo, DocumentsCapability, DocumentsCapability as DocumentsCapability$1, DocumentsToken, Engine, Engine as Engine$1, EngineFactory, EngineFactory as EngineFactory$1, Identity, Identity as Identity$1, InitialDocument, InitialDocument as InitialDocument$1, Kernel, Unsubscribe, Unsubscribe as Unsubscribe$1 } from "@embedpdf/react/runtime";
|
|
8
8
|
import { I18nCapability, I18nToken, TranslationDictionary, i18nPlugin } from "@embedpdf/react/i18n";
|
|
9
9
|
import { ActionsCapability, ActionsToken, actionsPlugin } from "@embedpdf/react/actions";
|
|
10
|
+
import { AttachmentCapability, AttachmentToken } from "@embedpdf/react/attachment";
|
|
10
11
|
import { FormCapability, FormToken, formPlugin } from "@embedpdf/react/form";
|
|
11
12
|
import { InteractionCapability, InteractionToken, interactionPlugin } from "@embedpdf/react/interaction";
|
|
12
13
|
import { LinkCapability, LinkToken } from "@embedpdf/react/link";
|
|
13
14
|
import { MeasurementCapability, MeasurementCapability as MeasurementCapability$1, MeasurementConfig, MeasurementToken, ScaleChangeReport, measurementPlugin } from "@embedpdf/react/measurement";
|
|
14
15
|
import { MetadataCapability, MetadataToken } from "@embedpdf/react/metadata";
|
|
16
|
+
import { OutlineCapability, OutlineToken } from "@embedpdf/react/outline";
|
|
15
17
|
import { PageEditCapability, PageEditToken } from "@embedpdf/react/page-edit";
|
|
16
18
|
import { RedactionCapability, RedactionToken, redactionPlugin } from "@embedpdf/react/redaction";
|
|
17
19
|
import { RenderCapability, RenderToken, renderPlugin } from "@embedpdf/react/render";
|
|
@@ -41,6 +43,10 @@ interface ViewerPlugins {
|
|
|
41
43
|
readonly pageEdit: PageEditCapability;
|
|
42
44
|
/** The document's title, author and your own fields; `ensureLoaded()` reads them. */
|
|
43
45
|
readonly metadata: MetadataCapability;
|
|
46
|
+
/** The document's outline (its bookmarks); reading its state reads it. */
|
|
47
|
+
readonly outline: OutlineCapability;
|
|
48
|
+
/** The files the document carries, attached and on its pages; reading its state reads them. */
|
|
49
|
+
readonly attachment: AttachmentCapability;
|
|
44
50
|
readonly actions: ActionsCapability;
|
|
45
51
|
readonly documents: DocumentsCapability$1;
|
|
46
52
|
readonly interaction: InteractionCapability;
|
|
@@ -176,6 +182,8 @@ declare const ICON_PATHS: {
|
|
|
176
182
|
chevronDown: string[];
|
|
177
183
|
chevronLeft: string[];
|
|
178
184
|
chevronRight: string[];
|
|
185
|
+
chevronsDown: string[];
|
|
186
|
+
chevronsUp: string[];
|
|
179
187
|
circle: {
|
|
180
188
|
d: string;
|
|
181
189
|
stroke: "primary";
|
|
@@ -190,7 +198,9 @@ declare const ICON_PATHS: {
|
|
|
190
198
|
externalLink: string[];
|
|
191
199
|
eye: string[];
|
|
192
200
|
file: string[];
|
|
201
|
+
fileExport: string[];
|
|
193
202
|
fileImport: string[];
|
|
203
|
+
filePlus: string[];
|
|
194
204
|
fitToPage: string[];
|
|
195
205
|
fitToWidth: string[];
|
|
196
206
|
formButton: string[];
|
|
@@ -241,6 +251,8 @@ declare const ICON_PATHS: {
|
|
|
241
251
|
marqueeSelect: string[];
|
|
242
252
|
menu: string[];
|
|
243
253
|
message: string[];
|
|
254
|
+
pageRotateClockwise: string[];
|
|
255
|
+
pageRotateCounterClockwise: string[];
|
|
244
256
|
palette: string[];
|
|
245
257
|
paperclip: string[];
|
|
246
258
|
pencilMarker: (string | {
|
|
@@ -404,6 +416,8 @@ interface BuiltInSettings {
|
|
|
404
416
|
readonly signature: ConfigOf<typeof signaturePlugin> & ViewerSignatureSettings;
|
|
405
417
|
readonly pageEdit: never;
|
|
406
418
|
readonly metadata: never;
|
|
419
|
+
readonly outline: never;
|
|
420
|
+
readonly attachment: never;
|
|
407
421
|
readonly actions: ConfigOf<typeof actionsPlugin>;
|
|
408
422
|
readonly documents: never;
|
|
409
423
|
readonly interaction: ConfigOf<typeof interactionPlugin>;
|
|
@@ -463,7 +477,7 @@ declare const FEATURE_PARTS: {
|
|
|
463
477
|
readonly text: readonly ["selection", "copy"];
|
|
464
478
|
readonly search: readonly [];
|
|
465
479
|
readonly thumbnails: readonly [];
|
|
466
|
-
readonly outline: readonly [];
|
|
480
|
+
readonly outline: readonly ["editing"];
|
|
467
481
|
readonly documents: readonly ["open", "download", "print", "tabs"];
|
|
468
482
|
};
|
|
469
483
|
type FeatureParts = typeof FEATURE_PARTS;
|
|
@@ -683,5 +697,5 @@ declare const TOOLBAR_ITEM_CONTEXT_ATTRIBUTES: {
|
|
|
683
697
|
readonly size: "data-size";
|
|
684
698
|
};
|
|
685
699
|
//#endregion
|
|
686
|
-
export { ActionsToken, type AddItemOptions, AnnotationToken, type BarEdge, type BarPlace, type CapabilityToken, type CommandContext, type CommandDef, type CommandsCapability, CommandsToken, type DocumentInfo, type DocumentsCapability, DocumentsToken, type Engine, type EngineFactory, type Feature, type FloatPosition, FormToken, FullViewer, type FullViewerProps, I18nToken, type IconDef, type IconName, type IconPaths, type Identity, type Importance, type InitialDocument, InteractionToken, type Layout, type LayoutBar, type LayoutCommandItem, type LayoutCustomItem, type LayoutData, type LayoutEnv, type LayoutFunction, type LayoutGroup, type LayoutGroupObject, type LayoutItem, type LayoutMenu, type LayoutMenuSection, type LayoutOption, type LayoutPanel, type LayoutPanelPatch, type LayoutSection, LinkToken, type Mark, type MeasurementCapability, type MeasurementConfig, MeasurementToken, MetadataToken, type NotAllowedMode, PageEditToken, type PanelPresentation, type PanelPresentationBySize, type PanelResizeEvent, type PanelWidth, type PathSpec, type PlacedButton, type PlacedComponent, type PlacedComponents, type PlacedMenu, type PlacedMenuItem, type PluginName, type PluginSettings, type PluginTokens, type ReadOnlyExceptions, RedactionToken, type RemoveItemOptions, RenderToken, type ResolvedCommand, type ScaleChangeReport, type ScopedViewer, SearchToken, type SectionName, type SelectionTarget, SelectionToken, ShellToken, type SignFieldInput, type SignatureFont, type SignatureMode, SignatureToken, type SignerPort, StageToken, StampToken, THEME_TOKENS, TOOLBAR_ITEM_CONTEXT_ATTRIBUTES, type TabsVisibility, type ThemeConfig, type ThemeMode, type ThemePreference, type ThemeToken, type ThemeTokens, type ToolbarItemContext, type ToolbarItemEdge, type TrustPort, type Unsubscribe, VIEWER_PLUGINS, type Variant, type Viewer, type ViewerCustomization, type ViewerFont, type ViewerLifetime, type ViewerPlugins, type ViewerPluginsConfig, type ViewerSignatureSettings, type ViewerSize, type ViewerStampSettings, createLayout, createPlacedComponents, createTestSigner, createViewer, defaultCommands, ICON_PATHS as defaultIcons, defaultLayout, indexedDbKeyStore, memoryKeyStore, personalSigner, remoteSigner, themeConfigOf, themeTokenCss, webCryptoSigner };
|
|
700
|
+
export { ActionsToken, type AddItemOptions, AnnotationToken, AttachmentToken, type BarEdge, type BarPlace, type CapabilityToken, type CommandContext, type CommandDef, type CommandsCapability, CommandsToken, type DocumentInfo, type DocumentsCapability, DocumentsToken, type Engine, type EngineFactory, type Feature, type FloatPosition, FormToken, FullViewer, type FullViewerProps, I18nToken, type IconDef, type IconName, type IconPaths, type Identity, type Importance, type InitialDocument, InteractionToken, type Layout, type LayoutBar, type LayoutCommandItem, type LayoutCustomItem, type LayoutData, type LayoutEnv, type LayoutFunction, type LayoutGroup, type LayoutGroupObject, type LayoutItem, type LayoutMenu, type LayoutMenuSection, type LayoutOption, type LayoutPanel, type LayoutPanelPatch, type LayoutSection, LinkToken, type Mark, type MeasurementCapability, type MeasurementConfig, MeasurementToken, MetadataToken, type NotAllowedMode, OutlineToken, PageEditToken, type PanelPresentation, type PanelPresentationBySize, type PanelResizeEvent, type PanelWidth, type PathSpec, type PlacedButton, type PlacedComponent, type PlacedComponents, type PlacedMenu, type PlacedMenuItem, type PluginName, type PluginSettings, type PluginTokens, type ReadOnlyExceptions, RedactionToken, type RemoveItemOptions, RenderToken, type ResolvedCommand, type ScaleChangeReport, type ScopedViewer, SearchToken, type SectionName, type SelectionTarget, SelectionToken, ShellToken, type SignFieldInput, type SignatureFont, type SignatureMode, SignatureToken, type SignerPort, StageToken, StampToken, THEME_TOKENS, TOOLBAR_ITEM_CONTEXT_ATTRIBUTES, type TabsVisibility, type ThemeConfig, type ThemeMode, type ThemePreference, type ThemeToken, type ThemeTokens, type ToolbarItemContext, type ToolbarItemEdge, type TrustPort, type Unsubscribe, VIEWER_PLUGINS, type Variant, type Viewer, type ViewerCustomization, type ViewerFont, type ViewerLifetime, type ViewerPlugins, type ViewerPluginsConfig, type ViewerSignatureSettings, type ViewerSize, type ViewerStampSettings, createLayout, createPlacedComponents, createTestSigner, createViewer, defaultCommands, ICON_PATHS as defaultIcons, defaultLayout, indexedDbKeyStore, memoryKeyStore, personalSigner, remoteSigner, themeConfigOf, themeTokenCss, webCryptoSigner };
|
|
687
701
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ import { StageCapability, StageToken, stagePlugin } from "@embedpdf/react/stage"
|
|
|
6
6
|
import { RenderCapability, RenderToken, renderPlugin } from "@embedpdf/react/render";
|
|
7
7
|
import { PageEditCapability, PageEditToken } from "@embedpdf/react/page-edit";
|
|
8
8
|
import { MetadataCapability, MetadataToken } from "@embedpdf/react/metadata";
|
|
9
|
+
import { OutlineCapability, OutlineToken } from "@embedpdf/react/outline";
|
|
10
|
+
import { AttachmentCapability, AttachmentToken } from "@embedpdf/react/attachment";
|
|
9
11
|
import { InteractionCapability, InteractionToken, interactionPlugin } from "@embedpdf/react/interaction";
|
|
10
12
|
import { SelectionCapability, SelectionToken, selectionPlugin } from "@embedpdf/react/selection";
|
|
11
13
|
import { AnnotationCapability, AnnotationToken, annotationPlugin } from "@embedpdf/react/annotation";
|
|
@@ -41,6 +43,10 @@ interface ViewerPlugins {
|
|
|
41
43
|
readonly pageEdit: PageEditCapability;
|
|
42
44
|
/** The document's title, author and your own fields; `ensureLoaded()` reads them. */
|
|
43
45
|
readonly metadata: MetadataCapability;
|
|
46
|
+
/** The document's outline (its bookmarks); reading its state reads it. */
|
|
47
|
+
readonly outline: OutlineCapability;
|
|
48
|
+
/** The files the document carries, attached and on its pages; reading its state reads them. */
|
|
49
|
+
readonly attachment: AttachmentCapability;
|
|
44
50
|
readonly actions: ActionsCapability;
|
|
45
51
|
readonly documents: DocumentsCapability$1;
|
|
46
52
|
readonly interaction: InteractionCapability;
|
|
@@ -176,6 +182,8 @@ declare const ICON_PATHS: {
|
|
|
176
182
|
chevronDown: string[];
|
|
177
183
|
chevronLeft: string[];
|
|
178
184
|
chevronRight: string[];
|
|
185
|
+
chevronsDown: string[];
|
|
186
|
+
chevronsUp: string[];
|
|
179
187
|
circle: {
|
|
180
188
|
d: string;
|
|
181
189
|
stroke: "primary";
|
|
@@ -190,7 +198,9 @@ declare const ICON_PATHS: {
|
|
|
190
198
|
externalLink: string[];
|
|
191
199
|
eye: string[];
|
|
192
200
|
file: string[];
|
|
201
|
+
fileExport: string[];
|
|
193
202
|
fileImport: string[];
|
|
203
|
+
filePlus: string[];
|
|
194
204
|
fitToPage: string[];
|
|
195
205
|
fitToWidth: string[];
|
|
196
206
|
formButton: string[];
|
|
@@ -241,6 +251,8 @@ declare const ICON_PATHS: {
|
|
|
241
251
|
marqueeSelect: string[];
|
|
242
252
|
menu: string[];
|
|
243
253
|
message: string[];
|
|
254
|
+
pageRotateClockwise: string[];
|
|
255
|
+
pageRotateCounterClockwise: string[];
|
|
244
256
|
palette: string[];
|
|
245
257
|
paperclip: string[];
|
|
246
258
|
pencilMarker: (string | {
|
|
@@ -404,6 +416,8 @@ interface BuiltInSettings {
|
|
|
404
416
|
readonly signature: ConfigOf<typeof signaturePlugin> & ViewerSignatureSettings;
|
|
405
417
|
readonly pageEdit: never;
|
|
406
418
|
readonly metadata: never;
|
|
419
|
+
readonly outline: never;
|
|
420
|
+
readonly attachment: never;
|
|
407
421
|
readonly actions: ConfigOf<typeof actionsPlugin>;
|
|
408
422
|
readonly documents: never;
|
|
409
423
|
readonly interaction: ConfigOf<typeof interactionPlugin>;
|
|
@@ -463,7 +477,7 @@ declare const FEATURE_PARTS: {
|
|
|
463
477
|
readonly text: readonly ["selection", "copy"];
|
|
464
478
|
readonly search: readonly [];
|
|
465
479
|
readonly thumbnails: readonly [];
|
|
466
|
-
readonly outline: readonly [];
|
|
480
|
+
readonly outline: readonly ["editing"];
|
|
467
481
|
readonly documents: readonly ["open", "download", "print", "tabs"];
|
|
468
482
|
};
|
|
469
483
|
type FeatureParts = typeof FEATURE_PARTS;
|
|
@@ -683,5 +697,5 @@ declare const TOOLBAR_ITEM_CONTEXT_ATTRIBUTES: {
|
|
|
683
697
|
readonly size: "data-size";
|
|
684
698
|
};
|
|
685
699
|
//#endregion
|
|
686
|
-
export { ActionsToken, type AddItemOptions, AnnotationToken, type BarEdge, type BarPlace, type CapabilityToken, type CommandContext, type CommandDef, type CommandsCapability, CommandsToken, type DocumentInfo, type DocumentsCapability, DocumentsToken, type Engine, type EngineFactory, type Feature, type FloatPosition, FormToken, FullViewer, type FullViewerProps, I18nToken, type IconDef, type IconName, type IconPaths, type Identity, type Importance, type InitialDocument, InteractionToken, type Layout, type LayoutBar, type LayoutCommandItem, type LayoutCustomItem, type LayoutData, type LayoutEnv, type LayoutFunction, type LayoutGroup, type LayoutGroupObject, type LayoutItem, type LayoutMenu, type LayoutMenuSection, type LayoutOption, type LayoutPanel, type LayoutPanelPatch, type LayoutSection, LinkToken, type Mark, type MeasurementCapability, type MeasurementConfig, MeasurementToken, MetadataToken, type NotAllowedMode, PageEditToken, type PanelPresentation, type PanelPresentationBySize, type PanelResizeEvent, type PanelWidth, type PathSpec, type PlacedButton, type PlacedComponent, type PlacedComponents, type PlacedMenu, type PlacedMenuItem, type PluginName, type PluginSettings, type PluginTokens, type ReadOnlyExceptions, RedactionToken, type RemoveItemOptions, RenderToken, type ResolvedCommand, type ScaleChangeReport, type ScopedViewer, SearchToken, type SectionName, type SelectionTarget, SelectionToken, ShellToken, type SignFieldInput, type SignatureFont, type SignatureMode, SignatureToken, type SignerPort, StageToken, StampToken, THEME_TOKENS, TOOLBAR_ITEM_CONTEXT_ATTRIBUTES, type TabsVisibility, type ThemeConfig, type ThemeMode, type ThemePreference, type ThemeToken, type ThemeTokens, type ToolbarItemContext, type ToolbarItemEdge, type TrustPort, type Unsubscribe, VIEWER_PLUGINS, type Variant, type Viewer, type ViewerCustomization, type ViewerFont, type ViewerLifetime, type ViewerPlugins, type ViewerPluginsConfig, type ViewerSignatureSettings, type ViewerSize, type ViewerStampSettings, createLayout, createPlacedComponents, createTestSigner, createViewer, defaultCommands, ICON_PATHS as defaultIcons, defaultLayout, indexedDbKeyStore, memoryKeyStore, personalSigner, remoteSigner, themeConfigOf, themeTokenCss, webCryptoSigner };
|
|
700
|
+
export { ActionsToken, type AddItemOptions, AnnotationToken, AttachmentToken, type BarEdge, type BarPlace, type CapabilityToken, type CommandContext, type CommandDef, type CommandsCapability, CommandsToken, type DocumentInfo, type DocumentsCapability, DocumentsToken, type Engine, type EngineFactory, type Feature, type FloatPosition, FormToken, FullViewer, type FullViewerProps, I18nToken, type IconDef, type IconName, type IconPaths, type Identity, type Importance, type InitialDocument, InteractionToken, type Layout, type LayoutBar, type LayoutCommandItem, type LayoutCustomItem, type LayoutData, type LayoutEnv, type LayoutFunction, type LayoutGroup, type LayoutGroupObject, type LayoutItem, type LayoutMenu, type LayoutMenuSection, type LayoutOption, type LayoutPanel, type LayoutPanelPatch, type LayoutSection, LinkToken, type Mark, type MeasurementCapability, type MeasurementConfig, MeasurementToken, MetadataToken, type NotAllowedMode, OutlineToken, PageEditToken, type PanelPresentation, type PanelPresentationBySize, type PanelResizeEvent, type PanelWidth, type PathSpec, type PlacedButton, type PlacedComponent, type PlacedComponents, type PlacedMenu, type PlacedMenuItem, type PluginName, type PluginSettings, type PluginTokens, type ReadOnlyExceptions, RedactionToken, type RemoveItemOptions, RenderToken, type ResolvedCommand, type ScaleChangeReport, type ScopedViewer, SearchToken, type SectionName, type SelectionTarget, SelectionToken, ShellToken, type SignFieldInput, type SignatureFont, type SignatureMode, SignatureToken, type SignerPort, StageToken, StampToken, THEME_TOKENS, TOOLBAR_ITEM_CONTEXT_ATTRIBUTES, type TabsVisibility, type ThemeConfig, type ThemeMode, type ThemePreference, type ThemeToken, type ThemeTokens, type ToolbarItemContext, type ToolbarItemEdge, type TrustPort, type Unsubscribe, VIEWER_PLUGINS, type Variant, type Viewer, type ViewerCustomization, type ViewerFont, type ViewerLifetime, type ViewerPlugins, type ViewerPluginsConfig, type ViewerSignatureSettings, type ViewerSize, type ViewerStampSettings, createLayout, createPlacedComponents, createTestSigner, createViewer, defaultCommands, ICON_PATHS as defaultIcons, defaultLayout, indexedDbKeyStore, memoryKeyStore, personalSigner, remoteSigner, themeConfigOf, themeTokenCss, webCryptoSigner };
|
|
687
701
|
//# sourceMappingURL=index.d.ts.map
|