@zsviczian/excalidraw 0.16.1-obsidian-7 → 0.17.0-obsidian-1

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 (66) hide show
  1. package/dist/excalidraw.development.js +124 -80
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/excalidraw.production.min.js.LICENSE.txt +1 -1
  4. package/main.js +7 -1
  5. package/package.json +1 -1
  6. package/types/actions/actionAddToLibrary.d.ts +27 -6
  7. package/types/actions/actionBoundText.d.ts +18 -4
  8. package/types/actions/actionCanvas.d.ts +118 -27
  9. package/types/actions/actionClipboard.d.ts +362 -18
  10. package/types/actions/actionDeleteSelected.d.ts +27 -6
  11. package/types/actions/actionElementLock.d.ts +18 -4
  12. package/types/actions/actionExport.d.ts +81 -18
  13. package/types/actions/actionFinalize.d.ts +18 -4
  14. package/types/actions/actionFrame.d.ts +27 -6
  15. package/types/actions/actionGroup.d.ts +21 -7
  16. package/types/actions/actionLinearEditor.d.ts +9 -2
  17. package/types/actions/actionMenu.d.ts +26 -19
  18. package/types/actions/actionProperties.d.ts +117 -26
  19. package/types/actions/actionSelectAll.d.ts +9 -2
  20. package/types/actions/actionStyles.d.ts +9 -2
  21. package/types/actions/actionToggleGridMode.d.ts +9 -2
  22. package/types/actions/actionToggleObjectsSnapMode.d.ts +9 -2
  23. package/types/actions/actionToggleStats.d.ts +9 -2
  24. package/types/actions/actionToggleViewMode.d.ts +9 -2
  25. package/types/actions/actionToggleZenMode.d.ts +9 -2
  26. package/types/actions/actionZindex.d.ts +2 -2
  27. package/types/actions/index.d.ts +1 -1
  28. package/types/actions/manager.d.ts +1 -1
  29. package/types/appState.d.ts +1 -1
  30. package/types/clipboard.d.ts +21 -3
  31. package/types/components/Actions.d.ts +3 -2
  32. package/types/components/App.d.ts +20 -12
  33. package/types/components/ContextMenu.d.ts +2 -1
  34. package/types/components/ImageExportDialog.d.ts +1 -1
  35. package/types/components/LayerUI.d.ts +1 -1
  36. package/types/components/MermaidToExcalidraw.d.ts +1 -1
  37. package/types/components/MobileMenu.d.ts +4 -3
  38. package/types/components/Modal.d.ts +3 -1
  39. package/types/constants.d.ts +7 -1
  40. package/types/data/index.d.ts +10 -2
  41. package/types/data/transform.d.ts +7 -3
  42. package/types/element/Hyperlink.d.ts +10 -3
  43. package/types/element/bounds.d.ts +11 -5
  44. package/types/element/embeddable.d.ts +10 -3
  45. package/types/element/linearElementEditor.d.ts +11 -3
  46. package/types/element/newElement.d.ts +3 -1
  47. package/types/element/resizeTest.d.ts +2 -1
  48. package/types/element/transformHandles.d.ts +2 -1
  49. package/types/element/typeChecks.d.ts +1 -1
  50. package/types/element/types.d.ts +1 -0
  51. package/types/errors.d.ts +5 -0
  52. package/types/frame.d.ts +12 -1
  53. package/types/hooks/useCreatePortalContainer.d.ts +6 -4
  54. package/types/math.d.ts +1 -0
  55. package/types/packages/bbox.d.ts +11 -0
  56. package/types/packages/excalidraw/index.d.ts +4 -3
  57. package/types/packages/excalidraw/webpack.preact.config.d.ts +170 -0
  58. package/types/packages/utils.d.ts +6 -3
  59. package/types/packages/withinBounds.d.ts +19 -0
  60. package/types/renderer/renderElement.d.ts +6 -1
  61. package/types/renderer/renderScene.d.ts +10 -5
  62. package/types/scene/Scene.d.ts +7 -2
  63. package/types/scene/export.d.ts +6 -6
  64. package/types/types.d.ts +29 -18
  65. package/types/utils.d.ts +8 -1
  66. package/types/zindex.d.ts +4 -4
