@inkbar/svelte 0.3.0 → 0.4.0
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.
- package/README.md +16 -9
- package/dist/components/InkColorMenu.svelte +242 -0
- package/dist/components/InkColorMenu.svelte.d.ts +33 -0
- package/dist/components/InkColorMenu.svelte.d.ts.map +1 -0
- package/dist/components/InkHighlightMenu.svelte +166 -0
- package/dist/components/InkHighlightMenu.svelte.d.ts +16 -0
- package/dist/components/InkHighlightMenu.svelte.d.ts.map +1 -0
- package/dist/components/InkLineStyleMenu.svelte +141 -0
- package/dist/components/InkLineStyleMenu.svelte.d.ts +15 -0
- package/dist/components/InkLineStyleMenu.svelte.d.ts.map +1 -0
- package/dist/components/InkRoot.svelte +77 -3
- package/dist/components/InkRoot.svelte.d.ts +20 -2
- package/dist/components/InkRoot.svelte.d.ts.map +1 -1
- package/dist/components/InkShapeMenu.svelte +157 -0
- package/dist/components/InkShapeMenu.svelte.d.ts +15 -0
- package/dist/components/InkShapeMenu.svelte.d.ts.map +1 -0
- package/dist/components/InkSignatureDialog.svelte +70 -0
- package/dist/components/InkSignatureDialog.svelte.d.ts +22 -0
- package/dist/components/InkSignatureDialog.svelte.d.ts.map +1 -0
- package/dist/components/InkSignatureMenu.svelte +263 -0
- package/dist/components/InkSignatureMenu.svelte.d.ts +18 -0
- package/dist/components/InkSignatureMenu.svelte.d.ts.map +1 -0
- package/dist/components/InkTextStyleMenu.svelte +225 -0
- package/dist/components/InkTextStyleMenu.svelte.d.ts +15 -0
- package/dist/components/InkTextStyleMenu.svelte.d.ts.map +1 -0
- package/dist/components/{InkNotePopover.svelte → InkThreadPopover.svelte} +37 -32
- package/dist/components/InkThreadPopover.svelte.d.ts +9 -0
- package/dist/components/InkThreadPopover.svelte.d.ts.map +1 -0
- package/dist/components/InkToolButton.svelte +23 -7
- package/dist/components/InkToolButton.svelte.d.ts.map +1 -1
- package/dist/components/InkViewport.svelte +7 -0
- package/dist/components/InkViewport.svelte.d.ts.map +1 -1
- package/dist/components/SignatureForm.svelte +219 -0
- package/dist/components/SignatureForm.svelte.d.ts +10 -0
- package/dist/components/SignatureForm.svelte.d.ts.map +1 -0
- package/dist/components/ThreadForm.svelte +4 -2
- package/dist/components/ThreadForm.svelte.d.ts +1 -0
- package/dist/components/ThreadForm.svelte.d.ts.map +1 -1
- package/dist/components/child-snippet.d.ts +8 -0
- package/dist/components/child-snippet.d.ts.map +1 -1
- package/dist/components/child-snippet.js +15 -0
- package/dist/context.d.ts +14 -2
- package/dist/context.d.ts.map +1 -1
- package/dist/hooks/useAnnotations.svelte.d.ts +1289 -71
- package/dist/hooks/useAnnotations.svelte.d.ts.map +1 -1
- package/dist/hooks/useToolOptions.svelte.d.ts +11 -0
- package/dist/hooks/useToolOptions.svelte.d.ts.map +1 -0
- package/dist/hooks/useToolOptions.svelte.js +19 -0
- package/dist/hooks/useToolStyle.svelte.d.ts +33 -0
- package/dist/hooks/useToolStyle.svelte.d.ts.map +1 -0
- package/dist/hooks/useToolStyle.svelte.js +33 -0
- package/dist/index.d.ts +20 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -1
- package/package.json +5 -5
- package/dist/components/InkNotePopover.svelte.d.ts +0 -9
- package/dist/components/InkNotePopover.svelte.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AnnotationInput, AnnotationPatch } from '@inkbar/core';
|
|
2
2
|
export declare function useAnnotations(): {
|
|
3
3
|
readonly annotations: readonly ({
|
|
4
4
|
id: string;
|
|
@@ -37,6 +37,8 @@ export declare function useAnnotations(): {
|
|
|
37
37
|
contents?: string | undefined;
|
|
38
38
|
inReplyTo?: string | undefined;
|
|
39
39
|
locked?: boolean | undefined;
|
|
40
|
+
subject?: string | undefined;
|
|
41
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
40
42
|
custom?: Record<string, unknown> | undefined;
|
|
41
43
|
} | {
|
|
42
44
|
id: string;
|
|
@@ -53,11 +55,13 @@ export declare function useAnnotations(): {
|
|
|
53
55
|
modifiedAt: string;
|
|
54
56
|
source: "session" | "pdf";
|
|
55
57
|
type: "text";
|
|
56
|
-
icon: "
|
|
58
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
57
59
|
author?: string | undefined;
|
|
58
60
|
contents?: string | undefined;
|
|
59
61
|
inReplyTo?: string | undefined;
|
|
60
62
|
locked?: boolean | undefined;
|
|
63
|
+
subject?: string | undefined;
|
|
64
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
61
65
|
custom?: Record<string, unknown> | undefined;
|
|
62
66
|
} | {
|
|
63
67
|
id: string;
|
|
@@ -68,24 +72,73 @@ export declare function useAnnotations(): {
|
|
|
68
72
|
width: number;
|
|
69
73
|
height: number;
|
|
70
74
|
};
|
|
71
|
-
color: string;
|
|
72
75
|
opacity: number;
|
|
73
76
|
createdAt: string;
|
|
74
77
|
modifiedAt: string;
|
|
75
78
|
source: "session" | "pdf";
|
|
76
79
|
type: "freetext";
|
|
77
80
|
contents: string;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
width: number;
|
|
82
|
+
defaultStyle: {
|
|
83
|
+
fontFamily: string;
|
|
84
|
+
fontSize: number;
|
|
85
|
+
color: string;
|
|
86
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
87
|
+
fontWeight?: "bold" | undefined;
|
|
88
|
+
fontStyle?: "italic" | undefined;
|
|
89
|
+
textDecoration?: "underline" | undefined;
|
|
90
|
+
align?: undefined;
|
|
91
|
+
};
|
|
81
92
|
author?: string | undefined;
|
|
82
93
|
inReplyTo?: string | undefined;
|
|
83
94
|
locked?: boolean | undefined;
|
|
95
|
+
subject?: string | undefined;
|
|
96
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
84
97
|
custom?: Record<string, unknown> | undefined;
|
|
98
|
+
color?: string | undefined;
|
|
99
|
+
borderColor?: string | undefined;
|
|
100
|
+
dashes?: number[] | undefined;
|
|
101
|
+
cornerRadius?: number | undefined;
|
|
102
|
+
fringe?: {
|
|
103
|
+
left: number;
|
|
104
|
+
top: number;
|
|
105
|
+
right: number;
|
|
106
|
+
bottom: number;
|
|
107
|
+
} | undefined;
|
|
85
108
|
callout?: {
|
|
86
109
|
x: number;
|
|
87
110
|
y: number;
|
|
88
111
|
}[] | undefined;
|
|
112
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
113
|
+
fontFamily?: undefined;
|
|
114
|
+
fontSize?: undefined;
|
|
115
|
+
align?: undefined;
|
|
116
|
+
} | {
|
|
117
|
+
id: string;
|
|
118
|
+
page: number;
|
|
119
|
+
rect: {
|
|
120
|
+
x: number;
|
|
121
|
+
y: number;
|
|
122
|
+
width: number;
|
|
123
|
+
height: number;
|
|
124
|
+
};
|
|
125
|
+
color: string;
|
|
126
|
+
opacity: number;
|
|
127
|
+
createdAt: string;
|
|
128
|
+
modifiedAt: string;
|
|
129
|
+
source: "session" | "pdf";
|
|
130
|
+
width: number;
|
|
131
|
+
type: "square";
|
|
132
|
+
author?: string | undefined;
|
|
133
|
+
contents?: string | undefined;
|
|
134
|
+
inReplyTo?: string | undefined;
|
|
135
|
+
locked?: boolean | undefined;
|
|
136
|
+
subject?: string | undefined;
|
|
137
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
138
|
+
custom?: Record<string, unknown> | undefined;
|
|
139
|
+
cornerRadius?: number | undefined;
|
|
140
|
+
dashes?: number[] | undefined;
|
|
141
|
+
interiorColor?: string | undefined;
|
|
89
142
|
} | {
|
|
90
143
|
id: string;
|
|
91
144
|
page: number;
|
|
@@ -100,13 +153,17 @@ export declare function useAnnotations(): {
|
|
|
100
153
|
createdAt: string;
|
|
101
154
|
modifiedAt: string;
|
|
102
155
|
source: "session" | "pdf";
|
|
103
|
-
type: "square" | "circle";
|
|
104
156
|
width: number;
|
|
157
|
+
type: "circle";
|
|
105
158
|
author?: string | undefined;
|
|
106
159
|
contents?: string | undefined;
|
|
107
160
|
inReplyTo?: string | undefined;
|
|
108
161
|
locked?: boolean | undefined;
|
|
162
|
+
subject?: string | undefined;
|
|
163
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
109
164
|
custom?: Record<string, unknown> | undefined;
|
|
165
|
+
cornerRadius?: undefined;
|
|
166
|
+
dashes?: number[] | undefined;
|
|
110
167
|
interiorColor?: string | undefined;
|
|
111
168
|
} | {
|
|
112
169
|
id: string;
|
|
@@ -136,9 +193,43 @@ export declare function useAnnotations(): {
|
|
|
136
193
|
contents?: string | undefined;
|
|
137
194
|
inReplyTo?: string | undefined;
|
|
138
195
|
locked?: boolean | undefined;
|
|
196
|
+
subject?: string | undefined;
|
|
197
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
198
|
+
custom?: Record<string, unknown> | undefined;
|
|
199
|
+
dashes?: number[] | undefined;
|
|
200
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
201
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
202
|
+
} | {
|
|
203
|
+
id: string;
|
|
204
|
+
page: number;
|
|
205
|
+
rect: {
|
|
206
|
+
x: number;
|
|
207
|
+
y: number;
|
|
208
|
+
width: number;
|
|
209
|
+
height: number;
|
|
210
|
+
};
|
|
211
|
+
color: string;
|
|
212
|
+
opacity: number;
|
|
213
|
+
createdAt: string;
|
|
214
|
+
modifiedAt: string;
|
|
215
|
+
source: "session" | "pdf";
|
|
216
|
+
vertices: {
|
|
217
|
+
x: number;
|
|
218
|
+
y: number;
|
|
219
|
+
}[];
|
|
220
|
+
width: number;
|
|
221
|
+
type: "polyline";
|
|
222
|
+
author?: string | undefined;
|
|
223
|
+
contents?: string | undefined;
|
|
224
|
+
inReplyTo?: string | undefined;
|
|
225
|
+
locked?: boolean | undefined;
|
|
226
|
+
subject?: string | undefined;
|
|
227
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
139
228
|
custom?: Record<string, unknown> | undefined;
|
|
140
|
-
head?: "
|
|
141
|
-
tail?: "
|
|
229
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
230
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
231
|
+
dashes?: number[] | undefined;
|
|
232
|
+
interiorColor?: string | undefined;
|
|
142
233
|
} | {
|
|
143
234
|
id: string;
|
|
144
235
|
page: number;
|
|
@@ -153,17 +244,22 @@ export declare function useAnnotations(): {
|
|
|
153
244
|
createdAt: string;
|
|
154
245
|
modifiedAt: string;
|
|
155
246
|
source: "session" | "pdf";
|
|
156
|
-
type: "polyline" | "polygon";
|
|
157
247
|
vertices: {
|
|
158
248
|
x: number;
|
|
159
249
|
y: number;
|
|
160
250
|
}[];
|
|
161
251
|
width: number;
|
|
252
|
+
type: "polygon";
|
|
162
253
|
author?: string | undefined;
|
|
163
254
|
contents?: string | undefined;
|
|
164
255
|
inReplyTo?: string | undefined;
|
|
165
256
|
locked?: boolean | undefined;
|
|
257
|
+
subject?: string | undefined;
|
|
258
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
166
259
|
custom?: Record<string, unknown> | undefined;
|
|
260
|
+
head?: undefined;
|
|
261
|
+
tail?: undefined;
|
|
262
|
+
dashes?: number[] | undefined;
|
|
167
263
|
interiorColor?: string | undefined;
|
|
168
264
|
} | {
|
|
169
265
|
id: string;
|
|
@@ -189,6 +285,82 @@ export declare function useAnnotations(): {
|
|
|
189
285
|
contents?: string | undefined;
|
|
190
286
|
inReplyTo?: string | undefined;
|
|
191
287
|
locked?: boolean | undefined;
|
|
288
|
+
subject?: string | undefined;
|
|
289
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
290
|
+
custom?: Record<string, unknown> | undefined;
|
|
291
|
+
pressure?: number[][] | undefined;
|
|
292
|
+
dashes?: number[] | undefined;
|
|
293
|
+
} | {
|
|
294
|
+
id: string;
|
|
295
|
+
page: number;
|
|
296
|
+
rect: {
|
|
297
|
+
x: number;
|
|
298
|
+
y: number;
|
|
299
|
+
width: number;
|
|
300
|
+
height: number;
|
|
301
|
+
};
|
|
302
|
+
color: string;
|
|
303
|
+
opacity: number;
|
|
304
|
+
createdAt: string;
|
|
305
|
+
modifiedAt: string;
|
|
306
|
+
source: "session" | "pdf";
|
|
307
|
+
type: "stamp";
|
|
308
|
+
imagedata: string;
|
|
309
|
+
author?: string | undefined;
|
|
310
|
+
contents?: string | undefined;
|
|
311
|
+
inReplyTo?: string | undefined;
|
|
312
|
+
locked?: boolean | undefined;
|
|
313
|
+
subject?: string | undefined;
|
|
314
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
315
|
+
custom?: Record<string, unknown> | undefined;
|
|
316
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
317
|
+
} | {
|
|
318
|
+
id: string;
|
|
319
|
+
page: number;
|
|
320
|
+
rect: {
|
|
321
|
+
x: number;
|
|
322
|
+
y: number;
|
|
323
|
+
width: number;
|
|
324
|
+
height: number;
|
|
325
|
+
};
|
|
326
|
+
color: string;
|
|
327
|
+
opacity: number;
|
|
328
|
+
createdAt: string;
|
|
329
|
+
modifiedAt: string;
|
|
330
|
+
source: "session" | "pdf";
|
|
331
|
+
type: "loupe";
|
|
332
|
+
magnification: number;
|
|
333
|
+
width: number;
|
|
334
|
+
author?: string | undefined;
|
|
335
|
+
contents?: string | undefined;
|
|
336
|
+
inReplyTo?: string | undefined;
|
|
337
|
+
locked?: boolean | undefined;
|
|
338
|
+
subject?: string | undefined;
|
|
339
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
340
|
+
custom?: Record<string, unknown> | undefined;
|
|
341
|
+
} | {
|
|
342
|
+
id: string;
|
|
343
|
+
page: number;
|
|
344
|
+
rect: {
|
|
345
|
+
x: number;
|
|
346
|
+
y: number;
|
|
347
|
+
width: number;
|
|
348
|
+
height: number;
|
|
349
|
+
};
|
|
350
|
+
color: string;
|
|
351
|
+
opacity: number;
|
|
352
|
+
createdAt: string;
|
|
353
|
+
modifiedAt: string;
|
|
354
|
+
source: "session" | "pdf";
|
|
355
|
+
type: "mask";
|
|
356
|
+
shape: "rect" | "ellipse";
|
|
357
|
+
dim: number;
|
|
358
|
+
author?: string | undefined;
|
|
359
|
+
contents?: string | undefined;
|
|
360
|
+
inReplyTo?: string | undefined;
|
|
361
|
+
locked?: boolean | undefined;
|
|
362
|
+
subject?: string | undefined;
|
|
363
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
192
364
|
custom?: Record<string, unknown> | undefined;
|
|
193
365
|
} | {
|
|
194
366
|
id: string;
|
|
@@ -211,6 +383,8 @@ export declare function useAnnotations(): {
|
|
|
211
383
|
contents?: string | undefined;
|
|
212
384
|
inReplyTo?: string | undefined;
|
|
213
385
|
locked?: boolean | undefined;
|
|
386
|
+
subject?: string | undefined;
|
|
387
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
214
388
|
custom?: Record<string, unknown> | undefined;
|
|
215
389
|
quads?: {
|
|
216
390
|
p1: {
|
|
@@ -277,6 +451,8 @@ export declare function useAnnotations(): {
|
|
|
277
451
|
contents?: string | undefined;
|
|
278
452
|
inReplyTo?: string | undefined;
|
|
279
453
|
locked?: boolean | undefined;
|
|
454
|
+
subject?: string | undefined;
|
|
455
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
280
456
|
custom?: Record<string, unknown> | undefined;
|
|
281
457
|
} | {
|
|
282
458
|
id: string;
|
|
@@ -293,11 +469,13 @@ export declare function useAnnotations(): {
|
|
|
293
469
|
modifiedAt: string;
|
|
294
470
|
source: "session" | "pdf";
|
|
295
471
|
type: "text";
|
|
296
|
-
icon: "
|
|
472
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
297
473
|
author?: string | undefined;
|
|
298
474
|
contents?: string | undefined;
|
|
299
475
|
inReplyTo?: string | undefined;
|
|
300
476
|
locked?: boolean | undefined;
|
|
477
|
+
subject?: string | undefined;
|
|
478
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
301
479
|
custom?: Record<string, unknown> | undefined;
|
|
302
480
|
} | {
|
|
303
481
|
id: string;
|
|
@@ -308,24 +486,73 @@ export declare function useAnnotations(): {
|
|
|
308
486
|
width: number;
|
|
309
487
|
height: number;
|
|
310
488
|
};
|
|
311
|
-
color: string;
|
|
312
489
|
opacity: number;
|
|
313
490
|
createdAt: string;
|
|
314
491
|
modifiedAt: string;
|
|
315
492
|
source: "session" | "pdf";
|
|
316
493
|
type: "freetext";
|
|
317
494
|
contents: string;
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
495
|
+
width: number;
|
|
496
|
+
defaultStyle: {
|
|
497
|
+
fontFamily: string;
|
|
498
|
+
fontSize: number;
|
|
499
|
+
color: string;
|
|
500
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
501
|
+
fontWeight?: "bold" | undefined;
|
|
502
|
+
fontStyle?: "italic" | undefined;
|
|
503
|
+
textDecoration?: "underline" | undefined;
|
|
504
|
+
align?: undefined;
|
|
505
|
+
};
|
|
321
506
|
author?: string | undefined;
|
|
322
507
|
inReplyTo?: string | undefined;
|
|
323
508
|
locked?: boolean | undefined;
|
|
509
|
+
subject?: string | undefined;
|
|
510
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
324
511
|
custom?: Record<string, unknown> | undefined;
|
|
512
|
+
color?: string | undefined;
|
|
513
|
+
borderColor?: string | undefined;
|
|
514
|
+
dashes?: number[] | undefined;
|
|
515
|
+
cornerRadius?: number | undefined;
|
|
516
|
+
fringe?: {
|
|
517
|
+
left: number;
|
|
518
|
+
top: number;
|
|
519
|
+
right: number;
|
|
520
|
+
bottom: number;
|
|
521
|
+
} | undefined;
|
|
325
522
|
callout?: {
|
|
326
523
|
x: number;
|
|
327
524
|
y: number;
|
|
328
525
|
}[] | undefined;
|
|
526
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
527
|
+
fontFamily?: undefined;
|
|
528
|
+
fontSize?: undefined;
|
|
529
|
+
align?: undefined;
|
|
530
|
+
} | {
|
|
531
|
+
id: string;
|
|
532
|
+
page: number;
|
|
533
|
+
rect: {
|
|
534
|
+
x: number;
|
|
535
|
+
y: number;
|
|
536
|
+
width: number;
|
|
537
|
+
height: number;
|
|
538
|
+
};
|
|
539
|
+
color: string;
|
|
540
|
+
opacity: number;
|
|
541
|
+
createdAt: string;
|
|
542
|
+
modifiedAt: string;
|
|
543
|
+
source: "session" | "pdf";
|
|
544
|
+
width: number;
|
|
545
|
+
type: "square";
|
|
546
|
+
author?: string | undefined;
|
|
547
|
+
contents?: string | undefined;
|
|
548
|
+
inReplyTo?: string | undefined;
|
|
549
|
+
locked?: boolean | undefined;
|
|
550
|
+
subject?: string | undefined;
|
|
551
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
552
|
+
custom?: Record<string, unknown> | undefined;
|
|
553
|
+
cornerRadius?: number | undefined;
|
|
554
|
+
dashes?: number[] | undefined;
|
|
555
|
+
interiorColor?: string | undefined;
|
|
329
556
|
} | {
|
|
330
557
|
id: string;
|
|
331
558
|
page: number;
|
|
@@ -340,13 +567,17 @@ export declare function useAnnotations(): {
|
|
|
340
567
|
createdAt: string;
|
|
341
568
|
modifiedAt: string;
|
|
342
569
|
source: "session" | "pdf";
|
|
343
|
-
type: "square" | "circle";
|
|
344
570
|
width: number;
|
|
571
|
+
type: "circle";
|
|
345
572
|
author?: string | undefined;
|
|
346
573
|
contents?: string | undefined;
|
|
347
574
|
inReplyTo?: string | undefined;
|
|
348
575
|
locked?: boolean | undefined;
|
|
576
|
+
subject?: string | undefined;
|
|
577
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
349
578
|
custom?: Record<string, unknown> | undefined;
|
|
579
|
+
cornerRadius?: undefined;
|
|
580
|
+
dashes?: number[] | undefined;
|
|
350
581
|
interiorColor?: string | undefined;
|
|
351
582
|
} | {
|
|
352
583
|
id: string;
|
|
@@ -376,9 +607,43 @@ export declare function useAnnotations(): {
|
|
|
376
607
|
contents?: string | undefined;
|
|
377
608
|
inReplyTo?: string | undefined;
|
|
378
609
|
locked?: boolean | undefined;
|
|
610
|
+
subject?: string | undefined;
|
|
611
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
612
|
+
custom?: Record<string, unknown> | undefined;
|
|
613
|
+
dashes?: number[] | undefined;
|
|
614
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
615
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
616
|
+
} | {
|
|
617
|
+
id: string;
|
|
618
|
+
page: number;
|
|
619
|
+
rect: {
|
|
620
|
+
x: number;
|
|
621
|
+
y: number;
|
|
622
|
+
width: number;
|
|
623
|
+
height: number;
|
|
624
|
+
};
|
|
625
|
+
color: string;
|
|
626
|
+
opacity: number;
|
|
627
|
+
createdAt: string;
|
|
628
|
+
modifiedAt: string;
|
|
629
|
+
source: "session" | "pdf";
|
|
630
|
+
vertices: {
|
|
631
|
+
x: number;
|
|
632
|
+
y: number;
|
|
633
|
+
}[];
|
|
634
|
+
width: number;
|
|
635
|
+
type: "polyline";
|
|
636
|
+
author?: string | undefined;
|
|
637
|
+
contents?: string | undefined;
|
|
638
|
+
inReplyTo?: string | undefined;
|
|
639
|
+
locked?: boolean | undefined;
|
|
640
|
+
subject?: string | undefined;
|
|
641
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
379
642
|
custom?: Record<string, unknown> | undefined;
|
|
380
|
-
head?: "
|
|
381
|
-
tail?: "
|
|
643
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
644
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
645
|
+
dashes?: number[] | undefined;
|
|
646
|
+
interiorColor?: string | undefined;
|
|
382
647
|
} | {
|
|
383
648
|
id: string;
|
|
384
649
|
page: number;
|
|
@@ -393,17 +658,22 @@ export declare function useAnnotations(): {
|
|
|
393
658
|
createdAt: string;
|
|
394
659
|
modifiedAt: string;
|
|
395
660
|
source: "session" | "pdf";
|
|
396
|
-
type: "polyline" | "polygon";
|
|
397
661
|
vertices: {
|
|
398
662
|
x: number;
|
|
399
663
|
y: number;
|
|
400
664
|
}[];
|
|
401
665
|
width: number;
|
|
666
|
+
type: "polygon";
|
|
402
667
|
author?: string | undefined;
|
|
403
668
|
contents?: string | undefined;
|
|
404
669
|
inReplyTo?: string | undefined;
|
|
405
670
|
locked?: boolean | undefined;
|
|
671
|
+
subject?: string | undefined;
|
|
672
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
406
673
|
custom?: Record<string, unknown> | undefined;
|
|
674
|
+
head?: undefined;
|
|
675
|
+
tail?: undefined;
|
|
676
|
+
dashes?: number[] | undefined;
|
|
407
677
|
interiorColor?: string | undefined;
|
|
408
678
|
} | {
|
|
409
679
|
id: string;
|
|
@@ -429,6 +699,82 @@ export declare function useAnnotations(): {
|
|
|
429
699
|
contents?: string | undefined;
|
|
430
700
|
inReplyTo?: string | undefined;
|
|
431
701
|
locked?: boolean | undefined;
|
|
702
|
+
subject?: string | undefined;
|
|
703
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
704
|
+
custom?: Record<string, unknown> | undefined;
|
|
705
|
+
pressure?: number[][] | undefined;
|
|
706
|
+
dashes?: number[] | undefined;
|
|
707
|
+
} | {
|
|
708
|
+
id: string;
|
|
709
|
+
page: number;
|
|
710
|
+
rect: {
|
|
711
|
+
x: number;
|
|
712
|
+
y: number;
|
|
713
|
+
width: number;
|
|
714
|
+
height: number;
|
|
715
|
+
};
|
|
716
|
+
color: string;
|
|
717
|
+
opacity: number;
|
|
718
|
+
createdAt: string;
|
|
719
|
+
modifiedAt: string;
|
|
720
|
+
source: "session" | "pdf";
|
|
721
|
+
type: "stamp";
|
|
722
|
+
imagedata: string;
|
|
723
|
+
author?: string | undefined;
|
|
724
|
+
contents?: string | undefined;
|
|
725
|
+
inReplyTo?: string | undefined;
|
|
726
|
+
locked?: boolean | undefined;
|
|
727
|
+
subject?: string | undefined;
|
|
728
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
729
|
+
custom?: Record<string, unknown> | undefined;
|
|
730
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
731
|
+
} | {
|
|
732
|
+
id: string;
|
|
733
|
+
page: number;
|
|
734
|
+
rect: {
|
|
735
|
+
x: number;
|
|
736
|
+
y: number;
|
|
737
|
+
width: number;
|
|
738
|
+
height: number;
|
|
739
|
+
};
|
|
740
|
+
color: string;
|
|
741
|
+
opacity: number;
|
|
742
|
+
createdAt: string;
|
|
743
|
+
modifiedAt: string;
|
|
744
|
+
source: "session" | "pdf";
|
|
745
|
+
type: "loupe";
|
|
746
|
+
magnification: number;
|
|
747
|
+
width: number;
|
|
748
|
+
author?: string | undefined;
|
|
749
|
+
contents?: string | undefined;
|
|
750
|
+
inReplyTo?: string | undefined;
|
|
751
|
+
locked?: boolean | undefined;
|
|
752
|
+
subject?: string | undefined;
|
|
753
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
754
|
+
custom?: Record<string, unknown> | undefined;
|
|
755
|
+
} | {
|
|
756
|
+
id: string;
|
|
757
|
+
page: number;
|
|
758
|
+
rect: {
|
|
759
|
+
x: number;
|
|
760
|
+
y: number;
|
|
761
|
+
width: number;
|
|
762
|
+
height: number;
|
|
763
|
+
};
|
|
764
|
+
color: string;
|
|
765
|
+
opacity: number;
|
|
766
|
+
createdAt: string;
|
|
767
|
+
modifiedAt: string;
|
|
768
|
+
source: "session" | "pdf";
|
|
769
|
+
type: "mask";
|
|
770
|
+
shape: "rect" | "ellipse";
|
|
771
|
+
dim: number;
|
|
772
|
+
author?: string | undefined;
|
|
773
|
+
contents?: string | undefined;
|
|
774
|
+
inReplyTo?: string | undefined;
|
|
775
|
+
locked?: boolean | undefined;
|
|
776
|
+
subject?: string | undefined;
|
|
777
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
432
778
|
custom?: Record<string, unknown> | undefined;
|
|
433
779
|
} | {
|
|
434
780
|
id: string;
|
|
@@ -451,6 +797,8 @@ export declare function useAnnotations(): {
|
|
|
451
797
|
contents?: string | undefined;
|
|
452
798
|
inReplyTo?: string | undefined;
|
|
453
799
|
locked?: boolean | undefined;
|
|
800
|
+
subject?: string | undefined;
|
|
801
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
454
802
|
custom?: Record<string, unknown> | undefined;
|
|
455
803
|
quads?: {
|
|
456
804
|
p1: {
|
|
@@ -516,6 +864,8 @@ export declare function useAnnotations(): {
|
|
|
516
864
|
contents?: string | undefined;
|
|
517
865
|
inReplyTo?: string | undefined;
|
|
518
866
|
locked?: boolean | undefined;
|
|
867
|
+
subject?: string | undefined;
|
|
868
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
519
869
|
custom?: Record<string, unknown> | undefined;
|
|
520
870
|
} | {
|
|
521
871
|
id: string;
|
|
@@ -532,11 +882,13 @@ export declare function useAnnotations(): {
|
|
|
532
882
|
modifiedAt: string;
|
|
533
883
|
source: "session" | "pdf";
|
|
534
884
|
type: "text";
|
|
535
|
-
icon: "
|
|
885
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
536
886
|
author?: string | undefined;
|
|
537
887
|
contents?: string | undefined;
|
|
538
888
|
inReplyTo?: string | undefined;
|
|
539
889
|
locked?: boolean | undefined;
|
|
890
|
+
subject?: string | undefined;
|
|
891
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
540
892
|
custom?: Record<string, unknown> | undefined;
|
|
541
893
|
} | {
|
|
542
894
|
id: string;
|
|
@@ -547,24 +899,73 @@ export declare function useAnnotations(): {
|
|
|
547
899
|
width: number;
|
|
548
900
|
height: number;
|
|
549
901
|
};
|
|
550
|
-
color: string;
|
|
551
902
|
opacity: number;
|
|
552
903
|
createdAt: string;
|
|
553
904
|
modifiedAt: string;
|
|
554
905
|
source: "session" | "pdf";
|
|
555
906
|
type: "freetext";
|
|
556
907
|
contents: string;
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
908
|
+
width: number;
|
|
909
|
+
defaultStyle: {
|
|
910
|
+
fontFamily: string;
|
|
911
|
+
fontSize: number;
|
|
912
|
+
color: string;
|
|
913
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
914
|
+
fontWeight?: "bold" | undefined;
|
|
915
|
+
fontStyle?: "italic" | undefined;
|
|
916
|
+
textDecoration?: "underline" | undefined;
|
|
917
|
+
align?: undefined;
|
|
918
|
+
};
|
|
560
919
|
author?: string | undefined;
|
|
561
920
|
inReplyTo?: string | undefined;
|
|
562
921
|
locked?: boolean | undefined;
|
|
922
|
+
subject?: string | undefined;
|
|
923
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
563
924
|
custom?: Record<string, unknown> | undefined;
|
|
925
|
+
color?: string | undefined;
|
|
926
|
+
borderColor?: string | undefined;
|
|
927
|
+
dashes?: number[] | undefined;
|
|
928
|
+
cornerRadius?: number | undefined;
|
|
929
|
+
fringe?: {
|
|
930
|
+
left: number;
|
|
931
|
+
top: number;
|
|
932
|
+
right: number;
|
|
933
|
+
bottom: number;
|
|
934
|
+
} | undefined;
|
|
564
935
|
callout?: {
|
|
565
936
|
x: number;
|
|
566
937
|
y: number;
|
|
567
938
|
}[] | undefined;
|
|
939
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
940
|
+
fontFamily?: undefined;
|
|
941
|
+
fontSize?: undefined;
|
|
942
|
+
align?: undefined;
|
|
943
|
+
} | {
|
|
944
|
+
id: string;
|
|
945
|
+
page: number;
|
|
946
|
+
rect: {
|
|
947
|
+
x: number;
|
|
948
|
+
y: number;
|
|
949
|
+
width: number;
|
|
950
|
+
height: number;
|
|
951
|
+
};
|
|
952
|
+
color: string;
|
|
953
|
+
opacity: number;
|
|
954
|
+
createdAt: string;
|
|
955
|
+
modifiedAt: string;
|
|
956
|
+
source: "session" | "pdf";
|
|
957
|
+
width: number;
|
|
958
|
+
type: "square";
|
|
959
|
+
author?: string | undefined;
|
|
960
|
+
contents?: string | undefined;
|
|
961
|
+
inReplyTo?: string | undefined;
|
|
962
|
+
locked?: boolean | undefined;
|
|
963
|
+
subject?: string | undefined;
|
|
964
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
965
|
+
custom?: Record<string, unknown> | undefined;
|
|
966
|
+
cornerRadius?: number | undefined;
|
|
967
|
+
dashes?: number[] | undefined;
|
|
968
|
+
interiorColor?: string | undefined;
|
|
568
969
|
} | {
|
|
569
970
|
id: string;
|
|
570
971
|
page: number;
|
|
@@ -579,13 +980,17 @@ export declare function useAnnotations(): {
|
|
|
579
980
|
createdAt: string;
|
|
580
981
|
modifiedAt: string;
|
|
581
982
|
source: "session" | "pdf";
|
|
582
|
-
type: "square" | "circle";
|
|
583
983
|
width: number;
|
|
984
|
+
type: "circle";
|
|
584
985
|
author?: string | undefined;
|
|
585
986
|
contents?: string | undefined;
|
|
586
987
|
inReplyTo?: string | undefined;
|
|
587
988
|
locked?: boolean | undefined;
|
|
989
|
+
subject?: string | undefined;
|
|
990
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
588
991
|
custom?: Record<string, unknown> | undefined;
|
|
992
|
+
cornerRadius?: undefined;
|
|
993
|
+
dashes?: number[] | undefined;
|
|
589
994
|
interiorColor?: string | undefined;
|
|
590
995
|
} | {
|
|
591
996
|
id: string;
|
|
@@ -615,9 +1020,12 @@ export declare function useAnnotations(): {
|
|
|
615
1020
|
contents?: string | undefined;
|
|
616
1021
|
inReplyTo?: string | undefined;
|
|
617
1022
|
locked?: boolean | undefined;
|
|
1023
|
+
subject?: string | undefined;
|
|
1024
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
618
1025
|
custom?: Record<string, unknown> | undefined;
|
|
619
|
-
|
|
620
|
-
|
|
1026
|
+
dashes?: number[] | undefined;
|
|
1027
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1028
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
621
1029
|
} | {
|
|
622
1030
|
id: string;
|
|
623
1031
|
page: number;
|
|
@@ -632,17 +1040,22 @@ export declare function useAnnotations(): {
|
|
|
632
1040
|
createdAt: string;
|
|
633
1041
|
modifiedAt: string;
|
|
634
1042
|
source: "session" | "pdf";
|
|
635
|
-
type: "polyline" | "polygon";
|
|
636
1043
|
vertices: {
|
|
637
1044
|
x: number;
|
|
638
1045
|
y: number;
|
|
639
1046
|
}[];
|
|
640
1047
|
width: number;
|
|
1048
|
+
type: "polyline";
|
|
641
1049
|
author?: string | undefined;
|
|
642
1050
|
contents?: string | undefined;
|
|
643
1051
|
inReplyTo?: string | undefined;
|
|
644
1052
|
locked?: boolean | undefined;
|
|
1053
|
+
subject?: string | undefined;
|
|
1054
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
645
1055
|
custom?: Record<string, unknown> | undefined;
|
|
1056
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1057
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1058
|
+
dashes?: number[] | undefined;
|
|
646
1059
|
interiorColor?: string | undefined;
|
|
647
1060
|
} | {
|
|
648
1061
|
id: string;
|
|
@@ -658,17 +1071,23 @@ export declare function useAnnotations(): {
|
|
|
658
1071
|
createdAt: string;
|
|
659
1072
|
modifiedAt: string;
|
|
660
1073
|
source: "session" | "pdf";
|
|
661
|
-
|
|
662
|
-
inklist: {
|
|
1074
|
+
vertices: {
|
|
663
1075
|
x: number;
|
|
664
1076
|
y: number;
|
|
665
|
-
}[]
|
|
1077
|
+
}[];
|
|
666
1078
|
width: number;
|
|
1079
|
+
type: "polygon";
|
|
667
1080
|
author?: string | undefined;
|
|
668
1081
|
contents?: string | undefined;
|
|
669
1082
|
inReplyTo?: string | undefined;
|
|
670
1083
|
locked?: boolean | undefined;
|
|
1084
|
+
subject?: string | undefined;
|
|
1085
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
671
1086
|
custom?: Record<string, unknown> | undefined;
|
|
1087
|
+
head?: undefined;
|
|
1088
|
+
tail?: undefined;
|
|
1089
|
+
dashes?: number[] | undefined;
|
|
1090
|
+
interiorColor?: string | undefined;
|
|
672
1091
|
} | {
|
|
673
1092
|
id: string;
|
|
674
1093
|
page: number;
|
|
@@ -683,13 +1102,116 @@ export declare function useAnnotations(): {
|
|
|
683
1102
|
createdAt: string;
|
|
684
1103
|
modifiedAt: string;
|
|
685
1104
|
source: "session" | "pdf";
|
|
686
|
-
type: "
|
|
687
|
-
|
|
688
|
-
|
|
1105
|
+
type: "ink";
|
|
1106
|
+
inklist: {
|
|
1107
|
+
x: number;
|
|
1108
|
+
y: number;
|
|
1109
|
+
}[][];
|
|
1110
|
+
width: number;
|
|
689
1111
|
author?: string | undefined;
|
|
690
1112
|
contents?: string | undefined;
|
|
691
1113
|
inReplyTo?: string | undefined;
|
|
692
1114
|
locked?: boolean | undefined;
|
|
1115
|
+
subject?: string | undefined;
|
|
1116
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1117
|
+
custom?: Record<string, unknown> | undefined;
|
|
1118
|
+
pressure?: number[][] | undefined;
|
|
1119
|
+
dashes?: number[] | undefined;
|
|
1120
|
+
} | {
|
|
1121
|
+
id: string;
|
|
1122
|
+
page: number;
|
|
1123
|
+
rect: {
|
|
1124
|
+
x: number;
|
|
1125
|
+
y: number;
|
|
1126
|
+
width: number;
|
|
1127
|
+
height: number;
|
|
1128
|
+
};
|
|
1129
|
+
color: string;
|
|
1130
|
+
opacity: number;
|
|
1131
|
+
createdAt: string;
|
|
1132
|
+
modifiedAt: string;
|
|
1133
|
+
source: "session" | "pdf";
|
|
1134
|
+
type: "stamp";
|
|
1135
|
+
imagedata: string;
|
|
1136
|
+
author?: string | undefined;
|
|
1137
|
+
contents?: string | undefined;
|
|
1138
|
+
inReplyTo?: string | undefined;
|
|
1139
|
+
locked?: boolean | undefined;
|
|
1140
|
+
subject?: string | undefined;
|
|
1141
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1142
|
+
custom?: Record<string, unknown> | undefined;
|
|
1143
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
1144
|
+
} | {
|
|
1145
|
+
id: string;
|
|
1146
|
+
page: number;
|
|
1147
|
+
rect: {
|
|
1148
|
+
x: number;
|
|
1149
|
+
y: number;
|
|
1150
|
+
width: number;
|
|
1151
|
+
height: number;
|
|
1152
|
+
};
|
|
1153
|
+
color: string;
|
|
1154
|
+
opacity: number;
|
|
1155
|
+
createdAt: string;
|
|
1156
|
+
modifiedAt: string;
|
|
1157
|
+
source: "session" | "pdf";
|
|
1158
|
+
type: "loupe";
|
|
1159
|
+
magnification: number;
|
|
1160
|
+
width: number;
|
|
1161
|
+
author?: string | undefined;
|
|
1162
|
+
contents?: string | undefined;
|
|
1163
|
+
inReplyTo?: string | undefined;
|
|
1164
|
+
locked?: boolean | undefined;
|
|
1165
|
+
subject?: string | undefined;
|
|
1166
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1167
|
+
custom?: Record<string, unknown> | undefined;
|
|
1168
|
+
} | {
|
|
1169
|
+
id: string;
|
|
1170
|
+
page: number;
|
|
1171
|
+
rect: {
|
|
1172
|
+
x: number;
|
|
1173
|
+
y: number;
|
|
1174
|
+
width: number;
|
|
1175
|
+
height: number;
|
|
1176
|
+
};
|
|
1177
|
+
color: string;
|
|
1178
|
+
opacity: number;
|
|
1179
|
+
createdAt: string;
|
|
1180
|
+
modifiedAt: string;
|
|
1181
|
+
source: "session" | "pdf";
|
|
1182
|
+
type: "mask";
|
|
1183
|
+
shape: "rect" | "ellipse";
|
|
1184
|
+
dim: number;
|
|
1185
|
+
author?: string | undefined;
|
|
1186
|
+
contents?: string | undefined;
|
|
1187
|
+
inReplyTo?: string | undefined;
|
|
1188
|
+
locked?: boolean | undefined;
|
|
1189
|
+
subject?: string | undefined;
|
|
1190
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1191
|
+
custom?: Record<string, unknown> | undefined;
|
|
1192
|
+
} | {
|
|
1193
|
+
id: string;
|
|
1194
|
+
page: number;
|
|
1195
|
+
rect: {
|
|
1196
|
+
x: number;
|
|
1197
|
+
y: number;
|
|
1198
|
+
width: number;
|
|
1199
|
+
height: number;
|
|
1200
|
+
};
|
|
1201
|
+
color: string;
|
|
1202
|
+
opacity: number;
|
|
1203
|
+
createdAt: string;
|
|
1204
|
+
modifiedAt: string;
|
|
1205
|
+
source: "session" | "pdf";
|
|
1206
|
+
type: "redact";
|
|
1207
|
+
origin: "user" | "suggested";
|
|
1208
|
+
interiorColor: string;
|
|
1209
|
+
author?: string | undefined;
|
|
1210
|
+
contents?: string | undefined;
|
|
1211
|
+
inReplyTo?: string | undefined;
|
|
1212
|
+
locked?: boolean | undefined;
|
|
1213
|
+
subject?: string | undefined;
|
|
1214
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
693
1215
|
custom?: Record<string, unknown> | undefined;
|
|
694
1216
|
quads?: {
|
|
695
1217
|
p1: {
|
|
@@ -756,6 +1278,8 @@ export declare function useAnnotations(): {
|
|
|
756
1278
|
contents?: string | undefined;
|
|
757
1279
|
inReplyTo?: string | undefined;
|
|
758
1280
|
locked?: boolean | undefined;
|
|
1281
|
+
subject?: string | undefined;
|
|
1282
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
759
1283
|
custom?: Record<string, unknown> | undefined;
|
|
760
1284
|
} | {
|
|
761
1285
|
id: string;
|
|
@@ -772,11 +1296,13 @@ export declare function useAnnotations(): {
|
|
|
772
1296
|
modifiedAt: string;
|
|
773
1297
|
source: "session" | "pdf";
|
|
774
1298
|
type: "text";
|
|
775
|
-
icon: "
|
|
1299
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
776
1300
|
author?: string | undefined;
|
|
777
1301
|
contents?: string | undefined;
|
|
778
1302
|
inReplyTo?: string | undefined;
|
|
779
1303
|
locked?: boolean | undefined;
|
|
1304
|
+
subject?: string | undefined;
|
|
1305
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
780
1306
|
custom?: Record<string, unknown> | undefined;
|
|
781
1307
|
} | {
|
|
782
1308
|
id: string;
|
|
@@ -787,24 +1313,73 @@ export declare function useAnnotations(): {
|
|
|
787
1313
|
width: number;
|
|
788
1314
|
height: number;
|
|
789
1315
|
};
|
|
790
|
-
color: string;
|
|
791
1316
|
opacity: number;
|
|
792
1317
|
createdAt: string;
|
|
793
1318
|
modifiedAt: string;
|
|
794
1319
|
source: "session" | "pdf";
|
|
795
1320
|
type: "freetext";
|
|
796
1321
|
contents: string;
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
1322
|
+
width: number;
|
|
1323
|
+
defaultStyle: {
|
|
1324
|
+
fontFamily: string;
|
|
1325
|
+
fontSize: number;
|
|
1326
|
+
color: string;
|
|
1327
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
1328
|
+
fontWeight?: "bold" | undefined;
|
|
1329
|
+
fontStyle?: "italic" | undefined;
|
|
1330
|
+
textDecoration?: "underline" | undefined;
|
|
1331
|
+
align?: undefined;
|
|
1332
|
+
};
|
|
800
1333
|
author?: string | undefined;
|
|
801
1334
|
inReplyTo?: string | undefined;
|
|
802
1335
|
locked?: boolean | undefined;
|
|
1336
|
+
subject?: string | undefined;
|
|
1337
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
803
1338
|
custom?: Record<string, unknown> | undefined;
|
|
1339
|
+
color?: string | undefined;
|
|
1340
|
+
borderColor?: string | undefined;
|
|
1341
|
+
dashes?: number[] | undefined;
|
|
1342
|
+
cornerRadius?: number | undefined;
|
|
1343
|
+
fringe?: {
|
|
1344
|
+
left: number;
|
|
1345
|
+
top: number;
|
|
1346
|
+
right: number;
|
|
1347
|
+
bottom: number;
|
|
1348
|
+
} | undefined;
|
|
804
1349
|
callout?: {
|
|
805
1350
|
x: number;
|
|
806
1351
|
y: number;
|
|
807
1352
|
}[] | undefined;
|
|
1353
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1354
|
+
fontFamily?: undefined;
|
|
1355
|
+
fontSize?: undefined;
|
|
1356
|
+
align?: undefined;
|
|
1357
|
+
} | {
|
|
1358
|
+
id: string;
|
|
1359
|
+
page: number;
|
|
1360
|
+
rect: {
|
|
1361
|
+
x: number;
|
|
1362
|
+
y: number;
|
|
1363
|
+
width: number;
|
|
1364
|
+
height: number;
|
|
1365
|
+
};
|
|
1366
|
+
color: string;
|
|
1367
|
+
opacity: number;
|
|
1368
|
+
createdAt: string;
|
|
1369
|
+
modifiedAt: string;
|
|
1370
|
+
source: "session" | "pdf";
|
|
1371
|
+
width: number;
|
|
1372
|
+
type: "square";
|
|
1373
|
+
author?: string | undefined;
|
|
1374
|
+
contents?: string | undefined;
|
|
1375
|
+
inReplyTo?: string | undefined;
|
|
1376
|
+
locked?: boolean | undefined;
|
|
1377
|
+
subject?: string | undefined;
|
|
1378
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1379
|
+
custom?: Record<string, unknown> | undefined;
|
|
1380
|
+
cornerRadius?: number | undefined;
|
|
1381
|
+
dashes?: number[] | undefined;
|
|
1382
|
+
interiorColor?: string | undefined;
|
|
808
1383
|
} | {
|
|
809
1384
|
id: string;
|
|
810
1385
|
page: number;
|
|
@@ -819,13 +1394,17 @@ export declare function useAnnotations(): {
|
|
|
819
1394
|
createdAt: string;
|
|
820
1395
|
modifiedAt: string;
|
|
821
1396
|
source: "session" | "pdf";
|
|
822
|
-
type: "square" | "circle";
|
|
823
1397
|
width: number;
|
|
1398
|
+
type: "circle";
|
|
824
1399
|
author?: string | undefined;
|
|
825
1400
|
contents?: string | undefined;
|
|
826
1401
|
inReplyTo?: string | undefined;
|
|
827
1402
|
locked?: boolean | undefined;
|
|
1403
|
+
subject?: string | undefined;
|
|
1404
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
828
1405
|
custom?: Record<string, unknown> | undefined;
|
|
1406
|
+
cornerRadius?: undefined;
|
|
1407
|
+
dashes?: number[] | undefined;
|
|
829
1408
|
interiorColor?: string | undefined;
|
|
830
1409
|
} | {
|
|
831
1410
|
id: string;
|
|
@@ -855,9 +1434,43 @@ export declare function useAnnotations(): {
|
|
|
855
1434
|
contents?: string | undefined;
|
|
856
1435
|
inReplyTo?: string | undefined;
|
|
857
1436
|
locked?: boolean | undefined;
|
|
1437
|
+
subject?: string | undefined;
|
|
1438
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1439
|
+
custom?: Record<string, unknown> | undefined;
|
|
1440
|
+
dashes?: number[] | undefined;
|
|
1441
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1442
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1443
|
+
} | {
|
|
1444
|
+
id: string;
|
|
1445
|
+
page: number;
|
|
1446
|
+
rect: {
|
|
1447
|
+
x: number;
|
|
1448
|
+
y: number;
|
|
1449
|
+
width: number;
|
|
1450
|
+
height: number;
|
|
1451
|
+
};
|
|
1452
|
+
color: string;
|
|
1453
|
+
opacity: number;
|
|
1454
|
+
createdAt: string;
|
|
1455
|
+
modifiedAt: string;
|
|
1456
|
+
source: "session" | "pdf";
|
|
1457
|
+
vertices: {
|
|
1458
|
+
x: number;
|
|
1459
|
+
y: number;
|
|
1460
|
+
}[];
|
|
1461
|
+
width: number;
|
|
1462
|
+
type: "polyline";
|
|
1463
|
+
author?: string | undefined;
|
|
1464
|
+
contents?: string | undefined;
|
|
1465
|
+
inReplyTo?: string | undefined;
|
|
1466
|
+
locked?: boolean | undefined;
|
|
1467
|
+
subject?: string | undefined;
|
|
1468
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
858
1469
|
custom?: Record<string, unknown> | undefined;
|
|
859
|
-
head?: "
|
|
860
|
-
tail?: "
|
|
1470
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1471
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1472
|
+
dashes?: number[] | undefined;
|
|
1473
|
+
interiorColor?: string | undefined;
|
|
861
1474
|
} | {
|
|
862
1475
|
id: string;
|
|
863
1476
|
page: number;
|
|
@@ -872,17 +1485,22 @@ export declare function useAnnotations(): {
|
|
|
872
1485
|
createdAt: string;
|
|
873
1486
|
modifiedAt: string;
|
|
874
1487
|
source: "session" | "pdf";
|
|
875
|
-
type: "polyline" | "polygon";
|
|
876
1488
|
vertices: {
|
|
877
1489
|
x: number;
|
|
878
1490
|
y: number;
|
|
879
1491
|
}[];
|
|
880
1492
|
width: number;
|
|
1493
|
+
type: "polygon";
|
|
881
1494
|
author?: string | undefined;
|
|
882
1495
|
contents?: string | undefined;
|
|
883
1496
|
inReplyTo?: string | undefined;
|
|
884
1497
|
locked?: boolean | undefined;
|
|
1498
|
+
subject?: string | undefined;
|
|
1499
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
885
1500
|
custom?: Record<string, unknown> | undefined;
|
|
1501
|
+
head?: undefined;
|
|
1502
|
+
tail?: undefined;
|
|
1503
|
+
dashes?: number[] | undefined;
|
|
886
1504
|
interiorColor?: string | undefined;
|
|
887
1505
|
} | {
|
|
888
1506
|
id: string;
|
|
@@ -908,6 +1526,82 @@ export declare function useAnnotations(): {
|
|
|
908
1526
|
contents?: string | undefined;
|
|
909
1527
|
inReplyTo?: string | undefined;
|
|
910
1528
|
locked?: boolean | undefined;
|
|
1529
|
+
subject?: string | undefined;
|
|
1530
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1531
|
+
custom?: Record<string, unknown> | undefined;
|
|
1532
|
+
pressure?: number[][] | undefined;
|
|
1533
|
+
dashes?: number[] | undefined;
|
|
1534
|
+
} | {
|
|
1535
|
+
id: string;
|
|
1536
|
+
page: number;
|
|
1537
|
+
rect: {
|
|
1538
|
+
x: number;
|
|
1539
|
+
y: number;
|
|
1540
|
+
width: number;
|
|
1541
|
+
height: number;
|
|
1542
|
+
};
|
|
1543
|
+
color: string;
|
|
1544
|
+
opacity: number;
|
|
1545
|
+
createdAt: string;
|
|
1546
|
+
modifiedAt: string;
|
|
1547
|
+
source: "session" | "pdf";
|
|
1548
|
+
type: "stamp";
|
|
1549
|
+
imagedata: string;
|
|
1550
|
+
author?: string | undefined;
|
|
1551
|
+
contents?: string | undefined;
|
|
1552
|
+
inReplyTo?: string | undefined;
|
|
1553
|
+
locked?: boolean | undefined;
|
|
1554
|
+
subject?: string | undefined;
|
|
1555
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1556
|
+
custom?: Record<string, unknown> | undefined;
|
|
1557
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
1558
|
+
} | {
|
|
1559
|
+
id: string;
|
|
1560
|
+
page: number;
|
|
1561
|
+
rect: {
|
|
1562
|
+
x: number;
|
|
1563
|
+
y: number;
|
|
1564
|
+
width: number;
|
|
1565
|
+
height: number;
|
|
1566
|
+
};
|
|
1567
|
+
color: string;
|
|
1568
|
+
opacity: number;
|
|
1569
|
+
createdAt: string;
|
|
1570
|
+
modifiedAt: string;
|
|
1571
|
+
source: "session" | "pdf";
|
|
1572
|
+
type: "loupe";
|
|
1573
|
+
magnification: number;
|
|
1574
|
+
width: number;
|
|
1575
|
+
author?: string | undefined;
|
|
1576
|
+
contents?: string | undefined;
|
|
1577
|
+
inReplyTo?: string | undefined;
|
|
1578
|
+
locked?: boolean | undefined;
|
|
1579
|
+
subject?: string | undefined;
|
|
1580
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1581
|
+
custom?: Record<string, unknown> | undefined;
|
|
1582
|
+
} | {
|
|
1583
|
+
id: string;
|
|
1584
|
+
page: number;
|
|
1585
|
+
rect: {
|
|
1586
|
+
x: number;
|
|
1587
|
+
y: number;
|
|
1588
|
+
width: number;
|
|
1589
|
+
height: number;
|
|
1590
|
+
};
|
|
1591
|
+
color: string;
|
|
1592
|
+
opacity: number;
|
|
1593
|
+
createdAt: string;
|
|
1594
|
+
modifiedAt: string;
|
|
1595
|
+
source: "session" | "pdf";
|
|
1596
|
+
type: "mask";
|
|
1597
|
+
shape: "rect" | "ellipse";
|
|
1598
|
+
dim: number;
|
|
1599
|
+
author?: string | undefined;
|
|
1600
|
+
contents?: string | undefined;
|
|
1601
|
+
inReplyTo?: string | undefined;
|
|
1602
|
+
locked?: boolean | undefined;
|
|
1603
|
+
subject?: string | undefined;
|
|
1604
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
911
1605
|
custom?: Record<string, unknown> | undefined;
|
|
912
1606
|
} | {
|
|
913
1607
|
id: string;
|
|
@@ -930,6 +1624,8 @@ export declare function useAnnotations(): {
|
|
|
930
1624
|
contents?: string | undefined;
|
|
931
1625
|
inReplyTo?: string | undefined;
|
|
932
1626
|
locked?: boolean | undefined;
|
|
1627
|
+
subject?: string | undefined;
|
|
1628
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
933
1629
|
custom?: Record<string, unknown> | undefined;
|
|
934
1630
|
quads?: {
|
|
935
1631
|
p1: {
|
|
@@ -995,6 +1691,8 @@ export declare function useAnnotations(): {
|
|
|
995
1691
|
contents?: string | undefined;
|
|
996
1692
|
inReplyTo?: string | undefined;
|
|
997
1693
|
locked?: boolean | undefined;
|
|
1694
|
+
subject?: string | undefined;
|
|
1695
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
998
1696
|
custom?: Record<string, unknown> | undefined;
|
|
999
1697
|
} | {
|
|
1000
1698
|
id: string;
|
|
@@ -1011,11 +1709,13 @@ export declare function useAnnotations(): {
|
|
|
1011
1709
|
modifiedAt: string;
|
|
1012
1710
|
source: "session" | "pdf";
|
|
1013
1711
|
type: "text";
|
|
1014
|
-
icon: "
|
|
1712
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
1015
1713
|
author?: string | undefined;
|
|
1016
1714
|
contents?: string | undefined;
|
|
1017
1715
|
inReplyTo?: string | undefined;
|
|
1018
1716
|
locked?: boolean | undefined;
|
|
1717
|
+
subject?: string | undefined;
|
|
1718
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1019
1719
|
custom?: Record<string, unknown> | undefined;
|
|
1020
1720
|
} | {
|
|
1021
1721
|
id: string;
|
|
@@ -1026,24 +1726,47 @@ export declare function useAnnotations(): {
|
|
|
1026
1726
|
width: number;
|
|
1027
1727
|
height: number;
|
|
1028
1728
|
};
|
|
1029
|
-
color: string;
|
|
1030
1729
|
opacity: number;
|
|
1031
1730
|
createdAt: string;
|
|
1032
1731
|
modifiedAt: string;
|
|
1033
1732
|
source: "session" | "pdf";
|
|
1034
1733
|
type: "freetext";
|
|
1035
1734
|
contents: string;
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1735
|
+
width: number;
|
|
1736
|
+
defaultStyle: {
|
|
1737
|
+
fontFamily: string;
|
|
1738
|
+
fontSize: number;
|
|
1739
|
+
color: string;
|
|
1740
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
1741
|
+
fontWeight?: "bold" | undefined;
|
|
1742
|
+
fontStyle?: "italic" | undefined;
|
|
1743
|
+
textDecoration?: "underline" | undefined;
|
|
1744
|
+
align?: undefined;
|
|
1745
|
+
};
|
|
1039
1746
|
author?: string | undefined;
|
|
1040
1747
|
inReplyTo?: string | undefined;
|
|
1041
1748
|
locked?: boolean | undefined;
|
|
1749
|
+
subject?: string | undefined;
|
|
1750
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1042
1751
|
custom?: Record<string, unknown> | undefined;
|
|
1752
|
+
color?: string | undefined;
|
|
1753
|
+
borderColor?: string | undefined;
|
|
1754
|
+
dashes?: number[] | undefined;
|
|
1755
|
+
cornerRadius?: number | undefined;
|
|
1756
|
+
fringe?: {
|
|
1757
|
+
left: number;
|
|
1758
|
+
top: number;
|
|
1759
|
+
right: number;
|
|
1760
|
+
bottom: number;
|
|
1761
|
+
} | undefined;
|
|
1043
1762
|
callout?: {
|
|
1044
1763
|
x: number;
|
|
1045
1764
|
y: number;
|
|
1046
1765
|
}[] | undefined;
|
|
1766
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1767
|
+
fontFamily?: undefined;
|
|
1768
|
+
fontSize?: undefined;
|
|
1769
|
+
align?: undefined;
|
|
1047
1770
|
} | {
|
|
1048
1771
|
id: string;
|
|
1049
1772
|
page: number;
|
|
@@ -1058,13 +1781,43 @@ export declare function useAnnotations(): {
|
|
|
1058
1781
|
createdAt: string;
|
|
1059
1782
|
modifiedAt: string;
|
|
1060
1783
|
source: "session" | "pdf";
|
|
1061
|
-
type: "square" | "circle";
|
|
1062
1784
|
width: number;
|
|
1785
|
+
type: "square";
|
|
1063
1786
|
author?: string | undefined;
|
|
1064
1787
|
contents?: string | undefined;
|
|
1065
1788
|
inReplyTo?: string | undefined;
|
|
1066
1789
|
locked?: boolean | undefined;
|
|
1790
|
+
subject?: string | undefined;
|
|
1791
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1067
1792
|
custom?: Record<string, unknown> | undefined;
|
|
1793
|
+
cornerRadius?: number | undefined;
|
|
1794
|
+
dashes?: number[] | undefined;
|
|
1795
|
+
interiorColor?: string | undefined;
|
|
1796
|
+
} | {
|
|
1797
|
+
id: string;
|
|
1798
|
+
page: number;
|
|
1799
|
+
rect: {
|
|
1800
|
+
x: number;
|
|
1801
|
+
y: number;
|
|
1802
|
+
width: number;
|
|
1803
|
+
height: number;
|
|
1804
|
+
};
|
|
1805
|
+
color: string;
|
|
1806
|
+
opacity: number;
|
|
1807
|
+
createdAt: string;
|
|
1808
|
+
modifiedAt: string;
|
|
1809
|
+
source: "session" | "pdf";
|
|
1810
|
+
width: number;
|
|
1811
|
+
type: "circle";
|
|
1812
|
+
author?: string | undefined;
|
|
1813
|
+
contents?: string | undefined;
|
|
1814
|
+
inReplyTo?: string | undefined;
|
|
1815
|
+
locked?: boolean | undefined;
|
|
1816
|
+
subject?: string | undefined;
|
|
1817
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1818
|
+
custom?: Record<string, unknown> | undefined;
|
|
1819
|
+
cornerRadius?: undefined;
|
|
1820
|
+
dashes?: number[] | undefined;
|
|
1068
1821
|
interiorColor?: string | undefined;
|
|
1069
1822
|
} | {
|
|
1070
1823
|
id: string;
|
|
@@ -1094,9 +1847,43 @@ export declare function useAnnotations(): {
|
|
|
1094
1847
|
contents?: string | undefined;
|
|
1095
1848
|
inReplyTo?: string | undefined;
|
|
1096
1849
|
locked?: boolean | undefined;
|
|
1850
|
+
subject?: string | undefined;
|
|
1851
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1852
|
+
custom?: Record<string, unknown> | undefined;
|
|
1853
|
+
dashes?: number[] | undefined;
|
|
1854
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1855
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1856
|
+
} | {
|
|
1857
|
+
id: string;
|
|
1858
|
+
page: number;
|
|
1859
|
+
rect: {
|
|
1860
|
+
x: number;
|
|
1861
|
+
y: number;
|
|
1862
|
+
width: number;
|
|
1863
|
+
height: number;
|
|
1864
|
+
};
|
|
1865
|
+
color: string;
|
|
1866
|
+
opacity: number;
|
|
1867
|
+
createdAt: string;
|
|
1868
|
+
modifiedAt: string;
|
|
1869
|
+
source: "session" | "pdf";
|
|
1870
|
+
vertices: {
|
|
1871
|
+
x: number;
|
|
1872
|
+
y: number;
|
|
1873
|
+
}[];
|
|
1874
|
+
width: number;
|
|
1875
|
+
type: "polyline";
|
|
1876
|
+
author?: string | undefined;
|
|
1877
|
+
contents?: string | undefined;
|
|
1878
|
+
inReplyTo?: string | undefined;
|
|
1879
|
+
locked?: boolean | undefined;
|
|
1880
|
+
subject?: string | undefined;
|
|
1881
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1097
1882
|
custom?: Record<string, unknown> | undefined;
|
|
1098
|
-
head?: "
|
|
1099
|
-
tail?: "
|
|
1883
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1884
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1885
|
+
dashes?: number[] | undefined;
|
|
1886
|
+
interiorColor?: string | undefined;
|
|
1100
1887
|
} | {
|
|
1101
1888
|
id: string;
|
|
1102
1889
|
page: number;
|
|
@@ -1111,17 +1898,22 @@ export declare function useAnnotations(): {
|
|
|
1111
1898
|
createdAt: string;
|
|
1112
1899
|
modifiedAt: string;
|
|
1113
1900
|
source: "session" | "pdf";
|
|
1114
|
-
type: "polyline" | "polygon";
|
|
1115
1901
|
vertices: {
|
|
1116
1902
|
x: number;
|
|
1117
1903
|
y: number;
|
|
1118
1904
|
}[];
|
|
1119
1905
|
width: number;
|
|
1906
|
+
type: "polygon";
|
|
1120
1907
|
author?: string | undefined;
|
|
1121
1908
|
contents?: string | undefined;
|
|
1122
1909
|
inReplyTo?: string | undefined;
|
|
1123
1910
|
locked?: boolean | undefined;
|
|
1911
|
+
subject?: string | undefined;
|
|
1912
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1124
1913
|
custom?: Record<string, unknown> | undefined;
|
|
1914
|
+
head?: undefined;
|
|
1915
|
+
tail?: undefined;
|
|
1916
|
+
dashes?: number[] | undefined;
|
|
1125
1917
|
interiorColor?: string | undefined;
|
|
1126
1918
|
} | {
|
|
1127
1919
|
id: string;
|
|
@@ -1147,6 +1939,82 @@ export declare function useAnnotations(): {
|
|
|
1147
1939
|
contents?: string | undefined;
|
|
1148
1940
|
inReplyTo?: string | undefined;
|
|
1149
1941
|
locked?: boolean | undefined;
|
|
1942
|
+
subject?: string | undefined;
|
|
1943
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1944
|
+
custom?: Record<string, unknown> | undefined;
|
|
1945
|
+
pressure?: number[][] | undefined;
|
|
1946
|
+
dashes?: number[] | undefined;
|
|
1947
|
+
} | {
|
|
1948
|
+
id: string;
|
|
1949
|
+
page: number;
|
|
1950
|
+
rect: {
|
|
1951
|
+
x: number;
|
|
1952
|
+
y: number;
|
|
1953
|
+
width: number;
|
|
1954
|
+
height: number;
|
|
1955
|
+
};
|
|
1956
|
+
color: string;
|
|
1957
|
+
opacity: number;
|
|
1958
|
+
createdAt: string;
|
|
1959
|
+
modifiedAt: string;
|
|
1960
|
+
source: "session" | "pdf";
|
|
1961
|
+
type: "stamp";
|
|
1962
|
+
imagedata: string;
|
|
1963
|
+
author?: string | undefined;
|
|
1964
|
+
contents?: string | undefined;
|
|
1965
|
+
inReplyTo?: string | undefined;
|
|
1966
|
+
locked?: boolean | undefined;
|
|
1967
|
+
subject?: string | undefined;
|
|
1968
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1969
|
+
custom?: Record<string, unknown> | undefined;
|
|
1970
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
1971
|
+
} | {
|
|
1972
|
+
id: string;
|
|
1973
|
+
page: number;
|
|
1974
|
+
rect: {
|
|
1975
|
+
x: number;
|
|
1976
|
+
y: number;
|
|
1977
|
+
width: number;
|
|
1978
|
+
height: number;
|
|
1979
|
+
};
|
|
1980
|
+
color: string;
|
|
1981
|
+
opacity: number;
|
|
1982
|
+
createdAt: string;
|
|
1983
|
+
modifiedAt: string;
|
|
1984
|
+
source: "session" | "pdf";
|
|
1985
|
+
type: "loupe";
|
|
1986
|
+
magnification: number;
|
|
1987
|
+
width: number;
|
|
1988
|
+
author?: string | undefined;
|
|
1989
|
+
contents?: string | undefined;
|
|
1990
|
+
inReplyTo?: string | undefined;
|
|
1991
|
+
locked?: boolean | undefined;
|
|
1992
|
+
subject?: string | undefined;
|
|
1993
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1994
|
+
custom?: Record<string, unknown> | undefined;
|
|
1995
|
+
} | {
|
|
1996
|
+
id: string;
|
|
1997
|
+
page: number;
|
|
1998
|
+
rect: {
|
|
1999
|
+
x: number;
|
|
2000
|
+
y: number;
|
|
2001
|
+
width: number;
|
|
2002
|
+
height: number;
|
|
2003
|
+
};
|
|
2004
|
+
color: string;
|
|
2005
|
+
opacity: number;
|
|
2006
|
+
createdAt: string;
|
|
2007
|
+
modifiedAt: string;
|
|
2008
|
+
source: "session" | "pdf";
|
|
2009
|
+
type: "mask";
|
|
2010
|
+
shape: "rect" | "ellipse";
|
|
2011
|
+
dim: number;
|
|
2012
|
+
author?: string | undefined;
|
|
2013
|
+
contents?: string | undefined;
|
|
2014
|
+
inReplyTo?: string | undefined;
|
|
2015
|
+
locked?: boolean | undefined;
|
|
2016
|
+
subject?: string | undefined;
|
|
2017
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1150
2018
|
custom?: Record<string, unknown> | undefined;
|
|
1151
2019
|
} | {
|
|
1152
2020
|
id: string;
|
|
@@ -1169,6 +2037,8 @@ export declare function useAnnotations(): {
|
|
|
1169
2037
|
contents?: string | undefined;
|
|
1170
2038
|
inReplyTo?: string | undefined;
|
|
1171
2039
|
locked?: boolean | undefined;
|
|
2040
|
+
subject?: string | undefined;
|
|
2041
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1172
2042
|
custom?: Record<string, unknown> | undefined;
|
|
1173
2043
|
quads?: {
|
|
1174
2044
|
p1: {
|
|
@@ -1197,7 +2067,7 @@ export declare function useAnnotations(): {
|
|
|
1197
2067
|
} | undefined;
|
|
1198
2068
|
overlayText?: string | undefined;
|
|
1199
2069
|
} | undefined;
|
|
1200
|
-
update: (id: string, patch:
|
|
2070
|
+
update: (id: string, patch: AnnotationPatch) => {
|
|
1201
2071
|
id: string;
|
|
1202
2072
|
page: number;
|
|
1203
2073
|
rect: {
|
|
@@ -1234,6 +2104,8 @@ export declare function useAnnotations(): {
|
|
|
1234
2104
|
contents?: string | undefined;
|
|
1235
2105
|
inReplyTo?: string | undefined;
|
|
1236
2106
|
locked?: boolean | undefined;
|
|
2107
|
+
subject?: string | undefined;
|
|
2108
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1237
2109
|
custom?: Record<string, unknown> | undefined;
|
|
1238
2110
|
} | {
|
|
1239
2111
|
id: string;
|
|
@@ -1250,11 +2122,13 @@ export declare function useAnnotations(): {
|
|
|
1250
2122
|
modifiedAt: string;
|
|
1251
2123
|
source: "session" | "pdf";
|
|
1252
2124
|
type: "text";
|
|
1253
|
-
icon: "
|
|
2125
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
1254
2126
|
author?: string | undefined;
|
|
1255
2127
|
contents?: string | undefined;
|
|
1256
2128
|
inReplyTo?: string | undefined;
|
|
1257
2129
|
locked?: boolean | undefined;
|
|
2130
|
+
subject?: string | undefined;
|
|
2131
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1258
2132
|
custom?: Record<string, unknown> | undefined;
|
|
1259
2133
|
} | {
|
|
1260
2134
|
id: string;
|
|
@@ -1265,24 +2139,73 @@ export declare function useAnnotations(): {
|
|
|
1265
2139
|
width: number;
|
|
1266
2140
|
height: number;
|
|
1267
2141
|
};
|
|
1268
|
-
color: string;
|
|
1269
2142
|
opacity: number;
|
|
1270
2143
|
createdAt: string;
|
|
1271
2144
|
modifiedAt: string;
|
|
1272
2145
|
source: "session" | "pdf";
|
|
1273
2146
|
type: "freetext";
|
|
1274
2147
|
contents: string;
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
2148
|
+
width: number;
|
|
2149
|
+
defaultStyle: {
|
|
2150
|
+
fontFamily: string;
|
|
2151
|
+
fontSize: number;
|
|
2152
|
+
color: string;
|
|
2153
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
2154
|
+
fontWeight?: "bold" | undefined;
|
|
2155
|
+
fontStyle?: "italic" | undefined;
|
|
2156
|
+
textDecoration?: "underline" | undefined;
|
|
2157
|
+
align?: undefined;
|
|
2158
|
+
};
|
|
1278
2159
|
author?: string | undefined;
|
|
1279
2160
|
inReplyTo?: string | undefined;
|
|
1280
2161
|
locked?: boolean | undefined;
|
|
2162
|
+
subject?: string | undefined;
|
|
2163
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1281
2164
|
custom?: Record<string, unknown> | undefined;
|
|
2165
|
+
color?: string | undefined;
|
|
2166
|
+
borderColor?: string | undefined;
|
|
2167
|
+
dashes?: number[] | undefined;
|
|
2168
|
+
cornerRadius?: number | undefined;
|
|
2169
|
+
fringe?: {
|
|
2170
|
+
left: number;
|
|
2171
|
+
top: number;
|
|
2172
|
+
right: number;
|
|
2173
|
+
bottom: number;
|
|
2174
|
+
} | undefined;
|
|
1282
2175
|
callout?: {
|
|
1283
2176
|
x: number;
|
|
1284
2177
|
y: number;
|
|
1285
2178
|
}[] | undefined;
|
|
2179
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2180
|
+
fontFamily?: undefined;
|
|
2181
|
+
fontSize?: undefined;
|
|
2182
|
+
align?: undefined;
|
|
2183
|
+
} | {
|
|
2184
|
+
id: string;
|
|
2185
|
+
page: number;
|
|
2186
|
+
rect: {
|
|
2187
|
+
x: number;
|
|
2188
|
+
y: number;
|
|
2189
|
+
width: number;
|
|
2190
|
+
height: number;
|
|
2191
|
+
};
|
|
2192
|
+
color: string;
|
|
2193
|
+
opacity: number;
|
|
2194
|
+
createdAt: string;
|
|
2195
|
+
modifiedAt: string;
|
|
2196
|
+
source: "session" | "pdf";
|
|
2197
|
+
width: number;
|
|
2198
|
+
type: "square";
|
|
2199
|
+
author?: string | undefined;
|
|
2200
|
+
contents?: string | undefined;
|
|
2201
|
+
inReplyTo?: string | undefined;
|
|
2202
|
+
locked?: boolean | undefined;
|
|
2203
|
+
subject?: string | undefined;
|
|
2204
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2205
|
+
custom?: Record<string, unknown> | undefined;
|
|
2206
|
+
cornerRadius?: number | undefined;
|
|
2207
|
+
dashes?: number[] | undefined;
|
|
2208
|
+
interiorColor?: string | undefined;
|
|
1286
2209
|
} | {
|
|
1287
2210
|
id: string;
|
|
1288
2211
|
page: number;
|
|
@@ -1297,13 +2220,17 @@ export declare function useAnnotations(): {
|
|
|
1297
2220
|
createdAt: string;
|
|
1298
2221
|
modifiedAt: string;
|
|
1299
2222
|
source: "session" | "pdf";
|
|
1300
|
-
type: "square" | "circle";
|
|
1301
2223
|
width: number;
|
|
2224
|
+
type: "circle";
|
|
1302
2225
|
author?: string | undefined;
|
|
1303
2226
|
contents?: string | undefined;
|
|
1304
2227
|
inReplyTo?: string | undefined;
|
|
1305
2228
|
locked?: boolean | undefined;
|
|
2229
|
+
subject?: string | undefined;
|
|
2230
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1306
2231
|
custom?: Record<string, unknown> | undefined;
|
|
2232
|
+
cornerRadius?: undefined;
|
|
2233
|
+
dashes?: number[] | undefined;
|
|
1307
2234
|
interiorColor?: string | undefined;
|
|
1308
2235
|
} | {
|
|
1309
2236
|
id: string;
|
|
@@ -1333,9 +2260,43 @@ export declare function useAnnotations(): {
|
|
|
1333
2260
|
contents?: string | undefined;
|
|
1334
2261
|
inReplyTo?: string | undefined;
|
|
1335
2262
|
locked?: boolean | undefined;
|
|
2263
|
+
subject?: string | undefined;
|
|
2264
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2265
|
+
custom?: Record<string, unknown> | undefined;
|
|
2266
|
+
dashes?: number[] | undefined;
|
|
2267
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2268
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2269
|
+
} | {
|
|
2270
|
+
id: string;
|
|
2271
|
+
page: number;
|
|
2272
|
+
rect: {
|
|
2273
|
+
x: number;
|
|
2274
|
+
y: number;
|
|
2275
|
+
width: number;
|
|
2276
|
+
height: number;
|
|
2277
|
+
};
|
|
2278
|
+
color: string;
|
|
2279
|
+
opacity: number;
|
|
2280
|
+
createdAt: string;
|
|
2281
|
+
modifiedAt: string;
|
|
2282
|
+
source: "session" | "pdf";
|
|
2283
|
+
vertices: {
|
|
2284
|
+
x: number;
|
|
2285
|
+
y: number;
|
|
2286
|
+
}[];
|
|
2287
|
+
width: number;
|
|
2288
|
+
type: "polyline";
|
|
2289
|
+
author?: string | undefined;
|
|
2290
|
+
contents?: string | undefined;
|
|
2291
|
+
inReplyTo?: string | undefined;
|
|
2292
|
+
locked?: boolean | undefined;
|
|
2293
|
+
subject?: string | undefined;
|
|
2294
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1336
2295
|
custom?: Record<string, unknown> | undefined;
|
|
1337
|
-
head?: "
|
|
1338
|
-
tail?: "
|
|
2296
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2297
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2298
|
+
dashes?: number[] | undefined;
|
|
2299
|
+
interiorColor?: string | undefined;
|
|
1339
2300
|
} | {
|
|
1340
2301
|
id: string;
|
|
1341
2302
|
page: number;
|
|
@@ -1350,17 +2311,22 @@ export declare function useAnnotations(): {
|
|
|
1350
2311
|
createdAt: string;
|
|
1351
2312
|
modifiedAt: string;
|
|
1352
2313
|
source: "session" | "pdf";
|
|
1353
|
-
type: "polyline" | "polygon";
|
|
1354
2314
|
vertices: {
|
|
1355
2315
|
x: number;
|
|
1356
2316
|
y: number;
|
|
1357
2317
|
}[];
|
|
1358
2318
|
width: number;
|
|
2319
|
+
type: "polygon";
|
|
1359
2320
|
author?: string | undefined;
|
|
1360
2321
|
contents?: string | undefined;
|
|
1361
2322
|
inReplyTo?: string | undefined;
|
|
1362
2323
|
locked?: boolean | undefined;
|
|
2324
|
+
subject?: string | undefined;
|
|
2325
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1363
2326
|
custom?: Record<string, unknown> | undefined;
|
|
2327
|
+
head?: undefined;
|
|
2328
|
+
tail?: undefined;
|
|
2329
|
+
dashes?: number[] | undefined;
|
|
1364
2330
|
interiorColor?: string | undefined;
|
|
1365
2331
|
} | {
|
|
1366
2332
|
id: string;
|
|
@@ -1386,6 +2352,82 @@ export declare function useAnnotations(): {
|
|
|
1386
2352
|
contents?: string | undefined;
|
|
1387
2353
|
inReplyTo?: string | undefined;
|
|
1388
2354
|
locked?: boolean | undefined;
|
|
2355
|
+
subject?: string | undefined;
|
|
2356
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2357
|
+
custom?: Record<string, unknown> | undefined;
|
|
2358
|
+
pressure?: number[][] | undefined;
|
|
2359
|
+
dashes?: number[] | undefined;
|
|
2360
|
+
} | {
|
|
2361
|
+
id: string;
|
|
2362
|
+
page: number;
|
|
2363
|
+
rect: {
|
|
2364
|
+
x: number;
|
|
2365
|
+
y: number;
|
|
2366
|
+
width: number;
|
|
2367
|
+
height: number;
|
|
2368
|
+
};
|
|
2369
|
+
color: string;
|
|
2370
|
+
opacity: number;
|
|
2371
|
+
createdAt: string;
|
|
2372
|
+
modifiedAt: string;
|
|
2373
|
+
source: "session" | "pdf";
|
|
2374
|
+
type: "stamp";
|
|
2375
|
+
imagedata: string;
|
|
2376
|
+
author?: string | undefined;
|
|
2377
|
+
contents?: string | undefined;
|
|
2378
|
+
inReplyTo?: string | undefined;
|
|
2379
|
+
locked?: boolean | undefined;
|
|
2380
|
+
subject?: string | undefined;
|
|
2381
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2382
|
+
custom?: Record<string, unknown> | undefined;
|
|
2383
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
2384
|
+
} | {
|
|
2385
|
+
id: string;
|
|
2386
|
+
page: number;
|
|
2387
|
+
rect: {
|
|
2388
|
+
x: number;
|
|
2389
|
+
y: number;
|
|
2390
|
+
width: number;
|
|
2391
|
+
height: number;
|
|
2392
|
+
};
|
|
2393
|
+
color: string;
|
|
2394
|
+
opacity: number;
|
|
2395
|
+
createdAt: string;
|
|
2396
|
+
modifiedAt: string;
|
|
2397
|
+
source: "session" | "pdf";
|
|
2398
|
+
type: "loupe";
|
|
2399
|
+
magnification: number;
|
|
2400
|
+
width: number;
|
|
2401
|
+
author?: string | undefined;
|
|
2402
|
+
contents?: string | undefined;
|
|
2403
|
+
inReplyTo?: string | undefined;
|
|
2404
|
+
locked?: boolean | undefined;
|
|
2405
|
+
subject?: string | undefined;
|
|
2406
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2407
|
+
custom?: Record<string, unknown> | undefined;
|
|
2408
|
+
} | {
|
|
2409
|
+
id: string;
|
|
2410
|
+
page: number;
|
|
2411
|
+
rect: {
|
|
2412
|
+
x: number;
|
|
2413
|
+
y: number;
|
|
2414
|
+
width: number;
|
|
2415
|
+
height: number;
|
|
2416
|
+
};
|
|
2417
|
+
color: string;
|
|
2418
|
+
opacity: number;
|
|
2419
|
+
createdAt: string;
|
|
2420
|
+
modifiedAt: string;
|
|
2421
|
+
source: "session" | "pdf";
|
|
2422
|
+
type: "mask";
|
|
2423
|
+
shape: "rect" | "ellipse";
|
|
2424
|
+
dim: number;
|
|
2425
|
+
author?: string | undefined;
|
|
2426
|
+
contents?: string | undefined;
|
|
2427
|
+
inReplyTo?: string | undefined;
|
|
2428
|
+
locked?: boolean | undefined;
|
|
2429
|
+
subject?: string | undefined;
|
|
2430
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1389
2431
|
custom?: Record<string, unknown> | undefined;
|
|
1390
2432
|
} | {
|
|
1391
2433
|
id: string;
|
|
@@ -1408,6 +2450,8 @@ export declare function useAnnotations(): {
|
|
|
1408
2450
|
contents?: string | undefined;
|
|
1409
2451
|
inReplyTo?: string | undefined;
|
|
1410
2452
|
locked?: boolean | undefined;
|
|
2453
|
+
subject?: string | undefined;
|
|
2454
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1411
2455
|
custom?: Record<string, unknown> | undefined;
|
|
1412
2456
|
quads?: {
|
|
1413
2457
|
p1: {
|
|
@@ -1476,6 +2520,8 @@ export declare function useAnnotations(): {
|
|
|
1476
2520
|
contents?: string | undefined;
|
|
1477
2521
|
inReplyTo?: string | undefined;
|
|
1478
2522
|
locked?: boolean | undefined;
|
|
2523
|
+
subject?: string | undefined;
|
|
2524
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1479
2525
|
custom?: Record<string, unknown> | undefined;
|
|
1480
2526
|
} | {
|
|
1481
2527
|
id: string;
|
|
@@ -1492,11 +2538,13 @@ export declare function useAnnotations(): {
|
|
|
1492
2538
|
modifiedAt: string;
|
|
1493
2539
|
source: "session" | "pdf";
|
|
1494
2540
|
type: "text";
|
|
1495
|
-
icon: "
|
|
2541
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
1496
2542
|
author?: string | undefined;
|
|
1497
2543
|
contents?: string | undefined;
|
|
1498
2544
|
inReplyTo?: string | undefined;
|
|
1499
2545
|
locked?: boolean | undefined;
|
|
2546
|
+
subject?: string | undefined;
|
|
2547
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1500
2548
|
custom?: Record<string, unknown> | undefined;
|
|
1501
2549
|
} | {
|
|
1502
2550
|
id: string;
|
|
@@ -1507,24 +2555,73 @@ export declare function useAnnotations(): {
|
|
|
1507
2555
|
width: number;
|
|
1508
2556
|
height: number;
|
|
1509
2557
|
};
|
|
1510
|
-
color: string;
|
|
1511
2558
|
opacity: number;
|
|
1512
2559
|
createdAt: string;
|
|
1513
2560
|
modifiedAt: string;
|
|
1514
2561
|
source: "session" | "pdf";
|
|
1515
2562
|
type: "freetext";
|
|
1516
2563
|
contents: string;
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
2564
|
+
width: number;
|
|
2565
|
+
defaultStyle: {
|
|
2566
|
+
fontFamily: string;
|
|
2567
|
+
fontSize: number;
|
|
2568
|
+
color: string;
|
|
2569
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
2570
|
+
fontWeight?: "bold" | undefined;
|
|
2571
|
+
fontStyle?: "italic" | undefined;
|
|
2572
|
+
textDecoration?: "underline" | undefined;
|
|
2573
|
+
align?: undefined;
|
|
2574
|
+
};
|
|
1520
2575
|
author?: string | undefined;
|
|
1521
2576
|
inReplyTo?: string | undefined;
|
|
1522
2577
|
locked?: boolean | undefined;
|
|
2578
|
+
subject?: string | undefined;
|
|
2579
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1523
2580
|
custom?: Record<string, unknown> | undefined;
|
|
2581
|
+
color?: string | undefined;
|
|
2582
|
+
borderColor?: string | undefined;
|
|
2583
|
+
dashes?: number[] | undefined;
|
|
2584
|
+
cornerRadius?: number | undefined;
|
|
2585
|
+
fringe?: {
|
|
2586
|
+
left: number;
|
|
2587
|
+
top: number;
|
|
2588
|
+
right: number;
|
|
2589
|
+
bottom: number;
|
|
2590
|
+
} | undefined;
|
|
1524
2591
|
callout?: {
|
|
1525
2592
|
x: number;
|
|
1526
2593
|
y: number;
|
|
1527
2594
|
}[] | undefined;
|
|
2595
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2596
|
+
fontFamily?: undefined;
|
|
2597
|
+
fontSize?: undefined;
|
|
2598
|
+
align?: undefined;
|
|
2599
|
+
} | {
|
|
2600
|
+
id: string;
|
|
2601
|
+
page: number;
|
|
2602
|
+
rect: {
|
|
2603
|
+
x: number;
|
|
2604
|
+
y: number;
|
|
2605
|
+
width: number;
|
|
2606
|
+
height: number;
|
|
2607
|
+
};
|
|
2608
|
+
color: string;
|
|
2609
|
+
opacity: number;
|
|
2610
|
+
createdAt: string;
|
|
2611
|
+
modifiedAt: string;
|
|
2612
|
+
source: "session" | "pdf";
|
|
2613
|
+
width: number;
|
|
2614
|
+
type: "square";
|
|
2615
|
+
author?: string | undefined;
|
|
2616
|
+
contents?: string | undefined;
|
|
2617
|
+
inReplyTo?: string | undefined;
|
|
2618
|
+
locked?: boolean | undefined;
|
|
2619
|
+
subject?: string | undefined;
|
|
2620
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2621
|
+
custom?: Record<string, unknown> | undefined;
|
|
2622
|
+
cornerRadius?: number | undefined;
|
|
2623
|
+
dashes?: number[] | undefined;
|
|
2624
|
+
interiorColor?: string | undefined;
|
|
1528
2625
|
} | {
|
|
1529
2626
|
id: string;
|
|
1530
2627
|
page: number;
|
|
@@ -1539,13 +2636,17 @@ export declare function useAnnotations(): {
|
|
|
1539
2636
|
createdAt: string;
|
|
1540
2637
|
modifiedAt: string;
|
|
1541
2638
|
source: "session" | "pdf";
|
|
1542
|
-
type: "square" | "circle";
|
|
1543
2639
|
width: number;
|
|
2640
|
+
type: "circle";
|
|
1544
2641
|
author?: string | undefined;
|
|
1545
2642
|
contents?: string | undefined;
|
|
1546
2643
|
inReplyTo?: string | undefined;
|
|
1547
2644
|
locked?: boolean | undefined;
|
|
2645
|
+
subject?: string | undefined;
|
|
2646
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1548
2647
|
custom?: Record<string, unknown> | undefined;
|
|
2648
|
+
cornerRadius?: undefined;
|
|
2649
|
+
dashes?: number[] | undefined;
|
|
1549
2650
|
interiorColor?: string | undefined;
|
|
1550
2651
|
} | {
|
|
1551
2652
|
id: string;
|
|
@@ -1575,9 +2676,43 @@ export declare function useAnnotations(): {
|
|
|
1575
2676
|
contents?: string | undefined;
|
|
1576
2677
|
inReplyTo?: string | undefined;
|
|
1577
2678
|
locked?: boolean | undefined;
|
|
2679
|
+
subject?: string | undefined;
|
|
2680
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2681
|
+
custom?: Record<string, unknown> | undefined;
|
|
2682
|
+
dashes?: number[] | undefined;
|
|
2683
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2684
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2685
|
+
} | {
|
|
2686
|
+
id: string;
|
|
2687
|
+
page: number;
|
|
2688
|
+
rect: {
|
|
2689
|
+
x: number;
|
|
2690
|
+
y: number;
|
|
2691
|
+
width: number;
|
|
2692
|
+
height: number;
|
|
2693
|
+
};
|
|
2694
|
+
color: string;
|
|
2695
|
+
opacity: number;
|
|
2696
|
+
createdAt: string;
|
|
2697
|
+
modifiedAt: string;
|
|
2698
|
+
source: "session" | "pdf";
|
|
2699
|
+
vertices: {
|
|
2700
|
+
x: number;
|
|
2701
|
+
y: number;
|
|
2702
|
+
}[];
|
|
2703
|
+
width: number;
|
|
2704
|
+
type: "polyline";
|
|
2705
|
+
author?: string | undefined;
|
|
2706
|
+
contents?: string | undefined;
|
|
2707
|
+
inReplyTo?: string | undefined;
|
|
2708
|
+
locked?: boolean | undefined;
|
|
2709
|
+
subject?: string | undefined;
|
|
2710
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1578
2711
|
custom?: Record<string, unknown> | undefined;
|
|
1579
|
-
head?: "
|
|
1580
|
-
tail?: "
|
|
2712
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2713
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2714
|
+
dashes?: number[] | undefined;
|
|
2715
|
+
interiorColor?: string | undefined;
|
|
1581
2716
|
} | {
|
|
1582
2717
|
id: string;
|
|
1583
2718
|
page: number;
|
|
@@ -1592,17 +2727,22 @@ export declare function useAnnotations(): {
|
|
|
1592
2727
|
createdAt: string;
|
|
1593
2728
|
modifiedAt: string;
|
|
1594
2729
|
source: "session" | "pdf";
|
|
1595
|
-
type: "polyline" | "polygon";
|
|
1596
2730
|
vertices: {
|
|
1597
2731
|
x: number;
|
|
1598
2732
|
y: number;
|
|
1599
2733
|
}[];
|
|
1600
2734
|
width: number;
|
|
2735
|
+
type: "polygon";
|
|
1601
2736
|
author?: string | undefined;
|
|
1602
2737
|
contents?: string | undefined;
|
|
1603
2738
|
inReplyTo?: string | undefined;
|
|
1604
2739
|
locked?: boolean | undefined;
|
|
2740
|
+
subject?: string | undefined;
|
|
2741
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1605
2742
|
custom?: Record<string, unknown> | undefined;
|
|
2743
|
+
head?: undefined;
|
|
2744
|
+
tail?: undefined;
|
|
2745
|
+
dashes?: number[] | undefined;
|
|
1606
2746
|
interiorColor?: string | undefined;
|
|
1607
2747
|
} | {
|
|
1608
2748
|
id: string;
|
|
@@ -1628,6 +2768,82 @@ export declare function useAnnotations(): {
|
|
|
1628
2768
|
contents?: string | undefined;
|
|
1629
2769
|
inReplyTo?: string | undefined;
|
|
1630
2770
|
locked?: boolean | undefined;
|
|
2771
|
+
subject?: string | undefined;
|
|
2772
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2773
|
+
custom?: Record<string, unknown> | undefined;
|
|
2774
|
+
pressure?: number[][] | undefined;
|
|
2775
|
+
dashes?: number[] | undefined;
|
|
2776
|
+
} | {
|
|
2777
|
+
id: string;
|
|
2778
|
+
page: number;
|
|
2779
|
+
rect: {
|
|
2780
|
+
x: number;
|
|
2781
|
+
y: number;
|
|
2782
|
+
width: number;
|
|
2783
|
+
height: number;
|
|
2784
|
+
};
|
|
2785
|
+
color: string;
|
|
2786
|
+
opacity: number;
|
|
2787
|
+
createdAt: string;
|
|
2788
|
+
modifiedAt: string;
|
|
2789
|
+
source: "session" | "pdf";
|
|
2790
|
+
type: "stamp";
|
|
2791
|
+
imagedata: string;
|
|
2792
|
+
author?: string | undefined;
|
|
2793
|
+
contents?: string | undefined;
|
|
2794
|
+
inReplyTo?: string | undefined;
|
|
2795
|
+
locked?: boolean | undefined;
|
|
2796
|
+
subject?: string | undefined;
|
|
2797
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2798
|
+
custom?: Record<string, unknown> | undefined;
|
|
2799
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
2800
|
+
} | {
|
|
2801
|
+
id: string;
|
|
2802
|
+
page: number;
|
|
2803
|
+
rect: {
|
|
2804
|
+
x: number;
|
|
2805
|
+
y: number;
|
|
2806
|
+
width: number;
|
|
2807
|
+
height: number;
|
|
2808
|
+
};
|
|
2809
|
+
color: string;
|
|
2810
|
+
opacity: number;
|
|
2811
|
+
createdAt: string;
|
|
2812
|
+
modifiedAt: string;
|
|
2813
|
+
source: "session" | "pdf";
|
|
2814
|
+
type: "loupe";
|
|
2815
|
+
magnification: number;
|
|
2816
|
+
width: number;
|
|
2817
|
+
author?: string | undefined;
|
|
2818
|
+
contents?: string | undefined;
|
|
2819
|
+
inReplyTo?: string | undefined;
|
|
2820
|
+
locked?: boolean | undefined;
|
|
2821
|
+
subject?: string | undefined;
|
|
2822
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2823
|
+
custom?: Record<string, unknown> | undefined;
|
|
2824
|
+
} | {
|
|
2825
|
+
id: string;
|
|
2826
|
+
page: number;
|
|
2827
|
+
rect: {
|
|
2828
|
+
x: number;
|
|
2829
|
+
y: number;
|
|
2830
|
+
width: number;
|
|
2831
|
+
height: number;
|
|
2832
|
+
};
|
|
2833
|
+
color: string;
|
|
2834
|
+
opacity: number;
|
|
2835
|
+
createdAt: string;
|
|
2836
|
+
modifiedAt: string;
|
|
2837
|
+
source: "session" | "pdf";
|
|
2838
|
+
type: "mask";
|
|
2839
|
+
shape: "rect" | "ellipse";
|
|
2840
|
+
dim: number;
|
|
2841
|
+
author?: string | undefined;
|
|
2842
|
+
contents?: string | undefined;
|
|
2843
|
+
inReplyTo?: string | undefined;
|
|
2844
|
+
locked?: boolean | undefined;
|
|
2845
|
+
subject?: string | undefined;
|
|
2846
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1631
2847
|
custom?: Record<string, unknown> | undefined;
|
|
1632
2848
|
} | {
|
|
1633
2849
|
id: string;
|
|
@@ -1650,6 +2866,8 @@ export declare function useAnnotations(): {
|
|
|
1650
2866
|
contents?: string | undefined;
|
|
1651
2867
|
inReplyTo?: string | undefined;
|
|
1652
2868
|
locked?: boolean | undefined;
|
|
2869
|
+
subject?: string | undefined;
|
|
2870
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1653
2871
|
custom?: Record<string, unknown> | undefined;
|
|
1654
2872
|
quads?: {
|
|
1655
2873
|
p1: {
|