@soomo/react-text-annotator 3.0.0-staging.5 → 3.0.0-staging.50

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.
Files changed (75) hide show
  1. package/dist/TextAnnotator.d.ts +3 -3
  2. package/dist/TextAnnotator.d.ts.map +1 -1
  3. package/dist/TextAnnotatorPlugin.d.ts +1 -1
  4. package/dist/TextAnnotatorPopup/TextAnnotatorPopup.d.ts +16 -0
  5. package/dist/TextAnnotatorPopup/TextAnnotatorPopup.d.ts.map +1 -0
  6. package/dist/TextAnnotatorPopup/index.d.ts +2 -0
  7. package/dist/TextAnnotatorPopup/index.d.ts.map +1 -0
  8. package/dist/hooks/index.d.ts +2 -0
  9. package/dist/hooks/index.d.ts.map +1 -0
  10. package/dist/hooks/useAnnouncePopupNavigation.d.ts +10 -0
  11. package/dist/hooks/useAnnouncePopupNavigation.d.ts.map +1 -0
  12. package/dist/index.d.ts +7 -9
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/react-text-annotator.css +31 -1
  15. package/dist/react-text-annotator.es.js +11 -8
  16. package/dist/react-text-annotator.es.js.map +1 -1
  17. package/dist/react-text-annotator.es10.js +486 -34
  18. package/dist/react-text-annotator.es10.js.map +1 -1
  19. package/dist/react-text-annotator.es11.js +1406 -822
  20. package/dist/react-text-annotator.es11.js.map +1 -1
  21. package/dist/react-text-annotator.es13.js +241 -2
  22. package/dist/react-text-annotator.es13.js.map +1 -1
  23. package/dist/react-text-annotator.es14.js +560 -105
  24. package/dist/react-text-annotator.es14.js.map +1 -1
  25. package/dist/react-text-annotator.es15.js +54 -299
  26. package/dist/react-text-annotator.es15.js.map +1 -1
  27. package/dist/react-text-annotator.es16.js +38 -51
  28. package/dist/react-text-annotator.es16.js.map +1 -1
  29. package/dist/react-text-annotator.es17.js +2 -20
  30. package/dist/react-text-annotator.es17.js.map +1 -1
  31. package/dist/react-text-annotator.es18.js +34 -0
  32. package/dist/react-text-annotator.es18.js.map +1 -0
  33. package/dist/react-text-annotator.es19.js +901 -0
  34. package/dist/react-text-annotator.es19.js.map +1 -0
  35. package/dist/react-text-annotator.es2.js +2 -2
  36. package/dist/{react-text-annotator.es12.js → react-text-annotator.es20.js} +1 -1
  37. package/dist/react-text-annotator.es20.js.map +1 -0
  38. package/dist/react-text-annotator.es21.js +5 -0
  39. package/dist/react-text-annotator.es21.js.map +1 -0
  40. package/dist/react-text-annotator.es22.js +117 -0
  41. package/dist/react-text-annotator.es22.js.map +1 -0
  42. package/dist/react-text-annotator.es23.js +312 -0
  43. package/dist/react-text-annotator.es23.js.map +1 -0
  44. package/dist/react-text-annotator.es24.js +61 -0
  45. package/dist/react-text-annotator.es24.js.map +1 -0
  46. package/dist/react-text-annotator.es25.js +23 -0
  47. package/dist/react-text-annotator.es25.js.map +1 -0
  48. package/dist/react-text-annotator.es26.js +130 -0
  49. package/dist/react-text-annotator.es26.js.map +1 -0
  50. package/dist/react-text-annotator.es27.js +155 -0
  51. package/dist/react-text-annotator.es27.js.map +1 -0
  52. package/dist/react-text-annotator.es28.js +314 -0
  53. package/dist/react-text-annotator.es28.js.map +1 -0
  54. package/dist/react-text-annotator.es29.js +152 -0
  55. package/dist/react-text-annotator.es29.js.map +1 -0
  56. package/dist/react-text-annotator.es3.js +2 -2
  57. package/dist/react-text-annotator.es30.js +563 -0
  58. package/dist/react-text-annotator.es30.js.map +1 -0
  59. package/dist/react-text-annotator.es4.js +38 -28
  60. package/dist/react-text-annotator.es4.js.map +1 -1
  61. package/dist/react-text-annotator.es5.js +22 -47
  62. package/dist/react-text-annotator.es5.js.map +1 -1
  63. package/dist/react-text-annotator.es6.js +129 -10
  64. package/dist/react-text-annotator.es6.js.map +1 -1
  65. package/dist/react-text-annotator.es7.js +181 -1
  66. package/dist/react-text-annotator.es7.js.map +1 -1
  67. package/dist/react-text-annotator.es8.js +9 -487
  68. package/dist/react-text-annotator.es8.js.map +1 -1
  69. package/dist/tei/TEIAnnotator.d.ts +2 -2
  70. package/package.json +22 -14
  71. package/dist/TextAnnotatorPopup.d.ts +0 -14
  72. package/dist/TextAnnotatorPopup.d.ts.map +0 -1
  73. package/dist/react-text-annotator.es12.js.map +0 -1
  74. package/dist/react-text-annotator.es9.js +0 -5
  75. package/dist/react-text-annotator.es9.js.map +0 -1