@@ -3,10 +3,165 @@ export declare const actionCopy: {
3
3
  trackEvent: {
4
4
  category: "element";
5
5
  };
6
- perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => {
6
+ perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, event: ClipboardEvent | null, app: import("../types").AppClassProperties) => Promise<{
7
7
  commitToHistory: false;
8
- };
9
- predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => true;
8
+ appState: {
9
+ errorMessage: any;
10
+ contextMenu: {
11
+ items: import("../components/ContextMenu").ContextMenuItems;
12
+ top: number;
13
+ left: number;
14
+ } | null;
15
+ showWelcomeScreen: boolean;
16
+ isLoading: boolean;
17
+ activeEmbeddable: {
18
+ element: import("../element/types").NonDeletedExcalidrawElement;
19
+ state: "active" | "hover";
20
+ } | null;
21
+ draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
22
+ resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
23
+ multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
24
+ selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
25
+ isBindingEnabled: boolean;
26
+ startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
27
+ suggestedBindings: import("../element/binding").SuggestedBinding[];
28
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
29
+ frameRendering: {
30
+ enabled: boolean;
31
+ name: boolean;
32
+ outline: boolean;
33
+ clip: boolean;
34
+ };
35
+ editingFrame: string | null;
36
+ elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
37
+ editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
38
+ editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
39
+ activeTool: {
40
+ lastActiveTool: import("../types").ActiveTool | null;
41
+ locked: boolean;
42
+ } & import("../types").ActiveTool;
43
+ penMode: boolean;
44
+ penDetected: boolean;
45
+ exportBackground: boolean;
46
+ exportEmbedScene: boolean;
47
+ exportWithDarkMode: boolean;
48
+ exportScale: number;
49
+ currentItemStrokeColor: string;
50
+ currentItemBackgroundColor: string;
51
+ currentItemFillStyle: import("../element/types").FillStyle;
52
+ currentItemStrokeWidth: number;
53
+ currentItemStrokeStyle: import("../element/types").StrokeStyle;
54
+ currentItemRoughness: number;
55
+ currentItemOpacity: number;
56
+ currentItemFontFamily: number;
57
+ currentItemFontSize: number;
58
+ currentItemTextAlign: string;
59
+ currentItemStartArrowhead: import("../element/types").Arrowhead | null;
60
+ currentItemEndArrowhead: import("../element/types").Arrowhead | null;
61
+ currentItemRoundness: import("../element/types").StrokeRoundness;
62
+ viewBackgroundColor: string;
63
+ scrollX: number;
64
+ scrollY: number;
65
+ cursorButton: "up" | "down";
66
+ scrolledOutside: boolean;
67
+ name: string;
68
+ isResizing: boolean;
69
+ isRotating: boolean;
70
+ zoom: Readonly<{
71
+ value: import("../types").NormalizedZoomValue;
72
+ }>;
73
+ openMenu: "canvas" | "shape" | null;
74
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
75
+ openSidebar: {
76
+ name: string;
77
+ tab?: string | undefined;
78
+ } | null;
79
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
80
+ defaultSidebarDockedPreference: boolean;
81
+ lastPointerDownWith: import("../element/types").PointerType;
82
+ selectedElementIds: Readonly<{
83
+ [id: string]: true;
84
+ }>;
85
+ previousSelectedElementIds: {
86
+ [id: string]: true;
87
+ };
88
+ selectedElementsAreBeingDragged: boolean;
89
+ shouldCacheIgnoreZoom: boolean;
90
+ toast: {
91
+ message: string;
92
+ closable?: boolean | undefined;
93
+ duration?: number | undefined;
94
+ } | null;
95
+ zenModeEnabled: boolean;
96
+ theme: import("../element/types").Theme;
97
+ gridSize: number | null;
98
+ previousGridSize: number | null;
99
+ viewModeEnabled: boolean;
100
+ selectedGroupIds: {
101
+ [groupId: string]: boolean;
102
+ };
103
+ editingGroupId: string | null;
104
+ width: number;
105
+ height: number;
106
+ offsetTop: number;
107
+ offsetLeft: number;
108
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
109
+ collaborators: Map<string, import("../types").Collaborator>;
110
+ showStats: boolean;
111
+ currentChartType: import("../element/types").ChartType;
112
+ pasteDialog: {
113
+ shown: false;
114
+ data: null;
115
+ } | {
116
+ shown: true;
117
+ data: import("../charts").Spreadsheet;
118
+ };
119
+ pendingImageElementId: string | null;
120
+ showHyperlinkPopup: false | "editor" | "info";
121
+ linkOpacity: number;
122
+ trayModeEnabled: boolean;
123
+ colorPalette?: {
124
+ canvasBackground: import("../colors").ColorPaletteCustom;
125
+ elementBackground: import("../colors").ColorPaletteCustom;
126
+ elementStroke: import("../colors").ColorPaletteCustom;
127
+ topPicks: {
128
+ canvasBackground: [string, string, string, string, string];
129
+ elementStroke: [string, string, string, string, string];
130
+ elementBackground: [string, string, string, string, string];
131
+ };
132
+ } | undefined;
133
+ allowWheelZoom?: boolean | undefined;
134
+ allowPinchZoom?: boolean | undefined;
135
+ pinnedScripts?: string[] | undefined;
136
+ customPens?: any[] | undefined;
137
+ currentStrokeOptions?: any;
138
+ resetCustomPen?: any;
139
+ gridColor: {
140
+ Bold: string;
141
+ Regular: string;
142
+ MajorGridFrequency?: number | undefined;
143
+ };
144
+ dynamicStyle: {
145
+ [x: string]: string;
146
+ };
147
+ frameColor: {
148
+ stroke: string;
149
+ fill: string;
150
+ nameColor: string;
151
+ };
152
+ invertBindingBehaviour: boolean;
153
+ selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
154
+ snapLines: readonly import("../snapping").SnapLine[];
155
+ originSnapOffset: {
156
+ x: number;
157
+ y: number;
158
+ } | null;
159
+ objectsSnapModeEnabled: boolean;
160
+ };
161
+ } | {
162
+ commitToHistory: false;
163
+ appState?: undefined;
164
+ }>;
10
165
  contextItemLabel: string;
