@annotorious/annotorious 3.0.0-rc.7 → 3.0.0-rc.9
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.es.js +1305 -1583
- 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 +1 -7
- package/dist/index.d.ts.map +1 -1
- package/package.json +2 -4
- package/src/index.ts +24 -16
package/dist/index.d.ts
CHANGED
|
@@ -6,11 +6,5 @@ export * from './annotation/tools';
|
|
|
6
6
|
export * from './Annotorious';
|
|
7
7
|
export * from './AnnotoriousOpts';
|
|
8
8
|
export * from './keyboardCommands';
|
|
9
|
-
export
|
|
10
|
-
export * from '@annotorious/core/src/presence';
|
|
11
|
-
export * from '@annotorious/core/src/utils';
|
|
12
|
-
export type { HoverState, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver } from '@annotorious/core/src/state';
|
|
13
|
-
import { Origin as _Origin, PointerSelectAction as _PointerSelectAction } from '@annotorious/core/src/state';
|
|
14
|
-
export { _Origin as Origin };
|
|
15
|
-
export { _PointerSelectAction as PointerSelectAction };
|
|
9
|
+
export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Appearance, AppearanceProvider, Color, DrawingStyle, Filter, FormatAdapter, HoverState, LifecycleEvents, ParseResult, PresentUser, Purpose, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, User, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget, W3CSelector } from '@annotorious/core';
|
|
16
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,OAAO,EACP,SAAS,EACT,cAAc,EACd,KAAK,EACL,gBAAgB,EAChB,aAAa,EACb,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACZ,MAAM,mBAAmB,CAAC"}
|
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.9",
|
|
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",
|
|
@@ -33,9 +33,7 @@
|
|
|
33
33
|
"require": "./dist/annotorious.js"
|
|
34
34
|
},
|
|
35
35
|
"./annotorious.css": "./dist/annotorious.css",
|
|
36
|
-
"./src": "./src/index.ts"
|
|
37
|
-
"./src/annotation": "./src/annotation/index.ts",
|
|
38
|
-
"./src/model": "./src/model/index.ts"
|
|
36
|
+
"./src": "./src/index.ts"
|
|
39
37
|
},
|
|
40
38
|
"devDependencies": {
|
|
41
39
|
"@sveltejs/vite-plugin-svelte": "^2.4.6",
|
package/src/index.ts
CHANGED
|
@@ -7,24 +7,32 @@ export * from './Annotorious';
|
|
|
7
7
|
export * from './AnnotoriousOpts';
|
|
8
8
|
export * from './keyboardCommands';
|
|
9
9
|
|
|
10
|
-
//
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
// Essential re-exports from @annotorious/core
|
|
11
|
+
export type {
|
|
12
|
+
Annotation,
|
|
13
|
+
AnnotationBody,
|
|
14
|
+
AnnotationTarget,
|
|
15
|
+
Annotator,
|
|
16
|
+
AnnotatorState,
|
|
17
|
+
Appearance,
|
|
18
|
+
AppearanceProvider,
|
|
19
|
+
Color,
|
|
20
|
+
DrawingStyle,
|
|
21
|
+
Filter,
|
|
22
|
+
FormatAdapter,
|
|
16
23
|
HoverState,
|
|
24
|
+
LifecycleEvents,
|
|
25
|
+
ParseResult,
|
|
26
|
+
PresentUser,
|
|
27
|
+
Purpose,
|
|
17
28
|
Selection,
|
|
18
29
|
SelectionState,
|
|
19
30
|
Store,
|
|
20
31
|
StoreChangeEvent,
|
|
21
|
-
StoreObserver
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from '@annotorious/core
|
|
28
|
-
|
|
29
|
-
export { _Origin as Origin };
|
|
30
|
-
export { _PointerSelectAction as PointerSelectAction };
|
|
32
|
+
StoreObserver,
|
|
33
|
+
User,
|
|
34
|
+
W3CAnnotation,
|
|
35
|
+
W3CAnnotationBody,
|
|
36
|
+
W3CAnnotationTarget,
|
|
37
|
+
W3CSelector
|
|
38
|
+
} from '@annotorious/core';
|