@nutrient-sdk/viewer 1.9.0-nightly.20251117 → 1.9.1
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/index.d.ts +41 -357
- package/dist/nutrient-viewer-lib/{chunk-848-bef73a728be22beb.js → chunk-848-466538a4d8beb915.js} +1 -1
- package/dist/nutrient-viewer-lib/chunk-core-worker-08a194e4ba09b7dd.js +13 -0
- package/dist/nutrient-viewer-lib/{chunk-gdpicture-1da87b20c5366e10.js → chunk-gdpicture-65b954bda5f721db.js} +1 -1
- package/dist/nutrient-viewer-lib/chunk-gdpicture-worker-2b706a5d2752f97f.js +13 -0
- package/dist/nutrient-viewer-lib/{chunk-lazy-sha-817c0e0c42999eeb.js → chunk-lazy-sha-8968ad74ed2275d9.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ar-53981fd3edf3271b.js → chunk-locale-ar-4e5b026c2ef56c97.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-cs-68083861f5e7184d.js → chunk-locale-cs-784b99838935d180.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-cy-e926f6077f261192.js → chunk-locale-cy-4a4bc419032f584b.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-da-fa98ffc09de45f93.js → chunk-locale-da-9052e2ed6642cdc4.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-de-47e63062d68086e9.js → chunk-locale-de-3e0d33ad180e115e.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-el-673494d180eb6669.js → chunk-locale-el-257a31115fc177e9.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-en-GB-a1dcd209d756309a.js → chunk-locale-en-GB-1813e489b40fcb97.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-es-b2ac8889d15eae4d.js → chunk-locale-es-b30627ad30cd480b.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fi-07e610a055409544.js → chunk-locale-fi-f7ce75112b81c154.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-e095e538908157ee.js → chunk-locale-fr-26782ede32f5f50a.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-CA-6677589652450b28.js → chunk-locale-fr-CA-170470eb52cfbb0b.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-he-0b23535a0dde6b57.js → chunk-locale-he-f76ee5694af38976.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-hr-38c8079e4c6b4db3.js → chunk-locale-hr-73adb5c3784ba506.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-id-c245f1b51af08b86.js → chunk-locale-id-fb19d7733092d474.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-it-b5aadfd059471040.js → chunk-locale-it-d0fecebdae91df72.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ja-49b1501d1c0bbd7e.js → chunk-locale-ja-efc2064841f4c9b6.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ko-65ec118e97e1df5d.js → chunk-locale-ko-768782cf4dd5f873.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ms-0c707a3397533186.js → chunk-locale-ms-f63ea99463de04e0.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-nb-NO-0b377ab4a3a22ccd.js → chunk-locale-nb-NO-bc36232790713a86.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-nl-8a241434fadaea7f.js → chunk-locale-nl-94290c5929a7894b.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pl-c82da006856e2f48.js → chunk-locale-pl-7e23199cef2ec6c1.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-23bed23ce4cd1d58.js → chunk-locale-pt-316a9908561ee8e6.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-PT-be52fab6ab8f5fb0.js → chunk-locale-pt-PT-6c33e1ef2ff71f31.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ru-d5cd6f7d5349a0c6.js → chunk-locale-ru-f7156e9fc3a0932f.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sk-df846199682842b3.js → chunk-locale-sk-f6c5786811443d3b.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sl-dd7a5ed74f982944.js → chunk-locale-sl-10ac4f3a9b0af246.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sv-75c847df0e2a6996.js → chunk-locale-sv-6ca662c34a9114e2.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-th-15e8b7bd02db57f6.js → chunk-locale-th-8e12d003832ab8a3.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-tr-4b63553dba4ffbfc.js → chunk-locale-tr-b05168693d7efa4c.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-uk-40dd96929e2a7f54.js → chunk-locale-uk-e2b529a20d598c24.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hans-935c064c3dcf1e30.js → chunk-locale-zh-Hans-c2ad6b43dde3d87e.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hant-2bb3ce3573b727a5.js → chunk-locale-zh-Hant-565e528117766327.js} +1 -1
- package/dist/nutrient-viewer-lib/chunk-offscreen-renderer-worker-864d6670613d03aa.js +13 -0
- package/dist/nutrient-viewer-lib/chunk-server-d5d6398248c5c2eb.js +13 -0
- package/dist/nutrient-viewer-lib/{chunk-server-instant-466c8a9c9209a149.js → chunk-server-instant-6b61bbeaab38a7b0.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-server-rest-65a4c7d73ef6f5a6.js → chunk-server-rest-135b79aa3424d40c.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-standalone-f85b470df008bbde.js → chunk-standalone-2e2287ca3a33628f.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-standalone-server-18f4cb300a57da7b.js → chunk-standalone-server-3d61433656478386.js} +1 -1
- package/dist/nutrient-viewer-lib/core-worker.js +2 -2
- package/dist/nutrient-viewer-lib/dark-402cc98d3d69bff8.css +1 -1
- package/dist/nutrient-viewer-lib/gdpicture-worker.js +1 -1
- package/dist/nutrient-viewer-lib/{nutrient-viewer-1.9.0-8910930.css → nutrient-viewer-1.9.1.css} +9 -16
- package/dist/nutrient-viewer-lib/nutrient-viewer-c80b83693128d5ab.wasm.js +13 -0
- package/dist/nutrient-viewer-lib/{nutrient-viewer-13bc58f97a553c59.wasm → nutrient-viewer-e093bb5046a71dca.wasm} +0 -0
- package/dist/nutrient-viewer-lib/offscreen-render-worker.js +1 -1
- package/dist/nutrient-viewer.js +2 -2
- package/package.json +1 -1
- package/dist/nutrient-viewer-lib/chunk-core-worker-a1bb089e6688f521.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-gdpicture-worker-3583a7b3aa6b0de1.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-offscreen-renderer-worker-4b5061484db4f3e8.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-server-71b64deca0fe49f3.js +0 -13
- package/dist/nutrient-viewer-lib/nutrient-viewer-9303291e7f6b26aa.wasm.js +0 -13
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* This class should be used to create custom Immutable Record. It will overwrite the default
|
|
3
5
|
* `Immutable#equals()` method to include the class name. if we don't do this, two different classes
|
|
@@ -382,7 +384,7 @@ declare const allowedTextComparisonInnerToolbarItem: string[];
|
|
|
382
384
|
|
|
383
385
|
declare const allowedTextComparisonToolbarItem: string[];
|
|
384
386
|
|
|
385
|
-
declare const allowedToolbarTypes: (
|
|
387
|
+
declare const allowedToolbarTypes: ("text" | "search" | "link" | "ellipse" | "image" | "line" | "polygon" | "polyline" | "spacer" | "note" | "comment" | "zoom-in" | "zoom-out" | "callout" | "redo" | "signature" | "undo" | "print" | "ink" | "debug" | "arrow" | "highlighter" | "custom" | "pager" | "pan" | "measure" | "rectangle" | "stamp" | "cloudy-rectangle" | "dashed-rectangle" | "cloudy-ellipse" | "dashed-ellipse" | "cloudy-polygon" | "dashed-polygon" | "text-highlighter" | "multi-annotations-selection" | "ink-eraser" | "form-creator" | "redact-rectangle" | "redact-text-highlighter" | "document-crop" | "document-editor" | "document-comparison" | "export-pdf" | "content-editor" | "ai-assistant" | "linearized-download-indicator" | "pager-expanded" | "sidebar-thumbnails" | "sidebar-document-outline" | "sidebar-layers" | "sidebar-annotations" | "sidebar-bookmarks" | "sidebar-signatures" | "sidebar-attachments" | "annotate" | "zoom-mode" | "marquee-zoom" | "layout-config" | "responsive-group")[];
|
|
386
388
|
|
|
387
389
|
/**
|
|
388
390
|
* @class
|
|
@@ -594,34 +596,6 @@ export declare class Annotation<T extends AnnotationProperties = AnnotationPrope
|
|
|
594
596
|
constructor(options?: Partial<T>);
|
|
595
597
|
}
|
|
596
598
|
|
|
597
|
-
declare namespace Annotation_2 {
|
|
598
|
-
export {
|
|
599
|
-
Annotation,
|
|
600
|
-
HighlightAnnotation,
|
|
601
|
-
ImageAnnotation,
|
|
602
|
-
InkAnnotation,
|
|
603
|
-
ShapeAnnotation,
|
|
604
|
-
LineAnnotation,
|
|
605
|
-
RectangleAnnotation,
|
|
606
|
-
EllipseAnnotation,
|
|
607
|
-
PolygonAnnotation,
|
|
608
|
-
PolylineAnnotation,
|
|
609
|
-
LinkAnnotation,
|
|
610
|
-
NoteAnnotation,
|
|
611
|
-
SquiggleAnnotation,
|
|
612
|
-
StampAnnotation,
|
|
613
|
-
StrikeOutAnnotation,
|
|
614
|
-
TextAnnotation,
|
|
615
|
-
TextMarkupAnnotation,
|
|
616
|
-
UnderlineAnnotation,
|
|
617
|
-
UnknownAnnotation,
|
|
618
|
-
WidgetAnnotation,
|
|
619
|
-
CommentMarkerAnnotation,
|
|
620
|
-
RedactionAnnotation,
|
|
621
|
-
MediaAnnotation };
|
|
622
|
-
|
|
623
|
-
}
|
|
624
|
-
|
|
625
599
|
/** @inline */
|
|
626
600
|
declare type AnnotationAdditionalActionsType = {
|
|
627
601
|
onPointerEnter?: Action;
|
|
@@ -1039,7 +1013,7 @@ declare function AnnotationSelectionMixin<T extends Class<BaseMixin>>(Base: T):
|
|
|
1039
1013
|
*/
|
|
1040
1014
|
getAnnotationsGroups(): Map_2<string, {
|
|
1041
1015
|
groupKey: string;
|
|
1042
|
-
annotationsIds: Set_2<
|
|
1016
|
+
annotationsIds: Set_2<string>;
|
|
1043
1017
|
}> | null;
|
|
1044
1018
|
/**
|
|
1045
1019
|
* If there are any annotations groups, this function will return all annotations groups.
|
|
@@ -1072,9 +1046,9 @@ declare class AnnotationSerializer {
|
|
|
1072
1046
|
toJSON(): Omit<BaseAnnotationJSON, 'type'>;
|
|
1073
1047
|
static fromJSON(id: ID | null, json: IAnnotationJSON, options?: ICollaboratorPermissionsOptions): {
|
|
1074
1048
|
group?: string | null | undefined;
|
|
1075
|
-
canSetGroup?: boolean;
|
|
1076
|
-
isEditable?: boolean;
|
|
1077
|
-
isDeletable?: boolean;
|
|
1049
|
+
canSetGroup?: boolean | undefined;
|
|
1050
|
+
isEditable?: boolean | undefined;
|
|
1051
|
+
isDeletable?: boolean | undefined;
|
|
1078
1052
|
blendMode?: IBlendMode | undefined;
|
|
1079
1053
|
id: string | null;
|
|
1080
1054
|
name: string | null;
|
|
@@ -1975,9 +1949,9 @@ declare abstract class BaseTextMarkupSerializer extends AnnotationSerializer {
|
|
|
1975
1949
|
static fromJSON(id: ID | null, json: Omit<BaseTextMarkupAnnotationJSON, 'id' | 'group' | 'permissions'>, options?: ICollaboratorPermissionsOptions): {
|
|
1976
1950
|
rects: List<Rect>;
|
|
1977
1951
|
group?: string | null | undefined;
|
|
1978
|
-
canSetGroup?: boolean;
|
|
1979
|
-
isEditable?: boolean;
|
|
1980
|
-
isDeletable?: boolean;
|
|
1952
|
+
canSetGroup?: boolean | undefined;
|
|
1953
|
+
isEditable?: boolean | undefined;
|
|
1954
|
+
isDeletable?: boolean | undefined;
|
|
1981
1955
|
blendMode?: IBlendMode | undefined;
|
|
1982
1956
|
id: string | null;
|
|
1983
1957
|
name: string | null;
|
|
@@ -4377,8 +4351,6 @@ export declare type ColorPreset = {
|
|
|
4377
4351
|
};
|
|
4378
4352
|
};
|
|
4379
4353
|
|
|
4380
|
-
declare type ColorPreset_2 = ColorPreset;
|
|
4381
|
-
|
|
4382
4354
|
/**
|
|
4383
4355
|
* @class
|
|
4384
4356
|
*
|
|
@@ -5435,312 +5407,29 @@ declare const defaultAnnotationPresets: {
|
|
|
5435
5407
|
[key: string]: Record<string, unknown>;
|
|
5436
5408
|
};
|
|
5437
5409
|
|
|
5438
|
-
declare const defaultAnnotationsSidebarContent:
|
|
5439
|
-
|
|
5440
|
-
/**
|
|
5441
|
-
* Returns a deep copy of an array containing the default annotation
|
|
5442
|
-
* classes that are included in the annotations sidebar UI.
|
|
5443
|
-
*
|
|
5444
|
-
* These members are:
|
|
5445
|
-
* 1. {@link NutrientViewer.Annotations.EllipseAnnotation}
|
|
5446
|
-
* 2. {@link NutrientViewer.Annotations.HighlightAnnotation}
|
|
5447
|
-
* 3. {@link NutrientViewer.Annotations.ImageAnnotation}
|
|
5448
|
-
* 4. {@link NutrientViewer.Annotations.InkAnnotation}
|
|
5449
|
-
* 5. {@link NutrientViewer.Annotations.LineAnnotation}
|
|
5450
|
-
* 6. {@link NutrientViewer.Annotations.NoteAnnotation}
|
|
5451
|
-
* 7. {@link NutrientViewer.Annotations.PolygonAnnotation}
|
|
5452
|
-
* 8. {@link NutrientViewer.Annotations.PolylineAnnotation}
|
|
5453
|
-
* 9. {@link NutrientViewer.Annotations.RectangleAnnotation}
|
|
5454
|
-
* 10. {@link NutrientViewer.Annotations.SquiggleAnnotation}
|
|
5455
|
-
* 11. {@link NutrientViewer.Annotations.StampAnnotation}
|
|
5456
|
-
* 12. {@link NutrientViewer.Annotations.StrikeOutAnnotation}
|
|
5457
|
-
* 13. {@link NutrientViewer.Annotations.TextAnnotation}
|
|
5458
|
-
* 14. {@link NutrientViewer.Annotations.UnderlineAnnotation}
|
|
5459
|
-
* 15. {@link NutrientViewer.Annotations.WidgetAnnotation}
|
|
5460
|
-
*
|
|
5461
|
-
* @see {@link ViewState#sidebarOptions}
|
|
5462
|
-
* @see {@link AnnotationsSidebarOptions}
|
|
5463
|
-
* @see {@link SidebarOptions}
|
|
5464
|
-
*/
|
|
5465
|
-
declare const defaultAnnotationsSidebarContent_2: readonly [typeof Annotation_2.EllipseAnnotation, typeof Annotation_2.HighlightAnnotation, typeof Annotation_2.ImageAnnotation, typeof Annotation_2.InkAnnotation, typeof Annotation_2.LineAnnotation, typeof Annotation_2.NoteAnnotation, typeof Annotation_2.PolygonAnnotation, typeof Annotation_2.PolylineAnnotation, typeof Annotation_2.RectangleAnnotation, typeof Annotation_2.SquiggleAnnotation, typeof Annotation_2.StampAnnotation, typeof Annotation_2.StrikeOutAnnotation, typeof Annotation_2.TextAnnotation, typeof Annotation_2.UnderlineAnnotation, typeof Annotation_2.WidgetAnnotation];
|
|
5466
|
-
|
|
5467
|
-
declare const defaultDocumentEditorFooterItems: typeof defaultDocumentEditorFooterItems_2;
|
|
5410
|
+
declare const defaultAnnotationsSidebarContent: readonly [EllipseAnnotation, HighlightAnnotation, ImageAnnotation, InkAnnotation, LineAnnotation, NoteAnnotation, PolygonAnnotation, PolylineAnnotation, RectangleAnnotation, SquiggleAnnotation, StampAnnotation, StrikeOutAnnotation, TextAnnotation, UnderlineAnnotation, WidgetAnnotation];
|
|
5468
5411
|
|
|
5469
|
-
|
|
5470
|
-
* Returns a deep copy of an array containing the default {@link NutrientViewer.DocumentEditorFooterItem|document editor footer items}
|
|
5471
|
-
* ordered by {@link NutrientViewer.DocumentEditorFooterItem#type} in the following way:
|
|
5472
|
-
*
|
|
5473
|
-
* 1. `cancel`
|
|
5474
|
-
* 2. `selected-pages`
|
|
5475
|
-
* 3. `spacer`
|
|
5476
|
-
* 4. `loading-indicator`
|
|
5477
|
-
* 5. `save-as`
|
|
5478
|
-
* 6. `save`
|
|
5479
|
-
*
|
|
5480
|
-
* The `loading-indicator` is only visible when the changes are being committed and `selected-pages` is only visible when you have selected multiple pages.
|
|
5481
|
-
*
|
|
5482
|
-
* @see {@link DocumentEditorFooterItem}
|
|
5483
|
-
*/
|
|
5484
|
-
declare const defaultDocumentEditorFooterItems_2: {
|
|
5412
|
+
declare const defaultDocumentEditorFooterItems: {
|
|
5485
5413
|
type: BuiltInDocumentEditorFooterItem;
|
|
5486
5414
|
}[];
|
|
5487
5415
|
|
|
5488
|
-
declare const defaultDocumentEditorToolbarItems:
|
|
5489
|
-
|
|
5490
|
-
/**
|
|
5491
|
-
* Returns a deep copy of an array containing the default {@link NutrientViewer.DocumentEditorToolbarItem|document editor toolbar items}
|
|
5492
|
-
* ordered by {@link NutrientViewer.DocumentEditorToolbarItem#type} in the following way:
|
|
5493
|
-
*
|
|
5494
|
-
* 1. `add`
|
|
5495
|
-
* 2. `remove`
|
|
5496
|
-
* 3. `duplicate`
|
|
5497
|
-
* 4. `rotate-left`
|
|
5498
|
-
* 5. `rotate-right`
|
|
5499
|
-
* 6. `move`
|
|
5500
|
-
* 7. `move-left`
|
|
5501
|
-
* 8. `move-right`
|
|
5502
|
-
* 9. `import-document`
|
|
5503
|
-
* 10. `extract-pages`
|
|
5504
|
-
* 11. `spacer`
|
|
5505
|
-
* 12. `undo`
|
|
5506
|
-
* 13. `redo`
|
|
5507
|
-
* 14. `select-all`
|
|
5508
|
-
* 15. `select-none`
|
|
5509
|
-
* 16. `zoom-out`
|
|
5510
|
-
* 17. `zoom-in`
|
|
5511
|
-
*/
|
|
5512
|
-
declare const defaultDocumentEditorToolbarItems_2: {
|
|
5416
|
+
declare const defaultDocumentEditorToolbarItems: {
|
|
5513
5417
|
type: BuiltInDocumentEditorToolbarItemType;
|
|
5514
5418
|
}[];
|
|
5515
5419
|
|
|
5516
5420
|
declare const defaultElectronicSignatureColorPresets: ColorPreset[];
|
|
5517
5421
|
|
|
5518
|
-
declare const defaultStampAnnotationTemplates:
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
* Returns a deep copy of an array containing the default {@link NutrientViewer.stampAnnotationTemplates | stamp
|
|
5522
|
-
* and image annotation templates}, which are {@link NutrientViewer.Annotations.StampAnnotation | stamp annotation instances}.
|
|
5523
|
-
* However, {@link NutrientViewer.Annotations.ImageAnnotation | image annotation} templates can also be added to
|
|
5524
|
-
* this `Array` using {@link NutrientViewer.setStampAnnotationTemplates}.
|
|
5525
|
-
* Used by the stamp picker UI.
|
|
5526
|
-
* Initially it contains only the following {@link NutrientViewer.Annotations.StampAnnotation | stamp annotations}:
|
|
5527
|
-
*
|
|
5528
|
-
* 1. `Approved`
|
|
5529
|
-
* 2. `NotApproved`
|
|
5530
|
-
* 3. `Draft`
|
|
5531
|
-
* 4. `Final`
|
|
5532
|
-
* 5. `Completed`
|
|
5533
|
-
* 6. `Confidential`
|
|
5534
|
-
* 7. `ForPublicRelease`
|
|
5535
|
-
* 8. `NotForPublicRelease`
|
|
5536
|
-
* 9. `ForComment`
|
|
5537
|
-
* 10. `Void`
|
|
5538
|
-
* 11. `PreliminaryResults`
|
|
5539
|
-
* 12. `InformationOnly`
|
|
5540
|
-
* 13. `Rejected`
|
|
5541
|
-
* 14. `Accepted`
|
|
5542
|
-
* 15. `InitialHere`
|
|
5543
|
-
* 16. `SignHere`
|
|
5544
|
-
* 17. `Witness`
|
|
5545
|
-
* 18. `AsIs`
|
|
5546
|
-
* 19. `Departmental`
|
|
5547
|
-
* 20. `Experimental`
|
|
5548
|
-
* 21. `Expired`
|
|
5549
|
-
* 22. `Sold`
|
|
5550
|
-
* 23. `TopSecret`
|
|
5551
|
-
* 24. `Revised`
|
|
5552
|
-
* 25. `RejectedWithText`
|
|
5553
|
-
*/
|
|
5554
|
-
declare const defaultStampAnnotationTemplates_2: StampAnnotation[];
|
|
5555
|
-
|
|
5556
|
-
declare const defaultTextComparisonInnerToolbarItems: typeof defaultTextComparisonInnerToolbarItems_2;
|
|
5557
|
-
|
|
5558
|
-
/**
|
|
5559
|
-
* Returns a deep copy of an array containing the default {@link TextComparisonInnerToolbarItem | text comparison instance toolbar items}
|
|
5560
|
-
* ordered by {@link TextComparisonInnerToolbarItem#type} in the following way:
|
|
5561
|
-
*
|
|
5562
|
-
* 1. `pager`
|
|
5563
|
-
* 2. `pan`
|
|
5564
|
-
* 3. `zoom-out`
|
|
5565
|
-
* 4. `zoom-in`
|
|
5566
|
-
* 5. `spacer`
|
|
5567
|
-
*
|
|
5568
|
-
* Please keep in mind that under some circumstances some items may be removed from the final list.
|
|
5569
|
-
*/
|
|
5570
|
-
declare const defaultTextComparisonInnerToolbarItems_2: {
|
|
5422
|
+
declare const defaultStampAnnotationTemplates: StampAnnotation[];
|
|
5423
|
+
|
|
5424
|
+
declare const defaultTextComparisonInnerToolbarItems: {
|
|
5571
5425
|
type: string;
|
|
5572
5426
|
}[];
|
|
5573
5427
|
|
|
5574
|
-
declare const defaultTextComparisonToolbarItems:
|
|
5575
|
-
|
|
5576
|
-
/**
|
|
5577
|
-
* Returns a deep copy of an array containing the default {@link NutrientViewer.TextComparisonToolbarItem|text comparison toolbar items}
|
|
5578
|
-
* ordered by {@link NutrientViewer.TextComparisonToolbarItem#type} in the following way:
|
|
5579
|
-
*
|
|
5580
|
-
* 1. `comparison-changes`
|
|
5581
|
-
* 2. `prev-change`
|
|
5582
|
-
* 3. `next-change`
|
|
5583
|
-
* 4. `scroll-lock`
|
|
5584
|
-
*
|
|
5585
|
-
* Please keep in mind that under some circumstances some items may be removed from the final list.
|
|
5586
|
-
*/
|
|
5587
|
-
declare const defaultTextComparisonToolbarItems_2: {
|
|
5428
|
+
declare const defaultTextComparisonToolbarItems: {
|
|
5588
5429
|
type: string;
|
|
5589
5430
|
}[];
|
|
5590
5431
|
|
|
5591
|
-
declare const defaultToolbarItems:
|
|
5592
|
-
|
|
5593
|
-
/**
|
|
5594
|
-
* Returns a deep copy of an array containing the default {@link NutrientViewer.ToolbarItem|toolbar items}
|
|
5595
|
-
* ordered by {@link NutrientViewer.ToolbarItem#type} in the following way:
|
|
5596
|
-
*
|
|
5597
|
-
* 1. `sidebar-thumbnails`
|
|
5598
|
-
* 2. `sidebar-document-outline`
|
|
5599
|
-
* 3. `sidebar-annotations`
|
|
5600
|
-
* 4. `sidebar-bookmarks`
|
|
5601
|
-
* 5. `sidebar-signatures`
|
|
5602
|
-
* 6. `sidebar-attachments`
|
|
5603
|
-
* 7. `sidebar-layers`
|
|
5604
|
-
* 8. `pager`
|
|
5605
|
-
* 9. `pan`
|
|
5606
|
-
* 10. `zoom-out`
|
|
5607
|
-
* 11. `zoom-in`
|
|
5608
|
-
* 12. `zoom-mode`
|
|
5609
|
-
* 13. `spacer`
|
|
5610
|
-
* 14. `annotate`
|
|
5611
|
-
* 15. `ink`
|
|
5612
|
-
* 16. `highlighter`
|
|
5613
|
-
* 17. `text-highlighter`
|
|
5614
|
-
* 18. `ink-eraser`
|
|
5615
|
-
* 19. `signature`
|
|
5616
|
-
* 20. `image`
|
|
5617
|
-
* 21. `stamp`
|
|
5618
|
-
* 22. `note`
|
|
5619
|
-
* 23. `text`
|
|
5620
|
-
* 24. `line`
|
|
5621
|
-
* 25. `arrow`
|
|
5622
|
-
* 26. `rectangle`
|
|
5623
|
-
* 27. `cloudy-rectangle`
|
|
5624
|
-
* 28. `dashed-rectangle`
|
|
5625
|
-
* 29. `ellipse`
|
|
5626
|
-
* 30. `cloudy-ellipse`
|
|
5627
|
-
* 31. `dashed-ellipse`
|
|
5628
|
-
* 32. `polygon`
|
|
5629
|
-
* 33. `cloudy-polygon`
|
|
5630
|
-
* 34. `dashed-polygon`
|
|
5631
|
-
* 35. `polyline`
|
|
5632
|
-
* 36. `print`
|
|
5633
|
-
* 37. `document-editor`
|
|
5634
|
-
* 38. `document-crop`
|
|
5635
|
-
* 39. `search`
|
|
5636
|
-
* 40. `export-pdf`
|
|
5637
|
-
* 41. `debug`
|
|
5638
|
-
* 42. `content-editor`
|
|
5639
|
-
* 43. `link`
|
|
5640
|
-
* 44. `multi-annotations-selection`
|
|
5641
|
-
* 45. `callout`
|
|
5642
|
-
*
|
|
5643
|
-
* Please keep in mind that under some circumstances some items may be removed from the final list.
|
|
5644
|
-
*
|
|
5645
|
-
* Items hidden for touch devices:
|
|
5646
|
-
*
|
|
5647
|
-
* * `pan`
|
|
5648
|
-
*
|
|
5649
|
-
* Items hidden for touch devices when the media query `(max-width: 992px)` for medium devices matches:
|
|
5650
|
-
*
|
|
5651
|
-
* * `zoom-out`
|
|
5652
|
-
* * `zoom-in`
|
|
5653
|
-
* * `zoom-mode`
|
|
5654
|
-
*
|
|
5655
|
-
* Please keep in mind that the media query is only added for touch devices.
|
|
5656
|
-
* You can change this behavior by defining your own `mediaQueries` and replacing the original item.
|
|
5657
|
-
* To learn more about how to do so please refer to [our guide](https://www.nutrient.io/guides/web/current/customizing-the-interface/configure-the-toolbar/#toc_customizing-built-in-items).
|
|
5658
|
-
*
|
|
5659
|
-
* Items hidden for small screens `(max-width: 992px)`
|
|
5660
|
-
*
|
|
5661
|
-
* * `text`
|
|
5662
|
-
* * `callout`
|
|
5663
|
-
* * `ink`
|
|
5664
|
-
* * `highlighter`
|
|
5665
|
-
* * `text-highlighter`
|
|
5666
|
-
* * `ink-eraser`
|
|
5667
|
-
* * `line`
|
|
5668
|
-
* * `arrow`
|
|
5669
|
-
* * `rectangle`
|
|
5670
|
-
* * `cloudy-rectangle`
|
|
5671
|
-
* * `dashed-rectangle`
|
|
5672
|
-
* * `ellipse`
|
|
5673
|
-
* * `cloudy-ellipse`
|
|
5674
|
-
* * `dashed-ellipse`
|
|
5675
|
-
* * `polygon`
|
|
5676
|
-
* * `cloudy-polygon`
|
|
5677
|
-
* * `dashed-polygon`
|
|
5678
|
-
* * `polyline`
|
|
5679
|
-
* * `signature`
|
|
5680
|
-
* * `image`
|
|
5681
|
-
* * `stamp`
|
|
5682
|
-
* * `note`
|
|
5683
|
-
* * `undo`
|
|
5684
|
-
* * `redo`
|
|
5685
|
-
* * `link`
|
|
5686
|
-
*
|
|
5687
|
-
* Items shown on small screens `(max-width: 992px)`
|
|
5688
|
-
*
|
|
5689
|
-
* * `annotate`
|
|
5690
|
-
*
|
|
5691
|
-
* Items hidden when in {@link NutrientViewer.ViewState#readOnly| read-only mode}:
|
|
5692
|
-
*
|
|
5693
|
-
* * `text`
|
|
5694
|
-
* * `ink`
|
|
5695
|
-
* * `highlighter`
|
|
5696
|
-
* * `text-highlighter`
|
|
5697
|
-
* * `ink-eraser`
|
|
5698
|
-
* * `line`
|
|
5699
|
-
* * `arrow`
|
|
5700
|
-
* * `rectangle`
|
|
5701
|
-
* * `cloudy-rectangle`
|
|
5702
|
-
* * `dashed-rectangle`
|
|
5703
|
-
* * `ellipse`
|
|
5704
|
-
* * `cloudy-ellipse`
|
|
5705
|
-
* * `dashed-ellipse`
|
|
5706
|
-
* * `polygon`
|
|
5707
|
-
* * `cloudy-polygon`
|
|
5708
|
-
* * `dashed-polygon`
|
|
5709
|
-
* * `polyline`
|
|
5710
|
-
* * `signature`
|
|
5711
|
-
* * `image`
|
|
5712
|
-
* * `stamp`
|
|
5713
|
-
* * `note`
|
|
5714
|
-
* * `undo`
|
|
5715
|
-
* * `redo`
|
|
5716
|
-
* * `link`
|
|
5717
|
-
* * `multi-annotations-selection`
|
|
5718
|
-
*
|
|
5719
|
-
* Hidden when not in debug mode (See {@link https://www.nutrient.io/guides/web/troubleshoot/#bug-reports|this guide article}):
|
|
5720
|
-
*
|
|
5721
|
-
* * `debug`
|
|
5722
|
-
*
|
|
5723
|
-
* Hidden by default and only available when explicitly set via the API:
|
|
5724
|
-
*
|
|
5725
|
-
* * `layout-config`
|
|
5726
|
-
* * `marquee-zoom`
|
|
5727
|
-
* * `comment`
|
|
5728
|
-
* * `redact-text-highlighter`
|
|
5729
|
-
* * `redact-rectangle`
|
|
5730
|
-
* * `cloudy-rectangle`
|
|
5731
|
-
* * `dashed-rectangle`
|
|
5732
|
-
* * `cloudy-ellipse`
|
|
5733
|
-
* * `dashed-ellipse`
|
|
5734
|
-
* * `dashed-polygon`
|
|
5735
|
-
* * `undo`
|
|
5736
|
-
* * `redo`
|
|
5737
|
-
* * `document-comparison`
|
|
5738
|
-
* * `form-creator`
|
|
5739
|
-
* * `content-editor`
|
|
5740
|
-
* * `measure`
|
|
5741
|
-
* * `pager-expanded`: This is the expanded version of the pager which is visible by default on larger screens. In case you want to always show it, you should replace `pager` with `pager-expanded`.
|
|
5742
|
-
*/
|
|
5743
|
-
declare const defaultToolbarItems_2: readonly [{
|
|
5432
|
+
declare const defaultToolbarItems: readonly [{
|
|
5744
5433
|
readonly type: "sidebar-thumbnails";
|
|
5745
5434
|
}, {
|
|
5746
5435
|
readonly type: "sidebar-document-outline";
|
|
@@ -5822,8 +5511,6 @@ declare const defaultToolbarItems_2: readonly [{
|
|
|
5822
5511
|
readonly type: "debug";
|
|
5823
5512
|
}];
|
|
5824
5513
|
|
|
5825
|
-
declare const defaultToolbarTypes: ("text" | "search" | "link" | "ellipse" | "image" | "line" | "polygon" | "polyline" | "spacer" | "note" | "zoom-in" | "zoom-out" | "callout" | "signature" | "print" | "ink" | "debug" | "arrow" | "highlighter" | "pager" | "pan" | "rectangle" | "stamp" | "cloudy-polygon" | "text-highlighter" | "multi-annotations-selection" | "ink-eraser" | "document-crop" | "document-editor" | "export-pdf" | "linearized-download-indicator" | "sidebar-thumbnails" | "sidebar-document-outline" | "sidebar-layers" | "sidebar-annotations" | "sidebar-bookmarks" | "sidebar-signatures" | "sidebar-attachments" | "annotate" | "zoom-mode")[];
|
|
5826
|
-
|
|
5827
5514
|
/**
|
|
5828
5515
|
* Describes the configuration used to populate a document template.
|
|
5829
5516
|
*
|
|
@@ -10240,8 +9927,6 @@ export declare type ExportPDFFlags = {
|
|
|
10240
9927
|
officeConversionSettings?: OfficeConversionSettings;
|
|
10241
9928
|
};
|
|
10242
9929
|
|
|
10243
|
-
declare const extraToolbarTypes: readonly ["layout-config", "marquee-zoom", "custom", "responsive-group", "comment", "redact-text-highlighter", "redact-rectangle", "cloudy-rectangle", "dashed-rectangle", "cloudy-ellipse", "dashed-ellipse", "dashed-polygon", "document-comparison", "measure", "undo", "redo", "form-creator", "content-editor", "ai-assistant", "pager-expanded"];
|
|
10244
|
-
|
|
10245
9930
|
/**
|
|
10246
9931
|
* @class
|
|
10247
9932
|
* This record is used to persist information related to custom fonts on Standalone deployments.
|
|
@@ -10602,10 +10287,10 @@ export declare class FormFieldValue extends FormFieldValue_base {
|
|
|
10602
10287
|
}
|
|
10603
10288
|
|
|
10604
10289
|
declare const FormFieldValue_base: Immutable.Record.Factory<{
|
|
10605
|
-
name?: string;
|
|
10606
|
-
value?: string | Immutable.List<string> |
|
|
10607
|
-
optionIndexes?: Immutable.List<number
|
|
10608
|
-
isFitting?: boolean;
|
|
10290
|
+
name?: string | undefined;
|
|
10291
|
+
value?: string | number | Immutable.List<string> | null | undefined;
|
|
10292
|
+
optionIndexes?: Immutable.List<number> | undefined;
|
|
10293
|
+
isFitting?: boolean | undefined;
|
|
10609
10294
|
}>;
|
|
10610
10295
|
|
|
10611
10296
|
/**
|
|
@@ -11786,7 +11471,7 @@ declare interface INamedAction extends ActionProperties {
|
|
|
11786
11471
|
action?: string;
|
|
11787
11472
|
}
|
|
11788
11473
|
|
|
11789
|
-
declare const InheritableImmutableRecord: new <T extends Record<string, unknown>>(values?: Partial<T> | Iterable<[string, unknown]>) => __dangerousImmutableRecordFactory<T>;
|
|
11474
|
+
declare const InheritableImmutableRecord: new <T extends Record<string, unknown>>(values?: Partial<T> | Iterable<[string, unknown]> | undefined) => __dangerousImmutableRecordFactory<T>;
|
|
11790
11475
|
|
|
11791
11476
|
/**
|
|
11792
11477
|
* @class
|
|
@@ -11906,8 +11591,8 @@ declare class InkAnnotationSerializer extends AnnotationSerializer {
|
|
|
11906
11591
|
toJSON(): Serializers.InkAnnotationJSON;
|
|
11907
11592
|
static fromJSON(id: ID | null, json: Omit<Serializers.InkAnnotationJSON, 'id' | 'group' | 'permissions'>, options?: ICollaboratorPermissionsOptions): InkAnnotation;
|
|
11908
11593
|
_linesToJSON(): {
|
|
11909
|
-
points:
|
|
11910
|
-
intensities:
|
|
11594
|
+
points: [number, number][][];
|
|
11595
|
+
intensities: number[][];
|
|
11911
11596
|
};
|
|
11912
11597
|
static _JSONToLines(linesJSON: {
|
|
11913
11598
|
points: Array<Array<[number, number]>>;
|
|
@@ -15525,7 +15210,7 @@ declare function MiscellaneousMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
15525
15210
|
* on {@link Instance#addEventListener} for possible event types.
|
|
15526
15211
|
* @param listener - A listener function.
|
|
15527
15212
|
*/
|
|
15528
|
-
removeEventListener<
|
|
15213
|
+
removeEventListener<K_1 extends keyof Events.EventNameToHandlerMap>(action: K_1, listener: Events.EventNameToHandlerMap[K_1]): void;
|
|
15529
15214
|
/**
|
|
15530
15215
|
* Brings the rect (in PDF page coordinates) into the viewport. This function will not change
|
|
15531
15216
|
* the zoom level.
|
|
@@ -15577,7 +15262,7 @@ declare function MiscellaneousMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
15577
15262
|
* @param pageIndex - The index of the page you want to have information about. If none is provided, the first page (pageIndex `0`) will be used.
|
|
15578
15263
|
* @returns The transformed point or rectangle.
|
|
15579
15264
|
*/
|
|
15580
|
-
transformContentClientToPageSpace<
|
|
15265
|
+
transformContentClientToPageSpace<T extends Point | Rect>(rectOrPoint: T, pageIndex: number): T;
|
|
15581
15266
|
/**
|
|
15582
15267
|
* Transforms a {@link NutrientViewer.Geometry.Point} or a {@link NutrientViewer.Geometry.Rect} from the
|
|
15583
15268
|
* PDF page space to the client space inside the content frame.
|
|
@@ -15594,7 +15279,7 @@ declare function MiscellaneousMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
15594
15279
|
* @param pageIndex - The index of the page you want to have information about. If none is provided, the first page (pageIndex `0`) will be used.
|
|
15595
15280
|
* @returns The transformed point or rectangle.
|
|
15596
15281
|
*/
|
|
15597
|
-
transformContentPageToClientSpace<T_1 extends
|
|
15282
|
+
transformContentPageToClientSpace<T_1 extends Point | Rect>(rectOrPoint: T_1, pageIndex: number): T_1;
|
|
15598
15283
|
/**
|
|
15599
15284
|
* Transforms a {@link NutrientViewer.Geometry.Point} or a {@link NutrientViewer.Geometry.Rect} from the
|
|
15600
15285
|
* client space inside the main frame to the PDF page space.
|
|
@@ -15614,7 +15299,7 @@ declare function MiscellaneousMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
15614
15299
|
* @param pageIndex - The index of the page you want to have information about. If none is provided, the first page (pageIndex `0`) will be used.
|
|
15615
15300
|
* @returns The transformed point or rectangle.
|
|
15616
15301
|
*/
|
|
15617
|
-
transformClientToPageSpace<
|
|
15302
|
+
transformClientToPageSpace<T_2 extends Point | Rect>(rectOrPoint: T_2, pageIndex: number): T_2;
|
|
15618
15303
|
/**
|
|
15619
15304
|
* Transforms a {@link NutrientViewer.Geometry.Point} or a {@link NutrientViewer.Geometry.Rect} from the
|
|
15620
15305
|
* PDF page space to the client space inside the main frame.
|
|
@@ -15633,7 +15318,7 @@ declare function MiscellaneousMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
15633
15318
|
* @param pageIndex - The index of the page you want to have information about. If none is provided, the first page (pageIndex `0`) will be used.
|
|
15634
15319
|
* @returns The transformed point or rectangle.
|
|
15635
15320
|
*/
|
|
15636
|
-
transformPageToClientSpace<
|
|
15321
|
+
transformPageToClientSpace<T_3 extends Point | Rect>(rectOrPoint: T_3, pageIndex: number): T_3;
|
|
15637
15322
|
/**
|
|
15638
15323
|
* Transforms a raw PDF bounding rect from the PDF page space to NutrientViewer's page space.
|
|
15639
15324
|
*
|
|
@@ -16730,7 +16415,7 @@ declare const Options: {
|
|
|
16730
16415
|
* @example
|
|
16731
16416
|
* NutrientViewer.Options.LINE_CAP_PRESETS = ["openArrow", "closedArrow", "none"];
|
|
16732
16417
|
*/
|
|
16733
|
-
LINE_CAP_PRESETS:
|
|
16418
|
+
LINE_CAP_PRESETS: LineCapPresets[];
|
|
16734
16419
|
/**
|
|
16735
16420
|
* The list of line widths to use for dropdowns in annotation toolbars.
|
|
16736
16421
|
*
|
|
@@ -16738,7 +16423,7 @@ declare const Options: {
|
|
|
16738
16423
|
* @example
|
|
16739
16424
|
* NutrientViewer.Options.LINE_WIDTH_PRESETS = [1, 2, 4, 8, 32];
|
|
16740
16425
|
*/
|
|
16741
|
-
LINE_WIDTH_PRESETS:
|
|
16426
|
+
LINE_WIDTH_PRESETS: number[] | null | undefined;
|
|
16742
16427
|
/**
|
|
16743
16428
|
* The list of colors to use in the text highlight annotation toolbar. You can't use transparent for this.
|
|
16744
16429
|
*
|
|
@@ -16761,7 +16446,7 @@ declare const Options: {
|
|
|
16761
16446
|
* }
|
|
16762
16447
|
* ];
|
|
16763
16448
|
*/
|
|
16764
|
-
HIGHLIGHT_COLOR_PRESETS:
|
|
16449
|
+
HIGHLIGHT_COLOR_PRESETS: ColorPreset[];
|
|
16765
16450
|
/**
|
|
16766
16451
|
* The list of colors to use in the text markup annotation toolbar.
|
|
16767
16452
|
*
|
|
@@ -16784,7 +16469,7 @@ declare const Options: {
|
|
|
16784
16469
|
* }
|
|
16785
16470
|
* ];
|
|
16786
16471
|
*/
|
|
16787
|
-
TEXT_MARKUP_COLOR_PRESETS:
|
|
16472
|
+
TEXT_MARKUP_COLOR_PRESETS: ColorPreset[];
|
|
16788
16473
|
/**
|
|
16789
16474
|
* The list of colors to use for note annotations. You can't pass transparent color as an option.
|
|
16790
16475
|
*
|
|
@@ -16808,7 +16493,7 @@ declare const Options: {
|
|
|
16808
16493
|
* }
|
|
16809
16494
|
* ];
|
|
16810
16495
|
*/
|
|
16811
|
-
NOTE_COLOR_PRESETS:
|
|
16496
|
+
NOTE_COLOR_PRESETS: ColorPreset[];
|
|
16812
16497
|
/**
|
|
16813
16498
|
* Enables PDF JavaScript support. PDF documents may contain JavaScript for interactivity.
|
|
16814
16499
|
* This enables things like form validation, formatting, or automatic calculation which are performed by a JavaScript scripts
|
|
@@ -21593,9 +21278,9 @@ declare abstract class ShapeAnnotationSerializer extends AnnotationSerializer {
|
|
|
21593
21278
|
measurementPrecision: IMeasurementPrecision | null | undefined;
|
|
21594
21279
|
measurementScale: MeasurementScale | null;
|
|
21595
21280
|
group?: string | null | undefined;
|
|
21596
|
-
canSetGroup?: boolean;
|
|
21597
|
-
isEditable?: boolean;
|
|
21598
|
-
isDeletable?: boolean;
|
|
21281
|
+
canSetGroup?: boolean | undefined;
|
|
21282
|
+
isEditable?: boolean | undefined;
|
|
21283
|
+
isDeletable?: boolean | undefined;
|
|
21599
21284
|
blendMode?: IBlendMode | undefined;
|
|
21600
21285
|
id: string | null;
|
|
21601
21286
|
name: string | null;
|
|
@@ -23398,7 +23083,7 @@ declare function SignaturesMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
23398
23083
|
* new `array` of signatures which would overwrite the existing one, or a callback that will get
|
|
23399
23084
|
* invoked with the current toolbar items and is expected to return the new `array` of items.
|
|
23400
23085
|
*/
|
|
23401
|
-
setInkSignatures(stateOrFunction:
|
|
23086
|
+
setInkSignatures(stateOrFunction: List<ImageAnnotation | InkAnnotation> | ((annotations: List<InkAnnotation | ImageAnnotation>) => List<InkAnnotation | ImageAnnotation>)): Promise<void>;
|
|
23402
23087
|
/**
|
|
23403
23088
|
* This method is used to update the stored signatures list.
|
|
23404
23089
|
* It makes it possible to add new signatures and edit or remove existing ones.
|
|
@@ -23459,7 +23144,7 @@ declare function SignaturesMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
23459
23144
|
* @param stateOrFunction - a new `array` of signatures which would overwrite the existing one, or a callback that will get
|
|
23460
23145
|
* invoked with the current toolbar items and is expected to return the new `array` of items.
|
|
23461
23146
|
*/
|
|
23462
|
-
setStoredSignatures(stateOrFunction:
|
|
23147
|
+
setStoredSignatures(stateOrFunction: List<ImageAnnotation | InkAnnotation> | ((annotations: List<InkAnnotation | ImageAnnotation>) => List<InkAnnotation | ImageAnnotation>)): Promise<void>;
|
|
23463
23148
|
|
|
23464
23149
|
};
|
|
23465
23150
|
} & T;
|
|
@@ -24960,7 +24645,7 @@ declare const textComparisonActionCreators: {
|
|
|
24960
24645
|
payload: {
|
|
24961
24646
|
instanceA: Instance;
|
|
24962
24647
|
instanceB: Instance;
|
|
24963
|
-
aiComparisonData?: AIComparisonData | null;
|
|
24648
|
+
aiComparisonData?: AIComparisonData | null | undefined;
|
|
24964
24649
|
};
|
|
24965
24650
|
};
|
|
24966
24651
|
setToolbarItems: (payload: List<ToolbarItem_2>) => {
|
|
@@ -25299,7 +24984,6 @@ declare interface TextComparisonState {
|
|
|
25299
24984
|
filteredChanges: AIADocumentChangeTaggingItem[] | null;
|
|
25300
24985
|
displayChanges: List<TextComparisonChange>;
|
|
25301
24986
|
hasActiveFilters: boolean;
|
|
25302
|
-
isRTL: boolean;
|
|
25303
24987
|
}
|
|
25304
24988
|
|
|
25305
24989
|
export declare interface TextComparisonToolbarItem extends Omit<ToolItem_2, 'type' | 'onPress'> {
|