@embedpdf/plugin-annotation 2.0.0 → 2.0.2

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,9 +1,12 @@
1
1
  import { PdfAnnotationObject } from '@embedpdf/models';
2
+ import { SelectionMenuPlacement } from '@embedpdf/utils/vue';
2
3
  import { TrackedAnnotation } from '../../lib/index.ts';
3
4
  import { VertexConfig } from '../../shared-vue/types';
4
- import { AnnotationSelectionMenuRenderFn } from '../types';
5
- declare const __VLS_export: <T extends PdfAnnotationObject>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: __VLS_PrettifyLocal<{
5
+ import { AnnotationSelectionContext, AnnotationSelectionMenuRenderFn } from '../types';
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ declare const __VLS_export: <T extends PdfAnnotationObject>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<{
7
10
  scale: number;
8
11
  documentId: string;
9
12
  pageIndex: number;
@@ -23,32 +26,63 @@ declare const __VLS_export: <T extends PdfAnnotationObject>(__VLS_props: NonNull
23
26
  zIndex?: number;
24
27
  selectionOutlineColor?: string;
25
28
  style?: Record<string, string | number>;
26
- }> & import('vue').PublicProps;
29
+ }> & (typeof globalThis extends {
30
+ __VLS_PROPS_FALLBACK: infer P;
31
+ } ? P : {});
27
32
  expose: (exposed: {}) => void;
28
33
  attrs: any;
29
34
  slots: {
30
35
  default?: (props: {
31
- annotation: any;
36
+ annotation: T;
32
37
  }) => any;
33
38
  } & {
34
- 'resize-handle'?: (props: any) => any;
39
+ 'resize-handle'?: (props: {
40
+ backgroundColor: "#007ACC";
41
+ onPointerdown: (e: PointerEvent) => void;
42
+ onPointermove: (e: PointerEvent) => void;
43
+ onPointerup: (e: PointerEvent) => void;
44
+ onPointercancel: (e: PointerEvent) => void;
45
+ key: string | number;
46
+ style: import('vue').CSSProperties;
47
+ }) => any;
35
48
  } & {
36
- 'vertex-handle'?: (props: any) => any;
49
+ 'vertex-handle'?: (props: {
50
+ backgroundColor: "#007ACC";
51
+ onPointerdown: (e: PointerEvent) => void;
52
+ onPointermove: (e: PointerEvent) => void;
53
+ onPointerup: (e: PointerEvent) => void;
54
+ onPointercancel: (e: PointerEvent) => void;
55
+ key: string | number;
56
+ style: import('vue').CSSProperties;
57
+ }) => any;
37
58
  } & {
38
59
  'selection-menu'?: (props: {
39
- context: any;
40
- selected: any;
41
- rect: any;
42
- placement: any;
43
- menuWrapperProps: any;
60
+ context: AnnotationSelectionContext;
61
+ selected: boolean;
62
+ rect: {
63
+ origin: {
64
+ x: number;
65
+ y: number;
66
+ };
67
+ size: {
68
+ width: number;
69
+ height: number;
70
+ };
71
+ };
72
+ placement: SelectionMenuPlacement;
73
+ menuWrapperProps: {
74
+ style: import('vue').CSSProperties;
75
+ onPointerdown: (e: PointerEvent) => void;
76
+ onTouchstart: (e: TouchEvent) => void;
77
+ };
44
78
  }) => any;
45
79
  };
46
80
  emit: {};
47
81
  }>) => import('vue').VNode & {
48
82
  __ctx?: Awaited<typeof __VLS_setup>;
49
83
  };
50
- declare const _default: typeof __VLS_export;
51
- export default _default;
52
- type __VLS_PrettifyLocal<T> = {
84
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
85
+ [K in keyof T]: T[K];
86
+ } : {
53
87
  [K in keyof T as K]: T[K];
54
- } & {};
88
+ }) & {};
@@ -14,13 +14,48 @@ type __VLS_Props = {
14
14
  /** Customize selection menu */
15
15
  selectionMenu?: AnnotationSelectionMenuRenderFn;
16
16
  };
