@myoc/excalidraw 0.18.17 → 0.18.19

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 (110) hide show
  1. package/dist/dev/{chunk-FQEIAL75.js → chunk-HDRNCSTL.js} +8745 -10813
  2. package/dist/dev/chunk-HDRNCSTL.js.map +7 -0
  3. package/dist/dev/{chunk-KJKC5BJI.js → chunk-QO4EFL6B.js} +6 -2
  4. package/dist/dev/chunk-QO4EFL6B.js.map +7 -0
  5. package/dist/dev/chunk-WD4YVUU4.js +7 -0
  6. package/dist/dev/chunk-WD4YVUU4.js.map +7 -0
  7. package/dist/dev/data/{image-WMF622SS.js → image-CW7TABKC.js} +3 -3
  8. package/dist/dev/index.css +32 -2
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +4750 -2340
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-UQFCZXHO.js → en-2WXBKZE2.js} +2 -2
  13. package/dist/dev/subset-shared.chunk.js +1 -1
  14. package/dist/dev/subset-worker.chunk.js +1 -1
  15. package/dist/prod/chunk-23G2JOF5.js +33 -0
  16. package/dist/prod/{chunk-EJLAYNAE.js → chunk-KZXLT4YB.js} +4 -4
  17. package/dist/prod/chunk-W655L563.js +7 -0
  18. package/dist/prod/data/image-TLNQ4QKS.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +18 -18
  21. package/dist/prod/locales/{en-7EHYHCIL.js → en-XFR6MADM.js} +1 -1
  22. package/dist/prod/subset-shared.chunk.js +1 -1
  23. package/dist/prod/subset-worker.chunk.js +1 -1
  24. package/dist/types/common/src/constants.d.ts +16 -1
  25. package/dist/types/common/src/points.d.ts +1 -1
  26. package/dist/types/common/src/utils.d.ts +1 -3
  27. package/dist/types/element/src/binding.d.ts +6 -7
  28. package/dist/types/element/src/bounds.d.ts +10 -4
  29. package/dist/types/element/src/collision.d.ts +18 -12
  30. package/dist/types/element/src/cropElement.d.ts +1 -1
  31. package/dist/types/element/src/delta.d.ts +26 -6
  32. package/dist/types/element/src/distance.d.ts +2 -2
  33. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  34. package/dist/types/element/src/fractionalIndex.d.ts +8 -2
  35. package/dist/types/element/src/heading.d.ts +2 -2
  36. package/dist/types/element/src/index.d.ts +1 -3
  37. package/dist/types/element/src/linearElementEditor.d.ts +11 -18
  38. package/dist/types/element/src/mutateElement.d.ts +1 -1
  39. package/dist/types/element/src/newElement.d.ts +2 -1
  40. package/dist/types/element/src/resizeElements.d.ts +1 -0
  41. package/dist/types/element/src/resizeTest.d.ts +2 -2
  42. package/dist/types/element/src/{ShapeCache.d.ts → shape.d.ts} +20 -3
  43. package/dist/types/element/src/shapes.d.ts +9 -9
  44. package/dist/types/element/src/sizeHelpers.d.ts +2 -1
  45. package/dist/types/element/src/store.d.ts +11 -7
  46. package/dist/types/element/src/typeChecks.d.ts +15 -1
  47. package/dist/types/element/src/types.d.ts +8 -3
  48. package/dist/types/element/src/utils.d.ts +5 -1
  49. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +15 -6
  50. package/dist/types/excalidraw/actions/actionBoundText.d.ts +10 -4
  51. package/dist/types/excalidraw/actions/actionCanvas.d.ts +60 -24
  52. package/dist/types/excalidraw/actions/actionClipboard.d.ts +31 -12
  53. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +5 -2
  54. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +16 -6
  55. package/dist/types/excalidraw/actions/actionElementLink.d.ts +5 -2
  56. package/dist/types/excalidraw/actions/actionElementLock.d.ts +25 -20
  57. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +5 -2
  58. package/dist/types/excalidraw/actions/actionExport.d.ts +45 -18
  59. package/dist/types/excalidraw/actions/actionFinalize.d.ts +58 -12
  60. package/dist/types/excalidraw/actions/actionFrame.d.ts +20 -8
  61. package/dist/types/excalidraw/actions/actionGroup.d.ts +10 -4
  62. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +498 -2
  63. package/dist/types/excalidraw/actions/actionLink.d.ts +5 -2
  64. package/dist/types/excalidraw/actions/actionMenu.d.ts +15 -6
  65. package/dist/types/excalidraw/actions/actionNavigate.d.ts +10 -4
  66. package/dist/types/excalidraw/actions/actionProperties.d.ts +84 -31
  67. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +5 -2
  68. package/dist/types/excalidraw/actions/actionStyles.d.ts +5 -2
  69. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +5 -2
  70. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +5 -2
  71. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +5 -2
  72. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +5 -2
  73. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +5 -2
  74. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +5 -2
  75. package/dist/types/excalidraw/actions/types.d.ts +2 -1
  76. package/dist/types/excalidraw/appState.d.ts +10 -1
  77. package/dist/types/excalidraw/components/App.d.ts +7 -14
  78. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  79. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  80. package/dist/types/excalidraw/components/icons.d.ts +2 -0
  81. package/dist/types/excalidraw/eraser/index.d.ts +0 -2
  82. package/dist/types/excalidraw/history.d.ts +21 -5
  83. package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
  84. package/dist/types/excalidraw/renderer/helpers.d.ts +4 -4
  85. package/dist/types/excalidraw/scene/Renderer.d.ts +0 -1
  86. package/dist/types/excalidraw/types.d.ts +10 -4
  87. package/dist/types/math/src/angle.d.ts +3 -1
  88. package/dist/types/math/src/constants.d.ts +3 -0
  89. package/dist/types/math/src/curve.d.ts +33 -1
  90. package/dist/types/math/src/ellipse.d.ts +3 -3
  91. package/dist/types/math/src/index.d.ts +1 -0
  92. package/dist/types/math/src/point.d.ts +3 -3
  93. package/dist/types/math/src/polygon.d.ts +2 -2
  94. package/dist/types/math/src/segment.d.ts +5 -5
  95. package/dist/types/math/src/utils.d.ts +2 -0
  96. package/dist/types/math/src/vector.d.ts +4 -2
  97. package/dist/types/utils/src/shape.d.ts +12 -12
  98. package/history.ts +108 -45
  99. package/package.json +1 -1
  100. package/dist/dev/chunk-FQEIAL75.js.map +0 -7
  101. package/dist/dev/chunk-KJKC5BJI.js.map +0 -7
  102. package/dist/dev/chunk-XL2I4W52.js +0 -7
  103. package/dist/dev/chunk-XL2I4W52.js.map +0 -7
  104. package/dist/prod/chunk-5JAQX5EH.js +0 -7
  105. package/dist/prod/chunk-LSNMPGNI.js +0 -33
  106. package/dist/prod/data/image-Z433FUMH.js +0 -1
  107. package/dist/types/element/src/Shape.d.ts +0 -17
  108. package/dist/types/utils/src/collision.d.ts +0 -8
  109. /package/dist/dev/data/{image-WMF622SS.js.map → image-CW7TABKC.js.map} +0 -0
  110. /package/dist/dev/locales/{en-UQFCZXHO.js.map → en-2WXBKZE2.js.map} +0 -0