@@ -1,7 +1,7 @@
1
- import { HighlightStyleExpression, TextAnnotation, TextAnnotatorOptions } from '@soomo/text-annotator';
2
- import { FormatAdapter } from '@annotorious/core';
3
- import { Filter } from '@annotorious/react';
4
1
  import { ReactNode } from 'react';
2
+ import { Filter } from '@annotorious/react';
3
+ import { FormatAdapter } from '@annotorious/core';
4
+ import { HighlightStyleExpression, TextAnnotation, TextAnnotatorOptions } from '@soomo/text-annotator';
5
5
 
6
6
  export interface TextAnnotatorProps<E extends unknown> extends Omit<TextAnnotatorOptions<E>, 'adapter'> {
7
7
  children?: ReactNode | JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"TextAnnotator.d.ts","sourceRoot":"","sources":["../src/TextAnnotator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAiC,MAAM,OAAO,CAAC;AACjE,OAAO,EAAsB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,wBAAwB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAG5G,OAAO,+CAA+C,CAAC;AAGvD,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,OAAO,CAAE,SAAQ,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC;IAErG,QAAQ,CAAC,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAAC;IAEnC,OAAO,CAAC,EAAE,aAAa,CAAC,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,WAAW,KAAK,aAAa,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAEnH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,wBAAwB,CAAC;IAEjC,SAAS,CAAC,EAAE,MAAM,CAAC;CAEpB;AAED,eAAO,MAAM,aAAa,6BAA8B,mBAAmB,CAAC,CAAC,4CAqC5E,CAAA"}
1
+ {"version":3,"file":"TextAnnotator.d.ts","sourceRoot":"","sources":["../src/TextAnnotator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAiC,MAAM,OAAO,CAAC;AACjE,OAAO,EAAsB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,wBAAwB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAG5G,OAAO,+CAA+C,CAAC;AAGvD,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,OAAO,CAAE,SAAQ,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC;IAErG,QAAQ,CAAC,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAAC;IAEnC,OAAO,CAAC,EAAE,aAAa,CAAC,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,WAAW,KAAK,aAAa,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAEnH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,wBAAwB,CAAC;IAEjC,SAAS,CAAC,EAAE,MAAM,CAAC;CAEpB;AAED,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,OAAO,SAAS,kBAAkB,CAAC,CAAC,CAAC,4CAoC5E,CAAC"}
@@ -1,5 +1,5 @@
1
- import { TextAnnotator } from '@soomo/text-annotator';
2
1
  import { AnnotatorPlugin } from '@annotorious/react';
2
+ import { TextAnnotator } from '@soomo/text-annotator';
3
3
 
4
4
  export type TextAnnotatorPlugin<T extends unknown = TextAnnotator> = AnnotatorPlugin<T>;
5
5
  //# sourceMappingURL=TextAnnotatorPlugin.d.ts.map
@@ -0,0 +1,16 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { TextAnnotation } from '@soomo/text-annotator';
3
+
4
+ interface TextAnnotationPopupProps {
5
+ popupNavigationMessage?: string;
6
+ popup(props: TextAnnotatorPopupProps): ReactNode;
7
+ }
8
+ export interface TextAnnotatorPopupProps {
9
+ selected: {
10
+ annotation: TextAnnotation;
11
+ editable?: boolean;
12
+ }[];
13
+ }
14
+ export declare const TextAnnotatorPopup: FC<TextAnnotationPopupProps>;
15
+ export {};
16
+ //# sourceMappingURL=TextAnnotatorPopup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextAnnotatorPopup.d.ts","sourceRoot":"","sources":["../../src/TextAnnotatorPopup/TextAnnotatorPopup.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAgB,SAAS,EAAoC,MAAM,OAAO,CAAC;AAgB7F,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,0BAA0B,CAAC;AAElC,UAAU,wBAAwB;IAEhC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC,KAAK,CAAC,KAAK,EAAE,uBAAuB,GAAG,SAAS,CAAC;CAElD;AAED,MAAM,WAAW,uBAAuB;IAEtC,QAAQ,EAAE;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;CAEhE;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,wBAAwB,CAkJ3D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './TextAnnotatorPopup';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TextAnnotatorPopup/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './useAnnouncePopupNavigation';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,10 @@
1
+ interface AnnouncePopupOpeningArgs {
2
+ message?: string;
3
+ idle?: number;
4
+ floatingOpen: boolean;
5
+ floatingFocused?: boolean;
6
+ disabled?: boolean;
7
+ }
8
+ export declare const useAnnouncePopupNavigation: (args: AnnouncePopupOpeningArgs) => void;
9
+ export {};
10
+ //# sourceMappingURL=useAnnouncePopupNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAnnouncePopupNavigation.d.ts","sourceRoot":"","sources":["../../src/hooks/useAnnouncePopupNavigation.ts"],"names":[],"mappings":"AAOA,UAAU,wBAAwB;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,0BAA0B,SAAU,wBAAwB,SA2DxE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,14 +1,12 @@
1
- import { Origin as _Origin, PointerSelectAction as _PointerSelectAction } from '@annotorious/core';
2
1
  export * from './tei';
2
+ export * from './hooks';
3
3
  export * from './TextAnnotator';
4
4
  export * from './TextAnnotatorPopup';
5
5
  export * from './TextAnnotatorPlugin';
6
- export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Color, Filter, FormatAdapter, HoverState, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, ParseResult, User, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core';
7
- export declare const PointerSelectAction: typeof _PointerSelectAction;
8
- export declare const createBody: (annotation: import('@annotorious/core').Annotation, payload: {
9
- [key: string]: any;
10
- }, created?: Date, creator?: import('@annotorious/core').User) => import('@annotorious/core').AnnotationBody;
11
- export declare const Origin: typeof _Origin;
12
- export type { AnnotoriousPlugin } from '@annotorious/react';
13
- export type { TextAnnotation, TextAnnotationTarget, TextAnnotator as RecogitoTextAnnotator, TextSelector } from '@soomo/text-annotator';
6
+ export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Color, Filter, FormatAdapter, HoverState, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, ParseResult, User, UserSelectActionExpression, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core';
7
+ export { createBody, Origin, UserSelectAction } from '@annotorious/core';
8
+ export { AnnotoriousPlugin } from '@annotorious/react';
9
+ export type { HighlightStyle, HighlightStyleExpression, TextAnnotation, TextAnnotationTarget, TextSelector, W3CTextAnnotation, W3CTextAnnotationTarget, W3CTextSelector, W3CAnnotationStylesheet, TextAnnotator as RecogitoTextAnnotator, TextAnnotationStore } from '@soomo/text-annotator';
10
+ export { W3CTextFormat } from '@recogito/text-annotator';
11
+ export type { RecogitoTEIAnnotator, TEIAnnotation, TEIAnnotationTarget, TEIRangeSelector } from '@recogito/text-annotator-tei';
14
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAGtC,YAAY,EACV,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,SAAS,EACT,cAAc,EACd,KAAK,EACL,MAAM,EACN,aAAa,EACb,UAAU,EACV,SAAS,EACT,cAAc,EACd,KAAK,EACL,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAEL,MAAM,IAAI,OAAO,EACjB,mBAAmB,IAAI,oBAAoB,EAC5C,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,mBAAmB,6BAAuB,CAAC;AACxD,eAAO,MAAM,UAAU;;4GAAc,CAAC;AACtC,eAAO,MAAM,MAAM,gBAAU,CAAC;AAG9B,YAAY,EACV,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,aAAa,IAAI,qBAAqB,EACtC,YAAY,EACb,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAGtC,YAAY,EACV,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,SAAS,EACT,cAAc,EACd,KAAK,EACL,MAAM,EACN,aAAa,EACb,UAAU,EACV,SAAS,EACT,cAAc,EACd,KAAK,EACL,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,IAAI,EACJ,0BAA0B,EAC1B,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,UAAU,EACV,MAAM,EACN,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACN,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EACV,cAAc,EACd,wBAAwB,EACxB,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,eAAe,EACf,uBAAuB,EACvB,aAAa,IAAI,qBAAqB,EACtC,mBAAmB,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,aAAa,EACd,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,8BAA8B,CAAC"}
@@ -1 +1,31 @@
1
- .r6o-annotatable .r6o-span-highlight-layer{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.r6o-annotatable .r6o-span-highlight-layer.hidden{display:none}.r6o-annotatable .r6o-span-highlight-layer .r6o-annotation{border-style:solid;border-width:0;position:absolute;display:block}html,body{overscroll-behavior-y:none}.r6o-annotatable{-webkit-tap-highlight-color:transparent}.r6o-annotatable,.r6o-annotatable *{position:relative}.hovered *{cursor:pointer}.r6o-highlight-layer{left:0;position:fixed;top:0;bottom:0;width:100vw;pointer-events:none}*::selection,::selection{background:#0080ff2e}::-moz-selection{background:#0080ff2e}
1
+ .r6o-canvas-highlight-layer{position:fixed;top:0;bottom:0;left:0;width:100vw;height:100vh;pointer-events:none}.r6o-canvas-highlight-layer.bg{mix-blend-mode:multiply;z-index:1}.r6o-annotatable .r6o-span-highlight-layer{position:absolute;top:0;left:0;width:100%;height:100%;mix-blend-mode:multiply;pointer-events:none;z-index:1}.r6o-annotatable .r6o-span-highlight-layer.hidden{display:none}.r6o-annotatable .r6o-span-highlight-layer .r6o-annotation{border-style:solid;border-width:0;box-sizing:content-box;display:block;position:absolute}.r6o-annotation{box-sizing:content-box}.r6o-presence-layer{left:0;position:fixed;top:0;bottom:0;width:100vw;pointer-events:none}html,body{overscroll-behavior-y:none}.r6o-annotatable{position:relative;-webkit-tap-highlight-color:transparent}.r6o-annotatable.no-focus-outline{outline:none}.hovered *{cursor:pointer}*::selection,::selection{background:#0080ff2e}::-moz-selection{background:#0080ff2e}
2
+ /*
3
+ * Close message should be visible only to the keyboard
4
+ * or the screen reader users as the popup behavior hint
5
+ * Inspired by https://gist.github.com/ffoodd/000b59f431e3e64e4ce1a24d5bb36034
6
+ */
7
+ .popup-close-message {
8
+ border: 0 !important;
9
+ clip: rect(1px, 1px, 1px, 1px);
10
+ -webkit-clip-path: inset(50%);
11
+ clip-path: inset(50%);
12
+ height: 1px;
13
+ margin: -1px;
14
+ overflow: hidden;
15
+ padding: 0;
16
+ position: absolute;
17
+ width: 1px;
18
+ white-space: nowrap;
19
+ }
20
+
21
+ .popup-close-message:focus,
22
+ .popup-close-message:active {
23
+ clip: auto;
24
+ -webkit-clip-path: none;
25
+ clip-path: none;
26
+ height: auto;
27
+ margin: auto;
28
+ overflow: visible;
29
+ width: auto;
30
+ white-space: normal;
31
+ }
@@ -1,18 +1,21 @@
1
1
  import { CETEIcean } from "./react-text-annotator.es2.js";
2
2
  import { TEIAnnotator } from "./react-text-annotator.es3.js";
3
- import { TextAnnotator } from "./react-text-annotator.es4.js";
4
- import { TextAnnotatorPopup } from "./react-text-annotator.es5.js";
5
- import { PointerSelectAction as PointerSelectAction$1, createBody as createBody$1, Origin as Origin$1 } from "@annotorious/core";
6
- const PointerSelectAction = PointerSelectAction$1;
7
- const createBody = createBody$1;
8
- const Origin = Origin$1;
3
+ import { useAnnouncePopupNavigation } from "./react-text-annotator.es4.js";
4
+ import { TextAnnotator } from "./react-text-annotator.es5.js";
5
+ import { TextAnnotatorPopup } from "./react-text-annotator.es6.js";
6
+ import { Origin, UserSelectAction, createBody } from "@annotorious/core";
7
+ import { AnnotoriousPlugin } from "@annotorious/react";
8
+ import { W3CTextFormat } from "./react-text-annotator.es7.js";
9
9
  export {
10
+ AnnotoriousPlugin,
10
11
  CETEIcean,
11
12
  Origin,
12
- PointerSelectAction,
13
13
  TEIAnnotator,
14
14
  TextAnnotator,
15
15
  TextAnnotatorPopup,
16
- createBody
16
+ UserSelectAction,
17
+ W3CTextFormat,
18
+ createBody,
19
+ useAnnouncePopupNavigation
17
20
  };
18
21
  //# sourceMappingURL=react-text-annotator.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-text-annotator.es.js","sources":["../src/index.ts"],"sourcesContent":["export * from './tei';\nexport * from './TextAnnotator';\nexport * from './TextAnnotatorPopup';\nexport * from './TextAnnotatorPlugin';\n\n// Essential re-exports from @annotorious/core\nexport type {\n Annotation,\n AnnotationBody,\n AnnotationTarget,\n Annotator,\n AnnotatorState,\n Color,\n Filter,\n FormatAdapter,\n HoverState,\n Selection,\n SelectionState,\n Store,\n StoreChangeEvent,\n StoreObserver,\n ParseResult,\n User,\n W3CAnnotation,\n W3CAnnotationBody,\n W3CAnnotationTarget\n} from '@annotorious/core';\n\nimport {\n createBody as _createBody,\n Origin as _Origin,\n PointerSelectAction as _PointerSelectAction\n} from '@annotorious/core';\n\nexport const PointerSelectAction = _PointerSelectAction;\nexport const createBody = _createBody;\nexport const Origin = _Origin;\n\n// Essential re-exports from @annotorious/react\nexport type {\n AnnotoriousPlugin\n} from '@annotorious/react';\n\nexport type { \n TextAnnotation,\n TextAnnotationTarget,\n TextAnnotator as RecogitoTextAnnotator,\n TextSelector\n} from '@soomo/text-annotator';\n"],"names":["_PointerSelectAction","_createBody","_Origin"],"mappings":";;;;;AAkCO,MAAM,sBAAsBA;AAC5B,MAAM,aAAaC;AACnB,MAAM,SAASC;"}
1
+ {"version":3,"file":"react-text-annotator.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}