@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
@@ -3,7 +3,7 @@ export declare const actionAddToLibrary: {
3
3
  trackEvent: {
4
4
  category: "element";
5
5
  };
6
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<{
6
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<{
7
7
  captureUpdate: "EVENTUALLY";
8
8
  appState: {
9
9
  toast: {
@@ -18,17 +18,17 @@ export declare const actionAddToLibrary: {
18
18
  isLoading: boolean;
19
19
  errorMessage: React.ReactNode;
20
20
  activeEmbeddable: {
21
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
21
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
22
22
  state: "hover" | "active";
23
23
  } | null;
24
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
25
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
26
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
27
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
24
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
25
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
26
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
27
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
28
28
  isBindingEnabled: boolean;
29
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
30
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
31
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
29
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
30
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
31
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
32
32
  frameRendering: {
33
33
  enabled: boolean;
34
34
  name: boolean;
@@ -36,8 +36,8 @@ export declare const actionAddToLibrary: {
36
36
  clip: boolean;
37
37
  };
38
38
  editingFrame: string | null;
39
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
40
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
39
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
40
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
41
41
  activeTool: {
42
42
  lastActiveTool: import("../types").ActiveTool | null;
43
43
  locked: boolean;
@@ -55,18 +55,18 @@ export declare const actionAddToLibrary: {
55
55
  exportScale: number;
56
56
  currentItemStrokeColor: string;
57
57
  currentItemBackgroundColor: string;
58
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
58
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
59
59
  currentItemStrokeWidth: number;
60
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
60
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
61
61
  currentItemRoughness: number;
62
62
  currentItemOpacity: number;
63
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
63
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
64
64
  currentItemFontSize: number;
65
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
66
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
67
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
68
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
69
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
65
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
66
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
67
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
68
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
69
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
70
70
  currentItemArrowType: "sharp" | "round" | "elbow";
71
71
  viewBackgroundColor: string;
72
72
  scrollX: number;
@@ -94,10 +94,10 @@ export declare const actionAddToLibrary: {
94
94
  name: "settings";
95
95
  } | {
96
96
  name: "elementLinkSelector";
97
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
97
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
98
98
  };
99
99
  defaultSidebarDockedPreference: boolean;
100
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
100
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
101
101
  selectedElementIds: Readonly<{
102
102
  [id: string]: true;
103
103
  }>;
@@ -110,7 +110,7 @@ export declare const actionAddToLibrary: {
110
110
  selectedElementsAreBeingDragged: boolean;
111
111
  shouldCacheIgnoreZoom: boolean;
112
112
  zenModeEnabled: boolean;
113
- theme: import("@excalidraw/element/types").Theme;
113
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
114
114
  gridSize: number;
115
115
  gridStep: number;
116
116
  gridModeEnabled: boolean;
@@ -118,7 +118,7 @@ export declare const actionAddToLibrary: {
118
118
  selectedGroupIds: {
119
119
  [groupId: string]: boolean;
120
120
  };
121
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
121
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
122
122
  width: number;
123
123
  height: number;
124
124
  offsetTop: number;
@@ -129,7 +129,7 @@ export declare const actionAddToLibrary: {
129
129
  open: boolean;
130
130
  panels: number;
131
131
  };
132
- currentChartType: import("@excalidraw/element/types").ChartType;
132
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
133
133
  pasteDialog: {
134
134
  shown: false;
135
135
  data: null;
@@ -138,7 +138,7 @@ export declare const actionAddToLibrary: {
138
138
  data: import("../charts").Spreadsheet;
139
139
  };
140
140
  showHyperlinkPopup: false | "info" | "editor";
141
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
141
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
142
142
  snapLines: readonly import("../snapping").SnapLine[];
143
143
  originSnapOffset: {
144
144
  x: number;
@@ -148,16 +148,16 @@ export declare const actionAddToLibrary: {
148
148
  userToFollow: import("../types").UserToFollow | null;
149
149
  followedBy: Set<import("../types").SocketId>;
150
150
  isCropping: boolean;
151
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
151
+ croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
152
152
  searchMatches: Readonly<{
153
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
153
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
154
154
  matches: readonly import("../types").SearchMatch[];
155
155
  }> | null;
156
156
  activeLockedId: string | null;
157
157
  lockedMultiSelections: {
158
158
  [groupId: string]: true;
159
159
  };
160
- bindMode: import("@excalidraw/element/types").BindMode;
160
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
161
161
  };
162
162
  } | {
163
163
  captureUpdate: "EVENTUALLY";
@@ -171,17 +171,17 @@ export declare const actionAddToLibrary: {
171
171
  showWelcomeScreen: boolean;
172
172
  isLoading: boolean;
173
173
  activeEmbeddable: {
174
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
174
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
175
175
  state: "hover" | "active";
176
176
  } | null;
177
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
178
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
179
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
180
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
177
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
178
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
179
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
180
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
181
181
  isBindingEnabled: boolean;
182
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
183
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
184
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
182
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
183
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
184
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
185
185
  frameRendering: {
186
186
  enabled: boolean;
187
187
  name: boolean;
@@ -189,8 +189,8 @@ export declare const actionAddToLibrary: {
189
189
  clip: boolean;
190
190
  };
191
191
  editingFrame: string | null;
192
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
193
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
192
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
193
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
194
194
  activeTool: {
195
195
  lastActiveTool: import("../types").ActiveTool | null;
196
196
  locked: boolean;
@@ -208,18 +208,18 @@ export declare const actionAddToLibrary: {
208
208
  exportScale: number;
209
209
  currentItemStrokeColor: string;
210
210
  currentItemBackgroundColor: string;
211
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
211
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
212
212
  currentItemStrokeWidth: number;
213
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
213
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
214
214
  currentItemRoughness: number;
215
215
  currentItemOpacity: number;
216
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
216
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
217
217
  currentItemFontSize: number;
218
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
219
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
220
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
221
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
222
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
218
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
219
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
220
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
221
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
222
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
223
223
  currentItemArrowType: "sharp" | "round" | "elbow";
224
224
  viewBackgroundColor: string;
225
225
  scrollX: number;
@@ -247,10 +247,10 @@ export declare const actionAddToLibrary: {
247
247
  name: "settings";
248
248
  } | {
249
249
  name: "elementLinkSelector";
250
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
250
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
251
251
  };
252
252
  defaultSidebarDockedPreference: boolean;
253
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
253
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
254
254
  selectedElementIds: Readonly<{
255
255
  [id: string]: true;
256
256
  }>;
@@ -268,7 +268,7 @@ export declare const actionAddToLibrary: {
268
268
  duration?: number;
269
269
  } | null;
270
270
  zenModeEnabled: boolean;
271
- theme: import("@excalidraw/element/types").Theme;
271
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
272
272
  gridSize: number;
273
273
  gridStep: number;
274
274
  gridModeEnabled: boolean;
@@ -276,7 +276,7 @@ export declare const actionAddToLibrary: {
276
276
  selectedGroupIds: {
277
277
  [groupId: string]: boolean;
278
278
  };
279
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
279
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
280
280
  width: number;
281
281
  height: number;
282
282
  offsetTop: number;
@@ -287,7 +287,7 @@ export declare const actionAddToLibrary: {
287
287
  open: boolean;
288
288
  panels: number;
289
289
  };
290
- currentChartType: import("@excalidraw/element/types").ChartType;
290
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
291
291
  pasteDialog: {
292
292
  shown: false;
293
293
  data: null;
@@ -296,7 +296,7 @@ export declare const actionAddToLibrary: {
296
296
  data: import("../charts").Spreadsheet;
297
297
  };
298
298
  showHyperlinkPopup: false | "info" | "editor";
299
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
299
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
300
300
  snapLines: readonly import("../snapping").SnapLine[];
301
301
  originSnapOffset: {
302
302
  x: number;
@@ -306,16 +306,16 @@ export declare const actionAddToLibrary: {
306
306
  userToFollow: import("../types").UserToFollow | null;
307
307
  followedBy: Set<import("../types").SocketId>;
308
308
  isCropping: boolean;
309
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
309
+ croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
310
310
  searchMatches: Readonly<{
311
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
311
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
312
312
  matches: readonly import("../types").SearchMatch[];
313
313
  }> | null;
314
314
  activeLockedId: string | null;
315
315
  lockedMultiSelections: {
316
316
  [groupId: string]: true;
317
317
  };
318
- bindMode: import("@excalidraw/element/types").BindMode;
318
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
319
319
  };
320
320
  }> | {
321
321
  captureUpdate: "EVENTUALLY";
@@ -329,17 +329,17 @@ export declare const actionAddToLibrary: {
329
329
  showWelcomeScreen: boolean;
330
330
  isLoading: boolean;
331
331
  activeEmbeddable: {
332
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
332
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
333
333
  state: "hover" | "active";
334
334
  } | null;
335
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
336
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
337
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
338
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
335
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
336
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
337
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
338
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
339
339
  isBindingEnabled: boolean;
340
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
341
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
342
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
340
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
341
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
342
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
343
343
  frameRendering: {
344
344
  enabled: boolean;
345
345
  name: boolean;
@@ -347,8 +347,8 @@ export declare const actionAddToLibrary: {
347
347
  clip: boolean;
348
348
  };
349
349
  editingFrame: string | null;
350
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
351
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
350
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
351
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
352
352
  activeTool: {
353
353
  lastActiveTool: import("../types").ActiveTool | null;
354
354
  locked: boolean;
@@ -366,18 +366,18 @@ export declare const actionAddToLibrary: {
366
366
  exportScale: number;
367
367
  currentItemStrokeColor: string;
368
368
  currentItemBackgroundColor: string;
369
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
369
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
370
370
  currentItemStrokeWidth: number;
371
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
371
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
372
372
  currentItemRoughness: number;
373
373
  currentItemOpacity: number;
374
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
374
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
375
375
  currentItemFontSize: number;
376
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
377
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
378
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
379
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
380
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
376
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
377
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
378
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
379
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
380
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
381
381
  currentItemArrowType: "sharp" | "round" | "elbow";
382
382
  viewBackgroundColor: string;
383
383
  scrollX: number;
@@ -405,10 +405,10 @@ export declare const actionAddToLibrary: {
405
405
  name: "settings";
406
406
  } | {
407
407
  name: "elementLinkSelector";
408
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
408
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
409
409
  };
410
410
  defaultSidebarDockedPreference: boolean;
411
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
411
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
412
412
  selectedElementIds: Readonly<{
413
413
  [id: string]: true;
414
414
  }>;
@@ -426,7 +426,7 @@ export declare const actionAddToLibrary: {
426
426
  duration?: number;
427
427
  } | null;
428
428
  zenModeEnabled: boolean;
429
- theme: import("@excalidraw/element/types").Theme;
429
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
430
430
  gridSize: number;
431
431
  gridStep: number;
432
432
  gridModeEnabled: boolean;
@@ -434,7 +434,7 @@ export declare const actionAddToLibrary: {
434
434
  selectedGroupIds: {
435
435
  [groupId: string]: boolean;
436
436
  };
437
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
437
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
438
438
  width: number;
439
439
  height: number;
440
440
  offsetTop: number;
@@ -445,7 +445,7 @@ export declare const actionAddToLibrary: {
445
445
  open: boolean;
446
446
  panels: number;
447
447
  };
448
- currentChartType: import("@excalidraw/element/types").ChartType;
448
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
449
449
  pasteDialog: {
450
450
  shown: false;
451
451
  data: null;
@@ -454,7 +454,7 @@ export declare const actionAddToLibrary: {
454
454
  data: import("../charts").Spreadsheet;
455
455
  };
456
456
  showHyperlinkPopup: false | "info" | "editor";
457
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
457
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
458
458
  snapLines: readonly import("../snapping").SnapLine[];
459
459
  originSnapOffset: {
460
460
  x: number;
@@ -464,16 +464,16 @@ export declare const actionAddToLibrary: {
464
464
  userToFollow: import("../types").UserToFollow | null;
465
465
  followedBy: Set<import("../types").SocketId>;
466
466
  isCropping: boolean;
467
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
467
+ croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
468
468
  searchMatches: Readonly<{
469
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
469
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
470
470
  matches: readonly import("../types").SearchMatch[];
471
471
  }> | null;
472
472
  activeLockedId: string | null;
473
473
  lockedMultiSelections: {
474
474
  [groupId: string]: true;
475
475
  };
476
- bindMode: import("@excalidraw/element/types").BindMode;
476
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
477
477
  };
478
478
  };
479
479
  label: string;
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
2
2
  import type { AppClassProperties, AppState, UIAppState } from "../types";
3
3
  export declare const alignActionsPredicate: (appState: UIAppState, app: AppClassProperties) => boolean;
4
4
  export declare const actionAlignTop: {
@@ -9,7 +9,7 @@ export declare const actionAlignTop: {
9
9
  category: "element";
10
10
  };
11
11
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
12
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
12
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
13
13
  appState: Readonly<AppState>;
14
14
  elements: ExcalidrawElement[];
15
15
  captureUpdate: "IMMEDIATELY";
@@ -27,7 +27,7 @@ export declare const actionAlignBottom: {
27
27
  category: "element";
28
28
  };
29
29
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
30
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
30
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
31
31
  appState: Readonly<AppState>;
32
32
  elements: ExcalidrawElement[];
33
33
  captureUpdate: "IMMEDIATELY";
@@ -45,7 +45,7 @@ export declare const actionAlignLeft: {
45
45
  category: "element";
46
46
  };
47
47
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
48
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
48
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
49
49
  appState: Readonly<AppState>;
50
50
  elements: ExcalidrawElement[];
51
51
  captureUpdate: "IMMEDIATELY";
@@ -63,7 +63,7 @@ export declare const actionAlignRight: {
63
63
  category: "element";
64
64
  };
65
65
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
66
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
66
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
67
67
  appState: Readonly<AppState>;
68
68
  elements: ExcalidrawElement[];
69
69
  captureUpdate: "IMMEDIATELY";
@@ -81,7 +81,7 @@ export declare const actionAlignVerticallyCentered: {
81
81
  category: "element";
82
82
  };
83
83
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
84
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
84
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
85
85
  appState: Readonly<AppState>;
86
86
  elements: ExcalidrawElement[];
87
87
  captureUpdate: "IMMEDIATELY";
@@ -98,7 +98,7 @@ export declare const actionAlignHorizontallyCentered: {
98
98
  category: "element";
99
99
  };
100
100
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
101
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
101
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
102
102
  appState: Readonly<AppState>;
103
103
  elements: ExcalidrawElement[];
104
104
  captureUpdate: "IMMEDIATELY";