@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.
Files changed (57) hide show
  1. package/dist/excalidraw.development.js +123 -58
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/styles.development.css +1042 -821
  4. package/dist/styles.production.css +12 -11
  5. package/package.json +4 -3
  6. package/types/excalidraw/actions/actionAddToLibrary.d.ts +16 -1
  7. package/types/excalidraw/actions/actionAlign.d.ts +19 -7
  8. package/types/excalidraw/actions/actionBoundText.d.ts +13 -3
  9. package/types/excalidraw/actions/actionCanvas.d.ts +111 -15
  10. package/types/excalidraw/actions/actionClipboard.d.ts +48 -6
  11. package/types/excalidraw/actions/actionDeleteSelected.d.ts +17 -1
  12. package/types/excalidraw/actions/actionDistribute.d.ts +2 -0
  13. package/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -1
  14. package/types/excalidraw/actions/actionElementLock.d.ts +16 -3
  15. package/types/excalidraw/actions/actionExport.d.ts +53 -0
  16. package/types/excalidraw/actions/actionFinalize.d.ts +11 -0
  17. package/types/excalidraw/actions/actionFlip.d.ts +4 -2
  18. package/types/excalidraw/actions/actionFrame.d.ts +21 -3
  19. package/types/excalidraw/actions/actionGroup.d.ts +14 -2
  20. package/types/excalidraw/actions/actionLinearEditor.d.ts +7 -1
  21. package/types/excalidraw/actions/actionLink.d.ts +7 -1
  22. package/types/excalidraw/actions/actionMenu.d.ts +17 -0
  23. package/types/excalidraw/actions/actionNavigate.d.ts +11 -0
  24. package/types/excalidraw/actions/actionProperties.d.ts +82 -0
  25. package/types/excalidraw/actions/actionSelectAll.d.ts +8 -1
  26. package/types/excalidraw/actions/actionStyles.d.ts +9 -2
  27. package/types/excalidraw/actions/actionToggleGridMode.d.ts +6 -1
  28. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +8 -2
  29. package/types/excalidraw/actions/actionToggleStats.d.ts +8 -1
  30. package/types/excalidraw/actions/actionToggleViewMode.d.ts +8 -1
  31. package/types/excalidraw/actions/actionToggleZenMode.d.ts +8 -1
  32. package/types/excalidraw/actions/actionZindex.d.ts +8 -4
  33. package/types/excalidraw/actions/shortcuts.d.ts +2 -2
  34. package/types/excalidraw/actions/types.d.ts +6 -4
  35. package/types/excalidraw/clients.d.ts +10 -1
  36. package/types/excalidraw/components/Actions.d.ts +3 -1
  37. package/types/excalidraw/components/App.d.ts +1 -1
  38. package/types/excalidraw/components/Avatar.d.ts +2 -3
  39. package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +18 -0
  40. package/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +2 -0
  41. package/types/excalidraw/components/CommandPalette/types.d.ts +25 -0
  42. package/types/excalidraw/components/InlineIcon.d.ts +1 -1
  43. package/types/excalidraw/components/UserList.d.ts +3 -7
  44. package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
  45. package/types/excalidraw/components/icons.d.ts +22 -1
  46. package/types/excalidraw/components/main-menu/DefaultItems.d.ts +4 -0
  47. package/types/excalidraw/constants.d.ts +5 -0
  48. package/types/excalidraw/deburr.d.ts +1 -0
  49. package/types/excalidraw/element/embeddable.d.ts +7 -0
  50. package/types/excalidraw/element/linearElementEditor.d.ts +5 -0
  51. package/types/excalidraw/element/textElement.d.ts +0 -5
  52. package/types/excalidraw/hooks/useStableCallback.d.ts +4 -0
  53. package/types/excalidraw/index.d.ts +1 -1
  54. package/types/excalidraw/keys.d.ts +1 -0
  55. package/types/excalidraw/obsidianUtils.d.ts +1 -0
  56. package/types/excalidraw/scene/types.d.ts +10 -20
  57. package/types/excalidraw/types.d.ts +21 -2