@@ -17,7 +17,15 @@ export declare const actionChangeBackgroundColor: {
17
17
  name: "changeBackgroundColor";
18
18
  label: string;
19
19
  trackEvent: false;
20
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
20
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
21
+ appState: any;
22
+ captureUpdate: "EVENTUALLY";
23
+ elements?: undefined;
24
+ } | {
25
+ elements: ExcalidrawElement[];
26
+ appState: any;
27
+ captureUpdate: "IMMEDIATELY";
28
+ };
21
29
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
22
30
  } & {
23
31
  keyTest?: undefined;
@@ -92,7 +100,7 @@ export declare const actionChangeFillStyle: {
92
100
  currentItemEndArrowhead: Arrowhead | null;
93
101
  currentHoveredFontFamily: number | null;
94
102
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
95
- currentItemArrowType: "round" | "sharp" | "elbow";
103
+ currentItemArrowType: "sharp" | "round" | "elbow";
96
104
  viewBackgroundColor: string;
97
105
  scrollX: number;
98
106
  scrollY: number;
@@ -186,7 +194,6 @@ export declare const actionChangeFillStyle: {
186
194
  shown: true;
187
195
  data: import("../charts").Spreadsheet;
188
196
  };
189
- pendingImageElementId: string | null;
190
197
  showHyperlinkPopup: false | "info" | "editor";
191
198
  selectedLinearElement: LinearElementEditor | null;
192
199
  snapLines: readonly import("../snapping").SnapLine[];
@@ -203,6 +210,10 @@ export declare const actionChangeFillStyle: {
203
210
  focusedId: string | null;
204
211
  matches: readonly import("../types").SearchMatch[];
205
212
  }> | null;
213
+ activeLockedId: string | null;
214
+ lockedMultiSelections: {
215
+ [groupId: string]: true;
216
+ };
206
217
  };
207
218
  captureUpdate: "IMMEDIATELY";
208
219
  };
