@annotorious/svelte 3.0.2 → 3.0.4
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-svelte.es.js +14 -15
- package/dist/annotorious-svelte.es.js.map +1 -1
- package/dist/index.d.ts +2 -6
- package/package.json +6 -6
- package/src/index.ts +10 -22
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { Origin as
|
|
3
|
-
import {
|
|
4
|
-
import { default as
|
|
1
|
+
import { default as r } from "./annotorious-svelte.es2.js";
|
|
2
|
+
import { Origin as a, UserSelectAction as n, createAnonymousGuest as p, createBody as f, defaultColorProvider as m } from "@annotorious/core";
|
|
3
|
+
import { ShapeType as u, W3CImageFormat as l, createImageAnnotator as s } from "@annotorious/annotorious";
|
|
4
|
+
import { default as g } from "./annotorious-svelte.es3.js";
|
|
5
5
|
import { default as x } from "./annotorious-svelte.es4.js";
|
|
6
|
-
const r = e, n = o, p = a;
|
|
7
6
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
r as MouseOverTooltip,
|
|
8
|
+
g as OpenSeadragonAnnotator,
|
|
10
9
|
x as OpenSeadragonPopup,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
a as Origin,
|
|
11
|
+
u as ShapeType,
|
|
12
|
+
n as UserSelectAction,
|
|
13
|
+
l as W3CImageFormat,
|
|
14
|
+
p as createAnonymousGuest,
|
|
15
|
+
f as createBody,
|
|
16
|
+
s as createImageAnnotator,
|
|
17
|
+
m as defaultColorProvider
|
|
19
18
|
};
|
|
20
19
|
//# sourceMappingURL=annotorious-svelte.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotorious-svelte.es.js","sources":[
|
|
1
|
+
{"version":3,"file":"annotorious-svelte.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { createAnonymousGuest as _createAnonymousGuest, createBody as _createBody, defaultColorProvider as _defaultColorProvider, Origin as _Origin, UserSelectAction as _UserSelectAction } from '@annotorious/core';
|
|
2
|
-
import { ShapeType as _ShapeType } from '@annotorious/annotorious';
|
|
3
1
|
export * from './osd';
|
|
4
2
|
export { default as MouseOverTooltip } from './MouseOverTooltip.svelte';
|
|
5
3
|
export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Appearance, AppearanceProvider, Color, DrawingStyle, Filter, FormatAdapter, HoverState, LifecycleEvents, ParseResult, PresentUser, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, SvelteAnnotator, SvelteAnnotatorState, User, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core';
|
|
6
|
-
export {
|
|
4
|
+
export { createAnonymousGuest, createBody, defaultColorProvider, Origin, UserSelectAction } from '@annotorious/core';
|
|
7
5
|
export type { AnnotoriousOpts, DrawingMode, DrawingTool, ImageAnnotator as AnnotoriousImageAnnotator, ImageAnnotation, ImageAnnotator, ImageAnnotatorState, Polygon, PolygonGeometry, Rectangle, RectangleGeometry, Shape } from '@annotorious/annotorious';
|
|
8
|
-
export
|
|
9
|
-
export declare const ShapeType: typeof _ShapeType;
|
|
10
|
-
export declare const W3CImageFormat: (source: string, opts?: import('@annotorious/annotorious').W3CImageFormatAdapterOpts) => import('@annotorious/annotorious').W3CImageFormatAdapter;
|
|
6
|
+
export { createImageAnnotator, ShapeType, W3CImageFormat } from '@annotorious/annotorious';
|
|
11
7
|
export type { OpenSeadragonAnnotator as AnnotoriousOpenSeadragonAnnotator } from '@annotorious/openseadragon';
|
|
12
8
|
export type { Viewer } from 'openseadragon';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@annotorious/svelte",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Annotorious Svelte bindings",
|
|
5
5
|
"author": "Rainer Simon",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"@tsconfig/svelte": "^5.0.4",
|
|
20
20
|
"@types/openseadragon": "^3.0.10",
|
|
21
21
|
"svelte": "^4.2.19",
|
|
22
|
-
"svelte-check": "^
|
|
22
|
+
"svelte-check": "^4.0.0",
|
|
23
23
|
"svelte-preprocess": "^6.0.2",
|
|
24
24
|
"tslib": "^2.7.0",
|
|
25
25
|
"typescript": "5.5.4",
|
|
26
26
|
"vite": "^5.4.2",
|
|
27
|
-
"vite-plugin-dts": "^4.0
|
|
27
|
+
"vite-plugin-dts": "^4.1.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"openseadragon": "^3.0.0 || ^4.0.0 || ^5.0.0"
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@annotorious/core": "3.0.
|
|
39
|
-
"@annotorious/annotorious": "3.0.
|
|
40
|
-
"@annotorious/openseadragon": "3.0.
|
|
38
|
+
"@annotorious/core": "3.0.4",
|
|
39
|
+
"@annotorious/annotorious": "3.0.4",
|
|
40
|
+
"@annotorious/openseadragon": "3.0.4",
|
|
41
41
|
"@neodrag/svelte": "^2.0.6"
|
|
42
42
|
},
|
|
43
43
|
"sideEffects": false
|
package/src/index.ts
CHANGED
|
@@ -32,21 +32,13 @@ export type {
|
|
|
32
32
|
W3CAnnotationTarget
|
|
33
33
|
} from '@annotorious/core';
|
|
34
34
|
|
|
35
|
-
import {
|
|
36
|
-
createAnonymousGuest as _createAnonymousGuest,
|
|
37
|
-
createBody as _createBody,
|
|
38
|
-
defaultColorProvider as _defaultColorProvider,
|
|
39
|
-
Origin as _Origin,
|
|
40
|
-
UserSelectAction as _UserSelectAction
|
|
41
|
-
} from '@annotorious/core';
|
|
42
|
-
|
|
43
35
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
36
|
+
createAnonymousGuest,
|
|
37
|
+
createBody,
|
|
38
|
+
defaultColorProvider,
|
|
39
|
+
Origin,
|
|
40
|
+
UserSelectAction
|
|
41
|
+
} from '@annotorious/core';
|
|
50
42
|
|
|
51
43
|
// Essential re-exports from @annotorious/annotorious
|
|
52
44
|
export type {
|
|
@@ -64,16 +56,12 @@ export type {
|
|
|
64
56
|
Shape
|
|
65
57
|
} from '@annotorious/annotorious';
|
|
66
58
|
|
|
67
|
-
|
|
68
|
-
createImageAnnotator
|
|
69
|
-
ShapeType
|
|
70
|
-
W3CImageFormat
|
|
59
|
+
export {
|
|
60
|
+
createImageAnnotator,
|
|
61
|
+
ShapeType,
|
|
62
|
+
W3CImageFormat
|
|
71
63
|
} from '@annotorious/annotorious';
|
|
72
64
|
|
|
73
|
-
export const createImageAnnotator = _createImageAnnotator;
|
|
74
|
-
export const ShapeType = _ShapeType;
|
|
75
|
-
export const W3CImageFormat = _W3CImageFormat;
|
|
76
|
-
|
|
77
65
|
// Essential re-exports from @annotorious/openseadragon
|
|
78
66
|
export type {
|
|
79
67
|
OpenSeadragonAnnotator as AnnotoriousOpenSeadragonAnnotator
|