@zsviczian/excalidraw 0.14.0-obsidian → 0.14.1-obsidian
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/dist/excalidraw.development.js +149 -116
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +21 -15
- package/types/actions/actionBoundText.d.ts +7 -5
- package/types/actions/actionCanvas.d.ts +185 -47
- package/types/actions/actionClipboard.d.ts +35 -25
- package/types/actions/actionDeleteSelected.d.ts +21 -15
- package/types/actions/actionExport.d.ts +63 -45
- package/types/actions/actionFinalize.d.ts +14 -10
- package/types/actions/actionLinearEditor.d.ts +7 -5
- package/types/actions/actionMenu.d.ts +21 -15
- package/types/actions/actionProperties.d.ts +91 -65
- package/types/actions/actionStyles.d.ts +7 -5
- package/types/actions/actionToggleGridMode.d.ts +7 -5
- package/types/actions/actionToggleLock.d.ts +7 -5
- package/types/actions/actionToggleStats.d.ts +7 -5
- package/types/actions/actionToggleViewMode.d.ts +7 -5
- package/types/actions/actionToggleZenMode.d.ts +7 -5
- package/types/actions/types.d.ts +1 -1
- package/types/appState.d.ts +8 -6
- package/types/components/ActiveConfirmDialog.d.ts +24 -0
- package/types/components/App.d.ts +1 -0
- package/types/components/HandButton.d.ts +10 -0
- package/types/components/LayerUI.d.ts +2 -1
- package/types/components/LockButton.d.ts +0 -1
- package/types/components/MobileMenu.d.ts +2 -1
- package/types/components/ToolButton.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenu.d.ts +7 -5
- package/types/components/dropdownMenu/DropdownMenuContent.d.ts +7 -3
- package/types/components/dropdownMenu/DropdownMenuItem.d.ts +2 -3
- package/types/components/dropdownMenu/DropdownMenuItemLink.d.ts +3 -2
- package/types/components/dropdownMenu/common.d.ts +6 -0
- package/types/components/icons.d.ts +1 -0
- package/types/components/main-menu/MainMenu.d.ts +10 -5
- package/types/constants.d.ts +6 -1
- package/types/element/Hyperlink.d.ts +7 -5
- package/types/element/linearElementEditor.d.ts +8 -5
- package/types/keys.d.ts +0 -3
- package/types/types.d.ts +13 -7
- package/types/utils.d.ts +6 -3
|
@@ -53,16 +53,15 @@ export declare const actionCut: {
|
|
|
53
53
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
54
54
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
55
55
|
activeTool: {
|
|
56
|
-
|
|
57
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
56
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
58
57
|
locked: boolean;
|
|
58
|
+
} & ({
|
|
59
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
59
60
|
customType: null;
|
|
60
61
|
} | {
|
|
61
62
|
type: "custom";
|
|
62
63
|
customType: string;
|
|
63
|
-
|
|
64
|
-
locked: boolean;
|
|
65
|
-
};
|
|
64
|
+
});
|
|
66
65
|
penMode: boolean;
|
|
67
66
|
penDetected: boolean;
|
|
68
67
|
exportBackground: boolean;
|
|
@@ -114,6 +113,7 @@ export declare const actionCut: {
|
|
|
114
113
|
zenModeEnabled: boolean;
|
|
115
114
|
theme: string;
|
|
116
115
|
gridSize: number | null;
|
|
116
|
+
previousGridSize: number | null;
|
|
117
117
|
viewModeEnabled: boolean;
|
|
118
118
|
selectedGroupIds: {
|
|
119
119
|
[groupId: string]: boolean;
|
|
@@ -143,6 +143,8 @@ export declare const actionCut: {
|
|
|
143
143
|
elementBackground?: string[] | undefined;
|
|
144
144
|
elementStroke?: string[] | undefined;
|
|
145
145
|
};
|
|
146
|
+
allowWheelZoom?: boolean | undefined;
|
|
147
|
+
allowPinchZoom?: boolean | undefined;
|
|
146
148
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
147
149
|
};
|
|
148
150
|
commitToHistory: false;
|
|
@@ -195,16 +197,15 @@ export declare const actionCut: {
|
|
|
195
197
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
196
198
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
197
199
|
activeTool: {
|
|
198
|
-
|
|
199
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
200
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
200
201
|
locked: boolean;
|
|
202
|
+
} & ({
|
|
203
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
201
204
|
customType: null;
|
|
202
205
|
} | {
|
|
203
206
|
type: "custom";
|
|
204
207
|
customType: string;
|
|
205
|
-
|
|
206
|
-
locked: boolean;
|
|
207
|
-
};
|
|
208
|
+
});
|
|
208
209
|
penMode: boolean;
|
|
209
210
|
penDetected: boolean;
|
|
210
211
|
exportBackground: boolean;
|
|
@@ -256,6 +257,7 @@ export declare const actionCut: {
|
|
|
256
257
|
zenModeEnabled: boolean;
|
|
257
258
|
theme: string;
|
|
258
259
|
gridSize: number | null;
|
|
260
|
+
previousGridSize: number | null;
|
|
259
261
|
viewModeEnabled: boolean;
|
|
260
262
|
selectedGroupIds: {
|
|
261
263
|
[groupId: string]: boolean;
|
|
@@ -285,6 +287,8 @@ export declare const actionCut: {
|
|
|
285
287
|
elementBackground?: string[] | undefined;
|
|
286
288
|
elementStroke?: string[] | undefined;
|
|
287
289
|
};
|
|
290
|
+
allowWheelZoom?: boolean | undefined;
|
|
291
|
+
allowPinchZoom?: boolean | undefined;
|
|
288
292
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
289
293
|
};
|
|
290
294
|
commitToHistory: true;
|
|
@@ -292,16 +296,15 @@ export declare const actionCut: {
|
|
|
292
296
|
elements: import("../element/types").ExcalidrawElement[];
|
|
293
297
|
appState: {
|
|
294
298
|
activeTool: {
|
|
295
|
-
|
|
296
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
299
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
297
300
|
locked: boolean;
|
|
301
|
+
} & ({
|
|
302
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
298
303
|
customType: null;
|
|
299
304
|
} | {
|
|
300
305
|
type: "custom";
|
|
301
306
|
customType: string;
|
|
302
|
-
|
|
303
|
-
locked: boolean;
|
|
304
|
-
};
|
|
307
|
+
});
|
|
305
308
|
multiElement: null;
|
|
306
309
|
selectedElementIds: {};
|
|
307
310
|
contextMenu: {
|
|
@@ -368,6 +371,7 @@ export declare const actionCut: {
|
|
|
368
371
|
zenModeEnabled: boolean;
|
|
369
372
|
theme: string;
|
|
370
373
|
gridSize: number | null;
|
|
374
|
+
previousGridSize: number | null;
|
|
371
375
|
viewModeEnabled: boolean;
|
|
372
376
|
selectedGroupIds: {
|
|
373
377
|
[groupId: string]: boolean;
|
|
@@ -397,6 +401,8 @@ export declare const actionCut: {
|
|
|
397
401
|
elementBackground?: string[] | undefined;
|
|
398
402
|
elementStroke?: string[] | undefined;
|
|
399
403
|
};
|
|
404
|
+
allowWheelZoom?: boolean | undefined;
|
|
405
|
+
allowPinchZoom?: boolean | undefined;
|
|
400
406
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
401
407
|
};
|
|
402
408
|
commitToHistory: boolean;
|
|
@@ -435,16 +441,15 @@ export declare const actionCopyAsSvg: {
|
|
|
435
441
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
436
442
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
437
443
|
activeTool: {
|
|
438
|
-
|
|
439
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
444
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
440
445
|
locked: boolean;
|
|
446
|
+
} & ({
|
|
447
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
441
448
|
customType: null;
|
|
442
449
|
} | {
|
|
443
450
|
type: "custom";
|
|
444
451
|
customType: string;
|
|
445
|
-
|
|
446
|
-
locked: boolean;
|
|
447
|
-
};
|
|
452
|
+
});
|
|
448
453
|
penMode: boolean;
|
|
449
454
|
penDetected: boolean;
|
|
450
455
|
exportBackground: boolean;
|
|
@@ -496,6 +501,7 @@ export declare const actionCopyAsSvg: {
|
|
|
496
501
|
zenModeEnabled: boolean;
|
|
497
502
|
theme: string;
|
|
498
503
|
gridSize: number | null;
|
|
504
|
+
previousGridSize: number | null;
|
|
499
505
|
viewModeEnabled: boolean;
|
|
500
506
|
selectedGroupIds: {
|
|
501
507
|
[groupId: string]: boolean;
|
|
@@ -525,6 +531,8 @@ export declare const actionCopyAsSvg: {
|
|
|
525
531
|
elementBackground?: string[] | undefined;
|
|
526
532
|
elementStroke?: string[] | undefined;
|
|
527
533
|
};
|
|
534
|
+
allowWheelZoom?: boolean | undefined;
|
|
535
|
+
allowPinchZoom?: boolean | undefined;
|
|
528
536
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
529
537
|
};
|
|
530
538
|
commitToHistory: false;
|
|
@@ -562,16 +570,15 @@ export declare const actionCopyAsPng: {
|
|
|
562
570
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
563
571
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
564
572
|
activeTool: {
|
|
565
|
-
|
|
566
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
573
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
567
574
|
locked: boolean;
|
|
575
|
+
} & ({
|
|
576
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
568
577
|
customType: null;
|
|
569
578
|
} | {
|
|
570
579
|
type: "custom";
|
|
571
580
|
customType: string;
|
|
572
|
-
|
|
573
|
-
locked: boolean;
|
|
574
|
-
};
|
|
581
|
+
});
|
|
575
582
|
penMode: boolean;
|
|
576
583
|
penDetected: boolean;
|
|
577
584
|
exportBackground: boolean;
|
|
@@ -623,6 +630,7 @@ export declare const actionCopyAsPng: {
|
|
|
623
630
|
zenModeEnabled: boolean;
|
|
624
631
|
theme: string;
|
|
625
632
|
gridSize: number | null;
|
|
633
|
+
previousGridSize: number | null;
|
|
626
634
|
viewModeEnabled: boolean;
|
|
627
635
|
selectedGroupIds: {
|
|
628
636
|
[groupId: string]: boolean;
|
|
@@ -652,6 +660,8 @@ export declare const actionCopyAsPng: {
|
|
|
652
660
|
elementBackground?: string[] | undefined;
|
|
653
661
|
elementStroke?: string[] | undefined;
|
|
654
662
|
};
|
|
663
|
+
allowWheelZoom?: boolean | undefined;
|
|
664
|
+
allowPinchZoom?: boolean | undefined;
|
|
655
665
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
656
666
|
};
|
|
657
667
|
commitToHistory: false;
|
|
@@ -29,16 +29,15 @@ export declare const actionDeleteSelected: {
|
|
|
29
29
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
30
30
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
31
31
|
activeTool: {
|
|
32
|
-
|
|
33
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
32
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
34
33
|
locked: boolean;
|
|
34
|
+
} & ({
|
|
35
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
35
36
|
customType: null;
|
|
36
37
|
} | {
|
|
37
38
|
type: "custom";
|
|
38
39
|
customType: string;
|
|
39
|
-
|
|
40
|
-
locked: boolean;
|
|
41
|
-
};
|
|
40
|
+
});
|
|
42
41
|
penMode: boolean;
|
|
43
42
|
penDetected: boolean;
|
|
44
43
|
exportBackground: boolean;
|
|
@@ -90,6 +89,7 @@ export declare const actionDeleteSelected: {
|
|
|
90
89
|
zenModeEnabled: boolean;
|
|
91
90
|
theme: string;
|
|
92
91
|
gridSize: number | null;
|
|
92
|
+
previousGridSize: number | null;
|
|
93
93
|
viewModeEnabled: boolean;
|
|
94
94
|
selectedGroupIds: {
|
|
95
95
|
[groupId: string]: boolean;
|
|
@@ -119,6 +119,8 @@ export declare const actionDeleteSelected: {
|
|
|
119
119
|
elementBackground?: string[] | undefined;
|
|
120
120
|
elementStroke?: string[] | undefined;
|
|
121
121
|
};
|
|
122
|
+
allowWheelZoom?: boolean | undefined;
|
|
123
|
+
allowPinchZoom?: boolean | undefined;
|
|
122
124
|
selectedLinearElement: LinearElementEditor | null;
|
|
123
125
|
};
|
|
124
126
|
commitToHistory: false;
|
|
@@ -171,16 +173,15 @@ export declare const actionDeleteSelected: {
|
|
|
171
173
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
172
174
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
173
175
|
activeTool: {
|
|
174
|
-
|
|
175
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
176
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
176
177
|
locked: boolean;
|
|
178
|
+
} & ({
|
|
179
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
177
180
|
customType: null;
|
|
178
181
|
} | {
|
|
179
182
|
type: "custom";
|
|
180
183
|
customType: string;
|
|
181
|
-
|
|
182
|
-
locked: boolean;
|
|
183
|
-
};
|
|
184
|
+
});
|
|
184
185
|
penMode: boolean;
|
|
185
186
|
penDetected: boolean;
|
|
186
187
|
exportBackground: boolean;
|
|
@@ -232,6 +233,7 @@ export declare const actionDeleteSelected: {
|
|
|
232
233
|
zenModeEnabled: boolean;
|
|
233
234
|
theme: string;
|
|
234
235
|
gridSize: number | null;
|
|
236
|
+
previousGridSize: number | null;
|
|
235
237
|
viewModeEnabled: boolean;
|
|
236
238
|
selectedGroupIds: {
|
|
237
239
|
[groupId: string]: boolean;
|
|
@@ -261,6 +263,8 @@ export declare const actionDeleteSelected: {
|
|
|
261
263
|
elementBackground?: string[] | undefined;
|
|
262
264
|
elementStroke?: string[] | undefined;
|
|
263
265
|
};
|
|
266
|
+
allowWheelZoom?: boolean | undefined;
|
|
267
|
+
allowPinchZoom?: boolean | undefined;
|
|
264
268
|
selectedLinearElement: LinearElementEditor | null;
|
|
265
269
|
};
|
|
266
270
|
commitToHistory: true;
|
|
@@ -268,16 +272,15 @@ export declare const actionDeleteSelected: {
|
|
|
268
272
|
elements: ExcalidrawElement[];
|
|
269
273
|
appState: {
|
|
270
274
|
activeTool: {
|
|
271
|
-
|
|
272
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
275
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
273
276
|
locked: boolean;
|
|
277
|
+
} & ({
|
|
278
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
274
279
|
customType: null;
|
|
275
280
|
} | {
|
|
276
281
|
type: "custom";
|
|
277
282
|
customType: string;
|
|
278
|
-
|
|
279
|
-
locked: boolean;
|
|
280
|
-
};
|
|
283
|
+
});
|
|
281
284
|
multiElement: null;
|
|
282
285
|
selectedElementIds: {};
|
|
283
286
|
contextMenu: {
|
|
@@ -344,6 +347,7 @@ export declare const actionDeleteSelected: {
|
|
|
344
347
|
zenModeEnabled: boolean;
|
|
345
348
|
theme: string;
|
|
346
349
|
gridSize: number | null;
|
|
350
|
+
previousGridSize: number | null;
|
|
347
351
|
viewModeEnabled: boolean;
|
|
348
352
|
selectedGroupIds: {
|
|
349
353
|
[groupId: string]: boolean;
|
|
@@ -373,6 +377,8 @@ export declare const actionDeleteSelected: {
|
|
|
373
377
|
elementBackground?: string[] | undefined;
|
|
374
378
|
elementStroke?: string[] | undefined;
|
|
375
379
|
};
|
|
380
|
+
allowWheelZoom?: boolean | undefined;
|
|
381
|
+
allowPinchZoom?: boolean | undefined;
|
|
376
382
|
selectedLinearElement: LinearElementEditor | null;
|
|
377
383
|
};
|
|
378
384
|
commitToHistory: boolean;
|
|
@@ -24,16 +24,15 @@ export declare const actionChangeProjectName: {
|
|
|
24
24
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
25
25
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
26
26
|
activeTool: {
|
|
27
|
-
|
|
28
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
27
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
29
28
|
locked: boolean;
|
|
29
|
+
} & ({
|
|
30
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
30
31
|
customType: null;
|
|
31
32
|
} | {
|
|
32
33
|
type: "custom";
|
|
33
34
|
customType: string;
|
|
34
|
-
|
|
35
|
-
locked: boolean;
|
|
36
|
-
};
|
|
35
|
+
});
|
|
37
36
|
penMode: boolean;
|
|
38
37
|
penDetected: boolean;
|
|
39
38
|
exportBackground: boolean;
|
|
@@ -84,6 +83,7 @@ export declare const actionChangeProjectName: {
|
|
|
84
83
|
zenModeEnabled: boolean;
|
|
85
84
|
theme: string;
|
|
86
85
|
gridSize: number | null;
|
|
86
|
+
previousGridSize: number | null;
|
|
87
87
|
viewModeEnabled: boolean;
|
|
88
88
|
selectedGroupIds: {
|
|
89
89
|
[groupId: string]: boolean;
|
|
@@ -113,6 +113,8 @@ export declare const actionChangeProjectName: {
|
|
|
113
113
|
elementBackground?: string[] | undefined;
|
|
114
114
|
elementStroke?: string[] | undefined;
|
|
115
115
|
};
|
|
116
|
+
allowWheelZoom?: boolean | undefined;
|
|
117
|
+
allowPinchZoom?: boolean | undefined;
|
|
116
118
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
117
119
|
};
|
|
118
120
|
commitToHistory: false;
|
|
@@ -148,16 +150,15 @@ export declare const actionChangeExportScale: {
|
|
|
148
150
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
149
151
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
150
152
|
activeTool: {
|
|
151
|
-
|
|
152
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
153
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
153
154
|
locked: boolean;
|
|
155
|
+
} & ({
|
|
156
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
154
157
|
customType: null;
|
|
155
158
|
} | {
|
|
156
159
|
type: "custom";
|
|
157
160
|
customType: string;
|
|
158
|
-
|
|
159
|
-
locked: boolean;
|
|
160
|
-
};
|
|
161
|
+
});
|
|
161
162
|
penMode: boolean;
|
|
162
163
|
penDetected: boolean;
|
|
163
164
|
exportBackground: boolean;
|
|
@@ -208,6 +209,7 @@ export declare const actionChangeExportScale: {
|
|
|
208
209
|
zenModeEnabled: boolean;
|
|
209
210
|
theme: string;
|
|
210
211
|
gridSize: number | null;
|
|
212
|
+
previousGridSize: number | null;
|
|
211
213
|
viewModeEnabled: boolean;
|
|
212
214
|
selectedGroupIds: {
|
|
213
215
|
[groupId: string]: boolean;
|
|
@@ -237,6 +239,8 @@ export declare const actionChangeExportScale: {
|
|
|
237
239
|
elementBackground?: string[] | undefined;
|
|
238
240
|
elementStroke?: string[] | undefined;
|
|
239
241
|
};
|
|
242
|
+
allowWheelZoom?: boolean | undefined;
|
|
243
|
+
allowPinchZoom?: boolean | undefined;
|
|
240
244
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
241
245
|
};
|
|
242
246
|
commitToHistory: false;
|
|
@@ -272,16 +276,15 @@ export declare const actionChangeExportBackground: {
|
|
|
272
276
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
273
277
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
274
278
|
activeTool: {
|
|
275
|
-
|
|
276
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
279
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
277
280
|
locked: boolean;
|
|
281
|
+
} & ({
|
|
282
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
278
283
|
customType: null;
|
|
279
284
|
} | {
|
|
280
285
|
type: "custom";
|
|
281
286
|
customType: string;
|
|
282
|
-
|
|
283
|
-
locked: boolean;
|
|
284
|
-
};
|
|
287
|
+
});
|
|
285
288
|
penMode: boolean;
|
|
286
289
|
penDetected: boolean;
|
|
287
290
|
exportEmbedScene: boolean;
|
|
@@ -332,6 +335,7 @@ export declare const actionChangeExportBackground: {
|
|
|
332
335
|
zenModeEnabled: boolean;
|
|
333
336
|
theme: string;
|
|
334
337
|
gridSize: number | null;
|
|
338
|
+
previousGridSize: number | null;
|
|
335
339
|
viewModeEnabled: boolean;
|
|
336
340
|
selectedGroupIds: {
|
|
337
341
|
[groupId: string]: boolean;
|
|
@@ -361,6 +365,8 @@ export declare const actionChangeExportBackground: {
|
|
|
361
365
|
elementBackground?: string[] | undefined;
|
|
362
366
|
elementStroke?: string[] | undefined;
|
|
363
367
|
};
|
|
368
|
+
allowWheelZoom?: boolean | undefined;
|
|
369
|
+
allowPinchZoom?: boolean | undefined;
|
|
364
370
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
365
371
|
};
|
|
366
372
|
commitToHistory: false;
|
|
@@ -396,16 +402,15 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
396
402
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
397
403
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
398
404
|
activeTool: {
|
|
399
|
-
|
|
400
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
405
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
401
406
|
locked: boolean;
|
|
407
|
+
} & ({
|
|
408
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
402
409
|
customType: null;
|
|
403
410
|
} | {
|
|
404
411
|
type: "custom";
|
|
405
412
|
customType: string;
|
|
406
|
-
|
|
407
|
-
locked: boolean;
|
|
408
|
-
};
|
|
413
|
+
});
|
|
409
414
|
penMode: boolean;
|
|
410
415
|
penDetected: boolean;
|
|
411
416
|
exportBackground: boolean;
|
|
@@ -456,6 +461,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
456
461
|
zenModeEnabled: boolean;
|
|
457
462
|
theme: string;
|
|
458
463
|
gridSize: number | null;
|
|
464
|
+
previousGridSize: number | null;
|
|
459
465
|
viewModeEnabled: boolean;
|
|
460
466
|
selectedGroupIds: {
|
|
461
467
|
[groupId: string]: boolean;
|
|
@@ -485,6 +491,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
485
491
|
elementBackground?: string[] | undefined;
|
|
486
492
|
elementStroke?: string[] | undefined;
|
|
487
493
|
};
|
|
494
|
+
allowWheelZoom?: boolean | undefined;
|
|
495
|
+
allowPinchZoom?: boolean | undefined;
|
|
488
496
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
489
497
|
};
|
|
490
498
|
commitToHistory: false;
|
|
@@ -524,16 +532,15 @@ export declare const actionSaveToActiveFile: {
|
|
|
524
532
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
525
533
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
526
534
|
activeTool: {
|
|
527
|
-
|
|
528
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
535
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
529
536
|
locked: boolean;
|
|
537
|
+
} & ({
|
|
538
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
530
539
|
customType: null;
|
|
531
540
|
} | {
|
|
532
541
|
type: "custom";
|
|
533
542
|
customType: string;
|
|
534
|
-
|
|
535
|
-
locked: boolean;
|
|
536
|
-
};
|
|
543
|
+
});
|
|
537
544
|
penMode: boolean;
|
|
538
545
|
penDetected: boolean;
|
|
539
546
|
exportBackground: boolean;
|
|
@@ -580,6 +587,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
580
587
|
zenModeEnabled: boolean;
|
|
581
588
|
theme: string;
|
|
582
589
|
gridSize: number | null;
|
|
590
|
+
previousGridSize: number | null;
|
|
583
591
|
viewModeEnabled: boolean;
|
|
584
592
|
selectedGroupIds: {
|
|
585
593
|
[groupId: string]: boolean;
|
|
@@ -608,6 +616,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
608
616
|
elementBackground?: string[] | undefined;
|
|
609
617
|
elementStroke?: string[] | undefined;
|
|
610
618
|
};
|
|
619
|
+
allowWheelZoom?: boolean | undefined;
|
|
620
|
+
allowPinchZoom?: boolean | undefined;
|
|
611
621
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
612
622
|
};
|
|
613
623
|
} | {
|
|
@@ -646,16 +656,15 @@ export declare const actionSaveFileToDisk: {
|
|
|
646
656
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
647
657
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
648
658
|
activeTool: {
|
|
649
|
-
|
|
650
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
659
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
651
660
|
locked: boolean;
|
|
661
|
+
} & ({
|
|
662
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
652
663
|
customType: null;
|
|
653
664
|
} | {
|
|
654
665
|
type: "custom";
|
|
655
666
|
customType: string;
|
|
656
|
-
|
|
657
|
-
locked: boolean;
|
|
658
|
-
};
|
|
667
|
+
});
|
|
659
668
|
penMode: boolean;
|
|
660
669
|
penDetected: boolean;
|
|
661
670
|
exportBackground: boolean;
|
|
@@ -707,6 +716,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
707
716
|
zenModeEnabled: boolean;
|
|
708
717
|
theme: string;
|
|
709
718
|
gridSize: number | null;
|
|
719
|
+
previousGridSize: number | null;
|
|
710
720
|
viewModeEnabled: boolean;
|
|
711
721
|
selectedGroupIds: {
|
|
712
722
|
[groupId: string]: boolean;
|
|
@@ -735,6 +745,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
735
745
|
elementBackground?: string[] | undefined;
|
|
736
746
|
elementStroke?: string[] | undefined;
|
|
737
747
|
};
|
|
748
|
+
allowWheelZoom?: boolean | undefined;
|
|
749
|
+
allowPinchZoom?: boolean | undefined;
|
|
738
750
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
739
751
|
};
|
|
740
752
|
} | {
|
|
@@ -758,16 +770,15 @@ export declare const actionLoadScene: {
|
|
|
758
770
|
theme: string;
|
|
759
771
|
name: string;
|
|
760
772
|
activeTool: {
|
|
761
|
-
|
|
762
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
773
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
763
774
|
locked: boolean;
|
|
775
|
+
} & ({
|
|
776
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
764
777
|
customType: null;
|
|
765
778
|
} | {
|
|
766
779
|
type: "custom";
|
|
767
780
|
customType: string;
|
|
768
|
-
|
|
769
|
-
locked: boolean;
|
|
770
|
-
};
|
|
781
|
+
});
|
|
771
782
|
contextMenu: {
|
|
772
783
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
773
784
|
top: number;
|
|
@@ -834,6 +845,7 @@ export declare const actionLoadScene: {
|
|
|
834
845
|
} | null;
|
|
835
846
|
zenModeEnabled: boolean;
|
|
836
847
|
gridSize: number | null;
|
|
848
|
+
previousGridSize: number | null;
|
|
837
849
|
viewModeEnabled: boolean;
|
|
838
850
|
selectedGroupIds: {
|
|
839
851
|
[groupId: string]: boolean;
|
|
@@ -859,6 +871,8 @@ export declare const actionLoadScene: {
|
|
|
859
871
|
elementBackground?: string[] | undefined;
|
|
860
872
|
elementStroke?: string[] | undefined;
|
|
861
873
|
};
|
|
874
|
+
allowWheelZoom?: boolean | undefined;
|
|
875
|
+
allowPinchZoom?: boolean | undefined;
|
|
862
876
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
863
877
|
};
|
|
864
878
|
files: import("../types").BinaryFiles;
|
|
@@ -884,16 +898,15 @@ export declare const actionLoadScene: {
|
|
|
884
898
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
885
899
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
886
900
|
activeTool: {
|
|
887
|
-
|
|
888
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
901
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
889
902
|
locked: boolean;
|
|
903
|
+
} & ({
|
|
904
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
890
905
|
customType: null;
|
|
891
906
|
} | {
|
|
892
907
|
type: "custom";
|
|
893
908
|
customType: string;
|
|
894
|
-
|
|
895
|
-
locked: boolean;
|
|
896
|
-
};
|
|
909
|
+
});
|
|
897
910
|
penMode: boolean;
|
|
898
911
|
penDetected: boolean;
|
|
899
912
|
exportBackground: boolean;
|
|
@@ -945,6 +958,7 @@ export declare const actionLoadScene: {
|
|
|
945
958
|
zenModeEnabled: boolean;
|
|
946
959
|
theme: string;
|
|
947
960
|
gridSize: number | null;
|
|
961
|
+
previousGridSize: number | null;
|
|
948
962
|
viewModeEnabled: boolean;
|
|
949
963
|
selectedGroupIds: {
|
|
950
964
|
[groupId: string]: boolean;
|
|
@@ -974,6 +988,8 @@ export declare const actionLoadScene: {
|
|
|
974
988
|
elementBackground?: string[] | undefined;
|
|
975
989
|
elementStroke?: string[] | undefined;
|
|
976
990
|
};
|
|
991
|
+
allowWheelZoom?: boolean | undefined;
|
|
992
|
+
allowPinchZoom?: boolean | undefined;
|
|
977
993
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
978
994
|
};
|
|
979
995
|
files: import("../types").BinaryFiles;
|
|
@@ -1010,16 +1026,15 @@ export declare const actionExportWithDarkMode: {
|
|
|
1010
1026
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1011
1027
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1012
1028
|
activeTool: {
|
|
1013
|
-
|
|
1014
|
-
lastActiveToolBeforeEraser: import("../types").LastActiveToolBeforeEraser;
|
|
1029
|
+
lastActiveTool: import("../types").LastActiveTool;
|
|
1015
1030
|
locked: boolean;
|
|
1031
|
+
} & ({
|
|
1032
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw" | "eraser" | "hand";
|
|
1016
1033
|
customType: null;
|
|
1017
1034
|
} | {
|
|
1018
1035
|
type: "custom";
|
|
1019
1036
|
customType: string;
|
|
1020
|
-
|
|
1021
|
-
locked: boolean;
|
|
1022
|
-
};
|
|
1037
|
+
});
|
|
1023
1038
|
penMode: boolean;
|
|
1024
1039
|
penDetected: boolean;
|
|
1025
1040
|
exportBackground: boolean;
|
|
@@ -1070,6 +1085,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1070
1085
|
zenModeEnabled: boolean;
|
|
1071
1086
|
theme: string;
|
|
1072
1087
|
gridSize: number | null;
|
|
1088
|
+
previousGridSize: number | null;
|
|
1073
1089
|
viewModeEnabled: boolean;
|
|
1074
1090
|
selectedGroupIds: {
|
|
1075
1091
|
[groupId: string]: boolean;
|
|
@@ -1099,6 +1115,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1099
1115
|
elementBackground?: string[] | undefined;
|
|
1100
1116
|
elementStroke?: string[] | undefined;
|
|
1101
1117
|
};
|
|
1118
|
+
allowWheelZoom?: boolean | undefined;
|
|
1119
|
+
allowPinchZoom?: boolean | undefined;
|
|
1102
1120
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1103
1121
|
};
|
|
1104
1122
|
commitToHistory: false;
|