@@ -280,7 +291,7 @@ export declare const actionChangeStrokeWidth: {
280
291
  currentItemEndArrowhead: Arrowhead | null;
281
292
  currentHoveredFontFamily: number | null;
282
293
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
283
- currentItemArrowType: "round" | "sharp" | "elbow";
294
+ currentItemArrowType: "sharp" | "round" | "elbow";
284
295
  viewBackgroundColor: string;
285
296
  scrollX: number;
286
297
  scrollY: number;
@@ -374,7 +385,6 @@ export declare const actionChangeStrokeWidth: {
374
385
  shown: true;
375
386
  data: import("../charts").Spreadsheet;
376
387
  };
377
- pendingImageElementId: string | null;
378
388
  showHyperlinkPopup: false | "info" | "editor";
379
389
  selectedLinearElement: LinearElementEditor | null;
380
390
  snapLines: readonly import("../snapping").SnapLine[];
@@ -391,6 +401,10 @@ export declare const actionChangeStrokeWidth: {
391
401
  focusedId: string | null;
392
402
  matches: readonly import("../types").SearchMatch[];
393
403
  }> | null;
404
+ activeLockedId: string | null;
405
+ lockedMultiSelections: {
406
+ [groupId: string]: true;
407
+ };
394
408
  };
395
409
  captureUpdate: "IMMEDIATELY";
396
410
  };
@@ -468,7 +482,7 @@ export declare const actionChangeSloppiness: {
468
482
  currentItemEndArrowhead: Arrowhead | null;
469
483
  currentHoveredFontFamily: number | null;
470
484
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
471
- currentItemArrowType: "round" | "sharp" | "elbow";
485
+ currentItemArrowType: "sharp" | "round" | "elbow";
472
486
  viewBackgroundColor: string;
473
487
  scrollX: number;
474
488
  scrollY: number;
@@ -562,7 +576,6 @@ export declare const actionChangeSloppiness: {
562
576
  shown: true;
563
577
  data: import("../charts").Spreadsheet;
564
578
  };
565
- pendingImageElementId: string | null;
566
579
  showHyperlinkPopup: false | "info" | "editor";
567
580
  selectedLinearElement: LinearElementEditor | null;
568
581
  snapLines: readonly import("../snapping").SnapLine[];
@@ -579,6 +592,10 @@ export declare const actionChangeSloppiness: {
579
592
  focusedId: string | null;
580
593
  matches: readonly import("../types").SearchMatch[];
581
594
  }> | null;
595
+ activeLockedId: string | null;
596
+ lockedMultiSelections: {
597
+ [groupId: string]: true;
598
+ };
582
599
  };
583
600
  captureUpdate: "IMMEDIATELY";
584
601
  };
@@ -656,7 +673,7 @@ export declare const actionChangeStrokeStyle: {
656
673
  currentItemEndArrowhead: Arrowhead | null;
657
674
  currentHoveredFontFamily: number | null;
658
675
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
659
- currentItemArrowType: "round" | "sharp" | "elbow";
676
+ currentItemArrowType: "sharp" | "round" | "elbow";
660
677
  viewBackgroundColor: string;
661
678
  scrollX: number;
662
679
  scrollY: number;
@@ -750,7 +767,6 @@ export declare const actionChangeStrokeStyle: {
750
767
  shown: true;
751
768
  data: import("../charts").Spreadsheet;
752
769
  };
753
- pendingImageElementId: string | null;
754
770
  showHyperlinkPopup: false | "info" | "editor";
755
771
  selectedLinearElement: LinearElementEditor | null;
756
772
  snapLines: readonly import("../snapping").SnapLine[];
@@ -767,6 +783,10 @@ export declare const actionChangeStrokeStyle: {
767
783
  focusedId: string | null;
768
784
  matches: readonly import("../types").SearchMatch[];
769
785
  }> | null;
786
+ activeLockedId: string | null;
787
+ lockedMultiSelections: {
788
+ [groupId: string]: true;
789
+ };
770
790
  };
771
791
  captureUpdate: "IMMEDIATELY";
772
792
  };
@@ -844,7 +864,7 @@ export declare const actionChangeOpacity: {
844
864
  currentItemEndArrowhead: Arrowhead | null;
845
865
  currentHoveredFontFamily: number | null;
846
866
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
847
- currentItemArrowType: "round" | "sharp" | "elbow";
867
+ currentItemArrowType: "sharp" | "round" | "elbow";
848
868
  viewBackgroundColor: string;
849
869
  scrollX: number;
850
870
  scrollY: number;
@@ -938,7 +958,6 @@ export declare const actionChangeOpacity: {
938
958
  shown: true;
939
959
  data: import("../charts").Spreadsheet;
940
960
  };
941
- pendingImageElementId: string | null;
942
961
  showHyperlinkPopup: false | "info" | "editor";
943
962
  selectedLinearElement: LinearElementEditor | null;
944
963
  snapLines: readonly import("../snapping").SnapLine[];
@@ -955,6 +974,10 @@ export declare const actionChangeOpacity: {
955
974
  focusedId: string | null;
956
975
  matches: readonly import("../types").SearchMatch[];
957
976
  }> | null;
977
+ activeLockedId: string | null;
978
+ lockedMultiSelections: {
979
+ [groupId: string]: true;
980
+ };
958
981
  };