@@ -1,5 +1,7 @@
1
1
  export declare const actionCopy: {
2
2
  name: "copy";
3
+ label: string;
4
+ icon: import("react/jsx-runtime").JSX.Element;
3
5
  trackEvent: {
4
6
  category: "element";
5
7
  };
@@ -85,6 +87,8 @@ export declare const actionCopy: {
85
87
  } | {
86
88
  name: "ttd";
87
89
  tab: "mermaid" | "text-to-diagram";
90
+ } | {
91
+ name: "commandPalette";
88
92
  } | null;
89
93
  defaultSidebarDockedPreference: boolean;
90
94
  lastPointerDownWith: import("../element/types").PointerType;
@@ -131,6 +135,9 @@ export declare const actionCopy: {
131
135
  id?: string | undefined;
132
136
  socketId?: import("../types").SocketId | undefined;
133
137
  isCurrentUser?: boolean | undefined;
138
+ isInCall?: boolean | undefined;
139
+ isSpeaking?: boolean | undefined;
140
+ isMuted?: boolean | undefined;
134
141
  }>>;
135
142
  showStats: boolean;
136
143
  currentChartType: import("../element/types").ChartType;
@@ -189,13 +196,13 @@ export declare const actionCopy: {
189
196
  commitToHistory: false;
190
197
  appState?: undefined;
191
198
  }>;
192
- contextItemLabel: string;
193
199
  keyTest: undefined;
194
200
  } & {
195
201
  keyTest?: undefined;
196
202
  };
197
203
  export declare const actionPaste: {
198
204
  name: "paste";
205
+ label: string;
199
206
  trackEvent: {
200
207
  category: "element";
201
208
  };
@@ -281,6 +288,8 @@ export declare const actionPaste: {
281
288
  } | {
282
289
  name: "ttd";
283
290
  tab: "mermaid" | "text-to-diagram";
291
+ } | {
292
+ name: "commandPalette";
284
293
  } | null;
285
294
  defaultSidebarDockedPreference: boolean;
286
295
  lastPointerDownWith: import("../element/types").PointerType;
@@ -327,6 +336,9 @@ export declare const actionPaste: {
327
336
  id?: string | undefined;
328
337
  socketId?: import("../types").SocketId | undefined;
329
338
  isCurrentUser?: boolean | undefined;
339
+ isInCall?: boolean | undefined;
340
+ isSpeaking?: boolean | undefined;
341
+ isMuted?: boolean | undefined;
330
342
  }>>;
331
343
  showStats: boolean;
332
344
  currentChartType: import("../element/types").ChartType;
@@ -385,13 +397,14 @@ export declare const actionPaste: {
385
397
  commitToHistory: false;
386
398
  appState?: undefined;
387
399
  }>;
388
- contextItemLabel: string;
389
400
  keyTest: undefined;
390
401
  } & {
391
402
  keyTest?: undefined;
392
403
  };
393
404
  export declare const actionCut: {
394
405
  name: "cut";
406
+ label: string;
407
+ icon: import("react/jsx-runtime").JSX.Element;
395
408
  trackEvent: {
396
409
  category: "element";
397
410
  };
@@ -477,6 +490,8 @@ export declare const actionCut: {
477
490
  } | {
478
491
  name: "ttd";
479
492
  tab: "mermaid" | "text-to-diagram";
493
+ } | {
494
+ name: "commandPalette";
480
495
  } | null;
481
496
  defaultSidebarDockedPreference: boolean;
482
497
  lastPointerDownWith: import("../element/types").PointerType;
@@ -523,6 +538,9 @@ export declare const actionCut: {
523
538
  id?: string | undefined;
524
539
  socketId?: import("../types").SocketId | undefined;
525
540
  isCurrentUser?: boolean | undefined;
541
+ isInCall?: boolean | undefined;
542
+ isSpeaking?: boolean | undefined;
543
+ isMuted?: boolean | undefined;
526
544
  }>>;
527
545
  showStats: boolean;
528
546
  currentChartType: import("../element/types").ChartType;
@@ -688,6 +706,8 @@ export declare const actionCut: {
688
706
  } | {
689
707
  name: "ttd";
690
708
  tab: "mermaid" | "text-to-diagram";
709
+ } | {
710
+ name: "commandPalette";
691
711
  } | null;
692
712
  defaultSidebarDockedPreference: boolean;
693
713
  lastPointerDownWith: import("../element/types").PointerType;
@@ -734,6 +754,9 @@ export declare const actionCut: {
734
754
  id?: string | undefined;
735
755
  socketId?: import("../types").SocketId | undefined;
736
756
  isCurrentUser?: boolean | undefined;
757
+ isInCall?: boolean | undefined;
758
+ isSpeaking?: boolean | undefined;
759
+ isMuted?: boolean | undefined;
737
760
  }>>;
738
761
  showStats: boolean;
739
762
  currentChartType: import("../element/types").ChartType;
@@ -870,6 +893,8 @@ export declare const actionCut: {
870
893
  } | {
871
894
  name: "ttd";
872
895
  tab: "mermaid" | "text-to-diagram";
896
+ } | {
897
+ name: "commandPalette";
873
898
  } | null;
874
899
  defaultSidebarDockedPreference: boolean;
875
900
  lastPointerDownWith: import("../element/types").PointerType;
@@ -910,6 +935,9 @@ export declare const actionCut: {
910
935
  id?: string | undefined;
911
936
  socketId?: import("../types").SocketId | undefined;
912
937
  isCurrentUser?: boolean | undefined;
938
+ isInCall?: boolean | undefined;
939
+ isSpeaking?: boolean | undefined;
940
+ isMuted?: boolean | undefined;
913
941
  }>>;
914
942
  showStats: boolean;
915
943
  currentChartType: import("../element/types").ChartType;
@@ -966,13 +994,14 @@ export declare const actionCut: {
966
994
  };
967
995
  commitToHistory: boolean;
968
996
  };
