@zsviczian/excalidraw 0.15.2-obsidian-1 → 0.15.2-obsidian-3
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 +1438 -364
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +2 -2
- package/types/actions/actionAddToLibrary.d.ts +48 -24
- package/types/actions/actionBoundText.d.ts +32 -16
- package/types/actions/actionCanvas.d.ts +160 -80
- package/types/actions/actionClipboard.d.ts +80 -40
- package/types/actions/actionDeleteSelected.d.ts +48 -24
- package/types/actions/actionElementLock.d.ts +287 -0
- package/types/actions/actionExport.d.ts +145 -73
- package/types/actions/actionFinalize.d.ts +32 -16
- package/types/actions/actionFlip.d.ts +2 -4
- package/types/actions/actionHistory.d.ts +1 -1
- package/types/actions/actionLinearEditor.d.ts +16 -8
- package/types/actions/actionMenu.d.ts +48 -24
- package/types/actions/actionProperties.d.ts +210 -106
- package/types/actions/actionStyles.d.ts +16 -8
- package/types/actions/actionToggleGridMode.d.ts +16 -8
- package/types/actions/actionToggleLock.d.ts +5 -2
- package/types/actions/actionToggleStats.d.ts +16 -8
- package/types/actions/actionToggleViewMode.d.ts +16 -8
- package/types/actions/actionToggleZenMode.d.ts +16 -8
- package/types/actions/index.d.ts +1 -1
- package/types/actions/manager.d.ts +1 -1
- package/types/actions/shortcuts.d.ts +1 -1
- package/types/actions/types.d.ts +7 -7
- package/types/appState.d.ts +5 -2
- package/types/charts.d.ts +2 -2
- package/types/clients.d.ts +4 -1
- package/types/clipboard.d.ts +2 -2
- package/types/colors.d.ts +59 -5
- package/types/components/Actions.d.ts +5 -5
- package/types/components/App.d.ts +13 -3
- package/types/components/Avatar.d.ts +1 -1
- package/types/components/Button.d.ts +3 -1
- package/types/components/ColorPicker/ColorInput.d.ts +7 -0
- package/types/components/ColorPicker/ColorPicker.d.ts +18 -0
- package/types/components/ColorPicker/CustomColorList.d.ts +8 -0
- package/types/components/ColorPicker/HotkeyLabel.d.ts +8 -0
- package/types/components/ColorPicker/Picker.d.ts +16 -0
- package/types/components/ColorPicker/PickerColorList.d.ts +10 -0
- package/types/components/ColorPicker/PickerHeading.d.ts +5 -0
- package/types/components/ColorPicker/ShadeList.d.ts +8 -0
- package/types/components/ColorPicker/TopPicks.d.ts +9 -0
- package/types/components/ColorPicker/colorPickerUtils.d.ts +41 -0
- package/types/components/ColorPicker/keyboardNavHandlers.d.ts +16 -0
- package/types/components/ContextMenu.d.ts +3 -3
- package/types/components/DefaultSidebar.d.ts +30 -0
- package/types/components/Dialog.d.ts +2 -2
- package/types/components/FilledButton.d.ts +16 -0
- 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/HintViewer.d.ts +2 -2
- package/types/components/ImageExportDialog.d.ts +8 -13
- package/types/components/Island.d.ts +1 -1
- package/types/components/JSONExportDialog.d.ts +4 -4
- package/types/components/LayerUI.d.ts +4 -10
- package/types/components/LibraryMenu.d.ts +33 -14
- package/types/components/LibraryMenuBrowseButton.d.ts +2 -2
- package/types/components/LibraryMenuControlButtons.d.ts +9 -0
- package/types/components/LibraryMenuHeaderContent.d.ts +11 -28
- package/types/components/LibraryMenuItems.d.ts +6 -7
- package/types/components/LibraryMenuSection.d.ts +22 -0
- package/types/components/LibraryUnit.d.ts +7 -3
- package/types/components/LockButton.d.ts +1 -1
- package/types/components/MobileMenu.d.ts +4 -4
- package/types/components/PasteChartDialog.d.ts +4 -5
- package/types/components/PenModeButton.d.ts +1 -1
- package/types/components/Popover.d.ts +1 -1
- package/types/components/ProjectName.d.ts +2 -1
- package/types/components/PublishLibrary.d.ts +2 -2
- package/types/components/RadioGroup.d.ts +12 -0
- package/types/components/Sidebar/Sidebar.d.ts +68 -45
- package/types/components/Sidebar/SidebarHeader.d.ts +6 -19
- package/types/components/Sidebar/SidebarTab.d.ts +9 -0
- package/types/components/Sidebar/SidebarTabTrigger.d.ts +10 -0
- package/types/components/Sidebar/SidebarTabTriggers.d.ts +7 -0
- package/types/components/Sidebar/SidebarTabs.d.ts +7 -0
- package/types/components/Sidebar/SidebarTrigger.d.ts +6 -0
- package/types/components/Sidebar/common.d.ts +24 -7
- package/types/components/Spinner.d.ts +2 -1
- package/types/components/Stack.d.ts +4 -3
- package/types/components/Stats.d.ts +3 -3
- package/types/components/Switch.d.ts +9 -0
- package/types/components/ToolButton.d.ts +3 -3
- package/types/components/Tooltip.d.ts +1 -1
- package/types/components/Trans.d.ts +8 -0
- package/types/components/footer/Footer.d.ts +2 -2
- package/types/components/icons.d.ts +7 -1
- package/types/constants.d.ts +10 -0
- package/types/context/tunnels.d.ts +18 -0
- package/types/context/ui-appState.d.ts +4 -0
- package/types/data/encode.d.ts +1 -1
- package/types/data/filesystem.d.ts +1 -1
- package/types/data/library.d.ts +2 -0
- package/types/data/restore.d.ts +2 -2
- package/types/data/types.d.ts +3 -5
- package/types/element/Hyperlink.d.ts +18 -10
- package/types/element/binding.d.ts +2 -2
- package/types/element/bounds.d.ts +1 -1
- package/types/element/linearElementEditor.d.ts +16 -8
- package/types/element/mutateElement.d.ts +1 -1
- package/types/element/newElement.d.ts +7 -2
- package/types/element/resizeElements.d.ts +1 -0
- package/types/element/showSelectedShapeActions.d.ts +2 -2
- package/types/element/textElement.d.ts +2 -2
- package/types/element/transformHandles.d.ts +5 -5
- package/types/element/types.d.ts +35 -35
- package/types/errors.d.ts +1 -1
- package/types/ga.d.ts +5 -5
- package/types/hooks/useLibraryItemSvg.d.ts +31 -0
- package/types/hooks/useOutsideClick.d.ts +1 -1
- package/types/hooks/useScrollPosition.d.ts +2 -0
- package/types/hooks/useTransition.d.ts +2 -0
- package/types/i18n.d.ts +2 -2
- package/types/keys.d.ts +1 -1
- package/types/packages/excalidraw/index.d.ts +3 -2
- package/types/packages/utils.d.ts +3 -3
- package/types/renderer/easingFunctions.d.ts +1 -1
- package/types/renderer/renderElement.d.ts +2 -2
- package/types/scene/Scene.d.ts +4 -4
- package/types/scene/selection.d.ts +4 -4
- package/types/scene/types.d.ts +4 -4
- package/types/types.d.ts +65 -46
- package/types/utility-types.d.ts +13 -13
- package/types/utils.d.ts +5 -5
|
@@ -5,7 +5,7 @@ export declare const actionChangeStrokeColor: {
|
|
|
5
5
|
name: "changeStrokeColor";
|
|
6
6
|
trackEvent: false;
|
|
7
7
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
8
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
8
|
+
PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => JSX.Element;
|
|
9
9
|
} & {
|
|
10
10
|
keyTest?: undefined;
|
|
11
11
|
};
|
|
@@ -13,7 +13,7 @@ export declare const actionChangeBackgroundColor: {
|
|
|
13
13
|
name: "changeBackgroundColor";
|
|
14
14
|
trackEvent: false;
|
|
15
15
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
16
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
16
|
+
PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => JSX.Element;
|
|
17
17
|
} & {
|
|
18
18
|
keyTest?: undefined;
|
|
19
19
|
};
|
|
@@ -81,10 +81,13 @@ export declare const actionChangeFillStyle: {
|
|
|
81
81
|
value: import("../../src/types").NormalizedZoomValue;
|
|
82
82
|
}>;
|
|
83
83
|
openMenu: "canvas" | "shape" | null;
|
|
84
|
-
openPopup: "
|
|
85
|
-
openSidebar:
|
|
84
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
85
|
+
openSidebar: {
|
|
86
|
+
name: string;
|
|
87
|
+
tab?: string | undefined;
|
|
88
|
+
} | null;
|
|
86
89
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
87
|
-
|
|
90
|
+
defaultSidebarDockedPreference: boolean;
|
|
88
91
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
89
92
|
selectedElementIds: {
|
|
90
93
|
[id: string]: boolean;
|
|
@@ -126,11 +129,16 @@ export declare const actionChangeFillStyle: {
|
|
|
126
129
|
showHyperlinkPopup: false | "info" | "editor";
|
|
127
130
|
linkOpacity: number;
|
|
128
131
|
trayModeEnabled: boolean;
|
|
129
|
-
colorPalette
|
|
130
|
-
canvasBackground
|
|
131
|
-
elementBackground
|
|
132
|
-
elementStroke
|
|
133
|
-
|
|
132
|
+
colorPalette?: {
|
|
133
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
134
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
135
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
136
|
+
topPicks: {
|
|
137
|
+
canvasBackground: [string, string, string, string, string];
|
|
138
|
+
elementStroke: [string, string, string, string, string];
|
|
139
|
+
elementBackground: [string, string, string, string, string];
|
|
140
|
+
};
|
|
141
|
+
} | undefined;
|
|
134
142
|
allowWheelZoom?: boolean | undefined;
|
|
135
143
|
allowPinchZoom?: boolean | undefined;
|
|
136
144
|
pinnedScripts?: string[] | undefined;
|
|
@@ -212,10 +220,13 @@ export declare const actionChangeStrokeWidth: {
|
|
|
212
220
|
value: import("../../src/types").NormalizedZoomValue;
|
|
213
221
|
}>;
|
|
214
222
|
openMenu: "canvas" | "shape" | null;
|
|
215
|
-
openPopup: "
|
|
216
|
-
openSidebar:
|
|
223
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
224
|
+
openSidebar: {
|
|
225
|
+
name: string;
|
|
226
|
+
tab?: string | undefined;
|
|
227
|
+
} | null;
|
|
217
228
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
218
|
-
|
|
229
|
+
defaultSidebarDockedPreference: boolean;
|
|
219
230
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
220
231
|
selectedElementIds: {
|
|
221
232
|
[id: string]: boolean;
|
|
@@ -257,11 +268,16 @@ export declare const actionChangeStrokeWidth: {
|
|
|
257
268
|
showHyperlinkPopup: false | "info" | "editor";
|
|
258
269
|
linkOpacity: number;
|
|
259
270
|
trayModeEnabled: boolean;
|
|
260
|
-
colorPalette
|
|
261
|
-
canvasBackground
|
|
262
|
-
elementBackground
|
|
263
|
-
elementStroke
|
|
264
|
-
|
|
271
|
+
colorPalette?: {
|
|
272
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
273
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
274
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
275
|
+
topPicks: {
|
|
276
|
+
canvasBackground: [string, string, string, string, string];
|
|
277
|
+
elementStroke: [string, string, string, string, string];
|
|
278
|
+
elementBackground: [string, string, string, string, string];
|
|
279
|
+
};
|
|
280
|
+
} | undefined;
|
|
265
281
|
allowWheelZoom?: boolean | undefined;
|
|
266
282
|
allowPinchZoom?: boolean | undefined;
|
|
267
283
|
pinnedScripts?: string[] | undefined;
|
|
@@ -343,10 +359,13 @@ export declare const actionChangeSloppiness: {
|
|
|
343
359
|
value: import("../../src/types").NormalizedZoomValue;
|
|
344
360
|
}>;
|
|
345
361
|
openMenu: "canvas" | "shape" | null;
|
|
346
|
-
openPopup: "
|
|
347
|
-
openSidebar:
|
|
362
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
363
|
+
openSidebar: {
|
|
364
|
+
name: string;
|
|
365
|
+
tab?: string | undefined;
|
|
366
|
+
} | null;
|
|
348
367
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
349
|
-
|
|
368
|
+
defaultSidebarDockedPreference: boolean;
|
|
350
369
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
351
370
|
selectedElementIds: {
|
|
352
371
|
[id: string]: boolean;
|
|
@@ -388,11 +407,16 @@ export declare const actionChangeSloppiness: {
|
|
|
388
407
|
showHyperlinkPopup: false | "info" | "editor";
|
|
389
408
|
linkOpacity: number;
|
|
390
409
|
trayModeEnabled: boolean;
|
|
391
|
-
colorPalette
|
|
392
|
-
canvasBackground
|
|
393
|
-
elementBackground
|
|
394
|
-
elementStroke
|
|
395
|
-
|
|
410
|
+
colorPalette?: {
|
|
411
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
412
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
413
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
414
|
+
topPicks: {
|
|
415
|
+
canvasBackground: [string, string, string, string, string];
|
|
416
|
+
elementStroke: [string, string, string, string, string];
|
|
417
|
+
elementBackground: [string, string, string, string, string];
|
|
418
|
+
};
|
|
419
|
+
} | undefined;
|
|
396
420
|
allowWheelZoom?: boolean | undefined;
|
|
397
421
|
allowPinchZoom?: boolean | undefined;
|
|
398
422
|
pinnedScripts?: string[] | undefined;
|
|
@@ -474,10 +498,13 @@ export declare const actionChangeStrokeStyle: {
|
|
|
474
498
|
value: import("../../src/types").NormalizedZoomValue;
|
|
475
499
|
}>;
|
|
476
500
|
openMenu: "canvas" | "shape" | null;
|
|
477
|
-
openPopup: "
|
|
478
|
-
openSidebar:
|
|
501
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
502
|
+
openSidebar: {
|
|
503
|
+
name: string;
|
|
504
|
+
tab?: string | undefined;
|
|
505
|
+
} | null;
|
|
479
506
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
480
|
-
|
|
507
|
+
defaultSidebarDockedPreference: boolean;
|
|
481
508
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
482
509
|
selectedElementIds: {
|
|
483
510
|
[id: string]: boolean;
|
|
@@ -519,11 +546,16 @@ export declare const actionChangeStrokeStyle: {
|
|
|
519
546
|
showHyperlinkPopup: false | "info" | "editor";
|
|
520
547
|
linkOpacity: number;
|
|
521
548
|
trayModeEnabled: boolean;
|
|
522
|
-
colorPalette
|
|
523
|
-
canvasBackground
|
|
524
|
-
elementBackground
|
|
525
|
-
elementStroke
|
|
526
|
-
|
|
549
|
+
colorPalette?: {
|
|
550
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
551
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
552
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
553
|
+
topPicks: {
|
|
554
|
+
canvasBackground: [string, string, string, string, string];
|
|
555
|
+
elementStroke: [string, string, string, string, string];
|
|
556
|
+
elementBackground: [string, string, string, string, string];
|
|
557
|
+
};
|
|
558
|
+
} | undefined;
|
|
527
559
|
allowWheelZoom?: boolean | undefined;
|
|
528
560
|
allowPinchZoom?: boolean | undefined;
|
|
529
561
|
pinnedScripts?: string[] | undefined;
|
|
@@ -605,10 +637,13 @@ export declare const actionChangeOpacity: {
|
|
|
605
637
|
value: import("../../src/types").NormalizedZoomValue;
|
|
606
638
|
}>;
|
|
607
639
|
openMenu: "canvas" | "shape" | null;
|
|
608
|
-
openPopup: "
|
|
609
|
-
openSidebar:
|
|
640
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
641
|
+
openSidebar: {
|
|
642
|
+
name: string;
|
|
643
|
+
tab?: string | undefined;
|
|
644
|
+
} | null;
|
|
610
645
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
611
|
-
|
|
646
|
+
defaultSidebarDockedPreference: boolean;
|
|
612
647
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
613
648
|
selectedElementIds: {
|
|
614
649
|
[id: string]: boolean;
|
|
@@ -650,11 +685,16 @@ export declare const actionChangeOpacity: {
|
|
|
650
685
|
showHyperlinkPopup: false | "info" | "editor";
|
|
651
686
|
linkOpacity: number;
|
|
652
687
|
trayModeEnabled: boolean;
|
|
653
|
-
colorPalette
|
|
654
|
-
canvasBackground
|
|
655
|
-
elementBackground
|
|
656
|
-
elementStroke
|
|
657
|
-
|
|
688
|
+
colorPalette?: {
|
|
689
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
690
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
691
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
692
|
+
topPicks: {
|
|
693
|
+
canvasBackground: [string, string, string, string, string];
|
|
694
|
+
elementStroke: [string, string, string, string, string];
|
|
695
|
+
elementBackground: [string, string, string, string, string];
|
|
696
|
+
};
|
|
697
|
+
} | undefined;
|
|
658
698
|
allowWheelZoom?: boolean | undefined;
|
|
659
699
|
allowPinchZoom?: boolean | undefined;
|
|
660
700
|
pinnedScripts?: string[] | undefined;
|
|
@@ -736,10 +776,13 @@ export declare const actionChangeFontSize: {
|
|
|
736
776
|
value: import("../../src/types").NormalizedZoomValue;
|
|
737
777
|
}>;
|
|
738
778
|
openMenu: "canvas" | "shape" | null;
|
|
739
|
-
openPopup: "
|
|
740
|
-
openSidebar:
|
|
779
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
780
|
+
openSidebar: {
|
|
781
|
+
name: string;
|
|
782
|
+
tab?: string | undefined;
|
|
783
|
+
} | null;
|
|
741
784
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
742
|
-
|
|
785
|
+
defaultSidebarDockedPreference: boolean;
|
|
743
786
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
744
787
|
selectedElementIds: {
|
|
745
788
|
[id: string]: boolean;
|
|
@@ -781,11 +824,16 @@ export declare const actionChangeFontSize: {
|
|
|
781
824
|
showHyperlinkPopup: false | "info" | "editor";
|
|
782
825
|
linkOpacity: number;
|
|
783
826
|
trayModeEnabled: boolean;
|
|
784
|
-
colorPalette
|
|
785
|
-
canvasBackground
|
|
786
|
-
elementBackground
|
|
787
|
-
elementStroke
|
|
788
|
-
|
|
827
|
+
colorPalette?: {
|
|
828
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
829
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
830
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
831
|
+
topPicks: {
|
|
832
|
+
canvasBackground: [string, string, string, string, string];
|
|
833
|
+
elementStroke: [string, string, string, string, string];
|
|
834
|
+
elementBackground: [string, string, string, string, string];
|
|
835
|
+
};
|
|
836
|
+
} | undefined;
|
|
789
837
|
allowWheelZoom?: boolean | undefined;
|
|
790
838
|
allowPinchZoom?: boolean | undefined;
|
|
791
839
|
pinnedScripts?: string[] | undefined;
|
|
@@ -867,10 +915,13 @@ export declare const actionDecreaseFontSize: {
|
|
|
867
915
|
value: import("../../src/types").NormalizedZoomValue;
|
|
868
916
|
}>;
|
|
869
917
|
openMenu: "canvas" | "shape" | null;
|
|
870
|
-
openPopup: "
|
|
871
|
-
openSidebar:
|
|
918
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
919
|
+
openSidebar: {
|
|
920
|
+
name: string;
|
|
921
|
+
tab?: string | undefined;
|
|
922
|
+
} | null;
|
|
872
923
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
873
|
-
|
|
924
|
+
defaultSidebarDockedPreference: boolean;
|
|
874
925
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
875
926
|
selectedElementIds: {
|
|
876
927
|
[id: string]: boolean;
|
|
@@ -912,11 +963,16 @@ export declare const actionDecreaseFontSize: {
|
|
|
912
963
|
showHyperlinkPopup: false | "info" | "editor";
|
|
913
964
|
linkOpacity: number;
|
|
914
965
|
trayModeEnabled: boolean;
|
|
915
|
-
colorPalette
|
|
916
|
-
canvasBackground
|
|
917
|
-
elementBackground
|
|
918
|
-
elementStroke
|
|
919
|
-
|
|
966
|
+
colorPalette?: {
|
|
967
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
968
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
969
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
970
|
+
topPicks: {
|
|
971
|
+
canvasBackground: [string, string, string, string, string];
|
|
972
|
+
elementStroke: [string, string, string, string, string];
|
|
973
|
+
elementBackground: [string, string, string, string, string];
|
|
974
|
+
};
|
|
975
|
+
} | undefined;
|
|
920
976
|
allowWheelZoom?: boolean | undefined;
|
|
921
977
|
allowPinchZoom?: boolean | undefined;
|
|
922
978
|
pinnedScripts?: string[] | undefined;
|
|
@@ -998,10 +1054,13 @@ export declare const actionIncreaseFontSize: {
|
|
|
998
1054
|
value: import("../../src/types").NormalizedZoomValue;
|
|
999
1055
|
}>;
|
|
1000
1056
|
openMenu: "canvas" | "shape" | null;
|
|
1001
|
-
openPopup: "
|
|
1002
|
-
openSidebar:
|
|
1057
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1058
|
+
openSidebar: {
|
|
1059
|
+
name: string;
|
|
1060
|
+
tab?: string | undefined;
|
|
1061
|
+
} | null;
|
|
1003
1062
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1004
|
-
|
|
1063
|
+
defaultSidebarDockedPreference: boolean;
|
|
1005
1064
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1006
1065
|
selectedElementIds: {
|
|
1007
1066
|
[id: string]: boolean;
|
|
@@ -1043,11 +1102,16 @@ export declare const actionIncreaseFontSize: {
|
|
|
1043
1102
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1044
1103
|
linkOpacity: number;
|
|
1045
1104
|
trayModeEnabled: boolean;
|
|
1046
|
-
colorPalette
|
|
1047
|
-
canvasBackground
|
|
1048
|
-
elementBackground
|
|
1049
|
-
elementStroke
|
|
1050
|
-
|
|
1105
|
+
colorPalette?: {
|
|
1106
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
1107
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
1108
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1109
|
+
topPicks: {
|
|
1110
|
+
canvasBackground: [string, string, string, string, string];
|
|
1111
|
+
elementStroke: [string, string, string, string, string];
|
|
1112
|
+
elementBackground: [string, string, string, string, string];
|
|
1113
|
+
};
|
|
1114
|
+
} | undefined;
|
|
1051
1115
|
allowWheelZoom?: boolean | undefined;
|
|
1052
1116
|
allowPinchZoom?: boolean | undefined;
|
|
1053
1117
|
pinnedScripts?: string[] | undefined;
|
|
@@ -1129,10 +1193,13 @@ export declare const actionChangeFontFamily: {
|
|
|
1129
1193
|
value: import("../../src/types").NormalizedZoomValue;
|
|
1130
1194
|
}>;
|
|
1131
1195
|
openMenu: "canvas" | "shape" | null;
|
|
1132
|
-
openPopup: "
|
|
1133
|
-
openSidebar:
|
|
1196
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1197
|
+
openSidebar: {
|
|
1198
|
+
name: string;
|
|
1199
|
+
tab?: string | undefined;
|
|
1200
|
+
} | null;
|
|
1134
1201
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1135
|
-
|
|
1202
|
+
defaultSidebarDockedPreference: boolean;
|
|
1136
1203
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1137
1204
|
selectedElementIds: {
|
|
1138
1205
|
[id: string]: boolean;
|
|
@@ -1174,11 +1241,16 @@ export declare const actionChangeFontFamily: {
|
|
|
1174
1241
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1175
1242
|
linkOpacity: number;
|
|
1176
1243
|
trayModeEnabled: boolean;
|
|
1177
|
-
colorPalette
|
|
1178
|
-
canvasBackground
|
|
1179
|
-
elementBackground
|
|
1180
|
-
elementStroke
|
|
1181
|
-
|
|
1244
|
+
colorPalette?: {
|
|
1245
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
1246
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
1247
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1248
|
+
topPicks: {
|
|
1249
|
+
canvasBackground: [string, string, string, string, string];
|
|
1250
|
+
elementStroke: [string, string, string, string, string];
|
|
1251
|
+
elementBackground: [string, string, string, string, string];
|
|
1252
|
+
};
|
|
1253
|
+
} | undefined;
|
|
1182
1254
|
allowWheelZoom?: boolean | undefined;
|
|
1183
1255
|
allowPinchZoom?: boolean | undefined;
|
|
1184
1256
|
pinnedScripts?: string[] | undefined;
|
|
@@ -1260,10 +1332,13 @@ export declare const actionChangeTextAlign: {
|
|
|
1260
1332
|
value: import("../../src/types").NormalizedZoomValue;
|
|
1261
1333
|
}>;
|
|
1262
1334
|
openMenu: "canvas" | "shape" | null;
|
|
1263
|
-
openPopup: "
|
|
1264
|
-
openSidebar:
|
|
1335
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1336
|
+
openSidebar: {
|
|
1337
|
+
name: string;
|
|
1338
|
+
tab?: string | undefined;
|
|
1339
|
+
} | null;
|
|
1265
1340
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1266
|
-
|
|
1341
|
+
defaultSidebarDockedPreference: boolean;
|
|
1267
1342
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1268
1343
|
selectedElementIds: {
|
|
1269
1344
|
[id: string]: boolean;
|
|
@@ -1305,11 +1380,16 @@ export declare const actionChangeTextAlign: {
|
|
|
1305
1380
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1306
1381
|
linkOpacity: number;
|
|
1307
1382
|
trayModeEnabled: boolean;
|
|
1308
|
-
colorPalette
|
|
1309
|
-
canvasBackground
|
|
1310
|
-
elementBackground
|
|
1311
|
-
elementStroke
|
|
1312
|
-
|
|
1383
|
+
colorPalette?: {
|
|
1384
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
1385
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
1386
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1387
|
+
topPicks: {
|
|
1388
|
+
canvasBackground: [string, string, string, string, string];
|
|
1389
|
+
elementStroke: [string, string, string, string, string];
|
|
1390
|
+
elementBackground: [string, string, string, string, string];
|
|
1391
|
+
};
|
|
1392
|
+
} | undefined;
|
|
1313
1393
|
allowWheelZoom?: boolean | undefined;
|
|
1314
1394
|
allowPinchZoom?: boolean | undefined;
|
|
1315
1395
|
pinnedScripts?: string[] | undefined;
|
|
@@ -1393,10 +1473,13 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1393
1473
|
value: import("../../src/types").NormalizedZoomValue;
|
|
1394
1474
|
}>;
|
|
1395
1475
|
openMenu: "canvas" | "shape" | null;
|
|
1396
|
-
openPopup: "
|
|
1397
|
-
openSidebar:
|
|
1476
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1477
|
+
openSidebar: {
|
|
1478
|
+
name: string;
|
|
1479
|
+
tab?: string | undefined;
|
|
1480
|
+
} | null;
|
|
1398
1481
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1399
|
-
|
|
1482
|
+
defaultSidebarDockedPreference: boolean;
|
|
1400
1483
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1401
1484
|
selectedElementIds: {
|
|
1402
1485
|
[id: string]: boolean;
|
|
@@ -1438,11 +1521,16 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1438
1521
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1439
1522
|
linkOpacity: number;
|
|
1440
1523
|
trayModeEnabled: boolean;
|
|
1441
|
-
colorPalette
|
|
1442
|
-
canvasBackground
|
|
1443
|
-
elementBackground
|
|
1444
|
-
elementStroke
|
|
1445
|
-
|
|
1524
|
+
colorPalette?: {
|
|
1525
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
1526
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
1527
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1528
|
+
topPicks: {
|
|
1529
|
+
canvasBackground: [string, string, string, string, string];
|
|
1530
|
+
elementStroke: [string, string, string, string, string];
|
|
1531
|
+
elementBackground: [string, string, string, string, string];
|
|
1532
|
+
};
|
|
1533
|
+
} | undefined;
|
|
1446
1534
|
allowWheelZoom?: boolean | undefined;
|
|
1447
1535
|
allowPinchZoom?: boolean | undefined;
|
|
1448
1536
|
pinnedScripts?: string[] | undefined;
|
|
@@ -1524,10 +1612,13 @@ export declare const actionChangeRoundness: {
|
|
|
1524
1612
|
value: import("../../src/types").NormalizedZoomValue;
|
|
1525
1613
|
}>;
|
|
1526
1614
|
openMenu: "canvas" | "shape" | null;
|
|
1527
|
-
openPopup: "
|
|
1528
|
-
openSidebar:
|
|
1615
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1616
|
+
openSidebar: {
|
|
1617
|
+
name: string;
|
|
1618
|
+
tab?: string | undefined;
|
|
1619
|
+
} | null;
|
|
1529
1620
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1530
|
-
|
|
1621
|
+
defaultSidebarDockedPreference: boolean;
|
|
1531
1622
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1532
1623
|
selectedElementIds: {
|
|
1533
1624
|
[id: string]: boolean;
|
|
@@ -1569,11 +1660,16 @@ export declare const actionChangeRoundness: {
|
|
|
1569
1660
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1570
1661
|
linkOpacity: number;
|
|
1571
1662
|
trayModeEnabled: boolean;
|
|
1572
|
-
colorPalette
|
|
1573
|
-
canvasBackground
|
|
1574
|
-
elementBackground
|
|
1575
|
-
elementStroke
|
|
1576
|
-
|
|
1663
|
+
colorPalette?: {
|
|
1664
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
1665
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
1666
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1667
|
+
topPicks: {
|
|
1668
|
+
canvasBackground: [string, string, string, string, string];
|
|
1669
|
+
elementStroke: [string, string, string, string, string];
|
|
1670
|
+
elementBackground: [string, string, string, string, string];
|
|
1671
|
+
};
|
|
1672
|
+
} | undefined;
|
|
1577
1673
|
allowWheelZoom?: boolean | undefined;
|
|
1578
1674
|
allowPinchZoom?: boolean | undefined;
|
|
1579
1675
|
pinnedScripts?: string[] | undefined;
|
|
@@ -1658,10 +1754,13 @@ export declare const actionChangeArrowhead: {
|
|
|
1658
1754
|
value: import("../../src/types").NormalizedZoomValue;
|
|
1659
1755
|
}>;
|
|
1660
1756
|
openMenu: "canvas" | "shape" | null;
|
|
1661
|
-
openPopup: "
|
|
1662
|
-
openSidebar:
|
|
1757
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1758
|
+
openSidebar: {
|
|
1759
|
+
name: string;
|
|
1760
|
+
tab?: string | undefined;
|
|
1761
|
+
} | null;
|
|
1663
1762
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
1664
|
-
|
|
1763
|
+
defaultSidebarDockedPreference: boolean;
|
|
1665
1764
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
1666
1765
|
selectedElementIds: {
|
|
1667
1766
|
[id: string]: boolean;
|
|
@@ -1703,11 +1802,16 @@ export declare const actionChangeArrowhead: {
|
|
|
1703
1802
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1704
1803
|
linkOpacity: number;
|
|
1705
1804
|
trayModeEnabled: boolean;
|
|
1706
|
-
colorPalette
|
|
1707
|
-
canvasBackground
|
|
1708
|
-
elementBackground
|
|
1709
|
-
elementStroke
|
|
1710
|
-
|
|
1805
|
+
colorPalette?: {
|
|
1806
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
1807
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
1808
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1809
|
+
topPicks: {
|
|
1810
|
+
canvasBackground: [string, string, string, string, string];
|
|
1811
|
+
elementStroke: [string, string, string, string, string];
|
|
1812
|
+
elementBackground: [string, string, string, string, string];
|
|
1813
|
+
};
|
|
1814
|
+
} | undefined;
|
|
1711
1815
|
allowWheelZoom?: boolean | undefined;
|
|
1712
1816
|
allowPinchZoom?: boolean | undefined;
|
|
1713
1817
|
pinnedScripts?: string[] | undefined;
|
|
@@ -68,10 +68,13 @@ export declare const actionCopyStyles: {
|
|
|
68
68
|
value: import("../types").NormalizedZoomValue;
|
|
69
69
|
}>;
|
|
70
70
|
openMenu: "canvas" | "shape" | null;
|
|
71
|
-
openPopup: "
|
|
72
|
-
openSidebar:
|
|
71
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
72
|
+
openSidebar: {
|
|
73
|
+
name: string;
|
|
74
|
+
tab?: string | undefined;
|
|
75
|
+
} | null;
|
|
73
76
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
74
|
-
|
|
77
|
+
defaultSidebarDockedPreference: boolean;
|
|
75
78
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
76
79
|
selectedElementIds: {
|
|
77
80
|
[id: string]: boolean;
|
|
@@ -108,11 +111,16 @@ export declare const actionCopyStyles: {
|
|
|
108
111
|
showHyperlinkPopup: false | "info" | "editor";
|
|
109
112
|
linkOpacity: number;
|
|
110
113
|
trayModeEnabled: boolean;
|
|
111
|
-
colorPalette
|
|
112
|
-
canvasBackground
|
|
113
|
-
elementBackground
|
|
114
|
-
elementStroke
|
|
115
|
-
|
|
114
|
+
colorPalette?: {
|
|
115
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
116
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
117
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
118
|
+
topPicks: {
|
|
119
|
+
canvasBackground: [string, string, string, string, string];
|
|
120
|
+
elementStroke: [string, string, string, string, string];
|
|
121
|
+
elementBackground: [string, string, string, string, string];
|
|
122
|
+
};
|
|
123
|
+
} | undefined;
|
|
116
124
|
allowWheelZoom?: boolean | undefined;
|
|
117
125
|
allowPinchZoom?: boolean | undefined;
|
|
118
126
|
pinnedScripts?: string[] | undefined;
|
|
@@ -68,10 +68,13 @@ export declare const actionToggleGridMode: {
|
|
|
68
68
|
value: import("../types").NormalizedZoomValue;
|
|
69
69
|
}>;
|
|
70
70
|
openMenu: "canvas" | "shape" | null;
|
|
71
|
-
openPopup: "
|
|
72
|
-
openSidebar:
|
|
71
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
72
|
+
openSidebar: {
|
|
73
|
+
name: string;
|
|
74
|
+
tab?: string | undefined;
|
|
75
|
+
} | null;
|
|
73
76
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
74
|
-
|
|
77
|
+
defaultSidebarDockedPreference: boolean;
|
|
75
78
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
76
79
|
selectedElementIds: {
|
|
77
80
|
[id: string]: boolean;
|
|
@@ -112,11 +115,16 @@ export declare const actionToggleGridMode: {
|
|
|
112
115
|
showHyperlinkPopup: false | "info" | "editor";
|
|
113
116
|
linkOpacity: number;
|
|
114
117
|
trayModeEnabled: boolean;
|
|
115
|
-
colorPalette
|
|
116
|
-
canvasBackground
|
|
117
|
-
elementBackground
|
|
118
|
-
elementStroke
|
|
119
|
-
|
|
118
|
+
colorPalette?: {
|
|
119
|
+
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
120
|
+
elementBackground: import("../colors").ColorPaletteCustom;
|
|
121
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
122
|
+
topPicks: {
|
|
123
|
+
canvasBackground: [string, string, string, string, string];
|
|
124
|
+
elementStroke: [string, string, string, string, string];
|
|
125
|
+
elementBackground: [string, string, string, string, string];
|
|
126
|
+
};
|
|
127
|
+
} | undefined;
|
|
120
128
|
allowWheelZoom?: boolean | undefined;
|
|
121
129
|
allowPinchZoom?: boolean | undefined;
|
|
122
130
|
pinnedScripts?: string[] | undefined;
|
|
@@ -68,9 +68,12 @@ export declare const actionToggleLock: {
|
|
|
68
68
|
}>;
|
|
69
69
|
openMenu: "canvas" | "shape" | null;
|
|
70
70
|
openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
|
|
71
|
-
openSidebar:
|
|
71
|
+
openSidebar: {
|
|
72
|
+
name: string;
|
|
73
|
+
tab?: string | undefined;
|
|
74
|
+
} | null;
|
|
72
75
|
openDialog: "imageExport" | "help" | "jsonExport" | null;
|
|
73
|
-
|
|
76
|
+
defaultSidebarDockedPreference: boolean;
|
|
74
77
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
75
78
|
selectedElementIds: {
|
|
76
79
|
[id: string]: boolean;
|