@nutrient-sdk/viewer 1.10.0-nightly.20251202 → 1.10.0-nightly.20251204
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 +137 -73
- package/dist/nutrient-viewer-lib/{chunk-848-75ecf115539306f6.js → chunk-848-566d2794c666c341.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-core-worker-5b801db57fd7b15d.js → chunk-core-worker-3eb3dbd9345ea1cb.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-gdpicture-fa6509e9a4937591.js → chunk-gdpicture-bedcf6ed8542f78b.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-gdpicture-worker-6bc2e7ba072506a7.js → chunk-gdpicture-worker-5a0b3c302389473f.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-lazy-sha-2cc9c392095d7338.js → chunk-lazy-sha-b3378a1fb57408d3.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ar-b2bcbb9dfca3d343.js → chunk-locale-ar-9c64dd3721321376.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-cs-5d4e6b7acff3b2da.js → chunk-locale-cs-586a4dd23f3287ec.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-cy-ac178b4cddd7e82e.js → chunk-locale-cy-b7087af446b88acf.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-da-192ce5b69e772750.js → chunk-locale-da-058df04c22f3a92c.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-de-2421a5acf9a98757.js → chunk-locale-de-d524910f2d8488e5.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-el-23000762f38175b1.js → chunk-locale-el-a40477e862c68b17.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-en-GB-2cf95de4d45f1170.js → chunk-locale-en-GB-6da1c6de86b95a2c.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-es-1425670b4694fb8b.js → chunk-locale-es-6e79ac3b3ac7b139.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fi-d50f5c1173559dab.js → chunk-locale-fi-259110fd2c1141e2.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-CA-16529f06ebd60122.js → chunk-locale-fr-CA-80932c3d43d6255a.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-26fd67c8ef729569.js → chunk-locale-fr-a1b0ff39cb939cd0.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-he-8ea01cddd8771791.js → chunk-locale-he-0432f8a8f5d8ba32.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-hr-8a79362f3de92b3b.js → chunk-locale-hr-90b6dc34a65a2b0b.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-id-e73f363322de01ee.js → chunk-locale-id-d6f22bc7eb8d9249.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-it-2c7fccf0c51055b4.js → chunk-locale-it-d84a45842183ff14.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ja-82f27e1cf4da1a1d.js → chunk-locale-ja-4ca5c440a98b4c5d.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ko-4e2dbddceeef311f.js → chunk-locale-ko-8780c9fd7a170d99.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ms-efdc60445d8197f2.js → chunk-locale-ms-1977dfc339d347d4.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-nb-NO-2a7d148ec7e911e9.js → chunk-locale-nb-NO-1f571083f6962d2f.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-nl-de30d3759be2023a.js → chunk-locale-nl-6f916996d2dc4cb9.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pl-0d6e482ed7c959bc.js → chunk-locale-pl-7d27f841c09ab414.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-PT-9d889388d4139ab7.js → chunk-locale-pt-PT-d02bed8111be6acb.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-5e57c566fe199754.js → chunk-locale-pt-b673d09eca1029cc.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-ru-a34dcecd2dc12398.js → chunk-locale-ru-ee2a2477276c7f96.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sk-db7660ccabe508fe.js → chunk-locale-sk-fcb71d9d302bee66.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sl-0cf0ec506dd3d5f1.js → chunk-locale-sl-4d2c3e425cd7ed9d.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-sv-afcf1da054758e41.js → chunk-locale-sv-c92d5afa0048b5a4.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-th-29c2cebec3b529e4.js → chunk-locale-th-1453bd9cd0751432.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-tr-36aa5c51b339ffbc.js → chunk-locale-tr-c87585128ddbfac4.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-uk-a85a2403d650bd6a.js → chunk-locale-uk-c363c140e4df0291.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hans-583540e259e1e58a.js → chunk-locale-zh-Hans-967cd72690c47cd6.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hant-f9460f8ec946d1de.js → chunk-locale-zh-Hant-cdc4ae59dd14b715.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-offscreen-renderer-worker-3f953b157de9b8ca.js → chunk-offscreen-renderer-worker-ed88cd87540e3f57.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-server-b8dda516f8468b5a.js → chunk-server-4969a1d305ee044e.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-server-instant-f9f0c67d1460d12d.js → chunk-server-instant-2d11b0dd7b93e3a4.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-server-rest-d7b93fa8a554bf3c.js → chunk-server-rest-f472078d542d7c02.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-standalone-0568d8b5365c4a40.js → chunk-standalone-9b25a32b4baafb3c.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-standalone-server-34b761d9e9141d6c.js → chunk-standalone-server-9ceca15e35018af6.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.10.0-060c70f.css → nutrient-viewer-1.10.0-0e4fc6e.css} +4 -1
- package/dist/nutrient-viewer-lib/nutrient-viewer-9303291e7f6b26aa.wasm.js +1 -1
- package/dist/nutrient-viewer-lib/{nutrient-viewer-ca5b9c0826a78a6f.wasm → nutrient-viewer-fd5b278f7330726b.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/index.d.ts
CHANGED
|
@@ -374,7 +374,9 @@ declare interface AIEnhancedTextComparisonChange extends TextComparisonChange {
|
|
|
374
374
|
* @enum
|
|
375
375
|
*/
|
|
376
376
|
declare const Alignment: {
|
|
377
|
+
/** Aligns the element to the start of the container (left in LTR, right in RTL layout). */
|
|
377
378
|
readonly START: "START";
|
|
379
|
+
/** Aligns the element to the end of the container (right in LTR, left in RTL layout). */
|
|
378
380
|
readonly END: "END";
|
|
379
381
|
};
|
|
380
382
|
|
|
@@ -2046,17 +2048,29 @@ declare let baseUrl: string | undefined;
|
|
|
2046
2048
|
* @enum
|
|
2047
2049
|
*/
|
|
2048
2050
|
declare const BlendMode: {
|
|
2051
|
+
/** Default blend mode. The source color replaces the destination color. */
|
|
2049
2052
|
readonly normal: "normal";
|
|
2053
|
+
/** Multiplies the source and destination colors, resulting in a darker color. */
|
|
2050
2054
|
readonly multiply: "multiply";
|
|
2055
|
+
/** Inverts, multiplies, and inverts again, resulting in a lighter color. */
|
|
2051
2056
|
readonly screen: "screen";
|
|
2057
|
+
/** Combines multiply and screen modes depending on the destination color. */
|
|
2052
2058
|
readonly overlay: "overlay";
|
|
2059
|
+
/** Selects the darker of the source and destination colors. */
|
|
2053
2060
|
readonly darken: "darken";
|
|
2061
|
+
/** Selects the lighter of the source and destination colors. */
|
|
2054
2062
|
readonly lighten: "lighten";
|
|
2063
|
+
/** Brightens the destination color to reflect the source color. */
|
|
2055
2064
|
readonly colorDodge: "colorDodge";
|
|
2065
|
+
/** Darkens the destination color to reflect the source color. */
|
|
2056
2066
|
readonly colorBurn: "colorBurn";
|
|
2067
|
+
/** Multiplies or screens colors depending on the source color value. */
|
|
2057
2068
|
readonly hardLight: "hardLight";
|
|
2069
|
+
/** Darkens or lightens colors depending on the source color value. */
|
|
2058
2070
|
readonly softLight: "softLight";
|
|
2071
|
+
/** Subtracts the darker of the two colors from the lighter color. */
|
|
2059
2072
|
readonly difference: "difference";
|
|
2073
|
+
/** Similar to difference but with lower contrast. */
|
|
2060
2074
|
readonly exclusion: "exclusion";
|
|
2061
2075
|
};
|
|
2062
2076
|
|
|
@@ -2170,10 +2184,15 @@ declare function BookmarksMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
2170
2184
|
* @enum
|
|
2171
2185
|
*/
|
|
2172
2186
|
declare const BorderStyle: {
|
|
2187
|
+
/** A continuous solid line border. */
|
|
2173
2188
|
readonly solid: "solid";
|
|
2189
|
+
/** A dashed line border with evenly spaced gaps. */
|
|
2174
2190
|
readonly dashed: "dashed";
|
|
2191
|
+
/** A 3D border with a raised, beveled appearance. */
|
|
2175
2192
|
readonly beveled: "beveled";
|
|
2193
|
+
/** A 3D border with a recessed, inset appearance. */
|
|
2176
2194
|
readonly inset: "inset";
|
|
2195
|
+
/** A single line at the bottom of the widget, typically used for text fields. */
|
|
2177
2196
|
readonly underline: "underline";
|
|
2178
2197
|
};
|
|
2179
2198
|
|
|
@@ -2237,10 +2256,9 @@ export declare type BuildInstructions = {
|
|
|
2237
2256
|
[key: string]: any;
|
|
2238
2257
|
};
|
|
2239
2258
|
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
};
|
|
2259
|
+
export declare interface BuiltInAnnotationToolbarItem {
|
|
2260
|
+
type: 'stroke-color' | 'fill-color' | 'background-color' | 'opacity' | 'line-width' | 'blend-mode' | 'spacer' | 'delete' | 'annotation-note' | 'border-color' | 'border-width' | 'border-style' | 'color' | 'linecaps-dasharray' | 'line-style' | 'font' | 'overlay-text' | 'outline-color' | 'apply-redactions' | 'measurementType' | 'measurementScale' | 'back' | 'crop-current' | 'crop-all' | 'close';
|
|
2261
|
+
}
|
|
2244
2262
|
|
|
2245
2263
|
/** @inline */
|
|
2246
2264
|
declare type BuiltInColorProperty = 'color' | 'stroke-color' | 'fill-color' | 'background-color' | 'font-color' | 'outline-color' | 'border-color';
|
|
@@ -4826,16 +4844,27 @@ export declare type Configuration = ServerConfiguration | StandaloneConfiguratio
|
|
|
4826
4844
|
* @enum
|
|
4827
4845
|
*/
|
|
4828
4846
|
export declare const Conformance: {
|
|
4847
|
+
/** PDF/A-1a conformance level (Level A) - Full accessibility and tagged PDF support. */
|
|
4829
4848
|
readonly PDFA_1A: "pdfa-1a";
|
|
4849
|
+
/** PDF/A-1b conformance level (Level B) - Basic visual appearance preservation. */
|
|
4830
4850
|
readonly PDFA_1B: "pdfa-1b";
|
|
4851
|
+
/** PDF/A-2a conformance level (Level A) - Enhanced accessibility with JPEG 2000 and transparency support. */
|
|
4831
4852
|
readonly PDFA_2A: "pdfa-2a";
|
|
4853
|
+
/** PDF/A-2u conformance level (Level U) - Unicode mapping requirement with JPEG 2000 and transparency support. */
|
|
4832
4854
|
readonly PDFA_2U: "pdfa-2u";
|
|
4855
|
+
/** PDF/A-2b conformance level (Level B) - Basic visual appearance preservation with JPEG 2000 and transparency support. */
|
|
4833
4856
|
readonly PDFA_2B: "pdfa-2b";
|
|
4857
|
+
/** PDF/A-3a conformance level (Level A) - Full accessibility with embedded files support. */
|
|
4834
4858
|
readonly PDFA_3A: "pdfa-3a";
|
|
4859
|
+
/** PDF/A-3u conformance level (Level U) - Unicode mapping with embedded files support. */
|
|
4835
4860
|
readonly PDFA_3U: "pdfa-3u";
|
|
4861
|
+
/** PDF/A-3b conformance level (Level B) - Basic visual appearance preservation with embedded files support. */
|
|
4836
4862
|
readonly PDFA_3B: "pdfa-3b";
|
|
4863
|
+
/** PDF/A-4 conformance level - Latest standard based on PDF 2.0 with enhanced features. */
|
|
4837
4864
|
readonly PDFA_4: "pdfa-4";
|
|
4865
|
+
/** PDF/A-4e conformance level - Engineering variant with 3D support. */
|
|
4838
4866
|
readonly PDFA_4E: "pdfa-4e";
|
|
4867
|
+
/** PDF/A-4f conformance level - Enhanced support for embedded files. */
|
|
4839
4868
|
readonly PDFA_4F: "pdfa-4f";
|
|
4840
4869
|
};
|
|
4841
4870
|
|
|
@@ -7837,6 +7866,16 @@ declare class EventEmitter {
|
|
|
7837
7866
|
declare type EventListener_2 = (...args: any) => any;
|
|
7838
7867
|
|
|
7839
7868
|
/**
|
|
7869
|
+
* Defines the names of the events that can be emitted by the viewer.
|
|
7870
|
+
*
|
|
7871
|
+
* @example
|
|
7872
|
+
* ```ts
|
|
7873
|
+
* instance.addEventListener(NutrientViewer.EventName.VIEW_STATE_CHANGE, (viewState, previousViewState) => {
|
|
7874
|
+
* console.log(previousViewState.toJS());
|
|
7875
|
+
* console.log(viewState.toJS());
|
|
7876
|
+
* });
|
|
7877
|
+
* ```
|
|
7878
|
+
*
|
|
7840
7879
|
* @enum
|
|
7841
7880
|
*/
|
|
7842
7881
|
declare const EventName: {
|
|
@@ -10185,7 +10224,7 @@ export declare namespace Events {
|
|
|
10185
10224
|
[EventName.COMMENTS_WILL_SAVE]: () => void;
|
|
10186
10225
|
[EventName.COMMENTS_DID_SAVE]: () => void;
|
|
10187
10226
|
[EventName.INSTANT_CONNECTED_CLIENTS_CHANGE]: (clients: Map_2<string, InstantClient>) => void;
|
|
10188
|
-
[EventName.DOCUMENT_CHANGE]: () => void;
|
|
10227
|
+
[EventName.DOCUMENT_CHANGE]: (operations?: Array<DocumentOperations.DocumentOperationsUnion>) => void;
|
|
10189
10228
|
[EventName.DOCUMENT_SAVE_STATE_CHANGE]: (event: Events.SaveStateChangeEvent) => void;
|
|
10190
10229
|
[EventName.FORM_FIELD_VALUES_UPDATE]: (event: Events.FormFieldValuesUpdateEvent) => void;
|
|
10191
10230
|
[EventName.FORM_FIELD_VALUES_WILL_SAVE]: () => void;
|
|
@@ -11388,21 +11427,21 @@ declare type IAIComparisonOperationType = (typeof AIComparisonOperationType)[key
|
|
|
11388
11427
|
declare type IAIComparisonPhase = (typeof AIComparisonPhase)[keyof typeof AIComparisonPhase];
|
|
11389
11428
|
|
|
11390
11429
|
/** @inline */
|
|
11391
|
-
declare type IAlignment =
|
|
11430
|
+
declare type IAlignment = ValueOf<typeof Alignment>;
|
|
11392
11431
|
|
|
11393
11432
|
declare type IAnnotationJSON = Omit<BaseAnnotationJSON, 'id' | 'group' | 'permissions'>;
|
|
11394
11433
|
|
|
11395
11434
|
/** @inline */
|
|
11396
|
-
declare type IAnnotationToolbarType = '
|
|
11435
|
+
declare type IAnnotationToolbarType = BuiltInAnnotationToolbarItem['type'];
|
|
11397
11436
|
|
|
11398
11437
|
/** @inline */
|
|
11399
|
-
declare type IAutoSaveMode =
|
|
11438
|
+
declare type IAutoSaveMode = ValueOf<typeof AutoSaveMode>;
|
|
11400
11439
|
|
|
11401
11440
|
/** @inline */
|
|
11402
|
-
declare type IBlendMode =
|
|
11441
|
+
declare type IBlendMode = ValueOf<typeof BlendMode>;
|
|
11403
11442
|
|
|
11404
11443
|
/** @inline */
|
|
11405
|
-
declare type IBorderStyle =
|
|
11444
|
+
declare type IBorderStyle = ValueOf<typeof BorderStyle>;
|
|
11406
11445
|
|
|
11407
11446
|
/** @inline */
|
|
11408
11447
|
declare type ICallout = {
|
|
@@ -11420,7 +11459,7 @@ declare type ICollaboratorPermissionsOptions = {
|
|
|
11420
11459
|
};
|
|
11421
11460
|
|
|
11422
11461
|
/** @inline */
|
|
11423
|
-
declare type ICommentDisplay =
|
|
11462
|
+
declare type ICommentDisplay = ValueOf<typeof CommentDisplay>;
|
|
11424
11463
|
|
|
11425
11464
|
declare interface IComparisonOperation {
|
|
11426
11465
|
type: IComparisonOperationType;
|
|
@@ -11432,7 +11471,7 @@ declare interface IComparisonOperationOptions {
|
|
|
11432
11471
|
}
|
|
11433
11472
|
|
|
11434
11473
|
/** @inline */
|
|
11435
|
-
declare type IComparisonOperationType =
|
|
11474
|
+
declare type IComparisonOperationType = ValueOf<typeof ComparisonOperationType>;
|
|
11436
11475
|
|
|
11437
11476
|
/**
|
|
11438
11477
|
* @inline
|
|
@@ -11468,7 +11507,7 @@ declare interface IconAnnotationToolbarItem extends Omit<Shared, 'icon'> {
|
|
|
11468
11507
|
}
|
|
11469
11508
|
|
|
11470
11509
|
/** @inline */
|
|
11471
|
-
declare type IConformance =
|
|
11510
|
+
declare type IConformance = ValueOf<typeof Conformance>;
|
|
11472
11511
|
|
|
11473
11512
|
/** @inline */
|
|
11474
11513
|
declare interface ICustomOverlayItem {
|
|
@@ -11489,7 +11528,7 @@ declare type ID = string;
|
|
|
11489
11528
|
declare type ID_2 = string;
|
|
11490
11529
|
|
|
11491
11530
|
/** @inline */
|
|
11492
|
-
declare type IDocumentComparisonSourceType =
|
|
11531
|
+
declare type IDocumentComparisonSourceType = ValueOf<typeof DocumentComparisonSourceType>;
|
|
11493
11532
|
|
|
11494
11533
|
/** @inline */
|
|
11495
11534
|
declare interface IDocumentDescriptor {
|
|
@@ -11503,7 +11542,7 @@ declare interface IDocumentDescriptor {
|
|
|
11503
11542
|
declare type IDocumentOfficeFormat = ValueOf<typeof OfficeDocumentFormat>;
|
|
11504
11543
|
|
|
11505
11544
|
/** @inline */
|
|
11506
|
-
declare type IDocumentPermissions =
|
|
11545
|
+
declare type IDocumentPermissions = ValueOf<typeof DocumentPermissionsEnum>;
|
|
11507
11546
|
|
|
11508
11547
|
/** @inline */
|
|
11509
11548
|
declare interface IDrawingPoint extends PointCtorProps {
|
|
@@ -11511,7 +11550,7 @@ declare interface IDrawingPoint extends PointCtorProps {
|
|
|
11511
11550
|
}
|
|
11512
11551
|
|
|
11513
11552
|
/** @inline */
|
|
11514
|
-
declare type IElectronicSignatureCreationMode =
|
|
11553
|
+
declare type IElectronicSignatureCreationMode = ValueOf<typeof ElectronicSignatureCreationMode>;
|
|
11515
11554
|
|
|
11516
11555
|
/** @inline */
|
|
11517
11556
|
declare interface IEllipseAnnotation extends IShapeAnnotation {
|
|
@@ -11625,7 +11664,7 @@ declare interface IInset {
|
|
|
11625
11664
|
}
|
|
11626
11665
|
|
|
11627
11666
|
/** @inline */
|
|
11628
|
-
declare type IInteractionMode =
|
|
11667
|
+
declare type IInteractionMode = ValueOf<typeof InteractionMode>;
|
|
11629
11668
|
|
|
11630
11669
|
/** @inline */
|
|
11631
11670
|
declare interface IJavaScriptAction extends ActionProperties {
|
|
@@ -11638,7 +11677,7 @@ declare interface ILaunchAction extends ActionProperties {
|
|
|
11638
11677
|
}
|
|
11639
11678
|
|
|
11640
11679
|
/** @inline */
|
|
11641
|
-
declare type ILayoutMode =
|
|
11680
|
+
declare type ILayoutMode = ValueOf<typeof LayoutMode>;
|
|
11642
11681
|
|
|
11643
11682
|
/** @inline */
|
|
11644
11683
|
declare interface ILineAnnotation extends IShapeAnnotation {
|
|
@@ -11649,7 +11688,7 @@ declare interface ILineAnnotation extends IShapeAnnotation {
|
|
|
11649
11688
|
}
|
|
11650
11689
|
|
|
11651
11690
|
/** @inline */
|
|
11652
|
-
declare type ILineCap =
|
|
11691
|
+
declare type ILineCap = ValueOf<typeof LineCap>;
|
|
11653
11692
|
|
|
11654
11693
|
/** @inline */
|
|
11655
11694
|
declare interface ILinkAnnotation extends AnnotationProperties {
|
|
@@ -11774,7 +11813,7 @@ declare interface IMauiBridge {
|
|
|
11774
11813
|
}
|
|
11775
11814
|
|
|
11776
11815
|
/** @inline */
|
|
11777
|
-
declare type IMeasurementPrecision =
|
|
11816
|
+
declare type IMeasurementPrecision = ValueOf<typeof MeasurementPrecision>;
|
|
11778
11817
|
|
|
11779
11818
|
/** @inline */
|
|
11780
11819
|
declare interface IMeasurementScale {
|
|
@@ -11785,10 +11824,10 @@ declare interface IMeasurementScale {
|
|
|
11785
11824
|
}
|
|
11786
11825
|
|
|
11787
11826
|
/** @inline */
|
|
11788
|
-
declare type IMeasurementScaleUnitFrom =
|
|
11827
|
+
declare type IMeasurementScaleUnitFrom = ValueOf<typeof MeasurementScaleUnitFrom>;
|
|
11789
11828
|
|
|
11790
11829
|
/** @inline */
|
|
11791
|
-
declare type IMeasurementScaleUnitTo =
|
|
11830
|
+
declare type IMeasurementScaleUnitTo = ValueOf<typeof MeasurementScaleUnitTo>;
|
|
11792
11831
|
|
|
11793
11832
|
/** @inline */
|
|
11794
11833
|
declare interface IMediaAnnotation extends AnnotationProperties {
|
|
@@ -11857,7 +11896,7 @@ export declare namespace Immutable_2 {
|
|
|
11857
11896
|
}
|
|
11858
11897
|
|
|
11859
11898
|
/** @inline */
|
|
11860
|
-
declare type IModificationType =
|
|
11899
|
+
declare type IModificationType = ValueOf<typeof ModificationType>;
|
|
11861
11900
|
|
|
11862
11901
|
/** @inline */
|
|
11863
11902
|
declare type ImportPageIndex = Array<number | Range_3>;
|
|
@@ -12040,7 +12079,7 @@ declare interface INoteAnnotation extends AnnotationProperties {
|
|
|
12040
12079
|
}
|
|
12041
12080
|
|
|
12042
12081
|
/** @inline */
|
|
12043
|
-
declare type INoteIcon =
|
|
12082
|
+
declare type INoteIcon = ValueOf<typeof NoteIcon>;
|
|
12044
12083
|
|
|
12045
12084
|
/**
|
|
12046
12085
|
* An inset describes a rectangle by enumerating the distance from each side to the corresponding
|
|
@@ -12308,13 +12347,13 @@ declare interface IPolyLineAnnotation extends IShapeAnnotation {
|
|
|
12308
12347
|
}
|
|
12309
12348
|
|
|
12310
12349
|
/** @inline */
|
|
12311
|
-
declare type IPrintMode =
|
|
12350
|
+
declare type IPrintMode = ValueOf<typeof PrintMode>;
|
|
12312
12351
|
|
|
12313
12352
|
/** @inline */
|
|
12314
|
-
declare type IPrintQuality =
|
|
12353
|
+
declare type IPrintQuality = ValueOf<typeof PrintQuality>;
|
|
12315
12354
|
|
|
12316
12355
|
/** @inline */
|
|
12317
|
-
declare type IProcessorEngine =
|
|
12356
|
+
declare type IProcessorEngine = ValueOf<typeof ProcessorEngine>;
|
|
12318
12357
|
|
|
12319
12358
|
/** @inline */
|
|
12320
12359
|
declare type IProductId = (typeof ProductId)[keyof typeof ProductId];
|
|
@@ -12456,13 +12495,13 @@ declare function isAssociative(maybeAssociative: any): maybeAssociative is Colle
|
|
|
12456
12495
|
declare function isCollection(maybeCollection: any): maybeCollection is Collection<any, any>;
|
|
12457
12496
|
|
|
12458
12497
|
/** @inline */
|
|
12459
|
-
declare type IScrollMode =
|
|
12498
|
+
declare type IScrollMode = ValueOf<typeof ScrollMode>;
|
|
12460
12499
|
|
|
12461
12500
|
/** @inline */
|
|
12462
|
-
declare type ISearchPattern =
|
|
12501
|
+
declare type ISearchPattern = ValueOf<typeof SearchPattern>;
|
|
12463
12502
|
|
|
12464
12503
|
/** @inline */
|
|
12465
|
-
declare type ISearchType =
|
|
12504
|
+
declare type ISearchType = ValueOf<typeof SearchType>;
|
|
12466
12505
|
|
|
12467
12506
|
/**
|
|
12468
12507
|
* This callback defines which annotations are read-only. This callback will receive the Annotation
|
|
@@ -12520,19 +12559,19 @@ declare interface IShapeAnnotation extends AnnotationProperties {
|
|
|
12520
12559
|
}
|
|
12521
12560
|
|
|
12522
12561
|
/** @inline */
|
|
12523
|
-
declare type IShowSignatureValidationStatusMode =
|
|
12562
|
+
declare type IShowSignatureValidationStatusMode = ValueOf<typeof ShowSignatureValidationStatusMode>;
|
|
12524
12563
|
|
|
12525
12564
|
/** @inline */
|
|
12526
|
-
declare type ISidebarMode =
|
|
12565
|
+
declare type ISidebarMode = ValueOf<typeof SidebarMode> | (string & object);
|
|
12527
12566
|
|
|
12528
12567
|
/** @inline */
|
|
12529
|
-
declare type ISidebarPlacement =
|
|
12568
|
+
declare type ISidebarPlacement = ValueOf<typeof SidebarPlacement>;
|
|
12530
12569
|
|
|
12531
12570
|
/** @inline */
|
|
12532
|
-
declare type ISignatureAppearanceMode =
|
|
12571
|
+
declare type ISignatureAppearanceMode = ValueOf<typeof SignatureAppearanceMode>;
|
|
12533
12572
|
|
|
12534
12573
|
/** @inline */
|
|
12535
|
-
declare type ISignatureSaveMode =
|
|
12574
|
+
declare type ISignatureSaveMode = ValueOf<typeof SignatureSaveMode>;
|
|
12536
12575
|
|
|
12537
12576
|
/**
|
|
12538
12577
|
* True if `maybeImmutable` is an Immutable Collection or Record.
|
|
@@ -12798,16 +12837,16 @@ declare interface ITextSelection_2 {
|
|
|
12798
12837
|
}
|
|
12799
12838
|
|
|
12800
12839
|
/** @inline */
|
|
12801
|
-
declare type ITheme =
|
|
12840
|
+
declare type ITheme = ValueOf<typeof Theme>;
|
|
12802
12841
|
|
|
12803
12842
|
/** @inline */
|
|
12804
|
-
declare type IToolbarPlacement =
|
|
12843
|
+
declare type IToolbarPlacement = ValueOf<typeof ToolbarPlacement>;
|
|
12805
12844
|
|
|
12806
12845
|
/** @inline */
|
|
12807
|
-
declare type IUIDateTimeElement =
|
|
12846
|
+
declare type IUIDateTimeElement = ValueOf<typeof UIDateTimeElement>;
|
|
12808
12847
|
|
|
12809
12848
|
/** @inline */
|
|
12810
|
-
declare type IUIElement =
|
|
12849
|
+
declare type IUIElement = ValueOf<typeof UIElement>;
|
|
12811
12850
|
|
|
12812
12851
|
/** @inline */
|
|
12813
12852
|
declare interface IUnderlineAnnotation extends ITextMarkupAnnotation {
|
|
@@ -13268,7 +13307,7 @@ declare interface IViewState {
|
|
|
13268
13307
|
}
|
|
13269
13308
|
|
|
13270
13309
|
/** @inline */
|
|
13271
|
-
declare type IWheelZoomMode =
|
|
13310
|
+
declare type IWheelZoomMode = ValueOf<typeof WheelZoomMode>;
|
|
13272
13311
|
|
|
13273
13312
|
/** @inline */
|
|
13274
13313
|
declare interface IWidgetAnnotation extends AnnotationProperties {
|
|
@@ -13294,7 +13333,7 @@ declare interface IWidgetAnnotation extends AnnotationProperties {
|
|
|
13294
13333
|
}
|
|
13295
13334
|
|
|
13296
13335
|
/** @inline */
|
|
13297
|
-
declare type IZoomMode =
|
|
13336
|
+
declare type IZoomMode = ValueOf<typeof ZoomMode>;
|
|
13298
13337
|
|
|
13299
13338
|
/** @inline */
|
|
13300
13339
|
declare type IZoomOptions = {
|
|
@@ -15110,14 +15149,23 @@ declare const MauiBridgeInstance: IMauiBridge;
|
|
|
15110
15149
|
* @enum
|
|
15111
15150
|
*/
|
|
15112
15151
|
declare const MeasurementPrecision: {
|
|
15152
|
+
/** Displays measurements as whole numbers with no decimal places. */
|
|
15113
15153
|
readonly WHOLE: "whole";
|
|
15154
|
+
/** Displays measurements with one decimal place precision. */
|
|
15114
15155
|
readonly ONE: "oneDp";
|
|
15156
|
+
/** Displays measurements with two decimal places precision. */
|
|
15115
15157
|
readonly TWO: "twoDp";
|
|
15158
|
+
/** Displays measurements with three decimal places precision. */
|
|
15116
15159
|
readonly THREE: "threeDp";
|
|
15160
|
+
/** Displays measurements with four decimal places precision. */
|
|
15117
15161
|
readonly FOUR: "fourDp";
|
|
15162
|
+
/** Displays measurements in fractions with halves (1/2) precision. */
|
|
15118
15163
|
readonly HALVES: "1/2";
|
|
15164
|
+
/** Displays measurements in fractions with quarters (1/4) precision. */
|
|
15119
15165
|
readonly QUARTERS: "1/4";
|
|
15166
|
+
/** Displays measurements in fractions with eighths (1/8) precision. */
|
|
15120
15167
|
readonly EIGHTHS: "1/8";
|
|
15168
|
+
/** Displays measurements in fractions with sixteenths (1/16) precision. */
|
|
15121
15169
|
readonly SIXTEENTHS: "1/16";
|
|
15122
15170
|
};
|
|
15123
15171
|
|
|
@@ -15161,9 +15209,13 @@ declare type MeasurementScaleJSON = {
|
|
|
15161
15209
|
* @enum
|
|
15162
15210
|
*/
|
|
15163
15211
|
declare const MeasurementScaleUnitFrom: {
|
|
15212
|
+
/** Inches (in) - Imperial unit of length. */
|
|
15164
15213
|
readonly INCHES: "in";
|
|
15214
|
+
/** Millimeters (mm) - Metric unit of length. */
|
|
15165
15215
|
readonly MILLIMETERS: "mm";
|
|
15216
|
+
/** Centimeters (cm) - Metric unit of length. */
|
|
15166
15217
|
readonly CENTIMETERS: "cm";
|
|
15218
|
+
/** Points (pt) - Typographic unit of measurement (1/72 of an inch). */
|
|
15167
15219
|
readonly POINTS: "pt";
|
|
15168
15220
|
};
|
|
15169
15221
|
|
|
@@ -15173,14 +15225,23 @@ declare const MeasurementScaleUnitFrom: {
|
|
|
15173
15225
|
* @enum
|
|
15174
15226
|
*/
|
|
15175
15227
|
declare const MeasurementScaleUnitTo: {
|
|
15228
|
+
/** Inches (in) - Imperial unit of length. */
|
|
15176
15229
|
readonly INCHES: "in";
|
|
15230
|
+
/** Millimeters (mm) - Metric unit of length. */
|
|
15177
15231
|
readonly MILLIMETERS: "mm";
|
|
15232
|
+
/** Centimeters (cm) - Metric unit of length. */
|
|
15178
15233
|
readonly CENTIMETERS: "cm";
|
|
15234
|
+
/** Points (pt) - Typographic unit of measurement (1/72 of an inch). */
|
|
15179
15235
|
readonly POINTS: "pt";
|
|
15236
|
+
/** Feet (ft) - Imperial unit of length. */
|
|
15180
15237
|
readonly FEET: "ft";
|
|
15238
|
+
/** Meters (m) - Metric unit of length. */
|
|
15181
15239
|
readonly METERS: "m";
|
|
15240
|
+
/** Yards (yd) - Imperial unit of length. */
|
|
15182
15241
|
readonly YARDS: "yd";
|
|
15242
|
+
/** Kilometers (km) - Metric unit of length. */
|
|
15183
15243
|
readonly KILOMETERS: "km";
|
|
15244
|
+
/** Miles (mi) - Imperial unit of length. */
|
|
15184
15245
|
readonly MILES: "mi";
|
|
15185
15246
|
};
|
|
15186
15247
|
|
|
@@ -16347,18 +16408,31 @@ declare class NoteAnnotationSerializer extends AnnotationSerializer {
|
|
|
16347
16408
|
* @enum
|
|
16348
16409
|
*/
|
|
16349
16410
|
declare const NoteIcon: {
|
|
16411
|
+
/** A speech bubble icon, typically used for general comments. */
|
|
16350
16412
|
readonly COMMENT: "COMMENT";
|
|
16413
|
+
/** A pointing hand icon facing right. */
|
|
16351
16414
|
readonly RIGHT_POINTER: "RIGHT_POINTER";
|
|
16415
|
+
/** An arrow icon pointing to the right. */
|
|
16352
16416
|
readonly RIGHT_ARROW: "RIGHT_ARROW";
|
|
16417
|
+
/** A checkmark icon, typically used to indicate approval or completion. */
|
|
16353
16418
|
readonly CHECK: "CHECK";
|
|
16419
|
+
/** A circular icon. */
|
|
16354
16420
|
readonly CIRCLE: "CIRCLE";
|
|
16421
|
+
/** A cross or X icon, typically used to indicate rejection or deletion. */
|
|
16355
16422
|
readonly CROSS: "CROSS";
|
|
16423
|
+
/** An insertion caret icon, typically used to indicate where text should be inserted. */
|
|
16356
16424
|
readonly INSERT: "INSERT";
|
|
16425
|
+
/** A paragraph symbol icon indicating a new paragraph should be started. */
|
|
16357
16426
|
readonly NEW_PARAGRAPH: "NEW_PARAGRAPH";
|
|
16427
|
+
/** A note or sticky note icon. */
|
|
16358
16428
|
readonly NOTE: "NOTE";
|
|
16429
|
+
/** A paragraph symbol icon. */
|
|
16359
16430
|
readonly PARAGRAPH: "PARAGRAPH";
|
|
16431
|
+
/** A help or question mark icon. */
|
|
16360
16432
|
readonly HELP: "HELP";
|
|
16433
|
+
/** A star icon, typically used for highlighting important items. */
|
|
16361
16434
|
readonly STAR: "STAR";
|
|
16435
|
+
/** A key icon, typically used to indicate important information. */
|
|
16362
16436
|
readonly KEY: "KEY";
|
|
16363
16437
|
};
|
|
16364
16438
|
|
|
@@ -17315,22 +17389,16 @@ declare type OutlineElementProps = {
|
|
|
17315
17389
|
};
|
|
17316
17390
|
|
|
17317
17391
|
/**
|
|
17318
|
-
* The different PAdES levels.
|
|
17392
|
+
* The different PAdES (PDF Advanced Electronic Signatures) conformance levels.
|
|
17319
17393
|
*
|
|
17320
17394
|
* @enum
|
|
17321
17395
|
*/
|
|
17322
17396
|
export declare const PAdESLevel: {
|
|
17323
|
-
/**
|
|
17324
|
-
* B-B
|
|
17325
|
-
*/
|
|
17397
|
+
/** PAdES B-B (Basic) - Baseline signature with basic cryptographic verification. */
|
|
17326
17398
|
readonly b_b: "b-b";
|
|
17327
|
-
/**
|
|
17328
|
-
* B-T
|
|
17329
|
-
*/
|
|
17399
|
+
/** PAdES B-T (Timestamp) - Baseline signature with trusted timestamp for long-term validation. */
|
|
17330
17400
|
readonly b_t: "b-t";
|
|
17331
|
-
/**
|
|
17332
|
-
* B-LT
|
|
17333
|
-
*/
|
|
17401
|
+
/** PAdES B-LT (Long Term) - Baseline signature with revocation information and timestamp for archival purposes. */
|
|
17334
17402
|
readonly b_lt: "b-lt";
|
|
17335
17403
|
};
|
|
17336
17404
|
|
|
@@ -17887,6 +17955,7 @@ export declare type ProcessingAuthPayload = {
|
|
|
17887
17955
|
* | smallerSize | Smaller | Slower | Prioritize compact app size |
|
|
17888
17956
|
* | fasterProcessing (default) | Larger | Faster | Quick document processing |
|
|
17889
17957
|
*
|
|
17958
|
+
* @standalone
|
|
17890
17959
|
* @enum
|
|
17891
17960
|
*/
|
|
17892
17961
|
declare const ProcessorEngine: {
|
|
@@ -17896,7 +17965,16 @@ declare const ProcessorEngine: {
|
|
|
17896
17965
|
fasterProcessing: string;
|
|
17897
17966
|
};
|
|
17898
17967
|
|
|
17899
|
-
/**
|
|
17968
|
+
/**
|
|
17969
|
+
* Defines the product IDs for the different environments the SDK can be used in.
|
|
17970
|
+
*
|
|
17971
|
+
* @example
|
|
17972
|
+
* ```ts
|
|
17973
|
+
* const productId = NutrientViewer.ProductId.SharePoint;
|
|
17974
|
+
* ```
|
|
17975
|
+
*
|
|
17976
|
+
* @enum
|
|
17977
|
+
* */
|
|
17900
17978
|
declare const ProductId: {
|
|
17901
17979
|
/** Enables using the SDK in a SharePoint environment. When used, the document should be loaded from a SharePoint site. */
|
|
17902
17980
|
SharePoint: string;
|
|
@@ -23270,15 +23348,9 @@ declare type SidebarParams = {
|
|
|
23270
23348
|
* @enum
|
|
23271
23349
|
*/
|
|
23272
23350
|
declare const SidebarPlacement: {
|
|
23273
|
-
/**
|
|
23274
|
-
* The sidebar is shown before the content in the reading direction. For any LTR languages this
|
|
23275
|
-
* will be the left side, for RTL languages this will be the right side.
|
|
23276
|
-
*/
|
|
23351
|
+
/** The sidebar is shown before the content in the reading direction (left side in LTR languages, right side in RTL languages). */
|
|
23277
23352
|
readonly START: "START";
|
|
23278
|
-
/**
|
|
23279
|
-
* The sidebar is shown after the content in the reading direction. For any LTR languages this
|
|
23280
|
-
* will be the right side, for RTL languages this will be the left side.
|
|
23281
|
-
*/
|
|
23353
|
+
/** The sidebar is shown after the content in the reading direction (right side in LTR languages, left side in RTL languages). */
|
|
23282
23354
|
readonly END: "END";
|
|
23283
23355
|
};
|
|
23284
23356
|
|
|
@@ -23289,7 +23361,7 @@ declare type Signature = InkAnnotation | ImageAnnotation;
|
|
|
23289
23361
|
|
|
23290
23362
|
/**
|
|
23291
23363
|
* Specifies the signature appearance mode: whether graphics, description, or both are included in it.
|
|
23292
|
-
* See https://www.nutrient.io/guides/web/signatures/digital-signatures/signature-lifecycle/configure-digital-signature-appearance/ for a detailed discussion of the signature modes.
|
|
23364
|
+
* See [Configure Digital Signature Appearance guide](https://www.nutrient.io/guides/web/signatures/digital-signatures/signature-lifecycle/configure-digital-signature-appearance/) for a detailed discussion of the signature modes.
|
|
23293
23365
|
*
|
|
23294
23366
|
* @enum
|
|
23295
23367
|
*/
|
|
@@ -23308,13 +23380,9 @@ declare const SignatureAppearanceMode: {
|
|
|
23308
23380
|
* @enum
|
|
23309
23381
|
*/
|
|
23310
23382
|
export declare const SignatureContainerType: {
|
|
23311
|
-
/**
|
|
23312
|
-
* raw
|
|
23313
|
-
*/
|
|
23383
|
+
/** Raw signature data format without additional encoding or wrapping. */
|
|
23314
23384
|
readonly raw: "raw";
|
|
23315
|
-
/**
|
|
23316
|
-
* pkcs7
|
|
23317
|
-
*/
|
|
23385
|
+
/** PKCS#7 (Public Key Cryptography Standards #7) signature container format, a standard for signed and encrypted data. */
|
|
23318
23386
|
readonly pkcs7: "pkcs7";
|
|
23319
23387
|
};
|
|
23320
23388
|
|
|
@@ -23563,13 +23631,9 @@ declare function SignaturesMixin<T extends Class<BaseMixin>>(Base: T): {
|
|
|
23563
23631
|
* @enum
|
|
23564
23632
|
*/
|
|
23565
23633
|
export declare const SignatureType: {
|
|
23566
|
-
/**
|
|
23567
|
-
* CMS
|
|
23568
|
-
*/
|
|
23634
|
+
/** CMS (Cryptographic Message Syntax) - Basic PKCS#7 signature format used in PDF signatures. */
|
|
23569
23635
|
readonly CMS: "CMS";
|
|
23570
|
-
/**
|
|
23571
|
-
* CAdES
|
|
23572
|
-
*/
|
|
23636
|
+
/** CAdES (CMS Advanced Electronic Signatures) - Enhanced signature format compliant, among others, with the European eIDAS regulation. */
|
|
23573
23637
|
readonly CAdES: "CAdES";
|
|
23574
23638
|
};
|
|
23575
23639
|
|