959
982
  captureUpdate: "IMMEDIATELY";
960
983
  };
@@ -1032,7 +1055,7 @@ export declare const actionChangeFontSize: {
1032
1055
  currentItemEndArrowhead: Arrowhead | null;
1033
1056
  currentHoveredFontFamily: number | null;
1034
1057
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1035
- currentItemArrowType: "round" | "sharp" | "elbow";
1058
+ currentItemArrowType: "sharp" | "round" | "elbow";
1036
1059
  viewBackgroundColor: string;
1037
1060
  scrollX: number;
1038
1061
  scrollY: number;
@@ -1126,7 +1149,6 @@ export declare const actionChangeFontSize: {
1126
1149
  shown: true;
1127
1150
  data: import("../charts").Spreadsheet;
1128
1151
  };
1129
- pendingImageElementId: string | null;
1130
1152
  showHyperlinkPopup: false | "info" | "editor";
1131
1153
  selectedLinearElement: LinearElementEditor | null;
1132
1154
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1143,6 +1165,10 @@ export declare const actionChangeFontSize: {
1143
1165
  focusedId: string | null;
1144
1166
  matches: readonly import("../types").SearchMatch[];
1145
1167
  }> | null;
1168
+ activeLockedId: string | null;
1169
+ lockedMultiSelections: {
1170
+ [groupId: string]: true;
1171
+ };
1146
1172
  };
1147
1173
  captureUpdate: "IMMEDIATELY";
1148
1174
  };
@@ -1221,7 +1247,7 @@ export declare const actionDecreaseFontSize: {
1221
1247
  currentItemEndArrowhead: Arrowhead | null;
1222
1248
  currentHoveredFontFamily: number | null;
1223
1249
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1224
- currentItemArrowType: "round" | "sharp" | "elbow";
1250
+ currentItemArrowType: "sharp" | "round" | "elbow";
1225
1251
  viewBackgroundColor: string;
1226
1252
  scrollX: number;
1227
1253
  scrollY: number;
@@ -1315,7 +1341,6 @@ export declare const actionDecreaseFontSize: {
1315
1341
  shown: true;
1316
1342
  data: import("../charts").Spreadsheet;
1317
1343
  };
1318
- pendingImageElementId: string | null;
1319
1344
  showHyperlinkPopup: false | "info" | "editor";
1320
1345
  selectedLinearElement: LinearElementEditor | null;
1321
1346
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1332,6 +1357,10 @@ export declare const actionDecreaseFontSize: {
1332
1357
  focusedId: string | null;
1333
1358
  matches: readonly import("../types").SearchMatch[];
1334
1359
  }> | null;
1360
+ activeLockedId: string | null;
1361
+ lockedMultiSelections: {
1362
+ [groupId: string]: true;
1363
+ };
1335
1364
  };
1336
1365
  captureUpdate: "IMMEDIATELY";
1337
1366
  };
@@ -1410,7 +1439,7 @@ export declare const actionIncreaseFontSize: {
1410
1439
  currentItemEndArrowhead: Arrowhead | null;
1411
1440
  currentHoveredFontFamily: number | null;
1412
1441
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1413
- currentItemArrowType: "round" | "sharp" | "elbow";
1442
+ currentItemArrowType: "sharp" | "round" | "elbow";
1414
1443
  viewBackgroundColor: string;
1415
1444
  scrollX: number;
1416
1445
  scrollY: number;
@@ -1504,7 +1533,6 @@ export declare const actionIncreaseFontSize: {
1504
1533
  shown: true;
1505
1534
  data: import("../charts").Spreadsheet;
1506
1535
  };
1507
- pendingImageElementId: string | null;
1508
1536
  showHyperlinkPopup: false | "info" | "editor";
1509
1537
  selectedLinearElement: LinearElementEditor | null;
1510
1538
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1521,6 +1549,10 @@ export declare const actionIncreaseFontSize: {
1521
1549
  focusedId: string | null;
1522
1550
  matches: readonly import("../types").SearchMatch[];
1523
1551
  }> | null;
1552
+ activeLockedId: string | null;
1553
+ lockedMultiSelections: {
1554
+ [groupId: string]: true;
1555
+ };
1524
1556
  };
1525
1557
  captureUpdate: "IMMEDIATELY";
1526
1558
  };
