react-iiif-vault 2.0.8 → 2.0.10
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/bundle.d.ts +20 -5
- package/dist/bundle.global.js +28 -27
- package/dist/canvas-panel.cjs +6 -6
- package/dist/canvas-panel.d.cts +2 -2
- package/dist/canvas-panel.d.ts +2 -2
- package/dist/canvas-panel.js +1 -1
- package/dist/{chunk-ICQYS35G.js → chunk-FA723YSS.js} +7 -7
- package/dist/chunk-P7XHGETS.js +1 -0
- package/dist/{index-VNY_GL30.d.cts → index-BAwkF_tl.d.cts} +14 -5
- package/dist/{index-BzqDQGvO.d.ts → index-C3XrwwYg.d.ts} +14 -5
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/{useRenderingStrategy-Bg8-k9-n.d.cts → useRenderingStrategy-CoKE915F.d.cts} +7 -1
- package/dist/{useRenderingStrategy-Bg8-k9-n.d.ts → useRenderingStrategy-CoKE915F.d.ts} +7 -1
- package/dist/{utils-CMAqRpk_.d.cts → utils-BKdiug6F.d.cts} +1 -1
- package/dist/{utils-CHozUicY.d.ts → utils-CmwQWQLa.d.ts} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.cts +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-FBET7GLW.js +0 -1
package/dist/bundle.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BoxSelector, TemporalBoxSelector, TemporalSelector } from '@iiif/helpers/annotation-targets';
|
|
1
|
+
import { TransformPoint, SelectorTransform, BoxStyle as BoxStyle$1, BoxSelector, TemporalBoxSelector, TemporalSelector } from '@iiif/helpers/annotation-targets';
|
|
2
2
|
export * from '@iiif/helpers/annotation-targets';
|
|
3
3
|
import { ViewerMode, Runtime, BoxStyle, AtlasProps, Preset } from '@atlas-viewer/atlas';
|
|
4
4
|
import * as React$1 from 'react';
|
|
@@ -388,13 +388,22 @@ interface AtlasStore {
|
|
|
388
388
|
cancelRequest(requestId?: string): void;
|
|
389
389
|
reset(): void;
|
|
390
390
|
changeMode(mode: ViewerMode): void;
|
|
391
|
-
nudgeLeft(): void;
|
|
392
|
-
nudgeRight(): void;
|
|
393
|
-
nudgeUp(): void;
|
|
394
|
-
nudgeDown(): void;
|
|
391
|
+
nudgeLeft(amount?: number): void;
|
|
392
|
+
nudgeRight(amount?: number): void;
|
|
393
|
+
nudgeUp(amount?: number): void;
|
|
394
|
+
nudgeDown(amount?: number): void;
|
|
395
395
|
zoomIn(): void;
|
|
396
396
|
zoomOut(): void;
|
|
397
397
|
goHome(): void;
|
|
398
|
+
goToRegion(region: {
|
|
399
|
+
x: number;
|
|
400
|
+
y: number;
|
|
401
|
+
width: number;
|
|
402
|
+
height: number;
|
|
403
|
+
padding?: number;
|
|
404
|
+
immediate?: boolean;
|
|
405
|
+
}): void;
|
|
406
|
+
getRuntime(): Runtime | null;
|
|
398
407
|
}
|
|
399
408
|
declare function polygonToTarget(polygon: InputShape, on?: {
|
|
400
409
|
width: number;
|
|
@@ -503,6 +512,12 @@ type ImageWithOptionalService = {
|
|
|
503
512
|
service?: ImageService$1;
|
|
504
513
|
width?: number;
|
|
505
514
|
height?: number;
|
|
515
|
+
rotation?: number;
|
|
516
|
+
rotationOrigin?: TransformPoint;
|
|
517
|
+
translate?: TransformPoint;
|
|
518
|
+
transform?: SelectorTransform;
|
|
519
|
+
style?: BoxStyle$1;
|
|
520
|
+
styleClass?: string;
|
|
506
521
|
sizes?: Array<{
|
|
507
522
|
width: number;
|
|
508
523
|
height: number;
|