@misenkashari/excalidraw-element 1.0.3 → 1.0.6

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 (159) hide show
  1. package/dist/dev/index.js +73 -73
  2. package/dist/dev/index.js.map +1 -1
  3. package/dist/prod/index.js +8 -8
  4. package/dist/types/common/src/constants.d.ts +1 -1
  5. package/dist/types/common/src/font-metadata.d.ts +1 -1
  6. package/dist/types/common/src/points.d.ts +1 -1
  7. package/dist/types/common/src/utils.d.ts +1 -1
  8. package/dist/types/common/src/visualdebug.d.ts +3 -3
  9. package/dist/types/element/src/Scene.d.ts +4 -4
  10. package/dist/types/element/src/binding.d.ts +3 -3
  11. package/dist/types/element/src/bounds.d.ts +2 -2
  12. package/dist/types/element/src/collision.d.ts +1 -1
  13. package/dist/types/element/src/delta.d.ts +2 -2
  14. package/dist/types/element/src/distance.d.ts +1 -1
  15. package/dist/types/element/src/dragElements.d.ts +1 -1
  16. package/dist/types/element/src/duplicate.d.ts +1 -1
  17. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  18. package/dist/types/element/src/embeddable.d.ts +1 -1
  19. package/dist/types/element/src/frame.d.ts +1 -1
  20. package/dist/types/element/src/groups.d.ts +1 -1
  21. package/dist/types/element/src/heading.d.ts +2 -2
  22. package/dist/types/element/src/image.d.ts +1 -1
  23. package/dist/types/element/src/linearElementEditor.d.ts +3 -3
  24. package/dist/types/element/src/mutateElement.d.ts +1 -1
  25. package/dist/types/element/src/newElement.d.ts +1 -1
  26. package/dist/types/element/src/renderElement.d.ts +2 -2
  27. package/dist/types/element/src/resizeElements.d.ts +1 -1
  28. package/dist/types/element/src/resizeTest.d.ts +3 -3
  29. package/dist/types/element/src/shape.d.ts +3 -3
  30. package/dist/types/element/src/store.d.ts +2 -2
  31. package/dist/types/element/src/textElement.d.ts +2 -2
  32. package/dist/types/element/src/transform.d.ts +1 -1
  33. package/dist/types/element/src/transformHandles.d.ts +3 -3
  34. package/dist/types/element/src/typeChecks.d.ts +1 -1
  35. package/dist/types/element/src/types.d.ts +3 -3
  36. package/dist/types/element/src/utils.d.ts +2 -2
  37. package/dist/types/element/src/zindex.d.ts +1 -1
  38. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +82 -82
  39. package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
  40. package/dist/types/excalidraw/actions/actionBoundText.d.ts +50 -50
  41. package/dist/types/excalidraw/actions/actionCanvas.d.ts +275 -275
  42. package/dist/types/excalidraw/actions/actionClipboard.d.ts +63 -63
  43. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +28 -28
  44. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +69 -69
  45. package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
  46. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  47. package/dist/types/excalidraw/actions/actionElementLink.d.ts +32 -32
  48. package/dist/types/excalidraw/actions/actionElementLock.d.ts +49 -49
  49. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +29 -29
  50. package/dist/types/excalidraw/actions/actionExport.d.ts +116 -116
  51. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
  52. package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
  53. package/dist/types/excalidraw/actions/actionFrame.d.ts +242 -242
  54. package/dist/types/excalidraw/actions/actionGroup.d.ts +43 -43
  55. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +181 -181
  56. package/dist/types/excalidraw/actions/actionLink.d.ts +31 -31
  57. package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -27
  58. package/dist/types/excalidraw/actions/actionNavigate.d.ts +2 -2
  59. package/dist/types/excalidraw/actions/actionProperties.d.ts +39 -39
  60. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +23 -23
  61. package/dist/types/excalidraw/actions/actionStyles.d.ts +31 -31
  62. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  63. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +29 -29
  64. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +29 -29
  65. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +28 -28
  66. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +2 -2
  67. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +28 -28
  68. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +29 -29
  69. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +29 -29
  70. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  71. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  72. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  73. package/dist/types/excalidraw/actions/types.d.ts +2 -2
  74. package/dist/types/excalidraw/appState.d.ts +10 -10
  75. package/dist/types/excalidraw/charts.d.ts +1 -1
  76. package/dist/types/excalidraw/clipboard.d.ts +4 -4
  77. package/dist/types/excalidraw/components/Actions.d.ts +1 -1
  78. package/dist/types/excalidraw/components/App.d.ts +9 -9
  79. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
  80. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
  81. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
  82. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
  83. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +2 -2
  84. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  85. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
  86. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  87. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  88. package/dist/types/excalidraw/components/ElementCanvasButtons.d.ts +1 -1
  89. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
  90. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  91. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
  92. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -2
  93. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
  94. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  95. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
  96. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
  97. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  98. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  99. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  100. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  101. package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
  102. package/dist/types/excalidraw/components/MobileMenu.d.ts +1 -1
  103. package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
  104. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  105. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
  106. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
  107. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +2 -2
  108. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
  109. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
  110. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +2 -2
  111. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
  112. package/dist/types/excalidraw/components/Stats/Position.d.ts +2 -2
  113. package/dist/types/excalidraw/components/Stats/index.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Stats/utils.d.ts +2 -2
  115. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  116. package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
  117. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
  118. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -1
  119. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  120. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
  121. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
  122. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
  123. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +3 -3
  124. package/dist/types/excalidraw/components/icons.d.ts +1 -1
  125. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  126. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
  127. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +2 -4
  128. package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
  129. package/dist/types/excalidraw/data/blob.d.ts +49 -49
  130. package/dist/types/excalidraw/data/filesystem.d.ts +1 -1
  131. package/dist/types/excalidraw/data/index.d.ts +1 -1
  132. package/dist/types/excalidraw/data/json.d.ts +24 -24
  133. package/dist/types/excalidraw/data/library.d.ts +2 -2
  134. package/dist/types/excalidraw/data/reconcile.d.ts +2 -2
  135. package/dist/types/excalidraw/data/resave.d.ts +1 -1
  136. package/dist/types/excalidraw/data/restore.d.ts +2 -2
  137. package/dist/types/excalidraw/data/types.d.ts +2 -2
  138. package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -3
  139. package/dist/types/excalidraw/history.d.ts +4 -4
  140. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  141. package/dist/types/excalidraw/i18n.d.ts +1 -1
  142. package/dist/types/excalidraw/index.d.ts +12 -12
  143. package/dist/types/excalidraw/lasso/utils.d.ts +2 -2
  144. package/dist/types/excalidraw/renderer/staticScene.d.ts +1 -1
  145. package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +1 -1
  146. package/dist/types/excalidraw/scene/Renderer.d.ts +2 -2
  147. package/dist/types/excalidraw/scene/export.d.ts +1 -1
  148. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  149. package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
  150. package/dist/types/excalidraw/scene/types.d.ts +3 -3
  151. package/dist/types/excalidraw/snapping.d.ts +5 -5
  152. package/dist/types/excalidraw/types.d.ts +6 -6
  153. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +1 -1
  154. package/dist/types/utils/src/bbox.d.ts +2 -2
  155. package/dist/types/utils/src/export.d.ts +2 -2
  156. package/dist/types/utils/src/index.d.ts +1 -1
  157. package/dist/types/utils/src/shape.d.ts +4 -4
  158. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  159. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  export declare const actionCopy: import("./types").Action<ClipboardEvent | null> & {
2
- keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
2
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
3
3
  };
