@zsviczian/excalidraw 0.17.1-obsidian-22 → 0.17.1-obsidian-24
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 +20 -20
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +3 -3
- package/types/excalidraw/actions/actionAlign.d.ts +6 -6
- package/types/excalidraw/actions/actionBoundText.d.ts +3 -3
- package/types/excalidraw/actions/actionCanvas.d.ts +14 -14
- package/types/excalidraw/actions/actionClipboard.d.ts +12 -12
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +3 -3
- package/types/excalidraw/actions/actionDistribute.d.ts +2 -2
- package/types/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
- package/types/excalidraw/actions/actionElementLock.d.ts +2 -2
- package/types/excalidraw/actions/actionExport.d.ts +11 -11
- package/types/excalidraw/actions/actionFinalize.d.ts +2 -2
- package/types/excalidraw/actions/actionFlip.d.ts +2 -2
- package/types/excalidraw/actions/actionFrame.d.ts +378 -4
- package/types/excalidraw/actions/actionGroup.d.ts +378 -2
- package/types/excalidraw/actions/actionLinearEditor.d.ts +1 -1
- package/types/excalidraw/actions/actionLink.d.ts +1 -1
- package/types/excalidraw/actions/actionMenu.d.ts +3 -3
- package/types/excalidraw/actions/actionNavigate.d.ts +2 -2
- package/types/excalidraw/actions/actionProperties.d.ts +13 -13
- package/types/excalidraw/actions/actionSelectAll.d.ts +1 -1
- package/types/excalidraw/actions/actionStyles.d.ts +5 -2
- package/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -1
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -1
- package/types/excalidraw/actions/actionToggleStats.d.ts +1 -1
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -1
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +1 -1
- package/types/excalidraw/actions/actionZindex.d.ts +4 -4
- package/types/excalidraw/components/App.d.ts +2 -1
- package/types/excalidraw/element/embeddable.d.ts +1 -1
- package/types/excalidraw/element/newElement.d.ts +2 -0
- package/types/excalidraw/store.d.ts +32 -2
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ export declare const actionAddToLibrary: {
|
|
|
4
4
|
category: "element";
|
|
5
5
|
};
|
|
6
6
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<{
|
|
7
|
-
storeAction:
|
|
7
|
+
storeAction: "none";
|
|
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
|
-
storeAction:
|
|
192
|
+
storeAction: "none";
|
|
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
|
-
storeAction:
|
|
379
|
+
storeAction: "none";
|
|
380
380
|
appState: {
|
|
381
381
|
errorMessage: string;
|
|
382
382
|
contextMenu: {
|
|
@@ -11,7 +11,7 @@ export declare const actionAlignTop: {
|
|
|
11
11
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
12
12
|
appState: Readonly<AppState>;
|
|
13
13
|
elements: ExcalidrawElement[];
|
|
14
|
-
storeAction:
|
|
14
|
+
storeAction: "capture";
|
|
15
15
|
};
|
|
16
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;
|
|
@@ -29,7 +29,7 @@ export declare const actionAlignBottom: {
|
|
|
29
29
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
30
30
|
appState: Readonly<AppState>;
|
|
31
31
|
elements: ExcalidrawElement[];
|
|
32
|
-
storeAction:
|
|
32
|
+
storeAction: "capture";
|
|
33
33
|
};
|
|
34
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;
|
|
@@ -47,7 +47,7 @@ export declare const actionAlignLeft: {
|
|
|
47
47
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
48
48
|
appState: Readonly<AppState>;
|
|
49
49
|
elements: ExcalidrawElement[];
|
|
50
|
-
storeAction:
|
|
50
|
+
storeAction: "capture";
|
|
51
51
|
};
|
|
52
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;
|
|
@@ -65,7 +65,7 @@ export declare const actionAlignRight: {
|
|
|
65
65
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
66
66
|
appState: Readonly<AppState>;
|
|
67
67
|
elements: ExcalidrawElement[];
|
|
68
|
-
storeAction:
|
|
68
|
+
storeAction: "capture";
|
|
69
69
|
};
|
|
70
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;
|
|
@@ -83,7 +83,7 @@ export declare const actionAlignVerticallyCentered: {
|
|
|
83
83
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
84
84
|
appState: Readonly<AppState>;
|
|
85
85
|
elements: ExcalidrawElement[];
|
|
86
|
-
storeAction:
|
|
86
|
+
storeAction: "capture";
|
|
87
87
|
};
|
|
88
88
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
89
89
|
} & {
|
|
@@ -100,7 +100,7 @@ export declare const actionAlignHorizontallyCentered: {
|
|
|
100
100
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
101
101
|
appState: Readonly<AppState>;
|
|
102
102
|
elements: ExcalidrawElement[];
|
|
103
|
-
storeAction:
|
|
103
|
+
storeAction: "capture";
|
|
104
104
|
};
|
|
105
105
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
106
106
|
} & {
|
|
@@ -11,7 +11,7 @@ export declare const actionUnbindText: {
|
|
|
11
11
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
12
12
|
elements: readonly import("../element/types").OrderedExcalidrawElement[];
|
|
13
13
|
appState: Readonly<AppState>;
|
|
14
|
-
storeAction:
|
|
14
|
+
storeAction: "capture";
|
|
15
15
|
};
|
|
16
16
|
} & {
|
|
17
17
|
keyTest?: undefined;
|
|
@@ -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
|
-
storeAction:
|
|
213
|
+
storeAction: "capture";
|
|
214
214
|
};
|
|
215
215
|
} & {
|
|
216
216
|
keyTest?: undefined;
|
|
@@ -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
|
-
storeAction:
|
|
412
|
+
storeAction: "capture";
|
|
413
413
|
};
|
|
414
414
|
} & {
|
|
415
415
|
keyTest?: undefined;
|
|
@@ -9,7 +9,7 @@ export declare const actionChangeViewBackgroundColor: {
|
|
|
9
9
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
10
10
|
perform: (_: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
11
11
|
appState: any;
|
|
12
|
-
storeAction:
|
|
12
|
+
storeAction: "none" | "capture";
|
|
13
13
|
};
|
|
14
14
|
PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
} & {
|
|
@@ -208,7 +208,7 @@ export declare const actionClearCanvas: {
|
|
|
208
208
|
userToFollow: import("../types").UserToFollow | null;
|
|
209
209
|
followedBy: Set<import("../types").SocketId>;
|
|
210
210
|
};
|
|
211
|
-
storeAction:
|
|
211
|
+
storeAction: "capture";
|
|
212
212
|
};
|
|
213
213
|
} & {
|
|
214
214
|
keyTest?: undefined;
|
|
@@ -407,7 +407,7 @@ export declare const actionZoomIn: {
|
|
|
407
407
|
objectsSnapModeEnabled: boolean;
|
|
408
408
|
followedBy: Set<import("../types").SocketId>;
|
|
409
409
|
};
|
|
410
|
-
storeAction:
|
|
410
|
+
storeAction: "none";
|
|
411
411
|
};
|
|
412
412
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
413
413
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
@@ -608,7 +608,7 @@ export declare const actionZoomOut: {
|
|
|
608
608
|
objectsSnapModeEnabled: boolean;
|
|
609
609
|
followedBy: Set<import("../types").SocketId>;
|
|
610
610
|
};
|
|
611
|
-
storeAction:
|
|
611
|
+
storeAction: "none";
|
|
612
612
|
};
|
|
613
613
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
614
614
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
@@ -809,7 +809,7 @@ export declare const actionResetZoom: {
|
|
|
809
809
|
objectsSnapModeEnabled: boolean;
|
|
810
810
|
followedBy: Set<import("../types").SocketId>;
|
|
811
811
|
};
|
|
812
|
-
storeAction:
|
|
812
|
+
storeAction: "none";
|
|
813
813
|
};
|
|
814
814
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
815
815
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
@@ -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
|
-
storeAction:
|
|
1012
|
+
storeAction: "none";
|
|
1013
1013
|
};
|
|
1014
1014
|
export declare const zoomToFit: ({ targetElements, appState, fitToViewport, viewportZoomFactor, }: {
|
|
1015
1015
|
targetElements: readonly ExcalidrawElement[];
|
|
@@ -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
|
-
storeAction:
|
|
1207
|
+
storeAction: "none";
|
|
1208
1208
|
};
|
|
1209
1209
|
export declare const actionZoomToFitSelectionInViewport: {
|
|
1210
1210
|
name: "zoomToFitSelectionInViewport";
|
|
@@ -1399,7 +1399,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1399
1399
|
userToFollow: import("../types").UserToFollow | null;
|
|
1400
1400
|
followedBy: Set<import("../types").SocketId>;
|
|
1401
1401
|
};
|
|
1402
|
-
storeAction:
|
|
1402
|
+
storeAction: "none";
|
|
1403
1403
|
};
|
|
1404
1404
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1405
1405
|
} & {
|
|
@@ -1598,7 +1598,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1598
1598
|
userToFollow: import("../types").UserToFollow | null;
|
|
1599
1599
|
followedBy: Set<import("../types").SocketId>;
|
|
1600
1600
|
};
|
|
1601
|
-
storeAction:
|
|
1601
|
+
storeAction: "none";
|
|
1602
1602
|
};
|
|
1603
1603
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1604
1604
|
} & {
|
|
@@ -1798,7 +1798,7 @@ export declare const actionZoomToFit: {
|
|
|
1798
1798
|
userToFollow: import("../types").UserToFollow | null;
|
|
1799
1799
|
followedBy: Set<import("../types").SocketId>;
|
|
1800
1800
|
};
|
|
1801
|
-
storeAction:
|
|
1801
|
+
storeAction: "none";
|
|
1802
1802
|
};
|
|
1803
1803
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1804
1804
|
} & {
|
|
@@ -1999,7 +1999,7 @@ export declare const actionToggleTheme: {
|
|
|
1999
1999
|
userToFollow: import("../types").UserToFollow | null;
|
|
2000
2000
|
followedBy: Set<import("../types").SocketId>;
|
|
2001
2001
|
};
|
|
2002
|
-
storeAction:
|
|
2002
|
+
storeAction: "none";
|
|
2003
2003
|
};
|
|
2004
2004
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
2005
2005
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
@@ -2191,7 +2191,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2191
2191
|
userToFollow: import("../types").UserToFollow | null;
|
|
2192
2192
|
followedBy: Set<import("../types").SocketId>;
|
|
2193
2193
|
};
|
|
2194
|
-
storeAction:
|
|
2194
|
+
storeAction: "capture";
|
|
2195
2195
|
};
|
|
2196
2196
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
2197
2197
|
} & {
|
|
@@ -2385,7 +2385,7 @@ export declare const actionToggleHandTool: {
|
|
|
2385
2385
|
userToFollow: import("../types").UserToFollow | null;
|
|
2386
2386
|
followedBy: Set<import("../types").SocketId>;
|
|
2387
2387
|
};
|
|
2388
|
-
storeAction:
|
|
2388
|
+
storeAction: "capture";
|
|
2389
2389
|
};
|
|
2390
2390
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
2391
2391
|
} & {
|
|
@@ -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
|
-
storeAction:
|
|
2579
|
+
storeAction: "none";
|
|
2580
2580
|
};
|
|
2581
2581
|
checked: (appState: Readonly<AppState>) => boolean;
|
|
2582
2582
|
label: string;
|
|
@@ -6,7 +6,7 @@ export declare const actionCopy: {
|
|
|
6
6
|
category: "element";
|
|
7
7
|
};
|
|
8
8
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, event: ClipboardEvent | null, app: import("../types").AppClassProperties) => Promise<{
|
|
9
|
-
storeAction:
|
|
9
|
+
storeAction: "none";
|
|
10
10
|
appState: {
|
|
11
11
|
errorMessage: any;
|
|
12
12
|
contextMenu: {
|
|
@@ -193,7 +193,7 @@ export declare const actionCopy: {
|
|
|
193
193
|
followedBy: Set<import("../types").SocketId>;
|
|
194
194
|
};
|
|
195
195
|
} | {
|
|
196
|
-
storeAction:
|
|
196
|
+
storeAction: "none";
|
|
197
197
|
appState?: undefined;
|
|
198
198
|
}>;
|
|
199
199
|
keyTest: undefined;
|
|
@@ -207,7 +207,7 @@ export declare const actionPaste: {
|
|
|
207
207
|
category: "element";
|
|
208
208
|
};
|
|
209
209
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, data: any, app: import("../types").AppClassProperties) => Promise<false | {
|
|
210
|
-
storeAction:
|
|
210
|
+
storeAction: "none";
|
|
211
211
|
appState: {
|
|
212
212
|
errorMessage: string;
|
|
213
213
|
contextMenu: {
|
|
@@ -394,7 +394,7 @@ export declare const actionPaste: {
|
|
|
394
394
|
followedBy: Set<import("../types").SocketId>;
|
|
395
395
|
};
|
|
396
396
|
} | {
|
|
397
|
-
storeAction:
|
|
397
|
+
storeAction: "none";
|
|
398
398
|
appState?: undefined;
|
|
399
399
|
}>;
|
|
400
400
|
keyTest: undefined;
|
|
@@ -595,7 +595,7 @@ export declare const actionCut: {
|
|
|
595
595
|
userToFollow: import("../types").UserToFollow | null;
|
|
596
596
|
followedBy: Set<import("../types").SocketId>;
|
|
597
597
|
};
|
|
598
|
-
storeAction:
|
|
598
|
+
storeAction: "capture";
|
|
599
599
|
} | {
|
|
600
600
|
elements: readonly import("../element/types").OrderedExcalidrawElement[];
|
|
601
601
|
appState: {
|
|
@@ -811,7 +811,7 @@ export declare const actionCut: {
|
|
|
811
811
|
userToFollow: import("../types").UserToFollow | null;
|
|
812
812
|
followedBy: Set<import("../types").SocketId>;
|
|
813
813
|
};
|
|
814
|
-
storeAction:
|
|
814
|
+
storeAction: "capture";
|
|
815
815
|
} | {
|
|
816
816
|
elements: import("../element/types").ExcalidrawElement[];
|
|
817
817
|
appState: {
|
|
@@ -992,7 +992,7 @@ export declare const actionCut: {
|
|
|
992
992
|
userToFollow: import("../types").UserToFollow | null;
|
|
993
993
|
followedBy: Set<import("../types").SocketId>;
|
|
994
994
|
};
|
|
995
|
-
storeAction:
|
|
995
|
+
storeAction: "none" | "capture";
|
|
996
996
|
};
|
|
997
997
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
998
998
|
} & {
|
|
@@ -1006,7 +1006,7 @@ export declare const actionCopyAsSvg: {
|
|
|
1006
1006
|
category: "element";
|
|
1007
1007
|
};
|
|
1008
1008
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: any, app: import("../types").AppClassProperties) => Promise<{
|
|
1009
|
-
storeAction:
|
|
1009
|
+
storeAction: "none";
|
|
1010
1010
|
appState?: undefined;
|
|
1011
1011
|
} | {
|
|
1012
1012
|
appState: {
|
|
@@ -1194,7 +1194,7 @@ export declare const actionCopyAsSvg: {
|
|
|
1194
1194
|
userToFollow: import("../types").UserToFollow | null;
|
|
1195
1195
|
followedBy: Set<import("../types").SocketId>;
|
|
1196
1196
|
};
|
|
1197
|
-
storeAction:
|
|
1197
|
+
storeAction: "none";
|
|
1198
1198
|
}>;
|
|
1199
1199
|
predicate: (elements: readonly import("../element/types").ExcalidrawElement[]) => boolean;
|
|
1200
1200
|
keywords: string[];
|
|
@@ -1209,7 +1209,7 @@ export declare const actionCopyAsPng: {
|
|
|
1209
1209
|
category: "element";
|
|
1210
1210
|
};
|
|
1211
1211
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: any, app: import("../types").AppClassProperties) => Promise<{
|
|
1212
|
-
storeAction:
|
|
1212
|
+
storeAction: "none";
|
|
1213
1213
|
appState?: undefined;
|
|
1214
1214
|
} | {
|
|
1215
1215
|
appState: {
|
|
@@ -1397,7 +1397,7 @@ export declare const actionCopyAsPng: {
|
|
|
1397
1397
|
userToFollow: import("../types").UserToFollow | null;
|
|
1398
1398
|
followedBy: Set<import("../types").SocketId>;
|
|
1399
1399
|
};
|
|
1400
|
-
storeAction:
|
|
1400
|
+
storeAction: "none";
|
|
1401
1401
|
}>;
|
|
1402
1402
|
predicate: (elements: readonly import("../element/types").ExcalidrawElement[]) => boolean;
|
|
1403
1403
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
@@ -1412,7 +1412,7 @@ export declare const copyText: {
|
|
|
1412
1412
|
category: "element";
|
|
1413
1413
|
};
|
|
1414
1414
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
1415
|
-
storeAction:
|
|
1415
|
+
storeAction: "none";
|
|
1416
1416
|
};
|
|
1417
1417
|
predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
1418
1418
|
keywords: string[];
|
|
@@ -196,7 +196,7 @@ export declare const actionDeleteSelected: {
|
|
|
196
196
|
userToFollow: import("../types").UserToFollow | null;
|
|
197
197
|
followedBy: Set<import("../types").SocketId>;
|
|
198
198
|
};
|
|
199
|
-
storeAction:
|
|
199
|
+
storeAction: "capture";
|
|
200
200
|
} | {
|
|
201
201
|
elements: readonly import("../element/types").OrderedExcalidrawElement[];
|
|
202
202
|
appState: {
|
|
@@ -412,7 +412,7 @@ export declare const actionDeleteSelected: {
|
|
|
412
412
|
userToFollow: import("../types").UserToFollow | null;
|
|
413
413
|
followedBy: Set<import("../types").SocketId>;
|
|
414
414
|
};
|
|
415
|
-
storeAction:
|
|
415
|
+
storeAction: "capture";
|
|
416
416
|
} | {
|
|
417
417
|
elements: ExcalidrawElement[];
|
|
418
418
|
appState: {
|
|
@@ -593,7 +593,7 @@ export declare const actionDeleteSelected: {
|
|
|
593
593
|
userToFollow: import("../types").UserToFollow | null;
|
|
594
594
|
followedBy: Set<import("../types").SocketId>;
|
|
595
595
|
};
|
|
596
|
-
storeAction:
|
|
596
|
+
storeAction: "none" | "capture";
|
|
597
597
|
};
|
|
598
598
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean;
|
|
599
599
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,7 +9,7 @@ export declare const distributeHorizontally: {
|
|
|
9
9
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
10
10
|
appState: Readonly<AppState>;
|
|
11
11
|
elements: ExcalidrawElement[];
|
|
12
|
-
storeAction:
|
|
12
|
+
storeAction: "capture";
|
|
13
13
|
};
|
|
14
14
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
15
15
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,7 +25,7 @@ export declare const distributeVertically: {
|
|
|
25
25
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
26
26
|
appState: Readonly<AppState>;
|
|
27
27
|
elements: ExcalidrawElement[];
|
|
28
|
-
storeAction:
|
|
28
|
+
storeAction: "capture";
|
|
29
29
|
};
|
|
30
30
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
31
31
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,7 +8,7 @@ export declare const actionDuplicateSelection: {
|
|
|
8
8
|
category: "element";
|
|
9
9
|
};
|
|
10
10
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, formData: any, app: import("../types").AppClassProperties) => false | {
|
|
11
|
-
storeAction:
|
|
11
|
+
storeAction: "capture";
|
|
12
12
|
elements?: readonly ExcalidrawElement[] | null | undefined;
|
|
13
13
|
appState?: import("../utility-types").MarkOptional<AppState, "width" | "height" | "offsetTop" | "offsetLeft"> | null | undefined;
|
|
14
14
|
files?: import("../types").BinaryFiles | null | undefined;
|
|
@@ -194,7 +194,7 @@ export declare const actionToggleElementLock: {
|
|
|
194
194
|
userToFollow: import("../types").UserToFollow | null;
|
|
195
195
|
followedBy: Set<import("../types").SocketId>;
|
|
196
196
|
};
|
|
197
|
-
storeAction:
|
|
197
|
+
storeAction: "capture";
|
|
198
198
|
};
|
|
199
199
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: import("../types").AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean;
|
|
200
200
|
} & {
|
|
@@ -396,7 +396,7 @@ export declare const actionUnlockAllElements: {
|
|
|
396
396
|
userToFollow: import("../types").UserToFollow | null;
|
|
397
397
|
followedBy: Set<import("../types").SocketId>;
|
|
398
398
|
};
|
|
399
|
-
storeAction:
|
|
399
|
+
storeAction: "capture";
|
|
400
400
|
};
|
|
401
401
|
label: string;
|
|
402
402
|
} & {
|
|
@@ -190,7 +190,7 @@ export declare const actionChangeProjectName: {
|
|
|
190
190
|
userToFollow: import("../types").UserToFollow | null;
|
|
191
191
|
followedBy: Set<import("../types").SocketId>;
|
|
192
192
|
};
|
|
193
|
-
storeAction:
|
|
193
|
+
storeAction: "none";
|
|
194
194
|
};
|
|
195
195
|
PanelComponent: ({ appState, updateData, appProps, data, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
196
196
|
} & {
|
|
@@ -389,7 +389,7 @@ export declare const actionChangeExportScale: {
|
|
|
389
389
|
userToFollow: import("../types").UserToFollow | null;
|
|
390
390
|
followedBy: Set<import("../types").SocketId>;
|
|
391
391
|
};
|
|
392
|
-
storeAction:
|
|
392
|
+
storeAction: "none";
|
|
393
393
|
};
|
|
394
394
|
PanelComponent: ({ elements: allElements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
395
395
|
} & {
|
|
@@ -588,7 +588,7 @@ export declare const actionChangeExportBackground: {
|
|
|
588
588
|
userToFollow: import("../types").UserToFollow | null;
|
|
589
589
|
followedBy: Set<import("../types").SocketId>;
|
|
590
590
|
};
|
|
591
|
-
storeAction:
|
|
591
|
+
storeAction: "none";
|
|
592
592
|
};
|
|
593
593
|
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
594
594
|
} & {
|
|
@@ -787,7 +787,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
787
787
|
userToFollow: import("../types").UserToFollow | null;
|
|
788
788
|
followedBy: Set<import("../types").SocketId>;
|
|
789
789
|
};
|
|
790
|
-
storeAction:
|
|
790
|
+
storeAction: "none";
|
|
791
791
|
};
|
|
792
792
|
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
793
793
|
} & {
|
|
@@ -802,7 +802,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
802
802
|
};
|
|
803
803
|
predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
804
804
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
|
|
805
|
-
storeAction:
|
|
805
|
+
storeAction: "none";
|
|
806
806
|
appState: {
|
|
807
807
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
808
808
|
toast: {
|
|
@@ -987,7 +987,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
987
987
|
followedBy: Set<import("../types").SocketId>;
|
|
988
988
|
};
|
|
989
989
|
} | {
|
|
990
|
-
storeAction:
|
|
990
|
+
storeAction: "none";
|
|
991
991
|
appState?: undefined;
|
|
992
992
|
}>;
|
|
993
993
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
@@ -1003,7 +1003,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1003
1003
|
category: "export";
|
|
1004
1004
|
};
|
|
1005
1005
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
|
|
1006
|
-
storeAction:
|
|
1006
|
+
storeAction: "none";
|
|
1007
1007
|
appState: {
|
|
1008
1008
|
openDialog: null;
|
|
1009
1009
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
@@ -1177,7 +1177,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1177
1177
|
followedBy: Set<import("../types").SocketId>;
|
|
1178
1178
|
};
|
|
1179
1179
|
} | {
|
|
1180
|
-
storeAction:
|
|
1180
|
+
storeAction: "none";
|
|
1181
1181
|
appState?: undefined;
|
|
1182
1182
|
}>;
|
|
1183
1183
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
@@ -1376,7 +1376,7 @@ export declare const actionLoadScene: {
|
|
|
1376
1376
|
followedBy: Set<import("../types").SocketId>;
|
|
1377
1377
|
};
|
|
1378
1378
|
files: import("../types").BinaryFiles;
|
|
1379
|
-
storeAction:
|
|
1379
|
+
storeAction: "capture";
|
|
1380
1380
|
} | {
|
|
1381
1381
|
elements: readonly import("../element/types").OrderedExcalidrawElement[];
|
|
1382
1382
|
appState: {
|
|
@@ -1565,7 +1565,7 @@ export declare const actionLoadScene: {
|
|
|
1565
1565
|
followedBy: Set<import("../types").SocketId>;
|
|
1566
1566
|
};
|
|
1567
1567
|
files: import("../types").BinaryFiles;
|
|
1568
|
-
storeAction:
|
|
1568
|
+
storeAction: "none";
|
|
1569
1569
|
}>;
|
|
1570
1570
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1571
1571
|
} & {
|
|
@@ -1764,7 +1764,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1764
1764
|
userToFollow: import("../types").UserToFollow | null;
|
|
1765
1765
|
followedBy: Set<import("../types").SocketId>;
|
|
1766
1766
|
};
|
|
1767
|
-
storeAction:
|
|
1767
|
+
storeAction: "none";
|
|
1768
1768
|
};
|
|
1769
1769
|
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1770
1770
|
} & {
|
|
@@ -191,7 +191,7 @@ export declare const actionFinalize: {
|
|
|
191
191
|
userToFollow: import("../types").UserToFollow | null;
|
|
192
192
|
followedBy: Set<import("../types").SocketId>;
|
|
193
193
|
};
|
|
194
|
-
storeAction:
|
|
194
|
+
storeAction: "capture";
|
|
195
195
|
} | {
|
|
196
196
|
elements: readonly import("../element/types").OrderedExcalidrawElement[];
|
|
197
197
|
appState: {
|
|
@@ -376,7 +376,7 @@ export declare const actionFinalize: {
|
|
|
376
376
|
userToFollow: import("../types").UserToFollow | null;
|
|
377
377
|
followedBy: Set<import("../types").SocketId>;
|
|
378
378
|
};
|
|
379
|
-
storeAction:
|
|
379
|
+
storeAction: "capture";
|
|
380
380
|
};
|
|
381
381
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean;
|
|
382
382
|
PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,7 +10,7 @@ export declare const actionFlipHorizontal: {
|
|
|
10
10
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
11
11
|
elements: ExcalidrawElement[];
|
|
12
12
|
appState: Readonly<AppState>;
|
|
13
|
-
storeAction:
|
|
13
|
+
storeAction: "capture";
|
|
14
14
|
};
|
|
15
15
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
16
16
|
} & {
|
|
@@ -26,7 +26,7 @@ export declare const actionFlipVertical: {
|
|
|
26
26
|
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
27
27
|
elements: ExcalidrawElement[];
|
|
28
28
|
appState: Readonly<AppState>;
|
|
29
|
-
storeAction:
|
|
29
|
+
storeAction: "capture";
|
|
30
30
|
};
|
|
31
31
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
32
32
|
} & {
|