@excalidraw/excalidraw 0.15.2-6546-3398d86 → 0.15.2-6920-554913c

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 (75) hide show
  1. package/dist/excalidraw-assets/locales/{hi-IN-json-3898c9c1216b44476529.js → hi-IN-json-e22f4ad73126c2971850.js} +1 -1
  2. package/dist/excalidraw-assets/locales/{id-ID-json-43d505d7071a0e359681.js → id-ID-json-0e69caf5d919807ed234.js} +1 -1
  3. package/dist/excalidraw-assets/locales/{kk-KZ-json-f648362328b839e9313f.js → kk-KZ-json-106d2a41c68f69765668.js} +1 -1
  4. package/dist/excalidraw-assets/locales/sv-SE-json-efd822b4ee2770a3b369.js +1 -0
  5. package/dist/excalidraw-assets/locales/uk-UA-json-bbfc556c0ea7b939c13a.js +1 -0
  6. package/dist/excalidraw-assets/vendor-114c868489837257394a.js +2 -0
  7. package/dist/excalidraw-assets/vendor-114c868489837257394a.js.LICENSE.txt +22 -0
  8. package/dist/excalidraw-assets-dev/vendor-d615cecc8dc2cc9eb25f.js +3959 -0
  9. package/dist/excalidraw.development.js +7689 -237
  10. package/dist/excalidraw.production.min.js +1 -1
  11. package/dist/excalidraw.production.min.js.LICENSE.txt +10 -0
  12. package/package.json +1 -1
  13. package/types/actions/actionAddToLibrary.d.ts +3 -3
  14. package/types/actions/actionBoundText.d.ts +2 -2
  15. package/types/actions/actionCanvas.d.ts +11 -11
  16. package/types/actions/actionClipboard.d.ts +5 -5
  17. package/types/actions/actionDeleteSelected.d.ts +3 -3
  18. package/types/actions/actionElementLock.d.ts +2 -2
  19. package/types/actions/actionExport.d.ts +9 -9
  20. package/types/actions/actionFinalize.d.ts +3 -3
  21. package/types/actions/actionFrame.d.ts +3 -3
  22. package/types/actions/actionGroup.d.ts +241 -3
  23. package/types/actions/actionLinearEditor.d.ts +1 -1
  24. package/types/actions/actionMenu.d.ts +3 -3
  25. package/types/actions/actionProperties.d.ts +13 -13
  26. package/types/actions/actionSelectAll.d.ts +121 -1
  27. package/types/actions/actionStyles.d.ts +1 -1
  28. package/types/actions/actionToggleGridMode.d.ts +1 -1
  29. package/types/actions/actionToggleStats.d.ts +1 -1
  30. package/types/actions/actionToggleViewMode.d.ts +1 -1
  31. package/types/actions/actionToggleZenMode.d.ts +1 -1
  32. package/types/appState.d.ts +1 -1
  33. package/types/components/Actions.d.ts +2 -2
  34. package/types/components/App.d.ts +8 -6
  35. package/types/components/JSONExportDialog.d.ts +1 -1
  36. package/types/components/LayerUI.d.ts +3 -2
  37. package/types/components/MermaidToExcalidraw.d.ts +8 -0
  38. package/types/components/MobileMenu.d.ts +2 -2
  39. package/types/components/canvases/InteractiveCanvas.d.ts +26 -0
  40. package/types/components/canvases/StaticCanvas.d.ts +18 -0
  41. package/types/components/canvases/index.d.ts +3 -0
  42. package/types/element/Hyperlink.d.ts +2 -2
  43. package/types/element/embeddable.d.ts +1 -1
  44. package/types/element/linearElementEditor.d.ts +5 -5
  45. package/types/element/sizeHelpers.d.ts +8 -1
  46. package/types/element/textWysiwyg.d.ts +1 -1
  47. package/types/element/transformHandles.d.ts +2 -2
  48. package/types/frame.d.ts +3 -3
  49. package/types/groups.d.ts +10 -11
  50. package/types/packages/excalidraw/webpack.dev.config.d.ts +11 -0
  51. package/types/packages/excalidraw/webpack.prod.config.d.ts +11 -0
  52. package/types/renderer/renderElement.d.ts +9 -21
  53. package/types/renderer/renderScene.d.ts +16 -36
  54. package/types/scene/Renderer.d.ts +25 -0
  55. package/types/scene/Scene.d.ts +2 -0
  56. package/types/scene/Shape.d.ts +12 -0
  57. package/types/scene/ShapeCache.d.ts +20 -0
  58. package/types/scene/scroll.d.ts +1 -1
  59. package/types/scene/scrollbars.d.ts +2 -6
  60. package/types/scene/selection.d.ts +2 -2
  61. package/types/scene/types.d.ts +57 -24
  62. package/types/types.d.ts +48 -5
  63. package/types/utils.d.ts +12 -5
  64. package/dist/excalidraw-assets/locales/sv-SE-json-84a855efd030e37f51ab.js +0 -1
  65. package/dist/excalidraw-assets/locales/uk-UA-json-a48bb2e866a11d396a35.js +0 -1
  66. package/dist/excalidraw-assets/vendor-ef3c5d81a00ef582b871.js +0 -2
  67. package/dist/excalidraw-assets/vendor-ef3c5d81a00ef582b871.js.LICENSE.txt +0 -12
  68. package/dist/excalidraw-assets-dev/vendor-a14cd58fa2db417e42b2.js +0 -98
  69. /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-3898c9c1216b44476529.d.ts → hi-IN-json-e22f4ad73126c2971850.d.ts} +0 -0
  70. /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-43d505d7071a0e359681.d.ts → id-ID-json-0e69caf5d919807ed234.d.ts} +0 -0
  71. /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kk-KZ-json-f648362328b839e9313f.d.ts → kk-KZ-json-106d2a41c68f69765668.d.ts} +0 -0
  72. /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sv-SE-json-84a855efd030e37f51ab.d.ts → sv-SE-json-efd822b4ee2770a3b369.d.ts} +0 -0
  73. /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{uk-UA-json-a48bb2e866a11d396a35.d.ts → uk-UA-json-bbfc556c0ea7b939c13a.d.ts} +0 -0
  74. /package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-ef3c5d81a00ef582b871.d.ts → vendor-114c868489837257394a.d.ts} +0 -0
  75. /package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-a14cd58fa2db417e42b2.d.ts → vendor-d615cecc8dc2cc9eb25f.d.ts} +0 -0
