@annotorious/annotorious 3.0.0-rc.15 → 3.0.0-rc.17

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 (62) hide show
  1. package/dist/Annotorious.d.ts +1 -1
  2. package/dist/Annotorious.d.ts.map +1 -1
  3. package/dist/AnnotoriousOpts.d.ts +2 -3
  4. package/dist/AnnotoriousOpts.d.ts.map +1 -1
  5. package/dist/annotation/SVGAnnotationLayerPointerEvent.d.ts.map +1 -1
  6. package/dist/annotation/editors/editorsRegistry.d.ts +1 -1
  7. package/dist/annotation/editors/editorsRegistry.d.ts.map +1 -1
  8. package/dist/annotation/tools/drawingToolsRegistry.d.ts +4 -4
  9. package/dist/annotation/tools/drawingToolsRegistry.d.ts.map +1 -1
  10. package/dist/annotation/utils/responsive.d.ts +2 -1
  11. package/dist/annotation/utils/responsive.d.ts.map +1 -1
  12. package/dist/annotation/utils/styling.d.ts +1 -1
  13. package/dist/annotation/utils/styling.d.ts.map +1 -1
  14. package/dist/annotorious.es.js +1598 -1503
  15. package/dist/annotorious.es.js.map +1 -1
  16. package/dist/annotorious.js +1 -1
  17. package/dist/annotorious.js.map +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/keyboardCommands.d.ts.map +1 -1
  21. package/dist/model/w3c/W3CImageAnnotation.d.ts +11 -0
  22. package/dist/model/w3c/W3CImageAnnotation.d.ts.map +1 -0
  23. package/dist/model/w3c/W3CImageFormatAdapter.d.ts +3 -2
  24. package/dist/model/w3c/W3CImageFormatAdapter.d.ts.map +1 -1
  25. package/dist/model/w3c/fragment/FragmentSelector.d.ts +1 -2
  26. package/dist/model/w3c/fragment/FragmentSelector.d.ts.map +1 -1
  27. package/dist/model/w3c/index.d.ts +1 -0
  28. package/dist/model/w3c/index.d.ts.map +1 -1
  29. package/dist/model/w3c/svg/SVG.d.ts.map +1 -1
  30. package/dist/model/w3c/svg/SVGSelector.d.ts +1 -2
  31. package/dist/model/w3c/svg/SVGSelector.d.ts.map +1 -1
  32. package/dist/state/spatialTree.d.ts +1 -1
  33. package/dist/state/spatialTree.d.ts.map +1 -1
  34. package/package.json +10 -10
  35. package/src/Annotorious.ts +14 -8
  36. package/src/AnnotoriousOpts.ts +7 -7
  37. package/src/annotation/SVGAnnotationLayer.svelte +18 -14
  38. package/src/annotation/SVGAnnotationLayerPointerEvent.ts +1 -2
  39. package/src/annotation/Transform.ts +1 -1
  40. package/src/annotation/editors/Editor.svelte +5 -5
  41. package/src/annotation/editors/EditorMount.svelte +1 -1
  42. package/src/annotation/editors/polygon/PolygonEditor.svelte +8 -6
  43. package/src/annotation/editors/rectangle/RectangleEditor.svelte +4 -4
  44. package/src/annotation/shapes/Ellipse.svelte +2 -2
  45. package/src/annotation/shapes/Polygon.svelte +2 -2
  46. package/src/annotation/shapes/Rectangle.svelte +2 -2
  47. package/src/annotation/tools/ToolMount.svelte +3 -3
  48. package/src/annotation/tools/drawingToolsRegistry.ts +2 -1
  49. package/src/annotation/tools/polygon/RubberbandPolygon.svelte +18 -12
  50. package/src/annotation/tools/rectangle/RubberbandRectangle.svelte +16 -10
  51. package/src/annotation/utils/responsive.ts +1 -1
  52. package/src/index.ts +1 -2
  53. package/src/keyboardCommands.ts +6 -2
  54. package/src/model/w3c/W3CImageAnnotation.ts +17 -0
  55. package/src/model/w3c/W3CImageFormatAdapter.ts +42 -19
  56. package/src/model/w3c/fragment/FragmentSelector.ts +5 -6
  57. package/src/model/w3c/index.ts +1 -0
  58. package/src/model/w3c/svg/SVG.ts +1 -2
  59. package/src/model/w3c/svg/SVGSelector.ts +11 -13
  60. package/src/state/ImageAnnotatorState.ts +3 -3
  61. package/src/state/spatialTree.ts +3 -2
  62. package/src/themes/smart/setTheme.ts +2 -2