969
- contextItemLabel: string;
970
997
  keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
971
998
  } & {
972
999
  keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
973
1000
  };
974
1001
  export declare const actionCopyAsSvg: {
975
1002
  name: "copyAsSvg";
1003
+ label: string;
1004
+ icon: import("react/jsx-runtime").JSX.Element;
976
1005
  trackEvent: {
977
1006
  category: "element";
978
1007
  };
@@ -1060,6 +1089,8 @@ export declare const actionCopyAsSvg: {
1060
1089
  } | {
1061
1090
  name: "ttd";
1062
1091
  tab: "mermaid" | "text-to-diagram";
1092
+ } | {
1093
+ name: "commandPalette";
1063
1094
  } | null;
1064
1095
  defaultSidebarDockedPreference: boolean;
1065
1096
  lastPointerDownWith: import("../element/types").PointerType;
@@ -1106,6 +1137,9 @@ export declare const actionCopyAsSvg: {
1106
1137
  id?: string | undefined;
1107
1138
  socketId?: import("../types").SocketId | undefined;
1108
1139
  isCurrentUser?: boolean | undefined;
1140
+ isInCall?: boolean | undefined;
1141
+ isSpeaking?: boolean | undefined;
1142
+ isMuted?: boolean | undefined;
1109
1143
  }>>;
1110
1144
  showStats: boolean;
1111
1145
  currentChartType: import("../element/types").ChartType;
@@ -1163,12 +1197,14 @@ export declare const actionCopyAsSvg: {
1163
1197
  commitToHistory: false;
1164
1198
  }>;
1165
1199
  predicate: (elements: readonly import("../element/types").ExcalidrawElement[]) => boolean;
1166
- contextItemLabel: string;
1200
+ keywords: string[];
1167
1201
  } & {
1168
1202
  keyTest?: undefined;
1169
1203
  };
1170
1204
  export declare const actionCopyAsPng: {
1171
1205
  name: "copyAsPng";
1206
+ label: string;
1207
+ icon: import("react/jsx-runtime").JSX.Element;
1172
1208
  trackEvent: {
1173
1209
  category: "element";
1174
1210
  };
@@ -1256,6 +1292,8 @@ export declare const actionCopyAsPng: {
1256
1292
  } | {
1257
1293
  name: "ttd";
1258
1294
  tab: "mermaid" | "text-to-diagram";
1295
+ } | {
1296
+ name: "commandPalette";
1259
1297
  } | null;
1260
1298
  defaultSidebarDockedPreference: boolean;
1261
1299
  lastPointerDownWith: import("../element/types").PointerType;
@@ -1302,6 +1340,9 @@ export declare const actionCopyAsPng: {
1302
1340
  id?: string | undefined;
1303
1341
  socketId?: import("../types").SocketId | undefined;
1304
1342
  isCurrentUser?: boolean | undefined;
1343
+ isInCall?: boolean | undefined;
1344
+ isSpeaking?: boolean | undefined;
1345
+ isMuted?: boolean | undefined;
1305
1346
  }>>;
1306
1347
  showStats: boolean;
1307
1348
  currentChartType: import("../element/types").ChartType;
@@ -1359,13 +1400,14 @@ export declare const actionCopyAsPng: {
1359
1400
  commitToHistory: false;
1360
1401
  }>;
1361
1402
  predicate: (elements: readonly import("../element/types").ExcalidrawElement[]) => boolean;
1362
- contextItemLabel: string;
1363
1403
  keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1404
+ keywords: string[];
1364
1405
  } & {
1365
1406
  keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1366
1407
  };