@@ -1598,7 +1630,7 @@ export declare const actionChangeFontFamily: {
1598
1630
  currentItemStartArrowhead: Arrowhead | null;
1599
1631
  currentItemEndArrowhead: Arrowhead | null;
1600
1632
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1601
- currentItemArrowType: "round" | "sharp" | "elbow";
1633
+ currentItemArrowType: "sharp" | "round" | "elbow";
1602
1634
  viewBackgroundColor: string;
1603
1635
  scrollX: number;
1604
1636
  scrollY: number;
@@ -1691,7 +1723,6 @@ export declare const actionChangeFontFamily: {
1691
1723
  shown: true;
1692
1724
  data: import("../charts").Spreadsheet;
1693
1725
  };
1694
- pendingImageElementId: string | null;
1695
1726
  showHyperlinkPopup: false | "info" | "editor";
1696
1727
  selectedLinearElement: LinearElementEditor | null;
1697
1728
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1708,6 +1739,10 @@ export declare const actionChangeFontFamily: {
1708
1739
  focusedId: string | null;
1709
1740
  matches: readonly import("../types").SearchMatch[];
1710
1741
  }> | null;
1742
+ activeLockedId: string | null;
1743
+ lockedMultiSelections: {
1744
+ [groupId: string]: true;
1745
+ };
1711
1746
  };
1712
1747
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1713
1748
  } | {
@@ -1777,7 +1812,7 @@ export declare const actionChangeFontFamily: {
1777
1812
  currentItemStartArrowhead: Arrowhead | null;
1778
1813
  currentItemEndArrowhead: Arrowhead | null;
1779
1814
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1780
- currentItemArrowType: "round" | "sharp" | "elbow";
1815
+ currentItemArrowType: "sharp" | "round" | "elbow";
1781
1816
  viewBackgroundColor: string;
1782
1817
  scrollX: number;
1783
1818
  scrollY: number;
@@ -1870,7 +1905,6 @@ export declare const actionChangeFontFamily: {
1870
1905
  shown: true;
1871
1906
  data: import("../charts").Spreadsheet;
1872
1907
  };
1873
- pendingImageElementId: string | null;
1874
1908
  showHyperlinkPopup: false | "info" | "editor";
1875
1909
  selectedLinearElement: LinearElementEditor | null;
1876
1910
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1887,6 +1921,10 @@ export declare const actionChangeFontFamily: {
1887
1921
  focusedId: string | null;
1888
1922
  matches: readonly import("../types").SearchMatch[];
1889
1923
  }> | null;
1924
+ activeLockedId: string | null;
1925
+ lockedMultiSelections: {
1926
+ [groupId: string]: true;
1927
+ };
1890
1928
  };
1891
1929
  captureUpdate: "NEVER";
1892
1930
  };
@@ -1964,7 +2002,7 @@ export declare const actionChangeTextAlign: {
1964
2002
  currentItemEndArrowhead: Arrowhead | null;
1965
2003
  currentHoveredFontFamily: number | null;
1966
2004
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1967
- currentItemArrowType: "round" | "sharp" | "elbow";
2005
+ currentItemArrowType: "sharp" | "round" | "elbow";
1968
2006
  viewBackgroundColor: string;
1969
2007
  scrollX: number;
1970
2008
  scrollY: number;
@@ -2058,7 +2096,6 @@ export declare const actionChangeTextAlign: {
2058
2096
  shown: true;
2059
2097
  data: import("../charts").Spreadsheet;
2060
2098
  };
2061
- pendingImageElementId: string | null;
2062
2099
  showHyperlinkPopup: false | "info" | "editor";
2063
2100
  selectedLinearElement: LinearElementEditor | null;
2064
2101
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2075,6 +2112,10 @@ export declare const actionChangeTextAlign: {
2075
2112
  focusedId: string | null;
2076
2113
  matches: readonly import("../types").SearchMatch[];
2077
2114
  }> | null;
2115
+ activeLockedId: string | null;
2116
+ lockedMultiSelections: {
2117
+ [groupId: string]: true;
2118
+ };
2078
2119
  };
2079
2120
  captureUpdate: "IMMEDIATELY";
2080
2121
  };
@@ -2154,7 +2195,7 @@ export declare const actionChangeVerticalAlign: {
2154
2195
  currentItemEndArrowhead: Arrowhead | null;
2155
2196
  currentHoveredFontFamily: number | null;
2156
2197
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2157
- currentItemArrowType: "round" | "sharp" | "elbow";
2198
+ currentItemArrowType: "sharp" | "round" | "elbow";
2158
2199
  viewBackgroundColor: string;
2159
2200
  scrollX: number;
2160
2201
  scrollY: number;
@@ -2248,7 +2289,6 @@ export declare const actionChangeVerticalAlign: {
2248
2289
  shown: true;
2249
2290
  data: import("../charts").Spreadsheet;
2250
2291
  };
2251
- pendingImageElementId: string | null;
2252
2292
  showHyperlinkPopup: false | "info" | "editor";
2253
2293
  selectedLinearElement: LinearElementEditor | null;
2254
2294
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2265,6 +2305,10 @@ export declare const actionChangeVerticalAlign: {
2265
2305
  focusedId: string | null;
2266
2306
  matches: readonly import("../types").SearchMatch[];
2267
2307
  }> | null;
2308
+ activeLockedId: string | null;
2309
+ lockedMultiSelections: {
2310
+ [groupId: string]: true;
2311
+ };
2268
2312
  };
