@soomo/react-text-annotator 3.0.0-staging.56 → 3.0.0-staging.57
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/react-text-annotator.es10.js +483 -60
- package/dist/react-text-annotator.es10.js.map +1 -1
- package/dist/react-text-annotator.es11.js +60 -41
- package/dist/react-text-annotator.es11.js.map +1 -1
- package/dist/react-text-annotator.es12.js +40 -482
- package/dist/react-text-annotator.es12.js.map +1 -1
- package/dist/react-text-annotator.es18.js +1 -1
- package/dist/react-text-annotator.es19.js +1 -1
- package/dist/react-text-annotator.es2.js +1 -1
- package/dist/react-text-annotator.es20.js +114 -2
- package/dist/react-text-annotator.es20.js.map +1 -1
- package/dist/react-text-annotator.es21.js +309 -2
- package/dist/react-text-annotator.es21.js.map +1 -1
- package/dist/react-text-annotator.es22.js +53 -109
- package/dist/react-text-annotator.es22.js.map +1 -1
- package/dist/react-text-annotator.es23.js +17 -306
- package/dist/react-text-annotator.es23.js.map +1 -1
- package/dist/react-text-annotator.es24.js +2 -58
- package/dist/react-text-annotator.es24.js.map +1 -1
- package/dist/react-text-annotator.es25.js +2 -20
- package/dist/react-text-annotator.es25.js.map +1 -1
- package/dist/react-text-annotator.es4.js +2 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-text-annotator.es24.js","sources":[
|
|
1
|
+
{"version":3,"file":"react-text-annotator.es24.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
const root = XML_dom.documentElement;
|
|
3
|
-
let i = 1;
|
|
4
|
-
let qname = function(e) {
|
|
5
|
-
if (!namespaces.has(e.namespaceURI ? e.namespaceURI : "")) {
|
|
6
|
-
namespaces.set(e.namespaceURI, "ns" + i++);
|
|
7
|
-
}
|
|
8
|
-
return namespaces.get(e.namespaceURI ? e.namespaceURI : "") + ":" + e.localName;
|
|
9
|
-
};
|
|
10
|
-
const els = new Set(
|
|
11
|
-
Array.from(root.querySelectorAll("*"), qname)
|
|
12
|
-
);
|
|
13
|
-
els.add(qname(root));
|
|
14
|
-
return els;
|
|
15
|
-
}
|
|
16
|
-
function learnCustomElementNames(HTML_dom) {
|
|
17
|
-
return new Set(Array.from(HTML_dom.querySelectorAll("*[data-origname]"), (e) => e.localName.replace(/(\w+)-.+/, "$1:") + e.getAttribute("data-origname")));
|
|
18
|
-
}
|
|
1
|
+
var reactJsxRuntime_development = {};
|
|
19
2
|
export {
|
|
20
|
-
|
|
21
|
-
learnElementNames
|
|
3
|
+
reactJsxRuntime_development as __exports
|
|
22
4
|
};
|
|
23
5
|
//# sourceMappingURL=react-text-annotator.es25.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-text-annotator.es25.js","sources":[
|
|
1
|
+
{"version":3,"file":"react-text-annotator.es25.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCallback, useLayoutEffect, useMemo, useRef, useEffect } from "react";
|
|
2
2
|
import { useAnnotationStore, useSelection, Origin } from "@annotorious/react";
|
|
3
|
-
import { announce as $319e236875307eab$export$a9b970dcc4ae71a9, destroyAnnouncer as $319e236875307eab$export$d8686216b8b81b2f } from "./react-text-annotator.
|
|
4
|
-
import { exhaustiveUniqueRandom } from "./react-text-annotator.
|
|
3
|
+
import { announce as $319e236875307eab$export$a9b970dcc4ae71a9, destroyAnnouncer as $319e236875307eab$export$d8686216b8b81b2f } from "./react-text-annotator.es11.js";
|
|
4
|
+
import { exhaustiveUniqueRandom } from "./react-text-annotator.es12.js";
|
|
5
5
|
const useAnnouncePopupNavigation = (args) => {
|
|
6
6
|
const {
|
|
7
7
|
message = "Press Tab to move to Notes Dialog",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soomo/react-text-annotator",
|
|
3
|
-
"version": "3.0.0-staging.
|
|
3
|
+
"version": "3.0.0-staging.57",
|
|
4
4
|
"description": "Recogito Text Annotator React bindings",
|
|
5
5
|
"author": "Rainer Simon",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@annotorious/core": "^3.0.3",
|
|
48
48
|
"@annotorious/react": "^3.0.3",
|
|
49
49
|
"@floating-ui/react": "^0.26.23",
|
|
50
|
-
"@soomo/text-annotator": "3.0.0-staging.
|
|
50
|
+
"@soomo/text-annotator": "3.0.0-staging.57",
|
|
51
51
|
"@react-aria/live-announcer": "^3.3.4",
|
|
52
52
|
"@recogito/text-annotator-tei": "3.0.0-rc.44",
|
|
53
53
|
"CETEIcean": "^1.9.3",
|