@reekon-tools/boldr-utils 1.19.4 → 1.19.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/annotation/canvas/AnnotationCanvasInner.d.ts +2 -0
- package/dist/annotation/canvas/AnnotationCanvasInner.js +3 -1
- package/dist/annotation/canvas/AnnotationCanvasInner.native.d.ts +2 -0
- package/dist/annotation/canvas/AnnotationCanvasInner.native.js +118 -8
- package/dist/annotation/canvas/AnnotationCanvasSkia.d.ts +23 -1
- package/dist/annotation/canvas/AnnotationCanvasSkia.js +89 -13
- package/dist/annotation/canvas/Tool.d.ts +4 -1
- package/dist/annotation/canvas/backgroundLayers.d.ts +20 -1
- package/dist/annotation/canvas/backgroundLayers.js +94 -3
- package/dist/annotation/canvas/elements/BackgroundImageElement.d.ts +6 -3
- package/dist/annotation/canvas/elements/BackgroundImageElement.js +16 -8
- package/dist/annotation/canvas/elements/BackgroundSvg.d.ts +1 -0
- package/dist/annotation/canvas/elements/BackgroundSvg.js +4 -4
- package/dist/annotation/canvas/elements/backgroundUrl.d.ts +2 -1
- package/dist/annotation/canvas/elements/backgroundUrl.js +15 -2
- package/dist/annotation/canvas/fileTileSwap.d.ts +12 -0
- package/dist/annotation/canvas/fileTileSwap.js +87 -0
- package/dist/annotation/canvas/stampLayout.d.ts +1 -1
- package/dist/annotation/canvas/stampLayout.js +10 -8
- package/dist/annotation/canvas/tools/selectTool.d.ts +18 -0
- package/dist/annotation/canvas/tools/selectTool.js +158 -42
- package/dist/annotation/canvas/useAnnotationCanvasState.js +3 -1
- package/dist/annotation/data/hooks/useAnnotationCanvasDoc.js +5 -1
- package/dist/exports.d.ts +1 -0
- package/dist/exports.js +1 -0
- package/dist/types/annotation.d.ts +10 -0
- package/package.json +1 -1
|
@@ -135,6 +135,12 @@ export interface BackgroundLayerTransform {
|
|
|
135
135
|
scaleX: number;
|
|
136
136
|
scaleY: number;
|
|
137
137
|
}
|
|
138
|
+
export interface BackgroundLayerCrop {
|
|
139
|
+
x: number;
|
|
140
|
+
y: number;
|
|
141
|
+
width: number;
|
|
142
|
+
height: number;
|
|
143
|
+
}
|
|
138
144
|
export interface AnnotationBackgroundLayer {
|
|
139
145
|
id: AnnotationElementId;
|
|
140
146
|
storagePath: string;
|
|
@@ -143,6 +149,10 @@ export interface AnnotationBackgroundLayer {
|
|
|
143
149
|
heightPx: number;
|
|
144
150
|
format?: 'raster' | 'svg';
|
|
145
151
|
transform: BackgroundLayerTransform;
|
|
152
|
+
crop?: BackgroundLayerCrop;
|
|
153
|
+
fileId?: string;
|
|
154
|
+
filePath?: string;
|
|
155
|
+
fileGroupId?: string;
|
|
146
156
|
locked?: boolean;
|
|
147
157
|
}
|
|
148
158
|
export interface AnnotationPdfPageSize {
|