1367
1408
  export declare const copyText: {
1368
1409
  name: "copyText";
1410
+ label: string;
1369
1411
  trackEvent: {
1370
1412
  category: "element";
1371
1413
  };
@@ -1373,7 +1415,7 @@ export declare const copyText: {
1373
1415
  commitToHistory: false;
1374
1416
  };
1375
1417
  predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
1376
- contextItemLabel: string;
1418
+ keywords: string[];
1377
1419
  } & {
1378
1420
  keyTest?: undefined;
1379
1421
  };
@@ -3,6 +3,8 @@ import { AppState } from "../types";
3
3
  import { LinearElementEditor } from "../element/linearElementEditor";
4
4
  export declare const actionDeleteSelected: {
5
5
  name: "deleteSelectedElements";
6
+ label: string;
7
+ icon: import("react/jsx-runtime").JSX.Element;
6
8
  trackEvent: {
7
9
  category: "element";
8
10
  action: string;
@@ -89,6 +91,8 @@ export declare const actionDeleteSelected: {
89
91
  } | {
90
92
  name: "ttd";
91
93
  tab: "mermaid" | "text-to-diagram";
94
+ } | {
95
+ name: "commandPalette";
92
96
  } | null;
93
97
  defaultSidebarDockedPreference: boolean;
94
98
  lastPointerDownWith: import("../element/types").PointerType;
@@ -135,6 +139,9 @@ export declare const actionDeleteSelected: {
135
139
  id?: string | undefined;
136
140
  socketId?: import("../types").SocketId | undefined;
137
141
  isCurrentUser?: boolean | undefined;
142
+ isInCall?: boolean | undefined;
143
+ isSpeaking?: boolean | undefined;
144
+ isMuted?: boolean | undefined;
138
145
  }>>;
139
146
  showStats: boolean;
140
147
  currentChartType: import("../element/types").ChartType;
@@ -300,6 +307,8 @@ export declare const actionDeleteSelected: {
300
307
  } | {
301
308
  name: "ttd";
302
309
  tab: "mermaid" | "text-to-diagram";
310
+ } | {
311
+ name: "commandPalette";
303
312
  } | null;
304
313
  defaultSidebarDockedPreference: boolean;
305
314
  lastPointerDownWith: import("../element/types").PointerType;
@@ -346,6 +355,9 @@ export declare const actionDeleteSelected: {
346
355
  id?: string | undefined;
347
356
  socketId?: import("../types").SocketId | undefined;
348
357
  isCurrentUser?: boolean | undefined;
358
+ isInCall?: boolean | undefined;
359
+ isSpeaking?: boolean | undefined;
360
+ isMuted?: boolean | undefined;
349
361
  }>>;
350
362
  showStats: boolean;
351
363
  currentChartType: import("../element/types").ChartType;
@@ -482,6 +494,8 @@ export declare const actionDeleteSelected: {
482
494
  } | {
483
495
  name: "ttd";
484
496
  tab: "mermaid" | "text-to-diagram";
497
+ } | {
498
+ name: "commandPalette";
485
499
  } | null;
486
500
  defaultSidebarDockedPreference: boolean;
487
501
  lastPointerDownWith: import("../element/types").PointerType;
@@ -522,6 +536,9 @@ export declare const actionDeleteSelected: {
522
536
  id?: string | undefined;
523
537
  socketId?: import("../types").SocketId | undefined;
524
538
  isCurrentUser?: boolean | undefined;
539
+ isInCall?: boolean | undefined;
540
+ isSpeaking?: boolean | undefined;
541
+ isMuted?: boolean | undefined;
525
542
  }>>;
526
543
  showStats: boolean;
527
544
  currentChartType: import("../element/types").ChartType;
@@ -578,7 +595,6 @@ export declare const actionDeleteSelected: {
578
595
  };
579
596
  commitToHistory: boolean;
580
597
  };
581
- contextItemLabel: string;
582
598
  keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean;
583
599
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
584
600
  } & {
@@ -2,6 +2,7 @@ import { ExcalidrawElement } from "../element/types";
2
2
  import { AppClassProperties, AppState } from "../types";
3
3
  export declare const distributeHorizontally: {
4
4
  name: "distributeHorizontally";
5
+ label: string;
5
6
  trackEvent: {
6
7
  category: "element";
7
8
  };
@@ -17,6 +18,7 @@ export declare const distributeHorizontally: {
17
18
  };
18
19
  export declare const distributeVertically: {
19
20
  name: "distributeVertically";
21
+ label: string;
20
22
  trackEvent: {
21
23
  category: "element";
22
24
  };
@@ -2,6 +2,8 @@ import { ExcalidrawElement } from "../element/types";
2
2
  import { AppState } from "../types";
3
3
  export declare const actionDuplicateSelection: {
4
4
  name: "duplicateSelection";
5
+ label: string;
6
+ icon: import("react/jsx-runtime").JSX.Element;
5
7
  trackEvent: {
6
8
  category: "element";
7
9
  };
@@ -13,7 +15,6 @@ export declare const actionDuplicateSelection: {
13
15
  syncHistory?: boolean | undefined;
14
16
  replaceFiles?: boolean | undefined;
15
17
  };
16
- contextItemLabel: string;
17
18
  keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
18
19
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
19
20
  } & {
@@ -1,6 +1,8 @@
1
1
  import { ExcalidrawElement } from "../element/types";
2
2
  export declare const actionToggleElementLock: {
3
3
  name: "toggleElementLock";
4
+ label: (elements: readonly ExcalidrawElement[], appState: Readonly<import("../types").AppState>, app: import("../types").AppClassProperties) => "labels.elementLock.unlock" | "labels.elementLock.lock" | "labels.elementLock.lockAll" | "labels.elementLock.unlockAll";
5
+ icon: (appState: import("../types").UIAppState, elements: readonly ExcalidrawElement[]) => import("react/jsx-runtime").JSX.Element;
4
6
  trackEvent: {
5
7
  category: "element";
6
8
  };
@@ -88,6 +90,8 @@ export declare const actionToggleElementLock: {
88
90
  } | {
89
91
  name: "ttd";
90
92
  tab: "mermaid" | "text-to-diagram";
93
+ } | {
94
+ name: "commandPalette";
91
95
  } | null;
92
96
  defaultSidebarDockedPreference: boolean;
93
97
  lastPointerDownWith: import("../element/types").PointerType;
@@ -134,6 +138,9 @@ export declare const actionToggleElementLock: {
134
138
  id?: string | undefined;
135
139
  socketId?: import("../types").SocketId | undefined;
136
140
  isCurrentUser?: boolean | undefined;
141
+ isInCall?: boolean | undefined;
142
+ isSpeaking?: boolean | undefined;
143
+ isMuted?: boolean | undefined;
137
144
  }>>;
138
145
  showStats: boolean;
139
146
  currentChartType: import("../element/types").ChartType;
@@ -189,18 +196,19 @@ export declare const actionToggleElementLock: {
189
196
  };
190
197
  commitToHistory: true;
191
198
  };
192
- contextItemLabel: (elements: readonly ExcalidrawElement[], appState: Readonly<import("../types").AppState>, app: import("../types").AppClassProperties) => "labels.elementLock.unlock" | "labels.elementLock.lock" | "labels.elementLock.lockAll" | "labels.elementLock.unlockAll";
193
199
  keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent, appState: import("../types").AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean;
194
200
  } & {
195
201
  keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent, appState: import("../types").AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
196
202
  };
197
203
  export declare const actionUnlockAllElements: {
198
204
  name: "unlockAllElements";
205
+ paletteName: string;
199
206
  trackEvent: {
200
207
  category: "canvas";
201
208
  };
202
209
  viewMode: false;
203
- predicate: (elements: readonly ExcalidrawElement[]) => boolean;
210
+ icon: import("react/jsx-runtime").JSX.Element;
211
+ predicate: (elements: readonly ExcalidrawElement[], appState: import("../types").AppState) => boolean;
204
212
  perform: (elements: readonly ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
205
213
  elements: ExcalidrawElement[];
206
214
  appState: {
@@ -286,6 +294,8 @@ export declare const actionUnlockAllElements: {
286
294
  } | {
287
295
  name: "ttd";
288
296
  tab: "mermaid" | "text-to-diagram";
297
+ } | {
298
+ name: "commandPalette";
289
299
  } | null;
290
300
  defaultSidebarDockedPreference: boolean;
291
301
  lastPointerDownWith: import("../element/types").PointerType;
@@ -329,6 +339,9 @@ export declare const actionUnlockAllElements: {
329
339
  id?: string | undefined;
330
340
  socketId?: import("../types").SocketId | undefined;
331
341
  isCurrentUser?: boolean | undefined;
342
+ isInCall?: boolean | undefined;
343
+ isSpeaking?: boolean | undefined;
344
+ isMuted?: boolean | undefined;
332
345
  }>>;
333
346
  showStats: boolean;
334
347
  currentChartType: import("../element/types").ChartType;
@@ -385,7 +398,7 @@ export declare const actionUnlockAllElements: {
385
398
  };
386
399
  commitToHistory: true;
387
400
  };
388
- contextItemLabel: string;
401
+ label: string;
389
402
  } & {
390
403
  keyTest?: undefined;
391
404
  };
@@ -2,6 +2,7 @@ import { Theme } from "../element/types";
2
2
  import "../components/ToolIcon.scss";
3
3
  export declare const actionChangeProjectName: {
4
4
  name: "changeProjectName";
5
+ label: string;
5
6
  trackEvent: false;
6
7
  perform: (_elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
7
8
  appState: {
@@ -84,6 +85,8 @@ export declare const actionChangeProjectName: {
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 actionChangeProjectName: {
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 actionChangeProjectName: {
192
198
  };
193
199
  export declare const actionChangeExportScale: {
194
200
  name: "changeExportScale";
201
+ label: string;
195
202
  trackEvent: {
196
203
  category: "export";
197
204
  action: string;
@@ -277,6 +284,8 @@ export declare const actionChangeExportScale: {
277
284
  } | {
278
285
  name: "ttd";
279
286
  tab: "mermaid" | "text-to-diagram";
287
+ } | {
288
+ name: "commandPalette";
280
289
  } | null;
281
290
  defaultSidebarDockedPreference: boolean;
282
291
  lastPointerDownWith: import("../element/types").PointerType;
@@ -323,6 +332,9 @@ export declare const actionChangeExportScale: {
323
332
  id?: string | undefined;
324
333
  socketId?: import("../types").SocketId | undefined;
325
334
  isCurrentUser?: boolean | undefined;
335
+ isInCall?: boolean | undefined;
336
+ isSpeaking?: boolean | undefined;
337
+ isMuted?: boolean | undefined;
326
338
  }>>;
327
339
  showStats: boolean;
328
340
  currentChartType: import("../element/types").ChartType;
@@ -385,6 +397,7 @@ export declare const actionChangeExportScale: {
385
397
  };
386
398
  export declare const actionChangeExportBackground: {
387
399
  name: "changeExportBackground";
400
+ label: string;
388
401
  trackEvent: {
389
402
  category: "export";
390
403
  action: string;
@@ -470,6 +483,8 @@ export declare const actionChangeExportBackground: {
470
483
  } | {
471
484
  name: "ttd";
472
485
  tab: "mermaid" | "text-to-diagram";
486
+ } | {
487
+ name: "commandPalette";
473
488
  } | null;
474
489
  defaultSidebarDockedPreference: boolean;
475
490
  lastPointerDownWith: import("../element/types").PointerType;
@@ -516,6 +531,9 @@ export declare const actionChangeExportBackground: {
516
531
  id?: string | undefined;
517
532
  socketId?: import("../types").SocketId | undefined;
518
533
  isCurrentUser?: boolean | undefined;
534
+ isInCall?: boolean | undefined;
535
+ isSpeaking?: boolean | undefined;
536
+ isMuted?: boolean | undefined;
519
537
  }>>;
520
538
  showStats: boolean;
521
539
  currentChartType: import("../element/types").ChartType;
@@ -578,6 +596,7 @@ export declare const actionChangeExportBackground: {
578
596
  };
579
597
  export declare const actionChangeExportEmbedScene: {
580
598
  name: "changeExportEmbedScene";
599
+ label: string;
581
600
  trackEvent: {
582
601
  category: "export";
583
602
  action: string;
@@ -663,6 +682,8 @@ export declare const actionChangeExportEmbedScene: {
663
682
  } | {
664
683
  name: "ttd";
665
684
  tab: "mermaid" | "text-to-diagram";
685
+ } | {
686
+ name: "commandPalette";
666
687
  } | null;
667
688
  defaultSidebarDockedPreference: boolean;
668
689
  lastPointerDownWith: import("../element/types").PointerType;
@@ -709,6 +730,9 @@ export declare const actionChangeExportEmbedScene: {
709
730
  id?: string | undefined;
710
731
  socketId?: import("../types").SocketId | undefined;
711
732
  isCurrentUser?: boolean | undefined;
733
+ isInCall?: boolean | undefined;
734
+ isSpeaking?: boolean | undefined;
735
+ isMuted?: boolean | undefined;
712
736
  }>>;
713
737
  showStats: boolean;
714
738
  currentChartType: import("../element/types").ChartType;
@@ -771,6 +795,8 @@ export declare const actionChangeExportEmbedScene: {
771
795
  };
772
796
  export declare const actionSaveToActiveFile: {
773
797
  name: "saveToActiveFile";
798
+ label: string;
799
+ icon: import("react/jsx-runtime").JSX.Element;
774
800
  trackEvent: {
775
801
  category: "export";
776
802
  };
@@ -861,6 +887,8 @@ export declare const actionSaveToActiveFile: {
861
887
  } | {
862
888
  name: "ttd";
863
889
  tab: "mermaid" | "text-to-diagram";
890
+ } | {
891
+ name: "commandPalette";
864
892
  } | null;
865
893
  defaultSidebarDockedPreference: boolean;
866
894
  lastPointerDownWith: import("../element/types").PointerType;
@@ -901,6 +929,9 @@ export declare const actionSaveToActiveFile: {
901
929
  id?: string | undefined;
902
930
  socketId?: import("../types").SocketId | undefined;
903
931
  isCurrentUser?: boolean | undefined;
932
+ isInCall?: boolean | undefined;
933
+ isSpeaking?: boolean | undefined;
934
+ isMuted?: boolean | undefined;
904
935
  }>>;
905
936
  showStats: boolean;
906
937
  currentChartType: import("../element/types").ChartType;
@@ -965,6 +996,8 @@ export declare const actionSaveToActiveFile: {
965
996
  };
966
997
  export declare const actionSaveFileToDisk: {
967
998
  name: "saveFileToDisk";
999
+ label: string;
1000
+ icon: import("react/jsx-runtime").JSX.Element;
968
1001
  viewMode: true;
969
1002
  trackEvent: {
970
1003
  category: "export";
@@ -1086,6 +1119,9 @@ export declare const actionSaveFileToDisk: {
1086
1119
  id?: string | undefined;
1087
1120
  socketId?: import("../types").SocketId | undefined;
1088
1121
  isCurrentUser?: boolean | undefined;
1122
+ isInCall?: boolean | undefined;
1123
+ isSpeaking?: boolean | undefined;
1124
+ isMuted?: boolean | undefined;
1089
1125
  }>>;
1090
1126
  showStats: boolean;
1091
1127
  currentChartType: import("../element/types").ChartType;
@@ -1151,6 +1187,7 @@ export declare const actionSaveFileToDisk: {
1151
1187
  };
1152
1188
  export declare const actionLoadScene: {
1153
1189
  name: "loadScene";
1190
+ label: string;
1154
1191
  trackEvent: {
1155
1192
  category: "export";
1156
1193
  };
@@ -1237,6 +1274,8 @@ export declare const actionLoadScene: {
1237
1274
  } | {
1238
1275
  name: "ttd";
1239
1276
  tab: "mermaid" | "text-to-diagram";
1277
+ } | {
1278
+ name: "commandPalette";
1240
1279
  } | null;
1241
1280
  defaultSidebarDockedPreference: boolean;
1242
1281
  lastPointerDownWith: import("../element/types").PointerType;
@@ -1279,6 +1318,9 @@ export declare const actionLoadScene: {
1279
1318
  id?: string | undefined;
1280
1319
  socketId?: import("../types").SocketId | undefined;
1281
1320
  isCurrentUser?: boolean | undefined;
1321
+ isInCall?: boolean | undefined;
1322
+ isSpeaking?: boolean | undefined;
1323
+ isMuted?: boolean | undefined;
1282
1324
  }>>;
1283
1325
  showStats: boolean;
1284
1326
  currentChartType: import("../element/types").ChartType;
@@ -1417,6 +1459,8 @@ export declare const actionLoadScene: {
1417
1459
  } | {
1418
1460
  name: "ttd";
1419
1461
  tab: "mermaid" | "text-to-diagram";
1462
+ } | {
1463
+ name: "commandPalette";
1420
1464
  } | null;
1421
1465
  defaultSidebarDockedPreference: boolean;
1422
1466
  lastPointerDownWith: import("../element/types").PointerType;
@@ -1463,6 +1507,9 @@ export declare const actionLoadScene: {
1463
1507
  id?: string | undefined;
1464
1508
  socketId?: import("../types").SocketId | undefined;
1465
1509
  isCurrentUser?: boolean | undefined;
1510
+ isInCall?: boolean | undefined;
1511
+ isSpeaking?: boolean | undefined;
1512
+ isMuted?: boolean | undefined;
1466
1513
  }>>;
1467
1514
  showStats: boolean;
1468
1515
  currentChartType: import("../element/types").ChartType;
@@ -1526,6 +1573,7 @@ export declare const actionLoadScene: {
1526
1573
  };
1527
1574
  export declare const actionExportWithDarkMode: {
1528
1575
  name: "exportWithDarkMode";
1576
+ label: string;
1529
1577
  trackEvent: {
1530
1578
  category: "export";
1531
1579
  action: string;
@@ -1611,6 +1659,8 @@ export declare const actionExportWithDarkMode: {
1611
1659
  } | {
1612
1660
  name: "ttd";
1613
1661
  tab: "mermaid" | "text-to-diagram";
1662
+ } | {
1663
+ name: "commandPalette";
1614
1664
  } | null;
1615
1665
  defaultSidebarDockedPreference: boolean;
1616
1666
  lastPointerDownWith: import("../element/types").PointerType;
@@ -1657,6 +1707,9 @@ export declare const actionExportWithDarkMode: {
1657
1707
  id?: string | undefined;
1658
1708
  socketId?: import("../types").SocketId | undefined;
1659
1709
  isCurrentUser?: boolean | undefined;
1710
+ isInCall?: boolean | undefined;
1711
+ isSpeaking?: boolean | undefined;
1712
+ isMuted?: boolean | undefined;
1660
1713
  }>>;
1661
1714
  showStats: boolean;
1662
1715
  currentChartType: import("../element/types").ChartType;
@@ -2,6 +2,7 @@ import { LinearElementEditor } from "../element/linearElementEditor";
2
2
  import { AppState } from "../types";
3
3
  export declare const actionFinalize: {
4
4
  name: "finalize";
5
+ label: string;
5
6
  trackEvent: false;
6
7
  perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<AppState>, _: any, { interactiveCanvas, focusContainer, scene }: import("../types").AppClassProperties) => {
7
8
  elements: import("../element/types").ExcalidrawElement[] | undefined;
@@ -85,6 +86,8 @@ export declare const actionFinalize: {
85
86
  } | {
86
87
  name: "ttd";
87
88
  tab: "mermaid" | "text-to-diagram";
89
+ } | {
90
+ name: "commandPalette";
88
91
  } | null;
89
92
  defaultSidebarDockedPreference: boolean;
90
93
  lastPointerDownWith: import("../element/types").PointerType;
@@ -131,6 +134,9 @@ export declare const actionFinalize: {
131
134
  id?: string | undefined;
132
135
  socketId?: import("../types").SocketId | undefined;
133
136
  isCurrentUser?: boolean | undefined;
137
+ isInCall?: boolean | undefined;
138
+ isSpeaking?: boolean | undefined;
139
+ isMuted?: boolean | undefined;
134
140
  }>>;
135
141
  showStats: boolean;
136
142
  currentChartType: import("../element/types").ChartType;
@@ -270,6 +276,8 @@ export declare const actionFinalize: {
270
276
  } | {
271
277
  name: "ttd";
272
278
  tab: "mermaid" | "text-to-diagram";
279
+ } | {
280
+ name: "commandPalette";
273
281
  } | null;
274
282
  defaultSidebarDockedPreference: boolean;
275
283
  lastPointerDownWith: import("../element/types").PointerType;
@@ -313,6 +321,9 @@ export declare const actionFinalize: {
313
321
  id?: string | undefined;
314
322
  socketId?: import("../types").SocketId | undefined;
315
323
  isCurrentUser?: boolean | undefined;
324
+ isInCall?: boolean | undefined;
325
+ isSpeaking?: boolean | undefined;
326
+ isMuted?: boolean | undefined;
316
327
  }>>;
317
328
  showStats: boolean;
318
329
  currentChartType: import("../element/types").ChartType;