11
166
  keyTest: undefined;
12
167
  } & {
@@ -17,10 +172,165 @@ export declare const actionPaste: {
17
172
  trackEvent: {
18
173
  category: "element";
19
174
  };
20
- perform: (elements: any, appStates: any, data: any, app: import("../types").AppClassProperties) => {
175
+ perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, data: any, app: import("../types").AppClassProperties) => Promise<false | {
21
176
  commitToHistory: false;
22
- };
23
- predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => true;
177
+ appState: {
178
+ errorMessage: string;
179
+ contextMenu: {
180
+ items: import("../components/ContextMenu").ContextMenuItems;
181
+ top: number;
182
+ left: number;
183
+ } | null;
184
+ showWelcomeScreen: boolean;
185
+ isLoading: boolean;
186
+ activeEmbeddable: {
187
+ element: import("../element/types").NonDeletedExcalidrawElement;
188
+ state: "active" | "hover";
189
+ } | null;
190
+ draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
191
+ resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
192
+ multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
193
+ selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
194
+ isBindingEnabled: boolean;
195
+ startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
196
+ suggestedBindings: import("../element/binding").SuggestedBinding[];
197
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
198
+ frameRendering: {
199
+ enabled: boolean;
200
+ name: boolean;
201
+ outline: boolean;
202
+ clip: boolean;
203
+ };
204
+ editingFrame: string | null;
205
+ elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
206
+ editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
207
+ editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
208
+ activeTool: {
209
+ lastActiveTool: import("../types").ActiveTool | null;
210
+ locked: boolean;
211
+ } & import("../types").ActiveTool;
212
+ penMode: boolean;
213
+ penDetected: boolean;
214
+ exportBackground: boolean;
215
+ exportEmbedScene: boolean;
216
+ exportWithDarkMode: boolean;
217
+ exportScale: number;
218
+ currentItemStrokeColor: string;
219
+ currentItemBackgroundColor: string;
220
+ currentItemFillStyle: import("../element/types").FillStyle;
221
+ currentItemStrokeWidth: number;
222
+ currentItemStrokeStyle: import("../element/types").StrokeStyle;
223
+ currentItemRoughness: number;
224
+ currentItemOpacity: number;
225
+ currentItemFontFamily: number;
226
+ currentItemFontSize: number;
227
+ currentItemTextAlign: string;
228
+ currentItemStartArrowhead: import("../element/types").Arrowhead | null;
229
+ currentItemEndArrowhead: import("../element/types").Arrowhead | null;
230
+ currentItemRoundness: import("../element/types").StrokeRoundness;
231
+ viewBackgroundColor: string;
232
+ scrollX: number;
233
+ scrollY: number;
234
+ cursorButton: "up" | "down";
235
+ scrolledOutside: boolean;
236
+ name: string;
237
+ isResizing: boolean;
238
+ isRotating: boolean;
239
+ zoom: Readonly<{
240
+ value: import("../types").NormalizedZoomValue;
241
+ }>;
242
+ openMenu: "canvas" | "shape" | null;
243
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
244
+ openSidebar: {
245
+ name: string;
246
+ tab?: string | undefined;
247
+ } | null;
248
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
249
+ defaultSidebarDockedPreference: boolean;
250
+ lastPointerDownWith: import("../element/types").PointerType;
251
+ selectedElementIds: Readonly<{
252
+ [id: string]: true;
253
+ }>;
254
+ previousSelectedElementIds: {
255
+ [id: string]: true;
256
+ };
257
+ selectedElementsAreBeingDragged: boolean;
258
+ shouldCacheIgnoreZoom: boolean;
259
+ toast: {
260
+ message: string;
261
+ closable?: boolean | undefined;
262
+ duration?: number | undefined;
263
+ } | null;
264
+ zenModeEnabled: boolean;
265
+ theme: import("../element/types").Theme;
266
+ gridSize: number | null;
267
+ previousGridSize: number | null;
268
+ viewModeEnabled: boolean;
269
+ selectedGroupIds: {
270
+ [groupId: string]: boolean;
271
+ };
272
+ editingGroupId: string | null;
273
+ width: number;
274
+ height: number;
275
+ offsetTop: number;
276
+ offsetLeft: number;
277
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
278
+ collaborators: Map<string, import("../types").Collaborator>;
279
+ showStats: boolean;
280
+ currentChartType: import("../element/types").ChartType;
281
+ pasteDialog: {
282
+ shown: false;
283
+ data: null;
284
+ } | {
285
+ shown: true;
286
+ data: import("../charts").Spreadsheet;
287
+ };
288
+ pendingImageElementId: string | null;
289
+ showHyperlinkPopup: false | "editor" | "info";
290
+ linkOpacity: number;
291
+ trayModeEnabled: boolean;
292
+ colorPalette?: {
293
+ canvasBackground: import("../colors").ColorPaletteCustom;
294
+ elementBackground: import("../colors").ColorPaletteCustom;
295
+ elementStroke: import("../colors").ColorPaletteCustom;
296
+ topPicks: {
297
+ canvasBackground: [string, string, string, string, string];
298
+ elementStroke: [string, string, string, string, string];
299
+ elementBackground: [string, string, string, string, string];
300
+ };
301
+ } | undefined;
302
+ allowWheelZoom?: boolean | undefined;
303
+ allowPinchZoom?: boolean | undefined;
304
+ pinnedScripts?: string[] | undefined;
305
+ customPens?: any[] | undefined;
306
+ currentStrokeOptions?: any;
307
+ resetCustomPen?: any;
308
+ gridColor: {
309
+ Bold: string;
310
+ Regular: string;
311
+ MajorGridFrequency?: number | undefined;
312
+ };
313
+ dynamicStyle: {
314
+ [x: string]: string;
315
+ };
316
+ frameColor: {
317
+ stroke: string;
318
+ fill: string;
319
+ nameColor: string;
320
+ };
321
+ invertBindingBehaviour: boolean;
322
+ selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
323
+ snapLines: readonly import("../snapping").SnapLine[];
324
+ originSnapOffset: {
325
+ x: number;
326
+ y: number;
327
+ } | null;
328
+ objectsSnapModeEnabled: boolean;
329
+ };
330
+ } | {
331
+ commitToHistory: false;
332
+ appState?: undefined;
333
+ }>;
24
334
  contextItemLabel: string;
25
335
  keyTest: undefined;
26
336
  } & {
@@ -31,7 +341,7 @@ export declare const actionCut: {
31
341
  trackEvent: {
32
342
  category: "element";
33
343
  };
34
- perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, data: any, app: import("../types").AppClassProperties) => false | {
344
+ perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, event: ClipboardEvent | null, app: import("../types").AppClassProperties) => false | {
35
345
  elements: import("../element/types").ExcalidrawElement[];
36
346
  appState: {
37
347
  editingLinearElement: null;
@@ -104,7 +414,7 @@ export declare const actionCut: {
104
414
  name: string;
105
415
  tab?: string | undefined;
106
416
  } | null;
107
- openDialog: "imageExport" | "help" | "jsonExport" | null;
417
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
108
418
  defaultSidebarDockedPreference: boolean;
109
419
  lastPointerDownWith: import("../element/types").PointerType;
110
420
  selectedElementIds: Readonly<{
@@ -169,7 +479,14 @@ export declare const actionCut: {
169
479
  Regular: string;
170
480
  MajorGridFrequency?: number | undefined;
171
481
  };
172
- dynamicStyle: string;
482
+ dynamicStyle: {
483
+ [x: string]: string;
484
+ };
485
+ frameColor: {
486
+ stroke: string;
487
+ fill: string;
488
+ nameColor: string;
489
+ };
173
490
  invertBindingBehaviour: boolean;
174
491
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
175
492
  snapLines: readonly import("../snapping").SnapLine[];
@@ -281,7 +598,7 @@ export declare const actionCut: {
281
598
  name: string;
282
599
  tab?: string | undefined;
283
600
  } | null;
284
- openDialog: "imageExport" | "help" | "jsonExport" | null;
601
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
285
602
  defaultSidebarDockedPreference: boolean;
286
603
  lastPointerDownWith: import("../element/types").PointerType;
287
604
  selectedElementIds: Readonly<{
@@ -346,7 +663,14 @@ export declare const actionCut: {
346
663
  Regular: string;
347
664
  MajorGridFrequency?: number | undefined;
348
665
  };
349
- dynamicStyle: string;
666
+ dynamicStyle: {
667
+ [x: string]: string;
668
+ };
669
+ frameColor: {
670
+ stroke: string;
671
+ fill: string;
672
+ nameColor: string;
673
+ };
350
674
  invertBindingBehaviour: boolean;
351
675
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
352
676
  snapLines: readonly import("../snapping").SnapLine[];
@@ -429,7 +753,7 @@ export declare const actionCut: {
429
753
  name: string;
430
754
  tab?: string | undefined;
431
755
  } | null;
432
- openDialog: "imageExport" | "help" | "jsonExport" | null;
756
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
433
757
  defaultSidebarDockedPreference: boolean;
434
758
  lastPointerDownWith: import("../element/types").PointerType;
435
759
  previousSelectedElementIds: {
@@ -488,7 +812,14 @@ export declare const actionCut: {
488
812
  Regular: string;
489
813
  MajorGridFrequency?: number | undefined;
490
814
  };
491
- dynamicStyle: string;
815
+ dynamicStyle: {
816
+ [x: string]: string;
817
+ };
818
+ frameColor: {
819
+ stroke: string;
820
+ fill: string;
821
+ nameColor: string;
822
+ };
492
823
  invertBindingBehaviour: boolean;
493
824
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
494
825
  snapLines: readonly import("../snapping").SnapLine[];
@@ -500,7 +831,6 @@ export declare const actionCut: {
500
831
  };
501
832
  commitToHistory: boolean;
502
833
  };
503
- predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
504
834
  contextItemLabel: string;
505
835
  keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
506
836
  } & {
@@ -586,7 +916,7 @@ export declare const actionCopyAsSvg: {
586
916
  name: string;
587
917
  tab?: string | undefined;
588
918
  } | null;
589
- openDialog: "imageExport" | "help" | "jsonExport" | null;
919
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
590
920
  defaultSidebarDockedPreference: boolean;
591
921
  lastPointerDownWith: import("../element/types").PointerType;
592
922
  selectedElementIds: Readonly<{
@@ -651,7 +981,14 @@ export declare const actionCopyAsSvg: {
651
981
  Regular: string;
652
982
  MajorGridFrequency?: number | undefined;
653
983
  };
654
- dynamicStyle: string;
984
+ dynamicStyle: {
985
+ [x: string]: string;
986
+ };
987
+ frameColor: {
988
+ stroke: string;
989
+ fill: string;
990
+ nameColor: string;
991
+ };
655
992
  invertBindingBehaviour: boolean;
656
993
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
657
994
  snapLines: readonly import("../snapping").SnapLine[];
@@ -748,7 +1085,7 @@ export declare const actionCopyAsPng: {
748
1085
  name: string;
749
1086
  tab?: string | undefined;
750
1087
  } | null;
751
- openDialog: "imageExport" | "help" | "jsonExport" | null;
1088
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
752
1089
  defaultSidebarDockedPreference: boolean;
753
1090
  lastPointerDownWith: import("../element/types").PointerType;
754
1091
  selectedElementIds: Readonly<{
@@ -813,7 +1150,14 @@ export declare const actionCopyAsPng: {
813
1150
  Regular: string;
814
1151
  MajorGridFrequency?: number | undefined;
815
1152
  };
816
- dynamicStyle: string;
1153
+ dynamicStyle: {
1154
+ [x: string]: string;
1155
+ };
1156
+ frameColor: {
1157
+ stroke: string;
1158
+ fill: string;
1159
+ nameColor: string;
1160
+ };
817
1161
  invertBindingBehaviour: boolean;
818
1162
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
819
1163
  snapLines: readonly import("../snapping").SnapLine[];
@@ -80,7 +80,7 @@ export declare const actionDeleteSelected: {
80
80
  name: string;
81
81
  tab?: string | undefined;
82
82
  } | null;
83
- openDialog: "imageExport" | "help" | "jsonExport" | null;
83
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
84
84
  defaultSidebarDockedPreference: boolean;
85
85
  lastPointerDownWith: import("../element/types").PointerType;
86
86
  selectedElementIds: Readonly<{
@@ -145,7 +145,14 @@ export declare const actionDeleteSelected: {
145
145
  Regular: string;
146
146
  MajorGridFrequency?: number | undefined;
147
147
  };
148
- dynamicStyle: string;
148
+ dynamicStyle: {
149
+ [x: string]: string;
150
+ };
151
+ frameColor: {
152
+ stroke: string;
153
+ fill: string;
154
+ nameColor: string;
155
+ };
149
156
  invertBindingBehaviour: boolean;
150
157
  selectedLinearElement: LinearElementEditor | null;
151
158
  snapLines: readonly import("../snapping").SnapLine[];
@@ -257,7 +264,7 @@ export declare const actionDeleteSelected: {
257
264
  name: string;
258
265
  tab?: string | undefined;
259
266
  } | null;
260
- openDialog: "imageExport" | "help" | "jsonExport" | null;
267
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
261
268
  defaultSidebarDockedPreference: boolean;
262
269
  lastPointerDownWith: import("../element/types").PointerType;
263
270
  selectedElementIds: Readonly<{
@@ -322,7 +329,14 @@ export declare const actionDeleteSelected: {
322
329
  Regular: string;
323
330
  MajorGridFrequency?: number | undefined;
324
331
  };
325
- dynamicStyle: string;
332
+ dynamicStyle: {
333
+ [x: string]: string;
334
+ };
335
+ frameColor: {
336
+ stroke: string;
337
+ fill: string;
338
+ nameColor: string;
339
+ };
326
340
  invertBindingBehaviour: boolean;
327
341
  selectedLinearElement: LinearElementEditor | null;
328
342
  snapLines: readonly import("../snapping").SnapLine[];
@@ -405,7 +419,7 @@ export declare const actionDeleteSelected: {
405
419
  name: string;
406
420
  tab?: string | undefined;
407
421
  } | null;
408
- openDialog: "imageExport" | "help" | "jsonExport" | null;
422
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
409
423
  defaultSidebarDockedPreference: boolean;
410
424
  lastPointerDownWith: import("../element/types").PointerType;
411
425
  previousSelectedElementIds: {
@@ -464,7 +478,14 @@ export declare const actionDeleteSelected: {
464
478
  Regular: string;
465
479
  MajorGridFrequency?: number | undefined;
466
480
  };
467
- dynamicStyle: string;
481
+ dynamicStyle: {
482
+ [x: string]: string;
483
+ };
484
+ frameColor: {
485
+ stroke: string;
486
+ fill: string;
487
+ nameColor: string;
488
+ };
468
489
  invertBindingBehaviour: boolean;
469
490
  selectedLinearElement: LinearElementEditor | null;
470
491
  snapLines: readonly import("../snapping").SnapLine[];
@@ -79,7 +79,7 @@ export declare const actionToggleElementLock: {
79
79
  name: string;
80
80
  tab?: string | undefined;
81
81
  } | null;
82
- openDialog: "imageExport" | "help" | "jsonExport" | null;
82
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
83
83
  defaultSidebarDockedPreference: boolean;
84
84
  lastPointerDownWith: import("../element/types").PointerType;
85
85
  selectedElementIds: Readonly<{
@@ -144,7 +144,14 @@ export declare const actionToggleElementLock: {
144
144
  Regular: string;
145
145
  MajorGridFrequency?: number | undefined;
146
146
  };
147
- dynamicStyle: string;
147
+ dynamicStyle: {
148
+ [x: string]: string;
149
+ };
150
+ frameColor: {
151
+ stroke: string;
152
+ fill: string;
153
+ nameColor: string;
154
+ };
148
155
  invertBindingBehaviour: boolean;
149
156
  snapLines: readonly import("../snapping").SnapLine[];
150
157
  originSnapOffset: {
@@ -243,7 +250,7 @@ export declare const actionUnlockAllElements: {
243
250
  name: string;
244
251
  tab?: string | undefined;
245
252
  } | null;
246
- openDialog: "imageExport" | "help" | "jsonExport" | null;
253
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
247
254
  defaultSidebarDockedPreference: boolean;
248
255
  lastPointerDownWith: import("../element/types").PointerType;
249
256
  previousSelectedElementIds: {
@@ -305,7 +312,14 @@ export declare const actionUnlockAllElements: {
305
312
  Regular: string;
306
313
  MajorGridFrequency?: number | undefined;
307
314
  };
308
- dynamicStyle: string;
315
+ dynamicStyle: {
316
+ [x: string]: string;
317
+ };
318
+ frameColor: {
319
+ stroke: string;
320
+ fill: string;
321
+ nameColor: string;
322
+ };
309
323
  invertBindingBehaviour: boolean;
310
324
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
311
325
  snapLines: readonly import("../snapping").SnapLine[];