@@ -1,5 +1,5 @@
1
1
  import type { SvelteComponent } from 'svelte';
2
- import type { Annotator } from '@annotorious/core';
2
+ import { type Annotator } from '@annotorious/core';
3
3
  import { type DrawingTool } from './annotation/tools';
4
4
  import type { DrawingToolOpts } from './annotation';
5
5
  import type { ImageAnnotation, ShapeType } from './model';
@@ -1 +1 @@
1
- {"version":3,"file":"Annotorious.d.ts","sourceRoot":"","sources":["../src/Annotorious.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAA8B,MAAM,mBAAmB,CAAC;AAG/E,OAAO,EAA2C,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAE/F,OAAO,KAAK,EAAE,eAAe,EAAkC,MAAM,cAAc,CAAC;AACpF,OAAO,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAG1D,OAAO,EAAgB,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGzD,OAAO,mBAAmB,CAAC;AAC3B,OAAO,yBAAyB,CAAC;AACjC,OAAO,0BAA0B,CAAC;AAElC,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,OAAO,GAAG,eAAe,CAAE,SAAQ,SAAS,CAAC,eAAe,EAAE,CAAC,CAAC;IAExG,gBAAgB,IAAI,MAAM,EAAE,CAAC;IAE7B,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,eAAe,EAAE,IAAI,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAE9F,mBAAmB,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,eAAe,GAAG,IAAI,CAAC;IAEhF,cAAc,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IAExC,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1C,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAE9B;AAED,eAAO,MAAM,oBAAoB,+CACxB,MAAM,GAA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-1,5 +1,4 @@
1
- import { PointerSelectAction } from '@annotorious/core';
2
- import type { Annotation, DrawingStyle, FormatAdapter } from '@annotorious/core';
1
+ import type { Annotation, DrawingStyle, FormatAdapter, PointerSelectAction } from '@annotorious/core';
3
2
  import type { ImageAnnotation } from './model';
4
3
  export interface AnnotoriousOpts<I extends Annotation = ImageAnnotation, E extends unknown = ImageAnnotation> {
5
4
  adapter?: FormatAdapter<I, E>;
@@ -12,5 +11,5 @@ export interface AnnotoriousOpts<I extends Annotation = ImageAnnotation, E exten
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>;
14
+ export declare const fillDefaults: <I extends ImageAnnotation = ImageAnnotation, E extends unknown = ImageAnnotation>(opts: AnnotoriousOpts<I, E>, defaults: AnnotoriousOpts<I, E>) => AnnotoriousOpts<I, E>;
16
15
  //# sourceMappingURL=AnnotoriousOpts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AnnotoriousOpts.d.ts","sourceRoot":"","sources":["../src/AnnotoriousOpts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,UAAU,GAAG,eAAe,EAAE,CAAC,SAAS,OAAO,GAAG,eAAe;IAE1G,OAAO,CAAC,EAAE,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAE9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,cAAc,CAAC,EAAE,OAAO,CAAC;IAIzB,WAAW,CAAC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M,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9C,eAAO,MAAM,YAAY,2KAaxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SVGAnnotationLayerPointerEvent.d.ts","sourceRoot":"","sources":["../../src/annotation/SVGAnnotationLayerPointerEvent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD,MAAM,WAAW,8BAA8B;IAE7C,aAAa,EAAE,YAAY,CAAC;IAE5B,UAAU,CAAC,EAAE,eAAe,CAAC;CAE9B;AAKD,eAAO,MAAM,iBAAiB,QAAS,aAAa,SAAS,0BAA0B;;uBAQ3D,YAAY;CAgBvC,CAAA"}
1
+ {"version":3,"file":"SVGAnnotationLayerPointerEvent.d.ts","sourceRoot":"","sources":["../../src/annotation/SVGAnnotationLayerPointerEvent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,8BAA8B;IAE7C,aAAa,EAAE,YAAY,CAAC;IAE5B,UAAU,CAAC,EAAE,eAAe,CAAC;CAE9B;AAKD,eAAO,MAAM,iBAAiB,QAAS,aAAa,SAAS,0BAA0B;;uBAQ3D,YAAY;CAgBvC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { ShapeType, type Shape } from '../../model';
2
2
  import type { SvelteComponent } from 'svelte';
3
- export declare const getEditor: (shape: Shape) => typeof SvelteComponent;
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
5
  //# sourceMappingURL=editorsRegistry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editorsRegistry.d.ts","sourceRoot":"","sources":["../../../src/annotation/editors/editorsRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAS9C,eAAO,MAAM,SAAS,UAAW,KAAK,2BAA+B,CAAC;AAEtE,eAAO,MAAM,cAAc,cAAe,SAAS,UAAU,sBAAsB,2CAChD,CAAC"}
1
+ {"version":3,"file":"editorsRegistry.d.ts","sourceRoot":"","sources":["../../../src/annotation/editors/editorsRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAS9C,eAAO,MAAM,SAAS,UAAW,KAAK,uCAA+B,CAAC;AAEtE,eAAO,MAAM,cAAc,cAAe,SAAS,UAAU,sBAAsB,2CAChD,CAAC"}
@@ -3,15 +3,15 @@ import type { 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
- opts?: DrawingToolOpts;
12
- };
11
+ opts?: DrawingToolOpts | undefined;
12
+ } | undefined;
13
13
  export declare const registerTool: (name: string, tool: typeof SvelteComponent, opts?: DrawingToolOpts) => Map<string, {
14
14
  tool: typeof SvelteComponent;
15
- opts?: DrawingToolOpts;
15
+ opts?: DrawingToolOpts | undefined;
16
16
  }>;
17
17
  //# sourceMappingURL=drawingToolsRegistry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"drawingToolsRegistry.d.ts","sourceRoot":"","sources":["../../../src/annotation/tools/drawingToolsRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAG9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG;IAE5B,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CAEvB,CAAA;AAOD,eAAO,MAAM,gBAAgB,gBAA+B,CAAC;AAE7D,eAAO,MAAM,OAAO,SAAU,MAAM;UAPY,sBAAsB;WAAS,eAAe;CAOjC,CAAC;AAE9D,eAAO,MAAM,YAAY,SAAU,MAAM,QAAQ,sBAAsB,SAAS,eAAe;UAT/C,sBAAsB;WAAS,eAAe;EAUxD,CAAC"}
1
+ {"version":3,"file":"drawingToolsRegistry.d.ts","sourceRoot":"","sources":["../../../src/annotation/tools/drawingToolsRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAG9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG;IAE5B,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CAEpB,CAAA;AAQD,eAAO,MAAM,gBAAgB,gBAA+B,CAAC;AAE7D,eAAO,MAAM,OAAO,SAAU,MAAM;UAPY,sBAAsB;;aAOT,CAAC;AAE9D,eAAO,MAAM,YAAY,SAAU,MAAM,QAAQ,sBAAsB,SAAS,eAAe;UAT/C,sBAAsB;;EAUhC,CAAC"}
@@ -1,5 +1,6 @@
1
+ /// <reference types="svelte" />
1
2
  export declare const enableResponsive: (image: HTMLImageElement | HTMLCanvasElement, svg: SVGSVGElement) => {
2
3
  destroy: () => void;
3
- subscribe: (this: void, run: import("svelte/store").Subscriber<number>, invalidate?: (value?: number) => void) => import("svelte/store").Unsubscriber;
4
+ subscribe: (this: void, run: import("svelte/store").Subscriber<number>, invalidate?: import("svelte/store").Invalidator<number> | undefined) => import("svelte/store").Unsubscriber;
4
5
  };
5
6
  //# sourceMappingURL=responsive.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../src/annotation/utils/responsive.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,gBAAgB,UAAW,gBAAgB,GAAG,iBAAiB,OAAO,aAAa;;;CAgC/F,CAAA"}
1
+ {"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../src/annotation/utils/responsive.ts"],"names":[],"mappings":";AAsBA,eAAO,MAAM,gBAAgB,UAAW,gBAAgB,GAAG,iBAAiB,OAAO,aAAa;;;CAgC/F,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import type { DrawingStyle } from '@annotorious/core';
2
2
  import type { ImageAnnotation } from '../../model';
3
- export declare const computeStyle: (annotation: ImageAnnotation, style?: DrawingStyle | ((a: ImageAnnotation) => DrawingStyle)) => string;
3
+ export declare const computeStyle: (annotation: ImageAnnotation, style?: DrawingStyle | ((a: ImageAnnotation) => DrawingStyle) | undefined) => string | undefined;
4
4
  //# sourceMappingURL=styling.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styling.d.ts","sourceRoot":"","sources":["../../../src/annotation/utils/styling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,YAAY,eAAgB,eAAe,8BAA8B,eAAe,KAAK,YAAY,YAerH,CAAA"}
1
+ {"version":3,"file":"styling.d.ts","sourceRoot":"","sources":["../../../src/annotation/utils/styling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,YAAY,eAAgB,eAAe,8BAA8B,eAAe,KAAK,YAAY,oCAerH,CAAA"}