4
4
  export declare const actionPaste: {
5
5
  name: "paste";
@@ -7,7 +7,7 @@ export declare const actionPaste: {
7
7
  trackEvent: {
8
8
  category: "element";
9
9
  };
10
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, data: unknown, app: import("../types").AppClassProperties) => Promise<false | {
10
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, data: unknown, app: import("../types").AppClassProperties) => Promise<false | {
11
11
  captureUpdate: "EVENTUALLY";
12
12
  appState: {
13
13
  errorMessage: string;
@@ -19,17 +19,17 @@ export declare const actionPaste: {
19
19
  showWelcomeScreen: boolean;
20
20
  isLoading: boolean;
21
21
  activeEmbeddable: {
22
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
22
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
23
23
  state: "hover" | "active";
24
24
  } | null;
25
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
26
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
28
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
25
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
26
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
27
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
28
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
29
29
  isBindingEnabled: boolean;
30
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
31
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
32
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
30
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
31
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
32
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
33
33
  frameRendering: {
34
34
  enabled: boolean;
35
35
  name: boolean;
@@ -37,8 +37,8 @@ export declare const actionPaste: {
37
37
  clip: boolean;
38
38
  };
39
39
  editingFrame: string | null;
40
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
41
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
40
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
41
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
42
42
  activeTool: {
43
43
  lastActiveTool: import("../types").ActiveTool | null;
44
44
  locked: boolean;
@@ -56,18 +56,18 @@ export declare const actionPaste: {
56
56
  exportScale: number;
57
57
  currentItemStrokeColor: string;
58
58
  currentItemBackgroundColor: string;
59
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
59
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
60
60
  currentItemStrokeWidth: number;
61
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
61
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
62
62
  currentItemRoughness: number;
63
63
  currentItemOpacity: number;
64
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
64
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
65
65
  currentItemFontSize: number;
66
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
67
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
68
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
69
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
70
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
66
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
67
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
68
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
69
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
70
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
71
71
  currentItemArrowType: "sharp" | "round" | "elbow";
72
72
  viewBackgroundColor: string;
73
73
  scrollX: number;
@@ -95,10 +95,10 @@ export declare const actionPaste: {
95
95
  name: "settings";
96
96
  } | {
97
97
  name: "elementLinkSelector";
98
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
98
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
99
99
  };
100
100
  defaultSidebarDockedPreference: boolean;
101
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
101
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
102
102
  selectedElementIds: Readonly<{
103
103
  [id: string]: true;
104
104
  }>;
@@ -116,7 +116,7 @@ export declare const actionPaste: {
116
116
  duration?: number;
117
117
  } | null;
118
118
  zenModeEnabled: boolean;
119
- theme: import("@excalidraw/element/types").Theme;
119
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
120
120
  gridSize: number;
121
121
  gridStep: number;
122
122
  gridModeEnabled: boolean;
@@ -124,7 +124,7 @@ export declare const actionPaste: {
124
124
  selectedGroupIds: {
125
125
  [groupId: string]: boolean;
126
126
  };
127
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
127
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
128
128
  width: number;
129
129
  height: number;
130
130
  offsetTop: number;
@@ -135,7 +135,7 @@ export declare const actionPaste: {
135
135
  open: boolean;
136
136
  panels: number;
137
137
  };
138
- currentChartType: import("@excalidraw/element/types").ChartType;
138
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
139
139
  pasteDialog: {
140
140
  shown: false;
141
141
  data: null;
@@ -144,7 +144,7 @@ export declare const actionPaste: {
144
144
  data: import("../charts").Spreadsheet;
145
145
  };
146
146
  showHyperlinkPopup: false | "info" | "editor";
147
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
147
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
148
148
  snapLines: readonly import("../snapping").SnapLine[];
149
149
  originSnapOffset: {
150
150
  x: number;
@@ -154,16 +154,16 @@ export declare const actionPaste: {
154
154
  userToFollow: import("../types").UserToFollow | null;
155
155
  followedBy: Set<import("../types").SocketId>;
156
156
  isCropping: boolean;
157
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
157
+ croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
158
158
  searchMatches: Readonly<{
159
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
159
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
160
160
  matches: readonly import("../types").SearchMatch[];
161
161
  }> | null;
162
162
  activeLockedId: string | null;
163
163
  lockedMultiSelections: {
164
164
  [groupId: string]: true;
165
165
  };
166
- bindMode: import("@excalidraw/element/types").BindMode;
166
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
167
167
  };
168
168
  } | {
169
169
  captureUpdate: "EVENTUALLY";
@@ -174,7 +174,7 @@ export declare const actionPaste: {
174
174
  keyTest?: undefined;
175
175
  };
176
176
  export declare const actionCut: import("./types").Action<ClipboardEvent | null> & {
177
- keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
177
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: import("../types").AppState, elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
178
178
  };
179
179
  export declare const actionCopyAsSvg: {
180
180
  name: "copyAsSvg";
@@ -183,7 +183,7 @@ export declare const actionCopyAsSvg: {
183
183
  trackEvent: {
184
184
  category: "element";
185
185
  };
186
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: unknown, app: import("../types").AppClassProperties) => Promise<{
186
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: unknown, app: import("../types").AppClassProperties) => Promise<{
187
187
  captureUpdate: "EVENTUALLY";
188
188
  appState?: undefined;
189
189
  } | {
@@ -201,7 +201,7 @@ export declare const actionCopyAsSvg: {
201
201
  };
202
202
  captureUpdate: "EVENTUALLY";
203
203
  }>;
204
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[]) => boolean;
204
+ predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[]) => boolean;
205
205
  keywords: string[];
206
206
  } & {
207
207
  keyTest?: undefined;
@@ -213,7 +213,7 @@ export declare const actionCopyAsPng: {
213
213
  trackEvent: {
214
214
  category: "element";
215
215
  };
216
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: unknown, app: import("../types").AppClassProperties) => Promise<{
216
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _data: unknown, app: import("../types").AppClassProperties) => Promise<{
217
217
  captureUpdate: "EVENTUALLY";
218
218
  appState?: undefined;
219
219
  } | {
@@ -227,17 +227,17 @@ export declare const actionCopyAsPng: {
227
227
  showWelcomeScreen: boolean;
228
228
  isLoading: boolean;
229
229
  activeEmbeddable: {
230
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
230
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
231
231
  state: "hover" | "active";
232
232
  } | null;
233
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
234
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
235
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
236
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
233
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
234
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
235
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
236
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
237
237
  isBindingEnabled: boolean;
238
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
239
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
240
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
238
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
239
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
240
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
241
241
  frameRendering: {
242
242
  enabled: boolean;
243
243
  name: boolean;
@@ -245,8 +245,8 @@ export declare const actionCopyAsPng: {
245
245
  clip: boolean;
246
246
  };
247
247
  editingFrame: string | null;
248
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
249
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
248
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
249
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
250
250
  activeTool: {
251
251
  lastActiveTool: import("../types").ActiveTool | null;
252
252
  locked: boolean;
@@ -264,18 +264,18 @@ export declare const actionCopyAsPng: {
264
264
  exportScale: number;
265
265
  currentItemStrokeColor: string;
266
266
  currentItemBackgroundColor: string;
267
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
267
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
268
268
  currentItemStrokeWidth: number;
269
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
269
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
270
270
  currentItemRoughness: number;
271
271
  currentItemOpacity: number;
272
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
272
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
273
273
  currentItemFontSize: number;
274
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
275
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
276
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
277
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
278
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
274
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
275
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
276
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
277
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
278
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
279
279
  currentItemArrowType: "sharp" | "round" | "elbow";
280
280
  viewBackgroundColor: string;
281
281
  scrollX: number;
@@ -303,10 +303,10 @@ export declare const actionCopyAsPng: {
303
303
  name: "settings";
304
304
  } | {
305
305
  name: "elementLinkSelector";
306
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
306
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
307
307
  };
308
308
  defaultSidebarDockedPreference: boolean;
309
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
309
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
310
310
  selectedElementIds: Readonly<{
311
311
  [id: string]: true;
312
312
  }>;
@@ -324,7 +324,7 @@ export declare const actionCopyAsPng: {
324
324
  duration?: number;
325
325
  } | null;
326
326
  zenModeEnabled: boolean;
327
- theme: import("@excalidraw/element/types").Theme;
327
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
328
328
  gridSize: number;
329
329
  gridStep: number;
330
330
  gridModeEnabled: boolean;
@@ -332,7 +332,7 @@ export declare const actionCopyAsPng: {
332
332
  selectedGroupIds: {
333
333
  [groupId: string]: boolean;
334
334
  };
335
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
335
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
336
336
  width: number;
337
337
  height: number;
338
338
  offsetTop: number;
@@ -343,7 +343,7 @@ export declare const actionCopyAsPng: {
343
343
  open: boolean;
344
344
  panels: number;
345
345
  };
346
- currentChartType: import("@excalidraw/element/types").ChartType;
346
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
347
347
  pasteDialog: {
348
348
  shown: false;
349
349
  data: null;
@@ -352,7 +352,7 @@ export declare const actionCopyAsPng: {
352
352
  data: import("../charts").Spreadsheet;
353
353
  };
354
354
  showHyperlinkPopup: false | "info" | "editor";
355
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
355
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
356
356
  snapLines: readonly import("../snapping").SnapLine[];
357
357
  originSnapOffset: {
358
358
  x: number;
@@ -362,20 +362,20 @@ export declare const actionCopyAsPng: {
362
362
  userToFollow: import("../types").UserToFollow | null;
363
363
  followedBy: Set<import("../types").SocketId>;
364
364
  isCropping: boolean;
365
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
365
+ croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
366
366
  searchMatches: Readonly<{
367
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
367
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
368
368
  matches: readonly import("../types").SearchMatch[];
369
369
  }> | null;
370
370
  activeLockedId: string | null;
371
371
  lockedMultiSelections: {
372
372
  [groupId: string]: true;
373
373
  };
374
- bindMode: import("@excalidraw/element/types").BindMode;
374
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
375
375
  };
376
376
  captureUpdate: "EVENTUALLY";
377
377
  }>;
378
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[]) => boolean;
378
+ predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[]) => boolean;
379
379
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
380
380
  keywords: string[];
381
381
  } & {
@@ -387,10 +387,10 @@ export declare const copyText: {
387
387
  trackEvent: {
388
388
  category: "element";
389
389
  };
390
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
390
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
391
391
  captureUpdate: "EVENTUALLY";
392
392
  };
393
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
393
+ predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
394
394
  keywords: string[];
395
395
  } & {
396
396
  keyTest?: undefined;
@@ -7,7 +7,7 @@ export declare const actionToggleCropEditor: {
7
7
  category: "menu";
8
8
  };
9
9
  keywords: string[];
10
- perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): {
10
+ perform(elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): {
11
11
  appState: {
12
12
  isCropping: false;
13
13
  croppingElementId: string;
@@ -20,17 +20,17 @@ export declare const actionToggleCropEditor: {
20
20
  isLoading: boolean;
21
21
  errorMessage: React.ReactNode;
22
22
  activeEmbeddable: {
23
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
23
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
24
24
  state: "hover" | "active";
25
25
  } | null;
26
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
27
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
28
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
29
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
26
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
27
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
28
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
29
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
30
30
  isBindingEnabled: boolean;
31
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
32
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
33
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
31
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
32
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
33
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
34
34
  frameRendering: {
35
35
  enabled: boolean;
36
36
  name: boolean;
@@ -38,8 +38,8 @@ export declare const actionToggleCropEditor: {
38
38
  clip: boolean;
39
39
  };
40
40
  editingFrame: string | null;
41
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
42
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
41
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
42
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
43
43
  activeTool: {
44
44
  lastActiveTool: import("../types").ActiveTool | null;
45
45
  locked: boolean;
@@ -57,18 +57,18 @@ export declare const actionToggleCropEditor: {
57
57
  exportScale: number;
58
58
  currentItemStrokeColor: string;
59
59
  currentItemBackgroundColor: string;
60
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
60
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
61
61
  currentItemStrokeWidth: number;
62
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
62
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
63
63
  currentItemRoughness: number;
64
64
  currentItemOpacity: number;
65
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
65
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
66
66
  currentItemFontSize: number;
67
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
68
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
69
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
70
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
71
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
67
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
68
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
69
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
70
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
71
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
72
72
  currentItemArrowType: "sharp" | "round" | "elbow";
73
73
  viewBackgroundColor: string;
74
74
  scrollX: number;
@@ -96,10 +96,10 @@ export declare const actionToggleCropEditor: {
96
96
  name: "settings";
97
97
  } | {
98
98
  name: "elementLinkSelector";
99
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
99
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
100
100
  };
101
101
  defaultSidebarDockedPreference: boolean;
102
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
102
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
103
103
  selectedElementIds: Readonly<{
104
104
  [id: string]: true;
105
105
  }>;
@@ -117,7 +117,7 @@ export declare const actionToggleCropEditor: {
117
117
  duration?: number;
118
118
  } | null;
119
119
  zenModeEnabled: boolean;
120
- theme: import("@excalidraw/element/types").Theme;
120
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
121
121
  gridSize: number;
122
122
  gridStep: number;
123
123
  gridModeEnabled: boolean;
@@ -125,7 +125,7 @@ export declare const actionToggleCropEditor: {
125
125
  selectedGroupIds: {
126
126
  [groupId: string]: boolean;
127
127
  };
128
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
128
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
129
129
  width: number;
130
130
  height: number;
131
131
  offsetTop: number;
@@ -136,7 +136,7 @@ export declare const actionToggleCropEditor: {
136
136
  open: boolean;
137
137
  panels: number;
138
138
  };
139
- currentChartType: import("@excalidraw/element/types").ChartType;
139
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
140
140
  pasteDialog: {
141
141
  shown: false;
142
142
  data: null;
@@ -145,7 +145,7 @@ export declare const actionToggleCropEditor: {
145
145
  data: import("../charts").Spreadsheet;
146
146
  };
147
147
  showHyperlinkPopup: false | "info" | "editor";
148
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
148
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
149
149
  snapLines: readonly import("../snapping").SnapLine[];
150
150
  originSnapOffset: {
151
151
  x: number;
@@ -155,18 +155,18 @@ export declare const actionToggleCropEditor: {
155
155
  userToFollow: import("../types").UserToFollow | null;
156
156
  followedBy: Set<import("../types").SocketId>;
157
157
  searchMatches: Readonly<{
158
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
158
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
159
159
  matches: readonly import("../types").SearchMatch[];
160
160
  }> | null;
161
161
  activeLockedId: string | null;
162
162
  lockedMultiSelections: {
163
163
  [groupId: string]: true;
164
164
  };
165
- bindMode: import("@excalidraw/element/types").BindMode;
165
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
166
166
  };
167
167
  captureUpdate: "IMMEDIATELY";
168
168
  };
169
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
169
+ predicate: (elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
170
170
  PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
171
171
  } & {
172
172
  keyTest?: undefined;