@myoc/excalidraw 0.18.15 → 0.18.17

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 (152) hide show
  1. package/dist/dev/{chunk-O7OUZ7ZJ.js → chunk-FQEIAL75.js} +14874 -9982
  2. package/dist/dev/chunk-FQEIAL75.js.map +7 -0
  3. package/dist/dev/{chunk-PEI7EPYO.js → chunk-KJKC5BJI.js} +10 -4
  4. package/dist/dev/chunk-KJKC5BJI.js.map +7 -0
  5. package/dist/dev/{chunk-DJKQZ4KD.js → chunk-XL2I4W52.js} +2 -2
  6. package/dist/dev/data/{image-NJWLICAS.js → image-WMF622SS.js} +3 -3
  7. package/dist/dev/index.css +69 -22
  8. package/dist/dev/index.css.map +3 -3
  9. package/dist/dev/index.js +3104 -6547
  10. package/dist/dev/index.js.map +4 -4
  11. package/dist/dev/locales/{en-R455UJTM.js → en-UQFCZXHO.js} +2 -2
  12. package/dist/dev/subset-shared.chunk.js +1 -1
  13. package/dist/dev/subset-worker.chunk.js +1 -1
  14. package/dist/prod/{chunk-NJOW7IOK.js → chunk-5JAQX5EH.js} +1 -1
  15. package/dist/prod/{chunk-KZWZ7WHC.js → chunk-EJLAYNAE.js} +4 -4
  16. package/dist/prod/chunk-LSNMPGNI.js +33 -0
  17. package/dist/prod/data/image-Z433FUMH.js +1 -0
  18. package/dist/prod/index.css +1 -1
  19. package/dist/prod/index.js +17 -16
  20. package/dist/prod/locales/{en-YWERZJD6.js → en-7EHYHCIL.js} +1 -1
  21. package/dist/prod/subset-shared.chunk.js +1 -1
  22. package/dist/prod/subset-worker.chunk.js +1 -1
  23. package/dist/types/common/src/constants.d.ts +3 -1
  24. package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
  25. package/dist/types/common/src/font-metadata.d.ts +4 -2
  26. package/dist/types/common/src/index.d.ts +1 -0
  27. package/dist/types/common/src/utility-types.d.ts +5 -0
  28. package/dist/types/common/src/utils.d.ts +16 -4
  29. package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
  30. package/dist/types/element/src/ShapeCache.d.ts +1 -1
  31. package/dist/types/element/src/align.d.ts +3 -3
  32. package/dist/types/element/src/arrange.d.ts +2 -1
  33. package/dist/types/element/src/binding.d.ts +18 -10
  34. package/dist/types/element/src/bounds.d.ts +1 -1
  35. package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +40 -35
  36. package/dist/types/element/src/dragElements.d.ts +3 -2
  37. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  38. package/dist/types/element/src/flowchart.d.ts +3 -2
  39. package/dist/types/element/src/fractionalIndex.d.ts +2 -2
  40. package/dist/types/element/src/frame.d.ts +4 -3
  41. package/dist/types/element/src/index.d.ts +45 -2
  42. package/dist/types/element/src/linearElementEditor.d.ts +14 -18
  43. package/dist/types/element/src/mutateElement.d.ts +10 -2
  44. package/dist/types/element/src/newElement.d.ts +3 -3
  45. package/dist/types/element/src/resizeElements.d.ts +4 -4
  46. package/dist/types/element/src/selection.d.ts +1 -6
  47. package/dist/types/element/src/shapes.d.ts +1 -1
  48. package/dist/types/element/src/sizeHelpers.d.ts +0 -1
  49. package/dist/types/element/src/store.d.ts +227 -0
  50. package/dist/types/element/src/textElement.d.ts +4 -3
  51. package/dist/types/element/src/typeChecks.d.ts +5 -1
  52. package/dist/types/element/src/types.d.ts +8 -0
  53. package/dist/types/element/src/zindex.d.ts +1 -1
  54. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +30 -48
  55. package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
  56. package/dist/types/excalidraw/actions/actionArrange.d.ts +2 -2
  57. package/dist/types/excalidraw/actions/actionBoundText.d.ts +20 -32
  58. package/dist/types/excalidraw/actions/actionCanvas.d.ts +139 -211
  59. package/dist/types/excalidraw/actions/actionClipboard.d.ts +62 -98
  60. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +10 -16
  61. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +28 -46
  62. package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
  63. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  64. package/dist/types/excalidraw/actions/actionElementLink.d.ts +10 -16
  65. package/dist/types/excalidraw/actions/actionElementLock.d.ts +22 -34
  66. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +10 -16
  67. package/dist/types/excalidraw/actions/actionExport.d.ts +184 -238
  68. package/dist/types/excalidraw/actions/actionFinalize.d.ts +18 -30
  69. package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
  70. package/dist/types/excalidraw/actions/actionFrame.d.ts +84 -108
  71. package/dist/types/excalidraw/actions/actionGroup.d.ts +26 -38
  72. package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
  73. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +9 -15
  74. package/dist/types/excalidraw/actions/actionLink.d.ts +10 -16
  75. package/dist/types/excalidraw/actions/actionMenu.d.ts +30 -48
  76. package/dist/types/excalidraw/actions/actionNavigate.d.ts +19 -31
  77. package/dist/types/excalidraw/actions/actionProperties.d.ts +138 -228
  78. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +12 -18
  79. package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +2 -2
  80. package/dist/types/excalidraw/actions/actionStyles.d.ts +14 -20
  81. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +12 -18
  82. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +12 -18
  83. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +12 -199
  84. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  85. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +12 -18
  86. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +12 -18
  87. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -18
  88. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  89. package/dist/types/excalidraw/actions/types.d.ts +3 -3
  90. package/dist/types/excalidraw/appState.d.ts +31 -31
  91. package/dist/types/excalidraw/components/App.d.ts +13 -8
  92. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  93. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
  94. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  95. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
  96. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
  97. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
  98. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  99. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  100. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  101. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  102. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
  103. package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  104. package/dist/types/excalidraw/components/Range.d.ts +3 -3
  105. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  106. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  107. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  108. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  109. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  110. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  111. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  112. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  113. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  115. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
  116. package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
  117. package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
  118. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
  119. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
  120. package/dist/types/excalidraw/components/icons.d.ts +1 -0
  121. package/dist/types/excalidraw/components/shapes.d.ts +1 -1
  122. package/dist/types/excalidraw/data/blob.d.ts +1 -1
  123. package/dist/types/excalidraw/data/transform.d.ts +1 -1
  124. package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
  125. package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
  126. package/dist/types/excalidraw/history.d.ts +14 -22
  127. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  128. package/dist/types/excalidraw/index.d.ts +9 -9
  129. package/dist/types/excalidraw/lasso/index.d.ts +1 -0
  130. package/dist/types/excalidraw/renderer/helpers.d.ts +6 -1
  131. package/dist/types/excalidraw/scene/Renderer.d.ts +1 -1
  132. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  133. package/dist/types/excalidraw/snapping.d.ts +2 -2
  134. package/dist/types/excalidraw/types.d.ts +16 -9
  135. package/dist/types/excalidraw/visualdebug.d.ts +1 -1
  136. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
  137. package/dist/types/math/src/curve.d.ts +2 -0
  138. package/dist/types/math/src/vector.d.ts +4 -0
  139. package/dist/types/utils/src/bbox.d.ts +1 -1
  140. package/dist/types/utils/src/index.d.ts +1 -1
  141. package/dist/types/utils/src/withinBounds.d.ts +1 -1
  142. package/history.ts +68 -94
  143. package/package.json +5 -4
  144. package/dist/dev/chunk-O7OUZ7ZJ.js.map +0 -7
  145. package/dist/dev/chunk-PEI7EPYO.js.map +0 -7
  146. package/dist/prod/chunk-WGXUBJ4X.js +0 -33
  147. package/dist/prod/data/image-EKW6RBW7.js +0 -1
  148. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  149. package/dist/types/excalidraw/store.d.ts +0 -129
  150. /package/dist/dev/{chunk-DJKQZ4KD.js.map → chunk-XL2I4W52.js.map} +0 -0
  151. /package/dist/dev/data/{image-NJWLICAS.js.map → image-WMF622SS.js.map} +0 -0
  152. /package/dist/dev/locales/{en-R455UJTM.js.map → en-UQFCZXHO.js.map} +0 -0