2269
2313
  captureUpdate: "IMMEDIATELY";
2270
2314
  };
@@ -2342,7 +2386,7 @@ export declare const actionChangeRoundness: {
2342
2386
  currentItemStartArrowhead: Arrowhead | null;
2343
2387
  currentItemEndArrowhead: Arrowhead | null;
2344
2388
  currentHoveredFontFamily: number | null;
2345
- currentItemArrowType: "round" | "sharp" | "elbow";
2389
+ currentItemArrowType: "sharp" | "round" | "elbow";
2346
2390
  viewBackgroundColor: string;
2347
2391
  scrollX: number;
2348
2392
  scrollY: number;
@@ -2436,7 +2480,6 @@ export declare const actionChangeRoundness: {
2436
2480
  shown: true;
2437
2481
  data: import("../charts").Spreadsheet;
2438
2482
  };
2439
- pendingImageElementId: string | null;
2440
2483
  showHyperlinkPopup: false | "info" | "editor";
2441
2484
  selectedLinearElement: LinearElementEditor | null;
2442
2485
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2453,10 +2496,14 @@ export declare const actionChangeRoundness: {
2453
2496
  focusedId: string | null;
2454
2497
  matches: readonly import("../types").SearchMatch[];
2455
2498
  }> | null;
2499
+ activeLockedId: string | null;
2500
+ lockedMultiSelections: {
2501
+ [groupId: string]: true;
2502
+ };
2456
2503
  };
2457
2504
  captureUpdate: "IMMEDIATELY";
2458
2505
  };
2459
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2506
+ PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2460
2507
  } & {
2461
2508
  keyTest?: undefined;
2462
2509
  };
@@ -2533,7 +2580,7 @@ export declare const actionChangeArrowhead: {
2533
2580
  currentItemEndArrowhead: Arrowhead | null;
2534
2581
  currentHoveredFontFamily: number | null;
2535
2582
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2536
- currentItemArrowType: "round" | "sharp" | "elbow";
2583
+ currentItemArrowType: "sharp" | "round" | "elbow";
2537
2584
  viewBackgroundColor: string;
2538
2585
  scrollX: number;
2539
2586
  scrollY: number;
@@ -2627,7 +2674,6 @@ export declare const actionChangeArrowhead: {
2627
2674
  shown: true;
2628
2675
  data: import("../charts").Spreadsheet;
2629
2676
  };
2630
- pendingImageElementId: string | null;
2631
2677
  showHyperlinkPopup: false | "info" | "editor";
2632
2678
  selectedLinearElement: LinearElementEditor | null;
2633
2679
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2644,6 +2690,10 @@ export declare const actionChangeArrowhead: {
2644
2690
  focusedId: string | null;
2645
2691
  matches: readonly import("../types").SearchMatch[];
2646
2692
  }> | null;
2693
+ activeLockedId: string | null;
2694
+ lockedMultiSelections: {
2695
+ [groupId: string]: true;
2696
+ };
2647
2697
  };
2648
2698
  captureUpdate: "IMMEDIATELY";
2649
2699
  };
@@ -2815,7 +2865,6 @@ export declare const actionChangeArrowType: {
2815
2865
  shown: true;
2816
2866
  data: import("../charts").Spreadsheet;
2817
2867
  };
2818
- pendingImageElementId: string | null;
2819
2868
  showHyperlinkPopup: false | "info" | "editor";
2820
2869
  selectedLinearElement: LinearElementEditor | null;
2821
2870
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2832,6 +2881,10 @@ export declare const actionChangeArrowType: {
2832
2881
  focusedId: string | null;
2833
2882
  matches: readonly import("../types").SearchMatch[];
2834
2883
  }> | null;
2884
+ activeLockedId: string | null;
2885
+ lockedMultiSelections: {
2886
+ [groupId: string]: true;
2887
+ };
2835
2888
  };
2836
2889
  captureUpdate: "IMMEDIATELY";
2837
2890
  };
