@inkbar/vue 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.js +7 -0
- package/dist/components/InkColorMenu.js.map +1 -0
- package/dist/components/InkColorMenu.vue.d.ts +32 -0
- package/dist/components/InkColorMenu.vue.d.ts.map +1 -0
- package/dist/components/InkColorMenu.vue_vue_type_script_setup_true_lang.js +152 -0
- package/dist/components/InkColorMenu.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/InkHighlightMenu.js +7 -0
- package/dist/components/InkHighlightMenu.js.map +1 -0
- package/dist/components/InkHighlightMenu.vue.d.ts +17 -0
- package/dist/components/InkHighlightMenu.vue.d.ts.map +1 -0
- package/dist/components/InkHighlightMenu.vue_vue_type_script_setup_true_lang.js +140 -0
- package/dist/components/InkHighlightMenu.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/InkLineStyleMenu.js +7 -0
- package/dist/components/InkLineStyleMenu.js.map +1 -0
- package/dist/components/InkLineStyleMenu.vue.d.ts +14 -0
- package/dist/components/InkLineStyleMenu.vue.d.ts.map +1 -0
- package/dist/components/InkLineStyleMenu.vue_vue_type_script_setup_true_lang.js +109 -0
- package/dist/components/InkLineStyleMenu.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/InkRoot.js.map +1 -1
- package/dist/components/InkRoot.vue.d.ts +573 -29
- package/dist/components/InkRoot.vue.d.ts.map +1 -1
- package/dist/components/InkRoot.vue_vue_type_script_setup_true_lang.js +117 -88
- package/dist/components/InkRoot.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/InkShapeMenu.js +7 -0
- package/dist/components/InkShapeMenu.js.map +1 -0
- package/dist/components/InkShapeMenu.vue.d.ts +18 -0
- package/dist/components/InkShapeMenu.vue.d.ts.map +1 -0
- package/dist/components/InkShapeMenu.vue_vue_type_script_setup_true_lang.js +118 -0
- package/dist/components/InkShapeMenu.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/InkSignatureDialog.js +7 -0
- package/dist/components/InkSignatureDialog.js.map +1 -0
- package/dist/components/InkSignatureDialog.vue.d.ts +21 -0
- package/dist/components/InkSignatureDialog.vue.d.ts.map +1 -0
- package/dist/components/InkSignatureDialog.vue_vue_type_script_setup_true_lang.js +58 -0
- package/dist/components/InkSignatureDialog.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/InkSignatureMenu.js +7 -0
- package/dist/components/InkSignatureMenu.js.map +1 -0
- package/dist/components/InkSignatureMenu.vue.d.ts +20 -0
- package/dist/components/InkSignatureMenu.vue.d.ts.map +1 -0
- package/dist/components/InkSignatureMenu.vue_vue_type_script_setup_true_lang.js +213 -0
- package/dist/components/InkSignatureMenu.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/InkTextStyleMenu.js +7 -0
- package/dist/components/InkTextStyleMenu.js.map +1 -0
- package/dist/components/InkTextStyleMenu.vue.d.ts +14 -0
- package/dist/components/InkTextStyleMenu.vue.d.ts.map +1 -0
- package/dist/components/InkTextStyleMenu.vue_vue_type_script_setup_true_lang.js +200 -0
- package/dist/components/InkTextStyleMenu.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/InkThreadPopover.js +7 -0
- package/dist/components/InkThreadPopover.js.map +1 -0
- package/dist/components/{InkNotePopover.vue.d.ts → InkThreadPopover.vue.d.ts} +4 -4
- package/dist/components/InkThreadPopover.vue.d.ts.map +1 -0
- package/dist/components/{InkNotePopover.vue_vue_type_script_setup_true_lang.js → InkThreadPopover.vue_vue_type_script_setup_true_lang.js} +44 -42
- package/dist/components/InkThreadPopover.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/components/InkToolButton.js.map +1 -1
- package/dist/components/InkToolButton.vue.d.ts.map +1 -1
- package/dist/components/InkToolButton.vue_vue_type_script_setup_true_lang.js +27 -20
- package/dist/components/InkToolButton.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/InkViewport.js.map +1 -1
- package/dist/components/InkViewport.vue.d.ts +1 -1
- package/dist/components/InkViewport.vue.d.ts.map +1 -1
- package/dist/components/InkViewport.vue_vue_type_script_setup_true_lang.js +6 -0
- package/dist/components/InkViewport.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/SignatureForm.js +7 -0
- package/dist/components/SignatureForm.js.map +1 -0
- package/dist/components/SignatureForm.vue.d.ts +14 -0
- package/dist/components/SignatureForm.vue.d.ts.map +1 -0
- package/dist/components/SignatureForm.vue_vue_type_script_setup_true_lang.js +181 -0
- package/dist/components/SignatureForm.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/composables/useAnnotations.d.ts +1523 -131
- package/dist/composables/useAnnotations.d.ts.map +1 -1
- package/dist/composables/useAnnotations.js.map +1 -1
- package/dist/composables/useToolOptions.d.ts +11 -0
- package/dist/composables/useToolOptions.d.ts.map +1 -0
- package/dist/composables/useToolOptions.js +16 -0
- package/dist/composables/useToolOptions.js.map +1 -0
- package/dist/composables/useToolStyle.d.ts +32 -0
- package/dist/composables/useToolStyle.d.ts.map +1 -0
- package/dist/composables/useToolStyle.js +24 -0
- package/dist/composables/useToolStyle.js.map +1 -0
- package/dist/context.d.ts +14 -2
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js.map +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -24
- package/package.json +5 -5
- package/dist/components/InkNotePopover.js +0 -7
- package/dist/components/InkNotePopover.js.map +0 -1
- package/dist/components/InkNotePopover.vue.d.ts.map +0 -1
- package/dist/components/InkNotePopover.vue_vue_type_script_setup_true_lang.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnnotationInput, AnnotationPatch } from '@inkbar/core';
|
|
2
2
|
export declare function useAnnotations(): {
|
|
3
3
|
annotations: Readonly<import('vue').Ref<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
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
+
};
|
|
92
|
+
author?: string | undefined;
|
|
93
|
+
inReplyTo?: string | undefined;
|
|
94
|
+
locked?: boolean | undefined;
|
|
95
|
+
subject?: string | undefined;
|
|
96
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
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: {
|
|
@@ -275,6 +449,8 @@ export declare function useAnnotations(): {
|
|
|
275
449
|
contents?: string | undefined;
|
|
276
450
|
inReplyTo?: string | undefined;
|
|
277
451
|
locked?: boolean | undefined;
|
|
452
|
+
subject?: string | undefined;
|
|
453
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
278
454
|
custom?: Record<string, unknown> | undefined;
|
|
279
455
|
} | {
|
|
280
456
|
id: string;
|
|
@@ -291,11 +467,13 @@ export declare function useAnnotations(): {
|
|
|
291
467
|
modifiedAt: string;
|
|
292
468
|
source: "session" | "pdf";
|
|
293
469
|
type: "text";
|
|
294
|
-
icon: "
|
|
470
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
295
471
|
author?: string | undefined;
|
|
296
472
|
contents?: string | undefined;
|
|
297
473
|
inReplyTo?: string | undefined;
|
|
298
474
|
locked?: boolean | undefined;
|
|
475
|
+
subject?: string | undefined;
|
|
476
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
299
477
|
custom?: Record<string, unknown> | undefined;
|
|
300
478
|
} | {
|
|
301
479
|
id: string;
|
|
@@ -306,24 +484,73 @@ export declare function useAnnotations(): {
|
|
|
306
484
|
width: number;
|
|
307
485
|
height: number;
|
|
308
486
|
};
|
|
309
|
-
color: string;
|
|
310
487
|
opacity: number;
|
|
311
488
|
createdAt: string;
|
|
312
489
|
modifiedAt: string;
|
|
313
490
|
source: "session" | "pdf";
|
|
314
491
|
type: "freetext";
|
|
315
492
|
contents: string;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
493
|
+
width: number;
|
|
494
|
+
defaultStyle: {
|
|
495
|
+
fontFamily: string;
|
|
496
|
+
fontSize: number;
|
|
497
|
+
color: string;
|
|
498
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
499
|
+
fontWeight?: "bold" | undefined;
|
|
500
|
+
fontStyle?: "italic" | undefined;
|
|
501
|
+
textDecoration?: "underline" | undefined;
|
|
502
|
+
align?: undefined;
|
|
503
|
+
};
|
|
504
|
+
author?: string | undefined;
|
|
505
|
+
inReplyTo?: string | undefined;
|
|
506
|
+
locked?: boolean | undefined;
|
|
507
|
+
subject?: string | undefined;
|
|
508
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
509
|
+
custom?: Record<string, unknown> | undefined;
|
|
510
|
+
color?: string | undefined;
|
|
511
|
+
borderColor?: string | undefined;
|
|
512
|
+
dashes?: number[] | undefined;
|
|
513
|
+
cornerRadius?: number | undefined;
|
|
514
|
+
fringe?: {
|
|
515
|
+
left: number;
|
|
516
|
+
top: number;
|
|
517
|
+
right: number;
|
|
518
|
+
bottom: number;
|
|
519
|
+
} | undefined;
|
|
323
520
|
callout?: {
|
|
324
521
|
x: number;
|
|
325
522
|
y: number;
|
|
326
523
|
}[] | undefined;
|
|
524
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
525
|
+
fontFamily?: undefined;
|
|
526
|
+
fontSize?: undefined;
|
|
527
|
+
align?: undefined;
|
|
528
|
+
} | {
|
|
529
|
+
id: string;
|
|
530
|
+
page: number;
|
|
531
|
+
rect: {
|
|
532
|
+
x: number;
|
|
533
|
+
y: number;
|
|
534
|
+
width: number;
|
|
535
|
+
height: number;
|
|
536
|
+
};
|
|
537
|
+
color: string;
|
|
538
|
+
opacity: number;
|
|
539
|
+
createdAt: string;
|
|
540
|
+
modifiedAt: string;
|
|
541
|
+
source: "session" | "pdf";
|
|
542
|
+
width: number;
|
|
543
|
+
type: "square";
|
|
544
|
+
author?: string | undefined;
|
|
545
|
+
contents?: string | undefined;
|
|
546
|
+
inReplyTo?: string | undefined;
|
|
547
|
+
locked?: boolean | undefined;
|
|
548
|
+
subject?: string | undefined;
|
|
549
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
550
|
+
custom?: Record<string, unknown> | undefined;
|
|
551
|
+
cornerRadius?: number | undefined;
|
|
552
|
+
dashes?: number[] | undefined;
|
|
553
|
+
interiorColor?: string | undefined;
|
|
327
554
|
} | {
|
|
328
555
|
id: string;
|
|
329
556
|
page: number;
|
|
@@ -338,13 +565,17 @@ export declare function useAnnotations(): {
|
|
|
338
565
|
createdAt: string;
|
|
339
566
|
modifiedAt: string;
|
|
340
567
|
source: "session" | "pdf";
|
|
341
|
-
type: "square" | "circle";
|
|
342
568
|
width: number;
|
|
569
|
+
type: "circle";
|
|
343
570
|
author?: string | undefined;
|
|
344
571
|
contents?: string | undefined;
|
|
345
572
|
inReplyTo?: string | undefined;
|
|
346
573
|
locked?: boolean | undefined;
|
|
574
|
+
subject?: string | undefined;
|
|
575
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
347
576
|
custom?: Record<string, unknown> | undefined;
|
|
577
|
+
cornerRadius?: undefined;
|
|
578
|
+
dashes?: number[] | undefined;
|
|
348
579
|
interiorColor?: string | undefined;
|
|
349
580
|
} | {
|
|
350
581
|
id: string;
|
|
@@ -374,9 +605,43 @@ export declare function useAnnotations(): {
|
|
|
374
605
|
contents?: string | undefined;
|
|
375
606
|
inReplyTo?: string | undefined;
|
|
376
607
|
locked?: boolean | undefined;
|
|
608
|
+
subject?: string | undefined;
|
|
609
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
610
|
+
custom?: Record<string, unknown> | undefined;
|
|
611
|
+
dashes?: number[] | undefined;
|
|
612
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
613
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
614
|
+
} | {
|
|
615
|
+
id: string;
|
|
616
|
+
page: number;
|
|
617
|
+
rect: {
|
|
618
|
+
x: number;
|
|
619
|
+
y: number;
|
|
620
|
+
width: number;
|
|
621
|
+
height: number;
|
|
622
|
+
};
|
|
623
|
+
color: string;
|
|
624
|
+
opacity: number;
|
|
625
|
+
createdAt: string;
|
|
626
|
+
modifiedAt: string;
|
|
627
|
+
source: "session" | "pdf";
|
|
628
|
+
vertices: {
|
|
629
|
+
x: number;
|
|
630
|
+
y: number;
|
|
631
|
+
}[];
|
|
632
|
+
width: number;
|
|
633
|
+
type: "polyline";
|
|
634
|
+
author?: string | undefined;
|
|
635
|
+
contents?: string | undefined;
|
|
636
|
+
inReplyTo?: string | undefined;
|
|
637
|
+
locked?: boolean | undefined;
|
|
638
|
+
subject?: string | undefined;
|
|
639
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
377
640
|
custom?: Record<string, unknown> | undefined;
|
|
378
|
-
head?: "
|
|
379
|
-
tail?: "
|
|
641
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
642
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
643
|
+
dashes?: number[] | undefined;
|
|
644
|
+
interiorColor?: string | undefined;
|
|
380
645
|
} | {
|
|
381
646
|
id: string;
|
|
382
647
|
page: number;
|
|
@@ -391,17 +656,22 @@ export declare function useAnnotations(): {
|
|
|
391
656
|
createdAt: string;
|
|
392
657
|
modifiedAt: string;
|
|
393
658
|
source: "session" | "pdf";
|
|
394
|
-
type: "polyline" | "polygon";
|
|
395
659
|
vertices: {
|
|
396
660
|
x: number;
|
|
397
661
|
y: number;
|
|
398
662
|
}[];
|
|
399
663
|
width: number;
|
|
664
|
+
type: "polygon";
|
|
400
665
|
author?: string | undefined;
|
|
401
666
|
contents?: string | undefined;
|
|
402
667
|
inReplyTo?: string | undefined;
|
|
403
668
|
locked?: boolean | undefined;
|
|
669
|
+
subject?: string | undefined;
|
|
670
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
404
671
|
custom?: Record<string, unknown> | undefined;
|
|
672
|
+
head?: undefined;
|
|
673
|
+
tail?: undefined;
|
|
674
|
+
dashes?: number[] | undefined;
|
|
405
675
|
interiorColor?: string | undefined;
|
|
406
676
|
} | {
|
|
407
677
|
id: string;
|
|
@@ -427,6 +697,82 @@ export declare function useAnnotations(): {
|
|
|
427
697
|
contents?: string | undefined;
|
|
428
698
|
inReplyTo?: string | undefined;
|
|
429
699
|
locked?: boolean | undefined;
|
|
700
|
+
subject?: string | undefined;
|
|
701
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
702
|
+
custom?: Record<string, unknown> | undefined;
|
|
703
|
+
pressure?: number[][] | undefined;
|
|
704
|
+
dashes?: number[] | undefined;
|
|
705
|
+
} | {
|
|
706
|
+
id: string;
|
|
707
|
+
page: number;
|
|
708
|
+
rect: {
|
|
709
|
+
x: number;
|
|
710
|
+
y: number;
|
|
711
|
+
width: number;
|
|
712
|
+
height: number;
|
|
713
|
+
};
|
|
714
|
+
color: string;
|
|
715
|
+
opacity: number;
|
|
716
|
+
createdAt: string;
|
|
717
|
+
modifiedAt: string;
|
|
718
|
+
source: "session" | "pdf";
|
|
719
|
+
type: "stamp";
|
|
720
|
+
imagedata: string;
|
|
721
|
+
author?: string | undefined;
|
|
722
|
+
contents?: string | undefined;
|
|
723
|
+
inReplyTo?: string | undefined;
|
|
724
|
+
locked?: boolean | undefined;
|
|
725
|
+
subject?: string | undefined;
|
|
726
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
727
|
+
custom?: Record<string, unknown> | undefined;
|
|
728
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
729
|
+
} | {
|
|
730
|
+
id: string;
|
|
731
|
+
page: number;
|
|
732
|
+
rect: {
|
|
733
|
+
x: number;
|
|
734
|
+
y: number;
|
|
735
|
+
width: number;
|
|
736
|
+
height: number;
|
|
737
|
+
};
|
|
738
|
+
color: string;
|
|
739
|
+
opacity: number;
|
|
740
|
+
createdAt: string;
|
|
741
|
+
modifiedAt: string;
|
|
742
|
+
source: "session" | "pdf";
|
|
743
|
+
type: "loupe";
|
|
744
|
+
magnification: number;
|
|
745
|
+
width: number;
|
|
746
|
+
author?: string | undefined;
|
|
747
|
+
contents?: string | undefined;
|
|
748
|
+
inReplyTo?: string | undefined;
|
|
749
|
+
locked?: boolean | undefined;
|
|
750
|
+
subject?: string | undefined;
|
|
751
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
752
|
+
custom?: Record<string, unknown> | undefined;
|
|
753
|
+
} | {
|
|
754
|
+
id: string;
|
|
755
|
+
page: number;
|
|
756
|
+
rect: {
|
|
757
|
+
x: number;
|
|
758
|
+
y: number;
|
|
759
|
+
width: number;
|
|
760
|
+
height: number;
|
|
761
|
+
};
|
|
762
|
+
color: string;
|
|
763
|
+
opacity: number;
|
|
764
|
+
createdAt: string;
|
|
765
|
+
modifiedAt: string;
|
|
766
|
+
source: "session" | "pdf";
|
|
767
|
+
type: "mask";
|
|
768
|
+
shape: "rect" | "ellipse";
|
|
769
|
+
dim: number;
|
|
770
|
+
author?: string | undefined;
|
|
771
|
+
contents?: string | undefined;
|
|
772
|
+
inReplyTo?: string | undefined;
|
|
773
|
+
locked?: boolean | undefined;
|
|
774
|
+
subject?: string | undefined;
|
|
775
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
430
776
|
custom?: Record<string, unknown> | undefined;
|
|
431
777
|
} | {
|
|
432
778
|
id: string;
|
|
@@ -449,6 +795,8 @@ export declare function useAnnotations(): {
|
|
|
449
795
|
contents?: string | undefined;
|
|
450
796
|
inReplyTo?: string | undefined;
|
|
451
797
|
locked?: boolean | undefined;
|
|
798
|
+
subject?: string | undefined;
|
|
799
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
452
800
|
custom?: Record<string, unknown> | undefined;
|
|
453
801
|
quads?: {
|
|
454
802
|
p1: {
|
|
@@ -515,6 +863,8 @@ export declare function useAnnotations(): {
|
|
|
515
863
|
contents?: string | undefined;
|
|
516
864
|
inReplyTo?: string | undefined;
|
|
517
865
|
locked?: boolean | undefined;
|
|
866
|
+
subject?: string | undefined;
|
|
867
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
518
868
|
custom?: Record<string, unknown> | undefined;
|
|
519
869
|
} | {
|
|
520
870
|
id: string;
|
|
@@ -531,11 +881,13 @@ export declare function useAnnotations(): {
|
|
|
531
881
|
modifiedAt: string;
|
|
532
882
|
source: "session" | "pdf";
|
|
533
883
|
type: "text";
|
|
534
|
-
icon: "
|
|
884
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
535
885
|
author?: string | undefined;
|
|
536
886
|
contents?: string | undefined;
|
|
537
887
|
inReplyTo?: string | undefined;
|
|
538
888
|
locked?: boolean | undefined;
|
|
889
|
+
subject?: string | undefined;
|
|
890
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
539
891
|
custom?: Record<string, unknown> | undefined;
|
|
540
892
|
} | {
|
|
541
893
|
id: string;
|
|
@@ -546,24 +898,73 @@ export declare function useAnnotations(): {
|
|
|
546
898
|
width: number;
|
|
547
899
|
height: number;
|
|
548
900
|
};
|
|
549
|
-
color: string;
|
|
550
901
|
opacity: number;
|
|
551
902
|
createdAt: string;
|
|
552
903
|
modifiedAt: string;
|
|
553
904
|
source: "session" | "pdf";
|
|
554
905
|
type: "freetext";
|
|
555
906
|
contents: string;
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
907
|
+
width: number;
|
|
908
|
+
defaultStyle: {
|
|
909
|
+
fontFamily: string;
|
|
910
|
+
fontSize: number;
|
|
911
|
+
color: string;
|
|
912
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
913
|
+
fontWeight?: "bold" | undefined;
|
|
914
|
+
fontStyle?: "italic" | undefined;
|
|
915
|
+
textDecoration?: "underline" | undefined;
|
|
916
|
+
align?: undefined;
|
|
917
|
+
};
|
|
918
|
+
author?: string | undefined;
|
|
919
|
+
inReplyTo?: string | undefined;
|
|
920
|
+
locked?: boolean | undefined;
|
|
921
|
+
subject?: string | undefined;
|
|
922
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
923
|
+
custom?: Record<string, unknown> | undefined;
|
|
924
|
+
color?: string | undefined;
|
|
925
|
+
borderColor?: string | undefined;
|
|
926
|
+
dashes?: number[] | undefined;
|
|
927
|
+
cornerRadius?: number | undefined;
|
|
928
|
+
fringe?: {
|
|
929
|
+
left: number;
|
|
930
|
+
top: number;
|
|
931
|
+
right: number;
|
|
932
|
+
bottom: number;
|
|
933
|
+
} | undefined;
|
|
563
934
|
callout?: {
|
|
564
935
|
x: number;
|
|
565
936
|
y: number;
|
|
566
937
|
}[] | undefined;
|
|
938
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
939
|
+
fontFamily?: undefined;
|
|
940
|
+
fontSize?: undefined;
|
|
941
|
+
align?: undefined;
|
|
942
|
+
} | {
|
|
943
|
+
id: string;
|
|
944
|
+
page: number;
|
|
945
|
+
rect: {
|
|
946
|
+
x: number;
|
|
947
|
+
y: number;
|
|
948
|
+
width: number;
|
|
949
|
+
height: number;
|
|
950
|
+
};
|
|
951
|
+
color: string;
|
|
952
|
+
opacity: number;
|
|
953
|
+
createdAt: string;
|
|
954
|
+
modifiedAt: string;
|
|
955
|
+
source: "session" | "pdf";
|
|
956
|
+
width: number;
|
|
957
|
+
type: "square";
|
|
958
|
+
author?: string | undefined;
|
|
959
|
+
contents?: string | undefined;
|
|
960
|
+
inReplyTo?: string | undefined;
|
|
961
|
+
locked?: boolean | undefined;
|
|
962
|
+
subject?: string | undefined;
|
|
963
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
964
|
+
custom?: Record<string, unknown> | undefined;
|
|
965
|
+
cornerRadius?: number | undefined;
|
|
966
|
+
dashes?: number[] | undefined;
|
|
967
|
+
interiorColor?: string | undefined;
|
|
567
968
|
} | {
|
|
568
969
|
id: string;
|
|
569
970
|
page: number;
|
|
@@ -578,13 +979,17 @@ export declare function useAnnotations(): {
|
|
|
578
979
|
createdAt: string;
|
|
579
980
|
modifiedAt: string;
|
|
580
981
|
source: "session" | "pdf";
|
|
581
|
-
type: "square" | "circle";
|
|
582
982
|
width: number;
|
|
983
|
+
type: "circle";
|
|
583
984
|
author?: string | undefined;
|
|
584
985
|
contents?: string | undefined;
|
|
585
986
|
inReplyTo?: string | undefined;
|
|
586
987
|
locked?: boolean | undefined;
|
|
988
|
+
subject?: string | undefined;
|
|
989
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
587
990
|
custom?: Record<string, unknown> | undefined;
|
|
991
|
+
cornerRadius?: undefined;
|
|
992
|
+
dashes?: number[] | undefined;
|
|
588
993
|
interiorColor?: string | undefined;
|
|
589
994
|
} | {
|
|
590
995
|
id: string;
|
|
@@ -614,9 +1019,12 @@ export declare function useAnnotations(): {
|
|
|
614
1019
|
contents?: string | undefined;
|
|
615
1020
|
inReplyTo?: string | undefined;
|
|
616
1021
|
locked?: boolean | undefined;
|
|
1022
|
+
subject?: string | undefined;
|
|
1023
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
617
1024
|
custom?: Record<string, unknown> | undefined;
|
|
618
|
-
|
|
619
|
-
|
|
1025
|
+
dashes?: number[] | undefined;
|
|
1026
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1027
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
620
1028
|
} | {
|
|
621
1029
|
id: string;
|
|
622
1030
|
page: number;
|
|
@@ -631,17 +1039,22 @@ export declare function useAnnotations(): {
|
|
|
631
1039
|
createdAt: string;
|
|
632
1040
|
modifiedAt: string;
|
|
633
1041
|
source: "session" | "pdf";
|
|
634
|
-
type: "polyline" | "polygon";
|
|
635
1042
|
vertices: {
|
|
636
1043
|
x: number;
|
|
637
1044
|
y: number;
|
|
638
1045
|
}[];
|
|
639
1046
|
width: number;
|
|
1047
|
+
type: "polyline";
|
|
640
1048
|
author?: string | undefined;
|
|
641
1049
|
contents?: string | undefined;
|
|
642
1050
|
inReplyTo?: string | undefined;
|
|
643
1051
|
locked?: boolean | undefined;
|
|
1052
|
+
subject?: string | undefined;
|
|
1053
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
644
1054
|
custom?: Record<string, unknown> | undefined;
|
|
1055
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1056
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1057
|
+
dashes?: number[] | undefined;
|
|
645
1058
|
interiorColor?: string | undefined;
|
|
646
1059
|
} | {
|
|
647
1060
|
id: string;
|
|
@@ -657,16 +1070,123 @@ export declare function useAnnotations(): {
|
|
|
657
1070
|
createdAt: string;
|
|
658
1071
|
modifiedAt: string;
|
|
659
1072
|
source: "session" | "pdf";
|
|
660
|
-
|
|
661
|
-
inklist: {
|
|
1073
|
+
vertices: {
|
|
662
1074
|
x: number;
|
|
663
1075
|
y: number;
|
|
664
|
-
}[]
|
|
1076
|
+
}[];
|
|
665
1077
|
width: number;
|
|
1078
|
+
type: "polygon";
|
|
666
1079
|
author?: string | undefined;
|
|
667
1080
|
contents?: string | undefined;
|
|
668
1081
|
inReplyTo?: string | undefined;
|
|
669
1082
|
locked?: boolean | undefined;
|
|
1083
|
+
subject?: string | undefined;
|
|
1084
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1085
|
+
custom?: Record<string, unknown> | undefined;
|
|
1086
|
+
head?: undefined;
|
|
1087
|
+
tail?: undefined;
|
|
1088
|
+
dashes?: number[] | undefined;
|
|
1089
|
+
interiorColor?: string | undefined;
|
|
1090
|
+
} | {
|
|
1091
|
+
id: string;
|
|
1092
|
+
page: number;
|
|
1093
|
+
rect: {
|
|
1094
|
+
x: number;
|
|
1095
|
+
y: number;
|
|
1096
|
+
width: number;
|
|
1097
|
+
height: number;
|
|
1098
|
+
};
|
|
1099
|
+
color: string;
|
|
1100
|
+
opacity: number;
|
|
1101
|
+
createdAt: string;
|
|
1102
|
+
modifiedAt: string;
|
|
1103
|
+
source: "session" | "pdf";
|
|
1104
|
+
type: "ink";
|
|
1105
|
+
inklist: {
|
|
1106
|
+
x: number;
|
|
1107
|
+
y: number;
|
|
1108
|
+
}[][];
|
|
1109
|
+
width: number;
|
|
1110
|
+
author?: string | undefined;
|
|
1111
|
+
contents?: string | undefined;
|
|
1112
|
+
inReplyTo?: string | undefined;
|
|
1113
|
+
locked?: boolean | undefined;
|
|
1114
|
+
subject?: string | undefined;
|
|
1115
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1116
|
+
custom?: Record<string, unknown> | undefined;
|
|
1117
|
+
pressure?: number[][] | undefined;
|
|
1118
|
+
dashes?: number[] | undefined;
|
|
1119
|
+
} | {
|
|
1120
|
+
id: string;
|
|
1121
|
+
page: number;
|
|
1122
|
+
rect: {
|
|
1123
|
+
x: number;
|
|
1124
|
+
y: number;
|
|
1125
|
+
width: number;
|
|
1126
|
+
height: number;
|
|
1127
|
+
};
|
|
1128
|
+
color: string;
|
|
1129
|
+
opacity: number;
|
|
1130
|
+
createdAt: string;
|
|
1131
|
+
modifiedAt: string;
|
|
1132
|
+
source: "session" | "pdf";
|
|
1133
|
+
type: "stamp";
|
|
1134
|
+
imagedata: string;
|
|
1135
|
+
author?: string | undefined;
|
|
1136
|
+
contents?: string | undefined;
|
|
1137
|
+
inReplyTo?: string | undefined;
|
|
1138
|
+
locked?: boolean | undefined;
|
|
1139
|
+
subject?: string | undefined;
|
|
1140
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1141
|
+
custom?: Record<string, unknown> | undefined;
|
|
1142
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
1143
|
+
} | {
|
|
1144
|
+
id: string;
|
|
1145
|
+
page: number;
|
|
1146
|
+
rect: {
|
|
1147
|
+
x: number;
|
|
1148
|
+
y: number;
|
|
1149
|
+
width: number;
|
|
1150
|
+
height: number;
|
|
1151
|
+
};
|
|
1152
|
+
color: string;
|
|
1153
|
+
opacity: number;
|
|
1154
|
+
createdAt: string;
|
|
1155
|
+
modifiedAt: string;
|
|
1156
|
+
source: "session" | "pdf";
|
|
1157
|
+
type: "loupe";
|
|
1158
|
+
magnification: number;
|
|
1159
|
+
width: number;
|
|
1160
|
+
author?: string | undefined;
|
|
1161
|
+
contents?: string | undefined;
|
|
1162
|
+
inReplyTo?: string | undefined;
|
|
1163
|
+
locked?: boolean | undefined;
|
|
1164
|
+
subject?: string | undefined;
|
|
1165
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1166
|
+
custom?: Record<string, unknown> | undefined;
|
|
1167
|
+
} | {
|
|
1168
|
+
id: string;
|
|
1169
|
+
page: number;
|
|
1170
|
+
rect: {
|
|
1171
|
+
x: number;
|
|
1172
|
+
y: number;
|
|
1173
|
+
width: number;
|
|
1174
|
+
height: number;
|
|
1175
|
+
};
|
|
1176
|
+
color: string;
|
|
1177
|
+
opacity: number;
|
|
1178
|
+
createdAt: string;
|
|
1179
|
+
modifiedAt: string;
|
|
1180
|
+
source: "session" | "pdf";
|
|
1181
|
+
type: "mask";
|
|
1182
|
+
shape: "rect" | "ellipse";
|
|
1183
|
+
dim: number;
|
|
1184
|
+
author?: string | undefined;
|
|
1185
|
+
contents?: string | undefined;
|
|
1186
|
+
inReplyTo?: string | undefined;
|
|
1187
|
+
locked?: boolean | undefined;
|
|
1188
|
+
subject?: string | undefined;
|
|
1189
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
670
1190
|
custom?: Record<string, unknown> | undefined;
|
|
671
1191
|
} | {
|
|
672
1192
|
id: string;
|
|
@@ -689,6 +1209,8 @@ export declare function useAnnotations(): {
|
|
|
689
1209
|
contents?: string | undefined;
|
|
690
1210
|
inReplyTo?: string | undefined;
|
|
691
1211
|
locked?: boolean | undefined;
|
|
1212
|
+
subject?: string | undefined;
|
|
1213
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
692
1214
|
custom?: Record<string, unknown> | undefined;
|
|
693
1215
|
quads?: {
|
|
694
1216
|
p1: {
|
|
@@ -754,6 +1276,8 @@ export declare function useAnnotations(): {
|
|
|
754
1276
|
contents?: string | undefined;
|
|
755
1277
|
inReplyTo?: string | undefined;
|
|
756
1278
|
locked?: boolean | undefined;
|
|
1279
|
+
subject?: string | undefined;
|
|
1280
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
757
1281
|
custom?: Record<string, unknown> | undefined;
|
|
758
1282
|
} | {
|
|
759
1283
|
id: string;
|
|
@@ -770,11 +1294,13 @@ export declare function useAnnotations(): {
|
|
|
770
1294
|
modifiedAt: string;
|
|
771
1295
|
source: "session" | "pdf";
|
|
772
1296
|
type: "text";
|
|
773
|
-
icon: "
|
|
1297
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
774
1298
|
author?: string | undefined;
|
|
775
1299
|
contents?: string | undefined;
|
|
776
1300
|
inReplyTo?: string | undefined;
|
|
777
1301
|
locked?: boolean | undefined;
|
|
1302
|
+
subject?: string | undefined;
|
|
1303
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
778
1304
|
custom?: Record<string, unknown> | undefined;
|
|
779
1305
|
} | {
|
|
780
1306
|
id: string;
|
|
@@ -785,24 +1311,47 @@ export declare function useAnnotations(): {
|
|
|
785
1311
|
width: number;
|
|
786
1312
|
height: number;
|
|
787
1313
|
};
|
|
788
|
-
color: string;
|
|
789
1314
|
opacity: number;
|
|
790
1315
|
createdAt: string;
|
|
791
1316
|
modifiedAt: string;
|
|
792
1317
|
source: "session" | "pdf";
|
|
793
1318
|
type: "freetext";
|
|
794
1319
|
contents: string;
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
1320
|
+
width: number;
|
|
1321
|
+
defaultStyle: {
|
|
1322
|
+
fontFamily: string;
|
|
1323
|
+
fontSize: number;
|
|
1324
|
+
color: string;
|
|
1325
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
1326
|
+
fontWeight?: "bold" | undefined;
|
|
1327
|
+
fontStyle?: "italic" | undefined;
|
|
1328
|
+
textDecoration?: "underline" | undefined;
|
|
1329
|
+
align?: undefined;
|
|
1330
|
+
};
|
|
1331
|
+
author?: string | undefined;
|
|
1332
|
+
inReplyTo?: string | undefined;
|
|
1333
|
+
locked?: boolean | undefined;
|
|
1334
|
+
subject?: string | undefined;
|
|
1335
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1336
|
+
custom?: Record<string, unknown> | undefined;
|
|
1337
|
+
color?: string | undefined;
|
|
1338
|
+
borderColor?: string | undefined;
|
|
1339
|
+
dashes?: number[] | undefined;
|
|
1340
|
+
cornerRadius?: number | undefined;
|
|
1341
|
+
fringe?: {
|
|
1342
|
+
left: number;
|
|
1343
|
+
top: number;
|
|
1344
|
+
right: number;
|
|
1345
|
+
bottom: number;
|
|
1346
|
+
} | undefined;
|
|
802
1347
|
callout?: {
|
|
803
1348
|
x: number;
|
|
804
1349
|
y: number;
|
|
805
1350
|
}[] | undefined;
|
|
1351
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1352
|
+
fontFamily?: undefined;
|
|
1353
|
+
fontSize?: undefined;
|
|
1354
|
+
align?: undefined;
|
|
806
1355
|
} | {
|
|
807
1356
|
id: string;
|
|
808
1357
|
page: number;
|
|
@@ -817,13 +1366,43 @@ export declare function useAnnotations(): {
|
|
|
817
1366
|
createdAt: string;
|
|
818
1367
|
modifiedAt: string;
|
|
819
1368
|
source: "session" | "pdf";
|
|
820
|
-
type: "square" | "circle";
|
|
821
1369
|
width: number;
|
|
1370
|
+
type: "square";
|
|
822
1371
|
author?: string | undefined;
|
|
823
1372
|
contents?: string | undefined;
|
|
824
1373
|
inReplyTo?: string | undefined;
|
|
825
1374
|
locked?: boolean | undefined;
|
|
1375
|
+
subject?: string | undefined;
|
|
1376
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
826
1377
|
custom?: Record<string, unknown> | undefined;
|
|
1378
|
+
cornerRadius?: number | undefined;
|
|
1379
|
+
dashes?: number[] | undefined;
|
|
1380
|
+
interiorColor?: string | undefined;
|
|
1381
|
+
} | {
|
|
1382
|
+
id: string;
|
|
1383
|
+
page: number;
|
|
1384
|
+
rect: {
|
|
1385
|
+
x: number;
|
|
1386
|
+
y: number;
|
|
1387
|
+
width: number;
|
|
1388
|
+
height: number;
|
|
1389
|
+
};
|
|
1390
|
+
color: string;
|
|
1391
|
+
opacity: number;
|
|
1392
|
+
createdAt: string;
|
|
1393
|
+
modifiedAt: string;
|
|
1394
|
+
source: "session" | "pdf";
|
|
1395
|
+
width: number;
|
|
1396
|
+
type: "circle";
|
|
1397
|
+
author?: string | undefined;
|
|
1398
|
+
contents?: string | undefined;
|
|
1399
|
+
inReplyTo?: string | undefined;
|
|
1400
|
+
locked?: boolean | undefined;
|
|
1401
|
+
subject?: string | undefined;
|
|
1402
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1403
|
+
custom?: Record<string, unknown> | undefined;
|
|
1404
|
+
cornerRadius?: undefined;
|
|
1405
|
+
dashes?: number[] | undefined;
|
|
827
1406
|
interiorColor?: string | undefined;
|
|
828
1407
|
} | {
|
|
829
1408
|
id: string;
|
|
@@ -853,9 +1432,12 @@ export declare function useAnnotations(): {
|
|
|
853
1432
|
contents?: string | undefined;
|
|
854
1433
|
inReplyTo?: string | undefined;
|
|
855
1434
|
locked?: boolean | undefined;
|
|
1435
|
+
subject?: string | undefined;
|
|
1436
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
856
1437
|
custom?: Record<string, unknown> | undefined;
|
|
857
|
-
|
|
858
|
-
|
|
1438
|
+
dashes?: number[] | undefined;
|
|
1439
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1440
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
859
1441
|
} | {
|
|
860
1442
|
id: string;
|
|
861
1443
|
page: number;
|
|
@@ -870,17 +1452,53 @@ export declare function useAnnotations(): {
|
|
|
870
1452
|
createdAt: string;
|
|
871
1453
|
modifiedAt: string;
|
|
872
1454
|
source: "session" | "pdf";
|
|
873
|
-
type: "polyline" | "polygon";
|
|
874
1455
|
vertices: {
|
|
875
1456
|
x: number;
|
|
876
1457
|
y: number;
|
|
877
1458
|
}[];
|
|
878
1459
|
width: number;
|
|
1460
|
+
type: "polyline";
|
|
879
1461
|
author?: string | undefined;
|
|
880
1462
|
contents?: string | undefined;
|
|
881
1463
|
inReplyTo?: string | undefined;
|
|
882
1464
|
locked?: boolean | undefined;
|
|
1465
|
+
subject?: string | undefined;
|
|
1466
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
883
1467
|
custom?: Record<string, unknown> | undefined;
|
|
1468
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1469
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1470
|
+
dashes?: number[] | undefined;
|
|
1471
|
+
interiorColor?: string | undefined;
|
|
1472
|
+
} | {
|
|
1473
|
+
id: string;
|
|
1474
|
+
page: number;
|
|
1475
|
+
rect: {
|
|
1476
|
+
x: number;
|
|
1477
|
+
y: number;
|
|
1478
|
+
width: number;
|
|
1479
|
+
height: number;
|
|
1480
|
+
};
|
|
1481
|
+
color: string;
|
|
1482
|
+
opacity: number;
|
|
1483
|
+
createdAt: string;
|
|
1484
|
+
modifiedAt: string;
|
|
1485
|
+
source: "session" | "pdf";
|
|
1486
|
+
vertices: {
|
|
1487
|
+
x: number;
|
|
1488
|
+
y: number;
|
|
1489
|
+
}[];
|
|
1490
|
+
width: number;
|
|
1491
|
+
type: "polygon";
|
|
1492
|
+
author?: string | undefined;
|
|
1493
|
+
contents?: string | undefined;
|
|
1494
|
+
inReplyTo?: string | undefined;
|
|
1495
|
+
locked?: boolean | undefined;
|
|
1496
|
+
subject?: string | undefined;
|
|
1497
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1498
|
+
custom?: Record<string, unknown> | undefined;
|
|
1499
|
+
head?: undefined;
|
|
1500
|
+
tail?: undefined;
|
|
1501
|
+
dashes?: number[] | undefined;
|
|
884
1502
|
interiorColor?: string | undefined;
|
|
885
1503
|
} | {
|
|
886
1504
|
id: string;
|
|
@@ -906,6 +1524,82 @@ export declare function useAnnotations(): {
|
|
|
906
1524
|
contents?: string | undefined;
|
|
907
1525
|
inReplyTo?: string | undefined;
|
|
908
1526
|
locked?: boolean | undefined;
|
|
1527
|
+
subject?: string | undefined;
|
|
1528
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1529
|
+
custom?: Record<string, unknown> | undefined;
|
|
1530
|
+
pressure?: number[][] | undefined;
|
|
1531
|
+
dashes?: number[] | undefined;
|
|
1532
|
+
} | {
|
|
1533
|
+
id: string;
|
|
1534
|
+
page: number;
|
|
1535
|
+
rect: {
|
|
1536
|
+
x: number;
|
|
1537
|
+
y: number;
|
|
1538
|
+
width: number;
|
|
1539
|
+
height: number;
|
|
1540
|
+
};
|
|
1541
|
+
color: string;
|
|
1542
|
+
opacity: number;
|
|
1543
|
+
createdAt: string;
|
|
1544
|
+
modifiedAt: string;
|
|
1545
|
+
source: "session" | "pdf";
|
|
1546
|
+
type: "stamp";
|
|
1547
|
+
imagedata: string;
|
|
1548
|
+
author?: string | undefined;
|
|
1549
|
+
contents?: string | undefined;
|
|
1550
|
+
inReplyTo?: string | undefined;
|
|
1551
|
+
locked?: boolean | undefined;
|
|
1552
|
+
subject?: string | undefined;
|
|
1553
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1554
|
+
custom?: Record<string, unknown> | undefined;
|
|
1555
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
1556
|
+
} | {
|
|
1557
|
+
id: string;
|
|
1558
|
+
page: number;
|
|
1559
|
+
rect: {
|
|
1560
|
+
x: number;
|
|
1561
|
+
y: number;
|
|
1562
|
+
width: number;
|
|
1563
|
+
height: number;
|
|
1564
|
+
};
|
|
1565
|
+
color: string;
|
|
1566
|
+
opacity: number;
|
|
1567
|
+
createdAt: string;
|
|
1568
|
+
modifiedAt: string;
|
|
1569
|
+
source: "session" | "pdf";
|
|
1570
|
+
type: "loupe";
|
|
1571
|
+
magnification: number;
|
|
1572
|
+
width: number;
|
|
1573
|
+
author?: string | undefined;
|
|
1574
|
+
contents?: string | undefined;
|
|
1575
|
+
inReplyTo?: string | undefined;
|
|
1576
|
+
locked?: boolean | undefined;
|
|
1577
|
+
subject?: string | undefined;
|
|
1578
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1579
|
+
custom?: Record<string, unknown> | undefined;
|
|
1580
|
+
} | {
|
|
1581
|
+
id: string;
|
|
1582
|
+
page: number;
|
|
1583
|
+
rect: {
|
|
1584
|
+
x: number;
|
|
1585
|
+
y: number;
|
|
1586
|
+
width: number;
|
|
1587
|
+
height: number;
|
|
1588
|
+
};
|
|
1589
|
+
color: string;
|
|
1590
|
+
opacity: number;
|
|
1591
|
+
createdAt: string;
|
|
1592
|
+
modifiedAt: string;
|
|
1593
|
+
source: "session" | "pdf";
|
|
1594
|
+
type: "mask";
|
|
1595
|
+
shape: "rect" | "ellipse";
|
|
1596
|
+
dim: number;
|
|
1597
|
+
author?: string | undefined;
|
|
1598
|
+
contents?: string | undefined;
|
|
1599
|
+
inReplyTo?: string | undefined;
|
|
1600
|
+
locked?: boolean | undefined;
|
|
1601
|
+
subject?: string | undefined;
|
|
1602
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
909
1603
|
custom?: Record<string, unknown> | undefined;
|
|
910
1604
|
} | {
|
|
911
1605
|
id: string;
|
|
@@ -928,6 +1622,8 @@ export declare function useAnnotations(): {
|
|
|
928
1622
|
contents?: string | undefined;
|
|
929
1623
|
inReplyTo?: string | undefined;
|
|
930
1624
|
locked?: boolean | undefined;
|
|
1625
|
+
subject?: string | undefined;
|
|
1626
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
931
1627
|
custom?: Record<string, unknown> | undefined;
|
|
932
1628
|
quads?: {
|
|
933
1629
|
p1: {
|
|
@@ -993,6 +1689,8 @@ export declare function useAnnotations(): {
|
|
|
993
1689
|
contents?: string | undefined;
|
|
994
1690
|
inReplyTo?: string | undefined;
|
|
995
1691
|
locked?: boolean | undefined;
|
|
1692
|
+
subject?: string | undefined;
|
|
1693
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
996
1694
|
custom?: Record<string, unknown> | undefined;
|
|
997
1695
|
} | {
|
|
998
1696
|
id: string;
|
|
@@ -1009,11 +1707,13 @@ export declare function useAnnotations(): {
|
|
|
1009
1707
|
modifiedAt: string;
|
|
1010
1708
|
source: "session" | "pdf";
|
|
1011
1709
|
type: "text";
|
|
1012
|
-
icon: "
|
|
1710
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
1013
1711
|
author?: string | undefined;
|
|
1014
1712
|
contents?: string | undefined;
|
|
1015
1713
|
inReplyTo?: string | undefined;
|
|
1016
1714
|
locked?: boolean | undefined;
|
|
1715
|
+
subject?: string | undefined;
|
|
1716
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1017
1717
|
custom?: Record<string, unknown> | undefined;
|
|
1018
1718
|
} | {
|
|
1019
1719
|
id: string;
|
|
@@ -1024,24 +1724,73 @@ export declare function useAnnotations(): {
|
|
|
1024
1724
|
width: number;
|
|
1025
1725
|
height: number;
|
|
1026
1726
|
};
|
|
1027
|
-
color: string;
|
|
1028
1727
|
opacity: number;
|
|
1029
1728
|
createdAt: string;
|
|
1030
1729
|
modifiedAt: string;
|
|
1031
1730
|
source: "session" | "pdf";
|
|
1032
1731
|
type: "freetext";
|
|
1033
1732
|
contents: string;
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1733
|
+
width: number;
|
|
1734
|
+
defaultStyle: {
|
|
1735
|
+
fontFamily: string;
|
|
1736
|
+
fontSize: number;
|
|
1737
|
+
color: string;
|
|
1738
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
1739
|
+
fontWeight?: "bold" | undefined;
|
|
1740
|
+
fontStyle?: "italic" | undefined;
|
|
1741
|
+
textDecoration?: "underline" | undefined;
|
|
1742
|
+
align?: undefined;
|
|
1743
|
+
};
|
|
1744
|
+
author?: string | undefined;
|
|
1745
|
+
inReplyTo?: string | undefined;
|
|
1746
|
+
locked?: boolean | undefined;
|
|
1747
|
+
subject?: string | undefined;
|
|
1748
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1749
|
+
custom?: Record<string, unknown> | undefined;
|
|
1750
|
+
color?: string | undefined;
|
|
1751
|
+
borderColor?: string | undefined;
|
|
1752
|
+
dashes?: number[] | undefined;
|
|
1753
|
+
cornerRadius?: number | undefined;
|
|
1754
|
+
fringe?: {
|
|
1755
|
+
left: number;
|
|
1756
|
+
top: number;
|
|
1757
|
+
right: number;
|
|
1758
|
+
bottom: number;
|
|
1759
|
+
} | undefined;
|
|
1041
1760
|
callout?: {
|
|
1042
1761
|
x: number;
|
|
1043
1762
|
y: number;
|
|
1044
1763
|
}[] | undefined;
|
|
1764
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1765
|
+
fontFamily?: undefined;
|
|
1766
|
+
fontSize?: undefined;
|
|
1767
|
+
align?: undefined;
|
|
1768
|
+
} | {
|
|
1769
|
+
id: string;
|
|
1770
|
+
page: number;
|
|
1771
|
+
rect: {
|
|
1772
|
+
x: number;
|
|
1773
|
+
y: number;
|
|
1774
|
+
width: number;
|
|
1775
|
+
height: number;
|
|
1776
|
+
};
|
|
1777
|
+
color: string;
|
|
1778
|
+
opacity: number;
|
|
1779
|
+
createdAt: string;
|
|
1780
|
+
modifiedAt: string;
|
|
1781
|
+
source: "session" | "pdf";
|
|
1782
|
+
width: number;
|
|
1783
|
+
type: "square";
|
|
1784
|
+
author?: string | undefined;
|
|
1785
|
+
contents?: string | undefined;
|
|
1786
|
+
inReplyTo?: string | undefined;
|
|
1787
|
+
locked?: boolean | undefined;
|
|
1788
|
+
subject?: string | undefined;
|
|
1789
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1790
|
+
custom?: Record<string, unknown> | undefined;
|
|
1791
|
+
cornerRadius?: number | undefined;
|
|
1792
|
+
dashes?: number[] | undefined;
|
|
1793
|
+
interiorColor?: string | undefined;
|
|
1045
1794
|
} | {
|
|
1046
1795
|
id: string;
|
|
1047
1796
|
page: number;
|
|
@@ -1056,13 +1805,17 @@ export declare function useAnnotations(): {
|
|
|
1056
1805
|
createdAt: string;
|
|
1057
1806
|
modifiedAt: string;
|
|
1058
1807
|
source: "session" | "pdf";
|
|
1059
|
-
type: "square" | "circle";
|
|
1060
1808
|
width: number;
|
|
1809
|
+
type: "circle";
|
|
1061
1810
|
author?: string | undefined;
|
|
1062
1811
|
contents?: string | undefined;
|
|
1063
1812
|
inReplyTo?: string | undefined;
|
|
1064
1813
|
locked?: boolean | undefined;
|
|
1814
|
+
subject?: string | undefined;
|
|
1815
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1065
1816
|
custom?: Record<string, unknown> | undefined;
|
|
1817
|
+
cornerRadius?: undefined;
|
|
1818
|
+
dashes?: number[] | undefined;
|
|
1066
1819
|
interiorColor?: string | undefined;
|
|
1067
1820
|
} | {
|
|
1068
1821
|
id: string;
|
|
@@ -1092,9 +1845,43 @@ export declare function useAnnotations(): {
|
|
|
1092
1845
|
contents?: string | undefined;
|
|
1093
1846
|
inReplyTo?: string | undefined;
|
|
1094
1847
|
locked?: boolean | undefined;
|
|
1848
|
+
subject?: string | undefined;
|
|
1849
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1850
|
+
custom?: Record<string, unknown> | undefined;
|
|
1851
|
+
dashes?: number[] | undefined;
|
|
1852
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1853
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1854
|
+
} | {
|
|
1855
|
+
id: string;
|
|
1856
|
+
page: number;
|
|
1857
|
+
rect: {
|
|
1858
|
+
x: number;
|
|
1859
|
+
y: number;
|
|
1860
|
+
width: number;
|
|
1861
|
+
height: number;
|
|
1862
|
+
};
|
|
1863
|
+
color: string;
|
|
1864
|
+
opacity: number;
|
|
1865
|
+
createdAt: string;
|
|
1866
|
+
modifiedAt: string;
|
|
1867
|
+
source: "session" | "pdf";
|
|
1868
|
+
vertices: {
|
|
1869
|
+
x: number;
|
|
1870
|
+
y: number;
|
|
1871
|
+
}[];
|
|
1872
|
+
width: number;
|
|
1873
|
+
type: "polyline";
|
|
1874
|
+
author?: string | undefined;
|
|
1875
|
+
contents?: string | undefined;
|
|
1876
|
+
inReplyTo?: string | undefined;
|
|
1877
|
+
locked?: boolean | undefined;
|
|
1878
|
+
subject?: string | undefined;
|
|
1879
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1095
1880
|
custom?: Record<string, unknown> | undefined;
|
|
1096
|
-
head?: "
|
|
1097
|
-
tail?: "
|
|
1881
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1882
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1883
|
+
dashes?: number[] | undefined;
|
|
1884
|
+
interiorColor?: string | undefined;
|
|
1098
1885
|
} | {
|
|
1099
1886
|
id: string;
|
|
1100
1887
|
page: number;
|
|
@@ -1109,17 +1896,22 @@ export declare function useAnnotations(): {
|
|
|
1109
1896
|
createdAt: string;
|
|
1110
1897
|
modifiedAt: string;
|
|
1111
1898
|
source: "session" | "pdf";
|
|
1112
|
-
type: "polyline" | "polygon";
|
|
1113
1899
|
vertices: {
|
|
1114
1900
|
x: number;
|
|
1115
1901
|
y: number;
|
|
1116
1902
|
}[];
|
|
1117
1903
|
width: number;
|
|
1904
|
+
type: "polygon";
|
|
1118
1905
|
author?: string | undefined;
|
|
1119
1906
|
contents?: string | undefined;
|
|
1120
1907
|
inReplyTo?: string | undefined;
|
|
1121
1908
|
locked?: boolean | undefined;
|
|
1909
|
+
subject?: string | undefined;
|
|
1910
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1122
1911
|
custom?: Record<string, unknown> | undefined;
|
|
1912
|
+
head?: undefined;
|
|
1913
|
+
tail?: undefined;
|
|
1914
|
+
dashes?: number[] | undefined;
|
|
1123
1915
|
interiorColor?: string | undefined;
|
|
1124
1916
|
} | {
|
|
1125
1917
|
id: string;
|
|
@@ -1145,6 +1937,82 @@ export declare function useAnnotations(): {
|
|
|
1145
1937
|
contents?: string | undefined;
|
|
1146
1938
|
inReplyTo?: string | undefined;
|
|
1147
1939
|
locked?: boolean | undefined;
|
|
1940
|
+
subject?: string | undefined;
|
|
1941
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1942
|
+
custom?: Record<string, unknown> | undefined;
|
|
1943
|
+
pressure?: number[][] | undefined;
|
|
1944
|
+
dashes?: number[] | undefined;
|
|
1945
|
+
} | {
|
|
1946
|
+
id: string;
|
|
1947
|
+
page: number;
|
|
1948
|
+
rect: {
|
|
1949
|
+
x: number;
|
|
1950
|
+
y: number;
|
|
1951
|
+
width: number;
|
|
1952
|
+
height: number;
|
|
1953
|
+
};
|
|
1954
|
+
color: string;
|
|
1955
|
+
opacity: number;
|
|
1956
|
+
createdAt: string;
|
|
1957
|
+
modifiedAt: string;
|
|
1958
|
+
source: "session" | "pdf";
|
|
1959
|
+
type: "stamp";
|
|
1960
|
+
imagedata: string;
|
|
1961
|
+
author?: string | undefined;
|
|
1962
|
+
contents?: string | undefined;
|
|
1963
|
+
inReplyTo?: string | undefined;
|
|
1964
|
+
locked?: boolean | undefined;
|
|
1965
|
+
subject?: string | undefined;
|
|
1966
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1967
|
+
custom?: Record<string, unknown> | undefined;
|
|
1968
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
1969
|
+
} | {
|
|
1970
|
+
id: string;
|
|
1971
|
+
page: number;
|
|
1972
|
+
rect: {
|
|
1973
|
+
x: number;
|
|
1974
|
+
y: number;
|
|
1975
|
+
width: number;
|
|
1976
|
+
height: number;
|
|
1977
|
+
};
|
|
1978
|
+
color: string;
|
|
1979
|
+
opacity: number;
|
|
1980
|
+
createdAt: string;
|
|
1981
|
+
modifiedAt: string;
|
|
1982
|
+
source: "session" | "pdf";
|
|
1983
|
+
type: "loupe";
|
|
1984
|
+
magnification: number;
|
|
1985
|
+
width: number;
|
|
1986
|
+
author?: string | undefined;
|
|
1987
|
+
contents?: string | undefined;
|
|
1988
|
+
inReplyTo?: string | undefined;
|
|
1989
|
+
locked?: boolean | undefined;
|
|
1990
|
+
subject?: string | undefined;
|
|
1991
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1992
|
+
custom?: Record<string, unknown> | undefined;
|
|
1993
|
+
} | {
|
|
1994
|
+
id: string;
|
|
1995
|
+
page: number;
|
|
1996
|
+
rect: {
|
|
1997
|
+
x: number;
|
|
1998
|
+
y: number;
|
|
1999
|
+
width: number;
|
|
2000
|
+
height: number;
|
|
2001
|
+
};
|
|
2002
|
+
color: string;
|
|
2003
|
+
opacity: number;
|
|
2004
|
+
createdAt: string;
|
|
2005
|
+
modifiedAt: string;
|
|
2006
|
+
source: "session" | "pdf";
|
|
2007
|
+
type: "mask";
|
|
2008
|
+
shape: "rect" | "ellipse";
|
|
2009
|
+
dim: number;
|
|
2010
|
+
author?: string | undefined;
|
|
2011
|
+
contents?: string | undefined;
|
|
2012
|
+
inReplyTo?: string | undefined;
|
|
2013
|
+
locked?: boolean | undefined;
|
|
2014
|
+
subject?: string | undefined;
|
|
2015
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1148
2016
|
custom?: Record<string, unknown> | undefined;
|
|
1149
2017
|
} | {
|
|
1150
2018
|
id: string;
|
|
@@ -1167,6 +2035,8 @@ export declare function useAnnotations(): {
|
|
|
1167
2035
|
contents?: string | undefined;
|
|
1168
2036
|
inReplyTo?: string | undefined;
|
|
1169
2037
|
locked?: boolean | undefined;
|
|
2038
|
+
subject?: string | undefined;
|
|
2039
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1170
2040
|
custom?: Record<string, unknown> | undefined;
|
|
1171
2041
|
quads?: {
|
|
1172
2042
|
p1: {
|
|
@@ -1195,7 +2065,7 @@ export declare function useAnnotations(): {
|
|
|
1195
2065
|
} | undefined;
|
|
1196
2066
|
overlayText?: string | undefined;
|
|
1197
2067
|
} | undefined;
|
|
1198
|
-
update: (id: string, patch:
|
|
2068
|
+
update: (id: string, patch: AnnotationPatch) => {
|
|
1199
2069
|
id: string;
|
|
1200
2070
|
page: number;
|
|
1201
2071
|
rect: {
|
|
@@ -1232,6 +2102,8 @@ export declare function useAnnotations(): {
|
|
|
1232
2102
|
contents?: string | undefined;
|
|
1233
2103
|
inReplyTo?: string | undefined;
|
|
1234
2104
|
locked?: boolean | undefined;
|
|
2105
|
+
subject?: string | undefined;
|
|
2106
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1235
2107
|
custom?: Record<string, unknown> | undefined;
|
|
1236
2108
|
} | {
|
|
1237
2109
|
id: string;
|
|
@@ -1248,11 +2120,13 @@ export declare function useAnnotations(): {
|
|
|
1248
2120
|
modifiedAt: string;
|
|
1249
2121
|
source: "session" | "pdf";
|
|
1250
2122
|
type: "text";
|
|
1251
|
-
icon: "
|
|
2123
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
1252
2124
|
author?: string | undefined;
|
|
1253
2125
|
contents?: string | undefined;
|
|
1254
2126
|
inReplyTo?: string | undefined;
|
|
1255
2127
|
locked?: boolean | undefined;
|
|
2128
|
+
subject?: string | undefined;
|
|
2129
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1256
2130
|
custom?: Record<string, unknown> | undefined;
|
|
1257
2131
|
} | {
|
|
1258
2132
|
id: string;
|
|
@@ -1263,24 +2137,195 @@ export declare function useAnnotations(): {
|
|
|
1263
2137
|
width: number;
|
|
1264
2138
|
height: number;
|
|
1265
2139
|
};
|
|
1266
|
-
color: string;
|
|
1267
2140
|
opacity: number;
|
|
1268
2141
|
createdAt: string;
|
|
1269
2142
|
modifiedAt: string;
|
|
1270
2143
|
source: "session" | "pdf";
|
|
1271
2144
|
type: "freetext";
|
|
1272
2145
|
contents: string;
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
2146
|
+
width: number;
|
|
2147
|
+
defaultStyle: {
|
|
2148
|
+
fontFamily: string;
|
|
2149
|
+
fontSize: number;
|
|
2150
|
+
color: string;
|
|
2151
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
2152
|
+
fontWeight?: "bold" | undefined;
|
|
2153
|
+
fontStyle?: "italic" | undefined;
|
|
2154
|
+
textDecoration?: "underline" | undefined;
|
|
2155
|
+
align?: undefined;
|
|
2156
|
+
};
|
|
2157
|
+
author?: string | undefined;
|
|
2158
|
+
inReplyTo?: string | undefined;
|
|
2159
|
+
locked?: boolean | undefined;
|
|
2160
|
+
subject?: string | undefined;
|
|
2161
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2162
|
+
custom?: Record<string, unknown> | undefined;
|
|
2163
|
+
color?: string | undefined;
|
|
2164
|
+
borderColor?: string | undefined;
|
|
2165
|
+
dashes?: number[] | undefined;
|
|
2166
|
+
cornerRadius?: number | undefined;
|
|
2167
|
+
fringe?: {
|
|
2168
|
+
left: number;
|
|
2169
|
+
top: number;
|
|
2170
|
+
right: number;
|
|
2171
|
+
bottom: number;
|
|
2172
|
+
} | undefined;
|
|
2173
|
+
callout?: {
|
|
2174
|
+
x: number;
|
|
2175
|
+
y: number;
|
|
2176
|
+
}[] | undefined;
|
|
2177
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2178
|
+
fontFamily?: undefined;
|
|
2179
|
+
fontSize?: undefined;
|
|
2180
|
+
align?: undefined;
|
|
2181
|
+
} | {
|
|
2182
|
+
id: string;
|
|
2183
|
+
page: number;
|
|
2184
|
+
rect: {
|
|
2185
|
+
x: number;
|
|
2186
|
+
y: number;
|
|
2187
|
+
width: number;
|
|
2188
|
+
height: number;
|
|
2189
|
+
};
|
|
2190
|
+
color: string;
|
|
2191
|
+
opacity: number;
|
|
2192
|
+
createdAt: string;
|
|
2193
|
+
modifiedAt: string;
|
|
2194
|
+
source: "session" | "pdf";
|
|
2195
|
+
width: number;
|
|
2196
|
+
type: "square";
|
|
2197
|
+
author?: string | undefined;
|
|
2198
|
+
contents?: string | undefined;
|
|
2199
|
+
inReplyTo?: string | undefined;
|
|
2200
|
+
locked?: boolean | undefined;
|
|
2201
|
+
subject?: string | undefined;
|
|
2202
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2203
|
+
custom?: Record<string, unknown> | undefined;
|
|
2204
|
+
cornerRadius?: number | undefined;
|
|
2205
|
+
dashes?: number[] | undefined;
|
|
2206
|
+
interiorColor?: string | undefined;
|
|
2207
|
+
} | {
|
|
2208
|
+
id: string;
|
|
2209
|
+
page: number;
|
|
2210
|
+
rect: {
|
|
2211
|
+
x: number;
|
|
2212
|
+
y: number;
|
|
2213
|
+
width: number;
|
|
2214
|
+
height: number;
|
|
2215
|
+
};
|
|
2216
|
+
color: string;
|
|
2217
|
+
opacity: number;
|
|
2218
|
+
createdAt: string;
|
|
2219
|
+
modifiedAt: string;
|
|
2220
|
+
source: "session" | "pdf";
|
|
2221
|
+
width: number;
|
|
2222
|
+
type: "circle";
|
|
2223
|
+
author?: string | undefined;
|
|
2224
|
+
contents?: string | undefined;
|
|
2225
|
+
inReplyTo?: string | undefined;
|
|
2226
|
+
locked?: boolean | undefined;
|
|
2227
|
+
subject?: string | undefined;
|
|
2228
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2229
|
+
custom?: Record<string, unknown> | undefined;
|
|
2230
|
+
cornerRadius?: undefined;
|
|
2231
|
+
dashes?: number[] | undefined;
|
|
2232
|
+
interiorColor?: string | undefined;
|
|
2233
|
+
} | {
|
|
2234
|
+
id: string;
|
|
2235
|
+
page: number;
|
|
2236
|
+
rect: {
|
|
2237
|
+
x: number;
|
|
2238
|
+
y: number;
|
|
2239
|
+
width: number;
|
|
2240
|
+
height: number;
|
|
2241
|
+
};
|
|
2242
|
+
color: string;
|
|
2243
|
+
opacity: number;
|
|
2244
|
+
createdAt: string;
|
|
2245
|
+
modifiedAt: string;
|
|
2246
|
+
source: "session" | "pdf";
|
|
2247
|
+
type: "line";
|
|
2248
|
+
start: {
|
|
2249
|
+
x: number;
|
|
2250
|
+
y: number;
|
|
2251
|
+
};
|
|
2252
|
+
end: {
|
|
2253
|
+
x: number;
|
|
2254
|
+
y: number;
|
|
2255
|
+
};
|
|
2256
|
+
width: number;
|
|
2257
|
+
author?: string | undefined;
|
|
2258
|
+
contents?: string | undefined;
|
|
2259
|
+
inReplyTo?: string | undefined;
|
|
2260
|
+
locked?: boolean | undefined;
|
|
2261
|
+
subject?: string | undefined;
|
|
2262
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2263
|
+
custom?: Record<string, unknown> | undefined;
|
|
2264
|
+
dashes?: number[] | undefined;
|
|
2265
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2266
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2267
|
+
} | {
|
|
2268
|
+
id: string;
|
|
2269
|
+
page: number;
|
|
2270
|
+
rect: {
|
|
2271
|
+
x: number;
|
|
2272
|
+
y: number;
|
|
2273
|
+
width: number;
|
|
2274
|
+
height: number;
|
|
2275
|
+
};
|
|
2276
|
+
color: string;
|
|
2277
|
+
opacity: number;
|
|
2278
|
+
createdAt: string;
|
|
2279
|
+
modifiedAt: string;
|
|
2280
|
+
source: "session" | "pdf";
|
|
2281
|
+
vertices: {
|
|
2282
|
+
x: number;
|
|
2283
|
+
y: number;
|
|
2284
|
+
}[];
|
|
2285
|
+
width: number;
|
|
2286
|
+
type: "polyline";
|
|
2287
|
+
author?: string | undefined;
|
|
2288
|
+
contents?: string | undefined;
|
|
2289
|
+
inReplyTo?: string | undefined;
|
|
2290
|
+
locked?: boolean | undefined;
|
|
2291
|
+
subject?: string | undefined;
|
|
2292
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2293
|
+
custom?: Record<string, unknown> | undefined;
|
|
2294
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2295
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2296
|
+
dashes?: number[] | undefined;
|
|
2297
|
+
interiorColor?: string | undefined;
|
|
2298
|
+
} | {
|
|
2299
|
+
id: string;
|
|
2300
|
+
page: number;
|
|
2301
|
+
rect: {
|
|
2302
|
+
x: number;
|
|
2303
|
+
y: number;
|
|
2304
|
+
width: number;
|
|
2305
|
+
height: number;
|
|
2306
|
+
};
|
|
2307
|
+
color: string;
|
|
2308
|
+
opacity: number;
|
|
2309
|
+
createdAt: string;
|
|
2310
|
+
modifiedAt: string;
|
|
2311
|
+
source: "session" | "pdf";
|
|
2312
|
+
vertices: {
|
|
2313
|
+
x: number;
|
|
2314
|
+
y: number;
|
|
2315
|
+
}[];
|
|
2316
|
+
width: number;
|
|
2317
|
+
type: "polygon";
|
|
1276
2318
|
author?: string | undefined;
|
|
2319
|
+
contents?: string | undefined;
|
|
1277
2320
|
inReplyTo?: string | undefined;
|
|
1278
2321
|
locked?: boolean | undefined;
|
|
2322
|
+
subject?: string | undefined;
|
|
2323
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1279
2324
|
custom?: Record<string, unknown> | undefined;
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
2325
|
+
head?: undefined;
|
|
2326
|
+
tail?: undefined;
|
|
2327
|
+
dashes?: number[] | undefined;
|
|
2328
|
+
interiorColor?: string | undefined;
|
|
1284
2329
|
} | {
|
|
1285
2330
|
id: string;
|
|
1286
2331
|
page: number;
|
|
@@ -1295,14 +2340,21 @@ export declare function useAnnotations(): {
|
|
|
1295
2340
|
createdAt: string;
|
|
1296
2341
|
modifiedAt: string;
|
|
1297
2342
|
source: "session" | "pdf";
|
|
1298
|
-
type: "
|
|
2343
|
+
type: "ink";
|
|
2344
|
+
inklist: {
|
|
2345
|
+
x: number;
|
|
2346
|
+
y: number;
|
|
2347
|
+
}[][];
|
|
1299
2348
|
width: number;
|
|
1300
2349
|
author?: string | undefined;
|
|
1301
2350
|
contents?: string | undefined;
|
|
1302
2351
|
inReplyTo?: string | undefined;
|
|
1303
2352
|
locked?: boolean | undefined;
|
|
2353
|
+
subject?: string | undefined;
|
|
2354
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1304
2355
|
custom?: Record<string, unknown> | undefined;
|
|
1305
|
-
|
|
2356
|
+
pressure?: number[][] | undefined;
|
|
2357
|
+
dashes?: number[] | undefined;
|
|
1306
2358
|
} | {
|
|
1307
2359
|
id: string;
|
|
1308
2360
|
page: number;
|
|
@@ -1317,23 +2369,16 @@ export declare function useAnnotations(): {
|
|
|
1317
2369
|
createdAt: string;
|
|
1318
2370
|
modifiedAt: string;
|
|
1319
2371
|
source: "session" | "pdf";
|
|
1320
|
-
type: "
|
|
1321
|
-
|
|
1322
|
-
x: number;
|
|
1323
|
-
y: number;
|
|
1324
|
-
};
|
|
1325
|
-
end: {
|
|
1326
|
-
x: number;
|
|
1327
|
-
y: number;
|
|
1328
|
-
};
|
|
1329
|
-
width: number;
|
|
2372
|
+
type: "stamp";
|
|
2373
|
+
imagedata: string;
|
|
1330
2374
|
author?: string | undefined;
|
|
1331
2375
|
contents?: string | undefined;
|
|
1332
2376
|
inReplyTo?: string | undefined;
|
|
1333
2377
|
locked?: boolean | undefined;
|
|
2378
|
+
subject?: string | undefined;
|
|
2379
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1334
2380
|
custom?: Record<string, unknown> | undefined;
|
|
1335
|
-
|
|
1336
|
-
tail?: "square" | "circle" | "none" | "openArrow" | "closedArrow" | "diamond" | "butt" | "slash" | undefined;
|
|
2381
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
1337
2382
|
} | {
|
|
1338
2383
|
id: string;
|
|
1339
2384
|
page: number;
|
|
@@ -1348,18 +2393,16 @@ export declare function useAnnotations(): {
|
|
|
1348
2393
|
createdAt: string;
|
|
1349
2394
|
modifiedAt: string;
|
|
1350
2395
|
source: "session" | "pdf";
|
|
1351
|
-
type: "
|
|
1352
|
-
|
|
1353
|
-
x: number;
|
|
1354
|
-
y: number;
|
|
1355
|
-
}[];
|
|
2396
|
+
type: "loupe";
|
|
2397
|
+
magnification: number;
|
|
1356
2398
|
width: number;
|
|
1357
2399
|
author?: string | undefined;
|
|
1358
2400
|
contents?: string | undefined;
|
|
1359
2401
|
inReplyTo?: string | undefined;
|
|
1360
2402
|
locked?: boolean | undefined;
|
|
2403
|
+
subject?: string | undefined;
|
|
2404
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1361
2405
|
custom?: Record<string, unknown> | undefined;
|
|
1362
|
-
interiorColor?: string | undefined;
|
|
1363
2406
|
} | {
|
|
1364
2407
|
id: string;
|
|
1365
2408
|
page: number;
|
|
@@ -1374,16 +2417,15 @@ export declare function useAnnotations(): {
|
|
|
1374
2417
|
createdAt: string;
|
|
1375
2418
|
modifiedAt: string;
|
|
1376
2419
|
source: "session" | "pdf";
|
|
1377
|
-
type: "
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
y: number;
|
|
1381
|
-
}[][];
|
|
1382
|
-
width: number;
|
|
2420
|
+
type: "mask";
|
|
2421
|
+
shape: "rect" | "ellipse";
|
|
2422
|
+
dim: number;
|
|
1383
2423
|
author?: string | undefined;
|
|
1384
2424
|
contents?: string | undefined;
|
|
1385
2425
|
inReplyTo?: string | undefined;
|
|
1386
2426
|
locked?: boolean | undefined;
|
|
2427
|
+
subject?: string | undefined;
|
|
2428
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1387
2429
|
custom?: Record<string, unknown> | undefined;
|
|
1388
2430
|
} | {
|
|
1389
2431
|
id: string;
|
|
@@ -1406,6 +2448,8 @@ export declare function useAnnotations(): {
|
|
|
1406
2448
|
contents?: string | undefined;
|
|
1407
2449
|
inReplyTo?: string | undefined;
|
|
1408
2450
|
locked?: boolean | undefined;
|
|
2451
|
+
subject?: string | undefined;
|
|
2452
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1409
2453
|
custom?: Record<string, unknown> | undefined;
|
|
1410
2454
|
quads?: {
|
|
1411
2455
|
p1: {
|
|
@@ -1474,6 +2518,8 @@ export declare function useAnnotations(): {
|
|
|
1474
2518
|
contents?: string | undefined;
|
|
1475
2519
|
inReplyTo?: string | undefined;
|
|
1476
2520
|
locked?: boolean | undefined;
|
|
2521
|
+
subject?: string | undefined;
|
|
2522
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1477
2523
|
custom?: Record<string, unknown> | undefined;
|
|
1478
2524
|
} | {
|
|
1479
2525
|
id: string;
|
|
@@ -1490,11 +2536,13 @@ export declare function useAnnotations(): {
|
|
|
1490
2536
|
modifiedAt: string;
|
|
1491
2537
|
source: "session" | "pdf";
|
|
1492
2538
|
type: "text";
|
|
1493
|
-
icon: "
|
|
2539
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
1494
2540
|
author?: string | undefined;
|
|
1495
2541
|
contents?: string | undefined;
|
|
1496
2542
|
inReplyTo?: string | undefined;
|
|
1497
2543
|
locked?: boolean | undefined;
|
|
2544
|
+
subject?: string | undefined;
|
|
2545
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1498
2546
|
custom?: Record<string, unknown> | undefined;
|
|
1499
2547
|
} | {
|
|
1500
2548
|
id: string;
|
|
@@ -1505,24 +2553,73 @@ export declare function useAnnotations(): {
|
|
|
1505
2553
|
width: number;
|
|
1506
2554
|
height: number;
|
|
1507
2555
|
};
|
|
1508
|
-
color: string;
|
|
1509
2556
|
opacity: number;
|
|
1510
2557
|
createdAt: string;
|
|
1511
2558
|
modifiedAt: string;
|
|
1512
2559
|
source: "session" | "pdf";
|
|
1513
2560
|
type: "freetext";
|
|
1514
2561
|
contents: string;
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
2562
|
+
width: number;
|
|
2563
|
+
defaultStyle: {
|
|
2564
|
+
fontFamily: string;
|
|
2565
|
+
fontSize: number;
|
|
2566
|
+
color: string;
|
|
2567
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
2568
|
+
fontWeight?: "bold" | undefined;
|
|
2569
|
+
fontStyle?: "italic" | undefined;
|
|
2570
|
+
textDecoration?: "underline" | undefined;
|
|
2571
|
+
align?: undefined;
|
|
2572
|
+
};
|
|
2573
|
+
author?: string | undefined;
|
|
2574
|
+
inReplyTo?: string | undefined;
|
|
2575
|
+
locked?: boolean | undefined;
|
|
2576
|
+
subject?: string | undefined;
|
|
2577
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2578
|
+
custom?: Record<string, unknown> | undefined;
|
|
2579
|
+
color?: string | undefined;
|
|
2580
|
+
borderColor?: string | undefined;
|
|
2581
|
+
dashes?: number[] | undefined;
|
|
2582
|
+
cornerRadius?: number | undefined;
|
|
2583
|
+
fringe?: {
|
|
2584
|
+
left: number;
|
|
2585
|
+
top: number;
|
|
2586
|
+
right: number;
|
|
2587
|
+
bottom: number;
|
|
2588
|
+
} | undefined;
|
|
1522
2589
|
callout?: {
|
|
1523
2590
|
x: number;
|
|
1524
2591
|
y: number;
|
|
1525
2592
|
}[] | undefined;
|
|
2593
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2594
|
+
fontFamily?: undefined;
|
|
2595
|
+
fontSize?: undefined;
|
|
2596
|
+
align?: undefined;
|
|
2597
|
+
} | {
|
|
2598
|
+
id: string;
|
|
2599
|
+
page: number;
|
|
2600
|
+
rect: {
|
|
2601
|
+
x: number;
|
|
2602
|
+
y: number;
|
|
2603
|
+
width: number;
|
|
2604
|
+
height: number;
|
|
2605
|
+
};
|
|
2606
|
+
color: string;
|
|
2607
|
+
opacity: number;
|
|
2608
|
+
createdAt: string;
|
|
2609
|
+
modifiedAt: string;
|
|
2610
|
+
source: "session" | "pdf";
|
|
2611
|
+
width: number;
|
|
2612
|
+
type: "square";
|
|
2613
|
+
author?: string | undefined;
|
|
2614
|
+
contents?: string | undefined;
|
|
2615
|
+
inReplyTo?: string | undefined;
|
|
2616
|
+
locked?: boolean | undefined;
|
|
2617
|
+
subject?: string | undefined;
|
|
2618
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2619
|
+
custom?: Record<string, unknown> | undefined;
|
|
2620
|
+
cornerRadius?: number | undefined;
|
|
2621
|
+
dashes?: number[] | undefined;
|
|
2622
|
+
interiorColor?: string | undefined;
|
|
1526
2623
|
} | {
|
|
1527
2624
|
id: string;
|
|
1528
2625
|
page: number;
|
|
@@ -1537,13 +2634,17 @@ export declare function useAnnotations(): {
|
|
|
1537
2634
|
createdAt: string;
|
|
1538
2635
|
modifiedAt: string;
|
|
1539
2636
|
source: "session" | "pdf";
|
|
1540
|
-
type: "square" | "circle";
|
|
1541
2637
|
width: number;
|
|
2638
|
+
type: "circle";
|
|
1542
2639
|
author?: string | undefined;
|
|
1543
2640
|
contents?: string | undefined;
|
|
1544
2641
|
inReplyTo?: string | undefined;
|
|
1545
2642
|
locked?: boolean | undefined;
|
|
2643
|
+
subject?: string | undefined;
|
|
2644
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1546
2645
|
custom?: Record<string, unknown> | undefined;
|
|
2646
|
+
cornerRadius?: undefined;
|
|
2647
|
+
dashes?: number[] | undefined;
|
|
1547
2648
|
interiorColor?: string | undefined;
|
|
1548
2649
|
} | {
|
|
1549
2650
|
id: string;
|
|
@@ -1573,9 +2674,43 @@ export declare function useAnnotations(): {
|
|
|
1573
2674
|
contents?: string | undefined;
|
|
1574
2675
|
inReplyTo?: string | undefined;
|
|
1575
2676
|
locked?: boolean | undefined;
|
|
2677
|
+
subject?: string | undefined;
|
|
2678
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2679
|
+
custom?: Record<string, unknown> | undefined;
|
|
2680
|
+
dashes?: number[] | undefined;
|
|
2681
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2682
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2683
|
+
} | {
|
|
2684
|
+
id: string;
|
|
2685
|
+
page: number;
|
|
2686
|
+
rect: {
|
|
2687
|
+
x: number;
|
|
2688
|
+
y: number;
|
|
2689
|
+
width: number;
|
|
2690
|
+
height: number;
|
|
2691
|
+
};
|
|
2692
|
+
color: string;
|
|
2693
|
+
opacity: number;
|
|
2694
|
+
createdAt: string;
|
|
2695
|
+
modifiedAt: string;
|
|
2696
|
+
source: "session" | "pdf";
|
|
2697
|
+
vertices: {
|
|
2698
|
+
x: number;
|
|
2699
|
+
y: number;
|
|
2700
|
+
}[];
|
|
2701
|
+
width: number;
|
|
2702
|
+
type: "polyline";
|
|
2703
|
+
author?: string | undefined;
|
|
2704
|
+
contents?: string | undefined;
|
|
2705
|
+
inReplyTo?: string | undefined;
|
|
2706
|
+
locked?: boolean | undefined;
|
|
2707
|
+
subject?: string | undefined;
|
|
2708
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1576
2709
|
custom?: Record<string, unknown> | undefined;
|
|
1577
|
-
head?: "
|
|
1578
|
-
tail?: "
|
|
2710
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2711
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
2712
|
+
dashes?: number[] | undefined;
|
|
2713
|
+
interiorColor?: string | undefined;
|
|
1579
2714
|
} | {
|
|
1580
2715
|
id: string;
|
|
1581
2716
|
page: number;
|
|
@@ -1590,17 +2725,22 @@ export declare function useAnnotations(): {
|
|
|
1590
2725
|
createdAt: string;
|
|
1591
2726
|
modifiedAt: string;
|
|
1592
2727
|
source: "session" | "pdf";
|
|
1593
|
-
type: "polyline" | "polygon";
|
|
1594
2728
|
vertices: {
|
|
1595
2729
|
x: number;
|
|
1596
2730
|
y: number;
|
|
1597
2731
|
}[];
|
|
1598
2732
|
width: number;
|
|
2733
|
+
type: "polygon";
|
|
1599
2734
|
author?: string | undefined;
|
|
1600
2735
|
contents?: string | undefined;
|
|
1601
2736
|
inReplyTo?: string | undefined;
|
|
1602
2737
|
locked?: boolean | undefined;
|
|
2738
|
+
subject?: string | undefined;
|
|
2739
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1603
2740
|
custom?: Record<string, unknown> | undefined;
|
|
2741
|
+
head?: undefined;
|
|
2742
|
+
tail?: undefined;
|
|
2743
|
+
dashes?: number[] | undefined;
|
|
1604
2744
|
interiorColor?: string | undefined;
|
|
1605
2745
|
} | {
|
|
1606
2746
|
id: string;
|
|
@@ -1626,6 +2766,82 @@ export declare function useAnnotations(): {
|
|
|
1626
2766
|
contents?: string | undefined;
|
|
1627
2767
|
inReplyTo?: string | undefined;
|
|
1628
2768
|
locked?: boolean | undefined;
|
|
2769
|
+
subject?: string | undefined;
|
|
2770
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2771
|
+
custom?: Record<string, unknown> | undefined;
|
|
2772
|
+
pressure?: number[][] | undefined;
|
|
2773
|
+
dashes?: number[] | undefined;
|
|
2774
|
+
} | {
|
|
2775
|
+
id: string;
|
|
2776
|
+
page: number;
|
|
2777
|
+
rect: {
|
|
2778
|
+
x: number;
|
|
2779
|
+
y: number;
|
|
2780
|
+
width: number;
|
|
2781
|
+
height: number;
|
|
2782
|
+
};
|
|
2783
|
+
color: string;
|
|
2784
|
+
opacity: number;
|
|
2785
|
+
createdAt: string;
|
|
2786
|
+
modifiedAt: string;
|
|
2787
|
+
source: "session" | "pdf";
|
|
2788
|
+
type: "stamp";
|
|
2789
|
+
imagedata: string;
|
|
2790
|
+
author?: string | undefined;
|
|
2791
|
+
contents?: string | undefined;
|
|
2792
|
+
inReplyTo?: string | undefined;
|
|
2793
|
+
locked?: boolean | undefined;
|
|
2794
|
+
subject?: string | undefined;
|
|
2795
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2796
|
+
custom?: Record<string, unknown> | undefined;
|
|
2797
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
2798
|
+
} | {
|
|
2799
|
+
id: string;
|
|
2800
|
+
page: number;
|
|
2801
|
+
rect: {
|
|
2802
|
+
x: number;
|
|
2803
|
+
y: number;
|
|
2804
|
+
width: number;
|
|
2805
|
+
height: number;
|
|
2806
|
+
};
|
|
2807
|
+
color: string;
|
|
2808
|
+
opacity: number;
|
|
2809
|
+
createdAt: string;
|
|
2810
|
+
modifiedAt: string;
|
|
2811
|
+
source: "session" | "pdf";
|
|
2812
|
+
type: "loupe";
|
|
2813
|
+
magnification: number;
|
|
2814
|
+
width: number;
|
|
2815
|
+
author?: string | undefined;
|
|
2816
|
+
contents?: string | undefined;
|
|
2817
|
+
inReplyTo?: string | undefined;
|
|
2818
|
+
locked?: boolean | undefined;
|
|
2819
|
+
subject?: string | undefined;
|
|
2820
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2821
|
+
custom?: Record<string, unknown> | undefined;
|
|
2822
|
+
} | {
|
|
2823
|
+
id: string;
|
|
2824
|
+
page: number;
|
|
2825
|
+
rect: {
|
|
2826
|
+
x: number;
|
|
2827
|
+
y: number;
|
|
2828
|
+
width: number;
|
|
2829
|
+
height: number;
|
|
2830
|
+
};
|
|
2831
|
+
color: string;
|
|
2832
|
+
opacity: number;
|
|
2833
|
+
createdAt: string;
|
|
2834
|
+
modifiedAt: string;
|
|
2835
|
+
source: "session" | "pdf";
|
|
2836
|
+
type: "mask";
|
|
2837
|
+
shape: "rect" | "ellipse";
|
|
2838
|
+
dim: number;
|
|
2839
|
+
author?: string | undefined;
|
|
2840
|
+
contents?: string | undefined;
|
|
2841
|
+
inReplyTo?: string | undefined;
|
|
2842
|
+
locked?: boolean | undefined;
|
|
2843
|
+
subject?: string | undefined;
|
|
2844
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1629
2845
|
custom?: Record<string, unknown> | undefined;
|
|
1630
2846
|
} | {
|
|
1631
2847
|
id: string;
|
|
@@ -1648,6 +2864,8 @@ export declare function useAnnotations(): {
|
|
|
1648
2864
|
contents?: string | undefined;
|
|
1649
2865
|
inReplyTo?: string | undefined;
|
|
1650
2866
|
locked?: boolean | undefined;
|
|
2867
|
+
subject?: string | undefined;
|
|
2868
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1651
2869
|
custom?: Record<string, unknown> | undefined;
|
|
1652
2870
|
quads?: {
|
|
1653
2871
|
p1: {
|
|
@@ -1714,6 +2932,8 @@ export declare function useAnnotations(): {
|
|
|
1714
2932
|
contents?: string | undefined;
|
|
1715
2933
|
inReplyTo?: string | undefined;
|
|
1716
2934
|
locked?: boolean | undefined;
|
|
2935
|
+
subject?: string | undefined;
|
|
2936
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1717
2937
|
custom?: Record<string, unknown> | undefined;
|
|
1718
2938
|
} | {
|
|
1719
2939
|
id: string;
|
|
@@ -1730,11 +2950,13 @@ export declare function useAnnotations(): {
|
|
|
1730
2950
|
modifiedAt: string;
|
|
1731
2951
|
source: "session" | "pdf";
|
|
1732
2952
|
type: "text";
|
|
1733
|
-
icon: "
|
|
2953
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
1734
2954
|
author?: string | undefined;
|
|
1735
2955
|
contents?: string | undefined;
|
|
1736
2956
|
inReplyTo?: string | undefined;
|
|
1737
2957
|
locked?: boolean | undefined;
|
|
2958
|
+
subject?: string | undefined;
|
|
2959
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1738
2960
|
custom?: Record<string, unknown> | undefined;
|
|
1739
2961
|
} | {
|
|
1740
2962
|
id: string;
|
|
@@ -1745,24 +2967,73 @@ export declare function useAnnotations(): {
|
|
|
1745
2967
|
width: number;
|
|
1746
2968
|
height: number;
|
|
1747
2969
|
};
|
|
1748
|
-
color: string;
|
|
1749
2970
|
opacity: number;
|
|
1750
2971
|
createdAt: string;
|
|
1751
2972
|
modifiedAt: string;
|
|
1752
2973
|
source: "session" | "pdf";
|
|
1753
2974
|
type: "freetext";
|
|
1754
2975
|
contents: string;
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
2976
|
+
width: number;
|
|
2977
|
+
defaultStyle: {
|
|
2978
|
+
fontFamily: string;
|
|
2979
|
+
fontSize: number;
|
|
2980
|
+
color: string;
|
|
2981
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
2982
|
+
fontWeight?: "bold" | undefined;
|
|
2983
|
+
fontStyle?: "italic" | undefined;
|
|
2984
|
+
textDecoration?: "underline" | undefined;
|
|
2985
|
+
align?: undefined;
|
|
2986
|
+
};
|
|
2987
|
+
author?: string | undefined;
|
|
2988
|
+
inReplyTo?: string | undefined;
|
|
2989
|
+
locked?: boolean | undefined;
|
|
2990
|
+
subject?: string | undefined;
|
|
2991
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
2992
|
+
custom?: Record<string, unknown> | undefined;
|
|
2993
|
+
color?: string | undefined;
|
|
2994
|
+
borderColor?: string | undefined;
|
|
2995
|
+
dashes?: number[] | undefined;
|
|
2996
|
+
cornerRadius?: number | undefined;
|
|
2997
|
+
fringe?: {
|
|
2998
|
+
left: number;
|
|
2999
|
+
top: number;
|
|
3000
|
+
right: number;
|
|
3001
|
+
bottom: number;
|
|
3002
|
+
} | undefined;
|
|
1762
3003
|
callout?: {
|
|
1763
3004
|
x: number;
|
|
1764
3005
|
y: number;
|
|
1765
3006
|
}[] | undefined;
|
|
3007
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
3008
|
+
fontFamily?: undefined;
|
|
3009
|
+
fontSize?: undefined;
|
|
3010
|
+
align?: undefined;
|
|
3011
|
+
} | {
|
|
3012
|
+
id: string;
|
|
3013
|
+
page: number;
|
|
3014
|
+
rect: {
|
|
3015
|
+
x: number;
|
|
3016
|
+
y: number;
|
|
3017
|
+
width: number;
|
|
3018
|
+
height: number;
|
|
3019
|
+
};
|
|
3020
|
+
color: string;
|
|
3021
|
+
opacity: number;
|
|
3022
|
+
createdAt: string;
|
|
3023
|
+
modifiedAt: string;
|
|
3024
|
+
source: "session" | "pdf";
|
|
3025
|
+
width: number;
|
|
3026
|
+
type: "square";
|
|
3027
|
+
author?: string | undefined;
|
|
3028
|
+
contents?: string | undefined;
|
|
3029
|
+
inReplyTo?: string | undefined;
|
|
3030
|
+
locked?: boolean | undefined;
|
|
3031
|
+
subject?: string | undefined;
|
|
3032
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
3033
|
+
custom?: Record<string, unknown> | undefined;
|
|
3034
|
+
cornerRadius?: number | undefined;
|
|
3035
|
+
dashes?: number[] | undefined;
|
|
3036
|
+
interiorColor?: string | undefined;
|
|
1766
3037
|
} | {
|
|
1767
3038
|
id: string;
|
|
1768
3039
|
page: number;
|
|
@@ -1777,13 +3048,17 @@ export declare function useAnnotations(): {
|
|
|
1777
3048
|
createdAt: string;
|
|
1778
3049
|
modifiedAt: string;
|
|
1779
3050
|
source: "session" | "pdf";
|
|
1780
|
-
type: "square" | "circle";
|
|
1781
3051
|
width: number;
|
|
3052
|
+
type: "circle";
|
|
1782
3053
|
author?: string | undefined;
|
|
1783
3054
|
contents?: string | undefined;
|
|
1784
3055
|
inReplyTo?: string | undefined;
|
|
1785
3056
|
locked?: boolean | undefined;
|
|
3057
|
+
subject?: string | undefined;
|
|
3058
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1786
3059
|
custom?: Record<string, unknown> | undefined;
|
|
3060
|
+
cornerRadius?: undefined;
|
|
3061
|
+
dashes?: number[] | undefined;
|
|
1787
3062
|
interiorColor?: string | undefined;
|
|
1788
3063
|
} | {
|
|
1789
3064
|
id: string;
|
|
@@ -1813,9 +3088,43 @@ export declare function useAnnotations(): {
|
|
|
1813
3088
|
contents?: string | undefined;
|
|
1814
3089
|
inReplyTo?: string | undefined;
|
|
1815
3090
|
locked?: boolean | undefined;
|
|
3091
|
+
subject?: string | undefined;
|
|
3092
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
3093
|
+
custom?: Record<string, unknown> | undefined;
|
|
3094
|
+
dashes?: number[] | undefined;
|
|
3095
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
3096
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
3097
|
+
} | {
|
|
3098
|
+
id: string;
|
|
3099
|
+
page: number;
|
|
3100
|
+
rect: {
|
|
3101
|
+
x: number;
|
|
3102
|
+
y: number;
|
|
3103
|
+
width: number;
|
|
3104
|
+
height: number;
|
|
3105
|
+
};
|
|
3106
|
+
color: string;
|
|
3107
|
+
opacity: number;
|
|
3108
|
+
createdAt: string;
|
|
3109
|
+
modifiedAt: string;
|
|
3110
|
+
source: "session" | "pdf";
|
|
3111
|
+
vertices: {
|
|
3112
|
+
x: number;
|
|
3113
|
+
y: number;
|
|
3114
|
+
}[];
|
|
3115
|
+
width: number;
|
|
3116
|
+
type: "polyline";
|
|
3117
|
+
author?: string | undefined;
|
|
3118
|
+
contents?: string | undefined;
|
|
3119
|
+
inReplyTo?: string | undefined;
|
|
3120
|
+
locked?: boolean | undefined;
|
|
3121
|
+
subject?: string | undefined;
|
|
3122
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1816
3123
|
custom?: Record<string, unknown> | undefined;
|
|
1817
|
-
head?: "
|
|
1818
|
-
tail?: "
|
|
3124
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
3125
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
3126
|
+
dashes?: number[] | undefined;
|
|
3127
|
+
interiorColor?: string | undefined;
|
|
1819
3128
|
} | {
|
|
1820
3129
|
id: string;
|
|
1821
3130
|
page: number;
|
|
@@ -1830,17 +3139,22 @@ export declare function useAnnotations(): {
|
|
|
1830
3139
|
createdAt: string;
|
|
1831
3140
|
modifiedAt: string;
|
|
1832
3141
|
source: "session" | "pdf";
|
|
1833
|
-
type: "polyline" | "polygon";
|
|
1834
3142
|
vertices: {
|
|
1835
3143
|
x: number;
|
|
1836
3144
|
y: number;
|
|
1837
3145
|
}[];
|
|
1838
3146
|
width: number;
|
|
3147
|
+
type: "polygon";
|
|
1839
3148
|
author?: string | undefined;
|
|
1840
3149
|
contents?: string | undefined;
|
|
1841
3150
|
inReplyTo?: string | undefined;
|
|
1842
3151
|
locked?: boolean | undefined;
|
|
3152
|
+
subject?: string | undefined;
|
|
3153
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1843
3154
|
custom?: Record<string, unknown> | undefined;
|
|
3155
|
+
head?: undefined;
|
|
3156
|
+
tail?: undefined;
|
|
3157
|
+
dashes?: number[] | undefined;
|
|
1844
3158
|
interiorColor?: string | undefined;
|
|
1845
3159
|
} | {
|
|
1846
3160
|
id: string;
|
|
@@ -1866,6 +3180,82 @@ export declare function useAnnotations(): {
|
|
|
1866
3180
|
contents?: string | undefined;
|
|
1867
3181
|
inReplyTo?: string | undefined;
|
|
1868
3182
|
locked?: boolean | undefined;
|
|
3183
|
+
subject?: string | undefined;
|
|
3184
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
3185
|
+
custom?: Record<string, unknown> | undefined;
|
|
3186
|
+
pressure?: number[][] | undefined;
|
|
3187
|
+
dashes?: number[] | undefined;
|
|
3188
|
+
} | {
|
|
3189
|
+
id: string;
|
|
3190
|
+
page: number;
|
|
3191
|
+
rect: {
|
|
3192
|
+
x: number;
|
|
3193
|
+
y: number;
|
|
3194
|
+
width: number;
|
|
3195
|
+
height: number;
|
|
3196
|
+
};
|
|
3197
|
+
color: string;
|
|
3198
|
+
opacity: number;
|
|
3199
|
+
createdAt: string;
|
|
3200
|
+
modifiedAt: string;
|
|
3201
|
+
source: "session" | "pdf";
|
|
3202
|
+
type: "stamp";
|
|
3203
|
+
imagedata: string;
|
|
3204
|
+
author?: string | undefined;
|
|
3205
|
+
contents?: string | undefined;
|
|
3206
|
+
inReplyTo?: string | undefined;
|
|
3207
|
+
locked?: boolean | undefined;
|
|
3208
|
+
subject?: string | undefined;
|
|
3209
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
3210
|
+
custom?: Record<string, unknown> | undefined;
|
|
3211
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
3212
|
+
} | {
|
|
3213
|
+
id: string;
|
|
3214
|
+
page: number;
|
|
3215
|
+
rect: {
|
|
3216
|
+
x: number;
|
|
3217
|
+
y: number;
|
|
3218
|
+
width: number;
|
|
3219
|
+
height: number;
|
|
3220
|
+
};
|
|
3221
|
+
color: string;
|
|
3222
|
+
opacity: number;
|
|
3223
|
+
createdAt: string;
|
|
3224
|
+
modifiedAt: string;
|
|
3225
|
+
source: "session" | "pdf";
|
|
3226
|
+
type: "loupe";
|
|
3227
|
+
magnification: number;
|
|
3228
|
+
width: number;
|
|
3229
|
+
author?: string | undefined;
|
|
3230
|
+
contents?: string | undefined;
|
|
3231
|
+
inReplyTo?: string | undefined;
|
|
3232
|
+
locked?: boolean | undefined;
|
|
3233
|
+
subject?: string | undefined;
|
|
3234
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
3235
|
+
custom?: Record<string, unknown> | undefined;
|
|
3236
|
+
} | {
|
|
3237
|
+
id: string;
|
|
3238
|
+
page: number;
|
|
3239
|
+
rect: {
|
|
3240
|
+
x: number;
|
|
3241
|
+
y: number;
|
|
3242
|
+
width: number;
|
|
3243
|
+
height: number;
|
|
3244
|
+
};
|
|
3245
|
+
color: string;
|
|
3246
|
+
opacity: number;
|
|
3247
|
+
createdAt: string;
|
|
3248
|
+
modifiedAt: string;
|
|
3249
|
+
source: "session" | "pdf";
|
|
3250
|
+
type: "mask";
|
|
3251
|
+
shape: "rect" | "ellipse";
|
|
3252
|
+
dim: number;
|
|
3253
|
+
author?: string | undefined;
|
|
3254
|
+
contents?: string | undefined;
|
|
3255
|
+
inReplyTo?: string | undefined;
|
|
3256
|
+
locked?: boolean | undefined;
|
|
3257
|
+
subject?: string | undefined;
|
|
3258
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1869
3259
|
custom?: Record<string, unknown> | undefined;
|
|
1870
3260
|
} | {
|
|
1871
3261
|
id: string;
|
|
@@ -1888,6 +3278,8 @@ export declare function useAnnotations(): {
|
|
|
1888
3278
|
contents?: string | undefined;
|
|
1889
3279
|
inReplyTo?: string | undefined;
|
|
1890
3280
|
locked?: boolean | undefined;
|
|
3281
|
+
subject?: string | undefined;
|
|
3282
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1891
3283
|
custom?: Record<string, unknown> | undefined;
|
|
1892
3284
|
quads?: {
|
|
1893
3285
|
p1: {
|