@recogito/text-annotator 3.4.2 → 3.4.3
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,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Filter, Lifecycle, User } from '@annotorious/core';
|
|
2
2
|
import type { TextAnnotatorState } from './state';
|
|
3
3
|
import type { TextAnnotation } from './model';
|
|
4
4
|
import type { TextAnnotatorOptions } from './TextAnnotatorOptions';
|
|
5
|
-
export declare const createSelectionHandler: (container: HTMLElement, state: TextAnnotatorState<TextAnnotation, unknown>, options: TextAnnotatorOptions<TextAnnotation, unknown>) => {
|
|
5
|
+
export declare const createSelectionHandler: (container: HTMLElement, state: TextAnnotatorState<TextAnnotation, unknown>, lifecycle: Lifecycle<TextAnnotation, unknown>, options: TextAnnotatorOptions<TextAnnotation, unknown>) => {
|
|
6
6
|
destroy: () => void;
|
|
7
7
|
setFilter: (filter?: Filter) => Filter;
|
|
8
8
|
setUser: (user?: User) => User;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Filter, type ViewportState } from '@annotorious/core';
|
|
2
2
|
import type { TextAnnotatorState } from '../state';
|
|
3
3
|
import { type ViewportBounds } from './viewport';
|
|
4
4
|
import type { HighlightPainter } from './HighlightPainter';
|