@annotorious/annotorious 3.0.0-rc.9 → 3.0.1

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 (160) hide show
  1. package/dist/Annotorious.d.ts +9 -10
  2. package/dist/AnnotoriousOpts.d.ts +5 -7
  3. package/dist/annotation/SVGAnnotationLayer.svelte.d.ts +1 -1
  4. package/dist/annotation/SVGAnnotationLayerPointerEvent.d.ts +6 -6
  5. package/dist/annotation/Transform.d.ts +0 -1
  6. package/dist/annotation/editors/Editor.svelte.d.ts +1 -1
  7. package/dist/annotation/editors/EditorMount.svelte.d.ts +1 -1
  8. package/dist/annotation/editors/Handle.svelte.d.ts +1 -0
  9. package/dist/annotation/editors/editorsRegistry.d.ts +3 -4
  10. package/dist/annotation/editors/index.d.ts +1 -2
  11. package/dist/annotation/editors/polygon/PolygonEditor.svelte.d.ts +1 -1
  12. package/dist/annotation/editors/polygon/index.d.ts +0 -1
  13. package/dist/annotation/editors/rectangle/RectangleEditor.svelte.d.ts +1 -1
  14. package/dist/annotation/editors/rectangle/index.d.ts +0 -1
  15. package/dist/annotation/index.d.ts +0 -1
  16. package/dist/annotation/shapes/Ellipse.svelte.d.ts +1 -1
  17. package/dist/annotation/shapes/Polygon.svelte.d.ts +1 -1
  18. package/dist/annotation/shapes/Rectangle.svelte.d.ts +1 -1
  19. package/dist/annotation/shapes/index.d.ts +0 -1
  20. package/dist/annotation/tools/DrawingToolConfig.d.ts +1 -2
  21. package/dist/annotation/tools/ToolMount.svelte.d.ts +1 -1
  22. package/dist/annotation/tools/drawingToolsRegistry.d.ts +4 -5
  23. package/dist/annotation/tools/index.d.ts +0 -1
  24. package/dist/annotation/tools/polygon/RubberbandPolygon.svelte.d.ts +1 -1
  25. package/dist/annotation/tools/polygon/index.d.ts +0 -1
  26. package/dist/annotation/tools/rectangle/RubberbandRectangle.svelte.d.ts +1 -1
  27. package/dist/annotation/tools/rectangle/index.d.ts +0 -1
  28. package/dist/annotation/utils/index.d.ts +0 -1
  29. package/dist/annotation/utils/math.d.ts +0 -1
  30. package/dist/annotation/utils/responsive.d.ts +1 -2
  31. package/dist/annotation/utils/styling.d.ts +3 -4
  32. package/dist/annotation/utils/touch.d.ts +0 -1
  33. package/dist/annotorious.css +1 -1
  34. package/dist/annotorious.es.js +2538 -2061
  35. package/dist/annotorious.es.js.map +1 -1
  36. package/dist/annotorious.js +1 -1
  37. package/dist/annotorious.js.map +1 -1
  38. package/dist/index.d.ts +1 -2
  39. package/dist/keyboardCommands.d.ts +2 -2
  40. package/dist/model/core/ImageAnnotation.d.ts +4 -3
  41. package/dist/model/core/Shape.d.ts +1 -2
  42. package/dist/model/core/ellipse/Ellipse.d.ts +1 -2
  43. package/dist/model/core/ellipse/ellipseUtils.d.ts +0 -1
  44. package/dist/model/core/ellipse/index.d.ts +0 -1
  45. package/dist/model/core/index.d.ts +0 -1
  46. package/dist/model/core/polygon/Polygon.d.ts +1 -2
  47. package/dist/model/core/polygon/index.d.ts +0 -1
  48. package/dist/model/core/polygon/polygonUtils.d.ts +0 -1
  49. package/dist/model/core/rectangle/Rectangle.d.ts +1 -2
  50. package/dist/model/core/rectangle/index.d.ts +0 -1
  51. package/dist/model/core/rectangle/rectangleUtils.d.ts +2 -3
  52. package/dist/model/core/shapeUtils.d.ts +2 -6
  53. package/dist/model/index.d.ts +0 -1
  54. package/dist/model/w3c/W3CImageAnnotation.d.ts +10 -0
  55. package/dist/model/w3c/W3CImageFormatAdapter.d.ts +11 -7
  56. package/dist/model/w3c/fragment/FragmentSelector.d.ts +2 -4
  57. package/dist/model/w3c/fragment/index.d.ts +0 -1
  58. package/dist/model/w3c/index.d.ts +1 -1
  59. package/dist/model/w3c/svg/SVG.d.ts +0 -1
  60. package/dist/model/w3c/svg/SVGSelector.d.ts +2 -4
  61. package/dist/model/w3c/svg/index.d.ts +0 -1
  62. package/dist/state/ImageAnnotationStore.d.ts +6 -7
  63. package/dist/state/ImageAnnotatorState.d.ts +8 -9
  64. package/dist/state/index.d.ts +0 -1
  65. package/dist/state/spatialTree.d.ts +7 -7
  66. package/dist/themes/index.d.ts +0 -1
  67. package/dist/themes/smart/index.d.ts +0 -1
  68. package/dist/themes/smart/setTheme.d.ts +1 -2
  69. package/package.json +16 -17
  70. package/src/Annotorious.css +13 -5
  71. package/src/Annotorious.ts +42 -26
  72. package/src/AnnotoriousOpts.ts +13 -17
  73. package/src/annotation/SVGAnnotationLayer.svelte +77 -42
  74. package/src/annotation/SVGAnnotationLayerPointerEvent.ts +8 -9
  75. package/src/annotation/Transform.ts +1 -1
  76. package/src/annotation/editors/Editor.svelte +10 -11
  77. package/src/annotation/editors/EditorMount.svelte +3 -3
  78. package/src/annotation/editors/Handle.svelte +66 -0
  79. package/src/annotation/editors/editorsRegistry.ts +2 -2
  80. package/src/annotation/editors/index.ts +2 -2
  81. package/src/annotation/editors/polygon/PolygonEditor.svelte +16 -16
  82. package/src/annotation/editors/rectangle/RectangleEditor.svelte +46 -43
  83. package/src/annotation/shapes/Ellipse.svelte +4 -4
  84. package/src/annotation/shapes/Polygon.svelte +4 -4
  85. package/src/annotation/shapes/Rectangle.svelte +4 -4
  86. package/src/annotation/tools/ToolMount.svelte +3 -3
  87. package/src/annotation/tools/drawingToolsRegistry.ts +2 -1
  88. package/src/annotation/tools/polygon/RubberbandPolygon.svelte +36 -11
  89. package/src/annotation/tools/rectangle/RubberbandRectangle.svelte +27 -11
  90. package/src/annotation/utils/responsive.ts +1 -1
  91. package/src/annotation/utils/styling.ts +18 -9
  92. package/src/annotation/utils/touch.ts +9 -1
  93. package/src/index.ts +1 -3
  94. package/src/keyboardCommands.ts +13 -5
  95. package/src/model/core/ImageAnnotation.ts +12 -1
  96. package/src/model/w3c/W3CImageAnnotation.ts +17 -0
  97. package/src/model/w3c/W3CImageFormatAdapter.ts +79 -32
  98. package/src/model/w3c/fragment/FragmentSelector.ts +5 -6
  99. package/src/model/w3c/index.ts +1 -0
  100. package/src/model/w3c/svg/SVG.ts +1 -2
  101. package/src/model/w3c/svg/SVGSelector.ts +11 -13
  102. package/src/state/ImageAnnotationStore.ts +5 -5
  103. package/src/state/ImageAnnotatorState.ts +19 -19
  104. package/src/state/spatialTree.ts +23 -11
  105. package/src/themes/dark/index.css +3 -3
  106. package/src/themes/light/index.css +2 -2
  107. package/src/themes/smart/setTheme.ts +2 -2
  108. package/dist/Annotorious.d.ts.map +0 -1
  109. package/dist/AnnotoriousOpts.d.ts.map +0 -1
  110. package/dist/annotation/SVGAnnotationLayerPointerEvent.d.ts.map +0 -1
  111. package/dist/annotation/Transform.d.ts.map +0 -1
  112. package/dist/annotation/editors/Handle.d.ts +0 -14
  113. package/dist/annotation/editors/Handle.d.ts.map +0 -1
  114. package/dist/annotation/editors/editorsRegistry.d.ts.map +0 -1
  115. package/dist/annotation/editors/index.d.ts.map +0 -1
  116. package/dist/annotation/editors/polygon/index.d.ts.map +0 -1
  117. package/dist/annotation/editors/rectangle/index.d.ts.map +0 -1
  118. package/dist/annotation/index.d.ts.map +0 -1
  119. package/dist/annotation/shapes/index.d.ts.map +0 -1
  120. package/dist/annotation/tools/DrawingToolConfig.d.ts.map +0 -1
  121. package/dist/annotation/tools/drawingToolsRegistry.d.ts.map +0 -1
  122. package/dist/annotation/tools/index.d.ts.map +0 -1
  123. package/dist/annotation/tools/polygon/index.d.ts.map +0 -1
  124. package/dist/annotation/tools/rectangle/index.d.ts.map +0 -1
  125. package/dist/annotation/utils/index.d.ts.map +0 -1
  126. package/dist/annotation/utils/math.d.ts.map +0 -1
  127. package/dist/annotation/utils/responsive.d.ts.map +0 -1
  128. package/dist/annotation/utils/styling.d.ts.map +0 -1
  129. package/dist/annotation/utils/touch.d.ts.map +0 -1
  130. package/dist/index.d.ts.map +0 -1
  131. package/dist/keyboardCommands.d.ts.map +0 -1
  132. package/dist/model/core/ImageAnnotation.d.ts.map +0 -1
  133. package/dist/model/core/Shape.d.ts.map +0 -1
  134. package/dist/model/core/ellipse/Ellipse.d.ts.map +0 -1
  135. package/dist/model/core/ellipse/ellipseUtils.d.ts.map +0 -1
  136. package/dist/model/core/ellipse/index.d.ts.map +0 -1
  137. package/dist/model/core/index.d.ts.map +0 -1
  138. package/dist/model/core/polygon/Polygon.d.ts.map +0 -1
  139. package/dist/model/core/polygon/index.d.ts.map +0 -1
  140. package/dist/model/core/polygon/polygonUtils.d.ts.map +0 -1
  141. package/dist/model/core/rectangle/Rectangle.d.ts.map +0 -1
  142. package/dist/model/core/rectangle/index.d.ts.map +0 -1
  143. package/dist/model/core/rectangle/rectangleUtils.d.ts.map +0 -1
  144. package/dist/model/core/shapeUtils.d.ts.map +0 -1
  145. package/dist/model/index.d.ts.map +0 -1
  146. package/dist/model/w3c/W3CImageFormatAdapter.d.ts.map +0 -1
  147. package/dist/model/w3c/fragment/FragmentSelector.d.ts.map +0 -1
  148. package/dist/model/w3c/fragment/index.d.ts.map +0 -1
  149. package/dist/model/w3c/index.d.ts.map +0 -1
  150. package/dist/model/w3c/svg/SVG.d.ts.map +0 -1
  151. package/dist/model/w3c/svg/SVGSelector.d.ts.map +0 -1
  152. package/dist/model/w3c/svg/index.d.ts.map +0 -1
  153. package/dist/state/ImageAnnotationStore.d.ts.map +0 -1
  154. package/dist/state/ImageAnnotatorState.d.ts.map +0 -1
  155. package/dist/state/index.d.ts.map +0 -1
  156. package/dist/state/spatialTree.d.ts.map +0 -1
  157. package/dist/themes/index.d.ts.map +0 -1
  158. package/dist/themes/smart/index.d.ts.map +0 -1
  159. package/dist/themes/smart/setTheme.d.ts.map +0 -1
  160. package/src/annotation/editors/Handle.ts +0 -21