@@ -16,9 +16,9 @@ export declare const actionChangeProjectName: {
16
16
  showWelcomeScreen: boolean;
17
17
  isLoading: boolean;
18
18
  myocSimplifiedMode: boolean;
19
+ dontResizeLimitMBs: number;
19
20
  hideMainMenus: boolean;
20
21
  wheelZoomsOnDefault?: boolean | undefined;
21
- dontResizeLimitMBs: number;
22
22
  arrangeConfiguration: {
23
23
  algorithm: "bin-packing";
24
24
  gap: number;
@@ -34,7 +34,7 @@ export declare const actionChangeProjectName: {
34
34
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
35
35
  isBindingEnabled: boolean;
36
36
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
37
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
37
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
38
38
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
39
39
  frameRendering: {
40
40
  enabled: boolean;
@@ -45,7 +45,7 @@ export declare const actionChangeProjectName: {
45
45
  editingFrame: string | null;
46
46
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
47
47
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
48
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
48
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
49
49
  activeTool: {
50
50
  lastActiveTool: import("../types").ActiveTool | null;
51
51
  locked: boolean;
@@ -82,7 +82,7 @@ export declare const actionChangeProjectName: {
82
82
  zoom: Readonly<{
83
83
  value: import("../types").NormalizedZoomValue;
84
84
  }>;
85
- openMenu: "shape" | "canvas" | null;
85
+ openMenu: "canvas" | "shape" | null;
86
86
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
87
87
  openSidebar: {
88
88
  name: string;
@@ -165,8 +165,8 @@ export declare const actionChangeProjectName: {
165
165
  data: import("../charts").Spreadsheet;
166
166
  };
167
167
  pendingImageElementId: string | null;
168
- showHyperlinkPopup: false | "editor" | "info";
169
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
168
+ showHyperlinkPopup: false | "info" | "editor";
169
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
170
170
  snapLines: readonly import("../snapping").SnapLine[];
171
171
  originSnapOffset: {
172
172
  x: number;
@@ -177,16 +177,10 @@ export declare const actionChangeProjectName: {
177
177
  followedBy: Set<import("../types").SocketId>;
178
178
  isCropping: boolean;
179
179
  croppingElementId: string | null;
180
- searchMatches: readonly {
181
- id: string;
182
- focus: boolean;
183
- matchedLines: {
184
- offsetX: number;
185
- offsetY: number;
186
- width: number;
187
- height: number;
188
- }[];
189
- }[];
180
+ searchMatches: Readonly<{
181
+ focusedId: string | null;
182
+ matches: readonly import("../types").SearchMatch[];
183
+ }> | null;
190
184
  };
191
185
  captureUpdate: "EVENTUALLY";
192
186
  };
@@ -212,9 +206,9 @@ export declare const actionChangeExportScale: {
212
206
  showWelcomeScreen: boolean;
213
207
  isLoading: boolean;
214
208
  myocSimplifiedMode: boolean;
209
+ dontResizeLimitMBs: number;
215
210
  hideMainMenus: boolean;
216
211
  wheelZoomsOnDefault?: boolean | undefined;
217
- dontResizeLimitMBs: number;
218
212
  arrangeConfiguration: {
219
213
  algorithm: "bin-packing";
220
214
  gap: number;
@@ -230,7 +224,7 @@ export declare const actionChangeExportScale: {
230
224
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
231
225
  isBindingEnabled: boolean;
232
226
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
233
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
227
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
234
228
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
235
229
  frameRendering: {
236
230
  enabled: boolean;
@@ -241,7 +235,7 @@ export declare const actionChangeExportScale: {
241
235
  editingFrame: string | null;
242
236
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
243
237
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
244
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
238
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
245
239
  activeTool: {
246
240
  lastActiveTool: import("../types").ActiveTool | null;
247
241
  locked: boolean;
@@ -278,7 +272,7 @@ export declare const actionChangeExportScale: {
278
272
  zoom: Readonly<{
279
273
  value: import("../types").NormalizedZoomValue;
280
274
  }>;
281
- openMenu: "shape" | "canvas" | null;
275
+ openMenu: "canvas" | "shape" | null;
282
276
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
283
277
  openSidebar: {
284
278
  name: string;
@@ -361,8 +355,8 @@ export declare const actionChangeExportScale: {
361
355
  data: import("../charts").Spreadsheet;
362
356
  };
363
357
  pendingImageElementId: string | null;
364
- showHyperlinkPopup: false | "editor" | "info";
365
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
358
+ showHyperlinkPopup: false | "info" | "editor";
359
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
366
360
  snapLines: readonly import("../snapping").SnapLine[];
367
361
  originSnapOffset: {
368
362
  x: number;
@@ -373,16 +367,10 @@ export declare const actionChangeExportScale: {
373
367
  followedBy: Set<import("../types").SocketId>;
374
368
  isCropping: boolean;
375
369
  croppingElementId: string | null;
376
- searchMatches: readonly {
377
- id: string;
378
- focus: boolean;
379
- matchedLines: {
380
- offsetX: number;
381
- offsetY: number;
382
- width: number;
383
- height: number;
384
- }[];
385
- }[];
370
+ searchMatches: Readonly<{
371
+ focusedId: string | null;
372
+ matches: readonly import("../types").SearchMatch[];
373
+ }> | null;
386
374
  };
387
375
  captureUpdate: "EVENTUALLY";
388
376
  };
@@ -408,9 +396,9 @@ export declare const actionChangeExportBackground: {
408
396
  showWelcomeScreen: boolean;
409
397
  isLoading: boolean;
410
398
  myocSimplifiedMode: boolean;
399
+ dontResizeLimitMBs: number;
411
400
  hideMainMenus: boolean;
412
401
  wheelZoomsOnDefault?: boolean | undefined;
413
- dontResizeLimitMBs: number;
414
402
  arrangeConfiguration: {
415
403
  algorithm: "bin-packing";
416
404
  gap: number;
@@ -426,7 +414,7 @@ export declare const actionChangeExportBackground: {
426
414
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
427
415
  isBindingEnabled: boolean;
428
416
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
429
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
417
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
430
418
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
431
419
  frameRendering: {
432
420
  enabled: boolean;
@@ -437,7 +425,7 @@ export declare const actionChangeExportBackground: {
437
425
  editingFrame: string | null;
438
426
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
439
427
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
440
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
428
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
441
429
  activeTool: {
442
430
  lastActiveTool: import("../types").ActiveTool | null;
443
431
  locked: boolean;
@@ -474,7 +462,7 @@ export declare const actionChangeExportBackground: {
474
462
  zoom: Readonly<{
475
463
  value: import("../types").NormalizedZoomValue;
476
464
  }>;
477
- openMenu: "shape" | "canvas" | null;
465
+ openMenu: "canvas" | "shape" | null;
478
466
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
479
467
  openSidebar: {
480
468
  name: string;
@@ -557,8 +545,8 @@ export declare const actionChangeExportBackground: {
557
545
  data: import("../charts").Spreadsheet;
558
546
  };
559
547
  pendingImageElementId: string | null;
560
- showHyperlinkPopup: false | "editor" | "info";
561
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
548
+ showHyperlinkPopup: false | "info" | "editor";
549
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
562
550
  snapLines: readonly import("../snapping").SnapLine[];
563
551
  originSnapOffset: {
564
552
  x: number;
@@ -569,16 +557,10 @@ export declare const actionChangeExportBackground: {
569
557
  followedBy: Set<import("../types").SocketId>;
570
558
  isCropping: boolean;
571
559
  croppingElementId: string | null;
572
- searchMatches: readonly {
573
- id: string;
574
- focus: boolean;
575
- matchedLines: {
576
- offsetX: number;
577
- offsetY: number;
578
- width: number;
579
- height: number;
580
- }[];
581
- }[];
560
+ searchMatches: Readonly<{
561
+ focusedId: string | null;
562
+ matches: readonly import("../types").SearchMatch[];
563
+ }> | null;
582
564
  };
583
565
  captureUpdate: "EVENTUALLY";
584
566
  };
@@ -604,9 +586,9 @@ export declare const actionChangeExportEmbedScene: {
604
586
  showWelcomeScreen: boolean;
605
587
  isLoading: boolean;
606
588
  myocSimplifiedMode: boolean;
589
+ dontResizeLimitMBs: number;
607
590
  hideMainMenus: boolean;
608
591
  wheelZoomsOnDefault?: boolean | undefined;
609
- dontResizeLimitMBs: number;
610
592
  arrangeConfiguration: {
611
593
  algorithm: "bin-packing";
612
594
  gap: number;
@@ -622,7 +604,7 @@ export declare const actionChangeExportEmbedScene: {
622
604
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
623
605
  isBindingEnabled: boolean;
624
606
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
625
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
607
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
626
608
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
627
609
  frameRendering: {
628
610
  enabled: boolean;
@@ -633,7 +615,7 @@ export declare const actionChangeExportEmbedScene: {
633
615
  editingFrame: string | null;
634
616
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
635
617
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
636
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
618
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
637
619
  activeTool: {
638
620
  lastActiveTool: import("../types").ActiveTool | null;
639
621
  locked: boolean;
@@ -670,7 +652,7 @@ export declare const actionChangeExportEmbedScene: {
670
652
  zoom: Readonly<{
671
653
  value: import("../types").NormalizedZoomValue;
672
654
  }>;
673
- openMenu: "shape" | "canvas" | null;
655
+ openMenu: "canvas" | "shape" | null;
674
656
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
675
657
  openSidebar: {
676
658
  name: string;
@@ -753,8 +735,8 @@ export declare const actionChangeExportEmbedScene: {
753
735
  data: import("../charts").Spreadsheet;
754
736
  };
755
737
  pendingImageElementId: string | null;
756
- showHyperlinkPopup: false | "editor" | "info";
757
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
738
+ showHyperlinkPopup: false | "info" | "editor";
739
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
758
740
  snapLines: readonly import("../snapping").SnapLine[];
759
741
  originSnapOffset: {
760
742
  x: number;
@@ -765,16 +747,10 @@ export declare const actionChangeExportEmbedScene: {
765
747
  followedBy: Set<import("../types").SocketId>;
766
748
  isCropping: boolean;
767
749
  croppingElementId: string | null;
768
- searchMatches: readonly {
769
- id: string;
770
- focus: boolean;
771
- matchedLines: {
772
- offsetX: number;
773
- offsetY: number;
774
- width: number;
775
- height: number;
776
- }[];
777
- }[];
750
+ searchMatches: Readonly<{
751
+ focusedId: string | null;
752
+ matches: readonly import("../types").SearchMatch[];
753
+ }> | null;
778
754
  };
779
755
  captureUpdate: "EVENTUALLY";
780
756
  };
@@ -805,9 +781,9 @@ export declare const actionSaveToActiveFile: {
805
781
  showWelcomeScreen: boolean;
806
782
  isLoading: boolean;
807
783
  myocSimplifiedMode: boolean;
784
+ dontResizeLimitMBs: number;
808
785
  hideMainMenus: boolean;
809
786
  wheelZoomsOnDefault?: boolean | undefined;
810
- dontResizeLimitMBs: number;
811
787
  arrangeConfiguration: {
812
788
  algorithm: "bin-packing";
813
789
  gap: number;
@@ -823,7 +799,7 @@ export declare const actionSaveToActiveFile: {
823
799
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
824
800
  isBindingEnabled: boolean;
825
801
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
826
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
802
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
827
803
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
828
804
  frameRendering: {
829
805
  enabled: boolean;
@@ -834,7 +810,7 @@ export declare const actionSaveToActiveFile: {
834
810
  editingFrame: string | null;
835
811
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
836
812
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
837
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
813
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
838
814
  activeTool: {
839
815
  lastActiveTool: import("../types").ActiveTool | null;
840
816
  locked: boolean;
@@ -872,7 +848,7 @@ export declare const actionSaveToActiveFile: {
872
848
  zoom: Readonly<{
873
849
  value: import("../types").NormalizedZoomValue;
874
850
  }>;
875
- openMenu: "shape" | "canvas" | null;
851
+ openMenu: "canvas" | "shape" | null;
876
852
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
877
853
  openSidebar: {
878
854
  name: string;
@@ -949,8 +925,8 @@ export declare const actionSaveToActiveFile: {
949
925
  data: import("../charts").Spreadsheet;
950
926
  };
951
927
  pendingImageElementId: string | null;
952
- showHyperlinkPopup: false | "editor" | "info";
953
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
928
+ showHyperlinkPopup: false | "info" | "editor";
929
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
954
930
  snapLines: readonly import("../snapping").SnapLine[];
955
931
  originSnapOffset: {
956
932
  x: number;
@@ -961,24 +937,18 @@ export declare const actionSaveToActiveFile: {
961
937
  followedBy: Set<import("../types").SocketId>;
962
938
  isCropping: boolean;
963
939
  croppingElementId: string | null;
964
- searchMatches: readonly {
965
- id: string;
966
- focus: boolean;
967
- matchedLines: {
968
- offsetX: number;
969
- offsetY: number;
970
- width: number;
971
- height: number;
972
- }[];
973
- }[];
940
+ searchMatches: Readonly<{
941
+ focusedId: string | null;
942
+ matches: readonly import("../types").SearchMatch[];
943
+ }> | null;
974
944
  };
975
945
  } | {
976
946
  captureUpdate: "EVENTUALLY";
977
947
  appState?: undefined;
978
948
  }>;
979
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => false;
949
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false;
980
950
  } & {
981
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => false) | undefined;
951
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false) | undefined;
982
952
  };
983
953
  export declare const actionSaveFileToDisk: {
984
954
  name: "saveFileToDisk";
@@ -1004,9 +974,9 @@ export declare const actionSaveFileToDisk: {
1004
974
  showWelcomeScreen: boolean;
1005
975
  isLoading: boolean;
1006
976
  myocSimplifiedMode: boolean;
977
+ dontResizeLimitMBs: number;
1007
978
  hideMainMenus: boolean;
1008
979
  wheelZoomsOnDefault?: boolean | undefined;
1009
- dontResizeLimitMBs: number;
1010
980
  arrangeConfiguration: {
1011
981
  algorithm: "bin-packing";
1012
982
  gap: number;
@@ -1022,7 +992,7 @@ export declare const actionSaveFileToDisk: {
1022
992
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1023
993
  isBindingEnabled: boolean;
1024
994
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1025
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
995
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1026
996
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1027
997
  frameRendering: {
1028
998
  enabled: boolean;
@@ -1033,7 +1003,7 @@ export declare const actionSaveFileToDisk: {
1033
1003
  editingFrame: string | null;
1034
1004
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1035
1005
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1036
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1006
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1037
1007
  activeTool: {
1038
1008
  lastActiveTool: import("../types").ActiveTool | null;
1039
1009
  locked: boolean;
@@ -1071,7 +1041,7 @@ export declare const actionSaveFileToDisk: {
1071
1041
  zoom: Readonly<{
1072
1042
  value: import("../types").NormalizedZoomValue;
1073
1043
  }>;
1074
- openMenu: "shape" | "canvas" | null;
1044
+ openMenu: "canvas" | "shape" | null;
1075
1045
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1076
1046
  openSidebar: {
1077
1047
  name: string;
@@ -1137,8 +1107,8 @@ export declare const actionSaveFileToDisk: {
1137
1107
  data: import("../charts").Spreadsheet;
1138
1108
  };
1139
1109
  pendingImageElementId: string | null;
1140
- showHyperlinkPopup: false | "editor" | "info";
1141
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1110
+ showHyperlinkPopup: false | "info" | "editor";
1111
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1142
1112
  snapLines: readonly import("../snapping").SnapLine[];
1143
1113
  originSnapOffset: {
1144
1114
  x: number;
@@ -1149,25 +1119,19 @@ export declare const actionSaveFileToDisk: {
1149
1119
  followedBy: Set<import("../types").SocketId>;
1150
1120
  isCropping: boolean;
1151
1121
  croppingElementId: string | null;
1152
- searchMatches: readonly {
1153
- id: string;
1154
- focus: boolean;
1155
- matchedLines: {
1156
- offsetX: number;
1157
- offsetY: number;
1158
- width: number;
1159
- height: number;
1160
- }[];
1161
- }[];
1122
+ searchMatches: Readonly<{
1123
+ focusedId: string | null;
1124
+ matches: readonly import("../types").SearchMatch[];
1125
+ }> | null;
1162
1126
  };
1163
1127
  } | {
1164
1128
  captureUpdate: "EVENTUALLY";
1165
1129
  appState?: undefined;
1166
1130
  }>;
1167
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1131
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1168
1132
  PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1169
1133
  } & {
1170
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1134
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1171
1135
  };
1172
1136
  export declare const actionLoadScene: {
1173
1137
  name: "loadScene";
@@ -1179,119 +1143,52 @@ export declare const actionLoadScene: {
1179
1143
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
1180
1144
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
1181
1145
  appState: {
1182
- viewBackgroundColor: string;
1183
- frameRendering: {
1184
- enabled: boolean;
1185
- name: boolean;
1186
- outline: boolean;
1187
- clip: boolean;
1188
- };
1189
- name: string | null;
1190
- theme: Theme;
1191
- zoom: Readonly<{
1192
- value: import("../types").NormalizedZoomValue;
1193
- }>;
1194
- scrollX: number;
1195
- scrollY: number;
1196
- viewModeEnabled: boolean;
1197
- openDialog: {
1198
- name: "imageExport" | "help" | "jsonExport";
1199
- } | {
1200
- name: "ttd";
1201
- tab: "text-to-diagram" | "mermaid";
1202
- } | {
1203
- name: "commandPalette";
1204
- } | {
1205
- name: "elementLinkSelector";
1206
- sourceElementId: string;
1207
- } | null;
1208
- editingGroupId: string | null;
1209
- selectedElementIds: Readonly<{
1210
- [id: string]: true;
1211
- }>;
1212
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1213
- pendingImageElementId: string | null;
1214
- activeEmbeddable: {
1215
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1216
- state: "hover" | "active";
1217
- } | null;
1218
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1219
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1220
- selectedGroupIds: {
1221
- [groupId: string]: boolean;
1222
- };
1223
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1224
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1225
- isBindingEnabled: boolean;
1226
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1227
- isRotating: boolean;
1228
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1229
- collaborators: Map<import("../types").SocketId, Readonly<{
1230
- pointer?: import("../types").CollaboratorPointer | undefined;
1231
- button?: "up" | "down" | undefined;
1232
- selectedElementIds?: Readonly<{
1233
- [id: string]: true;
1234
- }> | undefined;
1235
- username?: string | null | undefined;
1236
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1237
- color?: {
1238
- background: string;
1239
- stroke: string;
1240
- } | undefined;
1241
- avatarUrl?: string | undefined;
1242
- id?: string | undefined;
1243
- socketId?: import("../types").SocketId | undefined;
1244
- isCurrentUser?: boolean | undefined;
1245
- isInCall?: boolean | undefined;
1246
- isSpeaking?: boolean | undefined;
1247
- isMuted?: boolean | undefined;
1248
- }>>;
1249
- snapLines: readonly import("../snapping").SnapLine[];
1250
- zenModeEnabled: boolean;
1251
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1252
- isCropping: boolean;
1253
- croppingElementId: string | null;
1254
- searchMatches: readonly {
1255
- id: string;
1256
- focus: boolean;
1257
- matchedLines: {
1258
- offsetX: number;
1259
- offsetY: number;
1260
- width: number;
1261
- height: number;
1262
- }[];
1263
- }[];
1264
- gridModeEnabled: boolean;
1265
- objectsSnapModeEnabled: boolean;
1266
- wheelZoomsOnDefault?: boolean | undefined;
1267
- dontResizeLimitMBs: number;
1268
- shouldCacheIgnoreZoom: boolean;
1269
- exportScale: number;
1270
- selectedElementsAreBeingDragged: boolean;
1271
- gridSize: number;
1272
- gridStep: number;
1273
- currentHoveredFontFamily: number | null;
1274
- hoveredElementIds: Readonly<{
1275
- [id: string]: true;
1276
- }>;
1277
1146
  contextMenu: {
1278
1147
  items: import("../components/ContextMenu").ContextMenuItems;
1279
1148
  top: number;
1280
1149
  left: number;
1281
1150
  } | null;
1151
+ stats: {
1152
+ open: boolean;
1153
+ panels: number;
1154
+ };
1155
+ exportWithDarkMode: boolean;
1156
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1157
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1158
+ cursorButton: "up" | "down";
1159
+ scrollX: number;
1160
+ scrollY: number;
1282
1161
  showWelcomeScreen: boolean;
1283
1162
  isLoading: boolean;
1284
1163
  myocSimplifiedMode: boolean;
1164
+ dontResizeLimitMBs: number;
1285
1165
  hideMainMenus: boolean;
1166
+ wheelZoomsOnDefault?: boolean | undefined;
1286
1167
  arrangeConfiguration: {
1287
1168
  algorithm: "bin-packing";
1288
1169
  gap: number;
1289
1170
  };
1290
1171
  errorMessage: import("react").ReactNode;
1172
+ activeEmbeddable: {
1173
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1174
+ state: "hover" | "active";
1175
+ } | null;
1291
1176
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1292
1177
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1293
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1178
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1179
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1180
+ isBindingEnabled: boolean;
1181
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1182
+ frameRendering: {
1183
+ enabled: boolean;
1184
+ name: boolean;
1185
+ outline: boolean;
1186
+ clip: boolean;
1187
+ };
1294
1188
  editingFrame: string | null;
1189
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1190
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1191
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1295
1192
  activeTool: {
1296
1193
  lastActiveTool: import("../types").ActiveTool | null;
1297
1194
  locked: boolean;
@@ -1301,7 +1198,7 @@ export declare const actionLoadScene: {
1301
1198
  penDetected: boolean;
1302
1199
  exportBackground: boolean;
1303
1200
  exportEmbedScene: boolean;
1304
- exportWithDarkMode: boolean;
1201
+ exportScale: number;
1305
1202
  currentItemStrokeColor: string;
1306
1203
  currentItemBackgroundColor: string;
1307
1204
  currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
@@ -1314,32 +1211,83 @@ export declare const actionLoadScene: {
1314
1211
  currentItemTextAlign: string;
1315
1212
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1316
1213
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1214
+ currentHoveredFontFamily: number | null;
1317
1215
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1318
1216
  currentItemArrowType: "round" | "sharp" | "elbow";
1319
- cursorButton: "up" | "down";
1217
+ viewBackgroundColor: string;
1320
1218
  scrolledOutside: boolean;
1219
+ name: string | null;
1321
1220
  isResizing: boolean;
1322
- openMenu: "shape" | "canvas" | null;
1221
+ isRotating: boolean;
1222
+ zoom: Readonly<{
1223
+ value: import("../types").NormalizedZoomValue;
1224
+ }>;
1225
+ openMenu: "canvas" | "shape" | null;
1323
1226
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1324
1227
  openSidebar: {
1325
1228
  name: string;
1326
1229
  tab?: string | undefined;
1327
1230
  } | null;
1231
+ openDialog: {
1232
+ name: "imageExport" | "help" | "jsonExport";
1233
+ } | {
1234
+ name: "ttd";
1235
+ tab: "text-to-diagram" | "mermaid";
1236
+ } | {
1237
+ name: "commandPalette";
1238
+ } | {
1239
+ name: "elementLinkSelector";
1240
+ sourceElementId: string;
1241
+ } | null;
1328
1242
  defaultSidebarDockedPreference: boolean;
1329
1243
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1244
+ selectedElementIds: Readonly<{
1245
+ [id: string]: true;
1246
+ }>;
1247
+ hoveredElementIds: Readonly<{
1248
+ [id: string]: true;
1249
+ }>;
1330
1250
  previousSelectedElementIds: {
1331
1251
  [id: string]: true;
1332
1252
  };
1253
+ selectedElementsAreBeingDragged: boolean;
1254
+ shouldCacheIgnoreZoom: boolean;
1333
1255
  toast: {
1334
1256
  message: string;
1335
1257
  closable?: boolean | undefined;
1336
1258
  duration?: number | undefined;
1337
1259
  } | null;
1338
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1339
- stats: {
1340
- open: boolean;
1341
- panels: number;
1260
+ zenModeEnabled: boolean;
1261
+ theme: Theme;
1262
+ gridSize: number;
1263
+ gridStep: number;
1264
+ gridModeEnabled: boolean;
1265
+ viewModeEnabled: boolean;
1266
+ selectedGroupIds: {
1267
+ [groupId: string]: boolean;
1342
1268
  };
1269
+ editingGroupId: string | null;
1270
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1271
+ collaborators: Map<import("../types").SocketId, Readonly<{
1272
+ pointer?: import("../types").CollaboratorPointer | undefined;
1273
+ button?: "up" | "down" | undefined;
1274
+ selectedElementIds?: Readonly<{
1275
+ [id: string]: true;
1276
+ }> | undefined;
1277
+ username?: string | null | undefined;
1278
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1279
+ color?: {
1280
+ background: string;
1281
+ stroke: string;
1282
+ } | undefined;
1283
+ avatarUrl?: string | undefined;
1284
+ id?: string | undefined;
1285
+ socketId?: import("../types").SocketId | undefined;
1286
+ isCurrentUser?: boolean | undefined;
1287
+ isInCall?: boolean | undefined;
1288
+ isSpeaking?: boolean | undefined;
1289
+ isMuted?: boolean | undefined;
1290
+ }>>;
1343
1291
  currentChartType: import("@excalidraw/element/types").ChartType;
1344
1292
  pasteDialog: {
1345
1293
  shown: false;
@@ -1348,13 +1296,23 @@ export declare const actionLoadScene: {
1348
1296
  shown: true;
1349
1297
  data: import("../charts").Spreadsheet;
1350
1298
  };
1351
- showHyperlinkPopup: false | "editor" | "info";
1299
+ pendingImageElementId: string | null;
1300
+ showHyperlinkPopup: false | "info" | "editor";
1301
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1302
+ snapLines: readonly import("../snapping").SnapLine[];
1352
1303
  originSnapOffset: {
1353
1304
  x: number;
1354
1305
  y: number;
1355
1306
  } | null;
1307
+ objectsSnapModeEnabled: boolean;
1356
1308
  userToFollow: import("../types").UserToFollow | null;
1357
1309
  followedBy: Set<import("../types").SocketId>;
1310
+ isCropping: boolean;
1311
+ croppingElementId: string | null;
1312
+ searchMatches: Readonly<{
1313
+ focusedId: string | null;
1314
+ matches: readonly import("../types").SearchMatch[];
1315
+ }> | null;
1358
1316
  };
1359
1317
  files: import("../types").BinaryFiles;
1360
1318
  captureUpdate: "IMMEDIATELY";
@@ -1370,9 +1328,9 @@ export declare const actionLoadScene: {
1370
1328
  showWelcomeScreen: boolean;
1371
1329
  isLoading: boolean;
1372
1330
  myocSimplifiedMode: boolean;
1331
+ dontResizeLimitMBs: number;
1373
1332
  hideMainMenus: boolean;
1374
1333
  wheelZoomsOnDefault?: boolean | undefined;
1375
- dontResizeLimitMBs: number;
1376
1334
  arrangeConfiguration: {
1377
1335
  algorithm: "bin-packing";
1378
1336
  gap: number;
@@ -1387,7 +1345,7 @@ export declare const actionLoadScene: {
1387
1345
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1388
1346
  isBindingEnabled: boolean;
1389
1347
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1390
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1348
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1391
1349
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1392
1350
  frameRendering: {
1393
1351
  enabled: boolean;
@@ -1398,7 +1356,7 @@ export declare const actionLoadScene: {
1398
1356
  editingFrame: string | null;
1399
1357
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1400
1358
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1401
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1359
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1402
1360
  activeTool: {
1403
1361
  lastActiveTool: import("../types").ActiveTool | null;
1404
1362
  locked: boolean;
@@ -1436,7 +1394,7 @@ export declare const actionLoadScene: {
1436
1394
  zoom: Readonly<{
1437
1395
  value: import("../types").NormalizedZoomValue;
1438
1396
  }>;
1439
- openMenu: "shape" | "canvas" | null;
1397
+ openMenu: "canvas" | "shape" | null;
1440
1398
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1441
1399
  openSidebar: {
1442
1400
  name: string;
@@ -1519,8 +1477,8 @@ export declare const actionLoadScene: {
1519
1477
  data: import("../charts").Spreadsheet;
1520
1478
  };
1521
1479
  pendingImageElementId: string | null;
1522
- showHyperlinkPopup: false | "editor" | "info";
1523
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1480
+ showHyperlinkPopup: false | "info" | "editor";
1481
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1524
1482
  snapLines: readonly import("../snapping").SnapLine[];
1525
1483
  originSnapOffset: {
1526
1484
  x: number;
@@ -1531,23 +1489,17 @@ export declare const actionLoadScene: {
1531
1489
  followedBy: Set<import("../types").SocketId>;
1532
1490
  isCropping: boolean;
1533
1491
  croppingElementId: string | null;
1534
- searchMatches: readonly {
1535
- id: string;
1536
- focus: boolean;
1537
- matchedLines: {
1538
- offsetX: number;
1539
- offsetY: number;
1540
- width: number;
1541
- height: number;
1542
- }[];
1543
- }[];
1492
+ searchMatches: Readonly<{
1493
+ focusedId: string | null;
1494
+ matches: readonly import("../types").SearchMatch[];
1495
+ }> | null;
1544
1496
  };
1545
1497
  files: import("../types").BinaryFiles;
1546
1498
  captureUpdate: "EVENTUALLY";
1547
1499
  }>;
1548
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1500
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1549
1501
  } & {
1550
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1502
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1551
1503
  };
1552
1504
  export declare const actionExportWithDarkMode: {
1553
1505
  name: "exportWithDarkMode";
@@ -1567,9 +1519,9 @@ export declare const actionExportWithDarkMode: {
1567
1519
  showWelcomeScreen: boolean;
1568
1520
  isLoading: boolean;
1569
1521
  myocSimplifiedMode: boolean;
1522
+ dontResizeLimitMBs: number;
1570
1523
  hideMainMenus: boolean;
1571
1524
  wheelZoomsOnDefault?: boolean | undefined;
1572
- dontResizeLimitMBs: number;
1573
1525
  arrangeConfiguration: {
1574
1526
  algorithm: "bin-packing";
1575
1527
  gap: number;
@@ -1585,7 +1537,7 @@ export declare const actionExportWithDarkMode: {
1585
1537
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1586
1538
  isBindingEnabled: boolean;
1587
1539
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1588
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1540
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1589
1541
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1590
1542
  frameRendering: {
1591
1543
  enabled: boolean;
@@ -1596,7 +1548,7 @@ export declare const actionExportWithDarkMode: {
1596
1548
  editingFrame: string | null;
1597
1549
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1598
1550
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1599
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1551
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1600
1552
  activeTool: {
1601
1553
  lastActiveTool: import("../types").ActiveTool | null;
1602
1554
  locked: boolean;
@@ -1633,7 +1585,7 @@ export declare const actionExportWithDarkMode: {
1633
1585
  zoom: Readonly<{
1634
1586
  value: import("../types").NormalizedZoomValue;
1635
1587
  }>;
1636
- openMenu: "shape" | "canvas" | null;
1588
+ openMenu: "canvas" | "shape" | null;
1637
1589
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1638
1590
  openSidebar: {
1639
1591
  name: string;
@@ -1716,8 +1668,8 @@ export declare const actionExportWithDarkMode: {
1716
1668
  data: import("../charts").Spreadsheet;
1717
1669
  };
1718
1670
  pendingImageElementId: string | null;
1719
- showHyperlinkPopup: false | "editor" | "info";
1720
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1671
+ showHyperlinkPopup: false | "info" | "editor";
1672
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1721
1673
  snapLines: readonly import("../snapping").SnapLine[];
1722
1674
  originSnapOffset: {
1723
1675
  x: number;
@@ -1728,16 +1680,10 @@ export declare const actionExportWithDarkMode: {
1728
1680
  followedBy: Set<import("../types").SocketId>;
1729
1681
  isCropping: boolean;
1730
1682
  croppingElementId: string | null;
1731
- searchMatches: readonly {
1732
- id: string;
1733
- focus: boolean;
1734
- matchedLines: {
1735
- offsetX: number;
1736
- offsetY: number;
1737
- width: number;
1738
- height: number;
1739
- }[];
1740
- }[];
1683
+ searchMatches: Readonly<{
1684
+ focusedId: string | null;
1685
+ matches: readonly import("../types").SearchMatch[];
1686
+ }> | null;
1741
1687
  };
1742
1688
  captureUpdate: "EVENTUALLY";
1743
1689
  };