@@ -4,6 +4,16 @@ object-assign
4
4
  @license MIT
5
5
  */
6
6
 
7
+ /*!
8
+ * Wait for document loaded before starting the execution
9
+ */
10
+
11
+ /*! @license DOMPurify 3.0.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.3/LICENSE */
12
+
13
+ /*! Check if previously processed */
14
+
15
+ /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
16
+
7
17
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
8
18
 
9
19
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@excalidraw/excalidraw",
3
- "version": "0.15.2-6546-3398d86",
3
+ "version": "0.15.2-6920-554913c",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -43,7 +43,7 @@ export declare const actionAddToLibrary: {
43
43
  lastActiveTool: import("../types").LastActiveTool;
44
44
  locked: boolean;
45
45
  } & ({
46
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
46
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
47
47
  customType: null;
48
48
  } | {
49
49
  type: "custom";
@@ -160,7 +160,7 @@ export declare const actionAddToLibrary: {
160
160
  lastActiveTool: import("../types").LastActiveTool;
161
161
  locked: boolean;
162
162
  } & ({
163
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
163
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
164
164
  customType: null;
165
165
  } | {
166
166
  type: "custom";
@@ -282,7 +282,7 @@ export declare const actionAddToLibrary: {
282
282
  lastActiveTool: import("../types").LastActiveTool;
283
283
  locked: boolean;
284
284
  } & ({
285
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
285
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
286
286
  customType: null;
287
287
  } | {
288
288
  type: "custom";
@@ -63,7 +63,7 @@ export declare const actionBindText: {
63
63
  lastActiveTool: import("../types").LastActiveTool;
64
64
  locked: boolean;
65
65
  } & ({
66
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
66
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
67
67
  customType: null;
68
68
  } | {
69
69
  type: "custom";
@@ -197,7 +197,7 @@ export declare const actionWrapTextInContainer: {
197
197
  lastActiveTool: import("../types").LastActiveTool;
198
198
  locked: boolean;
199
199
  } & ({
200
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
200
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
201
201
  customType: null;
202
202
  } | {
203
203
  type: "custom";
@@ -40,7 +40,7 @@ export declare const actionClearCanvas: {
40
40
  lastActiveTool: import("../types").LastActiveTool;
41
41
  locked: boolean;
42
42
  } & ({
43
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
43
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
44
44
  customType: null;
45
45
  } | {
46
46
  type: "custom";
@@ -189,7 +189,7 @@ export declare const actionZoomIn: {
189
189
  lastActiveTool: import("../types").LastActiveTool;
190
190
  locked: boolean;
191
191
  } & ({
192
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
192
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
193
193
  customType: null;
194
194
  } | {
195
195
  type: "custom";
@@ -323,7 +323,7 @@ export declare const actionZoomOut: {
323
323
  lastActiveTool: import("../types").LastActiveTool;
324
324
  locked: boolean;
325
325
  } & ({
326
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
326
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
327
327
  customType: null;
328
328
  } | {
329
329
  type: "custom";
@@ -457,7 +457,7 @@ export declare const actionResetZoom: {
457
457
  lastActiveTool: import("../types").LastActiveTool;
458
458
  locked: boolean;
459
459
  } & ({
460
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
460
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
461
461
  customType: null;
462
462
  } | {
463
463
  type: "custom";
@@ -592,7 +592,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
592
592
  lastActiveTool: import("../types").LastActiveTool;
593
593
  locked: boolean;
594
594
  } & ({
595
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
595
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
596
596
  customType: null;
597
597
  } | {
598
598
  type: "custom";
@@ -720,7 +720,7 @@ export declare const actionZoomToFitSelectionInViewport: {
720
720
  lastActiveTool: import("../types").LastActiveTool;
721
721
  locked: boolean;
722
722
  } & ({
723
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
723
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
724
724
  customType: null;
725
725
  } | {
726
726
  type: "custom";
@@ -852,7 +852,7 @@ export declare const actionZoomToFitSelection: {
852
852
  lastActiveTool: import("../types").LastActiveTool;
853
853
  locked: boolean;
854
854
  } & ({
855
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
855
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
856
856
  customType: null;
857
857
  } | {
858
858
  type: "custom";
@@ -985,7 +985,7 @@ export declare const actionZoomToFit: {
985
985
  lastActiveTool: import("../types").LastActiveTool;
986
986
  locked: boolean;
987
987
  } & ({
988
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
988
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
989
989
  customType: null;
990
990
  } | {
991
991
  type: "custom";
@@ -1114,7 +1114,7 @@ export declare const actionToggleTheme: {
1114
1114
  lastActiveTool: import("../types").LastActiveTool;
1115
1115
  locked: boolean;
1116
1116
  } & ({
1117
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1117
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
1118
1118
  customType: null;
1119
1119
  } | {
1120
1120
  type: "custom";
@@ -1219,7 +1219,7 @@ export declare const actionToggleEraserTool: {
1219
1219
  lastActiveTool: import("../types").LastActiveTool;
1220
1220
  locked: boolean;
1221
1221
  } & ({
1222
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1222
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
1223
1223
  customType: null;
1224
1224
  } | {
1225
1225
  type: "custom";
@@ -1344,7 +1344,7 @@ export declare const actionToggleHandTool: {
1344
1344
  lastActiveTool: import("../types").LastActiveTool;
1345
1345
  locked: boolean;
1346
1346
  } & ({
1347
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1347
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
1348
1348
  customType: null;
1349
1349
  } | {
1350
1350
  type: "custom";
@@ -68,7 +68,7 @@ export declare const actionCut: {
68
68
  lastActiveTool: import("../types").LastActiveTool;
69
69
  locked: boolean;
70
70
  } & ({
71
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
71
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
72
72
  customType: null;
73
73
  } | {
74
74
  type: "custom";
@@ -219,7 +219,7 @@ export declare const actionCut: {
219
219
  lastActiveTool: import("../types").LastActiveTool;
220
220
  locked: boolean;
221
221
  } & ({
222
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
222
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
223
223
  customType: null;
224
224
  } | {
225
225
  type: "custom";
@@ -312,7 +312,7 @@ export declare const actionCut: {
312
312
  lastActiveTool: import("../types").LastActiveTool;
313
313
  locked: boolean;
314
314
  } & ({
315
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
315
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
316
316
  customType: null;
317
317
  } | {
318
318
  type: "custom";
@@ -474,7 +474,7 @@ export declare const actionCopyAsSvg: {
474
474
  lastActiveTool: import("../types").LastActiveTool;
475
475
  locked: boolean;
476
476
  } & ({
477
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
477
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
478
478
  customType: null;
479
479
  } | {
480
480
  type: "custom";
@@ -610,7 +610,7 @@ export declare const actionCopyAsPng: {
610
610
  lastActiveTool: import("../types").LastActiveTool;
611
611
  locked: boolean;
612
612
  } & ({
613
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
613
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
614
614
  customType: null;
615
615
  } | {
616
616
  type: "custom";
@@ -44,7 +44,7 @@ export declare const actionDeleteSelected: {
44
44
  lastActiveTool: import("../types").LastActiveTool;
45
45
  locked: boolean;
46
46
  } & ({
47
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
47
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
48
48
  customType: null;
49
49
  } | {
50
50
  type: "custom";
@@ -195,7 +195,7 @@ export declare const actionDeleteSelected: {
195
195
  lastActiveTool: import("../types").LastActiveTool;
196
196
  locked: boolean;
197
197
  } & ({
198
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
198
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
199
199
  customType: null;
200
200
  } | {
201
201
  type: "custom";
@@ -288,7 +288,7 @@ export declare const actionDeleteSelected: {
288
288
  lastActiveTool: import("../types").LastActiveTool;
289
289
  locked: boolean;
290
290
  } & ({
291
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
291
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
292
292
  customType: null;
293
293
  } | {
294
294
  type: "custom";
@@ -43,7 +43,7 @@ export declare const actionToggleElementLock: {
43
43
  lastActiveTool: import("../types").LastActiveTool;
44
44
  locked: boolean;
45
45
  } & ({
46
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
46
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
47
47
  customType: null;
48
48
  } | {
49
49
  type: "custom";
@@ -181,7 +181,7 @@ export declare const actionUnlockAllElements: {
181
181
  lastActiveTool: import("../types").LastActiveTool;
182
182
  locked: boolean;
183
183
  } & ({
184
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
184
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
185
185
  customType: null;
186
186
  } | {
187
187
  type: "custom";
@@ -40,7 +40,7 @@ export declare const actionChangeProjectName: {
40
40
  lastActiveTool: import("../types").LastActiveTool;
41
41
  locked: boolean;
42
42
  } & ({
43
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
43
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
44
44
  customType: null;
45
45
  } | {
46
46
  type: "custom";
@@ -173,7 +173,7 @@ export declare const actionChangeExportScale: {
173
173
  lastActiveTool: import("../types").LastActiveTool;
174
174
  locked: boolean;
175
175
  } & ({
176
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
176
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
177
177
  customType: null;
178
178
  } | {
179
179
  type: "custom";
@@ -306,7 +306,7 @@ export declare const actionChangeExportBackground: {
306
306
  lastActiveTool: import("../types").LastActiveTool;
307
307
  locked: boolean;
308
308
  } & ({
309
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
309
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
310
310
  customType: null;
311
311
  } | {
312
312
  type: "custom";
@@ -439,7 +439,7 @@ export declare const actionChangeExportEmbedScene: {
439
439
  lastActiveTool: import("../types").LastActiveTool;
440
440
  locked: boolean;
441
441
  } & ({
442
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
442
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
443
443
  customType: null;
444
444
  } | {
445
445
  type: "custom";
@@ -576,7 +576,7 @@ export declare const actionSaveToActiveFile: {
576
576
  lastActiveTool: import("../types").LastActiveTool;
577
577
  locked: boolean;
578
578
  } & ({
579
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
579
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
580
580
  customType: null;
581
581
  } | {
582
582
  type: "custom";
@@ -707,7 +707,7 @@ export declare const actionSaveFileToDisk: {
707
707
  lastActiveTool: import("../types").LastActiveTool;
708
708
  locked: boolean;
709
709
  } & ({
710
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
710
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
711
711
  customType: null;
712
712
  } | {
713
713
  type: "custom";
@@ -815,7 +815,7 @@ export declare const actionLoadScene: {
815
815
  lastActiveTool: import("../types").LastActiveTool;
816
816
  locked: boolean;
817
817
  } & ({
818
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
818
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
819
819
  customType: null;
820
820
  } | {
821
821
  type: "custom";
@@ -963,7 +963,7 @@ export declare const actionLoadScene: {
963
963
  lastActiveTool: import("../types").LastActiveTool;
964
964
  locked: boolean;
965
965
  } & ({
966
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
966
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
967
967
  customType: null;
968
968
  } | {
969
969
  type: "custom";
@@ -1098,7 +1098,7 @@ export declare const actionExportWithDarkMode: {
1098
1098
  lastActiveTool: import("../types").LastActiveTool;
1099
1099
  locked: boolean;
1100
1100
  } & ({
1101
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1101
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
1102
1102
  customType: null;
1103
1103
  } | {
1104
1104
  type: "custom";
@@ -3,7 +3,7 @@ import { AppState } from "../types";
3
3
  export declare const actionFinalize: {
4
4
  name: "finalize";
5
5
  trackEvent: false;
6
- perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<AppState>, _: any, { canvas, focusContainer, scene }: import("../types").AppClassProperties) => {
6
+ perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<AppState>, _: any, { interactiveCanvas, focusContainer, scene }: import("../types").AppClassProperties) => {
7
7
  elements: import("../element/types").ExcalidrawElement[] | undefined;
8
8
  appState: {
9
9
  cursorButton: "up";
@@ -41,7 +41,7 @@ export declare const actionFinalize: {
41
41
  lastActiveTool: import("../types").LastActiveTool;
42
42
  locked: boolean;
43
43
  } & ({
44
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
44
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
45
45
  customType: null;
46
46
  } | {
47
47
  type: "custom";
@@ -134,7 +134,7 @@ export declare const actionFinalize: {
134
134
  lastActiveTool: import("../types").LastActiveTool;
135
135
  locked: boolean;
136
136
  } & ({
137
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
137
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
138
138
  customType: null;
139
139
  } | {
140
140
  type: "custom";
@@ -60,7 +60,7 @@ export declare const actionRemoveAllElementsFromFrame: {
60
60
  lastActiveTool: import("../types").LastActiveTool;
61
61
  locked: boolean;
62
62
  } & ({
63
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
63
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
64
64
  customType: null;
65
65
  } | {
66
66
  type: "custom";
@@ -196,7 +196,7 @@ export declare const actionupdateFrameRendering: {
196
196
  lastActiveTool: import("../types").LastActiveTool;
197
197
  locked: boolean;
198
198
  } & ({
199
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
199
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
200
200
  customType: null;
201
201
  } | {
202
202
  type: "custom";
@@ -300,7 +300,7 @@ export declare const actionSetFrameAsActiveTool: {
300
300
  lastActiveTool: import("../types").LastActiveTool;
301
301
  locked: boolean;
302
302
  } & ({
303
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
303
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
304
304
  customType: null;
305
305
  } | {
306
306
  type: "custom";