17
- declare var __VLS_6: any, __VLS_9: any, __VLS_12: any;
17
+ declare var __VLS_8: {
18
+ context: import('..').AnnotationSelectionContext;
19
+ selected: boolean;
20
+ rect: {
21
+ origin: {
22
+ x: number;
23
+ y: number;
24
+ };
25
+ size: {
26
+ width: number;
27
+ height: number;
28
+ };
29
+ };
30
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
31
+ menuWrapperProps: {
32
+ style: import('vue').CSSProperties;
33
+ onPointerdown: (e: PointerEvent) => void;
34
+ onTouchstart: (e: TouchEvent) => void;
35
+ };
36
+ }, __VLS_11: {
37
+ backgroundColor: "#007ACC";
38
+ onPointerdown: (e: PointerEvent) => void;
39
+ onPointermove: (e: PointerEvent) => void;
40
+ onPointerup: (e: PointerEvent) => void;
41
+ onPointercancel: (e: PointerEvent) => void;
42
+ key: string | number;
43
+ style: import('vue').CSSProperties;
44
+ }, __VLS_14: {
45
+ backgroundColor: "#007ACC";
46
+ onPointerdown: (e: PointerEvent) => void;
47
+ onPointermove: (e: PointerEvent) => void;
48
+ onPointerup: (e: PointerEvent) => void;
49
+ onPointercancel: (e: PointerEvent) => void;
50
+ key: string | number;
51
+ style: import('vue').CSSProperties;
52
+ };
18
53
  type __VLS_Slots = {} & {
19
- 'selection-menu'?: (props: typeof __VLS_6) => any;
54
+ 'selection-menu'?: (props: typeof __VLS_8) => any;
20
55
  } & {
21
- 'resize-handle'?: (props: typeof __VLS_9) => any;
56
+ 'resize-handle'?: (props: typeof __VLS_11) => any;
22
57
  } & {
23
- 'vertex-handle'?: (props: typeof __VLS_12) => any;
58
+ 'vertex-handle'?: (props: typeof __VLS_14) => any;
24
59
  };
25
60
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
61
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -12,63 +12,419 @@ type __VLS_Props = {
12
12
  /** Render function for selection menu (schema-driven approach) */
13
13
  selectionMenu?: AnnotationSelectionMenuRenderFn;
14
14
  };
