@nutrient-sdk/viewer 1.9.0-nightly.20251106 → 1.9.0-nightly.20251108
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 +372 -57
- package/dist/nutrient-viewer-lib/{chunk-848-beb64a662c3d7de6.js → chunk-848-bcb8793282ed5983.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-core-worker-ae0446589300925f.js → chunk-core-worker-bcc86f42bf5ea5cd.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-gdpicture-a830502caf49912d.js → chunk-gdpicture-acd0811be11ef2f9.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-gdpicture-worker-3803380ec39567e3.js → chunk-gdpicture-worker-925435696a91aaa5.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-lazy-sha-5967b92036d4829d.js → chunk-lazy-sha-1942fa67db1dcbdd.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ar-fb2ee5126d67453b.js → chunk-locale-ar-6fd8ac5e5f916cb9.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-cs-d0f48e97782e47fb.js → chunk-locale-cs-18080940cf8d699a.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-cy-93abaf3b574ba410.js → chunk-locale-cy-a03b063176f3402b.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-da-636d20c32a94a46d.js → chunk-locale-da-a9f10ee95993c4b7.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-de-cb0054348c9a24c1.js → chunk-locale-de-a5fb51d585c43cd8.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-el-7a692b3ee14a333c.js → chunk-locale-el-fe89138ea631d0e1.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-en-GB-46f7ed2c773e2066.js → chunk-locale-en-GB-a8852226b45f9acd.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-es-eb75f04a243ac738.js → chunk-locale-es-44c61a38ec254be3.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fi-ff83353adb573859.js → chunk-locale-fi-74c079ac0b7b0941.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-fbf3b71dbe4c92f4.js → chunk-locale-fr-763f61dcd7d84a34.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-CA-c2782d57d27ea252.js → chunk-locale-fr-CA-ed80ded73afbd371.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-he-0e3a8dadc422511e.js → chunk-locale-he-f1cdf8d052fb870f.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-hr-4db7a6aab120cc9b.js → chunk-locale-hr-0a020cf3aae1ecab.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-id-d79328df386edb30.js → chunk-locale-id-1cd43d47181d10e0.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-it-2e4d513695b8f82e.js → chunk-locale-it-b664c57fc54ae4e2.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ja-a57ba99d71b8cadd.js → chunk-locale-ja-93cc7e7bfe81209b.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ko-00dcb471fa8d9eee.js → chunk-locale-ko-2cf7391b08c933c8.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ms-f010c014a806a33e.js → chunk-locale-ms-e095947f1a6e3945.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-nb-NO-17a29fdb79799feb.js → chunk-locale-nb-NO-626903784b66dadd.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-nl-4d28f0b6ca9b28f0.js → chunk-locale-nl-b82fd3d077c15505.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pl-69bd5e1bb0ce63c8.js → chunk-locale-pl-300797fedd903a95.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-9b66ccc664f4e7a8.js → chunk-locale-pt-225751f113a5aa9e.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-PT-19f1b69be8b5c859.js → chunk-locale-pt-PT-0ebaa3ddebbed4c0.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ru-57dd3dd81cc086d7.js → chunk-locale-ru-30f64094c6510969.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sk-ea9e3ae96348d6f3.js → chunk-locale-sk-9207a33a1c1a5a9d.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sl-7f1fadfb51e9c6a6.js → chunk-locale-sl-e042c34e26aefbab.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sv-710a3aa3b7e62960.js → chunk-locale-sv-b764c61ba3fad2df.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-th-8983853191eb6ab9.js → chunk-locale-th-7e0b306fffe39fa9.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-tr-1dab2df43186fc5e.js → chunk-locale-tr-75cf26e2187727e7.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-uk-feaa5b66d63976ff.js → chunk-locale-uk-1e000c3777396f13.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hans-84716cc9f182047c.js → chunk-locale-zh-Hans-f8b7730d17b40be2.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hant-07e25e4c35b018f6.js → chunk-locale-zh-Hant-5c701ab45afac43e.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-offscreen-renderer-worker-781af49639028f51.js → chunk-offscreen-renderer-worker-e2514d150616da5a.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-server-4e0d2acd1e8eae9c.js → chunk-server-83cb5a820cfbb045.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-server-instant-6b81c07150548eaf.js → chunk-server-instant-c07671374fb9bee9.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-server-rest-0b77428d271dde3e.js → chunk-server-rest-2bc4ebb99d3a216c.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-standalone-d9dd85f9c9bd4703.js → chunk-standalone-2de194e1cdea9d6e.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-standalone-server-d1e7b0e07d9ac8b8.js → chunk-standalone-server-fc5f81af99a2faf6.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/npm-assets-deprecated.js +1 -0
- package/dist/nutrient-viewer-lib/{nutrient-viewer-1.9.0-e1c5b2f.css → nutrient-viewer-1.9.0-97b5ceb.css} +10 -5
- package/dist/nutrient-viewer-lib/{nutrient-viewer-e3e03fdf97d7b327.wasm → nutrient-viewer-505c0dd3b7233e46.wasm} +0 -0
- package/dist/nutrient-viewer-lib/{nutrient-viewer-c80b83693128d5ab.wasm.js → nutrient-viewer-52d8e5da5c65466a.wasm.js} +2 -2
- 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/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* This class should be used to create custom Immutable Record. It will overwrite the default
|
|
5
3
|
* `Immutable#equals()` method to include the class name. if we don't do this, two different classes
|
|
@@ -384,7 +382,7 @@ declare const allowedTextComparisonInnerToolbarItem: string[];
|
|
|
384
382
|
|
|
385
383
|
declare const allowedTextComparisonToolbarItem: string[];
|
|
386
384
|
|
|
387
|
-
declare const allowedToolbarTypes: (
|
|
385
|
+
declare const allowedToolbarTypes: ((typeof extraToolbarTypes)[number] | (typeof defaultToolbarTypes)[number])[];
|
|
388
386
|
|
|
389
387
|
/**
|
|
390
388
|
* @class
|
|
@@ -596,6 +594,34 @@ export declare class Annotation<T extends AnnotationProperties = AnnotationPrope
|
|
|
596
594
|
constructor(options?: Partial<T>);
|
|
597
595
|
}
|
|
598
596
|
|
|
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
|
+
|
|
599
625
|
/** @inline */
|
|
600
626
|
declare type AnnotationAdditionalActionsType = {
|
|
601
627
|
onPointerEnter?: Action;
|
|
@@ -1013,7 +1039,7 @@ declare function AnnotationSelectionMixin<T extends Class<BaseMixin>>(Base: T):
|
|
|
1013
1039
|
*/
|
|
1014
1040
|
getAnnotationsGroups(): Map_2<string, {
|
|
1015
1041
|
groupKey: string;
|
|
1016
|
-
annotationsIds: Set_2<
|
|
1042
|
+
annotationsIds: Set_2<ID>;
|
|
1017
1043
|
}> | null;
|
|
1018
1044
|
/**
|
|
1019
1045
|
* If there are any annotations groups, this function will return all annotations groups.
|
|
@@ -1046,9 +1072,9 @@ declare class AnnotationSerializer {
|
|
|
1046
1072
|
toJSON(): Omit<BaseAnnotationJSON, 'type'>;
|
|
1047
1073
|
static fromJSON(id: ID | null, json: IAnnotationJSON, options?: ICollaboratorPermissionsOptions): {
|
|
1048
1074
|
group?: string | null | undefined;
|
|
1049
|
-
canSetGroup?: boolean
|
|
1050
|
-
isEditable?: boolean
|
|
1051
|
-
isDeletable?: boolean
|
|
1075
|
+
canSetGroup?: boolean;
|
|
1076
|
+
isEditable?: boolean;
|
|
1077
|
+
isDeletable?: boolean;
|
|
1052
1078
|
blendMode?: IBlendMode | undefined;
|
|
1053
1079
|
id: string | null;
|
|
1054
1080
|
name: string | null;
|
|
@@ -1949,9 +1975,9 @@ declare abstract class BaseTextMarkupSerializer extends AnnotationSerializer {
|
|
|
1949
1975
|
static fromJSON(id: ID | null, json: Omit<BaseTextMarkupAnnotationJSON, 'id' | 'group' | 'permissions'>, options?: ICollaboratorPermissionsOptions): {
|
|
1950
1976
|
rects: List<Rect>;
|
|
1951
1977
|
group?: string | null | undefined;
|
|
1952
|
-
canSetGroup?: boolean
|
|
1953
|
-
isEditable?: boolean
|
|
1954
|
-
isDeletable?: boolean
|
|
1978
|
+
canSetGroup?: boolean;
|
|
1979
|
+
isEditable?: boolean;
|
|
1980
|
+
isDeletable?: boolean;
|
|
1955
1981
|
blendMode?: IBlendMode | undefined;
|
|
1956
1982
|
id: string | null;
|
|
1957
1983
|
name: string | null;
|
|
@@ -2666,7 +2692,7 @@ declare function Collection<V>(obj: {[key: string]: V;}): Collection.Keyed<strin
|
|
|
2666
2692
|
* Implementations should extend one of the subclasses, `Collection.Keyed`,
|
|
2667
2693
|
* `Collection.Indexed`, or `Collection.Set`.
|
|
2668
2694
|
*/
|
|
2669
|
-
declare
|
|
2695
|
+
declare module Collection {
|
|
2670
2696
|
|
|
2671
2697
|
/**
|
|
2672
2698
|
* @deprecated use `const { isKeyed } = require('immutable')`
|
|
@@ -2696,7 +2722,7 @@ declare namespace Collection {
|
|
|
2696
2722
|
* tuple, in other words, `Collection#entries` is the default iterator for
|
|
2697
2723
|
* Keyed Collections.
|
|
2698
2724
|
*/
|
|
2699
|
-
|
|
2725
|
+
module Keyed {}
|
|
2700
2726
|
|
|
2701
2727
|
/**
|
|
2702
2728
|
* Creates a Collection.Keyed
|
|
@@ -2860,7 +2886,7 @@ declare namespace Collection {
|
|
|
2860
2886
|
* preserve indices, using them as keys, convert to a Collection.Keyed by
|
|
2861
2887
|
* calling `toKeyedSeq`.
|
|
2862
2888
|
*/
|
|
2863
|
-
|
|
2889
|
+
module Indexed {}
|
|
2864
2890
|
|
|
2865
2891
|
/**
|
|
2866
2892
|
* Creates a new Collection.Indexed.
|
|
@@ -3153,7 +3179,7 @@ declare namespace Collection {
|
|
|
3153
3179
|
* )
|
|
3154
3180
|
* ```
|
|
3155
3181
|
*/
|
|
3156
|
-
|
|
3182
|
+
module Set {}
|
|
3157
3183
|
|
|
3158
3184
|
/**
|
|
3159
3185
|
* Similar to `Collection()`, but always returns a Collection.Set.
|
|
@@ -4351,6 +4377,8 @@ export declare type ColorPreset = {
|
|
|
4351
4377
|
};
|
|
4352
4378
|
};
|
|
4353
4379
|
|
|
4380
|
+
declare type ColorPreset_2 = ColorPreset;
|
|
4381
|
+
|
|
4354
4382
|
/**
|
|
4355
4383
|
* @class
|
|
4356
4384
|
*
|
|
@@ -5407,29 +5435,312 @@ declare const defaultAnnotationPresets: {
|
|
|
5407
5435
|
[key: string]: Record<string, unknown>;
|
|
5408
5436
|
};
|
|
5409
5437
|
|
|
5410
|
-
declare const defaultAnnotationsSidebarContent:
|
|
5438
|
+
declare const defaultAnnotationsSidebarContent: typeof defaultAnnotationsSidebarContent_2;
|
|
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;
|
|
5411
5468
|
|
|
5412
|
-
|
|
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: {
|
|
5413
5485
|
type: BuiltInDocumentEditorFooterItem;
|
|
5414
5486
|
}[];
|
|
5415
5487
|
|
|
5416
|
-
declare const defaultDocumentEditorToolbarItems:
|
|
5488
|
+
declare const defaultDocumentEditorToolbarItems: typeof defaultDocumentEditorToolbarItems_2;
|
|
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: {
|
|
5417
5513
|
type: BuiltInDocumentEditorToolbarItemType;
|
|
5418
5514
|
}[];
|
|
5419
5515
|
|
|
5420
5516
|
declare const defaultElectronicSignatureColorPresets: ColorPreset[];
|
|
5421
5517
|
|
|
5422
|
-
declare const defaultStampAnnotationTemplates:
|
|
5423
|
-
|
|
5424
|
-
|
|
5518
|
+
declare const defaultStampAnnotationTemplates: typeof defaultStampAnnotationTemplates_2;
|
|
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: {
|
|
5425
5571
|
type: string;
|
|
5426
5572
|
}[];
|
|
5427
5573
|
|
|
5428
|
-
declare const defaultTextComparisonToolbarItems:
|
|
5574
|
+
declare const defaultTextComparisonToolbarItems: typeof defaultTextComparisonToolbarItems_2;
|
|
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: {
|
|
5429
5588
|
type: string;
|
|
5430
5589
|
}[];
|
|
5431
5590
|
|
|
5432
|
-
declare const defaultToolbarItems:
|
|
5591
|
+
declare const defaultToolbarItems: typeof defaultToolbarItems_2;
|
|
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 [{
|
|
5433
5744
|
readonly type: "sidebar-thumbnails";
|
|
5434
5745
|
}, {
|
|
5435
5746
|
readonly type: "sidebar-document-outline";
|
|
@@ -5511,6 +5822,8 @@ declare const defaultToolbarItems: readonly [{
|
|
|
5511
5822
|
readonly type: "debug";
|
|
5512
5823
|
}];
|
|
5513
5824
|
|
|
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
|
+
|
|
5514
5827
|
/**
|
|
5515
5828
|
* Describes the configuration used to populate a document template.
|
|
5516
5829
|
*
|
|
@@ -9927,6 +10240,8 @@ export declare type ExportPDFFlags = {
|
|
|
9927
10240
|
officeConversionSettings?: OfficeConversionSettings;
|
|
9928
10241
|
};
|
|
9929
10242
|
|
|
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
|
+
|
|
9930
10245
|
/**
|
|
9931
10246
|
* @class
|
|
9932
10247
|
* This record is used to persist information related to custom fonts on Standalone deployments.
|
|
@@ -10287,10 +10602,10 @@ export declare class FormFieldValue extends FormFieldValue_base {
|
|
|
10287
10602
|
}
|
|
10288
10603
|
|
|
10289
10604
|
declare const FormFieldValue_base: Immutable.Record.Factory<{
|
|
10290
|
-
name?: string
|
|
10291
|
-
value?: string |
|
|
10292
|
-
optionIndexes?: Immutable.List<number
|
|
10293
|
-
isFitting?: boolean
|
|
10605
|
+
name?: string;
|
|
10606
|
+
value?: string | Immutable.List<string> | number | null;
|
|
10607
|
+
optionIndexes?: Immutable.List<number>;
|
|
10608
|
+
isFitting?: boolean;
|
|
10294
10609
|
}>;
|
|
10295
10610
|
|
|
10296
10611
|
/**
|
|
@@ -11471,7 +11786,7 @@ declare interface INamedAction extends ActionProperties {
|
|
|
11471
11786
|
action?: string;
|
|
11472
11787
|
}
|
|
11473
11788
|
|
|
11474
|
-
declare const InheritableImmutableRecord: new <T extends Record<string, unknown>>(values?: Partial<T> | Iterable<[string, unknown]>
|
|
11789
|
+
declare const InheritableImmutableRecord: new <T extends Record<string, unknown>>(values?: Partial<T> | Iterable<[string, unknown]>) => __dangerousImmutableRecordFactory<T>;
|
|
11475
11790
|
|
|
11476
11791
|
/**
|
|
11477
11792
|
* @class
|
|
@@ -11591,8 +11906,8 @@ declare class InkAnnotationSerializer extends AnnotationSerializer {
|
|
|
11591
11906
|
toJSON(): Serializers.InkAnnotationJSON;
|
|
11592
11907
|
static fromJSON(id: ID | null, json: Omit<Serializers.InkAnnotationJSON, 'id' | 'group' | 'permissions'>, options?: ICollaboratorPermissionsOptions): InkAnnotation;
|
|
11593
11908
|
_linesToJSON(): {
|
|
11594
|
-
points: [number, number]
|
|
11595
|
-
intensities: number
|
|
11909
|
+
points: Array<Array<[number, number]>>;
|
|
11910
|
+
intensities: Array<Array<number>>;
|
|
11596
11911
|
};
|
|
11597
11912
|
static _JSONToLines(linesJSON: {
|
|
11598
11913
|
points: Array<Array<[number, number]>>;
|
|
@@ -13378,7 +13693,7 @@ export declare function List<T>(collection: Iterable<T>): List<T>;
|
|
|
13378
13693
|
* "unset" index and an index set to `undefined`. `List#forEach` visits all
|
|
13379
13694
|
* indices from 0 to size, regardless of whether they were explicitly defined.
|
|
13380
13695
|
*/
|
|
13381
|
-
export declare
|
|
13696
|
+
export declare module List {
|
|
13382
13697
|
|
|
13383
13698
|
/**
|
|
13384
13699
|
* True if the provided value is a List
|
|
@@ -14051,7 +14366,7 @@ declare function Map_2(): Map_2<any, any>;
|
|
|
14051
14366
|
*
|
|
14052
14367
|
* Implemented by a hash-array mapped trie.
|
|
14053
14368
|
*/
|
|
14054
|
-
declare
|
|
14369
|
+
declare module Map_2 {
|
|
14055
14370
|
|
|
14056
14371
|
/**
|
|
14057
14372
|
* True if the provided value is a Map
|
|
@@ -15210,7 +15525,7 @@ declare function MiscellaneousMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
15210
15525
|
* on {@link Instance#addEventListener} for possible event types.
|
|
15211
15526
|
* @param listener - A listener function.
|
|
15212
15527
|
*/
|
|
15213
|
-
removeEventListener<
|
|
15528
|
+
removeEventListener<K extends keyof Events.EventNameToHandlerMap>(action: K, listener: Events.EventNameToHandlerMap[K]): void;
|
|
15214
15529
|
/**
|
|
15215
15530
|
* Brings the rect (in PDF page coordinates) into the viewport. This function will not change
|
|
15216
15531
|
* the zoom level.
|
|
@@ -15262,7 +15577,7 @@ declare function MiscellaneousMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
15262
15577
|
* @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.
|
|
15263
15578
|
* @returns The transformed point or rectangle.
|
|
15264
15579
|
*/
|
|
15265
|
-
transformContentClientToPageSpace<
|
|
15580
|
+
transformContentClientToPageSpace<T_1 extends Rect | Point>(rectOrPoint: T_1, pageIndex: number): T_1;
|
|
15266
15581
|
/**
|
|
15267
15582
|
* Transforms a {@link NutrientViewer.Geometry.Point} or a {@link NutrientViewer.Geometry.Rect} from the
|
|
15268
15583
|
* PDF page space to the client space inside the content frame.
|
|
@@ -15279,7 +15594,7 @@ declare function MiscellaneousMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
15279
15594
|
* @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.
|
|
15280
15595
|
* @returns The transformed point or rectangle.
|
|
15281
15596
|
*/
|
|
15282
|
-
transformContentPageToClientSpace<T_1 extends
|
|
15597
|
+
transformContentPageToClientSpace<T_1 extends Rect | Point>(rectOrPoint: T_1, pageIndex: number): T_1;
|
|
15283
15598
|
/**
|
|
15284
15599
|
* Transforms a {@link NutrientViewer.Geometry.Point} or a {@link NutrientViewer.Geometry.Rect} from the
|
|
15285
15600
|
* client space inside the main frame to the PDF page space.
|
|
@@ -15299,7 +15614,7 @@ declare function MiscellaneousMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
15299
15614
|
* @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.
|
|
15300
15615
|
* @returns The transformed point or rectangle.
|
|
15301
15616
|
*/
|
|
15302
|
-
transformClientToPageSpace<
|
|
15617
|
+
transformClientToPageSpace<T_1 extends Rect | Point>(rectOrPoint: T_1, pageIndex: number): T_1;
|
|
15303
15618
|
/**
|
|
15304
15619
|
* Transforms a {@link NutrientViewer.Geometry.Point} or a {@link NutrientViewer.Geometry.Rect} from the
|
|
15305
15620
|
* PDF page space to the client space inside the main frame.
|
|
@@ -15318,7 +15633,7 @@ declare function MiscellaneousMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
15318
15633
|
* @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.
|
|
15319
15634
|
* @returns The transformed point or rectangle.
|
|
15320
15635
|
*/
|
|
15321
|
-
transformPageToClientSpace<
|
|
15636
|
+
transformPageToClientSpace<T_1 extends Rect | Point>(rectOrPoint: T_1, pageIndex: number): T_1;
|
|
15322
15637
|
/**
|
|
15323
15638
|
* Transforms a raw PDF bounding rect from the PDF page space to NutrientViewer's page space.
|
|
15324
15639
|
*
|
|
@@ -16415,7 +16730,7 @@ declare const Options: {
|
|
|
16415
16730
|
* @example
|
|
16416
16731
|
* NutrientViewer.Options.LINE_CAP_PRESETS = ["openArrow", "closedArrow", "none"];
|
|
16417
16732
|
*/
|
|
16418
|
-
LINE_CAP_PRESETS: LineCapPresets
|
|
16733
|
+
LINE_CAP_PRESETS: Array<LineCapPresets>;
|
|
16419
16734
|
/**
|
|
16420
16735
|
* The list of line widths to use for dropdowns in annotation toolbars.
|
|
16421
16736
|
*
|
|
@@ -16423,7 +16738,7 @@ declare const Options: {
|
|
|
16423
16738
|
* @example
|
|
16424
16739
|
* NutrientViewer.Options.LINE_WIDTH_PRESETS = [1, 2, 4, 8, 32];
|
|
16425
16740
|
*/
|
|
16426
|
-
LINE_WIDTH_PRESETS: number
|
|
16741
|
+
LINE_WIDTH_PRESETS: Array<number> | null | undefined;
|
|
16427
16742
|
/**
|
|
16428
16743
|
* The list of colors to use in the text highlight annotation toolbar. You can't use transparent for this.
|
|
16429
16744
|
*
|
|
@@ -16446,7 +16761,7 @@ declare const Options: {
|
|
|
16446
16761
|
* }
|
|
16447
16762
|
* ];
|
|
16448
16763
|
*/
|
|
16449
|
-
HIGHLIGHT_COLOR_PRESETS:
|
|
16764
|
+
HIGHLIGHT_COLOR_PRESETS: Array<ColorPreset_2>;
|
|
16450
16765
|
/**
|
|
16451
16766
|
* The list of colors to use in the text markup annotation toolbar.
|
|
16452
16767
|
*
|
|
@@ -16469,7 +16784,7 @@ declare const Options: {
|
|
|
16469
16784
|
* }
|
|
16470
16785
|
* ];
|
|
16471
16786
|
*/
|
|
16472
|
-
TEXT_MARKUP_COLOR_PRESETS:
|
|
16787
|
+
TEXT_MARKUP_COLOR_PRESETS: Array<ColorPreset_2>;
|
|
16473
16788
|
/**
|
|
16474
16789
|
* The list of colors to use for note annotations. You can't pass transparent color as an option.
|
|
16475
16790
|
*
|
|
@@ -16493,7 +16808,7 @@ declare const Options: {
|
|
|
16493
16808
|
* }
|
|
16494
16809
|
* ];
|
|
16495
16810
|
*/
|
|
16496
|
-
NOTE_COLOR_PRESETS:
|
|
16811
|
+
NOTE_COLOR_PRESETS: Array<ColorPreset_2>;
|
|
16497
16812
|
/**
|
|
16498
16813
|
* Enables PDF JavaScript support. PDF documents may contain JavaScript for interactivity.
|
|
16499
16814
|
* This enables things like form validation, formatting, or automatic calculation which are performed by a JavaScript scripts
|
|
@@ -16568,7 +16883,7 @@ declare function OrderedMap(): OrderedMap<any, any>;
|
|
|
16568
16883
|
* stable.
|
|
16569
16884
|
*/
|
|
16570
16885
|
|
|
16571
|
-
declare
|
|
16886
|
+
declare module OrderedMap {
|
|
16572
16887
|
|
|
16573
16888
|
/**
|
|
16574
16889
|
* True if the provided value is an OrderedMap.
|
|
@@ -16718,7 +17033,7 @@ declare function OrderedSet<T>(collection: Iterable<T>): OrderedSet<T>;
|
|
|
16718
17033
|
* consume more memory. `OrderedSet#add` is amortized O(log32 N), but not
|
|
16719
17034
|
* stable.
|
|
16720
17035
|
*/
|
|
16721
|
-
declare
|
|
17036
|
+
declare module OrderedSet {
|
|
16722
17037
|
|
|
16723
17038
|
/**
|
|
16724
17039
|
* True if the provided value is an OrderedSet.
|
|
@@ -17822,7 +18137,7 @@ declare function Record_2<TProps extends Object>(defaultValues: TProps, name?: s
|
|
|
17822
18137
|
* form isn't free. If converting Records to plain objects is common,
|
|
17823
18138
|
* consider sticking with plain objects to begin with.
|
|
17824
18139
|
*/
|
|
17825
|
-
declare
|
|
18140
|
+
declare module Record_2 {
|
|
17826
18141
|
|
|
17827
18142
|
/**
|
|
17828
18143
|
* True if `maybeRecord` is an instance of a Record.
|
|
@@ -17896,7 +18211,7 @@ declare namespace Record_2 {
|
|
|
17896
18211
|
* const alan: Person = makePerson({ name: 'Alan' });
|
|
17897
18212
|
* ```
|
|
17898
18213
|
*/
|
|
17899
|
-
|
|
18214
|
+
module Factory {}
|
|
17900
18215
|
|
|
17901
18216
|
interface Factory<TProps extends Object> {
|
|
17902
18217
|
(values?: Partial<TProps> | Iterable<[string, any]>): Record_2<TProps> & Readonly<TProps>;
|
|
@@ -19694,7 +20009,7 @@ declare function Seq(): Seq<any, any>;
|
|
|
19694
20009
|
* ```
|
|
19695
20010
|
*/
|
|
19696
20011
|
|
|
19697
|
-
declare
|
|
20012
|
+
declare module Seq {
|
|
19698
20013
|
/**
|
|
19699
20014
|
* True if `maybeSeq` is a Seq, it is not backed by a concrete
|
|
19700
20015
|
* structure such as Map, List, or Set.
|
|
@@ -19705,7 +20020,7 @@ declare namespace Seq {
|
|
|
19705
20020
|
/**
|
|
19706
20021
|
* `Seq` which represents key-value pairs.
|
|
19707
20022
|
*/
|
|
19708
|
-
|
|
20023
|
+
module Keyed {}
|
|
19709
20024
|
|
|
19710
20025
|
/**
|
|
19711
20026
|
* Always returns a Seq.Keyed, if input is not keyed, expects an
|
|
@@ -19823,7 +20138,7 @@ declare namespace Seq {
|
|
|
19823
20138
|
/**
|
|
19824
20139
|
* `Seq` which represents an ordered indexed list of values.
|
|
19825
20140
|
*/
|
|
19826
|
-
|
|
20141
|
+
module Indexed {
|
|
19827
20142
|
|
|
19828
20143
|
/**
|
|
19829
20144
|
* Provides an Seq.Indexed of the values provided.
|
|
@@ -19976,7 +20291,7 @@ declare namespace Seq {
|
|
|
19976
20291
|
* Because `Seq` are often lazy, `Seq.Set` does not provide the same guarantee
|
|
19977
20292
|
* of value uniqueness as the concrete `Set`.
|
|
19978
20293
|
*/
|
|
19979
|
-
|
|
20294
|
+
module Set {
|
|
19980
20295
|
|
|
19981
20296
|
/**
|
|
19982
20297
|
* Returns a Seq.Set of the provided values
|
|
@@ -20829,7 +21144,7 @@ declare function Set_2<T>(collection: Iterable<T>): Set_2<T>;
|
|
|
20829
21144
|
* `Immutable.is`, enabling Sets to uniquely include other Immutable
|
|
20830
21145
|
* collections, custom value types, and NaN.
|
|
20831
21146
|
*/
|
|
20832
|
-
declare
|
|
21147
|
+
declare module Set_2 {
|
|
20833
21148
|
|
|
20834
21149
|
/**
|
|
20835
21150
|
* True if the provided value is a Set
|
|
@@ -21278,9 +21593,9 @@ declare abstract class ShapeAnnotationSerializer extends AnnotationSerializer {
|
|
|
21278
21593
|
measurementPrecision: IMeasurementPrecision | null | undefined;
|
|
21279
21594
|
measurementScale: MeasurementScale | null;
|
|
21280
21595
|
group?: string | null | undefined;
|
|
21281
|
-
canSetGroup?: boolean
|
|
21282
|
-
isEditable?: boolean
|
|
21283
|
-
isDeletable?: boolean
|
|
21596
|
+
canSetGroup?: boolean;
|
|
21597
|
+
isEditable?: boolean;
|
|
21598
|
+
isDeletable?: boolean;
|
|
21284
21599
|
blendMode?: IBlendMode | undefined;
|
|
21285
21600
|
id: string | null;
|
|
21286
21601
|
name: string | null;
|
|
@@ -23057,7 +23372,7 @@ declare function SignaturesMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
23057
23372
|
* new `array` of signatures which would overwrite the existing one, or a callback that will get
|
|
23058
23373
|
* invoked with the current toolbar items and is expected to return the new `array` of items.
|
|
23059
23374
|
*/
|
|
23060
|
-
setInkSignatures(stateOrFunction: List<
|
|
23375
|
+
setInkSignatures(stateOrFunction: ((annotations: List<InkAnnotation | ImageAnnotation>) => List<InkAnnotation | ImageAnnotation>) | List<InkAnnotation | ImageAnnotation>): Promise<void>;
|
|
23061
23376
|
/**
|
|
23062
23377
|
* This method is used to update the stored signatures list.
|
|
23063
23378
|
* It makes it possible to add new signatures and edit or remove existing ones.
|
|
@@ -23118,7 +23433,7 @@ declare function SignaturesMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
23118
23433
|
* @param stateOrFunction - a new `array` of signatures which would overwrite the existing one, or a callback that will get
|
|
23119
23434
|
* invoked with the current toolbar items and is expected to return the new `array` of items.
|
|
23120
23435
|
*/
|
|
23121
|
-
setStoredSignatures(stateOrFunction: List<
|
|
23436
|
+
setStoredSignatures(stateOrFunction: ((annotations: List<InkAnnotation | ImageAnnotation>) => List<InkAnnotation | ImageAnnotation>) | List<InkAnnotation | ImageAnnotation>): Promise<void>;
|
|
23122
23437
|
|
|
23123
23438
|
};
|
|
23124
23439
|
} & T;
|
|
@@ -23331,7 +23646,7 @@ declare function Stack<T>(collection: Iterable<T>): Stack<T>;
|
|
|
23331
23646
|
*
|
|
23332
23647
|
* Stack is implemented with a Single-Linked List.
|
|
23333
23648
|
*/
|
|
23334
|
-
declare
|
|
23649
|
+
declare module Stack {
|
|
23335
23650
|
|
|
23336
23651
|
/**
|
|
23337
23652
|
* True if the provided value is a Stack
|
|
@@ -24619,7 +24934,7 @@ declare const textComparisonActionCreators: {
|
|
|
24619
24934
|
payload: {
|
|
24620
24935
|
instanceA: Instance;
|
|
24621
24936
|
instanceB: Instance;
|
|
24622
|
-
aiComparisonData?: AIComparisonData | null
|
|
24937
|
+
aiComparisonData?: AIComparisonData | null;
|
|
24623
24938
|
};
|
|
24624
24939
|
};
|
|
24625
24940
|
setToolbarItems: (payload: List<ToolbarItem_2>) => {
|