@annotorious/annotorious 3.0.12 → 3.0.14
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@annotorious/annotorious",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.14",
|
|
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",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"typescript": "5.6.3",
|
|
47
47
|
"vite": "^5.4.11",
|
|
48
48
|
"vite-plugin-dts": "^4.3.0",
|
|
49
|
-
"vitest": "^2.1.
|
|
49
|
+
"vitest": "^2.1.5"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@annotorious/core": "3.0.
|
|
52
|
+
"@annotorious/core": "3.0.14",
|
|
53
53
|
"rbush": "^4.0.1",
|
|
54
54
|
"uuid": "^11.0.3"
|
|
55
55
|
}
|
package/src/AnnotoriousOpts.ts
CHANGED
|
@@ -13,6 +13,12 @@ export interface AnnotoriousOpts<I extends Annotation = ImageAnnotation, E exten
|
|
|
13
13
|
// 'drag': starts drawing on drag, single click always selects
|
|
14
14
|
drawingMode?: DrawingMode;
|
|
15
15
|
|
|
16
|
+
// Modal selection mode WILL NOT CHANGE OR DE-SELECT THE CURRENT SELECTION if another
|
|
17
|
+
// annotation or empty space is clicked. Warning: this means that the user is no longer
|
|
18
|
+
// able to de-select until a programmatic de-select is triggered from the host app!
|
|
19
|
+
// Use this mode only in combination with custom popups!
|
|
20
|
+
modalSelect?: boolean;
|
|
21
|
+
|
|
16
22
|
userSelectAction?: UserSelectActionExpression<E>;
|
|
17
23
|
|
|
18
24
|
style?: DrawingStyleExpression<ImageAnnotation>;
|