15
- declare var __VLS_12: any, __VLS_15: any, __VLS_18: any, __VLS_31: any, __VLS_34: any, __VLS_37: any, __VLS_50: any, __VLS_53: any, __VLS_56: any, __VLS_69: any, __VLS_72: any, __VLS_75: any, __VLS_88: any, __VLS_91: any, __VLS_94: any, __VLS_107: any, __VLS_110: any, __VLS_113: any, __VLS_126: any, __VLS_129: any, __VLS_132: any, __VLS_145: any, __VLS_148: any, __VLS_151: any, __VLS_164: any, __VLS_177: any, __VLS_190: any, __VLS_203: any;
15
+ declare var __VLS_14: {
16
+ context: import('..').AnnotationSelectionContext;
17
+ selected: boolean;
18
+ rect: {
19
+ origin: {
20
+ x: number;
21
+ y: number;
22
+ };
23
+ size: {
24
+ width: number;
25
+ height: number;
26
+ };
27
+ };
28
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
29
+ menuWrapperProps: {
30
+ style: import('vue').CSSProperties;
31
+ onPointerdown: (e: PointerEvent) => void;
32
+ onTouchstart: (e: TouchEvent) => void;
33
+ };
34
+ }, __VLS_17: {
35
+ backgroundColor: "#007ACC";
36
+ onPointerdown: (e: PointerEvent) => void;
37
+ onPointermove: (e: PointerEvent) => void;
38
+ onPointerup: (e: PointerEvent) => void;
39
+ onPointercancel: (e: PointerEvent) => void;
40
+ key: string | number;
41
+ style: import('vue').CSSProperties;
42
+ }, __VLS_20: {
43
+ backgroundColor: "#007ACC";
44
+ onPointerdown: (e: PointerEvent) => void;
45
+ onPointermove: (e: PointerEvent) => void;
46
+ onPointerup: (e: PointerEvent) => void;
47
+ onPointercancel: (e: PointerEvent) => void;
48
+ key: string | number;
49
+ style: import('vue').CSSProperties;
50
+ }, __VLS_35: {
51
+ context: import('..').AnnotationSelectionContext;
52
+ selected: boolean;
53
+ rect: {
54
+ origin: {
55
+ x: number;
56
+ y: number;
57
+ };
58
+ size: {
59
+ width: number;
60
+ height: number;
61
+ };
62
+ };
63
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
64
+ menuWrapperProps: {
65
+ style: import('vue').CSSProperties;
66
+ onPointerdown: (e: PointerEvent) => void;
67
+ onTouchstart: (e: TouchEvent) => void;
68
+ };
69
+ }, __VLS_38: {
70
+ backgroundColor: "#007ACC";
71
+ onPointerdown: (e: PointerEvent) => void;
72
+ onPointermove: (e: PointerEvent) => void;
73
+ onPointerup: (e: PointerEvent) => void;
74
+ onPointercancel: (e: PointerEvent) => void;
75
+ key: string | number;
76
+ style: import('vue').CSSProperties;
77
+ }, __VLS_41: {
78
+ backgroundColor: "#007ACC";
79
+ onPointerdown: (e: PointerEvent) => void;
80
+ onPointermove: (e: PointerEvent) => void;
81
+ onPointerup: (e: PointerEvent) => void;
82
+ onPointercancel: (e: PointerEvent) => void;
83
+ key: string | number;
84
+ style: import('vue').CSSProperties;
85
+ }, __VLS_56: {
86
+ context: import('..').AnnotationSelectionContext;
87
+ selected: boolean;
88
+ rect: {
89
+ origin: {
90
+ x: number;
91
+ y: number;
92
+ };
93
+ size: {
94
+ width: number;
95
+ height: number;
96
+ };
97
+ };
98
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
99
+ menuWrapperProps: {
100
+ style: import('vue').CSSProperties;
101
+ onPointerdown: (e: PointerEvent) => void;
102
+ onTouchstart: (e: TouchEvent) => void;
103
+ };
104
+ }, __VLS_59: {
105
+ backgroundColor: "#007ACC";
106
+ onPointerdown: (e: PointerEvent) => void;
107
+ onPointermove: (e: PointerEvent) => void;
108
+ onPointerup: (e: PointerEvent) => void;
109
+ onPointercancel: (e: PointerEvent) => void;
110
+ key: string | number;
111
+ style: import('vue').CSSProperties;
112
+ }, __VLS_62: {
113
+ backgroundColor: "#007ACC";
114
+ onPointerdown: (e: PointerEvent) => void;
115
+ onPointermove: (e: PointerEvent) => void;
116
+ onPointerup: (e: PointerEvent) => void;
117
+ onPointercancel: (e: PointerEvent) => void;
118
+ key: string | number;
119
+ style: import('vue').CSSProperties;
120
+ }, __VLS_77: {
121
+ context: import('..').AnnotationSelectionContext;
122
+ selected: boolean;
123
+ rect: {
124
+ origin: {
125
+ x: number;
126
+ y: number;
127
+ };
128
+ size: {
129
+ width: number;
130
+ height: number;
131
+ };
132
+ };
133
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
134
+ menuWrapperProps: {
135
+ style: import('vue').CSSProperties;
136
+ onPointerdown: (e: PointerEvent) => void;
137
+ onTouchstart: (e: TouchEvent) => void;
138
+ };
139
+ }, __VLS_80: {
140
+ backgroundColor: "#007ACC";
141
+ onPointerdown: (e: PointerEvent) => void;
142
+ onPointermove: (e: PointerEvent) => void;
143
+ onPointerup: (e: PointerEvent) => void;
144
+ onPointercancel: (e: PointerEvent) => void;
145
+ key: string | number;
146
+ style: import('vue').CSSProperties;
147
+ }, __VLS_83: {
148
+ backgroundColor: "#007ACC";
149
+ onPointerdown: (e: PointerEvent) => void;
150
+ onPointermove: (e: PointerEvent) => void;
151
+ onPointerup: (e: PointerEvent) => void;
152
+ onPointercancel: (e: PointerEvent) => void;
153
+ key: string | number;
154
+ style: import('vue').CSSProperties;
155
+ }, __VLS_98: {
156
+ context: import('..').AnnotationSelectionContext;
157
+ selected: boolean;
158
+ rect: {
159
+ origin: {
160
+ x: number;
161
+ y: number;
162
+ };
163
+ size: {
164
+ width: number;
165
+ height: number;
166
+ };
167
+ };
168
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
169
+ menuWrapperProps: {
170
+ style: import('vue').CSSProperties;
171
+ onPointerdown: (e: PointerEvent) => void;
172
+ onTouchstart: (e: TouchEvent) => void;
173
+ };
174
+ }, __VLS_101: {
175
+ backgroundColor: "#007ACC";
176
+ onPointerdown: (e: PointerEvent) => void;
177
+ onPointermove: (e: PointerEvent) => void;
178
+ onPointerup: (e: PointerEvent) => void;
179
+ onPointercancel: (e: PointerEvent) => void;
180
+ key: string | number;
181
+ style: import('vue').CSSProperties;
182
+ }, __VLS_104: {
183
+ backgroundColor: "#007ACC";
184
+ onPointerdown: (e: PointerEvent) => void;
185
+ onPointermove: (e: PointerEvent) => void;
186
+ onPointerup: (e: PointerEvent) => void;
187
+ onPointercancel: (e: PointerEvent) => void;
188
+ key: string | number;
189
+ style: import('vue').CSSProperties;
190
+ }, __VLS_119: {
191
+ context: import('..').AnnotationSelectionContext;
192
+ selected: boolean;
193
+ rect: {
194
+ origin: {
195
+ x: number;
196
+ y: number;
197
+ };
198
+ size: {
199
+ width: number;
200
+ height: number;
201
+ };
202
+ };
203
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
204
+ menuWrapperProps: {
205
+ style: import('vue').CSSProperties;
206
+ onPointerdown: (e: PointerEvent) => void;
207
+ onTouchstart: (e: TouchEvent) => void;
208
+ };
209
+ }, __VLS_122: {
210
+ backgroundColor: "#007ACC";
211
+ onPointerdown: (e: PointerEvent) => void;
212
+ onPointermove: (e: PointerEvent) => void;
213
+ onPointerup: (e: PointerEvent) => void;
214
+ onPointercancel: (e: PointerEvent) => void;
215
+ key: string | number;
216
+ style: import('vue').CSSProperties;
217
+ }, __VLS_125: {
218
+ backgroundColor: "#007ACC";
219
+ onPointerdown: (e: PointerEvent) => void;
220
+ onPointermove: (e: PointerEvent) => void;
221
+ onPointerup: (e: PointerEvent) => void;
222
+ onPointercancel: (e: PointerEvent) => void;
223
+ key: string | number;
224
+ style: import('vue').CSSProperties;
225
+ }, __VLS_140: {
226
+ context: import('..').AnnotationSelectionContext;
227
+ selected: boolean;
228
+ rect: {
229
+ origin: {
230
+ x: number;
231
+ y: number;
232
+ };
233
+ size: {
234
+ width: number;
235
+ height: number;
236
+ };
237
+ };
238
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
239
+ menuWrapperProps: {
240
+ style: import('vue').CSSProperties;
241
+ onPointerdown: (e: PointerEvent) => void;
242
+ onTouchstart: (e: TouchEvent) => void;
243
+ };
244
+ }, __VLS_143: {
245
+ backgroundColor: "#007ACC";
246
+ onPointerdown: (e: PointerEvent) => void;
247
+ onPointermove: (e: PointerEvent) => void;
248
+ onPointerup: (e: PointerEvent) => void;
249
+ onPointercancel: (e: PointerEvent) => void;
250
+ key: string | number;
251
+ style: import('vue').CSSProperties;
252
+ }, __VLS_146: {
253
+ backgroundColor: "#007ACC";
254
+ onPointerdown: (e: PointerEvent) => void;
255
+ onPointermove: (e: PointerEvent) => void;
256
+ onPointerup: (e: PointerEvent) => void;
257
+ onPointercancel: (e: PointerEvent) => void;
258
+ key: string | number;
259
+ style: import('vue').CSSProperties;
260
+ }, __VLS_161: {
261
+ context: import('..').AnnotationSelectionContext;
262
+ selected: boolean;
263
+ rect: {
264
+ origin: {
265
+ x: number;
266
+ y: number;
267
+ };
268
+ size: {
269
+ width: number;
270
+ height: number;
271
+ };
272
+ };
273
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
274
+ menuWrapperProps: {
275
+ style: import('vue').CSSProperties;
276
+ onPointerdown: (e: PointerEvent) => void;
277
+ onTouchstart: (e: TouchEvent) => void;
278
+ };
279
+ }, __VLS_164: {
280
+ backgroundColor: "#007ACC";
281
+ onPointerdown: (e: PointerEvent) => void;
282
+ onPointermove: (e: PointerEvent) => void;
283
+ onPointerup: (e: PointerEvent) => void;
284
+ onPointercancel: (e: PointerEvent) => void;
285
+ key: string | number;
286
+ style: import('vue').CSSProperties;
287
+ }, __VLS_167: {
288
+ backgroundColor: "#007ACC";
289
+ onPointerdown: (e: PointerEvent) => void;
290
+ onPointermove: (e: PointerEvent) => void;
291
+ onPointerup: (e: PointerEvent) => void;
292
+ onPointercancel: (e: PointerEvent) => void;
293
+ key: string | number;
294
+ style: import('vue').CSSProperties;
295
+ }, __VLS_182: {
296
+ context: import('..').AnnotationSelectionContext;
297
+ selected: boolean;
298
+ rect: {
299
+ origin: {
300
+ x: number;
301
+ y: number;
302
+ };
303
+ size: {
304
+ width: number;
305
+ height: number;
306
+ };
307
+ };
308
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
309
+ menuWrapperProps: {
310
+ style: import('vue').CSSProperties;
311
+ onPointerdown: (e: PointerEvent) => void;
312
+ onTouchstart: (e: TouchEvent) => void;
313
+ };
314
+ }, __VLS_197: {
315
+ context: import('..').AnnotationSelectionContext;
316
+ selected: boolean;
317
+ rect: {
318
+ origin: {
319
+ x: number;
320
+ y: number;
321
+ };
322
+ size: {
323
+ width: number;
324
+ height: number;
325
+ };
326
+ };
327
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
328
+ menuWrapperProps: {
329
+ style: import('vue').CSSProperties;
330
+ onPointerdown: (e: PointerEvent) => void;
331
+ onTouchstart: (e: TouchEvent) => void;
332
+ };
333
+ }, __VLS_212: {
334
+ context: import('..').AnnotationSelectionContext;
335
+ selected: boolean;
336
+ rect: {
337
+ origin: {
338
+ x: number;
339
+ y: number;
340
+ };
341
+ size: {
342
+ width: number;
343
+ height: number;
344
+ };
345
+ };
346
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
347
+ menuWrapperProps: {
348
+ style: import('vue').CSSProperties;
349
+ onPointerdown: (e: PointerEvent) => void;
350
+ onTouchstart: (e: TouchEvent) => void;
351
+ };
352
+ }, __VLS_227: {
353
+ context: import('..').AnnotationSelectionContext;
354
+ selected: boolean;
355
+ rect: {
356
+ origin: {
357
+ x: number;
358
+ y: number;
359
+ };
360
+ size: {
361
+ width: number;
362
+ height: number;
363
+ };
364
+ };
365
+ placement: import('@embedpdf/utils/vue').SelectionMenuPlacement;
366
+ menuWrapperProps: {
367
+ style: import('vue').CSSProperties;
368
+ onPointerdown: (e: PointerEvent) => void;
369
+ onTouchstart: (e: TouchEvent) => void;
370
+ };
371
+ };
16
372
  type __VLS_Slots = {} & {
17
- 'selection-menu'?: (props: typeof __VLS_12) => any;
373
+ 'selection-menu'?: (props: typeof __VLS_14) => any;
18
374
  } & {
19
- 'resize-handle'?: (props: typeof __VLS_15) => any;
375
+ 'resize-handle'?: (props: typeof __VLS_17) => any;
20
376
  } & {
21
- 'vertex-handle'?: (props: typeof __VLS_18) => any;
377
+ 'vertex-handle'?: (props: typeof __VLS_20) => any;
22
378
  } & {
23
- 'selection-menu'?: (props: typeof __VLS_31) => any;
379
+ 'selection-menu'?: (props: typeof __VLS_35) => any;
24
380
  } & {
25
- 'resize-handle'?: (props: typeof __VLS_34) => any;
381
+ 'resize-handle'?: (props: typeof __VLS_38) => any;
26
382
  } & {
27
- 'vertex-handle'?: (props: typeof __VLS_37) => any;
383
+ 'vertex-handle'?: (props: typeof __VLS_41) => any;
28
384
  } & {
29
- 'selection-menu'?: (props: typeof __VLS_50) => any;
385
+ 'selection-menu'?: (props: typeof __VLS_56) => any;
30
386
  } & {
31
- 'resize-handle'?: (props: typeof __VLS_53) => any;
387
+ 'resize-handle'?: (props: typeof __VLS_59) => any;
32
388
  } & {
33
- 'vertex-handle'?: (props: typeof __VLS_56) => any;
389
+ 'vertex-handle'?: (props: typeof __VLS_62) => any;
34
390
  } & {
35
- 'selection-menu'?: (props: typeof __VLS_69) => any;
391
+ 'selection-menu'?: (props: typeof __VLS_77) => any;
36
392
  } & {
37
- 'resize-handle'?: (props: typeof __VLS_72) => any;
393
+ 'resize-handle'?: (props: typeof __VLS_80) => any;
38
394
  } & {
39
- 'vertex-handle'?: (props: typeof __VLS_75) => any;
395
+ 'vertex-handle'?: (props: typeof __VLS_83) => any;
40
396
  } & {
41
- 'selection-menu'?: (props: typeof __VLS_88) => any;
397
+ 'selection-menu'?: (props: typeof __VLS_98) => any;
42
398
  } & {
43
- 'resize-handle'?: (props: typeof __VLS_91) => any;
399
+ 'resize-handle'?: (props: typeof __VLS_101) => any;
44
400
  } & {
45
- 'vertex-handle'?: (props: typeof __VLS_94) => any;
401
+ 'vertex-handle'?: (props: typeof __VLS_104) => any;
46
402
  } & {
47
- 'selection-menu'?: (props: typeof __VLS_107) => any;
403
+ 'selection-menu'?: (props: typeof __VLS_119) => any;
48
404
  } & {
49
- 'resize-handle'?: (props: typeof __VLS_110) => any;
405
+ 'resize-handle'?: (props: typeof __VLS_122) => any;
50
406
  } & {
51
- 'vertex-handle'?: (props: typeof __VLS_113) => any;
407
+ 'vertex-handle'?: (props: typeof __VLS_125) => any;
52
408
  } & {
53
- 'selection-menu'?: (props: typeof __VLS_126) => any;
409
+ 'selection-menu'?: (props: typeof __VLS_140) => any;
54
410
  } & {
55
- 'resize-handle'?: (props: typeof __VLS_129) => any;
411
+ 'resize-handle'?: (props: typeof __VLS_143) => any;
56
412
  } & {
57
- 'vertex-handle'?: (props: typeof __VLS_132) => any;
413
+ 'vertex-handle'?: (props: typeof __VLS_146) => any;
58
414
  } & {
59
- 'selection-menu'?: (props: typeof __VLS_145) => any;
415
+ 'selection-menu'?: (props: typeof __VLS_161) => any;
60
416
  } & {
61
- 'resize-handle'?: (props: typeof __VLS_148) => any;
417
+ 'resize-handle'?: (props: typeof __VLS_164) => any;
62
418
  } & {
63
- 'vertex-handle'?: (props: typeof __VLS_151) => any;
419
+ 'vertex-handle'?: (props: typeof __VLS_167) => any;
64
420
  } & {
65
- 'selection-menu'?: (props: typeof __VLS_164) => any;
421
+ 'selection-menu'?: (props: typeof __VLS_182) => any;
66
422
  } & {
67
- 'selection-menu'?: (props: typeof __VLS_177) => any;
423
+ 'selection-menu'?: (props: typeof __VLS_197) => any;
68
424
  } & {
69
- 'selection-menu'?: (props: typeof __VLS_190) => any;
425
+ 'selection-menu'?: (props: typeof __VLS_212) => any;
70
426
  } & {
71
- 'selection-menu'?: (props: typeof __VLS_203) => any;
427
+ 'selection-menu'?: (props: typeof __VLS_227) => any;
72
428
  };
