@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,6 +1,6 @@
|
|
|
1
|
-
import { InkError, Annotation, AnnotationChange, AnnotationDefaults, DocumentSource, InkDocument, PdfAssets } from '@inkbar/core';
|
|
1
|
+
import { InkError, Annotation, AnnotationChange, AnnotationDefaults, DocumentSource, InkDocument, PdfAssets, SignatureStore } from '@inkbar/core';
|
|
2
2
|
import { InkHistory, InkStatus } from '../context';
|
|
3
|
-
import { ToolId, ZoomValue } from '@inkbar/core/dom';
|
|
3
|
+
import { Tool, ToolId, ZoomValue } from '@inkbar/core/dom';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
src: DocumentSource | null;
|
|
6
6
|
assets: PdfAssets;
|
|
@@ -13,6 +13,24 @@ type __VLS_Props = {
|
|
|
13
13
|
*/
|
|
14
14
|
annotations?: Annotation[] | undefined;
|
|
15
15
|
tool?: ToolId | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Host tools, added to the built-ins; one with a built-in's id replaces it. Read when a
|
|
18
|
+
* document opens.
|
|
19
|
+
*/
|
|
20
|
+
tools?: Tool[] | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The font families text boxes offer, replacing the PDF standard families
|
|
23
|
+
* (`FONT_FAMILIES`). Fonts beyond those are the PDF writer's to embed.
|
|
24
|
+
*/
|
|
25
|
+
fonts?: string[] | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Where saved signatures live. Default: memory, gone on reload.
|
|
28
|
+
* `createLocalSignatureStore` keeps them in the browser; a host can keep them anywhere.
|
|
29
|
+
* A new store takes effect at once, for the menus and the `signature` tool alike.
|
|
30
|
+
*/
|
|
31
|
+
signatures?: SignatureStore | undefined;
|
|
32
|
+
/** The handwriting fonts a typed signature offers; the host loads them. */
|
|
33
|
+
signatureFonts?: string[] | undefined;
|
|
16
34
|
page?: number | undefined;
|
|
17
35
|
zoom?: ZoomValue | undefined;
|
|
18
36
|
/** Undo history. Defaults to on for uncontrolled, off for controlled. */
|
|
@@ -69,6 +87,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
69
87
|
contents?: string | undefined;
|
|
70
88
|
inReplyTo?: string | undefined;
|
|
71
89
|
locked?: boolean | undefined;
|
|
90
|
+
subject?: string | undefined;
|
|
91
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
72
92
|
custom?: Record<string, unknown> | undefined;
|
|
73
93
|
} | {
|
|
74
94
|
id: string;
|
|
@@ -85,11 +105,13 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
85
105
|
modifiedAt: string;
|
|
86
106
|
source: "session" | "pdf";
|
|
87
107
|
type: "text";
|
|
88
|
-
icon: "
|
|
108
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
89
109
|
author?: string | undefined;
|
|
90
110
|
contents?: string | undefined;
|
|
91
111
|
inReplyTo?: string | undefined;
|
|
92
112
|
locked?: boolean | undefined;
|
|
113
|
+
subject?: string | undefined;
|
|
114
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
93
115
|
custom?: Record<string, unknown> | undefined;
|
|
94
116
|
} | {
|
|
95
117
|
id: string;
|
|
@@ -100,24 +122,73 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
100
122
|
width: number;
|
|
101
123
|
height: number;
|
|
102
124
|
};
|
|
103
|
-
color: string;
|
|
104
125
|
opacity: number;
|
|
105
126
|
createdAt: string;
|
|
106
127
|
modifiedAt: string;
|
|
107
128
|
source: "session" | "pdf";
|
|
108
129
|
type: "freetext";
|
|
109
130
|
contents: string;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
131
|
+
width: number;
|
|
132
|
+
defaultStyle: {
|
|
133
|
+
fontFamily: string;
|
|
134
|
+
fontSize: number;
|
|
135
|
+
color: string;
|
|
136
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
137
|
+
fontWeight?: "bold" | undefined;
|
|
138
|
+
fontStyle?: "italic" | undefined;
|
|
139
|
+
textDecoration?: "underline" | undefined;
|
|
140
|
+
align?: undefined;
|
|
141
|
+
};
|
|
113
142
|
author?: string | undefined;
|
|
114
143
|
inReplyTo?: string | undefined;
|
|
115
144
|
locked?: boolean | undefined;
|
|
145
|
+
subject?: string | undefined;
|
|
146
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
116
147
|
custom?: Record<string, unknown> | undefined;
|
|
148
|
+
color?: string | undefined;
|
|
149
|
+
borderColor?: string | undefined;
|
|
150
|
+
dashes?: number[] | undefined;
|
|
151
|
+
cornerRadius?: number | undefined;
|
|
152
|
+
fringe?: {
|
|
153
|
+
left: number;
|
|
154
|
+
top: number;
|
|
155
|
+
right: number;
|
|
156
|
+
bottom: number;
|
|
157
|
+
} | undefined;
|
|
117
158
|
callout?: {
|
|
118
159
|
x: number;
|
|
119
160
|
y: number;
|
|
120
161
|
}[] | undefined;
|
|
162
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
163
|
+
fontFamily?: undefined;
|
|
164
|
+
fontSize?: undefined;
|
|
165
|
+
align?: undefined;
|
|
166
|
+
} | {
|
|
167
|
+
id: string;
|
|
168
|
+
page: number;
|
|
169
|
+
rect: {
|
|
170
|
+
x: number;
|
|
171
|
+
y: number;
|
|
172
|
+
width: number;
|
|
173
|
+
height: number;
|
|
174
|
+
};
|
|
175
|
+
color: string;
|
|
176
|
+
opacity: number;
|
|
177
|
+
createdAt: string;
|
|
178
|
+
modifiedAt: string;
|
|
179
|
+
source: "session" | "pdf";
|
|
180
|
+
width: number;
|
|
181
|
+
type: "square";
|
|
182
|
+
author?: string | undefined;
|
|
183
|
+
contents?: string | undefined;
|
|
184
|
+
inReplyTo?: string | undefined;
|
|
185
|
+
locked?: boolean | undefined;
|
|
186
|
+
subject?: string | undefined;
|
|
187
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
188
|
+
custom?: Record<string, unknown> | undefined;
|
|
189
|
+
cornerRadius?: number | undefined;
|
|
190
|
+
dashes?: number[] | undefined;
|
|
191
|
+
interiorColor?: string | undefined;
|
|
121
192
|
} | {
|
|
122
193
|
id: string;
|
|
123
194
|
page: number;
|
|
@@ -132,13 +203,17 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
132
203
|
createdAt: string;
|
|
133
204
|
modifiedAt: string;
|
|
134
205
|
source: "session" | "pdf";
|
|
135
|
-
type: "square" | "circle";
|
|
136
206
|
width: number;
|
|
207
|
+
type: "circle";
|
|
137
208
|
author?: string | undefined;
|
|
138
209
|
contents?: string | undefined;
|
|
139
210
|
inReplyTo?: string | undefined;
|
|
140
211
|
locked?: boolean | undefined;
|
|
212
|
+
subject?: string | undefined;
|
|
213
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
141
214
|
custom?: Record<string, unknown> | undefined;
|
|
215
|
+
cornerRadius?: undefined;
|
|
216
|
+
dashes?: number[] | undefined;
|
|
142
217
|
interiorColor?: string | undefined;
|
|
143
218
|
} | {
|
|
144
219
|
id: string;
|
|
@@ -168,9 +243,12 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
168
243
|
contents?: string | undefined;
|
|
169
244
|
inReplyTo?: string | undefined;
|
|
170
245
|
locked?: boolean | undefined;
|
|
246
|
+
subject?: string | undefined;
|
|
247
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
171
248
|
custom?: Record<string, unknown> | undefined;
|
|
172
|
-
|
|
173
|
-
|
|
249
|
+
dashes?: number[] | undefined;
|
|
250
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
251
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
174
252
|
} | {
|
|
175
253
|
id: string;
|
|
176
254
|
page: number;
|
|
@@ -185,17 +263,53 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
185
263
|
createdAt: string;
|
|
186
264
|
modifiedAt: string;
|
|
187
265
|
source: "session" | "pdf";
|
|
188
|
-
type: "polyline" | "polygon";
|
|
189
266
|
vertices: {
|
|
190
267
|
x: number;
|
|
191
268
|
y: number;
|
|
192
269
|
}[];
|
|
193
270
|
width: number;
|
|
271
|
+
type: "polyline";
|
|
194
272
|
author?: string | undefined;
|
|
195
273
|
contents?: string | undefined;
|
|
196
274
|
inReplyTo?: string | undefined;
|
|
197
275
|
locked?: boolean | undefined;
|
|
276
|
+
subject?: string | undefined;
|
|
277
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
198
278
|
custom?: Record<string, unknown> | undefined;
|
|
279
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
280
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
281
|
+
dashes?: number[] | undefined;
|
|
282
|
+
interiorColor?: string | undefined;
|
|
283
|
+
} | {
|
|
284
|
+
id: string;
|
|
285
|
+
page: number;
|
|
286
|
+
rect: {
|
|
287
|
+
x: number;
|
|
288
|
+
y: number;
|
|
289
|
+
width: number;
|
|
290
|
+
height: number;
|
|
291
|
+
};
|
|
292
|
+
color: string;
|
|
293
|
+
opacity: number;
|
|
294
|
+
createdAt: string;
|
|
295
|
+
modifiedAt: string;
|
|
296
|
+
source: "session" | "pdf";
|
|
297
|
+
vertices: {
|
|
298
|
+
x: number;
|
|
299
|
+
y: number;
|
|
300
|
+
}[];
|
|
301
|
+
width: number;
|
|
302
|
+
type: "polygon";
|
|
303
|
+
author?: string | undefined;
|
|
304
|
+
contents?: string | undefined;
|
|
305
|
+
inReplyTo?: string | undefined;
|
|
306
|
+
locked?: boolean | undefined;
|
|
307
|
+
subject?: string | undefined;
|
|
308
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
309
|
+
custom?: Record<string, unknown> | undefined;
|
|
310
|
+
head?: undefined;
|
|
311
|
+
tail?: undefined;
|
|
312
|
+
dashes?: number[] | undefined;
|
|
199
313
|
interiorColor?: string | undefined;
|
|
200
314
|
} | {
|
|
201
315
|
id: string;
|
|
@@ -221,6 +335,82 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
221
335
|
contents?: string | undefined;
|
|
222
336
|
inReplyTo?: string | undefined;
|
|
223
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
|
+
pressure?: number[][] | undefined;
|
|
342
|
+
dashes?: number[] | undefined;
|
|
343
|
+
} | {
|
|
344
|
+
id: string;
|
|
345
|
+
page: number;
|
|
346
|
+
rect: {
|
|
347
|
+
x: number;
|
|
348
|
+
y: number;
|
|
349
|
+
width: number;
|
|
350
|
+
height: number;
|
|
351
|
+
};
|
|
352
|
+
color: string;
|
|
353
|
+
opacity: number;
|
|
354
|
+
createdAt: string;
|
|
355
|
+
modifiedAt: string;
|
|
356
|
+
source: "session" | "pdf";
|
|
357
|
+
type: "stamp";
|
|
358
|
+
imagedata: string;
|
|
359
|
+
author?: string | undefined;
|
|
360
|
+
contents?: string | undefined;
|
|
361
|
+
inReplyTo?: string | undefined;
|
|
362
|
+
locked?: boolean | undefined;
|
|
363
|
+
subject?: string | undefined;
|
|
364
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
365
|
+
custom?: Record<string, unknown> | undefined;
|
|
366
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
367
|
+
} | {
|
|
368
|
+
id: string;
|
|
369
|
+
page: number;
|
|
370
|
+
rect: {
|
|
371
|
+
x: number;
|
|
372
|
+
y: number;
|
|
373
|
+
width: number;
|
|
374
|
+
height: number;
|
|
375
|
+
};
|
|
376
|
+
color: string;
|
|
377
|
+
opacity: number;
|
|
378
|
+
createdAt: string;
|
|
379
|
+
modifiedAt: string;
|
|
380
|
+
source: "session" | "pdf";
|
|
381
|
+
type: "loupe";
|
|
382
|
+
magnification: number;
|
|
383
|
+
width: number;
|
|
384
|
+
author?: string | undefined;
|
|
385
|
+
contents?: string | undefined;
|
|
386
|
+
inReplyTo?: string | undefined;
|
|
387
|
+
locked?: boolean | undefined;
|
|
388
|
+
subject?: string | undefined;
|
|
389
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
390
|
+
custom?: Record<string, unknown> | undefined;
|
|
391
|
+
} | {
|
|
392
|
+
id: string;
|
|
393
|
+
page: number;
|
|
394
|
+
rect: {
|
|
395
|
+
x: number;
|
|
396
|
+
y: number;
|
|
397
|
+
width: number;
|
|
398
|
+
height: number;
|
|
399
|
+
};
|
|
400
|
+
color: string;
|
|
401
|
+
opacity: number;
|
|
402
|
+
createdAt: string;
|
|
403
|
+
modifiedAt: string;
|
|
404
|
+
source: "session" | "pdf";
|
|
405
|
+
type: "mask";
|
|
406
|
+
shape: "rect" | "ellipse";
|
|
407
|
+
dim: number;
|
|
408
|
+
author?: string | undefined;
|
|
409
|
+
contents?: string | undefined;
|
|
410
|
+
inReplyTo?: string | undefined;
|
|
411
|
+
locked?: boolean | undefined;
|
|
412
|
+
subject?: string | undefined;
|
|
413
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
224
414
|
custom?: Record<string, unknown> | undefined;
|
|
225
415
|
} | {
|
|
226
416
|
id: string;
|
|
@@ -243,6 +433,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
243
433
|
contents?: string | undefined;
|
|
244
434
|
inReplyTo?: string | undefined;
|
|
245
435
|
locked?: boolean | undefined;
|
|
436
|
+
subject?: string | undefined;
|
|
437
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
246
438
|
custom?: Record<string, unknown> | undefined;
|
|
247
439
|
quads?: {
|
|
248
440
|
p1: {
|
|
@@ -316,6 +508,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
316
508
|
contents?: string | undefined;
|
|
317
509
|
inReplyTo?: string | undefined;
|
|
318
510
|
locked?: boolean | undefined;
|
|
511
|
+
subject?: string | undefined;
|
|
512
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
319
513
|
custom?: Record<string, unknown> | undefined;
|
|
320
514
|
} | {
|
|
321
515
|
id: string;
|
|
@@ -332,11 +526,13 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
332
526
|
modifiedAt: string;
|
|
333
527
|
source: "session" | "pdf";
|
|
334
528
|
type: "text";
|
|
335
|
-
icon: "
|
|
529
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
336
530
|
author?: string | undefined;
|
|
337
531
|
contents?: string | undefined;
|
|
338
532
|
inReplyTo?: string | undefined;
|
|
339
533
|
locked?: boolean | undefined;
|
|
534
|
+
subject?: string | undefined;
|
|
535
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
340
536
|
custom?: Record<string, unknown> | undefined;
|
|
341
537
|
} | {
|
|
342
538
|
id: string;
|
|
@@ -347,24 +543,73 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
347
543
|
width: number;
|
|
348
544
|
height: number;
|
|
349
545
|
};
|
|
350
|
-
color: string;
|
|
351
546
|
opacity: number;
|
|
352
547
|
createdAt: string;
|
|
353
548
|
modifiedAt: string;
|
|
354
549
|
source: "session" | "pdf";
|
|
355
550
|
type: "freetext";
|
|
356
551
|
contents: string;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
552
|
+
width: number;
|
|
553
|
+
defaultStyle: {
|
|
554
|
+
fontFamily: string;
|
|
555
|
+
fontSize: number;
|
|
556
|
+
color: string;
|
|
557
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
558
|
+
fontWeight?: "bold" | undefined;
|
|
559
|
+
fontStyle?: "italic" | undefined;
|
|
560
|
+
textDecoration?: "underline" | undefined;
|
|
561
|
+
align?: undefined;
|
|
562
|
+
};
|
|
360
563
|
author?: string | undefined;
|
|
361
564
|
inReplyTo?: string | undefined;
|
|
362
565
|
locked?: boolean | undefined;
|
|
566
|
+
subject?: string | undefined;
|
|
567
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
363
568
|
custom?: Record<string, unknown> | undefined;
|
|
569
|
+
color?: string | undefined;
|
|
570
|
+
borderColor?: string | undefined;
|
|
571
|
+
dashes?: number[] | undefined;
|
|
572
|
+
cornerRadius?: number | undefined;
|
|
573
|
+
fringe?: {
|
|
574
|
+
left: number;
|
|
575
|
+
top: number;
|
|
576
|
+
right: number;
|
|
577
|
+
bottom: number;
|
|
578
|
+
} | undefined;
|
|
364
579
|
callout?: {
|
|
365
580
|
x: number;
|
|
366
581
|
y: number;
|
|
367
582
|
}[] | undefined;
|
|
583
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
584
|
+
fontFamily?: undefined;
|
|
585
|
+
fontSize?: undefined;
|
|
586
|
+
align?: undefined;
|
|
587
|
+
} | {
|
|
588
|
+
id: string;
|
|
589
|
+
page: number;
|
|
590
|
+
rect: {
|
|
591
|
+
x: number;
|
|
592
|
+
y: number;
|
|
593
|
+
width: number;
|
|
594
|
+
height: number;
|
|
595
|
+
};
|
|
596
|
+
color: string;
|
|
597
|
+
opacity: number;
|
|
598
|
+
createdAt: string;
|
|
599
|
+
modifiedAt: string;
|
|
600
|
+
source: "session" | "pdf";
|
|
601
|
+
width: number;
|
|
602
|
+
type: "square";
|
|
603
|
+
author?: string | undefined;
|
|
604
|
+
contents?: string | undefined;
|
|
605
|
+
inReplyTo?: string | undefined;
|
|
606
|
+
locked?: boolean | undefined;
|
|
607
|
+
subject?: string | undefined;
|
|
608
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
609
|
+
custom?: Record<string, unknown> | undefined;
|
|
610
|
+
cornerRadius?: number | undefined;
|
|
611
|
+
dashes?: number[] | undefined;
|
|
612
|
+
interiorColor?: string | undefined;
|
|
368
613
|
} | {
|
|
369
614
|
id: string;
|
|
370
615
|
page: number;
|
|
@@ -379,13 +624,17 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
379
624
|
createdAt: string;
|
|
380
625
|
modifiedAt: string;
|
|
381
626
|
source: "session" | "pdf";
|
|
382
|
-
type: "square" | "circle";
|
|
383
627
|
width: number;
|
|
628
|
+
type: "circle";
|
|
384
629
|
author?: string | undefined;
|
|
385
630
|
contents?: string | undefined;
|
|
386
631
|
inReplyTo?: string | undefined;
|
|
387
632
|
locked?: boolean | undefined;
|
|
633
|
+
subject?: string | undefined;
|
|
634
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
388
635
|
custom?: Record<string, unknown> | undefined;
|
|
636
|
+
cornerRadius?: undefined;
|
|
637
|
+
dashes?: number[] | undefined;
|
|
389
638
|
interiorColor?: string | undefined;
|
|
390
639
|
} | {
|
|
391
640
|
id: string;
|
|
@@ -415,9 +664,12 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
415
664
|
contents?: string | undefined;
|
|
416
665
|
inReplyTo?: string | undefined;
|
|
417
666
|
locked?: boolean | undefined;
|
|
667
|
+
subject?: string | undefined;
|
|
668
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
418
669
|
custom?: Record<string, unknown> | undefined;
|
|
419
|
-
|
|
420
|
-
|
|
670
|
+
dashes?: number[] | undefined;
|
|
671
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
672
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
421
673
|
} | {
|
|
422
674
|
id: string;
|
|
423
675
|
page: number;
|
|
@@ -432,17 +684,53 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
432
684
|
createdAt: string;
|
|
433
685
|
modifiedAt: string;
|
|
434
686
|
source: "session" | "pdf";
|
|
435
|
-
type: "polyline" | "polygon";
|
|
436
687
|
vertices: {
|
|
437
688
|
x: number;
|
|
438
689
|
y: number;
|
|
439
690
|
}[];
|
|
440
691
|
width: number;
|
|
692
|
+
type: "polyline";
|
|
441
693
|
author?: string | undefined;
|
|
442
694
|
contents?: string | undefined;
|
|
443
695
|
inReplyTo?: string | undefined;
|
|
444
696
|
locked?: boolean | undefined;
|
|
697
|
+
subject?: string | undefined;
|
|
698
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
445
699
|
custom?: Record<string, unknown> | undefined;
|
|
700
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
701
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
702
|
+
dashes?: number[] | undefined;
|
|
703
|
+
interiorColor?: string | undefined;
|
|
704
|
+
} | {
|
|
705
|
+
id: string;
|
|
706
|
+
page: number;
|
|
707
|
+
rect: {
|
|
708
|
+
x: number;
|
|
709
|
+
y: number;
|
|
710
|
+
width: number;
|
|
711
|
+
height: number;
|
|
712
|
+
};
|
|
713
|
+
color: string;
|
|
714
|
+
opacity: number;
|
|
715
|
+
createdAt: string;
|
|
716
|
+
modifiedAt: string;
|
|
717
|
+
source: "session" | "pdf";
|
|
718
|
+
vertices: {
|
|
719
|
+
x: number;
|
|
720
|
+
y: number;
|
|
721
|
+
}[];
|
|
722
|
+
width: number;
|
|
723
|
+
type: "polygon";
|
|
724
|
+
author?: string | undefined;
|
|
725
|
+
contents?: string | undefined;
|
|
726
|
+
inReplyTo?: string | undefined;
|
|
727
|
+
locked?: boolean | undefined;
|
|
728
|
+
subject?: string | undefined;
|
|
729
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
730
|
+
custom?: Record<string, unknown> | undefined;
|
|
731
|
+
head?: undefined;
|
|
732
|
+
tail?: undefined;
|
|
733
|
+
dashes?: number[] | undefined;
|
|
446
734
|
interiorColor?: string | undefined;
|
|
447
735
|
} | {
|
|
448
736
|
id: string;
|
|
@@ -468,6 +756,82 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
468
756
|
contents?: string | undefined;
|
|
469
757
|
inReplyTo?: string | undefined;
|
|
470
758
|
locked?: boolean | undefined;
|
|
759
|
+
subject?: string | undefined;
|
|
760
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
761
|
+
custom?: Record<string, unknown> | undefined;
|
|
762
|
+
pressure?: number[][] | undefined;
|
|
763
|
+
dashes?: number[] | undefined;
|
|
764
|
+
} | {
|
|
765
|
+
id: string;
|
|
766
|
+
page: number;
|
|
767
|
+
rect: {
|
|
768
|
+
x: number;
|
|
769
|
+
y: number;
|
|
770
|
+
width: number;
|
|
771
|
+
height: number;
|
|
772
|
+
};
|
|
773
|
+
color: string;
|
|
774
|
+
opacity: number;
|
|
775
|
+
createdAt: string;
|
|
776
|
+
modifiedAt: string;
|
|
777
|
+
source: "session" | "pdf";
|
|
778
|
+
type: "stamp";
|
|
779
|
+
imagedata: string;
|
|
780
|
+
author?: string | undefined;
|
|
781
|
+
contents?: string | undefined;
|
|
782
|
+
inReplyTo?: string | undefined;
|
|
783
|
+
locked?: boolean | undefined;
|
|
784
|
+
subject?: string | undefined;
|
|
785
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
786
|
+
custom?: Record<string, unknown> | undefined;
|
|
787
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
788
|
+
} | {
|
|
789
|
+
id: string;
|
|
790
|
+
page: number;
|
|
791
|
+
rect: {
|
|
792
|
+
x: number;
|
|
793
|
+
y: number;
|
|
794
|
+
width: number;
|
|
795
|
+
height: number;
|
|
796
|
+
};
|
|
797
|
+
color: string;
|
|
798
|
+
opacity: number;
|
|
799
|
+
createdAt: string;
|
|
800
|
+
modifiedAt: string;
|
|
801
|
+
source: "session" | "pdf";
|
|
802
|
+
type: "loupe";
|
|
803
|
+
magnification: number;
|
|
804
|
+
width: number;
|
|
805
|
+
author?: string | undefined;
|
|
806
|
+
contents?: string | undefined;
|
|
807
|
+
inReplyTo?: string | undefined;
|
|
808
|
+
locked?: boolean | undefined;
|
|
809
|
+
subject?: string | undefined;
|
|
810
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
811
|
+
custom?: Record<string, unknown> | undefined;
|
|
812
|
+
} | {
|
|
813
|
+
id: string;
|
|
814
|
+
page: number;
|
|
815
|
+
rect: {
|
|
816
|
+
x: number;
|
|
817
|
+
y: number;
|
|
818
|
+
width: number;
|
|
819
|
+
height: number;
|
|
820
|
+
};
|
|
821
|
+
color: string;
|
|
822
|
+
opacity: number;
|
|
823
|
+
createdAt: string;
|
|
824
|
+
modifiedAt: string;
|
|
825
|
+
source: "session" | "pdf";
|
|
826
|
+
type: "mask";
|
|
827
|
+
shape: "rect" | "ellipse";
|
|
828
|
+
dim: number;
|
|
829
|
+
author?: string | undefined;
|
|
830
|
+
contents?: string | undefined;
|
|
831
|
+
inReplyTo?: string | undefined;
|
|
832
|
+
locked?: boolean | undefined;
|
|
833
|
+
subject?: string | undefined;
|
|
834
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
471
835
|
custom?: Record<string, unknown> | undefined;
|
|
472
836
|
} | {
|
|
473
837
|
id: string;
|
|
@@ -490,6 +854,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
490
854
|
contents?: string | undefined;
|
|
491
855
|
inReplyTo?: string | undefined;
|
|
492
856
|
locked?: boolean | undefined;
|
|
857
|
+
subject?: string | undefined;
|
|
858
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
493
859
|
custom?: Record<string, unknown> | undefined;
|
|
494
860
|
quads?: {
|
|
495
861
|
p1: {
|
|
@@ -566,6 +932,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
566
932
|
contents?: string | undefined;
|
|
567
933
|
inReplyTo?: string | undefined;
|
|
568
934
|
locked?: boolean | undefined;
|
|
935
|
+
subject?: string | undefined;
|
|
936
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
569
937
|
custom?: Record<string, unknown> | undefined;
|
|
570
938
|
} | {
|
|
571
939
|
id: string;
|
|
@@ -582,11 +950,13 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
582
950
|
modifiedAt: string;
|
|
583
951
|
source: "session" | "pdf";
|
|
584
952
|
type: "text";
|
|
585
|
-
icon: "
|
|
953
|
+
icon: (string & {}) | "Comment" | "Note" | "Help" | "Insert" | "Key" | "NewParagraph" | "Paragraph";
|
|
586
954
|
author?: string | undefined;
|
|
587
955
|
contents?: string | undefined;
|
|
588
956
|
inReplyTo?: string | undefined;
|
|
589
957
|
locked?: boolean | undefined;
|
|
958
|
+
subject?: string | undefined;
|
|
959
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
590
960
|
custom?: Record<string, unknown> | undefined;
|
|
591
961
|
} | {
|
|
592
962
|
id: string;
|
|
@@ -597,24 +967,47 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
597
967
|
width: number;
|
|
598
968
|
height: number;
|
|
599
969
|
};
|
|
600
|
-
color: string;
|
|
601
970
|
opacity: number;
|
|
602
971
|
createdAt: string;
|
|
603
972
|
modifiedAt: string;
|
|
604
973
|
source: "session" | "pdf";
|
|
605
974
|
type: "freetext";
|
|
606
975
|
contents: string;
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
976
|
+
width: number;
|
|
977
|
+
defaultStyle: {
|
|
978
|
+
fontFamily: string;
|
|
979
|
+
fontSize: number;
|
|
980
|
+
color: string;
|
|
981
|
+
textAlign: "left" | "right" | "center" | "justify";
|
|
982
|
+
fontWeight?: "bold" | undefined;
|
|
983
|
+
fontStyle?: "italic" | undefined;
|
|
984
|
+
textDecoration?: "underline" | undefined;
|
|
985
|
+
align?: undefined;
|
|
986
|
+
};
|
|
610
987
|
author?: string | undefined;
|
|
611
988
|
inReplyTo?: string | undefined;
|
|
612
989
|
locked?: boolean | undefined;
|
|
990
|
+
subject?: string | undefined;
|
|
991
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
613
992
|
custom?: Record<string, unknown> | undefined;
|
|
993
|
+
color?: string | undefined;
|
|
994
|
+
borderColor?: string | undefined;
|
|
995
|
+
dashes?: number[] | undefined;
|
|
996
|
+
cornerRadius?: number | undefined;
|
|
997
|
+
fringe?: {
|
|
998
|
+
left: number;
|
|
999
|
+
top: number;
|
|
1000
|
+
right: number;
|
|
1001
|
+
bottom: number;
|
|
1002
|
+
} | undefined;
|
|
614
1003
|
callout?: {
|
|
615
1004
|
x: number;
|
|
616
1005
|
y: number;
|
|
617
1006
|
}[] | undefined;
|
|
1007
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1008
|
+
fontFamily?: undefined;
|
|
1009
|
+
fontSize?: undefined;
|
|
1010
|
+
align?: undefined;
|
|
618
1011
|
} | {
|
|
619
1012
|
id: string;
|
|
620
1013
|
page: number;
|
|
@@ -629,13 +1022,43 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
629
1022
|
createdAt: string;
|
|
630
1023
|
modifiedAt: string;
|
|
631
1024
|
source: "session" | "pdf";
|
|
632
|
-
type: "square" | "circle";
|
|
633
1025
|
width: number;
|
|
1026
|
+
type: "square";
|
|
634
1027
|
author?: string | undefined;
|
|
635
1028
|
contents?: string | undefined;
|
|
636
1029
|
inReplyTo?: string | undefined;
|
|
637
1030
|
locked?: boolean | undefined;
|
|
1031
|
+
subject?: string | undefined;
|
|
1032
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
638
1033
|
custom?: Record<string, unknown> | undefined;
|
|
1034
|
+
cornerRadius?: number | undefined;
|
|
1035
|
+
dashes?: number[] | undefined;
|
|
1036
|
+
interiorColor?: string | undefined;
|
|
1037
|
+
} | {
|
|
1038
|
+
id: string;
|
|
1039
|
+
page: number;
|
|
1040
|
+
rect: {
|
|
1041
|
+
x: number;
|
|
1042
|
+
y: number;
|
|
1043
|
+
width: number;
|
|
1044
|
+
height: number;
|
|
1045
|
+
};
|
|
1046
|
+
color: string;
|
|
1047
|
+
opacity: number;
|
|
1048
|
+
createdAt: string;
|
|
1049
|
+
modifiedAt: string;
|
|
1050
|
+
source: "session" | "pdf";
|
|
1051
|
+
width: number;
|
|
1052
|
+
type: "circle";
|
|
1053
|
+
author?: string | undefined;
|
|
1054
|
+
contents?: string | undefined;
|
|
1055
|
+
inReplyTo?: string | undefined;
|
|
1056
|
+
locked?: boolean | undefined;
|
|
1057
|
+
subject?: string | undefined;
|
|
1058
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1059
|
+
custom?: Record<string, unknown> | undefined;
|
|
1060
|
+
cornerRadius?: undefined;
|
|
1061
|
+
dashes?: number[] | undefined;
|
|
639
1062
|
interiorColor?: string | undefined;
|
|
640
1063
|
} | {
|
|
641
1064
|
id: string;
|
|
@@ -665,9 +1088,12 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
665
1088
|
contents?: string | undefined;
|
|
666
1089
|
inReplyTo?: string | undefined;
|
|
667
1090
|
locked?: boolean | undefined;
|
|
1091
|
+
subject?: string | undefined;
|
|
1092
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
668
1093
|
custom?: Record<string, unknown> | undefined;
|
|
669
|
-
|
|
670
|
-
|
|
1094
|
+
dashes?: number[] | undefined;
|
|
1095
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1096
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
671
1097
|
} | {
|
|
672
1098
|
id: string;
|
|
673
1099
|
page: number;
|
|
@@ -682,17 +1108,53 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
682
1108
|
createdAt: string;
|
|
683
1109
|
modifiedAt: string;
|
|
684
1110
|
source: "session" | "pdf";
|
|
685
|
-
type: "polyline" | "polygon";
|
|
686
1111
|
vertices: {
|
|
687
1112
|
x: number;
|
|
688
1113
|
y: number;
|
|
689
1114
|
}[];
|
|
690
1115
|
width: number;
|
|
1116
|
+
type: "polyline";
|
|
691
1117
|
author?: string | undefined;
|
|
692
1118
|
contents?: string | undefined;
|
|
693
1119
|
inReplyTo?: string | undefined;
|
|
694
1120
|
locked?: boolean | undefined;
|
|
1121
|
+
subject?: string | undefined;
|
|
1122
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
695
1123
|
custom?: Record<string, unknown> | undefined;
|
|
1124
|
+
head?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1125
|
+
tail?: (string & {}) | "None" | "Square" | "Circle" | "Diamond" | "OpenArrow" | "ClosedArrow" | "Butt" | "ROpenArrow" | "RClosedArrow" | "Slash" | undefined;
|
|
1126
|
+
dashes?: number[] | undefined;
|
|
1127
|
+
interiorColor?: string | undefined;
|
|
1128
|
+
} | {
|
|
1129
|
+
id: string;
|
|
1130
|
+
page: number;
|
|
1131
|
+
rect: {
|
|
1132
|
+
x: number;
|
|
1133
|
+
y: number;
|
|
1134
|
+
width: number;
|
|
1135
|
+
height: number;
|
|
1136
|
+
};
|
|
1137
|
+
color: string;
|
|
1138
|
+
opacity: number;
|
|
1139
|
+
createdAt: string;
|
|
1140
|
+
modifiedAt: string;
|
|
1141
|
+
source: "session" | "pdf";
|
|
1142
|
+
vertices: {
|
|
1143
|
+
x: number;
|
|
1144
|
+
y: number;
|
|
1145
|
+
}[];
|
|
1146
|
+
width: number;
|
|
1147
|
+
type: "polygon";
|
|
1148
|
+
author?: string | undefined;
|
|
1149
|
+
contents?: string | undefined;
|
|
1150
|
+
inReplyTo?: string | undefined;
|
|
1151
|
+
locked?: boolean | undefined;
|
|
1152
|
+
subject?: string | undefined;
|
|
1153
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1154
|
+
custom?: Record<string, unknown> | undefined;
|
|
1155
|
+
head?: undefined;
|
|
1156
|
+
tail?: undefined;
|
|
1157
|
+
dashes?: number[] | undefined;
|
|
696
1158
|
interiorColor?: string | undefined;
|
|
697
1159
|
} | {
|
|
698
1160
|
id: string;
|
|
@@ -718,6 +1180,82 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
718
1180
|
contents?: string | undefined;
|
|
719
1181
|
inReplyTo?: string | undefined;
|
|
720
1182
|
locked?: boolean | undefined;
|
|
1183
|
+
subject?: string | undefined;
|
|
1184
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1185
|
+
custom?: Record<string, unknown> | undefined;
|
|
1186
|
+
pressure?: number[][] | undefined;
|
|
1187
|
+
dashes?: number[] | undefined;
|
|
1188
|
+
} | {
|
|
1189
|
+
id: string;
|
|
1190
|
+
page: number;
|
|
1191
|
+
rect: {
|
|
1192
|
+
x: number;
|
|
1193
|
+
y: number;
|
|
1194
|
+
width: number;
|
|
1195
|
+
height: number;
|
|
1196
|
+
};
|
|
1197
|
+
color: string;
|
|
1198
|
+
opacity: number;
|
|
1199
|
+
createdAt: string;
|
|
1200
|
+
modifiedAt: string;
|
|
1201
|
+
source: "session" | "pdf";
|
|
1202
|
+
type: "stamp";
|
|
1203
|
+
imagedata: string;
|
|
1204
|
+
author?: string | undefined;
|
|
1205
|
+
contents?: string | undefined;
|
|
1206
|
+
inReplyTo?: string | undefined;
|
|
1207
|
+
locked?: boolean | undefined;
|
|
1208
|
+
subject?: string | undefined;
|
|
1209
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1210
|
+
custom?: Record<string, unknown> | undefined;
|
|
1211
|
+
rotation?: 0 | 90 | 180 | 270 | undefined;
|
|
1212
|
+
} | {
|
|
1213
|
+
id: string;
|
|
1214
|
+
page: number;
|
|
1215
|
+
rect: {
|
|
1216
|
+
x: number;
|
|
1217
|
+
y: number;
|
|
1218
|
+
width: number;
|
|
1219
|
+
height: number;
|
|
1220
|
+
};
|
|
1221
|
+
color: string;
|
|
1222
|
+
opacity: number;
|
|
1223
|
+
createdAt: string;
|
|
1224
|
+
modifiedAt: string;
|
|
1225
|
+
source: "session" | "pdf";
|
|
1226
|
+
type: "loupe";
|
|
1227
|
+
magnification: number;
|
|
1228
|
+
width: number;
|
|
1229
|
+
author?: string | undefined;
|
|
1230
|
+
contents?: string | undefined;
|
|
1231
|
+
inReplyTo?: string | undefined;
|
|
1232
|
+
locked?: boolean | undefined;
|
|
1233
|
+
subject?: string | undefined;
|
|
1234
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
1235
|
+
custom?: Record<string, unknown> | undefined;
|
|
1236
|
+
} | {
|
|
1237
|
+
id: string;
|
|
1238
|
+
page: number;
|
|
1239
|
+
rect: {
|
|
1240
|
+
x: number;
|
|
1241
|
+
y: number;
|
|
1242
|
+
width: number;
|
|
1243
|
+
height: number;
|
|
1244
|
+
};
|
|
1245
|
+
color: string;
|
|
1246
|
+
opacity: number;
|
|
1247
|
+
createdAt: string;
|
|
1248
|
+
modifiedAt: string;
|
|
1249
|
+
source: "session" | "pdf";
|
|
1250
|
+
type: "mask";
|
|
1251
|
+
shape: "rect" | "ellipse";
|
|
1252
|
+
dim: number;
|
|
1253
|
+
author?: string | undefined;
|
|
1254
|
+
contents?: string | undefined;
|
|
1255
|
+
inReplyTo?: string | undefined;
|
|
1256
|
+
locked?: boolean | undefined;
|
|
1257
|
+
subject?: string | undefined;
|
|
1258
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
721
1259
|
custom?: Record<string, unknown> | undefined;
|
|
722
1260
|
} | {
|
|
723
1261
|
id: string;
|
|
@@ -740,6 +1278,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
740
1278
|
contents?: string | undefined;
|
|
741
1279
|
inReplyTo?: string | undefined;
|
|
742
1280
|
locked?: boolean | undefined;
|
|
1281
|
+
subject?: string | undefined;
|
|
1282
|
+
intent?: (string & {}) | "FreeText" | "FreeTextCallout" | "FreeTextTypeWriter" | "LineArrow" | "LineDimension" | "PolygonCloud" | "PolygonDimension" | "PolyLineDimension" | undefined;
|
|
743
1283
|
custom?: Record<string, unknown> | undefined;
|
|
744
1284
|
quads?: {
|
|
745
1285
|
p1: {
|
|
@@ -769,6 +1309,10 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
769
1309
|
overlayText?: string | undefined;
|
|
770
1310
|
})[] | undefined;
|
|
771
1311
|
tool: ToolId | undefined;
|
|
1312
|
+
tools: Tool<object>[] | undefined;
|
|
1313
|
+
fonts: string[] | undefined;
|
|
1314
|
+
signatures: SignatureStore | undefined;
|
|
1315
|
+
signatureFonts: string[] | undefined;
|
|
772
1316
|
zoom: ZoomValue | undefined;
|
|
773
1317
|
history: boolean | undefined;
|
|
774
1318
|
asChild: boolean;
|