@@ -1,11 +1,11 @@
1
- import type { SvelteComponent } from 'svelte';
2
- import type { Annotator } from '@annotorious/core';
3
- import { type DrawingTool } from './annotation/tools';
4
- import type { DrawingToolOpts } from './annotation';
5
- import type { ImageAnnotation, ShapeType } from './model';
6
- import { type Theme } from './AnnotoriousOpts';
7
- import type { AnnotoriousOpts } from './AnnotoriousOpts';
8
- export interface ImageAnnotator<E extends unknown = ImageAnnotation> extends Annotator<ImageAnnotation, E> {
1
+ import { SvelteComponent } from 'svelte';
2
+ import { Annotation, Annotator } from '@annotorious/core';
3
+ import { DrawingTool } from './annotation/tools';
4
+ import { DrawingToolOpts } from './annotation';
5
+ import { ImageAnnotation, ShapeType } from './model';
6
+ import { Theme, AnnotoriousOpts } from './AnnotoriousOpts';
7
+ export interface ImageAnnotator<I extends Annotation = ImageAnnotation, E extends unknown = ImageAnnotation> extends Annotator<I, E> {
8
+ element: HTMLDivElement;
9
9
  listDrawingTools(): string[];
10
10
  registerDrawingTool(name: string, tool: typeof SvelteComponent, opts?: DrawingToolOpts): void;
11
11
  registerShapeEditor(shapeType: ShapeType, editor: typeof SvelteComponent): void;
@@ -13,5 +13,4 @@ export interface ImageAnnotator<E extends unknown = ImageAnnotation> extends Ann
13
13
  setDrawingEnabled(enabled: boolean): void;
14
14
  setTheme(theme: Theme): void;
15
15
  }
16
- export declare const createImageAnnotator: <E extends unknown = ImageAnnotation>(image: string | HTMLImageElement | HTMLCanvasElement, options?: AnnotoriousOpts<ImageAnnotation, E>) => ImageAnnotator<E>;
17
- //# sourceMappingURL=Annotorious.d.ts.map
16
+ export declare const createImageAnnotator: <I extends Annotation = ImageAnnotation, E extends unknown = ImageAnnotation>(image: string | HTMLImageElement | HTMLCanvasElement, options?: AnnotoriousOpts<I, E>) => ImageAnnotator<I, E>;
@@ -1,16 +1,14 @@
1
- import { PointerSelectAction } from '@annotorious/core';
2
- import type { Annotation, DrawingStyle, FormatAdapter } from '@annotorious/core';
3
- import type { ImageAnnotation } from './model';
1
+ import { Annotation, DrawingStyleExpression, FormatAdapter, UserSelectActionExpression } from '@annotorious/core';
2
+ import { ImageAnnotation } from './model';
4
3
  export interface AnnotoriousOpts<I extends Annotation = ImageAnnotation, E extends unknown = ImageAnnotation> {
5
4
  adapter?: FormatAdapter<I, E>;
6
5
  autoSave?: boolean;
7
6
  drawingEnabled?: boolean;
8
7
  drawingMode?: DrawingMode;
9
- pointerSelectAction?: PointerSelectAction | ((a: I) => PointerSelectAction);
10
- style?: DrawingStyle | ((annotation: I) => DrawingStyle);
8
+ userSelectAction?: UserSelectActionExpression<I>;
9
+ style?: DrawingStyleExpression<ImageAnnotation>;
11
10
  theme?: Theme;
12
11
  }
13
12
  export type DrawingMode = 'click' | 'drag';
14
13
  export type Theme = 'dark' | 'light' | 'auto';
15
- export declare const fillDefaults: <I extends ImageAnnotation = ImageAnnotation, E extends unknown = ImageAnnotation>(opts: AnnotoriousOpts<I, E>) => AnnotoriousOpts<I, E>;
16
- //# sourceMappingURL=AnnotoriousOpts.d.ts.map
14
+ export declare const fillDefaults: <I extends Annotation = ImageAnnotation, E extends unknown = ImageAnnotation>(opts: AnnotoriousOpts<I, E>, defaults: AnnotoriousOpts<I, E>) => AnnotoriousOpts<I, E>;
@@ -1 +1 @@
1
- export { SvelteComponentTyped as default } from 'svelte';
1
+ export { SvelteComponent as default } from 'svelte';
@@ -1,11 +1,11 @@
1
- import type { SvelteImageAnnotationStore } from '../state';
2
- import type { ImageAnnotation } from '../model';
3
- export interface SVGAnnotationLayerPointerEvent {
1
+ import { SvelteImageAnnotationStore } from '../state';
2
+ import { Annotation } from '@annotorious/core';
3
+ export interface SVGAnnotationLayerPointerEvent<T extends Annotation> {
4
4
  originalEvent: PointerEvent;
5
- annotation?: ImageAnnotation;
5
+ annotation?: T;
6
6
  }
7
- export declare const addEventListeners: (svg: SVGSVGElement, store: SvelteImageAnnotationStore) => {
7
+ export declare const addEventListeners: <T extends Annotation>(svg: SVGSVGElement, store: SvelteImageAnnotationStore<T>) => {
8
8
  onPointerDown: () => number;
9
9
  onPointerUp: (evt: PointerEvent) => void;
10
10
  };
11
- //# sourceMappingURL=SVGAnnotationLayerPointerEvent.d.ts.map
11
+ export declare const getSVGPoint: (evt: PointerEvent, svg: SVGSVGElement) => DOMPoint;
@@ -3,4 +3,3 @@ export interface Transform {
3
3
  }
4
4
  export declare const IdentityTransform: Transform;
5
5
  export declare const createSVGTransform: (svg: SVGSVGElement) => Transform;
6
- //# sourceMappingURL=Transform.d.ts.map
@@ -1 +1 @@
1
- export { SvelteComponentTyped as default } from 'svelte';
1
+ export { SvelteComponent as default } from 'svelte';
@@ -1 +1 @@
1
- export { SvelteComponentTyped as default } from 'svelte';
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -1,5 +1,4 @@
1
- import { ShapeType, type Shape } from '../../model';
2
- import type { SvelteComponent } from 'svelte';
3
- export declare const getEditor: (shape: Shape) => typeof SvelteComponent;
1
+ import { ShapeType, Shape } from '../../model';
2
+ import { SvelteComponent } from 'svelte';
3
+ export declare const getEditor: (shape: Shape) => typeof SvelteComponent | undefined;
4
4
  export declare const registerEditor: (shapeType: ShapeType, editor: typeof SvelteComponent) => Map<ShapeType, typeof SvelteComponent>;
5
- //# sourceMappingURL=editorsRegistry.d.ts.map
@@ -1,7 +1,6 @@
1
1
  export * from './polygon';
2
2
  export * from './rectangle';
3
3
  export * from './editorsRegistry';
4
- export * from './Handle';
5
4
  export { default as Editor } from './Editor.svelte';
6
5
  export { default as EditorMount } from './EditorMount.svelte';
7
- //# sourceMappingURL=index.d.ts.map
6
+ export { default as Handle } from './Handle.svelte';
@@ -1 +1 @@
1
- export { SvelteComponentTyped as default } from 'svelte';
1
+ export { SvelteComponent as default } from 'svelte';
@@ -1,2 +1 @@
1
1
  export { default as PolygonEditor } from './PolygonEditor.svelte';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- export { SvelteComponentTyped as default } from 'svelte';
1
+ export { SvelteComponent as default } from 'svelte';
@@ -1,2 +1 @@
1
1
  export { default as RectangleEditor } from './RectangleEditor.svelte';
2
- //# sourceMappingURL=index.d.ts.map
@@ -4,4 +4,3 @@ export * from './utils';
4
4
  export { default as SVGAnnotationLayer } from './SVGAnnotationLayer.svelte';
5
5
  export * from './SVGAnnotationLayerPointerEvent';
6
6
  export * from './Transform';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- export { SvelteComponentTyped as default } from 'svelte';
1
+ export { SvelteComponent as default } from 'svelte';
@@ -1 +1 @@
1
- export { SvelteComponentTyped as default } from 'svelte';
1
+ export { SvelteComponent as default } from 'svelte';
@@ -1 +1 @@
1
- export { SvelteComponentTyped as default } from 'svelte';
1
+ export { SvelteComponent as default } from 'svelte';
@@ -1,4 +1,3 @@
1
1
  export { default as Ellipse } from './Ellipse.svelte';
2
2
  export { default as Polygon } from './Polygon.svelte';
3
3
  export { default as Rectangle } from './Rectangle.svelte';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,7 @@
1
- import type { SvelteComponent } from 'svelte';
1
+ import { SvelteComponent } from 'svelte';
2
2
  export interface ToolConfig {
3
3
  component: typeof SvelteComponent;
4
4
  opts?: {
5
5
  [key: string]: any;
6
6
  };
7
7
  }
8
- //# sourceMappingURL=DrawingToolConfig.d.ts.map
@@ -1 +1 @@
1
- export { SvelteComponentTyped as default } from 'svelte';
1
+ export { SvelteComponent as default } from 'svelte';
@@ -1,17 +1,16 @@
1
- import type { SvelteComponent } from 'svelte';
2
- import type { DrawingMode } from '../../AnnotoriousOpts';
1
+ import { SvelteComponent } from 'svelte';
2
+ import { DrawingMode } from '../../AnnotoriousOpts';
3
3
  export type DrawingTool = 'rectangle' | 'polygon' | string;
4
4
  export type DrawingToolOpts = {
5
5
  drawingMode?: DrawingMode;
6
- [key: string]: string;
6
+ [key: string]: any;
7
7
  };
8
8
  export declare const listDrawingTools: () => string[];
9
9
  export declare const getTool: (name: string) => {
10
10
  tool: typeof SvelteComponent;
11
11
  opts?: DrawingToolOpts;
12
- };
12
+ } | undefined;
13
13
  export declare const registerTool: (name: string, tool: typeof SvelteComponent, opts?: DrawingToolOpts) => Map<string, {
14
14
  tool: typeof SvelteComponent;
15
15
  opts?: DrawingToolOpts;
16
16
  }>;
17
- //# sourceMappingURL=drawingToolsRegistry.d.ts.map
@@ -2,4 +2,3 @@ export { default as ToolMount } from './ToolMount.svelte';
2
2
  export * from './rectangle';
3
3
  export * from './DrawingToolConfig';
4
4
  export * from './drawingToolsRegistry';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- export { SvelteComponentTyped as default } from 'svelte';
1
+ export { SvelteComponent as default } from 'svelte';
@@ -1,2 +1 @@
1
1
  export { default as RubberbandPolygon } from './RubberbandPolygon.svelte';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- export { SvelteComponentTyped as default } from 'svelte';
1
+ export { SvelteComponent as default } from 'svelte';
@@ -1,2 +1 @@
1
1
  export { default as RubberbandRectangle } from './RubberbandRectangle.svelte';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export * from './math';
2
2
  export * from './responsive';
3
3
  export * from './touch';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const distance: (a: [number, number], b: [number, number]) => number;
2
- //# sourceMappingURL=math.d.ts.map
@@ -1,5 +1,4 @@
1
1
  export declare const enableResponsive: (image: HTMLImageElement | HTMLCanvasElement, svg: SVGSVGElement) => {
2
2
  destroy: () => void;
3
- subscribe: (this: void, run: import("svelte/store").Subscriber<number>, invalidate?: (value?: number) => void) => import("svelte/store").Unsubscriber;
3
+ subscribe: (this: void, run: import('svelte/store').Subscriber<number>, invalidate?: import('svelte/store').Invalidator<number> | undefined) => import('svelte/store').Unsubscriber;
4
4
  };
5
- //# sourceMappingURL=responsive.d.ts.map
@@ -1,4 +1,3 @@
1
- import type { DrawingStyle } from '@annotorious/core';
2
- import type { ImageAnnotation } from '../../model';
3
- export declare const computeStyle: (annotation: ImageAnnotation, style?: DrawingStyle | ((a: ImageAnnotation) => DrawingStyle)) => string;
4
- //# sourceMappingURL=styling.d.ts.map
1
+ import { DrawingStyleExpression } from '@annotorious/core';
2
+ import { ImageAnnotation } from '../../model';
3
+ export declare const computeStyle: (annotation: ImageAnnotation, style?: DrawingStyleExpression<ImageAnnotation>) => string | undefined;
@@ -1,2 +1 @@
1
1
  export declare const isTouch: boolean;
2
- //# sourceMappingURL=touch.d.ts.map
@@ -1 +1 @@
1
- .a9s-annotationlayer{box-sizing:border-box;height:100%;left:0;outline:none;position:absolute;top:0;touch-action:none;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.a9s-annotationlayer ellipse,.a9s-annotationlayer polygon,.a9s-annotationlayer rect{fill:transparent;shape-rendering:geometricPrecision;vector-effect:non-scaling-stroke}.a9s-edge-handle{fill:transparent;stroke:transparent;stroke-width:6px}.a9s-shape-handle,.a9s-corner-handle{cursor:move}.a9s-edge-handle-top{cursor:n-resize}.a9s-edge-handle-right{cursor:e-resize}.a9s-edge-handle-bottom{cursor:s-resize}.a9s-edge-handle-left{cursor:w-resize}.a9s-corner-handle.a9s-corner-handle-topleft{cursor:nw-resize}.a9s-corner-handle.a9s-corner-handle-topright{cursor:ne-resize}.a9s-corner-handle.a9s-corner-handle-bottomright{cursor:se-resize}.a9s-corner-handle.a9s-corner-handle-bottomleft{cursor:sw-resize}.a9s-annotationlayer .a9s-outer,div[data-theme=dark] .a9s-annotationlayer .a9s-outer{display:none}.a9s-annotationlayer .a9s-inner,div[data-theme=dark] .a9s-annotationlayer .a9s-inner{fill:#0000001f;stroke:#000;stroke-width:1px}rect.a9s-corner-handle,div[data-theme=dark] rect.a9s-corner-handle{fill:#000;rx:2px}rect.a9s-close-polygon-handle,div[data-theme=dark] rect.a9s-close-polygon-handle{fill:#000;rx:1px}.a9s-annotationlayer .a9s-outer,div[data-theme=light] .a9s-annotationlayer .a9s-outer{display:block;stroke:#00000040;stroke-width:3.5px}.a9s-annotationlayer .a9s-inner,div[data-theme=light] .a9s-annotationlayer .a9s-inner{fill:#ffffff26;stroke:#fff;stroke-width:1.5px}rect.a9s-corner-handle,div[data-theme=light] rect.a9s-corner-handle{fill:#fff;rx:1px;stroke:#00000073;stroke-width:1px}rect.a9s-close-polygon-handle,div[data-theme=light] rect.a9s-close-polygon-handle{fill:#fff;rx:1px;stroke:#00000073;stroke-width:1px}
1
+ .a9s-touch-halo.svelte-1sgkh33{fill:transparent;stroke-width:0}.a9s-touch-halo.touched.svelte-1sgkh33{fill:#ffffff40}.a9s-annotationlayer{box-sizing:border-box;height:100%;left:0;outline:none;position:absolute;top:0;touch-action:none;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.a9s-annotationlayer.hidden{display:none}.a9s-annotationlayer .a9s-annotation{cursor:pointer}.a9s-annotationlayer ellipse,.a9s-annotationlayer polygon,.a9s-annotationlayer rect{fill:transparent;shape-rendering:geometricPrecision;vector-effect:non-scaling-stroke}.a9s-edge-handle{fill:transparent;stroke:transparent;stroke-width:6px}.a9s-shape-handle,.a9s-handle{cursor:move}.a9s-edge-handle-top{cursor:n-resize}.a9s-edge-handle-right{cursor:e-resize}.a9s-edge-handle-bottom{cursor:s-resize}.a9s-edge-handle-left{cursor:w-resize}.a9s-handle.a9s-corner-handle-topleft{cursor:nw-resize}.a9s-handle.a9s-corner-handle-topright{cursor:ne-resize}.a9s-handle.a9s-corner-handle-bottomright{cursor:se-resize}.a9s-handle.a9s-corner-handle-bottomleft{cursor:sw-resize}.a9s-annotationlayer .a9s-outer,div[data-theme=dark] .a9s-annotationlayer .a9s-outer{display:none}.a9s-annotationlayer .a9s-inner,div[data-theme=dark] .a9s-annotationlayer .a9s-inner{fill:#0000001f;stroke:#000;stroke-width:1px}rect.a9s-handle,div[data-theme=dark] rect.a9s-handle{fill:#000;rx:2px}rect.a9s-close-polygon-handle,div[data-theme=dark] rect.a9s-close-polygon-handle{fill:#000;rx:1px}.a9s-annotationlayer .a9s-outer,div[data-theme=light] .a9s-annotationlayer .a9s-outer{display:block;stroke:#00000040;stroke-width:3.5px}.a9s-annotationlayer .a9s-inner,div[data-theme=light] .a9s-annotationlayer .a9s-inner{fill:#ffffff26;stroke:#fff;stroke-width:1.5px}rect.a9s-handle,div[data-theme=light] rect.a9s-handle{fill:#fff;rx:1px;stroke:#00000073;stroke-width:1px}rect.a9s-close-polygon-handle,div[data-theme=light] rect.a9s-close-polygon-handle{fill:#fff;rx:1px;stroke:#00000073;stroke-width:1px}