@annotorious/react 3.7.6 → 3.7.8
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.
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { createPortal as
|
|
4
|
-
import
|
|
5
|
-
import { useAnnotator as
|
|
1
|
+
import { jsxs as O, jsx as P } from "react/jsx-runtime";
|
|
2
|
+
import { useState as A, useRef as D, useEffect as L } from "react";
|
|
3
|
+
import { createPortal as S } from "react-dom";
|
|
4
|
+
import w from "openseadragon";
|
|
5
|
+
import { useAnnotator as b, useSelection as U } from "./annotorious-react.es2.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import "@annotorious/core";
|
|
9
9
|
import "@annotorious/annotorious";
|
|
10
|
-
import { toClientRects as
|
|
11
|
-
import { useFloating as
|
|
12
|
-
import { useViewer as
|
|
13
|
-
import { inline as
|
|
14
|
-
import { autoUpdate as
|
|
15
|
-
import
|
|
16
|
-
const
|
|
17
|
-
const { minX: d, minY: a, maxX: t, maxY: m } = r.bounds, { top: s, left: p } = n.element.getBoundingClientRect(), o = n.viewport.imageToViewerElementCoordinates(new
|
|
10
|
+
import { toClientRects as F } from "./annotorious-react.es15.js";
|
|
11
|
+
import { useFloating as M, FloatingArrow as V } from "./annotorious-react.es14.js";
|
|
12
|
+
import { useViewer as j } from "./annotorious-react.es8.js";
|
|
13
|
+
import { inline as z, offset as H, flip as T, shift as X, arrow as Y } from "./annotorious-react.es17.js";
|
|
14
|
+
import { autoUpdate as I } from "./annotorious-react.es16.js";
|
|
15
|
+
import y from "./annotorious-react.es18.js";
|
|
16
|
+
const N = (n, r) => {
|
|
17
|
+
const { minX: d, minY: a, maxX: t, maxY: m } = r.bounds, { top: s, left: p } = n.element.getBoundingClientRect(), o = n.viewport.imageToViewerElementCoordinates(new w.Point(d, a)), l = n.viewport.imageToViewerElementCoordinates(new w.Point(t, m));
|
|
18
18
|
return new DOMRect(
|
|
19
19
|
o.x + p,
|
|
20
20
|
o.y + s,
|
|
21
21
|
l.x - o.x,
|
|
22
22
|
l.y - o.y
|
|
23
23
|
);
|
|
24
|
-
},
|
|
25
|
-
var u, f;
|
|
26
|
-
const r =
|
|
24
|
+
}, ie = (n) => {
|
|
25
|
+
var u, f, g;
|
|
26
|
+
const r = b(), [d, a] = A(!1), t = j(), m = D(null), { selected: s, event: p } = U(), o = (u = s[0]) == null ? void 0 : u.annotation, l = (f = s[0]) == null ? void 0 : f.editable, { refs: c, floatingStyles: v, context: x } = M({
|
|
27
27
|
open: d,
|
|
28
28
|
onOpenChange: a,
|
|
29
29
|
placement: n.placement,
|
|
30
30
|
middleware: [
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
z(),
|
|
32
|
+
H(10),
|
|
33
|
+
T({ crossAxis: !0 }),
|
|
34
|
+
X({
|
|
35
35
|
crossAxis: !0,
|
|
36
36
|
boundary: t == null ? void 0 : t.element,
|
|
37
37
|
padding: { right: 5, left: 5, top: 10, bottom: 10 }
|
|
38
38
|
}),
|
|
39
|
-
|
|
39
|
+
Y({
|
|
40
40
|
element: m,
|
|
41
|
-
padding: 5
|
|
41
|
+
padding: ((g = n.arrowProps) == null ? void 0 : g.padding) || 5
|
|
42
42
|
})
|
|
43
43
|
],
|
|
44
|
-
whileElementsMounted:
|
|
44
|
+
whileElementsMounted: I
|
|
45
45
|
});
|
|
46
|
-
|
|
46
|
+
L(() => {
|
|
47
47
|
if (s.length === 0)
|
|
48
48
|
a(!1);
|
|
49
49
|
else {
|
|
50
50
|
const e = () => {
|
|
51
51
|
if (!t.element) return;
|
|
52
|
-
const i =
|
|
52
|
+
const i = N(t, o.target.selector.geometry);
|
|
53
53
|
c.setReference({
|
|
54
54
|
getBoundingClientRect: () => i,
|
|
55
|
-
getClientRects: () =>
|
|
55
|
+
getClientRects: () => F(i)
|
|
56
56
|
});
|
|
57
57
|
};
|
|
58
58
|
return window.addEventListener("scroll", e, !0), window.addEventListener("resize", e), t.addHandler("update-viewport", e), e(), a(!0), () => {
|
|
@@ -60,8 +60,8 @@ const I = (n, r) => {
|
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
}, [n.popup, s, t]);
|
|
63
|
-
const
|
|
64
|
-
const i = e.id ||
|
|
63
|
+
const R = (e) => {
|
|
64
|
+
const i = e.id || y();
|
|
65
65
|
r.state.store.addBody({
|
|
66
66
|
...e,
|
|
67
67
|
id: i,
|
|
@@ -69,31 +69,31 @@ const I = (n, r) => {
|
|
|
69
69
|
created: e.created || /* @__PURE__ */ new Date(),
|
|
70
70
|
creator: r.getUser()
|
|
71
71
|
});
|
|
72
|
-
},
|
|
72
|
+
}, B = (e) => {
|
|
73
73
|
r.state.store.deleteBody({ id: e, annotation: o.id });
|
|
74
|
-
},
|
|
75
|
-
const
|
|
74
|
+
}, C = (e, i) => {
|
|
75
|
+
const E = i.id || y(), h = {
|
|
76
76
|
updated: /* @__PURE__ */ new Date(),
|
|
77
77
|
updatedBy: r.getUser(),
|
|
78
78
|
...i,
|
|
79
|
-
id:
|
|
79
|
+
id: E,
|
|
80
80
|
annotation: o.id
|
|
81
81
|
};
|
|
82
|
-
r.state.store.updateBody(e,
|
|
82
|
+
r.state.store.updateBody(e, h);
|
|
83
83
|
};
|
|
84
|
-
return d && o ?
|
|
85
|
-
/* @__PURE__ */
|
|
84
|
+
return d && o ? S(
|
|
85
|
+
/* @__PURE__ */ O(
|
|
86
86
|
"div",
|
|
87
87
|
{
|
|
88
88
|
className: "a9s-popup a9s-image-popup",
|
|
89
89
|
ref: c.setFloating,
|
|
90
|
-
style:
|
|
90
|
+
style: v,
|
|
91
91
|
children: [
|
|
92
|
-
n.arrow && /* @__PURE__ */
|
|
93
|
-
|
|
92
|
+
n.arrow && /* @__PURE__ */ P(
|
|
93
|
+
V,
|
|
94
94
|
{
|
|
95
95
|
ref: m,
|
|
96
|
-
context:
|
|
96
|
+
context: x,
|
|
97
97
|
...n.arrowProps || {}
|
|
98
98
|
}
|
|
99
99
|
),
|
|
@@ -101,9 +101,9 @@ const I = (n, r) => {
|
|
|
101
101
|
annotation: o,
|
|
102
102
|
editable: l,
|
|
103
103
|
event: p,
|
|
104
|
-
onCreateBody:
|
|
105
|
-
onDeleteBody:
|
|
106
|
-
onUpdateBody:
|
|
104
|
+
onCreateBody: R,
|
|
105
|
+
onDeleteBody: B,
|
|
106
|
+
onUpdateBody: C
|
|
107
107
|
})
|
|
108
108
|
]
|
|
109
109
|
}
|
|
@@ -112,6 +112,6 @@ const I = (n, r) => {
|
|
|
112
112
|
) : null;
|
|
113
113
|
};
|
|
114
114
|
export {
|
|
115
|
-
|
|
115
|
+
ie as OpenSeadragonAnnotationPopup
|
|
116
116
|
};
|
|
117
117
|
//# sourceMappingURL=annotorious-react.es9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotorious-react.es9.js","sources":["../src/openseadragon/OpenSeadragonAnnotationPopup.tsx"],"sourcesContent":["import { ReactNode, useEffect, useRef, useState } from 'react';\nimport { createPortal } from 'react-dom';\nimport OpenSeadragon from 'openseadragon';\nimport { v4 as uuidv4 } from 'uuid';\nimport { useAnnotator, useSelection, useViewer} from '@annotorious/react';\nimport type { PopupProps } from '@annotorious/react';\nimport type { AnnotationBody, Annotator, Geometry, ImageAnnotation } from '@annotorious/annotorious';\nimport { toClientRects } from '../utils/toClientRects';\nimport {\n useFloating,\n arrow,\n shift,\n inline,\n autoUpdate,\n flip,\n offset,\n FloatingArrow,\n FloatingArrowProps,\n Placement\n} from '@floating-ui/react';\n\nconst toDOMRect = (viewer: OpenSeadragon.Viewer, geometry: Geometry) => {\n const { minX, minY, maxX, maxY } = geometry.bounds;\n\n const { top, left } = viewer.element.getBoundingClientRect();\n\n const topLeft = viewer.viewport.imageToViewerElementCoordinates(new OpenSeadragon.Point(minX, minY));\n const bottomRight = viewer.viewport.imageToViewerElementCoordinates(new OpenSeadragon.Point(maxX, maxY));\n\n return new DOMRect(\n topLeft.x + left,\n topLeft.y + top,\n bottomRight.x - topLeft.x,\n bottomRight.y - topLeft.y\n );\n}\n\ninterface OpenSeadragonAnnotationPopupProps {\n\n arrow?: boolean;\n\n arrowProps?: Omit<FloatingArrowProps, 'context' | 'ref'
|
|
1
|
+
{"version":3,"file":"annotorious-react.es9.js","sources":["../src/openseadragon/OpenSeadragonAnnotationPopup.tsx"],"sourcesContent":["import { ReactNode, useEffect, useRef, useState } from 'react';\nimport { createPortal } from 'react-dom';\nimport OpenSeadragon from 'openseadragon';\nimport { v4 as uuidv4 } from 'uuid';\nimport { useAnnotator, useSelection, useViewer} from '@annotorious/react';\nimport type { PopupProps } from '@annotorious/react';\nimport type { AnnotationBody, Annotator, Geometry, ImageAnnotation } from '@annotorious/annotorious';\nimport { toClientRects } from '../utils/toClientRects';\nimport {\n useFloating,\n arrow,\n shift,\n inline,\n autoUpdate,\n flip,\n offset,\n FloatingArrow,\n FloatingArrowProps,\n Placement\n} from '@floating-ui/react';\n\nconst toDOMRect = (viewer: OpenSeadragon.Viewer, geometry: Geometry) => {\n const { minX, minY, maxX, maxY } = geometry.bounds;\n\n const { top, left } = viewer.element.getBoundingClientRect();\n\n const topLeft = viewer.viewport.imageToViewerElementCoordinates(new OpenSeadragon.Point(minX, minY));\n const bottomRight = viewer.viewport.imageToViewerElementCoordinates(new OpenSeadragon.Point(maxX, maxY));\n\n return new DOMRect(\n topLeft.x + left,\n topLeft.y + top,\n bottomRight.x - topLeft.x,\n bottomRight.y - topLeft.y\n );\n}\n\ninterface OpenSeadragonAnnotationPopupProps {\n\n arrow?: boolean;\n\n arrowProps?: Omit<FloatingArrowProps, 'context' | 'ref'> & { padding?: number };\n\n placement?: Placement;\n\n popup: (props: PopupProps) => ReactNode;\n\n}\n\nexport const OpenSeadragonAnnotationPopup = (props: OpenSeadragonAnnotationPopupProps) => {\n \n const anno = useAnnotator<Annotator<ImageAnnotation>>();\n\n const [isOpen, setIsOpen] = useState(false);\n\n const viewer = useViewer();\n\n const arrowRef = useRef(null);\n\n const { selected, event } = useSelection();\n\n const annotation = selected[0]?.annotation;\n\n const editable = selected[0]?.editable;\n\n const { refs, floatingStyles, context } = useFloating({\n open: isOpen,\n onOpenChange: setIsOpen,\n placement: props.placement,\n middleware: [\n inline(), \n offset(10),\n flip({ crossAxis: true }),\n shift({ \n crossAxis: true,\n boundary: viewer?.element,\n padding: { right: 5, left: 5, top: 10, bottom: 10 }\n }),\n arrow({\n element: arrowRef,\n padding: props.arrowProps?.padding || 5\n })\n ],\n whileElementsMounted: autoUpdate\n });\n\n useEffect(() => {\n if (selected.length === 0) {\n setIsOpen(false);\n } else { \n const setPosition = () => { \n // This avoids issues when new viewer instances are mounted/unmounted \n // while the popup is open\n if (!viewer.element) return;\n\n const rect = toDOMRect(viewer, annotation.target.selector.geometry);\n \n refs.setReference({\n getBoundingClientRect: () => rect,\n getClientRects: () => toClientRects(rect)\n });\n }\n\n window.addEventListener('scroll', setPosition, true);\n window.addEventListener('resize', setPosition);\n viewer.addHandler('update-viewport', setPosition);\n\n setPosition();\n\n setIsOpen(true);\n\n return () => {\n window.removeEventListener('scroll', setPosition, true);\n window.removeEventListener('resize', setPosition);\n viewer.removeHandler('update-viewport', setPosition);\n };\n }\n }, [props.popup, selected, viewer]);\n\n const onCreateBody = (body: Partial<AnnotationBody>) => {\n const id = body.id || uuidv4();\n \n anno.state.store.addBody({\n ...body,\n id,\n annotation: annotation.id,\n created: body.created || new Date(),\n creator: anno.getUser()\n });\n }\n\n const onDeleteBody = (id: string) => {\n anno.state.store.deleteBody({ id, annotation: annotation.id });\n }\n\n const onUpdateBody = (current: AnnotationBody, next: AnnotationBody) => {\n const id = next.id || uuidv4();\n\n const updated: AnnotationBody = {\n updated: new Date(),\n updatedBy: anno.getUser(),\n ...next,\n id,\n annotation: annotation.id\n }\n\n anno.state.store.updateBody(current, updated);\n }\n\n return (isOpen && annotation) ? createPortal(\n <div\n className=\"a9s-popup a9s-image-popup\"\n ref={refs.setFloating}\n style={floatingStyles}>\n \n {props.arrow && (\n <FloatingArrow \n ref={arrowRef} \n context={context} \n {...(props.arrowProps || {})} />\n )}\n\n {props.popup({ \n annotation, \n editable, \n event,\n onCreateBody,\n onDeleteBody,\n onUpdateBody\n })}\n </div>\n , viewer.element) : null;\n\n}"],"names":["toDOMRect","viewer","geometry","minX","minY","maxX","maxY","top","left","topLeft","OpenSeadragon","bottomRight","OpenSeadragonAnnotationPopup","props","anno","useAnnotator","isOpen","setIsOpen","useState","useViewer","arrowRef","useRef","selected","event","useSelection","annotation","_a","editable","_b","refs","floatingStyles","context","useFloating","inline","offset","flip","shift","arrow","_c","autoUpdate","useEffect","setPosition","rect","toClientRects","onCreateBody","body","id","uuidv4","onDeleteBody","onUpdateBody","current","next","updated","createPortal","jsxs","jsx","FloatingArrow"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAMA,IAAY,CAACC,GAA8BC,MAAuB;AACtE,QAAM,EAAE,MAAAC,GAAM,MAAAC,GAAM,MAAAC,GAAM,MAAAC,EAAA,IAASJ,EAAS,QAEtC,EAAE,KAAAK,GAAK,MAAAC,EAAA,IAASP,EAAO,QAAQ,sBAAA,GAE/BQ,IAAUR,EAAO,SAAS,gCAAgC,IAAIS,EAAc,MAAMP,GAAMC,CAAI,CAAC,GAC7FO,IAAcV,EAAO,SAAS,gCAAgC,IAAIS,EAAc,MAAML,GAAMC,CAAI,CAAC;AAEvG,SAAO,IAAI;AAAA,IACTG,EAAQ,IAAID;AAAA,IACZC,EAAQ,IAAIF;AAAA,IACZI,EAAY,IAAKF,EAAQ;AAAA,IACzBE,EAAY,IAAIF,EAAQ;AAAA,EAAA;AAE5B,GAcaG,KAA+B,CAACC,MAA6C;;AAExF,QAAMC,IAAOC,EAAA,GAEP,CAACC,GAAQC,CAAS,IAAIC,EAAS,EAAK,GAEpCjB,IAASkB,EAAA,GAETC,IAAWC,EAAO,IAAI,GAEtB,EAAE,UAAAC,G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AAAA,YACA,OAAAJ;AAAA,YACA,cAAAqB;AAAA,YACA,cAAAI;AAAA,YACA,cAAAC;AAAA,UAAA,CACD;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAEHhD,EAAO;AAAA,EAAA,IAAW;AAEtB;"}
|
|
@@ -3,7 +3,9 @@ import { PopupProps } from '../index.ts';
|
|
|
3
3
|
import { FloatingArrowProps, Placement } from '@floating-ui/react';
|
|
4
4
|
interface OpenSeadragonAnnotationPopupProps {
|
|
5
5
|
arrow?: boolean;
|
|
6
|
-
arrowProps?: Omit<FloatingArrowProps, 'context' | 'ref'
|
|
6
|
+
arrowProps?: Omit<FloatingArrowProps, 'context' | 'ref'> & {
|
|
7
|
+
padding?: number;
|
|
8
|
+
};
|
|
7
9
|
placement?: Placement;
|
|
8
10
|
popup: (props: PopupProps) => ReactNode;
|
|
9
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSeadragonAnnotationPopup.d.ts","sourceRoot":"","sources":["../../src/openseadragon/OpenSeadragonAnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAK/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGrD,OAAO,EASL,kBAAkB,EAClB,SAAS,EACV,MAAM,oBAAoB,CAAC;AAkB5B,UAAU,iCAAiC;IAEzC,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,UAAU,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"OpenSeadragonAnnotationPopup.d.ts","sourceRoot":"","sources":["../../src/openseadragon/OpenSeadragonAnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAK/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGrD,OAAO,EASL,kBAAkB,EAClB,SAAS,EACV,MAAM,oBAAoB,CAAC;AAkB5B,UAAU,iCAAiC;IAEzC,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,UAAU,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,KAAK,CAAC,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAEhF,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,KAAK,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,SAAS,CAAC;CAEzC;AAED,eAAO,MAAM,4BAA4B,GAAI,OAAO,iCAAiC,gCA4HpF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@annotorious/react",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.8",
|
|
4
4
|
"description": "Annotorious React bindings",
|
|
5
5
|
"author": "Rainer Simon",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@annotorious/annotorious": "3.7.
|
|
49
|
-
"@annotorious/core": "3.7.
|
|
50
|
-
"@annotorious/openseadragon": "3.7.
|
|
48
|
+
"@annotorious/annotorious": "3.7.8",
|
|
49
|
+
"@annotorious/core": "3.7.8",
|
|
50
|
+
"@annotorious/openseadragon": "3.7.8",
|
|
51
51
|
"@floating-ui/react": "^0.27.16",
|
|
52
52
|
"dequal": "^2.0.3",
|
|
53
53
|
"zustand": "^5.0.8"
|