@zsviczian/excalidraw 0.17.1-obsidian-18 → 0.17.1-obsidian-20
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 +123 -58
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/styles.development.css +1042 -821
- package/dist/styles.production.css +12 -11
- package/package.json +4 -3
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +16 -1
- package/types/excalidraw/actions/actionAlign.d.ts +19 -7
- package/types/excalidraw/actions/actionBoundText.d.ts +13 -3
- package/types/excalidraw/actions/actionCanvas.d.ts +111 -15
- package/types/excalidraw/actions/actionClipboard.d.ts +48 -6
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +17 -1
- package/types/excalidraw/actions/actionDistribute.d.ts +2 -0
- package/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -1
- package/types/excalidraw/actions/actionElementLock.d.ts +16 -3
- package/types/excalidraw/actions/actionExport.d.ts +53 -0
- package/types/excalidraw/actions/actionFinalize.d.ts +11 -0
- package/types/excalidraw/actions/actionFlip.d.ts +4 -2
- package/types/excalidraw/actions/actionFrame.d.ts +21 -3
- package/types/excalidraw/actions/actionGroup.d.ts +14 -2
- package/types/excalidraw/actions/actionLinearEditor.d.ts +7 -1
- package/types/excalidraw/actions/actionLink.d.ts +7 -1
- package/types/excalidraw/actions/actionMenu.d.ts +17 -0
- package/types/excalidraw/actions/actionNavigate.d.ts +11 -0
- package/types/excalidraw/actions/actionProperties.d.ts +82 -0
- package/types/excalidraw/actions/actionSelectAll.d.ts +8 -1
- package/types/excalidraw/actions/actionStyles.d.ts +9 -2
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +6 -1
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +8 -2
- package/types/excalidraw/actions/actionToggleStats.d.ts +8 -1
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +8 -1
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +8 -1
- package/types/excalidraw/actions/actionZindex.d.ts +8 -4
- package/types/excalidraw/actions/shortcuts.d.ts +2 -2
- package/types/excalidraw/actions/types.d.ts +6 -4
- package/types/excalidraw/clients.d.ts +10 -1
- package/types/excalidraw/components/Actions.d.ts +3 -1
- package/types/excalidraw/components/App.d.ts +1 -1
- package/types/excalidraw/components/Avatar.d.ts +2 -3
- package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +18 -0
- package/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +2 -0
- package/types/excalidraw/components/CommandPalette/types.d.ts +25 -0
- package/types/excalidraw/components/InlineIcon.d.ts +1 -1
- package/types/excalidraw/components/UserList.d.ts +3 -7
- package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
- package/types/excalidraw/components/icons.d.ts +22 -1
- package/types/excalidraw/components/main-menu/DefaultItems.d.ts +4 -0
- package/types/excalidraw/constants.d.ts +5 -0
- package/types/excalidraw/deburr.d.ts +1 -0
- package/types/excalidraw/element/embeddable.d.ts +7 -0
- package/types/excalidraw/element/linearElementEditor.d.ts +5 -0
- package/types/excalidraw/element/textElement.d.ts +0 -5
- package/types/excalidraw/hooks/useStableCallback.d.ts +4 -0
- package/types/excalidraw/index.d.ts +1 -1
- package/types/excalidraw/keys.d.ts +1 -0
- package/types/excalidraw/obsidianUtils.d.ts +1 -0
- package/types/excalidraw/scene/types.d.ts +10 -20
- package/types/excalidraw/types.d.ts +21 -2
|
@@ -2,6 +2,8 @@ import { ExcalidrawElement } from "../element/types";
|
|
|
2
2
|
import { AppState } from "../types";
|
|
3
3
|
export declare const actionFlipHorizontal: {
|
|
4
4
|
name: "flipHorizontal";
|
|
5
|
+
label: string;
|
|
6
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
5
7
|
trackEvent: {
|
|
6
8
|
category: "element";
|
|
7
9
|
};
|
|
@@ -11,12 +13,13 @@ export declare const actionFlipHorizontal: {
|
|
|
11
13
|
commitToHistory: true;
|
|
12
14
|
};
|
|
13
15
|
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
14
|
-
contextItemLabel: string;
|
|
15
16
|
} & {
|
|
16
17
|
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
17
18
|
};
|
|
18
19
|
export declare const actionFlipVertical: {
|
|
19
20
|
name: "flipVertical";
|
|
21
|
+
label: string;
|
|
22
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
20
23
|
trackEvent: {
|
|
21
24
|
category: "element";
|
|
22
25
|
};
|
|
@@ -26,7 +29,6 @@ export declare const actionFlipVertical: {
|
|
|
26
29
|
commitToHistory: true;
|
|
27
30
|
};
|
|
28
31
|
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
29
|
-
contextItemLabel: string;
|
|
30
32
|
} & {
|
|
31
33
|
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
32
34
|
};
|
|
@@ -2,6 +2,7 @@ import { ExcalidrawElement } from "../element/types";
|
|
|
2
2
|
import { AppClassProperties, AppState } from "../types";
|
|
3
3
|
export declare const actionSelectAllElementsInFrame: {
|
|
4
4
|
name: "selectAllElementsInFrame";
|
|
5
|
+
label: string;
|
|
5
6
|
trackEvent: {
|
|
6
7
|
category: "canvas";
|
|
7
8
|
};
|
|
@@ -10,13 +11,13 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
10
11
|
appState: Readonly<AppState>;
|
|
11
12
|
commitToHistory: false;
|
|
12
13
|
};
|
|
13
|
-
contextItemLabel: string;
|
|
14
14
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
15
15
|
} & {
|
|
16
16
|
keyTest?: undefined;
|
|
17
17
|
};
|
|
18
18
|
export declare const actionRemoveAllElementsFromFrame: {
|
|
19
19
|
name: "removeAllElementsFromFrame";
|
|
20
|
+
label: string;
|
|
20
21
|
trackEvent: {
|
|
21
22
|
category: "history";
|
|
22
23
|
};
|
|
@@ -105,6 +106,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
105
106
|
} | {
|
|
106
107
|
name: "ttd";
|
|
107
108
|
tab: "mermaid" | "text-to-diagram";
|
|
109
|
+
} | {
|
|
110
|
+
name: "commandPalette";
|
|
108
111
|
} | null;
|
|
109
112
|
defaultSidebarDockedPreference: boolean;
|
|
110
113
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -148,6 +151,9 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
148
151
|
id?: string | undefined;
|
|
149
152
|
socketId?: import("../types").SocketId | undefined;
|
|
150
153
|
isCurrentUser?: boolean | undefined;
|
|
154
|
+
isInCall?: boolean | undefined;
|
|
155
|
+
isSpeaking?: boolean | undefined;
|
|
156
|
+
isMuted?: boolean | undefined;
|
|
151
157
|
}>>;
|
|
152
158
|
showStats: boolean;
|
|
153
159
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -208,13 +214,13 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
208
214
|
appState: Readonly<AppState>;
|
|
209
215
|
commitToHistory: false;
|
|
210
216
|
};
|
|
211
|
-
contextItemLabel: string;
|
|
212
217
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
213
218
|
} & {
|
|
214
219
|
keyTest?: undefined;
|
|
215
220
|
};
|
|
216
221
|
export declare const actionupdateFrameRendering: {
|
|
217
222
|
name: "updateFrameRendering";
|
|
223
|
+
label: string;
|
|
218
224
|
viewMode: true;
|
|
219
225
|
trackEvent: {
|
|
220
226
|
category: "canvas";
|
|
@@ -301,6 +307,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
301
307
|
} | {
|
|
302
308
|
name: "ttd";
|
|
303
309
|
tab: "mermaid" | "text-to-diagram";
|
|
310
|
+
} | {
|
|
311
|
+
name: "commandPalette";
|
|
304
312
|
} | null;
|
|
305
313
|
defaultSidebarDockedPreference: boolean;
|
|
306
314
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -347,6 +355,9 @@ export declare const actionupdateFrameRendering: {
|
|
|
347
355
|
id?: string | undefined;
|
|
348
356
|
socketId?: import("../types").SocketId | undefined;
|
|
349
357
|
isCurrentUser?: boolean | undefined;
|
|
358
|
+
isInCall?: boolean | undefined;
|
|
359
|
+
isSpeaking?: boolean | undefined;
|
|
360
|
+
isMuted?: boolean | undefined;
|
|
350
361
|
}>>;
|
|
351
362
|
showStats: boolean;
|
|
352
363
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -403,16 +414,18 @@ export declare const actionupdateFrameRendering: {
|
|
|
403
414
|
};
|
|
404
415
|
commitToHistory: false;
|
|
405
416
|
};
|
|
406
|
-
contextItemLabel: string;
|
|
407
417
|
checked: (appState: AppState) => boolean;
|
|
408
418
|
} & {
|
|
409
419
|
keyTest?: undefined;
|
|
410
420
|
};
|
|
411
421
|
export declare const actionSetFrameAsActiveTool: {
|
|
412
422
|
name: "setFrameAsActiveTool";
|
|
423
|
+
label: string;
|
|
413
424
|
trackEvent: {
|
|
414
425
|
category: "toolbar";
|
|
415
426
|
};
|
|
427
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
428
|
+
viewMode: false;
|
|
416
429
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
417
430
|
elements: readonly ExcalidrawElement[];
|
|
418
431
|
appState: {
|
|
@@ -495,6 +508,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
495
508
|
} | {
|
|
496
509
|
name: "ttd";
|
|
497
510
|
tab: "mermaid" | "text-to-diagram";
|
|
511
|
+
} | {
|
|
512
|
+
name: "commandPalette";
|
|
498
513
|
} | null;
|
|
499
514
|
defaultSidebarDockedPreference: boolean;
|
|
500
515
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -541,6 +556,9 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
541
556
|
id?: string | undefined;
|
|
542
557
|
socketId?: import("../types").SocketId | undefined;
|
|
543
558
|
isCurrentUser?: boolean | undefined;
|
|
559
|
+
isInCall?: boolean | undefined;
|
|
560
|
+
isSpeaking?: boolean | undefined;
|
|
561
|
+
isMuted?: boolean | undefined;
|
|
544
562
|
}>>;
|
|
545
563
|
showStats: boolean;
|
|
546
564
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -2,6 +2,8 @@ import { ExcalidrawElement } from "../element/types";
|
|
|
2
2
|
import { AppClassProperties, AppState } from "../types";
|
|
3
3
|
export declare const actionGroup: {
|
|
4
4
|
name: "group";
|
|
5
|
+
label: string;
|
|
6
|
+
icon: (appState: import("../types").UIAppState) => import("react/jsx-runtime").JSX.Element;
|
|
5
7
|
trackEvent: {
|
|
6
8
|
category: "element";
|
|
7
9
|
};
|
|
@@ -97,6 +99,8 @@ export declare const actionGroup: {
|
|
|
97
99
|
} | {
|
|
98
100
|
name: "ttd";
|
|
99
101
|
tab: "mermaid" | "text-to-diagram";
|
|
102
|
+
} | {
|
|
103
|
+
name: "commandPalette";
|
|
100
104
|
} | null;
|
|
101
105
|
defaultSidebarDockedPreference: boolean;
|
|
102
106
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -136,6 +140,9 @@ export declare const actionGroup: {
|
|
|
136
140
|
id?: string | undefined;
|
|
137
141
|
socketId?: import("../types").SocketId | undefined;
|
|
138
142
|
isCurrentUser?: boolean | undefined;
|
|
143
|
+
isInCall?: boolean | undefined;
|
|
144
|
+
isSpeaking?: boolean | undefined;
|
|
145
|
+
isMuted?: boolean | undefined;
|
|
139
146
|
}>>;
|
|
140
147
|
showStats: boolean;
|
|
141
148
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -193,7 +200,6 @@ export declare const actionGroup: {
|
|
|
193
200
|
elements: ExcalidrawElement[];
|
|
194
201
|
commitToHistory: true;
|
|
195
202
|
};
|
|
196
|
-
contextItemLabel: string;
|
|
197
203
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
198
204
|
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
199
205
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -202,6 +208,8 @@ export declare const actionGroup: {
|
|
|
202
208
|
};
|
|
203
209
|
export declare const actionUngroup: {
|
|
204
210
|
name: "ungroup";
|
|
211
|
+
label: string;
|
|
212
|
+
icon: (appState: import("../types").UIAppState) => import("react/jsx-runtime").JSX.Element;
|
|
205
213
|
trackEvent: {
|
|
206
214
|
category: "element";
|
|
207
215
|
};
|
|
@@ -297,6 +305,8 @@ export declare const actionUngroup: {
|
|
|
297
305
|
} | {
|
|
298
306
|
name: "ttd";
|
|
299
307
|
tab: "mermaid" | "text-to-diagram";
|
|
308
|
+
} | {
|
|
309
|
+
name: "commandPalette";
|
|
300
310
|
} | null;
|
|
301
311
|
defaultSidebarDockedPreference: boolean;
|
|
302
312
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -336,6 +346,9 @@ export declare const actionUngroup: {
|
|
|
336
346
|
id?: string | undefined;
|
|
337
347
|
socketId?: import("../types").SocketId | undefined;
|
|
338
348
|
isCurrentUser?: boolean | undefined;
|
|
349
|
+
isInCall?: boolean | undefined;
|
|
350
|
+
isSpeaking?: boolean | undefined;
|
|
351
|
+
isMuted?: boolean | undefined;
|
|
339
352
|
}>>;
|
|
340
353
|
showStats: boolean;
|
|
341
354
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -394,7 +407,6 @@ export declare const actionUngroup: {
|
|
|
394
407
|
commitToHistory: true;
|
|
395
408
|
};
|
|
396
409
|
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
397
|
-
contextItemLabel: string;
|
|
398
410
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
|
|
399
411
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
400
412
|
} & {
|
|
@@ -2,6 +2,8 @@ import { LinearElementEditor } from "../element/linearElementEditor";
|
|
|
2
2
|
import { ExcalidrawLinearElement } from "../element/types";
|
|
3
3
|
export declare const actionToggleLinearEditor: {
|
|
4
4
|
name: "toggleLinearEditor";
|
|
5
|
+
category: string;
|
|
6
|
+
label: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, app: import("../types").AppClassProperties) => "labels.lineEditor.exit" | "labels.lineEditor.edit";
|
|
5
7
|
trackEvent: {
|
|
6
8
|
category: "element";
|
|
7
9
|
};
|
|
@@ -87,6 +89,8 @@ export declare const actionToggleLinearEditor: {
|
|
|
87
89
|
} | {
|
|
88
90
|
name: "ttd";
|
|
89
91
|
tab: "mermaid" | "text-to-diagram";
|
|
92
|
+
} | {
|
|
93
|
+
name: "commandPalette";
|
|
90
94
|
} | null;
|
|
91
95
|
defaultSidebarDockedPreference: boolean;
|
|
92
96
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -133,6 +137,9 @@ export declare const actionToggleLinearEditor: {
|
|
|
133
137
|
id?: string | undefined;
|
|
134
138
|
socketId?: import("../types").SocketId | undefined;
|
|
135
139
|
isCurrentUser?: boolean | undefined;
|
|
140
|
+
isInCall?: boolean | undefined;
|
|
141
|
+
isSpeaking?: boolean | undefined;
|
|
142
|
+
isMuted?: boolean | undefined;
|
|
136
143
|
}>>;
|
|
137
144
|
showStats: boolean;
|
|
138
145
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -189,7 +196,6 @@ export declare const actionToggleLinearEditor: {
|
|
|
189
196
|
};
|
|
190
197
|
commitToHistory: false;
|
|
191
198
|
};
|
|
192
|
-
contextItemLabel: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, app: import("../types").AppClassProperties) => "labels.lineEditor.exit" | "labels.lineEditor.edit";
|
|
193
199
|
} & {
|
|
194
200
|
keyTest?: undefined;
|
|
195
201
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const actionLink: {
|
|
2
2
|
name: "hyperlink";
|
|
3
|
+
label: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => "labels.link.editEmbed" | "labels.link.edit" | "labels.link.createEmbed" | "labels.link.create";
|
|
4
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
3
5
|
perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => false | {
|
|
4
6
|
elements: readonly import("../element/types").ExcalidrawElement[];
|
|
5
7
|
appState: {
|
|
@@ -83,6 +85,8 @@ export declare const actionLink: {
|
|
|
83
85
|
} | {
|
|
84
86
|
name: "ttd";
|
|
85
87
|
tab: "mermaid" | "text-to-diagram";
|
|
88
|
+
} | {
|
|
89
|
+
name: "commandPalette";
|
|
86
90
|
} | null;
|
|
87
91
|
defaultSidebarDockedPreference: boolean;
|
|
88
92
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -129,6 +133,9 @@ export declare const actionLink: {
|
|
|
129
133
|
id?: string | undefined;
|
|
130
134
|
socketId?: import("../types").SocketId | undefined;
|
|
131
135
|
isCurrentUser?: boolean | undefined;
|
|
136
|
+
isInCall?: boolean | undefined;
|
|
137
|
+
isSpeaking?: boolean | undefined;
|
|
138
|
+
isMuted?: boolean | undefined;
|
|
132
139
|
}>>;
|
|
133
140
|
showStats: boolean;
|
|
134
141
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -189,7 +196,6 @@ export declare const actionLink: {
|
|
|
189
196
|
action: string;
|
|
190
197
|
};
|
|
191
198
|
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
192
|
-
contextItemLabel: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => "labels.link.editEmbed" | "labels.link.edit" | "labels.link.createEmbed" | "labels.link.create";
|
|
193
199
|
predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
|
|
194
200
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
195
201
|
} & {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const actionToggleCanvasMenu: {
|
|
2
2
|
name: "toggleCanvasMenu";
|
|
3
|
+
label: string;
|
|
3
4
|
trackEvent: {
|
|
4
5
|
category: "menu";
|
|
5
6
|
};
|
|
@@ -84,6 +85,8 @@ export declare const actionToggleCanvasMenu: {
|
|
|
84
85
|
} | {
|
|
85
86
|
name: "ttd";
|
|
86
87
|
tab: "mermaid" | "text-to-diagram";
|
|
88
|
+
} | {
|
|
89
|
+
name: "commandPalette";
|
|
87
90
|
} | null;
|
|
88
91
|
defaultSidebarDockedPreference: boolean;
|
|
89
92
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -130,6 +133,9 @@ export declare const actionToggleCanvasMenu: {
|
|
|
130
133
|
id?: string | undefined;
|
|
131
134
|
socketId?: import("../types").SocketId | undefined;
|
|
132
135
|
isCurrentUser?: boolean | undefined;
|
|
136
|
+
isInCall?: boolean | undefined;
|
|
137
|
+
isSpeaking?: boolean | undefined;
|
|
138
|
+
isMuted?: boolean | undefined;
|
|
133
139
|
}>>;
|
|
134
140
|
showStats: boolean;
|
|
135
141
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -192,6 +198,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
192
198
|
};
|
|
193
199
|
export declare const actionToggleEditMenu: {
|
|
194
200
|
name: "toggleEditMenu";
|
|
201
|
+
label: string;
|
|
195
202
|
trackEvent: {
|
|
196
203
|
category: "menu";
|
|
197
204
|
};
|
|
@@ -276,6 +283,8 @@ export declare const actionToggleEditMenu: {
|
|
|
276
283
|
} | {
|
|
277
284
|
name: "ttd";
|
|
278
285
|
tab: "mermaid" | "text-to-diagram";
|
|
286
|
+
} | {
|
|
287
|
+
name: "commandPalette";
|
|
279
288
|
} | null;
|
|
280
289
|
defaultSidebarDockedPreference: boolean;
|
|
281
290
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -322,6 +331,9 @@ export declare const actionToggleEditMenu: {
|
|
|
322
331
|
id?: string | undefined;
|
|
323
332
|
socketId?: import("../types").SocketId | undefined;
|
|
324
333
|
isCurrentUser?: boolean | undefined;
|
|
334
|
+
isInCall?: boolean | undefined;
|
|
335
|
+
isSpeaking?: boolean | undefined;
|
|
336
|
+
isMuted?: boolean | undefined;
|
|
325
337
|
}>>;
|
|
326
338
|
showStats: boolean;
|
|
327
339
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -384,6 +396,8 @@ export declare const actionToggleEditMenu: {
|
|
|
384
396
|
};
|
|
385
397
|
export declare const actionShortcuts: {
|
|
386
398
|
name: "toggleShortcuts";
|
|
399
|
+
label: string;
|
|
400
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
387
401
|
viewMode: true;
|
|
388
402
|
trackEvent: {
|
|
389
403
|
category: "menu";
|
|
@@ -509,6 +523,9 @@ export declare const actionShortcuts: {
|
|
|
509
523
|
id?: string | undefined;
|
|
510
524
|
socketId?: import("../types").SocketId | undefined;
|
|
511
525
|
isCurrentUser?: boolean | undefined;
|
|
526
|
+
isInCall?: boolean | undefined;
|
|
527
|
+
isSpeaking?: boolean | undefined;
|
|
528
|
+
isMuted?: boolean | undefined;
|
|
512
529
|
}>>;
|
|
513
530
|
showStats: boolean;
|
|
514
531
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Collaborator } from "../types";
|
|
2
2
|
export declare const actionGoToCollaborator: {
|
|
3
3
|
name: "goToCollaborator";
|
|
4
|
+
label: string;
|
|
4
5
|
viewMode: true;
|
|
5
6
|
trackEvent: {
|
|
6
7
|
category: "collab";
|
|
@@ -87,6 +88,8 @@ export declare const actionGoToCollaborator: {
|
|
|
87
88
|
} | {
|
|
88
89
|
name: "ttd";
|
|
89
90
|
tab: "mermaid" | "text-to-diagram";
|
|
91
|
+
} | {
|
|
92
|
+
name: "commandPalette";
|
|
90
93
|
} | null;
|
|
91
94
|
defaultSidebarDockedPreference: boolean;
|
|
92
95
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -133,6 +136,9 @@ export declare const actionGoToCollaborator: {
|
|
|
133
136
|
id?: string | undefined;
|
|
134
137
|
socketId?: import("../types").SocketId | undefined;
|
|
135
138
|
isCurrentUser?: boolean | undefined;
|
|
139
|
+
isInCall?: boolean | undefined;
|
|
140
|
+
isSpeaking?: boolean | undefined;
|
|
141
|
+
isMuted?: boolean | undefined;
|
|
136
142
|
}>>;
|
|
137
143
|
showStats: boolean;
|
|
138
144
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -272,6 +278,8 @@ export declare const actionGoToCollaborator: {
|
|
|
272
278
|
} | {
|
|
273
279
|
name: "ttd";
|
|
274
280
|
tab: "mermaid" | "text-to-diagram";
|
|
281
|
+
} | {
|
|
282
|
+
name: "commandPalette";
|
|
275
283
|
} | null;
|
|
276
284
|
defaultSidebarDockedPreference: boolean;
|
|
277
285
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -318,6 +326,9 @@ export declare const actionGoToCollaborator: {
|
|
|
318
326
|
id?: string | undefined;
|
|
319
327
|
socketId?: import("../types").SocketId | undefined;
|
|
320
328
|
isCurrentUser?: boolean | undefined;
|
|
329
|
+
isInCall?: boolean | undefined;
|
|
330
|
+
isSpeaking?: boolean | undefined;
|
|
331
|
+
isMuted?: boolean | undefined;
|
|
321
332
|
}>>;
|
|
322
333
|
showStats: boolean;
|
|
323
334
|
currentChartType: import("../element/types").ChartType;
|