@zsviczian/excalidraw 0.15.2-obsidian-12 → 0.15.3-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 +119 -42
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +12 -3
- package/types/actions/actionBoundText.d.ts +8 -2
- package/types/actions/actionCanvas.d.ts +48 -12
- package/types/actions/actionClipboard.d.ts +20 -5
- package/types/actions/actionDeleteSelected.d.ts +12 -3
- package/types/actions/actionElementLock.d.ts +8 -2
- package/types/actions/actionExport.d.ts +36 -9
- package/types/actions/actionFinalize.d.ts +9 -3
- package/types/actions/actionFrame.d.ts +12 -3
- package/types/actions/actionGroup.d.ts +291 -3
- package/types/actions/actionLinearEditor.d.ts +4 -1
- package/types/actions/actionMenu.d.ts +12 -3
- package/types/actions/actionProperties.d.ts +52 -13
- package/types/actions/actionSelectAll.d.ts +146 -1
- package/types/actions/actionStyles.d.ts +4 -1
- package/types/actions/actionToggleGridMode.d.ts +4 -1
- package/types/actions/actionToggleStats.d.ts +4 -1
- package/types/actions/actionToggleViewMode.d.ts +4 -1
- package/types/actions/actionToggleZenMode.d.ts +4 -1
- package/types/clipboard.d.ts +1 -0
- package/types/components/Actions.d.ts +2 -2
- package/types/components/App.d.ts +8 -6
- package/types/components/JSONExportDialog.d.ts +1 -1
- package/types/components/LayerUI.d.ts +3 -2
- package/types/components/MobileMenu.d.ts +2 -2
- package/types/components/canvases/InteractiveCanvas.d.ts +27 -0
- package/types/components/canvases/StaticCanvas.d.ts +18 -0
- package/types/components/canvases/index.d.ts +3 -0
- package/types/constants.d.ts +1 -0
- package/types/data/transform.d.ts +71 -0
- package/types/element/Hyperlink.d.ts +5 -2
- package/types/element/binding.d.ts +1 -0
- package/types/element/embeddable.d.ts +4 -1
- package/types/element/linearElementEditor.d.ts +7 -4
- package/types/element/newElement.d.ts +9 -5
- package/types/element/sizeHelpers.d.ts +8 -1
- package/types/element/textElement.d.ts +3 -1
- package/types/element/textWysiwyg.d.ts +1 -1
- package/types/element/transformHandles.d.ts +2 -2
- package/types/frame.d.ts +3 -3
- package/types/groups.d.ts +11 -11
- package/types/packages/excalidraw/example/initialData.d.ts +182 -70
- package/types/packages/excalidraw/index.d.ts +1 -0
- package/types/renderer/renderElement.d.ts +9 -21
- package/types/renderer/renderScene.d.ts +16 -36
- package/types/scene/Renderer.d.ts +25 -0
- package/types/scene/Scene.d.ts +2 -0
- package/types/scene/Shape.d.ts +12 -0
- package/types/scene/ShapeCache.d.ts +20 -0
- package/types/scene/scroll.d.ts +1 -1
- package/types/scene/scrollbars.d.ts +2 -6
- package/types/scene/selection.d.ts +2 -2
- package/types/scene/types.d.ts +57 -24
- package/types/types.d.ts +49 -4
- package/types/utils.d.ts +12 -4
- package/types/actions/actionToggleLock.d.ts +0 -139
- package/types/bug-issue-template.d.ts +0 -2
- package/types/components/ActiveFile.d.ts +0 -7
- package/types/components/BackgroundPickerAndDarkModeToggle.d.ts +0 -4
- package/types/components/ClearCanvas.d.ts +0 -4
- package/types/components/CollabButton.d.ts +0 -7
- package/types/components/ColorPicker.d.ts +0 -19
- package/types/components/EncryptedIcon.d.ts +0 -2
- package/types/components/Footer.d.ts +0 -10
- package/types/components/HelpIcon.d.ts +0 -8
- package/types/components/LibraryButton.d.ts +0 -8
- package/types/components/MenuItem.d.ts +0 -11
- package/types/components/MenuUtils.d.ts +0 -2
- package/types/components/SidebarLockButton.d.ts +0 -8
- package/types/components/SingleLibraryItem.d.ts +0 -10
- package/types/components/TopErrorBoundary.d.ts +0 -15
- package/types/components/WelcomeScreen.d.ts +0 -8
- package/types/components/WelcomeScreenDecor.d.ts +0 -6
- package/types/components/context/tunnels.d.ts +0 -16
- package/types/components/hoc/withUpstreamOverride.d.ts +0 -10
- package/types/components/mainMenu/DefaultItems.d.ts +0 -44
- package/types/components/mainMenu/MainMenu.d.ts +0 -63
- package/types/element/iframe.d.ts +0 -167
- package/types/excalidraw-app/CustomStats.d.ts +0 -9
- package/types/excalidraw-app/app_constants.d.ts +0 -32
- package/types/excalidraw-app/collab/Collab.d.ts +0 -163
- package/types/excalidraw-app/collab/Portal.d.ts +0 -28
- package/types/excalidraw-app/collab/RoomDialog.d.ts +0 -13
- package/types/excalidraw-app/collab/reconciliation.d.ts +0 -10
- package/types/excalidraw-app/components/ExportToExcalidrawPlus.d.ts +0 -9
- package/types/excalidraw-app/components/LanguageList.d.ts +0 -4
- package/types/excalidraw-app/components/icons.d.ts +0 -1
- package/types/excalidraw-app/data/FileManager.d.ts +0 -66
- package/types/excalidraw-app/data/LocalData.d.ts +0 -32
- package/types/excalidraw-app/data/Locker.d.ts +0 -8
- package/types/excalidraw-app/data/firebase.d.ts +0 -25
- package/types/excalidraw-app/data/index.d.ts +0 -190
- package/types/excalidraw-app/data/localStorage.d.ts +0 -116
- package/types/excalidraw-app/data/tabSync.d.ts +0 -9
- package/types/excalidraw-app/index.d.ts +0 -26
- package/types/packages/common.webpack.dev.config.d.ts +0 -72
- package/types/packages/common.webpack.prod.config.d.ts +0 -84
- package/types/packages/excalidraw/example/sidebar/Sidebar.d.ts +0 -5
package/package.json
CHANGED
|
@@ -140,7 +140,10 @@ export declare const actionAddToLibrary: {
|
|
|
140
140
|
customPens?: any[] | undefined;
|
|
141
141
|
currentStrokeOptions?: any;
|
|
142
142
|
resetCustomPen?: any;
|
|
143
|
-
gridColor:
|
|
143
|
+
gridColor: {
|
|
144
|
+
Bold: string;
|
|
145
|
+
Regular: string;
|
|
146
|
+
};
|
|
144
147
|
dynamicStyle: string;
|
|
145
148
|
invertBindingBehaviour: boolean;
|
|
146
149
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -284,7 +287,10 @@ export declare const actionAddToLibrary: {
|
|
|
284
287
|
customPens?: any[] | undefined;
|
|
285
288
|
currentStrokeOptions?: any;
|
|
286
289
|
resetCustomPen?: any;
|
|
287
|
-
gridColor:
|
|
290
|
+
gridColor: {
|
|
291
|
+
Bold: string;
|
|
292
|
+
Regular: string;
|
|
293
|
+
};
|
|
288
294
|
dynamicStyle: string;
|
|
289
295
|
invertBindingBehaviour: boolean;
|
|
290
296
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -428,7 +434,10 @@ export declare const actionAddToLibrary: {
|
|
|
428
434
|
customPens?: any[] | undefined;
|
|
429
435
|
currentStrokeOptions?: any;
|
|
430
436
|
resetCustomPen?: any;
|
|
431
|
-
gridColor:
|
|
437
|
+
gridColor: {
|
|
438
|
+
Bold: string;
|
|
439
|
+
Regular: string;
|
|
440
|
+
};
|
|
432
441
|
dynamicStyle: string;
|
|
433
442
|
invertBindingBehaviour: boolean;
|
|
434
443
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -162,7 +162,10 @@ export declare const actionBindText: {
|
|
|
162
162
|
customPens?: any[] | undefined;
|
|
163
163
|
currentStrokeOptions?: any;
|
|
164
164
|
resetCustomPen?: any;
|
|
165
|
-
gridColor:
|
|
165
|
+
gridColor: {
|
|
166
|
+
Bold: string;
|
|
167
|
+
Regular: string;
|
|
168
|
+
};
|
|
166
169
|
dynamicStyle: string;
|
|
167
170
|
invertBindingBehaviour: boolean;
|
|
168
171
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -318,7 +321,10 @@ export declare const actionWrapTextInContainer: {
|
|
|
318
321
|
customPens?: any[] | undefined;
|
|
319
322
|
currentStrokeOptions?: any;
|
|
320
323
|
resetCustomPen?: any;
|
|
321
|
-
gridColor:
|
|
324
|
+
gridColor: {
|
|
325
|
+
Bold: string;
|
|
326
|
+
Regular: string;
|
|
327
|
+
};
|
|
322
328
|
dynamicStyle: string;
|
|
323
329
|
invertBindingBehaviour: boolean;
|
|
324
330
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -154,7 +154,10 @@ export declare const actionClearCanvas: {
|
|
|
154
154
|
linkOpacity: number;
|
|
155
155
|
currentStrokeOptions?: any;
|
|
156
156
|
resetCustomPen?: any;
|
|
157
|
-
gridColor:
|
|
157
|
+
gridColor: {
|
|
158
|
+
Bold: string;
|
|
159
|
+
Regular: string;
|
|
160
|
+
};
|
|
158
161
|
dynamicStyle: string;
|
|
159
162
|
invertBindingBehaviour: boolean;
|
|
160
163
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -308,7 +311,10 @@ export declare const actionZoomIn: {
|
|
|
308
311
|
customPens?: any[] | undefined;
|
|
309
312
|
currentStrokeOptions?: any;
|
|
310
313
|
resetCustomPen?: any;
|
|
311
|
-
gridColor:
|
|
314
|
+
gridColor: {
|
|
315
|
+
Bold: string;
|
|
316
|
+
Regular: string;
|
|
317
|
+
};
|
|
312
318
|
dynamicStyle: string;
|
|
313
319
|
invertBindingBehaviour: boolean;
|
|
314
320
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -464,7 +470,10 @@ export declare const actionZoomOut: {
|
|
|
464
470
|
customPens?: any[] | undefined;
|
|
465
471
|
currentStrokeOptions?: any;
|
|
466
472
|
resetCustomPen?: any;
|
|
467
|
-
gridColor:
|
|
473
|
+
gridColor: {
|
|
474
|
+
Bold: string;
|
|
475
|
+
Regular: string;
|
|
476
|
+
};
|
|
468
477
|
dynamicStyle: string;
|
|
469
478
|
invertBindingBehaviour: boolean;
|
|
470
479
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -620,7 +629,10 @@ export declare const actionResetZoom: {
|
|
|
620
629
|
customPens?: any[] | undefined;
|
|
621
630
|
currentStrokeOptions?: any;
|
|
622
631
|
resetCustomPen?: any;
|
|
623
|
-
gridColor:
|
|
632
|
+
gridColor: {
|
|
633
|
+
Bold: string;
|
|
634
|
+
Regular: string;
|
|
635
|
+
};
|
|
624
636
|
dynamicStyle: string;
|
|
625
637
|
invertBindingBehaviour: boolean;
|
|
626
638
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -777,7 +789,10 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
777
789
|
customPens?: any[] | undefined;
|
|
778
790
|
currentStrokeOptions?: any;
|
|
779
791
|
resetCustomPen?: any;
|
|
780
|
-
gridColor:
|
|
792
|
+
gridColor: {
|
|
793
|
+
Bold: string;
|
|
794
|
+
Regular: string;
|
|
795
|
+
};
|
|
781
796
|
dynamicStyle: string;
|
|
782
797
|
invertBindingBehaviour: boolean;
|
|
783
798
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -927,7 +942,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
927
942
|
customPens?: any[] | undefined;
|
|
928
943
|
currentStrokeOptions?: any;
|
|
929
944
|
resetCustomPen?: any;
|
|
930
|
-
gridColor:
|
|
945
|
+
gridColor: {
|
|
946
|
+
Bold: string;
|
|
947
|
+
Regular: string;
|
|
948
|
+
};
|
|
931
949
|
dynamicStyle: string;
|
|
932
950
|
invertBindingBehaviour: boolean;
|
|
933
951
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1081,7 +1099,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1081
1099
|
customPens?: any[] | undefined;
|
|
1082
1100
|
currentStrokeOptions?: any;
|
|
1083
1101
|
resetCustomPen?: any;
|
|
1084
|
-
gridColor:
|
|
1102
|
+
gridColor: {
|
|
1103
|
+
Bold: string;
|
|
1104
|
+
Regular: string;
|
|
1105
|
+
};
|
|
1085
1106
|
dynamicStyle: string;
|
|
1086
1107
|
invertBindingBehaviour: boolean;
|
|
1087
1108
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1236,7 +1257,10 @@ export declare const actionZoomToFit: {
|
|
|
1236
1257
|
customPens?: any[] | undefined;
|
|
1237
1258
|
currentStrokeOptions?: any;
|
|
1238
1259
|
resetCustomPen?: any;
|
|
1239
|
-
gridColor:
|
|
1260
|
+
gridColor: {
|
|
1261
|
+
Bold: string;
|
|
1262
|
+
Regular: string;
|
|
1263
|
+
};
|
|
1240
1264
|
dynamicStyle: string;
|
|
1241
1265
|
invertBindingBehaviour: boolean;
|
|
1242
1266
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1391,7 +1415,10 @@ export declare const actionToggleTheme: {
|
|
|
1391
1415
|
customPens?: any[] | undefined;
|
|
1392
1416
|
currentStrokeOptions?: any;
|
|
1393
1417
|
resetCustomPen?: any;
|
|
1394
|
-
gridColor:
|
|
1418
|
+
gridColor: {
|
|
1419
|
+
Bold: string;
|
|
1420
|
+
Regular: string;
|
|
1421
|
+
};
|
|
1395
1422
|
dynamicStyle: string;
|
|
1396
1423
|
invertBindingBehaviour: boolean;
|
|
1397
1424
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1539,7 +1566,10 @@ export declare const actionToggleEraserTool: {
|
|
|
1539
1566
|
customPens?: any[] | undefined;
|
|
1540
1567
|
currentStrokeOptions?: any;
|
|
1541
1568
|
resetCustomPen?: any;
|
|
1542
|
-
gridColor:
|
|
1569
|
+
gridColor: {
|
|
1570
|
+
Bold: string;
|
|
1571
|
+
Regular: string;
|
|
1572
|
+
};
|
|
1543
1573
|
dynamicStyle: string;
|
|
1544
1574
|
invertBindingBehaviour: boolean;
|
|
1545
1575
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1686,7 +1716,10 @@ export declare const actionToggleHandTool: {
|
|
|
1686
1716
|
customPens?: any[] | undefined;
|
|
1687
1717
|
currentStrokeOptions?: any;
|
|
1688
1718
|
resetCustomPen?: any;
|
|
1689
|
-
gridColor:
|
|
1719
|
+
gridColor: {
|
|
1720
|
+
Bold: string;
|
|
1721
|
+
Regular: string;
|
|
1722
|
+
};
|
|
1690
1723
|
dynamicStyle: string;
|
|
1691
1724
|
invertBindingBehaviour: boolean;
|
|
1692
1725
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1835,7 +1868,10 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
1835
1868
|
customPens?: any[] | undefined;
|
|
1836
1869
|
currentStrokeOptions?: any;
|
|
1837
1870
|
resetCustomPen?: any;
|
|
1838
|
-
gridColor:
|
|
1871
|
+
gridColor: {
|
|
1872
|
+
Bold: string;
|
|
1873
|
+
Regular: string;
|
|
1874
|
+
};
|
|
1839
1875
|
dynamicStyle: string;
|
|
1840
1876
|
invertBindingBehaviour: boolean;
|
|
1841
1877
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -170,7 +170,10 @@ export declare const actionCut: {
|
|
|
170
170
|
customPens?: any[] | undefined;
|
|
171
171
|
currentStrokeOptions?: any;
|
|
172
172
|
resetCustomPen?: any;
|
|
173
|
-
gridColor:
|
|
173
|
+
gridColor: {
|
|
174
|
+
Bold: string;
|
|
175
|
+
Regular: string;
|
|
176
|
+
};
|
|
174
177
|
dynamicStyle: string;
|
|
175
178
|
invertBindingBehaviour: boolean;
|
|
176
179
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -343,7 +346,10 @@ export declare const actionCut: {
|
|
|
343
346
|
customPens?: any[] | undefined;
|
|
344
347
|
currentStrokeOptions?: any;
|
|
345
348
|
resetCustomPen?: any;
|
|
346
|
-
gridColor:
|
|
349
|
+
gridColor: {
|
|
350
|
+
Bold: string;
|
|
351
|
+
Regular: string;
|
|
352
|
+
};
|
|
347
353
|
dynamicStyle: string;
|
|
348
354
|
invertBindingBehaviour: boolean;
|
|
349
355
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -483,7 +489,10 @@ export declare const actionCut: {
|
|
|
483
489
|
customPens?: any[] | undefined;
|
|
484
490
|
currentStrokeOptions?: any;
|
|
485
491
|
resetCustomPen?: any;
|
|
486
|
-
gridColor:
|
|
492
|
+
gridColor: {
|
|
493
|
+
Bold: string;
|
|
494
|
+
Regular: string;
|
|
495
|
+
};
|
|
487
496
|
dynamicStyle: string;
|
|
488
497
|
invertBindingBehaviour: boolean;
|
|
489
498
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -642,7 +651,10 @@ export declare const actionCopyAsSvg: {
|
|
|
642
651
|
customPens?: any[] | undefined;
|
|
643
652
|
currentStrokeOptions?: any;
|
|
644
653
|
resetCustomPen?: any;
|
|
645
|
-
gridColor:
|
|
654
|
+
gridColor: {
|
|
655
|
+
Bold: string;
|
|
656
|
+
Regular: string;
|
|
657
|
+
};
|
|
646
658
|
dynamicStyle: string;
|
|
647
659
|
invertBindingBehaviour: boolean;
|
|
648
660
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -800,7 +812,10 @@ export declare const actionCopyAsPng: {
|
|
|
800
812
|
customPens?: any[] | undefined;
|
|
801
813
|
currentStrokeOptions?: any;
|
|
802
814
|
resetCustomPen?: any;
|
|
803
|
-
gridColor:
|
|
815
|
+
gridColor: {
|
|
816
|
+
Bold: string;
|
|
817
|
+
Regular: string;
|
|
818
|
+
};
|
|
804
819
|
dynamicStyle: string;
|
|
805
820
|
invertBindingBehaviour: boolean;
|
|
806
821
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -146,7 +146,10 @@ export declare const actionDeleteSelected: {
|
|
|
146
146
|
customPens?: any[] | undefined;
|
|
147
147
|
currentStrokeOptions?: any;
|
|
148
148
|
resetCustomPen?: any;
|
|
149
|
-
gridColor:
|
|
149
|
+
gridColor: {
|
|
150
|
+
Bold: string;
|
|
151
|
+
Regular: string;
|
|
152
|
+
};
|
|
150
153
|
dynamicStyle: string;
|
|
151
154
|
invertBindingBehaviour: boolean;
|
|
152
155
|
selectedLinearElement: LinearElementEditor | null;
|
|
@@ -319,7 +322,10 @@ export declare const actionDeleteSelected: {
|
|
|
319
322
|
customPens?: any[] | undefined;
|
|
320
323
|
currentStrokeOptions?: any;
|
|
321
324
|
resetCustomPen?: any;
|
|
322
|
-
gridColor:
|
|
325
|
+
gridColor: {
|
|
326
|
+
Bold: string;
|
|
327
|
+
Regular: string;
|
|
328
|
+
};
|
|
323
329
|
dynamicStyle: string;
|
|
324
330
|
invertBindingBehaviour: boolean;
|
|
325
331
|
selectedLinearElement: LinearElementEditor | null;
|
|
@@ -459,7 +465,10 @@ export declare const actionDeleteSelected: {
|
|
|
459
465
|
customPens?: any[] | undefined;
|
|
460
466
|
currentStrokeOptions?: any;
|
|
461
467
|
resetCustomPen?: any;
|
|
462
|
-
gridColor:
|
|
468
|
+
gridColor: {
|
|
469
|
+
Bold: string;
|
|
470
|
+
Regular: string;
|
|
471
|
+
};
|
|
463
472
|
dynamicStyle: string;
|
|
464
473
|
invertBindingBehaviour: boolean;
|
|
465
474
|
selectedLinearElement: LinearElementEditor | null;
|
|
@@ -145,7 +145,10 @@ export declare const actionToggleElementLock: {
|
|
|
145
145
|
customPens?: any[] | undefined;
|
|
146
146
|
currentStrokeOptions?: any;
|
|
147
147
|
resetCustomPen?: any;
|
|
148
|
-
gridColor:
|
|
148
|
+
gridColor: {
|
|
149
|
+
Bold: string;
|
|
150
|
+
Regular: string;
|
|
151
|
+
};
|
|
149
152
|
dynamicStyle: string;
|
|
150
153
|
invertBindingBehaviour: boolean;
|
|
151
154
|
};
|
|
@@ -302,7 +305,10 @@ export declare const actionUnlockAllElements: {
|
|
|
302
305
|
customPens?: any[] | undefined;
|
|
303
306
|
currentStrokeOptions?: any;
|
|
304
307
|
resetCustomPen?: any;
|
|
305
|
-
gridColor:
|
|
308
|
+
gridColor: {
|
|
309
|
+
Bold: string;
|
|
310
|
+
Regular: string;
|
|
311
|
+
};
|
|
306
312
|
dynamicStyle: string;
|
|
307
313
|
invertBindingBehaviour: boolean;
|
|
308
314
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -141,7 +141,10 @@ export declare const actionChangeProjectName: {
|
|
|
141
141
|
customPens?: any[] | undefined;
|
|
142
142
|
currentStrokeOptions?: any;
|
|
143
143
|
resetCustomPen?: any;
|
|
144
|
-
gridColor:
|
|
144
|
+
gridColor: {
|
|
145
|
+
Bold: string;
|
|
146
|
+
Regular: string;
|
|
147
|
+
};
|
|
145
148
|
dynamicStyle: string;
|
|
146
149
|
invertBindingBehaviour: boolean;
|
|
147
150
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -296,7 +299,10 @@ export declare const actionChangeExportScale: {
|
|
|
296
299
|
customPens?: any[] | undefined;
|
|
297
300
|
currentStrokeOptions?: any;
|
|
298
301
|
resetCustomPen?: any;
|
|
299
|
-
gridColor:
|
|
302
|
+
gridColor: {
|
|
303
|
+
Bold: string;
|
|
304
|
+
Regular: string;
|
|
305
|
+
};
|
|
300
306
|
dynamicStyle: string;
|
|
301
307
|
invertBindingBehaviour: boolean;
|
|
302
308
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -451,7 +457,10 @@ export declare const actionChangeExportBackground: {
|
|
|
451
457
|
customPens?: any[] | undefined;
|
|
452
458
|
currentStrokeOptions?: any;
|
|
453
459
|
resetCustomPen?: any;
|
|
454
|
-
gridColor:
|
|
460
|
+
gridColor: {
|
|
461
|
+
Bold: string;
|
|
462
|
+
Regular: string;
|
|
463
|
+
};
|
|
455
464
|
dynamicStyle: string;
|
|
456
465
|
invertBindingBehaviour: boolean;
|
|
457
466
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -606,7 +615,10 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
606
615
|
customPens?: any[] | undefined;
|
|
607
616
|
currentStrokeOptions?: any;
|
|
608
617
|
resetCustomPen?: any;
|
|
609
|
-
gridColor:
|
|
618
|
+
gridColor: {
|
|
619
|
+
Bold: string;
|
|
620
|
+
Regular: string;
|
|
621
|
+
};
|
|
610
622
|
dynamicStyle: string;
|
|
611
623
|
invertBindingBehaviour: boolean;
|
|
612
624
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -760,7 +772,10 @@ export declare const actionSaveToActiveFile: {
|
|
|
760
772
|
customPens?: any[] | undefined;
|
|
761
773
|
currentStrokeOptions?: any;
|
|
762
774
|
resetCustomPen?: any;
|
|
763
|
-
gridColor:
|
|
775
|
+
gridColor: {
|
|
776
|
+
Bold: string;
|
|
777
|
+
Regular: string;
|
|
778
|
+
};
|
|
764
779
|
dynamicStyle: string;
|
|
765
780
|
invertBindingBehaviour: boolean;
|
|
766
781
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -918,7 +933,10 @@ export declare const actionSaveFileToDisk: {
|
|
|
918
933
|
customPens?: any[] | undefined;
|
|
919
934
|
currentStrokeOptions?: any;
|
|
920
935
|
resetCustomPen?: any;
|
|
921
|
-
gridColor:
|
|
936
|
+
gridColor: {
|
|
937
|
+
Bold: string;
|
|
938
|
+
Regular: string;
|
|
939
|
+
};
|
|
922
940
|
dynamicStyle: string;
|
|
923
941
|
invertBindingBehaviour: boolean;
|
|
924
942
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1073,7 +1091,10 @@ export declare const actionLoadScene: {
|
|
|
1073
1091
|
customPens?: any[] | undefined;
|
|
1074
1092
|
currentStrokeOptions?: any;
|
|
1075
1093
|
resetCustomPen?: any;
|
|
1076
|
-
gridColor:
|
|
1094
|
+
gridColor: {
|
|
1095
|
+
Bold: string;
|
|
1096
|
+
Regular: string;
|
|
1097
|
+
};
|
|
1077
1098
|
dynamicStyle: string;
|
|
1078
1099
|
invertBindingBehaviour: boolean;
|
|
1079
1100
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1219,7 +1240,10 @@ export declare const actionLoadScene: {
|
|
|
1219
1240
|
customPens?: any[] | undefined;
|
|
1220
1241
|
currentStrokeOptions?: any;
|
|
1221
1242
|
resetCustomPen?: any;
|
|
1222
|
-
gridColor:
|
|
1243
|
+
gridColor: {
|
|
1244
|
+
Bold: string;
|
|
1245
|
+
Regular: string;
|
|
1246
|
+
};
|
|
1223
1247
|
dynamicStyle: string;
|
|
1224
1248
|
invertBindingBehaviour: boolean;
|
|
1225
1249
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -1375,7 +1399,10 @@ export declare const actionExportWithDarkMode: {
|
|
|
1375
1399
|
customPens?: any[] | undefined;
|
|
1376
1400
|
currentStrokeOptions?: any;
|
|
1377
1401
|
resetCustomPen?: any;
|
|
1378
|
-
gridColor:
|
|
1402
|
+
gridColor: {
|
|
1403
|
+
Bold: string;
|
|
1404
|
+
Regular: string;
|
|
1405
|
+
};
|
|
1379
1406
|
dynamicStyle: string;
|
|
1380
1407
|
invertBindingBehaviour: boolean;
|
|
1381
1408
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -3,7 +3,7 @@ import { AppState } from "../types";
|
|
|
3
3
|
export declare const actionFinalize: {
|
|
4
4
|
name: "finalize";
|
|
5
5
|
trackEvent: false;
|
|
6
|
-
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<AppState>, _: any, {
|
|
6
|
+
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<AppState>, _: any, { interactiveCanvas, focusContainer, scene }: import("../types").AppClassProperties) => {
|
|
7
7
|
elements: import("../element/types").ExcalidrawElement[] | undefined;
|
|
8
8
|
appState: {
|
|
9
9
|
cursorButton: "up";
|
|
@@ -142,7 +142,10 @@ export declare const actionFinalize: {
|
|
|
142
142
|
customPens?: any[] | undefined;
|
|
143
143
|
currentStrokeOptions?: any;
|
|
144
144
|
resetCustomPen?: any;
|
|
145
|
-
gridColor:
|
|
145
|
+
gridColor: {
|
|
146
|
+
Bold: string;
|
|
147
|
+
Regular: string;
|
|
148
|
+
};
|
|
146
149
|
dynamicStyle: string;
|
|
147
150
|
invertBindingBehaviour: boolean;
|
|
148
151
|
selectedLinearElement: LinearElementEditor | null;
|
|
@@ -285,7 +288,10 @@ export declare const actionFinalize: {
|
|
|
285
288
|
customPens?: any[] | undefined;
|
|
286
289
|
currentStrokeOptions?: any;
|
|
287
290
|
resetCustomPen?: any;
|
|
288
|
-
gridColor:
|
|
291
|
+
gridColor: {
|
|
292
|
+
Bold: string;
|
|
293
|
+
Regular: string;
|
|
294
|
+
};
|
|
289
295
|
dynamicStyle: string;
|
|
290
296
|
invertBindingBehaviour: boolean;
|
|
291
297
|
};
|
|
@@ -159,7 +159,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
159
159
|
customPens?: any[] | undefined;
|
|
160
160
|
currentStrokeOptions?: any;
|
|
161
161
|
resetCustomPen?: any;
|
|
162
|
-
gridColor:
|
|
162
|
+
gridColor: {
|
|
163
|
+
Bold: string;
|
|
164
|
+
Regular: string;
|
|
165
|
+
};
|
|
163
166
|
dynamicStyle: string;
|
|
164
167
|
invertBindingBehaviour: boolean;
|
|
165
168
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -320,7 +323,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
320
323
|
customPens?: any[] | undefined;
|
|
321
324
|
currentStrokeOptions?: any;
|
|
322
325
|
resetCustomPen?: any;
|
|
323
|
-
gridColor:
|
|
326
|
+
gridColor: {
|
|
327
|
+
Bold: string;
|
|
328
|
+
Regular: string;
|
|
329
|
+
};
|
|
324
330
|
dynamicStyle: string;
|
|
325
331
|
invertBindingBehaviour: boolean;
|
|
326
332
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
@@ -476,7 +482,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
476
482
|
customPens?: any[] | undefined;
|
|
477
483
|
currentStrokeOptions?: any;
|
|
478
484
|
resetCustomPen?: any;
|
|
479
|
-
gridColor:
|
|
485
|
+
gridColor: {
|
|
486
|
+
Bold: string;
|
|
487
|
+
Regular: string;
|
|
488
|
+
};
|
|
480
489
|
dynamicStyle: string;
|
|
481
490
|
invertBindingBehaviour: boolean;
|
|
482
491
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|