@zsviczian/excalidraw 0.10.0-obsidian-39 → 0.10.0-obsidian-40
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 +72 -29
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +9 -15
- package/types/actions/actionCanvas.d.ts +45 -61
- package/types/actions/actionClipboard.d.ts +15 -25
- package/types/actions/actionDeleteSelected.d.ts +9 -15
- package/types/actions/actionExport.d.ts +27 -45
- package/types/actions/actionFinalize.d.ts +6 -10
- package/types/actions/actionMenu.d.ts +9 -15
- package/types/actions/actionProperties.d.ts +36 -60
- package/types/actions/actionStyles.d.ts +3 -5
- package/types/actions/actionToggleGridMode.d.ts +3 -5
- package/types/actions/actionToggleStats.d.ts +3 -5
- package/types/actions/actionToggleViewMode.d.ts +3 -5
- package/types/actions/actionToggleZenMode.d.ts +3 -5
- package/types/actions/actionUnbindText.d.ts +11 -0
- package/types/actions/index.d.ts +2 -0
- package/types/actions/shortcuts.d.ts +1 -1
- package/types/actions/types.d.ts +1 -1
- package/types/appState.d.ts +0 -5
- package/types/components/App.d.ts +9 -1
- package/types/components/LayerUI.d.ts +2 -2
- package/types/components/MobileMenu.d.ts +2 -2
- package/types/components/PenModeButton.d.ts +3 -3
- package/types/components/Tooltip.d.ts +7 -0
- package/types/components/icons.d.ts +1 -0
- package/types/constants.d.ts +1 -0
- package/types/element/Hyperlink.d.ts +116 -0
- package/types/element/collision.d.ts +1 -0
- package/types/element/linearElementEditor.d.ts +3 -6
- package/types/element/newElement.d.ts +1 -1
- package/types/element/textWysiwyg.d.ts +1 -3
- package/types/element/types.d.ts +1 -0
- package/types/keys.d.ts +1 -0
- package/types/renderer/renderElement.d.ts +1 -0
- package/types/scene/index.d.ts +1 -1
- package/types/scene/zoom.d.ts +12 -5
- package/types/types.d.ts +4 -5
package/package.json
CHANGED
|
@@ -17,7 +17,8 @@ export declare const actionAddToLibrary: {
|
|
|
17
17
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
18
18
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
19
19
|
elementLocked: boolean;
|
|
20
|
-
|
|
20
|
+
penMode: boolean;
|
|
21
|
+
penDetected: boolean;
|
|
21
22
|
exportBackground: boolean;
|
|
22
23
|
exportEmbedScene: boolean;
|
|
23
24
|
exportWithDarkMode: boolean;
|
|
@@ -46,10 +47,6 @@ export declare const actionAddToLibrary: {
|
|
|
46
47
|
isRotating: boolean;
|
|
47
48
|
zoom: Readonly<{
|
|
48
49
|
value: import("../types").NormalizedZoomValue;
|
|
49
|
-
translation: Readonly<{
|
|
50
|
-
x: number;
|
|
51
|
-
y: number;
|
|
52
|
-
}>;
|
|
53
50
|
}>;
|
|
54
51
|
openMenu: "canvas" | "shape" | null;
|
|
55
52
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -87,6 +84,7 @@ export declare const actionAddToLibrary: {
|
|
|
87
84
|
data: import("../charts").Spreadsheet;
|
|
88
85
|
};
|
|
89
86
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
87
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
90
88
|
};
|
|
91
89
|
} | {
|
|
92
90
|
commitToHistory: false;
|
|
@@ -104,7 +102,8 @@ export declare const actionAddToLibrary: {
|
|
|
104
102
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
105
103
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
106
104
|
elementLocked: boolean;
|
|
107
|
-
|
|
105
|
+
penMode: boolean;
|
|
106
|
+
penDetected: boolean;
|
|
108
107
|
exportBackground: boolean;
|
|
109
108
|
exportEmbedScene: boolean;
|
|
110
109
|
exportWithDarkMode: boolean;
|
|
@@ -133,10 +132,6 @@ export declare const actionAddToLibrary: {
|
|
|
133
132
|
isRotating: boolean;
|
|
134
133
|
zoom: Readonly<{
|
|
135
134
|
value: import("../types").NormalizedZoomValue;
|
|
136
|
-
translation: Readonly<{
|
|
137
|
-
x: number;
|
|
138
|
-
y: number;
|
|
139
|
-
}>;
|
|
140
135
|
}>;
|
|
141
136
|
openMenu: "canvas" | "shape" | null;
|
|
142
137
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -175,6 +170,7 @@ export declare const actionAddToLibrary: {
|
|
|
175
170
|
data: import("../charts").Spreadsheet;
|
|
176
171
|
};
|
|
177
172
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
173
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
178
174
|
};
|
|
179
175
|
}> | {
|
|
180
176
|
commitToHistory: false;
|
|
@@ -192,7 +188,8 @@ export declare const actionAddToLibrary: {
|
|
|
192
188
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
193
189
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
194
190
|
elementLocked: boolean;
|
|
195
|
-
|
|
191
|
+
penMode: boolean;
|
|
192
|
+
penDetected: boolean;
|
|
196
193
|
exportBackground: boolean;
|
|
197
194
|
exportEmbedScene: boolean;
|
|
198
195
|
exportWithDarkMode: boolean;
|
|
@@ -221,10 +218,6 @@ export declare const actionAddToLibrary: {
|
|
|
221
218
|
isRotating: boolean;
|
|
222
219
|
zoom: Readonly<{
|
|
223
220
|
value: import("../types").NormalizedZoomValue;
|
|
224
|
-
translation: Readonly<{
|
|
225
|
-
x: number;
|
|
226
|
-
y: number;
|
|
227
|
-
}>;
|
|
228
221
|
}>;
|
|
229
222
|
openMenu: "canvas" | "shape" | null;
|
|
230
223
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -263,6 +256,7 @@ export declare const actionAddToLibrary: {
|
|
|
263
256
|
data: import("../charts").Spreadsheet;
|
|
264
257
|
};
|
|
265
258
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
259
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
266
260
|
};
|
|
267
261
|
};
|
|
268
262
|
contextItemLabel: string;
|
|
@@ -19,7 +19,8 @@ export declare const actionClearCanvas: {
|
|
|
19
19
|
files: {};
|
|
20
20
|
theme: string;
|
|
21
21
|
elementLocked: boolean;
|
|
22
|
-
|
|
22
|
+
penMode: boolean;
|
|
23
|
+
penDetected: boolean;
|
|
23
24
|
exportBackground: boolean;
|
|
24
25
|
exportEmbedScene: boolean;
|
|
25
26
|
gridSize: number | null;
|
|
@@ -36,10 +37,6 @@ export declare const actionClearCanvas: {
|
|
|
36
37
|
viewBackgroundColor: string;
|
|
37
38
|
zoom: Readonly<{
|
|
38
39
|
value: NormalizedZoomValue;
|
|
39
|
-
translation: Readonly<{
|
|
40
|
-
x: number;
|
|
41
|
-
y: number;
|
|
42
|
-
}>;
|
|
43
40
|
}>;
|
|
44
41
|
shouldCacheIgnoreZoom: boolean;
|
|
45
42
|
name: string;
|
|
@@ -97,6 +94,7 @@ export declare const actionClearCanvas: {
|
|
|
97
94
|
collaborators: Map<string, import("../types").Collaborator>;
|
|
98
95
|
currentChartType: import("../element/types").ChartType;
|
|
99
96
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
97
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
100
98
|
};
|
|
101
99
|
commitToHistory: true;
|
|
102
100
|
};
|
|
@@ -106,15 +104,13 @@ export declare const actionClearCanvas: {
|
|
|
106
104
|
};
|
|
107
105
|
export declare const actionZoomIn: {
|
|
108
106
|
name: "zoomIn";
|
|
109
|
-
perform: (_elements: readonly ExcalidrawElement[], appState: Readonly<AppState
|
|
107
|
+
perform: (_elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
110
108
|
appState: {
|
|
111
|
-
|
|
109
|
+
scrollX: number;
|
|
110
|
+
scrollY: number;
|
|
111
|
+
zoom: {
|
|
112
112
|
value: NormalizedZoomValue;
|
|
113
|
-
|
|
114
|
-
x: number;
|
|
115
|
-
y: number;
|
|
116
|
-
}>;
|
|
117
|
-
}>;
|
|
113
|
+
};
|
|
118
114
|
isLoading: boolean;
|
|
119
115
|
errorMessage: string | null;
|
|
120
116
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -128,7 +124,8 @@ export declare const actionZoomIn: {
|
|
|
128
124
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
129
125
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
130
126
|
elementLocked: boolean;
|
|
131
|
-
|
|
127
|
+
penMode: boolean;
|
|
128
|
+
penDetected: boolean;
|
|
132
129
|
exportBackground: boolean;
|
|
133
130
|
exportEmbedScene: boolean;
|
|
134
131
|
exportWithDarkMode: boolean;
|
|
@@ -148,8 +145,6 @@ export declare const actionZoomIn: {
|
|
|
148
145
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
149
146
|
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
150
147
|
viewBackgroundColor: string;
|
|
151
|
-
scrollX: number;
|
|
152
|
-
scrollY: number;
|
|
153
148
|
cursorButton: "up" | "down";
|
|
154
149
|
scrolledOutside: boolean;
|
|
155
150
|
name: string;
|
|
@@ -192,6 +187,7 @@ export declare const actionZoomIn: {
|
|
|
192
187
|
data: import("../charts").Spreadsheet;
|
|
193
188
|
};
|
|
194
189
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
190
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
195
191
|
};
|
|
196
192
|
commitToHistory: false;
|
|
197
193
|
};
|
|
@@ -202,15 +198,13 @@ export declare const actionZoomIn: {
|
|
|
202
198
|
};
|
|
203
199
|
export declare const actionZoomOut: {
|
|
204
200
|
name: "zoomOut";
|
|
205
|
-
perform: (_elements: readonly ExcalidrawElement[], appState: Readonly<AppState
|
|
201
|
+
perform: (_elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
206
202
|
appState: {
|
|
207
|
-
|
|
203
|
+
scrollX: number;
|
|
204
|
+
scrollY: number;
|
|
205
|
+
zoom: {
|
|
208
206
|
value: NormalizedZoomValue;
|
|
209
|
-
|
|
210
|
-
x: number;
|
|
211
|
-
y: number;
|
|
212
|
-
}>;
|
|
213
|
-
}>;
|
|
207
|
+
};
|
|
214
208
|
isLoading: boolean;
|
|
215
209
|
errorMessage: string | null;
|
|
216
210
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -224,7 +218,8 @@ export declare const actionZoomOut: {
|
|
|
224
218
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
225
219
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
226
220
|
elementLocked: boolean;
|
|
227
|
-
|
|
221
|
+
penMode: boolean;
|
|
222
|
+
penDetected: boolean;
|
|
228
223
|
exportBackground: boolean;
|
|
229
224
|
exportEmbedScene: boolean;
|
|
230
225
|
exportWithDarkMode: boolean;
|
|
@@ -244,8 +239,6 @@ export declare const actionZoomOut: {
|
|
|
244
239
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
245
240
|
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
246
241
|
viewBackgroundColor: string;
|
|
247
|
-
scrollX: number;
|
|
248
|
-
scrollY: number;
|
|
249
242
|
cursorButton: "up" | "down";
|
|
250
243
|
scrolledOutside: boolean;
|
|
251
244
|
name: string;
|
|
@@ -288,6 +281,7 @@ export declare const actionZoomOut: {
|
|
|
288
281
|
data: import("../charts").Spreadsheet;
|
|
289
282
|
};
|
|
290
283
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
284
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
291
285
|
};
|
|
292
286
|
commitToHistory: false;
|
|
293
287
|
};
|
|
@@ -298,15 +292,13 @@ export declare const actionZoomOut: {
|
|
|
298
292
|
};
|
|
299
293
|
export declare const actionResetZoom: {
|
|
300
294
|
name: "resetZoom";
|
|
301
|
-
perform: (_elements: readonly ExcalidrawElement[], appState: Readonly<AppState
|
|
295
|
+
perform: (_elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
302
296
|
appState: {
|
|
303
|
-
|
|
297
|
+
scrollX: number;
|
|
298
|
+
scrollY: number;
|
|
299
|
+
zoom: {
|
|
304
300
|
value: NormalizedZoomValue;
|
|
305
|
-
|
|
306
|
-
x: number;
|
|
307
|
-
y: number;
|
|
308
|
-
}>;
|
|
309
|
-
}>;
|
|
301
|
+
};
|
|
310
302
|
isLoading: boolean;
|
|
311
303
|
errorMessage: string | null;
|
|
312
304
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -320,7 +312,8 @@ export declare const actionResetZoom: {
|
|
|
320
312
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
321
313
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
322
314
|
elementLocked: boolean;
|
|
323
|
-
|
|
315
|
+
penMode: boolean;
|
|
316
|
+
penDetected: boolean;
|
|
324
317
|
exportBackground: boolean;
|
|
325
318
|
exportEmbedScene: boolean;
|
|
326
319
|
exportWithDarkMode: boolean;
|
|
@@ -340,8 +333,6 @@ export declare const actionResetZoom: {
|
|
|
340
333
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
341
334
|
currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
342
335
|
viewBackgroundColor: string;
|
|
343
|
-
scrollX: number;
|
|
344
|
-
scrollY: number;
|
|
345
336
|
cursorButton: "up" | "down";
|
|
346
337
|
scrolledOutside: boolean;
|
|
347
338
|
name: string;
|
|
@@ -384,6 +375,7 @@ export declare const actionResetZoom: {
|
|
|
384
375
|
data: import("../charts").Spreadsheet;
|
|
385
376
|
};
|
|
386
377
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
378
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
387
379
|
};
|
|
388
380
|
commitToHistory: false;
|
|
389
381
|
};
|
|
@@ -394,13 +386,9 @@ export declare const actionResetZoom: {
|
|
|
394
386
|
};
|
|
395
387
|
export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, zoomToSelection: boolean, maxZoom?: number, margin?: number) => {
|
|
396
388
|
appState: {
|
|
397
|
-
zoom:
|
|
389
|
+
zoom: {
|
|
398
390
|
value: NormalizedZoomValue;
|
|
399
|
-
|
|
400
|
-
x: number;
|
|
401
|
-
y: number;
|
|
402
|
-
}>;
|
|
403
|
-
}>;
|
|
391
|
+
};
|
|
404
392
|
scrollX: number;
|
|
405
393
|
scrollY: number;
|
|
406
394
|
isLoading: boolean;
|
|
@@ -416,7 +404,8 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
416
404
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
417
405
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
418
406
|
elementLocked: boolean;
|
|
419
|
-
|
|
407
|
+
penMode: boolean;
|
|
408
|
+
penDetected: boolean;
|
|
420
409
|
exportBackground: boolean;
|
|
421
410
|
exportEmbedScene: boolean;
|
|
422
411
|
exportWithDarkMode: boolean;
|
|
@@ -478,6 +467,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
478
467
|
data: import("../charts").Spreadsheet;
|
|
479
468
|
};
|
|
480
469
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
470
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
481
471
|
};
|
|
482
472
|
commitToHistory: boolean;
|
|
483
473
|
};
|
|
@@ -485,13 +475,9 @@ export declare const actionZoomToSelected: {
|
|
|
485
475
|
name: "zoomToSelection";
|
|
486
476
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>) => {
|
|
487
477
|
appState: {
|
|
488
|
-
zoom:
|
|
478
|
+
zoom: {
|
|
489
479
|
value: NormalizedZoomValue;
|
|
490
|
-
|
|
491
|
-
x: number;
|
|
492
|
-
y: number;
|
|
493
|
-
}>;
|
|
494
|
-
}>;
|
|
480
|
+
};
|
|
495
481
|
scrollX: number;
|
|
496
482
|
scrollY: number;
|
|
497
483
|
isLoading: boolean;
|
|
@@ -507,7 +493,8 @@ export declare const actionZoomToSelected: {
|
|
|
507
493
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
508
494
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
509
495
|
elementLocked: boolean;
|
|
510
|
-
|
|
496
|
+
penMode: boolean;
|
|
497
|
+
penDetected: boolean;
|
|
511
498
|
exportBackground: boolean;
|
|
512
499
|
exportEmbedScene: boolean;
|
|
513
500
|
exportWithDarkMode: boolean;
|
|
@@ -569,6 +556,7 @@ export declare const actionZoomToSelected: {
|
|
|
569
556
|
data: import("../charts").Spreadsheet;
|
|
570
557
|
};
|
|
571
558
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
559
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
572
560
|
};
|
|
573
561
|
commitToHistory: boolean;
|
|
574
562
|
};
|
|
@@ -580,13 +568,9 @@ export declare const actionZoomToFit: {
|
|
|
580
568
|
name: "zoomToFit";
|
|
581
569
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>) => {
|
|
582
570
|
appState: {
|
|
583
|
-
zoom:
|
|
571
|
+
zoom: {
|
|
584
572
|
value: NormalizedZoomValue;
|
|
585
|
-
|
|
586
|
-
x: number;
|
|
587
|
-
y: number;
|
|
588
|
-
}>;
|
|
589
|
-
}>;
|
|
573
|
+
};
|
|
590
574
|
scrollX: number;
|
|
591
575
|
scrollY: number;
|
|
592
576
|
isLoading: boolean;
|
|
@@ -602,7 +586,8 @@ export declare const actionZoomToFit: {
|
|
|
602
586
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
603
587
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
604
588
|
elementLocked: boolean;
|
|
605
|
-
|
|
589
|
+
penMode: boolean;
|
|
590
|
+
penDetected: boolean;
|
|
606
591
|
exportBackground: boolean;
|
|
607
592
|
exportEmbedScene: boolean;
|
|
608
593
|
exportWithDarkMode: boolean;
|
|
@@ -664,6 +649,7 @@ export declare const actionZoomToFit: {
|
|
|
664
649
|
data: import("../charts").Spreadsheet;
|
|
665
650
|
};
|
|
666
651
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
652
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
667
653
|
};
|
|
668
654
|
commitToHistory: boolean;
|
|
669
655
|
};
|
|
@@ -689,7 +675,8 @@ export declare const actionToggleTheme: {
|
|
|
689
675
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
690
676
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
691
677
|
elementLocked: boolean;
|
|
692
|
-
|
|
678
|
+
penMode: boolean;
|
|
679
|
+
penDetected: boolean;
|
|
693
680
|
exportBackground: boolean;
|
|
694
681
|
exportEmbedScene: boolean;
|
|
695
682
|
exportWithDarkMode: boolean;
|
|
@@ -718,10 +705,6 @@ export declare const actionToggleTheme: {
|
|
|
718
705
|
isRotating: boolean;
|
|
719
706
|
zoom: Readonly<{
|
|
720
707
|
value: NormalizedZoomValue;
|
|
721
|
-
translation: Readonly<{
|
|
722
|
-
x: number;
|
|
723
|
-
y: number;
|
|
724
|
-
}>;
|
|
725
708
|
}>;
|
|
726
709
|
openMenu: "canvas" | "shape" | null;
|
|
727
710
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -759,6 +742,7 @@ export declare const actionToggleTheme: {
|
|
|
759
742
|
data: import("../charts").Spreadsheet;
|
|
760
743
|
};
|
|
761
744
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
745
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
762
746
|
};
|
|
763
747
|
commitToHistory: false;
|
|
764
748
|
};
|
|
@@ -27,7 +27,8 @@ export declare const actionCut: {
|
|
|
27
27
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
28
28
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
29
29
|
elementLocked: boolean;
|
|
30
|
-
|
|
30
|
+
penMode: boolean;
|
|
31
|
+
penDetected: boolean;
|
|
31
32
|
exportBackground: boolean;
|
|
32
33
|
exportEmbedScene: boolean;
|
|
33
34
|
exportWithDarkMode: boolean;
|
|
@@ -56,10 +57,6 @@ export declare const actionCut: {
|
|
|
56
57
|
isRotating: boolean;
|
|
57
58
|
zoom: Readonly<{
|
|
58
59
|
value: import("../types").NormalizedZoomValue;
|
|
59
|
-
translation: Readonly<{
|
|
60
|
-
x: number;
|
|
61
|
-
y: number;
|
|
62
|
-
}>;
|
|
63
60
|
}>;
|
|
64
61
|
openMenu: "canvas" | "shape" | null;
|
|
65
62
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -98,6 +95,7 @@ export declare const actionCut: {
|
|
|
98
95
|
data: import("../charts").Spreadsheet;
|
|
99
96
|
};
|
|
100
97
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
98
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
101
99
|
};
|
|
102
100
|
commitToHistory: false;
|
|
103
101
|
} | {
|
|
@@ -133,7 +131,8 @@ export declare const actionCut: {
|
|
|
133
131
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
134
132
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
135
133
|
elementLocked: boolean;
|
|
136
|
-
|
|
134
|
+
penMode: boolean;
|
|
135
|
+
penDetected: boolean;
|
|
137
136
|
exportBackground: boolean;
|
|
138
137
|
exportEmbedScene: boolean;
|
|
139
138
|
exportWithDarkMode: boolean;
|
|
@@ -162,10 +161,6 @@ export declare const actionCut: {
|
|
|
162
161
|
isRotating: boolean;
|
|
163
162
|
zoom: Readonly<{
|
|
164
163
|
value: import("../types").NormalizedZoomValue;
|
|
165
|
-
translation: Readonly<{
|
|
166
|
-
x: number;
|
|
167
|
-
y: number;
|
|
168
|
-
}>;
|
|
169
164
|
}>;
|
|
170
165
|
openMenu: "canvas" | "shape" | null;
|
|
171
166
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -204,6 +199,7 @@ export declare const actionCut: {
|
|
|
204
199
|
data: import("../charts").Spreadsheet;
|
|
205
200
|
};
|
|
206
201
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
202
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
207
203
|
};
|
|
208
204
|
commitToHistory: true;
|
|
209
205
|
} | {
|
|
@@ -223,7 +219,8 @@ export declare const actionCut: {
|
|
|
223
219
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
224
220
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
225
221
|
elementLocked: boolean;
|
|
226
|
-
|
|
222
|
+
penMode: boolean;
|
|
223
|
+
penDetected: boolean;
|
|
227
224
|
exportBackground: boolean;
|
|
228
225
|
exportEmbedScene: boolean;
|
|
229
226
|
exportWithDarkMode: boolean;
|
|
@@ -252,10 +249,6 @@ export declare const actionCut: {
|
|
|
252
249
|
isRotating: boolean;
|
|
253
250
|
zoom: Readonly<{
|
|
254
251
|
value: import("../types").NormalizedZoomValue;
|
|
255
|
-
translation: Readonly<{
|
|
256
|
-
x: number;
|
|
257
|
-
y: number;
|
|
258
|
-
}>;
|
|
259
252
|
}>;
|
|
260
253
|
openMenu: "canvas" | "shape" | null;
|
|
261
254
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -291,6 +284,7 @@ export declare const actionCut: {
|
|
|
291
284
|
data: import("../charts").Spreadsheet;
|
|
292
285
|
};
|
|
293
286
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
287
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
294
288
|
};
|
|
295
289
|
commitToHistory: boolean;
|
|
296
290
|
};
|
|
@@ -319,7 +313,8 @@ export declare const actionCopyAsSvg: {
|
|
|
319
313
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
320
314
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
321
315
|
elementLocked: boolean;
|
|
322
|
-
|
|
316
|
+
penMode: boolean;
|
|
317
|
+
penDetected: boolean;
|
|
323
318
|
exportBackground: boolean;
|
|
324
319
|
exportEmbedScene: boolean;
|
|
325
320
|
exportWithDarkMode: boolean;
|
|
@@ -348,10 +343,6 @@ export declare const actionCopyAsSvg: {
|
|
|
348
343
|
isRotating: boolean;
|
|
349
344
|
zoom: Readonly<{
|
|
350
345
|
value: import("../types").NormalizedZoomValue;
|
|
351
|
-
translation: Readonly<{
|
|
352
|
-
x: number;
|
|
353
|
-
y: number;
|
|
354
|
-
}>;
|
|
355
346
|
}>;
|
|
356
347
|
openMenu: "canvas" | "shape" | null;
|
|
357
348
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -390,6 +381,7 @@ export declare const actionCopyAsSvg: {
|
|
|
390
381
|
data: import("../charts").Spreadsheet;
|
|
391
382
|
};
|
|
392
383
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
384
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
393
385
|
};
|
|
394
386
|
commitToHistory: false;
|
|
395
387
|
}>;
|
|
@@ -417,7 +409,8 @@ export declare const actionCopyAsPng: {
|
|
|
417
409
|
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
418
410
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
419
411
|
elementLocked: boolean;
|
|
420
|
-
|
|
412
|
+
penMode: boolean;
|
|
413
|
+
penDetected: boolean;
|
|
421
414
|
exportBackground: boolean;
|
|
422
415
|
exportEmbedScene: boolean;
|
|
423
416
|
exportWithDarkMode: boolean;
|
|
@@ -446,10 +439,6 @@ export declare const actionCopyAsPng: {
|
|
|
446
439
|
isRotating: boolean;
|
|
447
440
|
zoom: Readonly<{
|
|
448
441
|
value: import("../types").NormalizedZoomValue;
|
|
449
|
-
translation: Readonly<{
|
|
450
|
-
x: number;
|
|
451
|
-
y: number;
|
|
452
|
-
}>;
|
|
453
442
|
}>;
|
|
454
443
|
openMenu: "canvas" | "shape" | null;
|
|
455
444
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -488,6 +477,7 @@ export declare const actionCopyAsPng: {
|
|
|
488
477
|
data: import("../charts").Spreadsheet;
|
|
489
478
|
};
|
|
490
479
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
480
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
491
481
|
};
|
|
492
482
|
commitToHistory: false;
|
|
493
483
|
}>;
|
|
@@ -20,7 +20,8 @@ export declare const actionDeleteSelected: {
|
|
|
20
20
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
21
21
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
22
22
|
elementLocked: boolean;
|
|
23
|
-
|
|
23
|
+
penMode: boolean;
|
|
24
|
+
penDetected: boolean;
|
|
24
25
|
exportBackground: boolean;
|
|
25
26
|
exportEmbedScene: boolean;
|
|
26
27
|
exportWithDarkMode: boolean;
|
|
@@ -49,10 +50,6 @@ export declare const actionDeleteSelected: {
|
|
|
49
50
|
isRotating: boolean;
|
|
50
51
|
zoom: Readonly<{
|
|
51
52
|
value: import("../types").NormalizedZoomValue;
|
|
52
|
-
translation: Readonly<{
|
|
53
|
-
x: number;
|
|
54
|
-
y: number;
|
|
55
|
-
}>;
|
|
56
53
|
}>;
|
|
57
54
|
openMenu: "canvas" | "shape" | null;
|
|
58
55
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -91,6 +88,7 @@ export declare const actionDeleteSelected: {
|
|
|
91
88
|
data: import("../charts").Spreadsheet;
|
|
92
89
|
};
|
|
93
90
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
91
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
94
92
|
};
|
|
95
93
|
commitToHistory: false;
|
|
96
94
|
} | {
|
|
@@ -126,7 +124,8 @@ export declare const actionDeleteSelected: {
|
|
|
126
124
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
127
125
|
elementType: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "freedraw";
|
|
128
126
|
elementLocked: boolean;
|
|
129
|
-
|
|
127
|
+
penMode: boolean;
|
|
128
|
+
penDetected: boolean;
|
|
130
129
|
exportBackground: boolean;
|
|
131
130
|
exportEmbedScene: boolean;
|
|
132
131
|
exportWithDarkMode: boolean;
|
|
@@ -155,10 +154,6 @@ export declare const actionDeleteSelected: {
|
|
|
155
154
|
isRotating: boolean;
|
|
156
155
|
zoom: Readonly<{
|
|
157
156
|
value: import("../types").NormalizedZoomValue;
|
|
158
|
-
translation: Readonly<{
|
|
159
|
-
x: number;
|
|
160
|
-
y: number;
|
|
161
|
-
}>;
|
|
162
157
|
}>;
|
|
163
158
|
openMenu: "canvas" | "shape" | null;
|
|
164
159
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -197,6 +192,7 @@ export declare const actionDeleteSelected: {
|
|
|
197
192
|
data: import("../charts").Spreadsheet;
|
|
198
193
|
};
|
|
199
194
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
195
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
200
196
|
};
|
|
201
197
|
commitToHistory: true;
|
|
202
198
|
} | {
|
|
@@ -216,7 +212,8 @@ export declare const actionDeleteSelected: {
|
|
|
216
212
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
217
213
|
editingLinearElement: LinearElementEditor | null;
|
|
218
214
|
elementLocked: boolean;
|
|
219
|
-
|
|
215
|
+
penMode: boolean;
|
|
216
|
+
penDetected: boolean;
|
|
220
217
|
exportBackground: boolean;
|
|
221
218
|
exportEmbedScene: boolean;
|
|
222
219
|
exportWithDarkMode: boolean;
|
|
@@ -245,10 +242,6 @@ export declare const actionDeleteSelected: {
|
|
|
245
242
|
isRotating: boolean;
|
|
246
243
|
zoom: Readonly<{
|
|
247
244
|
value: import("../types").NormalizedZoomValue;
|
|
248
|
-
translation: Readonly<{
|
|
249
|
-
x: number;
|
|
250
|
-
y: number;
|
|
251
|
-
}>;
|
|
252
245
|
}>;
|
|
253
246
|
openMenu: "canvas" | "shape" | null;
|
|
254
247
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
@@ -284,6 +277,7 @@ export declare const actionDeleteSelected: {
|
|
|
284
277
|
data: import("../charts").Spreadsheet;
|
|
285
278
|
};
|
|
286
279
|
pendingImageElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawImageElement> | null;
|
|
280
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
287
281
|
};
|
|
288
282
|
commitToHistory: boolean;
|
|
289
283
|
};
|