73
429
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
74
430
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embedpdf/plugin-annotation",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.cjs",
@@ -35,16 +35,16 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@embedpdf/utils": "2.0.0",
39
- "@embedpdf/models": "2.0.0"
38
+ "@embedpdf/models": "2.0.2",
39
+ "@embedpdf/utils": "2.0.2"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/react": "^18.2.0",
43
43
  "typescript": "^5.0.0",
44
+ "@embedpdf/plugin-interaction-manager": "2.0.2",
45
+ "@embedpdf/plugin-selection": "2.0.2",
44
46
  "@embedpdf/build": "1.1.0",
45
- "@embedpdf/plugin-interaction-manager": "2.0.0",
46
- "@embedpdf/plugin-history": "2.0.0",
47
- "@embedpdf/plugin-selection": "2.0.0"
47
+ "@embedpdf/plugin-history": "2.0.2"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "react": ">=16.8.0",
@@ -52,10 +52,10 @@
52
52
  "preact": "^10.26.4",
53
53
  "vue": ">=3.2.0",
54
54
  "svelte": ">=5 <6",
55
- "@embedpdf/core": "2.0.0",
56
- "@embedpdf/plugin-interaction-manager": "2.0.0",
57
- "@embedpdf/plugin-selection": "2.0.0",
58
- "@embedpdf/plugin-history": "2.0.0"
55
+ "@embedpdf/core": "2.0.2",
56
+ "@embedpdf/plugin-interaction-manager": "2.0.2",
57
+ "@embedpdf/plugin-selection": "2.0.2",
58
+ "@embedpdf/plugin-history": "2.0.2"
59
59
  },
60
60
  "files": [
61
61
  "dist",