@annotorious/annotorious 3.0.0-rc.31 → 3.0.0-rc.32
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/Annotorious.d.ts +0 -2
- package/dist/AnnotoriousOpts.d.ts +0 -2
- package/dist/annotation/SVGAnnotationLayer.svelte.d.ts +1 -1
- package/dist/annotation/SVGAnnotationLayerPointerEvent.d.ts +0 -2
- package/dist/annotation/Transform.d.ts +0 -1
- package/dist/annotation/editors/Editor.svelte.d.ts +1 -1
- package/dist/annotation/editors/EditorMount.svelte.d.ts +1 -1
- package/dist/annotation/editors/Handle.svelte.d.ts +1 -1
- package/dist/annotation/editors/editorsRegistry.d.ts +0 -2
- package/dist/annotation/editors/index.d.ts +0 -1
- package/dist/annotation/editors/polygon/PolygonEditor.svelte.d.ts +1 -1
- package/dist/annotation/editors/polygon/index.d.ts +0 -1
- package/dist/annotation/editors/rectangle/RectangleEditor.svelte.d.ts +1 -1
- package/dist/annotation/editors/rectangle/index.d.ts +0 -1
- package/dist/annotation/index.d.ts +0 -1
- package/dist/annotation/shapes/Ellipse.svelte.d.ts +1 -1
- package/dist/annotation/shapes/Polygon.svelte.d.ts +1 -1
- package/dist/annotation/shapes/Rectangle.svelte.d.ts +1 -1
- package/dist/annotation/shapes/index.d.ts +0 -1
- package/dist/annotation/tools/DrawingToolConfig.d.ts +0 -2
- package/dist/annotation/tools/ToolMount.svelte.d.ts +1 -1
- package/dist/annotation/tools/drawingToolsRegistry.d.ts +0 -2
- package/dist/annotation/tools/index.d.ts +0 -1
- package/dist/annotation/tools/polygon/RubberbandPolygon.svelte.d.ts +1 -1
- package/dist/annotation/tools/polygon/index.d.ts +0 -1
- package/dist/annotation/tools/rectangle/RubberbandRectangle.svelte.d.ts +1 -1
- package/dist/annotation/tools/rectangle/index.d.ts +0 -1
- package/dist/annotation/utils/index.d.ts +0 -1
- package/dist/annotation/utils/math.d.ts +0 -1
- package/dist/annotation/utils/responsive.d.ts +0 -1
- package/dist/annotation/utils/styling.d.ts +0 -2
- package/dist/annotation/utils/touch.d.ts +0 -1
- package/dist/annotorious.css +1 -1
- package/dist/annotorious.es.js +727 -726
- package/dist/annotorious.es.js.map +1 -1
- package/dist/annotorious.js +1 -1
- package/dist/annotorious.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/keyboardCommands.d.ts +0 -2
- package/dist/model/core/ImageAnnotation.d.ts +0 -2
- package/dist/model/core/Shape.d.ts +0 -2
- package/dist/model/core/ellipse/Ellipse.d.ts +0 -2
- package/dist/model/core/ellipse/ellipseUtils.d.ts +0 -1
- package/dist/model/core/ellipse/index.d.ts +0 -1
- package/dist/model/core/index.d.ts +0 -1
- package/dist/model/core/polygon/Polygon.d.ts +0 -2
- package/dist/model/core/polygon/index.d.ts +0 -1
- package/dist/model/core/polygon/polygonUtils.d.ts +0 -1
- package/dist/model/core/rectangle/Rectangle.d.ts +0 -2
- package/dist/model/core/rectangle/index.d.ts +0 -1
- package/dist/model/core/rectangle/rectangleUtils.d.ts +0 -2
- package/dist/model/core/shapeUtils.d.ts +0 -2
- package/dist/model/index.d.ts +0 -1
- package/dist/model/w3c/W3CImageAnnotation.d.ts +0 -2
- package/dist/model/w3c/W3CImageFormatAdapter.d.ts +2 -4
- package/dist/model/w3c/fragment/FragmentSelector.d.ts +0 -2
- package/dist/model/w3c/fragment/index.d.ts +0 -1
- package/dist/model/w3c/index.d.ts +0 -1
- package/dist/model/w3c/svg/SVG.d.ts +0 -1
- package/dist/model/w3c/svg/SVGSelector.d.ts +0 -2
- package/dist/model/w3c/svg/index.d.ts +0 -1
- package/dist/state/ImageAnnotationStore.d.ts +0 -2
- package/dist/state/ImageAnnotatorState.d.ts +0 -2
- package/dist/state/index.d.ts +0 -1
- package/dist/state/spatialTree.d.ts +0 -2
- package/dist/themes/index.d.ts +0 -1
- package/dist/themes/smart/index.d.ts +0 -1
- package/dist/themes/smart/setTheme.d.ts +0 -2
- package/package.json +10 -10
- package/src/Annotorious.css +4 -0
- package/src/annotation/shapes/Ellipse.svelte +1 -1
- package/src/annotation/shapes/Polygon.svelte +1 -1
- package/src/annotation/shapes/Rectangle.svelte +1 -1
- package/src/annotation/utils/styling.ts +14 -8
- package/src/annotation/utils/touch.ts +4 -4
- package/src/model/w3c/W3CImageFormatAdapter.ts +2 -2
- package/src/themes/dark/index.css +1 -1
- package/dist/Annotorious.d.ts.map +0 -1
- package/dist/AnnotoriousOpts.d.ts.map +0 -1
- package/dist/annotation/SVGAnnotationLayerPointerEvent.d.ts.map +0 -1
- package/dist/annotation/Transform.d.ts.map +0 -1
- package/dist/annotation/editors/editorsRegistry.d.ts.map +0 -1
- package/dist/annotation/editors/index.d.ts.map +0 -1
- package/dist/annotation/editors/polygon/index.d.ts.map +0 -1
- package/dist/annotation/editors/rectangle/index.d.ts.map +0 -1
- package/dist/annotation/index.d.ts.map +0 -1
- package/dist/annotation/shapes/index.d.ts.map +0 -1
- package/dist/annotation/tools/DrawingToolConfig.d.ts.map +0 -1
- package/dist/annotation/tools/drawingToolsRegistry.d.ts.map +0 -1
- package/dist/annotation/tools/index.d.ts.map +0 -1
- package/dist/annotation/tools/polygon/index.d.ts.map +0 -1
- package/dist/annotation/tools/rectangle/index.d.ts.map +0 -1
- package/dist/annotation/utils/index.d.ts.map +0 -1
- package/dist/annotation/utils/math.d.ts.map +0 -1
- package/dist/annotation/utils/responsive.d.ts.map +0 -1
- package/dist/annotation/utils/styling.d.ts.map +0 -1
- package/dist/annotation/utils/touch.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/keyboardCommands.d.ts.map +0 -1
- package/dist/model/core/ImageAnnotation.d.ts.map +0 -1
- package/dist/model/core/Shape.d.ts.map +0 -1
- package/dist/model/core/ellipse/Ellipse.d.ts.map +0 -1
- package/dist/model/core/ellipse/ellipseUtils.d.ts.map +0 -1
- package/dist/model/core/ellipse/index.d.ts.map +0 -1
- package/dist/model/core/index.d.ts.map +0 -1
- package/dist/model/core/polygon/Polygon.d.ts.map +0 -1
- package/dist/model/core/polygon/index.d.ts.map +0 -1
- package/dist/model/core/polygon/polygonUtils.d.ts.map +0 -1
- package/dist/model/core/rectangle/Rectangle.d.ts.map +0 -1
- package/dist/model/core/rectangle/index.d.ts.map +0 -1
- package/dist/model/core/rectangle/rectangleUtils.d.ts.map +0 -1
- package/dist/model/core/shapeUtils.d.ts.map +0 -1
- package/dist/model/index.d.ts.map +0 -1
- package/dist/model/w3c/W3CImageAnnotation.d.ts.map +0 -1
- package/dist/model/w3c/W3CImageFormatAdapter.d.ts.map +0 -1
- package/dist/model/w3c/fragment/FragmentSelector.d.ts.map +0 -1
- package/dist/model/w3c/fragment/index.d.ts.map +0 -1
- package/dist/model/w3c/index.d.ts.map +0 -1
- package/dist/model/w3c/svg/SVG.d.ts.map +0 -1
- package/dist/model/w3c/svg/SVGSelector.d.ts.map +0 -1
- package/dist/model/w3c/svg/index.d.ts.map +0 -1
- package/dist/state/ImageAnnotationStore.d.ts.map +0 -1
- package/dist/state/ImageAnnotatorState.d.ts.map +0 -1
- package/dist/state/index.d.ts.map +0 -1
- package/dist/state/spatialTree.d.ts.map +0 -1
- package/dist/themes/index.d.ts.map +0 -1
- package/dist/themes/smart/index.d.ts.map +0 -1
- package/dist/themes/smart/setTheme.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,4 +7,3 @@ export * from './Annotorious';
|
|
|
7
7
|
export * from './AnnotoriousOpts';
|
|
8
8
|
export * from './keyboardCommands';
|
|
9
9
|
export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Appearance, AppearanceProvider, Color, DrawingStyle, Filter, FormatAdapter, HoverState, LifecycleEvents, ParseResult, PresentUser, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, User, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core';
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { Annotation, AnnotationTarget } from '@annotorious/core';
|
|
2
2
|
import { Shape } from './Shape';
|
|
3
|
-
|
|
4
3
|
export interface ImageAnnotation extends Annotation {
|
|
5
4
|
target: ImageAnnotationTarget;
|
|
6
5
|
}
|
|
7
6
|
export interface ImageAnnotationTarget extends AnnotationTarget {
|
|
8
7
|
selector: Shape;
|
|
9
8
|
}
|
|
10
|
-
//# sourceMappingURL=ImageAnnotation.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AbstractSelector } from '@annotorious/core';
|
|
2
|
-
|
|
3
2
|
export interface Shape extends AbstractSelector {
|
|
4
3
|
type: ShapeType;
|
|
5
4
|
geometry: Geometry;
|
|
@@ -18,4 +17,3 @@ export interface Bounds {
|
|
|
18
17
|
maxX: number;
|
|
19
18
|
maxY: number;
|
|
20
19
|
}
|
|
21
|
-
//# sourceMappingURL=Shape.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Bounds, Geometry, Shape } from '../Shape';
|
|
2
|
-
|
|
3
2
|
export interface Ellipse extends Shape {
|
|
4
3
|
geometry: EllipseGeometry;
|
|
5
4
|
}
|
|
@@ -10,4 +9,3 @@ export interface EllipseGeometry extends Geometry {
|
|
|
10
9
|
ry: number;
|
|
11
10
|
bounds: Bounds;
|
|
12
11
|
}
|
|
13
|
-
//# sourceMappingURL=Ellipse.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Bounds, Geometry, Shape } from '../Shape';
|
|
2
|
-
|
|
3
2
|
export interface Polygon extends Shape {
|
|
4
3
|
geometry: PolygonGeometry;
|
|
5
4
|
}
|
|
@@ -7,4 +6,3 @@ export interface PolygonGeometry extends Geometry {
|
|
|
7
6
|
points: Array<Array<number>>;
|
|
8
7
|
bounds: Bounds;
|
|
9
8
|
}
|
|
10
|
-
//# sourceMappingURL=Polygon.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Bounds, Geometry, Shape } from '../Shape';
|
|
2
|
-
|
|
3
2
|
export interface Rectangle extends Shape {
|
|
4
3
|
geometry: RectangleGeometry;
|
|
5
4
|
}
|
|
@@ -10,4 +9,3 @@ export interface RectangleGeometry extends Geometry {
|
|
|
10
9
|
h: number;
|
|
11
10
|
bounds: Bounds;
|
|
12
11
|
}
|
|
13
|
-
//# sourceMappingURL=Rectangle.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Bounds, Shape, ShapeType } from './Shape';
|
|
2
|
-
|
|
3
2
|
export interface ShapeUtil<T extends Shape> {
|
|
4
3
|
area: (shape: T) => number;
|
|
5
4
|
intersects: (shape: T, x: number, y: number) => boolean;
|
|
@@ -30,4 +29,3 @@ export declare const intersects: (shape: Shape, x: number, y: number) => boolean
|
|
|
30
29
|
* @returns the Bounds
|
|
31
30
|
*/
|
|
32
31
|
export declare const boundsFromPoints: (points: Array<[number, number]>) => Bounds;
|
|
33
|
-
//# sourceMappingURL=shapeUtils.d.ts.map
|
package/dist/model/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { W3CAnnotation, W3CAnnotationTarget } from '@annotorious/core';
|
|
2
2
|
import { FragmentSelector } from './fragment';
|
|
3
3
|
import { SVGSelector } from './svg';
|
|
4
|
-
|
|
5
4
|
export interface W3CImageAnnotation extends W3CAnnotation {
|
|
6
5
|
target: W3CImageAnnotationTarget | W3CImageAnnotationTarget[];
|
|
7
6
|
}
|
|
@@ -9,4 +8,3 @@ export interface W3CImageAnnotationTarget extends W3CAnnotationTarget {
|
|
|
9
8
|
selector: W3CImageSelector | W3CImageSelector[];
|
|
10
9
|
}
|
|
11
10
|
export type W3CImageSelector = FragmentSelector | SVGSelector;
|
|
12
|
-
//# sourceMappingURL=W3CImageAnnotation.d.ts.map
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { FormatAdapter, ParseResult, W3CAnnotation } from '@annotorious/core';
|
|
2
2
|
import { ImageAnnotation } from '../core';
|
|
3
3
|
import { W3CImageAnnotation } from './W3CImageAnnotation';
|
|
4
|
-
|
|
5
4
|
export type W3CImageFormatAdapter = FormatAdapter<ImageAnnotation, W3CImageAnnotation>;
|
|
6
5
|
export interface W3CImageFormatAdapterOpts {
|
|
7
6
|
strict: boolean;
|
|
8
7
|
invertY: boolean;
|
|
9
8
|
}
|
|
10
9
|
export declare const W3CImageFormat: (source: string, opts?: W3CImageFormatAdapterOpts) => W3CImageFormatAdapter;
|
|
11
|
-
export declare const parseW3CImageAnnotation: (annotation: W3CAnnotation, opts
|
|
12
|
-
export declare const serializeW3CImageAnnotation: (annotation: ImageAnnotation, source: string, opts
|
|
13
|
-
//# sourceMappingURL=W3CImageFormatAdapter.d.ts.map
|
|
10
|
+
export declare const parseW3CImageAnnotation: (annotation: W3CAnnotation, opts?: W3CImageFormatAdapterOpts) => ParseResult<ImageAnnotation>;
|
|
11
|
+
export declare const serializeW3CImageAnnotation: (annotation: ImageAnnotation, source: string, opts?: W3CImageFormatAdapterOpts) => W3CImageAnnotation;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Rectangle, RectangleGeometry } from '../../core';
|
|
2
|
-
|
|
3
2
|
export interface FragmentSelector {
|
|
4
3
|
type: 'FragmentSelector';
|
|
5
4
|
conformsTo: 'http://www.w3.org/TR/media-frags/';
|
|
@@ -7,4 +6,3 @@ export interface FragmentSelector {
|
|
|
7
6
|
}
|
|
8
7
|
export declare const parseFragmentSelector: (fragmentOrSelector: FragmentSelector | string, invertY?: boolean) => Rectangle;
|
|
9
8
|
export declare const serializeFragmentSelector: (geometry: RectangleGeometry) => FragmentSelector;
|
|
10
|
-
//# sourceMappingURL=FragmentSelector.d.ts.map
|
|
@@ -2,4 +2,3 @@ export declare const SVG_NAMESPACE = "http://www.w3.org/2000/svg";
|
|
|
2
2
|
export declare const sanitize: (doc: Element | Document) => Element | Document;
|
|
3
3
|
/** Helper that forces an un-namespaced node to SVG **/
|
|
4
4
|
export declare const insertSVGNamespace: (originalDoc: Document) => Element;
|
|
5
|
-
//# sourceMappingURL=SVG.d.ts.map
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Shape } from '../../core';
|
|
2
|
-
|
|
3
2
|
export interface SVGSelector {
|
|
4
3
|
type: 'SvgSelector';
|
|
5
4
|
value: string;
|
|
6
5
|
}
|
|
7
6
|
export declare const parseSVGSelector: <T extends Shape>(valueOrSelector: SVGSelector | string) => T;
|
|
8
7
|
export declare const serializeSVGSelector: (shape: Shape) => SVGSelector;
|
|
9
|
-
//# sourceMappingURL=SVGSelector.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Store, SvelteAnnotatorState, SvelteStore } from '@annotorious/core';
|
|
2
2
|
import { ImageAnnotation } from '../model';
|
|
3
|
-
|
|
4
3
|
export type ImageAnnotationStore = Store<ImageAnnotation> & {
|
|
5
4
|
getAt(x: number, y: number): ImageAnnotation | undefined;
|
|
6
5
|
getIntersecting(x: number, y: number, width: number, height: number): ImageAnnotation[];
|
|
@@ -9,4 +8,3 @@ export type SvelteImageAnnotationStore = SvelteStore<ImageAnnotation> & ImageAnn
|
|
|
9
8
|
export type SvelteImageAnnotatorState = SvelteAnnotatorState<ImageAnnotation> & {
|
|
10
9
|
store: SvelteImageAnnotationStore;
|
|
11
10
|
};
|
|
12
|
-
//# sourceMappingURL=ImageAnnotationStore.d.ts.map
|
|
@@ -2,7 +2,6 @@ import { ImageAnnotation } from '../model';
|
|
|
2
2
|
import { AnnotoriousOpts } from '../AnnotoriousOpts';
|
|
3
3
|
import { AnnotatorState, HoverState, SelectionState } from '@annotorious/core';
|
|
4
4
|
import { ImageAnnotationStore, SvelteImageAnnotatorState } from './ImageAnnotationStore';
|
|
5
|
-
|
|
6
5
|
export type ImageAnnotatorState<T extends ImageAnnotationStore = ImageAnnotationStore> = AnnotatorState<ImageAnnotation> & {
|
|
7
6
|
store: T;
|
|
8
7
|
selection: SelectionState<ImageAnnotation>;
|
|
@@ -10,4 +9,3 @@ export type ImageAnnotatorState<T extends ImageAnnotationStore = ImageAnnotation
|
|
|
10
9
|
};
|
|
11
10
|
export declare const createImageAnnotatorState: <E extends unknown>(opts: AnnotoriousOpts<ImageAnnotation, E>) => ImageAnnotatorState<ImageAnnotationStore>;
|
|
12
11
|
export declare const createSvelteImageAnnotatorState: <E extends unknown>(opts: AnnotoriousOpts<ImageAnnotation, E>) => SvelteImageAnnotatorState;
|
|
13
|
-
//# sourceMappingURL=ImageAnnotatorState.d.ts.map
|
package/dist/state/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ImageAnnotationTarget } from '../model';
|
|
2
|
-
|
|
3
2
|
interface IndexedTarget {
|
|
4
3
|
minX: number;
|
|
5
4
|
minY: number;
|
|
@@ -19,4 +18,3 @@ export declare const createSpatialTree: () => {
|
|
|
19
18
|
update: (previous: ImageAnnotationTarget, updated: ImageAnnotationTarget) => void;
|
|
20
19
|
};
|
|
21
20
|
export {};
|
|
22
|
-
//# sourceMappingURL=spatialTree.d.ts.map
|
package/dist/themes/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { Theme } from '../../AnnotoriousOpts';
|
|
2
|
-
|
|
3
2
|
export declare const sampleBrightness: (imageOrCanvas: HTMLElement) => number;
|
|
4
3
|
export declare const detectTheme: (imageOrCanvas: HTMLElement) => "dark" | "light";
|
|
5
4
|
export declare const setTheme: (imageOrCanvas: HTMLElement, container: HTMLElement, theme: Theme) => void;
|
|
6
|
-
//# sourceMappingURL=setTheme.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@annotorious/annotorious",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.32",
|
|
4
4
|
"description": "Add image annotation functionality to any web page with a few lines of JavaScript",
|
|
5
5
|
"author": "Rainer Simon",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
"./src": "./src/index.ts"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@sveltejs/vite-plugin-svelte": "^3.1.
|
|
39
|
+
"@sveltejs/vite-plugin-svelte": "^3.1.2",
|
|
40
40
|
"@tsconfig/svelte": "^5.0.4",
|
|
41
|
-
"@types/rbush": "^3.0.
|
|
41
|
+
"@types/rbush": "^3.0.4",
|
|
42
42
|
"jsdom": "^24.1.1",
|
|
43
|
-
"svelte": "^4.2.
|
|
43
|
+
"svelte": "^4.2.19",
|
|
44
44
|
"svelte-preprocess": "^6.0.2",
|
|
45
|
-
"typescript": "5.5.
|
|
46
|
-
"vite": "^5.
|
|
47
|
-
"vite-plugin-dts": "^
|
|
48
|
-
"vitest": "^2.0.
|
|
45
|
+
"typescript": "5.5.4",
|
|
46
|
+
"vite": "^5.4.2",
|
|
47
|
+
"vite-plugin-dts": "^4.0.3",
|
|
48
|
+
"vitest": "^2.0.5"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@annotorious/core": "3.0.0-rc.
|
|
52
|
-
"rbush": "^4.0.
|
|
51
|
+
"@annotorious/core": "3.0.0-rc.32",
|
|
52
|
+
"rbush": "^4.0.1",
|
|
53
53
|
"uuid": "^10.0.0"
|
|
54
54
|
}
|
|
55
55
|
}
|
package/src/Annotorious.css
CHANGED
|
@@ -2,21 +2,27 @@ import type { DrawingStyleExpression } from '@annotorious/core';
|
|
|
2
2
|
import type { ImageAnnotation } from '../../model';
|
|
3
3
|
|
|
4
4
|
export const computeStyle = (
|
|
5
|
-
annotation: ImageAnnotation,
|
|
5
|
+
annotation: ImageAnnotation,
|
|
6
6
|
style?: DrawingStyleExpression<ImageAnnotation>
|
|
7
7
|
) => {
|
|
8
8
|
const computed = typeof style === 'function' ? style(annotation) : style;
|
|
9
9
|
|
|
10
10
|
if (computed) {
|
|
11
|
-
const { fill, fillOpacity } = computed;
|
|
11
|
+
const { fill, fillOpacity, stroke, strokeWidth, strokeOpacity } = computed;
|
|
12
12
|
|
|
13
13
|
let css = '';
|
|
14
|
-
|
|
15
|
-
if (fill)
|
|
16
|
-
css += `fill:${fill}
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
|
|
15
|
+
if (fill) {
|
|
16
|
+
css += `fill:${fill};`;
|
|
17
|
+
css += `fill-opacity:${fillOpacity || '0.25'};`;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if (stroke) {
|
|
21
|
+
css += `stroke:${stroke};`;
|
|
22
|
+
css += `stroke-width:${strokeWidth || '1'};`;
|
|
23
|
+
css += `stroke-opacity:${strokeOpacity || '1'};`;
|
|
24
|
+
}
|
|
19
25
|
|
|
20
26
|
return css;
|
|
21
27
|
}
|
|
22
|
-
}
|
|
28
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const isTouch =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export const isTouch = window && navigator && (
|
|
2
|
+
// @ts-ignore
|
|
3
|
+
'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0
|
|
4
|
+
);
|
|
@@ -35,7 +35,7 @@ export const W3CImageFormat = (
|
|
|
35
35
|
|
|
36
36
|
export const parseW3CImageAnnotation = (
|
|
37
37
|
annotation: W3CAnnotation,
|
|
38
|
-
opts: W3CImageFormatAdapterOpts
|
|
38
|
+
opts: W3CImageFormatAdapterOpts = { strict: true, invertY: false }
|
|
39
39
|
): ParseResult<ImageAnnotation> => {
|
|
40
40
|
const annotationId = annotation.id || uuidv4();
|
|
41
41
|
|
|
@@ -83,7 +83,7 @@ export const parseW3CImageAnnotation = (
|
|
|
83
83
|
export const serializeW3CImageAnnotation = (
|
|
84
84
|
annotation: ImageAnnotation,
|
|
85
85
|
source: string,
|
|
86
|
-
opts: W3CImageFormatAdapterOpts
|
|
86
|
+
opts: W3CImageFormatAdapterOpts = { strict: true, invertY: false }
|
|
87
87
|
): W3CImageAnnotation => {
|
|
88
88
|
const {
|
|
89
89
|
selector,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Annotorious.d.ts","sourceRoot":"","sources":["../src/Annotorious.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,KAAK,EAAE,SAAS,EAAwC,MAAM,mBAAmB,CAAC;AAGzF,OAAO,EAA2C,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAE/F,OAAO,KAAK,EAAE,eAAe,EAAkC,MAAM,cAAc,CAAC;AACpF,OAAO,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAG1D,OAAO,EAAgB,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGzD,OAAO,mBAAmB,CAAC;AAC3B,OAAO,yBAAyB,CAAC;AACjC,OAAO,0BAA0B,CAAC;AAElC,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,OAAO,GAAG,eAAe,CAAE,SAAQ,SAAS,CAAC,eAAe,EAAE,CAAC,CAAC;IAExG,OAAO,EAAE,cAAc,CAAC;IAExB,gBAAgB,IAAI,MAAM,EAAE,CAAC;IAE7B,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,eAAe,EAAE,IAAI,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAE9F,mBAAmB,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,eAAe,GAAG,IAAI,CAAC;IAEhF,cAAc,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IAExC,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1C,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAE9B;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,OAAO,2BAC7C,MAAM,GAAG,gBAAgB,GAAG,iBAAiB,YAC3C,eAAe,CAAC,eAAe,EAAE,CAAC,CAAC,KAC3C,cAAc,CAAC,CAAC,CA8IlB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnnotoriousOpts.d.ts","sourceRoot":"","sources":["../src/AnnotoriousOpts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,sBAAsB,EAAE,aAAa,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACvH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,UAAU,GAAG,eAAe,EAAE,CAAC,SAAS,OAAO,GAAG,eAAe;IAE1G,OAAO,CAAC,EAAE,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAE9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,cAAc,CAAC,EAAE,OAAO,CAAC;IAIzB,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B,gBAAgB,CAAC,EAAE,0BAA0B,CAAC,CAAC,CAAC,CAAC;IAEjD,KAAK,CAAC,EAAE,sBAAsB,CAAC,eAAe,CAAC,CAAC;IAEhD,KAAK,CAAC,EAAE,KAAK,CAAC;CAEf;AAED,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3C,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9C,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,eAAe,oBAAoB,CAAC,SAAS,OAAO,0BACnF,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,YACjB,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,KAC9B,eAAe,CAAC,CAAC,EAAE,CAAC,CAMrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SVGAnnotationLayerPointerEvent.d.ts","sourceRoot":"","sources":["../../src/annotation/SVGAnnotationLayerPointerEvent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,8BAA8B;IAE7C,aAAa,EAAE,YAAY,CAAC;IAE5B,UAAU,CAAC,EAAE,eAAe,CAAC;CAE9B;AAKD,eAAO,MAAM,iBAAiB,QAAS,aAAa,SAAS,0BAA0B;;uBAQ3D,YAAY;CAgBvC,CAAA;AAED,eAAO,MAAM,WAAW,QAAS,YAAY,OAAO,aAAa,aAYhE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Transform.d.ts","sourceRoot":"","sources":["../../src/annotation/Transform.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IAExB,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,CAAE,MAAM,EAAE,MAAM,CAAE,CAAA;CAEzE;AAED,eAAO,MAAM,iBAAiB,EAAE,SAI/B,CAAA;AAED,eAAO,MAAM,kBAAkB,QAAS,aAAa,KAAG,SAatD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editorsRegistry.d.ts","sourceRoot":"","sources":["../../../src/annotation/editors/editorsRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAS9C,eAAO,MAAM,SAAS,UAAW,KAAK,uCAA+B,CAAC;AAEtE,eAAO,MAAM,cAAc,cAAe,SAAS,UAAU,OAAO,eAAe,2CAChD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/annotation/editors/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAElC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/annotation/editors/polygon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/annotation/editors/rectangle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/annotation/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAC5E,cAAc,kCAAkC,CAAC;AACjD,cAAc,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/annotation/shapes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DrawingToolConfig.d.ts","sourceRoot":"","sources":["../../../src/annotation/tools/DrawingToolConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAE9C,MAAM,WAAW,UAAU;IAEzB,SAAS,EAAE,OAAO,eAAe,CAAC;IAElC,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;CAE9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawingToolsRegistry.d.ts","sourceRoot":"","sources":["../../../src/annotation/tools/drawingToolsRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAG9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG;IAE5B,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CAEpB,CAAA;AAQD,eAAO,MAAM,gBAAgB,gBAA+B,CAAC;AAE7D,eAAO,MAAM,OAAO,SAAU,MAAM;UAPY,OAAO,eAAe;WAAS,eAAe;aAOjC,CAAC;AAE9D,eAAO,MAAM,YAAY,SAAU,MAAM,QAAQ,OAAO,eAAe,SAAS,eAAe;UAT/C,OAAO,eAAe;WAAS,eAAe;EAUxD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/annotation/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/annotation/tools/polygon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/annotation/tools/rectangle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/annotation/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../../src/annotation/utils/math.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,MAAO,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,MAKnE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../src/annotation/utils/responsive.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,gBAAgB,UAAW,gBAAgB,GAAG,iBAAiB,OAAO,aAAa;;;CAgC/F,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styling.d.ts","sourceRoot":"","sources":["../../../src/annotation/utils/styling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,YAAY,eACX,eAAe,UACnB,sBAAsB,CAAC,eAAe,CAAC,uBAgBhD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"touch.d.ts","sourceRoot":"","sources":["../../../src/annotation/utils/touch.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,SAGe,CAAC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AAGnC,YAAY,EACV,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,SAAS,EACT,cAAc,EACd,UAAU,EACV,kBAAkB,EAClB,KAAK,EACL,YAAY,EACZ,MAAM,EACN,aAAa,EACb,UAAU,EACV,eAAe,EACf,WAAW,EACX,WAAW,EACX,SAAS,EACT,cAAc,EACd,KAAK,EACL,gBAAgB,EAChB,aAAa,EACb,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keyboardCommands.d.ts","sourceRoot":"","sources":["../src/keyboardCommands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAI/D,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,UAAU,aAC5C,SAAS,CAAC,CAAC,CAAC,cACX,OAAO;;CA2CpB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImageAnnotation.d.ts","sourceRoot":"","sources":["../../../src/model/core/ImageAnnotation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,WAAW,eAAgB,SAAQ,UAAU;IAEjD,MAAM,EAAE,qBAAqB,CAAC;CAE/B;AAED,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB;IAE7D,QAAQ,EAAE,KAAK,CAAA;CAEhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Shape.d.ts","sourceRoot":"","sources":["../../../src/model/core/Shape.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,MAAM,WAAW,KAAM,SAAQ,gBAAgB;IAE7C,IAAI,EAAE,SAAS,CAAC;IAEhB,QAAQ,EAAE,QAAQ,CAAC;CAEpB;AAED,oBAAY,SAAS;IAEnB,OAAO,YAAY;IAEnB,OAAO,YAAY;IAEnB,SAAS,cAAc;CAExB;AAED,MAAM,WAAW,QAAQ;IAEvB,MAAM,EAAE,MAAM,CAAC;CAEhB;AAED,MAAM,WAAW,MAAM;IAErB,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,MAAM,CAAC;CAEd"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Ellipse.d.ts","sourceRoot":"","sources":["../../../../src/model/core/ellipse/Ellipse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,WAAW,OAAQ,SAAQ,KAAK;IAEpC,QAAQ,EAAE,eAAe,CAAC;CAE3B;AAED,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAE/C,EAAE,EAAE,MAAM,CAAC;IAEX,EAAE,EAAE,MAAM,CAAC;IAEX,EAAE,EAAE,MAAM,CAAC;IAEX,EAAE,EAAE,MAAM,CAAC;IAEX,MAAM,EAAE,MAAM,CAAC;CAEhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ellipseUtils.d.ts","sourceRoot":"","sources":["../../../../src/model/core/ellipse/ellipseUtils.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/core/ellipse/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Polygon.d.ts","sourceRoot":"","sources":["../../../../src/model/core/polygon/Polygon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,WAAW,OAAQ,SAAQ,KAAK;IAEpC,QAAQ,EAAE,eAAe,CAAC;CAE3B;AAED,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAE/C,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAE7B,MAAM,EAAE,MAAM,CAAC;CAEhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/core/polygon/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"polygonUtils.d.ts","sourceRoot":"","sources":["../../../../src/model/core/polygon/polygonUtils.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Rectangle.d.ts","sourceRoot":"","sources":["../../../../src/model/core/rectangle/Rectangle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,WAAW,SAAU,SAAQ,KAAK;IAEtC,QAAQ,EAAE,iBAAiB,CAAC;CAE7B;AAED,MAAM,WAAW,iBAAkB,SAAQ,QAAQ;IAEjD,CAAC,EAAE,MAAM,CAAC;IAEV,CAAC,EAAE,MAAM,CAAC;IAEV,CAAC,EAAE,MAAM,CAAC;IAEV,CAAC,EAAE,MAAM,CAAC;IAEV,MAAM,EAAE,MAAM,CAAC;CAEhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/core/rectangle/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rectangleUtils.d.ts","sourceRoot":"","sources":["../../../../src/model/core/rectangle/rectangleUtils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAElE,eAAO,MAAM,aAAa,EAAE,SAAS,CAAC,SAAS,CAU9C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shapeUtils.d.ts","sourceRoot":"","sources":["../../../src/model/core/shapeUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAExD,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,KAAK;IAExC,IAAI,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,CAAC;IAE3B,UAAU,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC;CAEzD;AAID;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,SAAU,SAAS,GAAG,MAAM,QAAQ,SAAS,CAAC,GAAG,CAAC,mBAC1D,CAAC;AAEvB;;;GAGG;AACH,eAAO,MAAM,WAAW,UAAW,KAAK,WAAkC,CAAC;AAE3E;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,UAAW,KAAK,KAAK,MAAM,KAAK,MAAM,KAAG,OACrB,CAAC;AAE5C;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,WAAY,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,KAAG,MAclE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"W3CImageAnnotation.d.ts","sourceRoot":"","sources":["../../../src/model/w3c/W3CImageAnnotation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzC,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IAEvD,MAAM,EAAE,wBAAwB,GAAG,wBAAwB,EAAE,CAAC;CAE/D;AAED,MAAM,WAAW,wBAAyB,SAAQ,mBAAmB;IAEnE,QAAQ,EAAE,gBAAgB,GAAG,gBAAgB,EAAE,CAAC;CAEjD;AAED,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,GAAG,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"W3CImageFormatAdapter.d.ts","sourceRoot":"","sources":["../../../src/model/w3c/W3CImageFormatAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEnF,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,SAAS,CAAC;AAKlE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAAC;AAEvF,MAAM,WAAW,yBAAyB;IAExC,MAAM,EAAE,OAAO,CAAC;IAEhB,OAAO,EAAE,OAAO,CAAC;CAElB;AAED,eAAO,MAAM,cAAc,WACjB,MAAM,SACR,yBAAyB,KAC9B,qBASF,CAAA;AAED,eAAO,MAAM,uBAAuB,eACtB,aAAa,QACnB,yBAAyB,KAC9B,WAAW,CAAC,eAAe,CA0C7B,CAAA;AAED,eAAO,MAAM,2BAA2B,eAC1B,eAAe,UACnB,MAAM,QACR,yBAAyB,KAC9B,kBA8CF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FragmentSelector.d.ts","sourceRoot":"","sources":["../../../../src/model/w3c/fragment/FragmentSelector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/D,MAAM,WAAW,gBAAgB;IAE/B,IAAI,EAAE,kBAAkB,CAAC;IAEzB,UAAU,EAAE,mCAAmC,CAAC;IAEhD,KAAK,EAAE,MAAM,CAAC;CAEf;AAED,eAAO,MAAM,qBAAqB,uBACZ,gBAAgB,GAAG,MAAM,wBAE5C,SA+BF,CAAA;AAED,eAAO,MAAM,yBAAyB,aAAc,iBAAiB,KAAG,gBAQvE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/w3c/fragment/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/w3c/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SVG.d.ts","sourceRoot":"","sources":["../../../../src/model/w3c/svg/SVG.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,+BAA+B,CAAC;AAE1D,eAAO,MAAM,QAAQ,QAAS,OAAO,GAAG,QAAQ,uBAkB/C,CAAA;AAED,uDAAuD;AACvD,eAAO,MAAM,kBAAkB,gBAAiB,QAAQ,KAAG,OAW1D,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SVGSelector.d.ts","sourceRoot":"","sources":["../../../../src/model/w3c/svg/SVGSelector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsD,KAAK,EAAE,MAAM,YAAY,CAAC;AAI5F,MAAM,WAAW,WAAW;IAE1B,IAAI,EAAE,aAAa,CAAC;IAEpB,KAAK,EAAE,MAAM,CAAC;CAEf;AA0DD,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,KAAK,mBAAmB,WAAW,GAAG,MAAM,KAAG,CASzF,CAAA;AAED,eAAO,MAAM,oBAAoB,UAAW,KAAK,KAAG,WAiBnD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/w3c/svg/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImageAnnotationStore.d.ts","sourceRoot":"","sources":["../../src/state/ImageAnnotationStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAClF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,eAAe,CAAC,GAAG;IAE1D,KAAK,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAAC;IAEzD,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,eAAe,EAAE,CAAC;CAEzF,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAAC,eAAe,CAAC,GAAG,oBAAoB,CAAC;AAE7F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,eAAe,CAAC,GAAG;IAE9E,KAAK,EAAE,0BAA0B,CAAC;CAEnC,CAAA"}
|