@zsviczian/excalidraw 0.17.1-obsidian-20 → 0.17.1-obsidian-21
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 +190 -80
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/styles.development.css +78 -50
- package/dist/styles.production.css +5 -5
- package/package.json +2 -1
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +4 -4
- package/types/excalidraw/actions/actionAlign.d.ts +20 -20
- package/types/excalidraw/actions/actionBoundText.d.ts +7 -7
- package/types/excalidraw/actions/actionCanvas.d.ts +65 -65
- package/types/excalidraw/actions/actionClipboard.d.ts +24 -24
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +8 -8
- package/types/excalidraw/actions/actionDistribute.d.ts +8 -8
- package/types/excalidraw/actions/actionDuplicateSelection.d.ts +5 -6
- package/types/excalidraw/actions/actionElementLock.d.ts +8 -8
- package/types/excalidraw/actions/actionExport.d.ts +32 -32
- package/types/excalidraw/actions/actionFinalize.d.ts +8 -8
- package/types/excalidraw/actions/actionFlip.d.ts +9 -9
- package/types/excalidraw/actions/actionFrame.d.ts +14 -202
- package/types/excalidraw/actions/actionGroup.d.ts +11 -387
- package/types/excalidraw/actions/actionHistory.d.ts +3 -2
- package/types/excalidraw/actions/actionLinearEditor.d.ts +2 -2
- package/types/excalidraw/actions/actionLink.d.ts +5 -5
- package/types/excalidraw/actions/actionMenu.d.ts +8 -8
- package/types/excalidraw/actions/actionNavigate.d.ts +3 -3
- package/types/excalidraw/actions/actionProperties.d.ts +32 -32
- package/types/excalidraw/actions/actionSelectAll.d.ts +4 -4
- package/types/excalidraw/actions/actionStyles.d.ts +9 -12
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +6 -4
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +4 -4
- package/types/excalidraw/actions/actionToggleStats.d.ts +4 -4
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +4 -4
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +4 -4
- package/types/excalidraw/actions/actionZindex.d.ts +18 -19
- package/types/excalidraw/actions/manager.d.ts +3 -3
- package/types/excalidraw/actions/types.d.ts +4 -4
- package/types/excalidraw/appState.d.ts +4 -4
- package/types/excalidraw/change.d.ts +191 -0
- package/types/excalidraw/components/App.d.ts +22 -8
- package/types/excalidraw/components/RadioGroup.d.ts +2 -1
- package/types/excalidraw/components/ToolButton.d.ts +1 -0
- package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -1
- package/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +17 -0
- package/types/excalidraw/components/icons.d.ts +4 -0
- package/types/excalidraw/components/main-menu/DefaultItems.d.ts +12 -2
- package/types/excalidraw/constants.d.ts +3 -0
- package/types/excalidraw/data/reconcile.d.ts +6 -0
- package/types/excalidraw/data/restore.d.ts +3 -3
- package/types/excalidraw/data/transform.d.ts +1 -1
- package/types/excalidraw/data/url.d.ts +1 -0
- package/types/excalidraw/element/binding.d.ts +52 -9
- package/types/excalidraw/element/bounds.d.ts +0 -1
- package/types/excalidraw/element/collision.d.ts +14 -19
- package/types/excalidraw/element/embeddable.d.ts +7 -4
- package/types/excalidraw/element/index.d.ts +0 -1
- package/types/excalidraw/element/linearElementEditor.d.ts +12 -12
- package/types/excalidraw/element/mutateElement.d.ts +1 -2
- package/types/excalidraw/element/newElement.d.ts +1 -1
- package/types/excalidraw/element/resizeElements.d.ts +1 -1
- package/types/excalidraw/element/resizeTest.d.ts +4 -4
- package/types/excalidraw/element/textElement.d.ts +1 -2
- package/types/excalidraw/element/transformHandles.d.ts +22 -4
- package/types/excalidraw/element/typeChecks.d.ts +2 -2
- package/types/excalidraw/element/types.d.ts +22 -6
- package/types/excalidraw/errors.d.ts +3 -0
- package/types/excalidraw/fractionalIndex.d.ts +40 -0
- package/types/excalidraw/frame.d.ts +1 -1
- package/types/excalidraw/groups.d.ts +2 -0
- package/types/excalidraw/history.d.ts +34 -46
- package/types/excalidraw/hooks/useEmitter.d.ts +2 -0
- package/types/excalidraw/index.d.ts +2 -0
- package/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
- package/types/excalidraw/scene/Scene.d.ts +7 -6
- package/types/excalidraw/scene/types.d.ts +2 -1
- package/types/excalidraw/store.d.ts +99 -0
- package/types/excalidraw/types.d.ts +18 -4
- package/types/excalidraw/utils.d.ts +7 -0
- package/types/excalidraw/webpack.prod.config.d.ts +1 -1
- package/types/excalidraw/zindex.d.ts +2 -2
- package/types/utils/collision.d.ts +4 -0
- package/types/utils/export.d.ts +2 -2
- package/types/utils/geometry/geometry.d.ts +71 -0
- package/types/utils/geometry/shape.d.ts +56 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zsviczian/excalidraw",
|
|
3
|
-
"version": "0.17.1-obsidian-
|
|
3
|
+
"version": "0.17.1-obsidian-21",
|
|
4
4
|
"main": "main.js",
|
|
5
5
|
"types": "types/excalidraw/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"canvas-roundrect-polyfill": "0.0.1",
|
|
56
56
|
"clsx": "1.1.1",
|
|
57
57
|
"cross-env": "7.0.3",
|
|
58
|
+
"fractional-indexing": "3.2.0",
|
|
58
59
|
"fuzzy": "0.1.3",
|
|
59
60
|
"image-blob-reduce": "3.0.1",
|
|
60
61
|
"jotai": "1.13.1",
|
|
@@ -3,8 +3,8 @@ export declare const actionAddToLibrary: {
|
|
|
3
3
|
trackEvent: {
|
|
4
4
|
category: "element";
|
|
5
5
|
};
|
|
6
|
-
perform: (elements: readonly import("../element/types").
|
|
7
|
-
|
|
6
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<{
|
|
7
|
+
storeAction: import("../store").StoreActionType;
|
|
8
8
|
appState: {
|
|
9
9
|
toast: {
|
|
10
10
|
message: string;
|
|
@@ -189,7 +189,7 @@ export declare const actionAddToLibrary: {
|
|
|
189
189
|
followedBy: Set<import("../types").SocketId>;
|
|
190
190
|
};
|
|
191
191
|
} | {
|
|
192
|
-
|
|
192
|
+
storeAction: import("../store").StoreActionType;
|
|
193
193
|
appState: {
|
|
194
194
|
errorMessage: any;
|
|
195
195
|
contextMenu: {
|
|
@@ -376,7 +376,7 @@ export declare const actionAddToLibrary: {
|
|
|
376
376
|
followedBy: Set<import("../types").SocketId>;
|
|
377
377
|
};
|
|
378
378
|
}> | {
|
|
379
|
-
|
|
379
|
+
storeAction: import("../store").StoreActionType;
|
|
380
380
|
appState: {
|
|
381
381
|
errorMessage: string;
|
|
382
382
|
contextMenu: {
|
|
@@ -8,15 +8,15 @@ export declare const actionAlignTop: {
|
|
|
8
8
|
category: "element";
|
|
9
9
|
};
|
|
10
10
|
predicate: (elements: readonly ExcalidrawElement[], appState: UIAppState, _: unknown, app: AppClassProperties) => boolean;
|
|
11
|
-
perform: (elements: readonly
|
|
11
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
12
12
|
appState: Readonly<AppState>;
|
|
13
13
|
elements: ExcalidrawElement[];
|
|
14
|
-
|
|
14
|
+
storeAction: import("../store").StoreActionType;
|
|
15
15
|
};
|
|
16
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
16
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
17
17
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
} & {
|
|
19
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
19
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
20
20
|
};
|
|
21
21
|
export declare const actionAlignBottom: {
|
|
22
22
|
name: "alignBottom";
|
|
@@ -26,15 +26,15 @@ export declare const actionAlignBottom: {
|
|
|
26
26
|
category: "element";
|
|
27
27
|
};
|
|
28
28
|
predicate: (elements: readonly ExcalidrawElement[], appState: UIAppState, _: unknown, app: AppClassProperties) => boolean;
|
|
29
|
-
perform: (elements: readonly
|
|
29
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
30
30
|
appState: Readonly<AppState>;
|
|
31
31
|
elements: ExcalidrawElement[];
|
|
32
|
-
|
|
32
|
+
storeAction: import("../store").StoreActionType;
|
|
33
33
|
};
|
|
34
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
34
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
35
35
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
} & {
|
|
37
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
37
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
38
38
|
};
|
|
39
39
|
export declare const actionAlignLeft: {
|
|
40
40
|
name: "alignLeft";
|
|
@@ -44,15 +44,15 @@ export declare const actionAlignLeft: {
|
|
|
44
44
|
category: "element";
|
|
45
45
|
};
|
|
46
46
|
predicate: (elements: readonly ExcalidrawElement[], appState: UIAppState, _: unknown, app: AppClassProperties) => boolean;
|
|
47
|
-
perform: (elements: readonly
|
|
47
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
48
48
|
appState: Readonly<AppState>;
|
|
49
49
|
elements: ExcalidrawElement[];
|
|
50
|
-
|
|
50
|
+
storeAction: import("../store").StoreActionType;
|
|
51
51
|
};
|
|
52
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
52
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
53
53
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
54
54
|
} & {
|
|
55
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
55
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
56
56
|
};
|
|
57
57
|
export declare const actionAlignRight: {
|
|
58
58
|
name: "alignRight";
|
|
@@ -62,15 +62,15 @@ export declare const actionAlignRight: {
|
|
|
62
62
|
category: "element";
|
|
63
63
|
};
|
|
64
64
|
predicate: (elements: readonly ExcalidrawElement[], appState: UIAppState, _: unknown, app: AppClassProperties) => boolean;
|
|
65
|
-
perform: (elements: readonly
|
|
65
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
66
66
|
appState: Readonly<AppState>;
|
|
67
67
|
elements: ExcalidrawElement[];
|
|
68
|
-
|
|
68
|
+
storeAction: import("../store").StoreActionType;
|
|
69
69
|
};
|
|
70
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
70
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
71
71
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
72
72
|
} & {
|
|
73
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
73
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
74
74
|
};
|
|
75
75
|
export declare const actionAlignVerticallyCentered: {
|
|
76
76
|
name: "alignVerticallyCentered";
|
|
@@ -80,10 +80,10 @@ export declare const actionAlignVerticallyCentered: {
|
|
|
80
80
|
category: "element";
|
|
81
81
|
};
|
|
82
82
|
predicate: (elements: readonly ExcalidrawElement[], appState: UIAppState, _: unknown, app: AppClassProperties) => boolean;
|
|
83
|
-
perform: (elements: readonly
|
|
83
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
84
84
|
appState: Readonly<AppState>;
|
|
85
85
|
elements: ExcalidrawElement[];
|
|
86
|
-
|
|
86
|
+
storeAction: import("../store").StoreActionType;
|
|
87
87
|
};
|
|
88
88
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
89
89
|
} & {
|
|
@@ -97,10 +97,10 @@ export declare const actionAlignHorizontallyCentered: {
|
|
|
97
97
|
category: "element";
|
|
98
98
|
};
|
|
99
99
|
predicate: (elements: readonly ExcalidrawElement[], appState: UIAppState, _: unknown, app: AppClassProperties) => boolean;
|
|
100
|
-
perform: (elements: readonly
|
|
100
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
101
101
|
appState: Readonly<AppState>;
|
|
102
102
|
elements: ExcalidrawElement[];
|
|
103
|
-
|
|
103
|
+
storeAction: import("../store").StoreActionType;
|
|
104
104
|
};
|
|
105
105
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
106
106
|
} & {
|
|
@@ -8,10 +8,10 @@ export declare const actionUnbindText: {
|
|
|
8
8
|
category: "element";
|
|
9
9
|
};
|
|
10
10
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
11
|
-
perform: (elements: readonly
|
|
12
|
-
elements: readonly
|
|
11
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
12
|
+
elements: readonly import("../element/types").OrderedExcalidrawElement[];
|
|
13
13
|
appState: Readonly<AppState>;
|
|
14
|
-
|
|
14
|
+
storeAction: import("../store").StoreActionType;
|
|
15
15
|
};
|
|
16
16
|
} & {
|
|
17
17
|
keyTest?: undefined;
|
|
@@ -23,7 +23,7 @@ export declare const actionBindText: {
|
|
|
23
23
|
category: "element";
|
|
24
24
|
};
|
|
25
25
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
26
|
-
perform: (elements: readonly
|
|
26
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
27
27
|
elements: ExcalidrawElement[];
|
|
28
28
|
appState: {
|
|
29
29
|
selectedElementIds: {
|
|
@@ -210,7 +210,7 @@ export declare const actionBindText: {
|
|
|
210
210
|
userToFollow: import("../types").UserToFollow | null;
|
|
211
211
|
followedBy: Set<import("../types").SocketId>;
|
|
212
212
|
};
|
|
213
|
-
|
|
213
|
+
storeAction: import("../store").StoreActionType;
|
|
214
214
|
};
|
|
215
215
|
} & {
|
|
216
216
|
keyTest?: undefined;
|
|
@@ -222,7 +222,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
222
222
|
category: "element";
|
|
223
223
|
};
|
|
224
224
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
225
|
-
perform: (elements: readonly
|
|
225
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
226
226
|
elements: readonly ExcalidrawElement[];
|
|
227
227
|
appState: {
|
|
228
228
|
selectedElementIds: Mutable<Readonly<{
|
|
@@ -409,7 +409,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
409
409
|
userToFollow: import("../types").UserToFollow | null;
|
|
410
410
|
followedBy: Set<import("../types").SocketId>;
|
|
411
411
|
};
|
|
412
|
-
|
|
412
|
+
storeAction: import("../store").StoreActionType;
|
|
413
413
|
};
|
|
414
414
|
} & {
|
|
415
415
|
keyTest?: undefined;
|
|
@@ -7,9 +7,9 @@ export declare const actionChangeViewBackgroundColor: {
|
|
|
7
7
|
paletteName: string;
|
|
8
8
|
trackEvent: false;
|
|
9
9
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
10
|
-
perform: (_: readonly
|
|
10
|
+
perform: (_: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
11
11
|
appState: any;
|
|
12
|
-
|
|
12
|
+
storeAction: import("../store").StoreActionType;
|
|
13
13
|
};
|
|
14
14
|
PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
} & {
|
|
@@ -24,8 +24,8 @@ export declare const actionClearCanvas: {
|
|
|
24
24
|
category: "canvas";
|
|
25
25
|
};
|
|
26
26
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
27
|
-
perform: (elements: readonly
|
|
28
|
-
elements:
|
|
27
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
28
|
+
elements: import("../element/types").OrderedExcalidrawElement[];
|
|
29
29
|
appState: {
|
|
30
30
|
files: {};
|
|
31
31
|
theme: import("../element/types").Theme;
|
|
@@ -49,7 +49,7 @@ export declare const actionClearCanvas: {
|
|
|
49
49
|
colorPalette: {
|
|
50
50
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
51
51
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
52
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
52
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
53
53
|
topPicks: {
|
|
54
54
|
canvasBackground: [string, string, string, string, string];
|
|
55
55
|
elementStroke: [string, string, string, string, string];
|
|
@@ -61,6 +61,10 @@ export declare const actionClearCanvas: {
|
|
|
61
61
|
allowWheelZoom: boolean | undefined;
|
|
62
62
|
pinnedScripts: string[] | undefined;
|
|
63
63
|
customPens: any[] | undefined;
|
|
64
|
+
viewModeEnabled: boolean;
|
|
65
|
+
zenModeEnabled: boolean;
|
|
66
|
+
objectsSnapModeEnabled: boolean;
|
|
67
|
+
name: string | null;
|
|
64
68
|
contextMenu: {
|
|
65
69
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
66
70
|
top: number;
|
|
@@ -111,7 +115,6 @@ export declare const actionClearCanvas: {
|
|
|
111
115
|
scrollY: number;
|
|
112
116
|
cursorButton: "up" | "down";
|
|
113
117
|
scrolledOutside: boolean;
|
|
114
|
-
name: string | null;
|
|
115
118
|
isResizing: boolean;
|
|
116
119
|
isRotating: boolean;
|
|
117
120
|
zoom: Readonly<{
|
|
@@ -150,9 +153,7 @@ export declare const actionClearCanvas: {
|
|
|
150
153
|
closable?: boolean | undefined;
|
|
151
154
|
duration?: number | undefined;
|
|
152
155
|
} | null;
|
|
153
|
-
zenModeEnabled: boolean;
|
|
154
156
|
previousGridSize: number | null;
|
|
155
|
-
viewModeEnabled: boolean;
|
|
156
157
|
selectedGroupIds: {
|
|
157
158
|
[groupId: string]: boolean;
|
|
158
159
|
};
|
|
@@ -204,11 +205,10 @@ export declare const actionClearCanvas: {
|
|
|
204
205
|
x: number;
|
|
205
206
|
y: number;
|
|
206
207
|
} | null;
|
|
207
|
-
objectsSnapModeEnabled: boolean;
|
|
208
208
|
userToFollow: import("../types").UserToFollow | null;
|
|
209
209
|
followedBy: Set<import("../types").SocketId>;
|
|
210
210
|
};
|
|
211
|
-
|
|
211
|
+
storeAction: import("../store").StoreActionType;
|
|
212
212
|
};
|
|
213
213
|
} & {
|
|
214
214
|
keyTest?: undefined;
|
|
@@ -221,7 +221,7 @@ export declare const actionZoomIn: {
|
|
|
221
221
|
trackEvent: {
|
|
222
222
|
category: "canvas";
|
|
223
223
|
};
|
|
224
|
-
perform: (_elements: readonly
|
|
224
|
+
perform: (_elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
225
225
|
appState: {
|
|
226
226
|
userToFollow: null;
|
|
227
227
|
scrollX: number;
|
|
@@ -371,7 +371,7 @@ export declare const actionZoomIn: {
|
|
|
371
371
|
colorPalette?: {
|
|
372
372
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
373
373
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
374
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
374
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
375
375
|
topPicks: {
|
|
376
376
|
canvasBackground: [string, string, string, string, string];
|
|
377
377
|
elementStroke: [string, string, string, string, string];
|
|
@@ -407,12 +407,12 @@ export declare const actionZoomIn: {
|
|
|
407
407
|
objectsSnapModeEnabled: boolean;
|
|
408
408
|
followedBy: Set<import("../types").SocketId>;
|
|
409
409
|
};
|
|
410
|
-
|
|
410
|
+
storeAction: import("../store").StoreActionType;
|
|
411
411
|
};
|
|
412
|
-
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
413
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
412
|
+
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
413
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
414
414
|
} & {
|
|
415
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
415
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
416
416
|
};
|
|
417
417
|
export declare const actionZoomOut: {
|
|
418
418
|
name: "zoomOut";
|
|
@@ -422,7 +422,7 @@ export declare const actionZoomOut: {
|
|
|
422
422
|
trackEvent: {
|
|
423
423
|
category: "canvas";
|
|
424
424
|
};
|
|
425
|
-
perform: (_elements: readonly
|
|
425
|
+
perform: (_elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
426
426
|
appState: {
|
|
427
427
|
userToFollow: null;
|
|
428
428
|
scrollX: number;
|
|
@@ -572,7 +572,7 @@ export declare const actionZoomOut: {
|
|
|
572
572
|
colorPalette?: {
|
|
573
573
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
574
574
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
575
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
575
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
576
576
|
topPicks: {
|
|
577
577
|
canvasBackground: [string, string, string, string, string];
|
|
578
578
|
elementStroke: [string, string, string, string, string];
|
|
@@ -608,12 +608,12 @@ export declare const actionZoomOut: {
|
|
|
608
608
|
objectsSnapModeEnabled: boolean;
|
|
609
609
|
followedBy: Set<import("../types").SocketId>;
|
|
610
610
|
};
|
|
611
|
-
|
|
611
|
+
storeAction: import("../store").StoreActionType;
|
|
612
612
|
};
|
|
613
|
-
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
614
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
613
|
+
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
614
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
615
615
|
} & {
|
|
616
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
616
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
617
617
|
};
|
|
618
618
|
export declare const actionResetZoom: {
|
|
619
619
|
name: "resetZoom";
|
|
@@ -623,7 +623,7 @@ export declare const actionResetZoom: {
|
|
|
623
623
|
trackEvent: {
|
|
624
624
|
category: "canvas";
|
|
625
625
|
};
|
|
626
|
-
perform: (_elements: readonly
|
|
626
|
+
perform: (_elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
627
627
|
appState: {
|
|
628
628
|
userToFollow: null;
|
|
629
629
|
scrollX: number;
|
|
@@ -773,7 +773,7 @@ export declare const actionResetZoom: {
|
|
|
773
773
|
colorPalette?: {
|
|
774
774
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
775
775
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
776
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
776
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
777
777
|
topPicks: {
|
|
778
778
|
canvasBackground: [string, string, string, string, string];
|
|
779
779
|
elementStroke: [string, string, string, string, string];
|
|
@@ -809,12 +809,12 @@ export declare const actionResetZoom: {
|
|
|
809
809
|
objectsSnapModeEnabled: boolean;
|
|
810
810
|
followedBy: Set<import("../types").SocketId>;
|
|
811
811
|
};
|
|
812
|
-
|
|
812
|
+
storeAction: import("../store").StoreActionType;
|
|
813
813
|
};
|
|
814
814
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
815
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
815
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
816
816
|
} & {
|
|
817
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
817
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
818
818
|
};
|
|
819
819
|
export declare const zoomToFitBounds: ({ bounds, appState, fitToViewport, viewportZoomFactor, }: {
|
|
820
820
|
bounds: SceneBounds;
|
|
@@ -972,7 +972,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, fitToViewport, viewpo
|
|
|
972
972
|
colorPalette?: {
|
|
973
973
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
974
974
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
975
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
975
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
976
976
|
topPicks: {
|
|
977
977
|
canvasBackground: [string, string, string, string, string];
|
|
978
978
|
elementStroke: [string, string, string, string, string];
|
|
@@ -1009,7 +1009,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, fitToViewport, viewpo
|
|
|
1009
1009
|
userToFollow: import("../types").UserToFollow | null;
|
|
1010
1010
|
followedBy: Set<import("../types").SocketId>;
|
|
1011
1011
|
};
|
|
1012
|
-
|
|
1012
|
+
storeAction: import("../store").StoreActionType;
|
|
1013
1013
|
};
|
|
1014
1014
|
export declare const zoomToFit: ({ targetElements, appState, fitToViewport, viewportZoomFactor, }: {
|
|
1015
1015
|
targetElements: readonly ExcalidrawElement[];
|
|
@@ -1167,7 +1167,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
1167
1167
|
colorPalette?: {
|
|
1168
1168
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
1169
1169
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
1170
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1170
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1171
1171
|
topPicks: {
|
|
1172
1172
|
canvasBackground: [string, string, string, string, string];
|
|
1173
1173
|
elementStroke: [string, string, string, string, string];
|
|
@@ -1204,7 +1204,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
1204
1204
|
userToFollow: import("../types").UserToFollow | null;
|
|
1205
1205
|
followedBy: Set<import("../types").SocketId>;
|
|
1206
1206
|
};
|
|
1207
|
-
|
|
1207
|
+
storeAction: import("../store").StoreActionType;
|
|
1208
1208
|
};
|
|
1209
1209
|
export declare const actionZoomToFitSelectionInViewport: {
|
|
1210
1210
|
name: "zoomToFitSelectionInViewport";
|
|
@@ -1213,7 +1213,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1213
1213
|
trackEvent: {
|
|
1214
1214
|
category: "canvas";
|
|
1215
1215
|
};
|
|
1216
|
-
perform: (elements: readonly
|
|
1216
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
1217
1217
|
appState: {
|
|
1218
1218
|
scrollX: number;
|
|
1219
1219
|
scrollY: number;
|
|
@@ -1362,7 +1362,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1362
1362
|
colorPalette?: {
|
|
1363
1363
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
1364
1364
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
1365
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1365
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1366
1366
|
topPicks: {
|
|
1367
1367
|
canvasBackground: [string, string, string, string, string];
|
|
1368
1368
|
elementStroke: [string, string, string, string, string];
|
|
@@ -1399,11 +1399,11 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1399
1399
|
userToFollow: import("../types").UserToFollow | null;
|
|
1400
1400
|
followedBy: Set<import("../types").SocketId>;
|
|
1401
1401
|
};
|
|
1402
|
-
|
|
1402
|
+
storeAction: import("../store").StoreActionType;
|
|
1403
1403
|
};
|
|
1404
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1404
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1405
1405
|
} & {
|
|
1406
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1406
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1407
1407
|
};
|
|
1408
1408
|
export declare const actionZoomToFitSelection: {
|
|
1409
1409
|
name: "zoomToFitSelection";
|
|
@@ -1412,7 +1412,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1412
1412
|
trackEvent: {
|
|
1413
1413
|
category: "canvas";
|
|
1414
1414
|
};
|
|
1415
|
-
perform: (elements: readonly
|
|
1415
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
1416
1416
|
appState: {
|
|
1417
1417
|
scrollX: number;
|
|
1418
1418
|
scrollY: number;
|
|
@@ -1561,7 +1561,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1561
1561
|
colorPalette?: {
|
|
1562
1562
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
1563
1563
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
1564
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1564
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1565
1565
|
topPicks: {
|
|
1566
1566
|
canvasBackground: [string, string, string, string, string];
|
|
1567
1567
|
elementStroke: [string, string, string, string, string];
|
|
@@ -1598,11 +1598,11 @@ export declare const actionZoomToFitSelection: {
|
|
|
1598
1598
|
userToFollow: import("../types").UserToFollow | null;
|
|
1599
1599
|
followedBy: Set<import("../types").SocketId>;
|
|
1600
1600
|
};
|
|
1601
|
-
|
|
1601
|
+
storeAction: import("../store").StoreActionType;
|
|
1602
1602
|
};
|
|
1603
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1603
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1604
1604
|
} & {
|
|
1605
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1605
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1606
1606
|
};
|
|
1607
1607
|
export declare const actionZoomToFit: {
|
|
1608
1608
|
name: "zoomToFit";
|
|
@@ -1612,7 +1612,7 @@ export declare const actionZoomToFit: {
|
|
|
1612
1612
|
trackEvent: {
|
|
1613
1613
|
category: "canvas";
|
|
1614
1614
|
};
|
|
1615
|
-
perform: (elements: readonly
|
|
1615
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
|
|
1616
1616
|
appState: {
|
|
1617
1617
|
scrollX: number;
|
|
1618
1618
|
scrollY: number;
|
|
@@ -1761,7 +1761,7 @@ export declare const actionZoomToFit: {
|
|
|
1761
1761
|
colorPalette?: {
|
|
1762
1762
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
1763
1763
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
1764
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1764
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1765
1765
|
topPicks: {
|
|
1766
1766
|
canvasBackground: [string, string, string, string, string];
|
|
1767
1767
|
elementStroke: [string, string, string, string, string];
|
|
@@ -1798,11 +1798,11 @@ export declare const actionZoomToFit: {
|
|
|
1798
1798
|
userToFollow: import("../types").UserToFollow | null;
|
|
1799
1799
|
followedBy: Set<import("../types").SocketId>;
|
|
1800
1800
|
};
|
|
1801
|
-
|
|
1801
|
+
storeAction: import("../store").StoreActionType;
|
|
1802
1802
|
};
|
|
1803
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1803
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1804
1804
|
} & {
|
|
1805
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1805
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1806
1806
|
};
|
|
1807
1807
|
export declare const actionToggleTheme: {
|
|
1808
1808
|
name: "toggleTheme";
|
|
@@ -1813,7 +1813,7 @@ export declare const actionToggleTheme: {
|
|
|
1813
1813
|
trackEvent: {
|
|
1814
1814
|
category: "canvas";
|
|
1815
1815
|
};
|
|
1816
|
-
perform: (_: readonly
|
|
1816
|
+
perform: (_: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
1817
1817
|
appState: {
|
|
1818
1818
|
theme: any;
|
|
1819
1819
|
contextMenu: {
|
|
@@ -1962,7 +1962,7 @@ export declare const actionToggleTheme: {
|
|
|
1962
1962
|
colorPalette?: {
|
|
1963
1963
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
1964
1964
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
1965
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1965
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
1966
1966
|
topPicks: {
|
|
1967
1967
|
canvasBackground: [string, string, string, string, string];
|
|
1968
1968
|
elementStroke: [string, string, string, string, string];
|
|
@@ -1999,12 +1999,12 @@ export declare const actionToggleTheme: {
|
|
|
1999
1999
|
userToFollow: import("../types").UserToFollow | null;
|
|
2000
2000
|
followedBy: Set<import("../types").SocketId>;
|
|
2001
2001
|
};
|
|
2002
|
-
|
|
2002
|
+
storeAction: import("../store").StoreActionType;
|
|
2003
2003
|
};
|
|
2004
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
2004
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
2005
2005
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
2006
2006
|
} & {
|
|
2007
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
2007
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
2008
2008
|
};
|
|
2009
2009
|
export declare const actionToggleEraserTool: {
|
|
2010
2010
|
name: "toggleEraserTool";
|
|
@@ -2012,7 +2012,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2012
2012
|
trackEvent: {
|
|
2013
2013
|
category: "toolbar";
|
|
2014
2014
|
};
|
|
2015
|
-
perform: (elements: readonly
|
|
2015
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
|
|
2016
2016
|
appState: {
|
|
2017
2017
|
selectedElementIds: {};
|
|
2018
2018
|
selectedGroupIds: {};
|
|
@@ -2154,7 +2154,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2154
2154
|
colorPalette?: {
|
|
2155
2155
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
2156
2156
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
2157
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
2157
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
2158
2158
|
topPicks: {
|
|
2159
2159
|
canvasBackground: [string, string, string, string, string];
|
|
2160
2160
|
elementStroke: [string, string, string, string, string];
|
|
@@ -2191,11 +2191,11 @@ export declare const actionToggleEraserTool: {
|
|
|
2191
2191
|
userToFollow: import("../types").UserToFollow | null;
|
|
2192
2192
|
followedBy: Set<import("../types").SocketId>;
|
|
2193
2193
|
};
|
|
2194
|
-
|
|
2194
|
+
storeAction: import("../store").StoreActionType;
|
|
2195
2195
|
};
|
|
2196
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
2196
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
2197
2197
|
} & {
|
|
2198
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
2198
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
2199
2199
|
};
|
|
2200
2200
|
export declare const actionToggleHandTool: {
|
|
2201
2201
|
name: "toggleHandTool";
|
|
@@ -2206,7 +2206,7 @@ export declare const actionToggleHandTool: {
|
|
|
2206
2206
|
};
|
|
2207
2207
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
2208
2208
|
viewMode: false;
|
|
2209
|
-
perform: (elements: readonly
|
|
2209
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
2210
2210
|
appState: {
|
|
2211
2211
|
selectedElementIds: {};
|
|
2212
2212
|
selectedGroupIds: {};
|
|
@@ -2348,7 +2348,7 @@ export declare const actionToggleHandTool: {
|
|
|
2348
2348
|
colorPalette?: {
|
|
2349
2349
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
2350
2350
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
2351
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
2351
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
2352
2352
|
topPicks: {
|
|
2353
2353
|
canvasBackground: [string, string, string, string, string];
|
|
2354
2354
|
elementStroke: [string, string, string, string, string];
|
|
@@ -2385,11 +2385,11 @@ export declare const actionToggleHandTool: {
|
|
|
2385
2385
|
userToFollow: import("../types").UserToFollow | null;
|
|
2386
2386
|
followedBy: Set<import("../types").SocketId>;
|
|
2387
2387
|
};
|
|
2388
|
-
|
|
2388
|
+
storeAction: import("../store").StoreActionType;
|
|
2389
2389
|
};
|
|
2390
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
2390
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
2391
2391
|
} & {
|
|
2392
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
2392
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
2393
2393
|
};
|
|
2394
2394
|
export declare const actionToggleLaserPointer: {
|
|
2395
2395
|
name: "toggleLaserPointerTool";
|
|
@@ -2397,7 +2397,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
2397
2397
|
trackEvent: {
|
|
2398
2398
|
category: "menu";
|
|
2399
2399
|
};
|
|
2400
|
-
perform(elements: readonly
|
|
2400
|
+
perform(elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties): {
|
|
2401
2401
|
appState: {
|
|
2402
2402
|
selectedElementIds: {};
|
|
2403
2403
|
selectedGroupIds: {};
|
|
@@ -2539,7 +2539,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
2539
2539
|
colorPalette?: {
|
|
2540
2540
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
2541
2541
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
2542
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
2542
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
2543
2543
|
topPicks: {
|
|
2544
2544
|
canvasBackground: [string, string, string, string, string];
|
|
2545
2545
|
elementStroke: [string, string, string, string, string];
|
|
@@ -2576,7 +2576,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
2576
2576
|
userToFollow: import("../types").UserToFollow | null;
|
|
2577
2577
|
followedBy: Set<import("../types").SocketId>;
|
|
2578
2578
|
};
|
|
2579
|
-
|
|
2579
|
+
storeAction: import("../store").StoreActionType;
|
|
2580
2580
|
};
|
|
2581
2581
|
checked: (appState: Readonly<AppState>) => boolean;
|
|
2582
2582
|
label: string;
|
|
@@ -2733,7 +2733,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
2733
2733
|
colorPalette?: {
|
|
2734
2734
|
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
2735
2735
|
elementBackground: import("../colors").ColorPaletteCustom;
|
|
2736
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
2736
|
+
elementStroke: import("../colors").ColorPaletteCustom;
|
|
2737
2737
|
topPicks: {
|
|
2738
2738
|
canvasBackground: [string, string, string, string, string];
|
|
2739
2739
|
elementStroke: [string, string, string, string, string];
|