@annotorious/react 3.7.18 → 3.7.20
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/ImageAnnotator.d.ts.map +1 -1
- package/dist/annotorious-react.es.js +6 -6
- package/dist/annotorious-react.es10.js +1 -1
- package/dist/annotorious-react.es11.js +1 -1
- package/dist/annotorious-react.es14.js.map +1 -1
- package/dist/annotorious-react.es16.js +3 -3
- package/dist/annotorious-react.es17.js +1 -1
- package/dist/annotorious-react.es2.js +5 -5
- package/dist/annotorious-react.es25.js +250 -246
- package/dist/annotorious-react.es25.js.map +1 -1
- package/dist/annotorious-react.es5.js +11 -9
- package/dist/annotorious-react.es5.js.map +1 -1
- package/dist/annotorious-react.es8.js +118 -40
- package/dist/annotorious-react.es8.js.map +1 -1
- package/dist/annotorious-react.es9.js +42 -118
- package/dist/annotorious-react.es9.js.map +1 -1
- package/dist/openseadragon/OpenSeadragonAnnotator.d.ts.map +1 -1
- package/package.json +16 -7
|
@@ -1,123 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return new DOMRect(
|
|
19
|
-
o.x + c,
|
|
20
|
-
o.y + s,
|
|
21
|
-
l.x - o.x,
|
|
22
|
-
l.y - o.y
|
|
23
|
-
);
|
|
24
|
-
}, k = (t) => {
|
|
25
|
-
var r;
|
|
26
|
-
return ((r = t == null ? void 0 : t.target) == null ? void 0 : r.selector) && "geometry" in t.target.selector;
|
|
27
|
-
}, ie = (t) => {
|
|
28
|
-
var u;
|
|
29
|
-
const r = S(), [d, a] = O(!1), n = V(), m = P(null), { selected: s, event: c } = b(), [o, l] = A(() => {
|
|
30
|
-
const e = s[0];
|
|
31
|
-
return k(e == null ? void 0 : e.annotation) ? [e.annotation, e.editable] : [void 0, void 0];
|
|
32
|
-
}, [s]), { refs: p, floatingStyles: w, context: v } = U({
|
|
33
|
-
open: d,
|
|
34
|
-
onOpenChange: a,
|
|
35
|
-
placement: t.placement,
|
|
36
|
-
middleware: [
|
|
37
|
-
j(),
|
|
38
|
-
z(10),
|
|
39
|
-
H({ crossAxis: !0 }),
|
|
40
|
-
I({
|
|
41
|
-
crossAxis: !0,
|
|
42
|
-
boundary: n == null ? void 0 : n.element,
|
|
43
|
-
padding: { right: 5, left: 5, top: 10, bottom: 10 }
|
|
44
|
-
}),
|
|
45
|
-
T({
|
|
46
|
-
element: m,
|
|
47
|
-
padding: ((u = t.arrowProps) == null ? void 0 : u.padding) || 5
|
|
48
|
-
})
|
|
49
|
-
],
|
|
50
|
-
whileElementsMounted: X
|
|
51
|
-
});
|
|
52
|
-
L(() => {
|
|
53
|
-
if (s.length === 0 || !o)
|
|
54
|
-
a(!1);
|
|
55
|
-
else {
|
|
56
|
-
const e = () => {
|
|
57
|
-
if (!n.element) return;
|
|
58
|
-
const i = Y(n, o.target.selector.geometry);
|
|
59
|
-
p.setReference({
|
|
60
|
-
getBoundingClientRect: () => i,
|
|
61
|
-
getClientRects: () => M(i)
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
return window.addEventListener("scroll", e, !0), window.addEventListener("resize", e), n.addHandler("update-viewport", e), e(), a(!0), () => {
|
|
65
|
-
window.removeEventListener("scroll", e, !0), window.removeEventListener("resize", e), n.removeHandler("update-viewport", e);
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
}, [t.popup, s, n]);
|
|
69
|
-
const y = (e) => {
|
|
70
|
-
const i = e.id || g();
|
|
71
|
-
r.state.store.addBody({
|
|
72
|
-
...e,
|
|
73
|
-
id: i,
|
|
74
|
-
annotation: o.id,
|
|
75
|
-
created: e.created || /* @__PURE__ */ new Date(),
|
|
76
|
-
creator: r.getUser()
|
|
77
|
-
});
|
|
78
|
-
}, x = (e) => {
|
|
79
|
-
r.state.store.deleteBody({ id: e, annotation: o.id });
|
|
80
|
-
}, R = (e, i) => {
|
|
81
|
-
const B = i.id || g(), C = {
|
|
82
|
-
updated: /* @__PURE__ */ new Date(),
|
|
83
|
-
updatedBy: r.getUser(),
|
|
84
|
-
...i,
|
|
85
|
-
id: B,
|
|
86
|
-
annotation: o.id
|
|
87
|
-
};
|
|
88
|
-
r.state.store.updateBody(e, C);
|
|
89
|
-
};
|
|
90
|
-
return d && o ? D(
|
|
91
|
-
/* @__PURE__ */ E(
|
|
92
|
-
"div",
|
|
93
|
-
{
|
|
94
|
-
className: "a9s-popup a9s-image-popup",
|
|
95
|
-
ref: p.setFloating,
|
|
96
|
-
style: w,
|
|
97
|
-
children: [
|
|
98
|
-
t.arrow && /* @__PURE__ */ h(
|
|
99
|
-
F,
|
|
100
|
-
{
|
|
101
|
-
ref: m,
|
|
102
|
-
context: v,
|
|
103
|
-
...t.arrowProps || {}
|
|
104
|
-
}
|
|
105
|
-
),
|
|
106
|
-
t.popup({
|
|
107
|
-
annotation: o,
|
|
108
|
-
editable: l,
|
|
109
|
-
event: c,
|
|
110
|
-
onCreateBody: y,
|
|
111
|
-
onDeleteBody: x,
|
|
112
|
-
onUpdateBody: R
|
|
113
|
-
})
|
|
114
|
-
]
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as w, useState as A, useContext as c, useImperativeHandle as S, useEffect as n, createContext as g } from "react";
|
|
3
|
+
import { createAnonymousGuest as h } from "@annotorious/core";
|
|
4
|
+
import { createOSDAnnotator as x } from "@annotorious/openseadragon";
|
|
5
|
+
import { AnnotoriousContext as y } from "./annotorious-react.es2.js";
|
|
6
|
+
const d = g({ viewer: null, setViewer: null }), V = w((t, s) => {
|
|
7
|
+
const { children: v, tool: o, ...f } = t, [i, u] = A(), { anno: e, setAnno: a } = c(y);
|
|
8
|
+
return S(s, () => e, [e]), n(() => {
|
|
9
|
+
var l;
|
|
10
|
+
if (i != null && i.element)
|
|
11
|
+
try {
|
|
12
|
+
const r = x(i, f);
|
|
13
|
+
return a(r), () => {
|
|
14
|
+
r.destroy(), a(void 0);
|
|
15
|
+
};
|
|
16
|
+
} catch (r) {
|
|
17
|
+
(l = t.onInitError) == null || l.call(t, r);
|
|
115
18
|
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
)
|
|
19
|
+
}, [i]), n(() => {
|
|
20
|
+
e && e.setDrawingEnabled(t.drawingEnabled);
|
|
21
|
+
}, [e, t.drawingEnabled]), n(() => {
|
|
22
|
+
e && e.setDrawingMode(t.drawingMode);
|
|
23
|
+
}, [e, t.drawingMode]), n(() => {
|
|
24
|
+
e && e.setFilter(t.filter);
|
|
25
|
+
}, [e, t.filter]), n(() => {
|
|
26
|
+
e && e.setVisible(!t.hideAnnotations);
|
|
27
|
+
}, [e, t.hideAnnotations]), n(() => {
|
|
28
|
+
e && e.setStyle(t.style);
|
|
29
|
+
}, [e, t.style]), n(() => {
|
|
30
|
+
e && e.setDrawingTool(o || "rectangle");
|
|
31
|
+
}, [e, o]), n(() => {
|
|
32
|
+
e && e.setModalSelect(t.modalSelect);
|
|
33
|
+
}, [e, t.modalSelect]), n(() => {
|
|
34
|
+
e && (t.user ? e.setUser(t.user) : e.setUser(h()));
|
|
35
|
+
}, [e, t.user]), n(() => {
|
|
36
|
+
e && e.setUserSelectAction(t.userSelectAction);
|
|
37
|
+
}, [e, t.userSelectAction]), /* @__PURE__ */ m(d.Provider, { value: { viewer: i, setViewer: u }, children: t.children });
|
|
38
|
+
}), O = () => {
|
|
39
|
+
const { viewer: t } = c(d);
|
|
40
|
+
return t;
|
|
119
41
|
};
|
|
120
42
|
export {
|
|
121
|
-
|
|
43
|
+
V as OpenSeadragonAnnotator,
|
|
44
|
+
d as OpenSeadragonAnnotatorContext,
|
|
45
|
+
O as useViewer
|
|
122
46
|
};
|
|
123
47
|
//# sourceMappingURL=annotorious-react.es9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotorious-react.es9.js","sources":["../src/openseadragon/
|
|
1
|
+
{"version":3,"file":"annotorious-react.es9.js","sources":["../src/openseadragon/OpenSeadragonAnnotator.tsx"],"sourcesContent":["import { \n createContext, \n forwardRef, \n ReactNode, \n useContext, \n useEffect, \n useImperativeHandle, \n useState \n} from 'react';\nimport OpenSeadragon from 'openseadragon';\nimport { createAnonymousGuest } from '@annotorious/core';\nimport { AnnotoriousOSDOpts, createOSDAnnotator } from '@annotorious/openseadragon';\nimport { Annotation, DrawingStyle, Filter, User} from '@annotorious/annotorious';\nimport { AnnotoriousContext } from '../Annotorious';\nimport { AnnotoriousOpenSeadragonAnnotator } from '.';\n\nexport const OpenSeadragonAnnotatorContext = createContext<{ \n viewer: OpenSeadragon.Viewer,\n setViewer(viewer: OpenSeadragon.Viewer): void\n}>({ viewer: null, setViewer: null });\n\nexport type OpenSeadragonAnnotatorProps<I extends Annotation, E extends unknown> = AnnotoriousOSDOpts<I, E> & {\n\n children?: ReactNode;\n\n filter?: Filter<I>;\n\n hideAnnotations?: boolean;\n\n style?: DrawingStyle | ((annotation: I) => DrawingStyle);\n\n tool?: string | null;\n\n user?: User;\n\n onInitError?(error: Error): void;\n\n}\n\nexport const OpenSeadragonAnnotator = forwardRef(<I extends Annotation, E extends unknown>(\n props: OpenSeadragonAnnotatorProps<I, E>, \n ref: React.ForwardedRef<AnnotoriousOpenSeadragonAnnotator<I, E> | null>\n) => {\n const { children, tool, ...opts } = props;\n\n const [viewer, setViewer] = useState<OpenSeadragon.Viewer>();\n\n const { anno, setAnno } = useContext(AnnotoriousContext);\n\n useImperativeHandle(ref, () => anno as AnnotoriousOpenSeadragonAnnotator<I, E> | null, [anno]);\n\n useEffect(() => {\n if (viewer?.element) {\n try {\n const anno = createOSDAnnotator<I, E>(viewer, opts as AnnotoriousOSDOpts<I, E>);\n setAnno(anno);\n\n return () => {\n anno.destroy();\n setAnno(undefined);\n }\n } catch (error) {\n // Typical scenario: hardware acceleration is disabled \n props.onInitError?.(error);\n }\n }\n }, [viewer]);\n\n useEffect(() => {\n if (anno) anno.setDrawingEnabled(props.drawingEnabled);\n }, [anno, props.drawingEnabled]);\n\n useEffect(() => {\n if (anno) anno.setDrawingMode(props.drawingMode);\n }, [anno, props.drawingMode]);\n\n useEffect(() => {\n if (anno) anno.setFilter(props.filter);\n }, [anno, props.filter]);\n\n useEffect(() => {\n if (anno) anno.setVisible(!props.hideAnnotations);\n }, [anno, props.hideAnnotations]);\n\n useEffect(() => {\n if (anno) anno.setStyle(props.style);\n }, [anno, props.style]);\n\n useEffect(() => {\n if (anno) anno.setDrawingTool(tool || 'rectangle');\n }, [anno, tool]);\n\n useEffect(() => {\n if (anno) anno.setModalSelect(props.modalSelect);\n }, [anno, props.modalSelect]);\n\n useEffect(() => {\n if (!anno) return;\n \n if (props.user)\n anno.setUser(props.user);\n else \n anno.setUser(createAnonymousGuest());\n }, [anno, props.user]);\n\n useEffect(() => {\n if (anno) anno.setUserSelectAction(props.userSelectAction);\n }, [anno, props.userSelectAction]);\n\n return (\n <OpenSeadragonAnnotatorContext.Provider value={{ viewer, setViewer }}>\n {props.children}\n </OpenSeadragonAnnotatorContext.Provider>\n )\n\n}) as <I extends Annotation, E extends unknown> (\n props: OpenSeadragonAnnotatorProps<I, E> & { ref?: React.ForwardedRef<AnnotoriousOpenSeadragonAnnotator<I, E> | null> }\n) => React.ReactElement;\n\nexport const useViewer = () => {\n const { viewer } = useContext(OpenSeadragonAnnotatorContext);\n return viewer;\n}"],"names":["OpenSeadragonAnnotatorContext","createContext","OpenSeadragonAnnotator","forwardRef","props","ref","children","tool","opts","viewer","setViewer","useState","anno","setAnno","useContext","AnnotoriousContext","useImperativeHandle","useEffect","createOSDAnnotator","error","_a","createAnonymousGuest","jsx","useViewer"],"mappings":";;;;;AAgBO,MAAMA,IAAgCC,EAG1C,EAAE,QAAQ,MAAM,WAAW,MAAM,GAoBv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AK,CAAC,EAAE,YAAY,GAAG,CAAC,CAAC,UAAU,EAAE,CAAC,KAAK,YAAY,CAAC,CAAC;IAEzD,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,IAAI,CAAC,EAAE,IAAI,CAAC;IAEZ,WAAW,CAAC,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAElC,CAAA;AAED,eAAO,MAAM,sBAAsB,EA4E7B,CAAC,CAAC,SAAS,UAAU,EAAE,CAAC,SAAS,OAAO,EAC5C,KAAK,EAAE,2BAA2B,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,iCAAiC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA;CAAE,KACpH,KAAK,CAAC,YAAY,CAAC;AAExB,eAAO,MAAM,SAAS,4BAGrB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@annotorious/react",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.20",
|
|
4
4
|
"description": "Annotorious React bindings",
|
|
5
5
|
"author": "Rainer Simon",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"homepage": "https://annotorious.dev",
|
|
8
|
-
"
|
|
8
|
+
"keywords": [
|
|
9
|
+
"annotation",
|
|
10
|
+
"image annotation",
|
|
11
|
+
"react image annotation",
|
|
12
|
+
"iiif",
|
|
13
|
+
"openseadragon",
|
|
14
|
+
"iiif annotation",
|
|
15
|
+
"openseadragon annotation",
|
|
16
|
+
"data annotation"
|
|
17
|
+
],
|
|
9
18
|
"type": "module",
|
|
10
19
|
"scripts": {
|
|
11
20
|
"start": "vite",
|
|
@@ -26,7 +35,7 @@
|
|
|
26
35
|
"./annotorious-react.css": "./dist/annotorious-react.css"
|
|
27
36
|
},
|
|
28
37
|
"devDependencies": {
|
|
29
|
-
"@types/react": "^19.2.
|
|
38
|
+
"@types/react": "^19.2.14",
|
|
30
39
|
"@types/react-dom": "^19.2.3",
|
|
31
40
|
"@vitejs/plugin-react": "^4.7.0",
|
|
32
41
|
"typescript": "^5.9.3",
|
|
@@ -45,10 +54,10 @@
|
|
|
45
54
|
}
|
|
46
55
|
},
|
|
47
56
|
"dependencies": {
|
|
48
|
-
"@annotorious/annotorious": "3.7.
|
|
49
|
-
"@annotorious/core": "3.7.
|
|
50
|
-
"@annotorious/openseadragon": "3.7.
|
|
51
|
-
"@floating-ui/react": "^0.27.
|
|
57
|
+
"@annotorious/annotorious": "3.7.20",
|
|
58
|
+
"@annotorious/core": "3.7.20",
|
|
59
|
+
"@annotorious/openseadragon": "3.7.20",
|
|
60
|
+
"@floating-ui/react": "^0.27.17",
|
|
52
61
|
"dequal": "^2.0.3"
|
|
53
62
|
},
|
|
54
63
|
"sideEffects": false
|