@@ -82,7 +82,7 @@ export declare const actionSelectAll: {
82
82
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
83
83
  currentHoveredFontFamily: number | null;
84
84
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
85
- currentItemArrowType: "round" | "sharp" | "elbow";
85
+ currentItemArrowType: "sharp" | "round" | "elbow";
86
86
  viewBackgroundColor: string;
87
87
  scrollX: number;
88
88
  scrollY: number;
@@ -169,7 +169,6 @@ export declare const actionSelectAll: {
169
169
  shown: true;
170
170
  data: import("../charts").Spreadsheet;
171
171
  };
172
- pendingImageElementId: string | null;
173
172
  showHyperlinkPopup: false | "info" | "editor";
174
173
  snapLines: readonly import("../snapping").SnapLine[];
175
174
  originSnapOffset: {
@@ -185,6 +184,10 @@ export declare const actionSelectAll: {
185
184
  focusedId: string | null;
186
185
  matches: readonly import("../types").SearchMatch[];
187
186
  }> | null;
187
+ activeLockedId: string | null;
188
+ lockedMultiSelections: {
189
+ [groupId: string]: true;
190
+ };
188
191
  };
189
192
  captureUpdate: "IMMEDIATELY";
190
193
  };
@@ -75,7 +75,7 @@ export declare const actionCopyStyles: {
75
75
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
76
76
  currentHoveredFontFamily: number | null;
77
77
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
78
- currentItemArrowType: "round" | "sharp" | "elbow";
78
+ currentItemArrowType: "sharp" | "round" | "elbow";
79
79
  viewBackgroundColor: string;
80
80
  scrollX: number;
81
81
  scrollY: number;
@@ -164,7 +164,6 @@ export declare const actionCopyStyles: {
164
164
  shown: true;
165
165
  data: import("../charts").Spreadsheet;
166
166
  };
167
- pendingImageElementId: string | null;
168
167
  showHyperlinkPopup: false | "info" | "editor";
169
168
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
170
169
  snapLines: readonly import("../snapping").SnapLine[];
@@ -181,6 +180,10 @@ export declare const actionCopyStyles: {
181
180
  focusedId: string | null;
182
181
  matches: readonly import("../types").SearchMatch[];
183
182
  }> | null;
183
+ activeLockedId: string | null;
184
+ lockedMultiSelections: {
185
+ [groupId: string]: true;
186
+ };
184
187
  };
185
188
  captureUpdate: "EVENTUALLY";
186
189
  };
@@ -77,7 +77,7 @@ export declare const actionToggleGridMode: {
77
77
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
78
78
  currentHoveredFontFamily: number | null;
79
79
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
80
- currentItemArrowType: "round" | "sharp" | "elbow";
80
+ currentItemArrowType: "sharp" | "round" | "elbow";
81
81
  viewBackgroundColor: string;
82
82
  scrollX: number;
83
83
  scrollY: number;
@@ -170,7 +170,6 @@ export declare const actionToggleGridMode: {
170
170
  shown: true;
171
171
  data: import("../charts").Spreadsheet;
172
172
  };
173
- pendingImageElementId: string | null;
174
173
  showHyperlinkPopup: false | "info" | "editor";
175
174
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
176
175
  snapLines: readonly import("../snapping").SnapLine[];
@@ -186,6 +185,10 @@ export declare const actionToggleGridMode: {
186
185
  focusedId: string | null;
187
186
  matches: readonly import("../types").SearchMatch[];
188
187
  }> | null;
188
+ activeLockedId: string | null;
189
+ lockedMultiSelections: {
190
+ [groupId: string]: true;
191
+ };
189
192
  };
190
193
  captureUpdate: "EVENTUALLY";
191
194
  };
@@ -75,7 +75,7 @@ export declare const actionToggleObjectsSnapMode: {
75
75
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
76
76
  currentHoveredFontFamily: number | null;
77
77
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
78
- currentItemArrowType: "round" | "sharp" | "elbow";
78
+ currentItemArrowType: "sharp" | "round" | "elbow";
79
79
  viewBackgroundColor: string;
80
80
  scrollX: number;
81
81
  scrollY: number;
@@ -168,7 +168,6 @@ export declare const actionToggleObjectsSnapMode: {
168
168
  shown: true;
169
169
  data: import("../charts").Spreadsheet;
170
170
  };
171
- pendingImageElementId: string | null;
172
171
  showHyperlinkPopup: false | "info" | "editor";
173
172
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
174
173
  snapLines: readonly import("../snapping").SnapLine[];
@@ -184,6 +183,10 @@ export declare const actionToggleObjectsSnapMode: {
184
183
  focusedId: string | null;
185
184
  matches: readonly import("../types").SearchMatch[];
186
185
  }> | null;
186
+ activeLockedId: string | null;
187
+ lockedMultiSelections: {
188
+ [groupId: string]: true;
189
+ };
187
190
  };
188
191
  captureUpdate: "EVENTUALLY";
189
192
  };
