@zsviczian/excalidraw 0.15.3-obsidian → 0.16.1-obsidian-1
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 +318 -87
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +0 -9
- package/package.json +3 -3
- package/types/actions/actionAddToLibrary.d.ts +24 -3
- package/types/actions/actionAlign.d.ts +6 -6
- package/types/actions/actionBoundText.d.ts +16 -2
- package/types/actions/actionCanvas.d.ts +100 -16
- package/types/actions/actionClipboard.d.ts +40 -5
- package/types/actions/actionDeleteSelected.d.ts +25 -4
- package/types/actions/actionDistribute.d.ts +2 -2
- package/types/actions/actionDuplicateSelection.d.ts +1 -1
- package/types/actions/actionElementLock.d.ts +16 -2
- package/types/actions/actionExport.d.ts +78 -15
- package/types/actions/actionFinalize.d.ts +17 -3
- package/types/actions/actionFrame.d.ts +24 -3
- package/types/actions/actionGroup.d.ts +18 -4
- package/types/actions/actionLinearEditor.d.ts +8 -1
- package/types/actions/actionMenu.d.ts +26 -5
- package/types/actions/actionNavigate.d.ts +1 -1
- package/types/actions/actionProperties.d.ts +119 -26
- package/types/actions/actionSelectAll.d.ts +8 -1
- package/types/actions/actionStyles.d.ts +8 -1
- package/types/actions/actionToggleGridMode.d.ts +8 -1
- package/types/actions/actionToggleObjectsSnapMode.d.ts +169 -0
- package/types/actions/actionToggleStats.d.ts +8 -1
- package/types/actions/actionToggleViewMode.d.ts +8 -1
- package/types/actions/actionToggleZenMode.d.ts +8 -1
- package/types/actions/actionZindex.d.ts +4 -4
- package/types/actions/index.d.ts +1 -0
- package/types/actions/manager.d.ts +1 -1
- package/types/actions/shortcuts.d.ts +1 -1
- package/types/actions/types.d.ts +1 -1
- package/types/appState.d.ts +2 -1
- package/types/components/Actions.d.ts +6 -6
- package/types/components/ActiveConfirmDialog.d.ts +1 -1
- package/types/components/App.d.ts +22 -4
- package/types/components/Avatar.d.ts +1 -1
- package/types/components/BraveMeasureTextError.d.ts +1 -1
- package/types/components/Button.d.ts +1 -1
- package/types/components/ButtonIconSelect.d.ts +1 -1
- package/types/components/ColorPicker/ColorInput.d.ts +3 -1
- package/types/components/ColorPicker/ColorPicker.d.ts +1 -1
- package/types/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/types/components/ColorPicker/HotkeyLabel.d.ts +1 -1
- package/types/components/ColorPicker/Picker.d.ts +1 -1
- package/types/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/types/components/ColorPicker/PickerHeading.d.ts +1 -1
- package/types/components/ColorPicker/ShadeList.d.ts +1 -1
- package/types/components/ColorPicker/TopPicks.d.ts +1 -1
- package/types/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/types/components/ConfirmDialog.d.ts +1 -1
- package/types/components/ContextMenu.d.ts +1 -1
- package/types/components/DarkModeToggle.d.ts +1 -1
- package/types/components/DefaultSidebar.d.ts +1 -1
- package/types/components/Dialog.d.ts +1 -1
- package/types/components/DialogActionButton.d.ts +1 -1
- package/types/components/ErrorDialog.d.ts +1 -1
- package/types/components/ExcalidrawLogo.d.ts +15 -0
- package/types/components/EyeDropper.d.ts +18 -7
- package/types/components/FixedSideContainer.d.ts +1 -1
- package/types/components/HandButton.d.ts +1 -1
- package/types/components/HelpButton.d.ts +1 -1
- package/types/components/HelpDialog.d.ts +1 -1
- package/types/components/HintViewer.d.ts +1 -1
- package/types/components/IconPicker.d.ts +1 -1
- package/types/components/ImageExportDialog.d.ts +2 -2
- package/types/components/InitializeApp.d.ts +1 -1
- package/types/components/JSONExportDialog.d.ts +1 -1
- package/types/components/LayerUI.d.ts +1 -1
- package/types/components/LibraryMenu.d.ts +2 -2
- package/types/components/LibraryMenuBrowseButton.d.ts +1 -1
- package/types/components/LibraryMenuControlButtons.d.ts +1 -1
- package/types/components/LibraryMenuHeaderContent.d.ts +1 -1
- package/types/components/LibraryMenuItems.d.ts +1 -1
- package/types/components/LibraryMenuSection.d.ts +2 -2
- package/types/components/LibraryUnit.d.ts +2 -2
- package/types/components/LockButton.d.ts +1 -1
- package/types/components/MermaidToExcalidraw.d.ts +12 -0
- package/types/components/MobileMenu.d.ts +1 -1
- package/types/components/OverwriteConfirm/OverwriteConfirm.d.ts +4 -4
- package/types/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +6 -6
- package/types/components/PasteChartDialog.d.ts +1 -1
- package/types/components/PenModeButton.d.ts +1 -1
- package/types/components/Popover.d.ts +1 -1
- package/types/components/ProjectName.d.ts +1 -1
- package/types/components/PublishLibrary.d.ts +1 -1
- package/types/components/RadioGroup.d.ts +1 -1
- package/types/components/Sidebar/Sidebar.d.ts +8 -8
- package/types/components/Sidebar/SidebarHeader.d.ts +1 -1
- package/types/components/Sidebar/SidebarTab.d.ts +1 -1
- package/types/components/Sidebar/SidebarTabTrigger.d.ts +1 -1
- package/types/components/Sidebar/SidebarTabTriggers.d.ts +1 -1
- package/types/components/Sidebar/SidebarTabs.d.ts +1 -1
- package/types/components/Sidebar/SidebarTrigger.d.ts +1 -1
- package/types/components/Spinner.d.ts +1 -1
- package/types/components/Stack.d.ts +2 -2
- package/types/components/Stats.d.ts +1 -1
- package/types/components/Switch.d.ts +1 -1
- package/types/components/Toast.d.ts +1 -1
- package/types/components/Tooltip.d.ts +1 -1
- package/types/components/canvases/InteractiveCanvas.d.ts +1 -1
- package/types/components/canvases/StaticCanvas.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenu.d.ts +8 -8
- package/types/components/dropdownMenu/DropdownMenuContent.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuGroup.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuItemContent.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuItemCustom.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuItemLink.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuSeparator.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/types/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -2
- package/types/components/footer/Footer.d.ts +1 -1
- package/types/components/footer/FooterCenter.d.ts +1 -1
- package/types/components/icons.d.ts +128 -126
- package/types/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
- package/types/components/main-menu/DefaultItems.d.ts +10 -10
- package/types/components/main-menu/MainMenu.d.ts +6 -6
- package/types/components/welcome-screen/WelcomeScreen.Center.d.ts +9 -9
- package/types/components/welcome-screen/WelcomeScreen.Hints.d.ts +3 -3
- package/types/components/welcome-screen/WelcomeScreen.d.ts +13 -13
- package/types/constants.d.ts +5 -0
- package/types/data/transform.d.ts +3 -1
- package/types/element/Hyperlink.d.ts +10 -3
- package/types/element/bounds.d.ts +4 -5
- package/types/element/dragElements.d.ts +11 -2
- package/types/element/embeddable.d.ts +8 -1
- package/types/element/linearElementEditor.d.ts +9 -2
- package/types/element/resizeElements.d.ts +2 -2
- package/types/frame.d.ts +1 -1
- package/types/hooks/useStable.d.ts +1 -0
- package/types/keys.d.ts +1 -0
- package/types/math.d.ts +2 -0
- package/types/packages/excalidraw/example/App.d.ts +1 -1
- package/types/packages/excalidraw/example/CustomFooter.d.ts +1 -1
- package/types/packages/excalidraw/example/MobileFooter.d.ts +1 -1
- package/types/packages/excalidraw/example/sidebar/ExampleSidebar.d.ts +1 -1
- package/types/packages/excalidraw/index.d.ts +1 -1
- package/types/packages/excalidraw/webpack.dev.config.d.ts +11 -0
- package/types/packages/excalidraw/webpack.prod.config.d.ts +11 -0
- package/types/packages/utils.d.ts +1 -0
- package/types/renderer/renderSnaps.d.ts +2 -0
- package/types/scene/selection.d.ts +1 -0
- package/types/shapes.d.ts +10 -10
- package/types/snapping.d.ts +108 -0
- package/types/types.d.ts +26 -3
- package/types/utils.d.ts +1 -1
|
@@ -68,7 +68,7 @@ export declare const actionCut: {
|
|
|
68
68
|
lastActiveTool: import("../types").LastActiveTool;
|
|
69
69
|
locked: boolean;
|
|
70
70
|
} & ({
|
|
71
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
71
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
72
72
|
customType: null;
|
|
73
73
|
} | {
|
|
74
74
|
type: "custom";
|
|
@@ -173,10 +173,17 @@ export declare const actionCut: {
|
|
|
173
173
|
gridColor: {
|
|
174
174
|
Bold: string;
|
|
175
175
|
Regular: string;
|
|
176
|
+
MajorGridFrequency?: number | undefined;
|
|
176
177
|
};
|
|
177
178
|
dynamicStyle: string;
|
|
178
179
|
invertBindingBehaviour: boolean;
|
|
179
180
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
181
|
+
snapLines: import("../snapping").SnapLine[];
|
|
182
|
+
originSnapOffset: {
|
|
183
|
+
x: number;
|
|
184
|
+
y: number;
|
|
185
|
+
} | null;
|
|
186
|
+
objectsSnapModeEnabled: boolean;
|
|
180
187
|
};
|
|
181
188
|
commitToHistory: false;
|
|
182
189
|
} | {
|
|
@@ -244,7 +251,7 @@ export declare const actionCut: {
|
|
|
244
251
|
lastActiveTool: import("../types").LastActiveTool;
|
|
245
252
|
locked: boolean;
|
|
246
253
|
} & ({
|
|
247
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
254
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
248
255
|
customType: null;
|
|
249
256
|
} | {
|
|
250
257
|
type: "custom";
|
|
@@ -349,10 +356,17 @@ export declare const actionCut: {
|
|
|
349
356
|
gridColor: {
|
|
350
357
|
Bold: string;
|
|
351
358
|
Regular: string;
|
|
359
|
+
MajorGridFrequency?: number | undefined;
|
|
352
360
|
};
|
|
353
361
|
dynamicStyle: string;
|
|
354
362
|
invertBindingBehaviour: boolean;
|
|
355
363
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
364
|
+
snapLines: import("../snapping").SnapLine[];
|
|
365
|
+
originSnapOffset: {
|
|
366
|
+
x: number;
|
|
367
|
+
y: number;
|
|
368
|
+
} | null;
|
|
369
|
+
objectsSnapModeEnabled: boolean;
|
|
356
370
|
};
|
|
357
371
|
commitToHistory: true;
|
|
358
372
|
} | {
|
|
@@ -362,7 +376,7 @@ export declare const actionCut: {
|
|
|
362
376
|
lastActiveTool: import("../types").LastActiveTool;
|
|
363
377
|
locked: boolean;
|
|
364
378
|
} & ({
|
|
365
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
379
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
366
380
|
customType: null;
|
|
367
381
|
} | {
|
|
368
382
|
type: "custom";
|
|
@@ -492,10 +506,17 @@ export declare const actionCut: {
|
|
|
492
506
|
gridColor: {
|
|
493
507
|
Bold: string;
|
|
494
508
|
Regular: string;
|
|
509
|
+
MajorGridFrequency?: number | undefined;
|
|
495
510
|
};
|
|
496
511
|
dynamicStyle: string;
|
|
497
512
|
invertBindingBehaviour: boolean;
|
|
498
513
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
514
|
+
snapLines: import("../snapping").SnapLine[];
|
|
515
|
+
originSnapOffset: {
|
|
516
|
+
x: number;
|
|
517
|
+
y: number;
|
|
518
|
+
} | null;
|
|
519
|
+
objectsSnapModeEnabled: boolean;
|
|
499
520
|
};
|
|
500
521
|
commitToHistory: boolean;
|
|
501
522
|
};
|
|
@@ -549,7 +570,7 @@ export declare const actionCopyAsSvg: {
|
|
|
549
570
|
lastActiveTool: import("../types").LastActiveTool;
|
|
550
571
|
locked: boolean;
|
|
551
572
|
} & ({
|
|
552
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
573
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
553
574
|
customType: null;
|
|
554
575
|
} | {
|
|
555
576
|
type: "custom";
|
|
@@ -654,10 +675,17 @@ export declare const actionCopyAsSvg: {
|
|
|
654
675
|
gridColor: {
|
|
655
676
|
Bold: string;
|
|
656
677
|
Regular: string;
|
|
678
|
+
MajorGridFrequency?: number | undefined;
|
|
657
679
|
};
|
|
658
680
|
dynamicStyle: string;
|
|
659
681
|
invertBindingBehaviour: boolean;
|
|
660
682
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
683
|
+
snapLines: import("../snapping").SnapLine[];
|
|
684
|
+
originSnapOffset: {
|
|
685
|
+
x: number;
|
|
686
|
+
y: number;
|
|
687
|
+
} | null;
|
|
688
|
+
objectsSnapModeEnabled: boolean;
|
|
661
689
|
};
|
|
662
690
|
commitToHistory: false;
|
|
663
691
|
}>;
|
|
@@ -710,7 +738,7 @@ export declare const actionCopyAsPng: {
|
|
|
710
738
|
lastActiveTool: import("../types").LastActiveTool;
|
|
711
739
|
locked: boolean;
|
|
712
740
|
} & ({
|
|
713
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
741
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
714
742
|
customType: null;
|
|
715
743
|
} | {
|
|
716
744
|
type: "custom";
|
|
@@ -815,10 +843,17 @@ export declare const actionCopyAsPng: {
|
|
|
815
843
|
gridColor: {
|
|
816
844
|
Bold: string;
|
|
817
845
|
Regular: string;
|
|
846
|
+
MajorGridFrequency?: number | undefined;
|
|
818
847
|
};
|
|
819
848
|
dynamicStyle: string;
|
|
820
849
|
invertBindingBehaviour: boolean;
|
|
821
850
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
851
|
+
snapLines: import("../snapping").SnapLine[];
|
|
852
|
+
originSnapOffset: {
|
|
853
|
+
x: number;
|
|
854
|
+
y: number;
|
|
855
|
+
} | null;
|
|
856
|
+
objectsSnapModeEnabled: boolean;
|
|
822
857
|
};
|
|
823
858
|
commitToHistory: false;
|
|
824
859
|
}>;
|
|
@@ -44,7 +44,7 @@ export declare const actionDeleteSelected: {
|
|
|
44
44
|
lastActiveTool: import("../types").LastActiveTool;
|
|
45
45
|
locked: boolean;
|
|
46
46
|
} & ({
|
|
47
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
47
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
48
48
|
customType: null;
|
|
49
49
|
} | {
|
|
50
50
|
type: "custom";
|
|
@@ -149,10 +149,17 @@ export declare const actionDeleteSelected: {
|
|
|
149
149
|
gridColor: {
|
|
150
150
|
Bold: string;
|
|
151
151
|
Regular: string;
|
|
152
|
+
MajorGridFrequency?: number | undefined;
|
|
152
153
|
};
|
|
153
154
|
dynamicStyle: string;
|
|
154
155
|
invertBindingBehaviour: boolean;
|
|
155
156
|
selectedLinearElement: LinearElementEditor | null;
|
|
157
|
+
snapLines: import("../snapping").SnapLine[];
|
|
158
|
+
originSnapOffset: {
|
|
159
|
+
x: number;
|
|
160
|
+
y: number;
|
|
161
|
+
} | null;
|
|
162
|
+
objectsSnapModeEnabled: boolean;
|
|
156
163
|
};
|
|
157
164
|
commitToHistory: false;
|
|
158
165
|
} | {
|
|
@@ -220,7 +227,7 @@ export declare const actionDeleteSelected: {
|
|
|
220
227
|
lastActiveTool: import("../types").LastActiveTool;
|
|
221
228
|
locked: boolean;
|
|
222
229
|
} & ({
|
|
223
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
230
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
224
231
|
customType: null;
|
|
225
232
|
} | {
|
|
226
233
|
type: "custom";
|
|
@@ -325,10 +332,17 @@ export declare const actionDeleteSelected: {
|
|
|
325
332
|
gridColor: {
|
|
326
333
|
Bold: string;
|
|
327
334
|
Regular: string;
|
|
335
|
+
MajorGridFrequency?: number | undefined;
|
|
328
336
|
};
|
|
329
337
|
dynamicStyle: string;
|
|
330
338
|
invertBindingBehaviour: boolean;
|
|
331
339
|
selectedLinearElement: LinearElementEditor | null;
|
|
340
|
+
snapLines: import("../snapping").SnapLine[];
|
|
341
|
+
originSnapOffset: {
|
|
342
|
+
x: number;
|
|
343
|
+
y: number;
|
|
344
|
+
} | null;
|
|
345
|
+
objectsSnapModeEnabled: boolean;
|
|
332
346
|
};
|
|
333
347
|
commitToHistory: true;
|
|
334
348
|
} | {
|
|
@@ -338,7 +352,7 @@ export declare const actionDeleteSelected: {
|
|
|
338
352
|
lastActiveTool: import("../types").LastActiveTool;
|
|
339
353
|
locked: boolean;
|
|
340
354
|
} & ({
|
|
341
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
355
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
342
356
|
customType: null;
|
|
343
357
|
} | {
|
|
344
358
|
type: "custom";
|
|
@@ -468,16 +482,23 @@ export declare const actionDeleteSelected: {
|
|
|
468
482
|
gridColor: {
|
|
469
483
|
Bold: string;
|
|
470
484
|
Regular: string;
|
|
485
|
+
MajorGridFrequency?: number | undefined;
|
|
471
486
|
};
|
|
472
487
|
dynamicStyle: string;
|
|
473
488
|
invertBindingBehaviour: boolean;
|
|
474
489
|
selectedLinearElement: LinearElementEditor | null;
|
|
490
|
+
snapLines: import("../snapping").SnapLine[];
|
|
491
|
+
originSnapOffset: {
|
|
492
|
+
x: number;
|
|
493
|
+
y: number;
|
|
494
|
+
} | null;
|
|
495
|
+
objectsSnapModeEnabled: boolean;
|
|
475
496
|
};
|
|
476
497
|
commitToHistory: boolean;
|
|
477
498
|
};
|
|
478
499
|
contextItemLabel: string;
|
|
479
500
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean;
|
|
480
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
501
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
481
502
|
} & {
|
|
482
503
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean) | undefined;
|
|
483
504
|
};
|
|
@@ -11,7 +11,7 @@ export declare const distributeHorizontally: {
|
|
|
11
11
|
commitToHistory: true;
|
|
12
12
|
};
|
|
13
13
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
14
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
|
|
14
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
} & {
|
|
16
16
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
17
17
|
};
|
|
@@ -26,7 +26,7 @@ export declare const distributeVertically: {
|
|
|
26
26
|
commitToHistory: true;
|
|
27
27
|
};
|
|
28
28
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
29
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
|
|
29
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
} & {
|
|
31
31
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
32
32
|
};
|
|
@@ -15,7 +15,7 @@ export declare const actionDuplicateSelection: {
|
|
|
15
15
|
};
|
|
16
16
|
contextItemLabel: string;
|
|
17
17
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
18
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
18
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
} & {
|
|
20
20
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
21
21
|
};
|
|
@@ -43,7 +43,7 @@ export declare const actionToggleElementLock: {
|
|
|
43
43
|
lastActiveTool: import("../types").LastActiveTool;
|
|
44
44
|
locked: boolean;
|
|
45
45
|
} & ({
|
|
46
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
46
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
47
47
|
customType: null;
|
|
48
48
|
} | {
|
|
49
49
|
type: "custom";
|
|
@@ -148,9 +148,16 @@ export declare const actionToggleElementLock: {
|
|
|
148
148
|
gridColor: {
|
|
149
149
|
Bold: string;
|
|
150
150
|
Regular: string;
|
|
151
|
+
MajorGridFrequency?: number | undefined;
|
|
151
152
|
};
|
|
152
153
|
dynamicStyle: string;
|
|
153
154
|
invertBindingBehaviour: boolean;
|
|
155
|
+
snapLines: import("../snapping").SnapLine[];
|
|
156
|
+
originSnapOffset: {
|
|
157
|
+
x: number;
|
|
158
|
+
y: number;
|
|
159
|
+
} | null;
|
|
160
|
+
objectsSnapModeEnabled: boolean;
|
|
154
161
|
};
|
|
155
162
|
commitToHistory: true;
|
|
156
163
|
};
|
|
@@ -206,7 +213,7 @@ export declare const actionUnlockAllElements: {
|
|
|
206
213
|
lastActiveTool: import("../types").LastActiveTool;
|
|
207
214
|
locked: boolean;
|
|
208
215
|
} & ({
|
|
209
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
216
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
210
217
|
customType: null;
|
|
211
218
|
} | {
|
|
212
219
|
type: "custom";
|
|
@@ -308,10 +315,17 @@ export declare const actionUnlockAllElements: {
|
|
|
308
315
|
gridColor: {
|
|
309
316
|
Bold: string;
|
|
310
317
|
Regular: string;
|
|
318
|
+
MajorGridFrequency?: number | undefined;
|
|
311
319
|
};
|
|
312
320
|
dynamicStyle: string;
|
|
313
321
|
invertBindingBehaviour: boolean;
|
|
314
322
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
323
|
+
snapLines: import("../snapping").SnapLine[];
|
|
324
|
+
originSnapOffset: {
|
|
325
|
+
x: number;
|
|
326
|
+
y: number;
|
|
327
|
+
} | null;
|
|
328
|
+
objectsSnapModeEnabled: boolean;
|
|
315
329
|
};
|
|
316
330
|
commitToHistory: true;
|
|
317
331
|
};
|
|
@@ -40,7 +40,7 @@ export declare const actionChangeProjectName: {
|
|
|
40
40
|
lastActiveTool: import("../types").LastActiveTool;
|
|
41
41
|
locked: boolean;
|
|
42
42
|
} & ({
|
|
43
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
43
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
44
44
|
customType: null;
|
|
45
45
|
} | {
|
|
46
46
|
type: "custom";
|
|
@@ -144,14 +144,21 @@ export declare const actionChangeProjectName: {
|
|
|
144
144
|
gridColor: {
|
|
145
145
|
Bold: string;
|
|
146
146
|
Regular: string;
|
|
147
|
+
MajorGridFrequency?: number | undefined;
|
|
147
148
|
};
|
|
148
149
|
dynamicStyle: string;
|
|
149
150
|
invertBindingBehaviour: boolean;
|
|
150
151
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
152
|
+
snapLines: import("../snapping").SnapLine[];
|
|
153
|
+
originSnapOffset: {
|
|
154
|
+
x: number;
|
|
155
|
+
y: number;
|
|
156
|
+
} | null;
|
|
157
|
+
objectsSnapModeEnabled: boolean;
|
|
151
158
|
};
|
|
152
159
|
commitToHistory: false;
|
|
153
160
|
};
|
|
154
|
-
PanelComponent: ({ appState, updateData, appProps, data }: import("./types").PanelComponentProps) => JSX.Element;
|
|
161
|
+
PanelComponent: ({ appState, updateData, appProps, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
155
162
|
} & {
|
|
156
163
|
keyTest?: undefined;
|
|
157
164
|
};
|
|
@@ -198,7 +205,7 @@ export declare const actionChangeExportScale: {
|
|
|
198
205
|
lastActiveTool: import("../types").LastActiveTool;
|
|
199
206
|
locked: boolean;
|
|
200
207
|
} & ({
|
|
201
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
208
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
202
209
|
customType: null;
|
|
203
210
|
} | {
|
|
204
211
|
type: "custom";
|
|
@@ -302,14 +309,21 @@ export declare const actionChangeExportScale: {
|
|
|
302
309
|
gridColor: {
|
|
303
310
|
Bold: string;
|
|
304
311
|
Regular: string;
|
|
312
|
+
MajorGridFrequency?: number | undefined;
|
|
305
313
|
};
|
|
306
314
|
dynamicStyle: string;
|
|
307
315
|
invertBindingBehaviour: boolean;
|
|
308
316
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
317
|
+
snapLines: import("../snapping").SnapLine[];
|
|
318
|
+
originSnapOffset: {
|
|
319
|
+
x: number;
|
|
320
|
+
y: number;
|
|
321
|
+
} | null;
|
|
322
|
+
objectsSnapModeEnabled: boolean;
|
|
309
323
|
};
|
|
310
324
|
commitToHistory: false;
|
|
311
325
|
};
|
|
312
|
-
PanelComponent: ({ elements: allElements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
326
|
+
PanelComponent: ({ elements: allElements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
313
327
|
} & {
|
|
314
328
|
keyTest?: undefined;
|
|
315
329
|
};
|
|
@@ -356,7 +370,7 @@ export declare const actionChangeExportBackground: {
|
|
|
356
370
|
lastActiveTool: import("../types").LastActiveTool;
|
|
357
371
|
locked: boolean;
|
|
358
372
|
} & ({
|
|
359
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
373
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
360
374
|
customType: null;
|
|
361
375
|
} | {
|
|
362
376
|
type: "custom";
|
|
@@ -460,14 +474,21 @@ export declare const actionChangeExportBackground: {
|
|
|
460
474
|
gridColor: {
|
|
461
475
|
Bold: string;
|
|
462
476
|
Regular: string;
|
|
477
|
+
MajorGridFrequency?: number | undefined;
|
|
463
478
|
};
|
|
464
479
|
dynamicStyle: string;
|
|
465
480
|
invertBindingBehaviour: boolean;
|
|
466
481
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
482
|
+
snapLines: import("../snapping").SnapLine[];
|
|
483
|
+
originSnapOffset: {
|
|
484
|
+
x: number;
|
|
485
|
+
y: number;
|
|
486
|
+
} | null;
|
|
487
|
+
objectsSnapModeEnabled: boolean;
|
|
467
488
|
};
|
|
468
489
|
commitToHistory: false;
|
|
469
490
|
};
|
|
470
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
491
|
+
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
471
492
|
} & {
|
|
472
493
|
keyTest?: undefined;
|
|
473
494
|
};
|
|
@@ -514,7 +535,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
514
535
|
lastActiveTool: import("../types").LastActiveTool;
|
|
515
536
|
locked: boolean;
|
|
516
537
|
} & ({
|
|
517
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
538
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
518
539
|
customType: null;
|
|
519
540
|
} | {
|
|
520
541
|
type: "custom";
|
|
@@ -618,14 +639,21 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
618
639
|
gridColor: {
|
|
619
640
|
Bold: string;
|
|
620
641
|
Regular: string;
|
|
642
|
+
MajorGridFrequency?: number | undefined;
|
|
621
643
|
};
|
|
622
644
|
dynamicStyle: string;
|
|
623
645
|
invertBindingBehaviour: boolean;
|
|
624
646
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
647
|
+
snapLines: import("../snapping").SnapLine[];
|
|
648
|
+
originSnapOffset: {
|
|
649
|
+
x: number;
|
|
650
|
+
y: number;
|
|
651
|
+
} | null;
|
|
652
|
+
objectsSnapModeEnabled: boolean;
|
|
625
653
|
};
|
|
626
654
|
commitToHistory: false;
|
|
627
655
|
};
|
|
628
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
656
|
+
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
629
657
|
} & {
|
|
630
658
|
keyTest?: undefined;
|
|
631
659
|
};
|
|
@@ -676,7 +704,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
676
704
|
lastActiveTool: import("../types").LastActiveTool;
|
|
677
705
|
locked: boolean;
|
|
678
706
|
} & ({
|
|
679
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
707
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
680
708
|
customType: null;
|
|
681
709
|
} | {
|
|
682
710
|
type: "custom";
|
|
@@ -775,10 +803,17 @@ export declare const actionSaveToActiveFile: {
|
|
|
775
803
|
gridColor: {
|
|
776
804
|
Bold: string;
|
|
777
805
|
Regular: string;
|
|
806
|
+
MajorGridFrequency?: number | undefined;
|
|
778
807
|
};
|
|
779
808
|
dynamicStyle: string;
|
|
780
809
|
invertBindingBehaviour: boolean;
|
|
781
810
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
811
|
+
snapLines: import("../snapping").SnapLine[];
|
|
812
|
+
originSnapOffset: {
|
|
813
|
+
x: number;
|
|
814
|
+
y: number;
|
|
815
|
+
} | null;
|
|
816
|
+
objectsSnapModeEnabled: boolean;
|
|
782
817
|
};
|
|
783
818
|
} | {
|
|
784
819
|
commitToHistory: false;
|
|
@@ -832,7 +867,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
832
867
|
lastActiveTool: import("../types").LastActiveTool;
|
|
833
868
|
locked: boolean;
|
|
834
869
|
} & ({
|
|
835
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
870
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
836
871
|
customType: null;
|
|
837
872
|
} | {
|
|
838
873
|
type: "custom";
|
|
@@ -936,17 +971,24 @@ export declare const actionSaveFileToDisk: {
|
|
|
936
971
|
gridColor: {
|
|
937
972
|
Bold: string;
|
|
938
973
|
Regular: string;
|
|
974
|
+
MajorGridFrequency?: number | undefined;
|
|
939
975
|
};
|
|
940
976
|
dynamicStyle: string;
|
|
941
977
|
invertBindingBehaviour: boolean;
|
|
942
978
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
979
|
+
snapLines: import("../snapping").SnapLine[];
|
|
980
|
+
originSnapOffset: {
|
|
981
|
+
x: number;
|
|
982
|
+
y: number;
|
|
983
|
+
} | null;
|
|
984
|
+
objectsSnapModeEnabled: boolean;
|
|
943
985
|
};
|
|
944
986
|
} | {
|
|
945
987
|
commitToHistory: false;
|
|
946
988
|
appState?: undefined;
|
|
947
989
|
}>;
|
|
948
990
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
949
|
-
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
991
|
+
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
950
992
|
} & {
|
|
951
993
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
952
994
|
};
|
|
@@ -965,7 +1007,7 @@ export declare const actionLoadScene: {
|
|
|
965
1007
|
lastActiveTool: import("../types").LastActiveTool;
|
|
966
1008
|
locked: boolean;
|
|
967
1009
|
} & ({
|
|
968
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1010
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
969
1011
|
customType: null;
|
|
970
1012
|
} | {
|
|
971
1013
|
type: "custom";
|
|
@@ -1094,10 +1136,17 @@ export declare const actionLoadScene: {
|
|
|
1094
1136
|
gridColor: {
|
|
1095
1137
|
Bold: string;
|
|
1096
1138
|
Regular: string;
|
|
1139
|
+
MajorGridFrequency?: number | undefined;
|
|
1097
1140
|
};
|
|
1098
1141
|
dynamicStyle: string;
|
|
1099
1142
|
invertBindingBehaviour: boolean;
|
|
1100
1143
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1144
|
+
snapLines: import("../snapping").SnapLine[];
|
|
1145
|
+
originSnapOffset: {
|
|
1146
|
+
x: number;
|
|
1147
|
+
y: number;
|
|
1148
|
+
} | null;
|
|
1149
|
+
objectsSnapModeEnabled: boolean;
|
|
1101
1150
|
};
|
|
1102
1151
|
files: import("../types").BinaryFiles;
|
|
1103
1152
|
commitToHistory: true;
|
|
@@ -1138,7 +1187,7 @@ export declare const actionLoadScene: {
|
|
|
1138
1187
|
lastActiveTool: import("../types").LastActiveTool;
|
|
1139
1188
|
locked: boolean;
|
|
1140
1189
|
} & ({
|
|
1141
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1190
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
1142
1191
|
customType: null;
|
|
1143
1192
|
} | {
|
|
1144
1193
|
type: "custom";
|
|
@@ -1243,10 +1292,17 @@ export declare const actionLoadScene: {
|
|
|
1243
1292
|
gridColor: {
|
|
1244
1293
|
Bold: string;
|
|
1245
1294
|
Regular: string;
|
|
1295
|
+
MajorGridFrequency?: number | undefined;
|
|
1246
1296
|
};
|
|
1247
1297
|
dynamicStyle: string;
|
|
1248
1298
|
invertBindingBehaviour: boolean;
|
|
1249
1299
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1300
|
+
snapLines: import("../snapping").SnapLine[];
|
|
1301
|
+
originSnapOffset: {
|
|
1302
|
+
x: number;
|
|
1303
|
+
y: number;
|
|
1304
|
+
} | null;
|
|
1305
|
+
objectsSnapModeEnabled: boolean;
|
|
1250
1306
|
};
|
|
1251
1307
|
files: import("../types").BinaryFiles;
|
|
1252
1308
|
commitToHistory: false;
|
|
@@ -1298,7 +1354,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1298
1354
|
lastActiveTool: import("../types").LastActiveTool;
|
|
1299
1355
|
locked: boolean;
|
|
1300
1356
|
} & ({
|
|
1301
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1357
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
1302
1358
|
customType: null;
|
|
1303
1359
|
} | {
|
|
1304
1360
|
type: "custom";
|
|
@@ -1402,14 +1458,21 @@ export declare const actionExportWithDarkMode: {
|
|
|
1402
1458
|
gridColor: {
|
|
1403
1459
|
Bold: string;
|
|
1404
1460
|
Regular: string;
|
|
1461
|
+
MajorGridFrequency?: number | undefined;
|
|
1405
1462
|
};
|
|
1406
1463
|
dynamicStyle: string;
|
|
1407
1464
|
invertBindingBehaviour: boolean;
|
|
1408
1465
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1466
|
+
snapLines: import("../snapping").SnapLine[];
|
|
1467
|
+
originSnapOffset: {
|
|
1468
|
+
x: number;
|
|
1469
|
+
y: number;
|
|
1470
|
+
} | null;
|
|
1471
|
+
objectsSnapModeEnabled: boolean;
|
|
1409
1472
|
};
|
|
1410
1473
|
commitToHistory: false;
|
|
1411
1474
|
};
|
|
1412
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1475
|
+
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1413
1476
|
} & {
|
|
1414
1477
|
keyTest?: undefined;
|
|
1415
1478
|
};
|
|
@@ -41,7 +41,7 @@ export declare const actionFinalize: {
|
|
|
41
41
|
lastActiveTool: import("../types").LastActiveTool;
|
|
42
42
|
locked: boolean;
|
|
43
43
|
} & ({
|
|
44
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
44
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
45
45
|
customType: null;
|
|
46
46
|
} | {
|
|
47
47
|
type: "custom";
|
|
@@ -145,10 +145,17 @@ export declare const actionFinalize: {
|
|
|
145
145
|
gridColor: {
|
|
146
146
|
Bold: string;
|
|
147
147
|
Regular: string;
|
|
148
|
+
MajorGridFrequency?: number | undefined;
|
|
148
149
|
};
|
|
149
150
|
dynamicStyle: string;
|
|
150
151
|
invertBindingBehaviour: boolean;
|
|
151
152
|
selectedLinearElement: LinearElementEditor | null;
|
|
153
|
+
snapLines: import("../snapping").SnapLine[];
|
|
154
|
+
originSnapOffset: {
|
|
155
|
+
x: number;
|
|
156
|
+
y: number;
|
|
157
|
+
} | null;
|
|
158
|
+
objectsSnapModeEnabled: boolean;
|
|
152
159
|
};
|
|
153
160
|
commitToHistory: true;
|
|
154
161
|
} | {
|
|
@@ -159,7 +166,7 @@ export declare const actionFinalize: {
|
|
|
159
166
|
lastActiveTool: import("../types").LastActiveTool;
|
|
160
167
|
locked: boolean;
|
|
161
168
|
} & ({
|
|
162
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
169
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
163
170
|
customType: null;
|
|
164
171
|
} | {
|
|
165
172
|
type: "custom";
|
|
@@ -291,14 +298,21 @@ export declare const actionFinalize: {
|
|
|
291
298
|
gridColor: {
|
|
292
299
|
Bold: string;
|
|
293
300
|
Regular: string;
|
|
301
|
+
MajorGridFrequency?: number | undefined;
|
|
294
302
|
};
|
|
295
303
|
dynamicStyle: string;
|
|
296
304
|
invertBindingBehaviour: boolean;
|
|
305
|
+
snapLines: import("../snapping").SnapLine[];
|
|
306
|
+
originSnapOffset: {
|
|
307
|
+
x: number;
|
|
308
|
+
y: number;
|
|
309
|
+
} | null;
|
|
310
|
+
objectsSnapModeEnabled: boolean;
|
|
297
311
|
};
|
|
298
312
|
commitToHistory: boolean;
|
|
299
313
|
};
|
|
300
314
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean;
|
|
301
|
-
PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
|
|
315
|
+
PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
302
316
|
} & {
|
|
303
317
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean) | undefined;
|
|
304
318
|
};
|