@@ -81,7 +81,7 @@ export declare const actionToggleSearchMenu: {
81
81
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
82
82
  currentHoveredFontFamily: number | null;
83
83
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
84
- currentItemArrowType: "round" | "sharp" | "elbow";
84
+ currentItemArrowType: "sharp" | "round" | "elbow";
85
85
  viewBackgroundColor: string;
86
86
  scrollX: number;
87
87
  scrollY: number;
@@ -160,7 +160,6 @@ export declare const actionToggleSearchMenu: {
160
160
  shown: true;
161
161
  data: import("../charts").Spreadsheet;
162
162
  };
163
- pendingImageElementId: string | null;
164
163
  showHyperlinkPopup: false | "info" | "editor";
165
164
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
166
165
  snapLines: readonly import("../snapping").SnapLine[];
@@ -177,6 +176,10 @@ export declare const actionToggleSearchMenu: {
177
176
  focusedId: string | null;
178
177
  matches: readonly import("../types").SearchMatch[];
179
178
  }> | null;
179
+ activeLockedId: string | null;
180
+ lockedMultiSelections: {
181
+ [groupId: string]: true;
182
+ };
180
183
  };
181
184
  captureUpdate: "EVENTUALLY";
182
185
  };
@@ -77,7 +77,7 @@ export declare const actionToggleStats: {
77
77
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
78
78
  currentHoveredFontFamily: number | null;
79
79
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
80
- currentItemArrowType: "round" | "sharp" | "elbow";
80
+ currentItemArrowType: "sharp" | "round" | "elbow";
81
81
  viewBackgroundColor: string;
82
82
  scrollX: number;
83
83
  scrollY: number;
@@ -167,7 +167,6 @@ export declare const actionToggleStats: {
167
167
  shown: true;
168
168
  data: import("../charts").Spreadsheet;
169
169
  };
170
- pendingImageElementId: string | null;
171
170
  showHyperlinkPopup: false | "info" | "editor";
172
171
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
173
172
  snapLines: readonly import("../snapping").SnapLine[];
@@ -184,6 +183,10 @@ export declare const actionToggleStats: {
184
183
  focusedId: string | null;
185
184
  matches: readonly import("../types").SearchMatch[];
186
185
  }> | null;
186
+ activeLockedId: string | null;
187
+ lockedMultiSelections: {
188
+ [groupId: string]: true;
189
+ };
187
190
  };
188
191
  captureUpdate: "EVENTUALLY";
189
192
  };
@@ -74,7 +74,7 @@ export declare const actionToggleViewMode: {
74
74
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
75
75
  currentHoveredFontFamily: number | null;
76
76
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
77
- currentItemArrowType: "round" | "sharp" | "elbow";
77
+ currentItemArrowType: "sharp" | "round" | "elbow";
78
78
  viewBackgroundColor: string;
79
79
  scrollX: number;
80
80
  scrollY: number;
@@ -167,7 +167,6 @@ export declare const actionToggleViewMode: {
167
167
  shown: true;
168
168
  data: import("../charts").Spreadsheet;
169
169
  };
170
- pendingImageElementId: string | null;
171
170
  showHyperlinkPopup: false | "info" | "editor";
172
171
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
173
172
  snapLines: readonly import("../snapping").SnapLine[];
@@ -184,6 +183,10 @@ export declare const actionToggleViewMode: {
184
183
  focusedId: string | null;
185
184
  matches: readonly import("../types").SearchMatch[];
186
185
  }> | null;
186
+ activeLockedId: string | null;
187
+ lockedMultiSelections: {
188
+ [groupId: string]: true;
189
+ };
187
190
  };
188
191
  captureUpdate: "EVENTUALLY";
189
192
  };
@@ -74,7 +74,7 @@ export declare const actionToggleZenMode: {
74
74
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
75
75
  currentHoveredFontFamily: number | null;
76
76
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
77
- currentItemArrowType: "round" | "sharp" | "elbow";
77
+ currentItemArrowType: "sharp" | "round" | "elbow";
78
78
  viewBackgroundColor: string;
79
79
  scrollX: number;
80
80
  scrollY: number;
@@ -167,7 +167,6 @@ export declare const actionToggleZenMode: {
167
167
  shown: true;
168
168
  data: import("../charts").Spreadsheet;
169
169
  };
170
- pendingImageElementId: string | null;
171
170
  showHyperlinkPopup: false | "info" | "editor";
172
171
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
173
172
  snapLines: readonly import("../snapping").SnapLine[];
@@ -184,6 +183,10 @@ export declare const actionToggleZenMode: {
184
183
  focusedId: string | null;
185
184
  matches: readonly import("../types").SearchMatch[];
186
185
  }> | null;
186
+ activeLockedId: string | null;
187
+ lockedMultiSelections: {
188
+ [groupId: string]: true;
189
+ };
187
190
  };
188
191
  captureUpdate: "EVENTUALLY";
189
192
  };