@misenkashari/excalidraw-element 1.0.3 → 1.10.0

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 (168) 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 +2 -2
  5. package/dist/types/common/src/emitter.d.ts +1 -1
  6. package/dist/types/common/src/font-metadata.d.ts +1 -1
  7. package/dist/types/common/src/points.d.ts +2 -2
  8. package/dist/types/common/src/utils.d.ts +2 -2
  9. package/dist/types/common/src/visualdebug.d.ts +3 -3
  10. package/dist/types/element/src/Scene.d.ts +4 -4
  11. package/dist/types/element/src/align.d.ts +1 -1
  12. package/dist/types/element/src/binding.d.ts +4 -4
  13. package/dist/types/element/src/bounds.d.ts +3 -3
  14. package/dist/types/element/src/collision.d.ts +2 -2
  15. package/dist/types/element/src/comparisons.d.ts +1 -1
  16. package/dist/types/element/src/delta.d.ts +3 -3
  17. package/dist/types/element/src/distance.d.ts +1 -1
  18. package/dist/types/element/src/distribute.d.ts +1 -1
  19. package/dist/types/element/src/dragElements.d.ts +2 -2
  20. package/dist/types/element/src/duplicate.d.ts +2 -2
  21. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  22. package/dist/types/element/src/elementLink.d.ts +1 -1
  23. package/dist/types/element/src/embeddable.d.ts +2 -2
  24. package/dist/types/element/src/flowchart.d.ts +1 -1
  25. package/dist/types/element/src/frame.d.ts +2 -2
  26. package/dist/types/element/src/groups.d.ts +2 -2
  27. package/dist/types/element/src/heading.d.ts +2 -2
  28. package/dist/types/element/src/image.d.ts +2 -2
  29. package/dist/types/element/src/linearElementEditor.d.ts +4 -4
  30. package/dist/types/element/src/mutateElement.d.ts +1 -1
  31. package/dist/types/element/src/newElement.d.ts +1 -1
  32. package/dist/types/element/src/renderElement.d.ts +4 -4
  33. package/dist/types/element/src/resizeElements.d.ts +2 -2
  34. package/dist/types/element/src/resizeTest.d.ts +4 -4
  35. package/dist/types/element/src/selection.d.ts +1 -1
  36. package/dist/types/element/src/shape.d.ts +5 -5
  37. package/dist/types/element/src/showSelectedShapeActions.d.ts +1 -1
  38. package/dist/types/element/src/sizeHelpers.d.ts +1 -1
  39. package/dist/types/element/src/store.d.ts +4 -4
  40. package/dist/types/element/src/textElement.d.ts +3 -3
  41. package/dist/types/element/src/transform.d.ts +1 -1
  42. package/dist/types/element/src/transformHandles.d.ts +4 -4
  43. package/dist/types/element/src/typeChecks.d.ts +2 -2
  44. package/dist/types/element/src/types.d.ts +3 -3
  45. package/dist/types/element/src/utils.d.ts +3 -3
  46. package/dist/types/element/src/zindex.d.ts +2 -2
  47. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +82 -82
  48. package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
  49. package/dist/types/excalidraw/actions/actionBoundText.d.ts +50 -50
  50. package/dist/types/excalidraw/actions/actionCanvas.d.ts +275 -275
  51. package/dist/types/excalidraw/actions/actionClipboard.d.ts +63 -63
  52. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +28 -28
  53. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +69 -69
  54. package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
  55. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  56. package/dist/types/excalidraw/actions/actionElementLink.d.ts +32 -32
  57. package/dist/types/excalidraw/actions/actionElementLock.d.ts +49 -49
  58. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +29 -29
  59. package/dist/types/excalidraw/actions/actionExport.d.ts +116 -116
  60. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
  61. package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
  62. package/dist/types/excalidraw/actions/actionFrame.d.ts +242 -242
  63. package/dist/types/excalidraw/actions/actionGroup.d.ts +43 -43
  64. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +181 -181
  65. package/dist/types/excalidraw/actions/actionLink.d.ts +31 -31
  66. package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -27
  67. package/dist/types/excalidraw/actions/actionNavigate.d.ts +2 -2
  68. package/dist/types/excalidraw/actions/actionProperties.d.ts +39 -39
  69. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +23 -23
  70. package/dist/types/excalidraw/actions/actionStyles.d.ts +31 -31
  71. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  72. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +29 -29
  73. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +29 -29
  74. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +28 -28
  75. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +2 -2
  76. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +28 -28
  77. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +29 -29
  78. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +29 -29
  79. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  80. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  81. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  82. package/dist/types/excalidraw/actions/types.d.ts +2 -2
  83. package/dist/types/excalidraw/appState.d.ts +10 -10
  84. package/dist/types/excalidraw/charts.d.ts +1 -1
  85. package/dist/types/excalidraw/clipboard.d.ts +4 -4
  86. package/dist/types/excalidraw/components/Actions.d.ts +1 -1
  87. package/dist/types/excalidraw/components/App.d.ts +10 -10
  88. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
  89. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
  90. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
  91. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
  92. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +2 -2
  93. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  94. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
  95. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  96. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  97. package/dist/types/excalidraw/components/ElementCanvasButtons.d.ts +1 -1
  98. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
  99. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  100. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
  101. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -2
  102. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
  103. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  104. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
  105. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
  106. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  107. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  108. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  109. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  110. package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
  111. package/dist/types/excalidraw/components/MobileMenu.d.ts +1 -1
  112. package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
  113. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
  115. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
  116. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +2 -2
  117. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
  118. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
  119. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +2 -2
  120. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
  121. package/dist/types/excalidraw/components/Stats/Position.d.ts +2 -2
  122. package/dist/types/excalidraw/components/Stats/index.d.ts +1 -1
  123. package/dist/types/excalidraw/components/Stats/utils.d.ts +2 -2
  124. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  125. package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
  126. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +3 -3
  127. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -1
  128. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  129. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
  130. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
  131. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
  132. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +3 -3
  133. package/dist/types/excalidraw/components/icons.d.ts +1 -1
  134. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  135. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
  136. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +2 -4
  137. package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
  138. package/dist/types/excalidraw/data/blob.d.ts +49 -49
  139. package/dist/types/excalidraw/data/filesystem.d.ts +1 -1
  140. package/dist/types/excalidraw/data/index.d.ts +1 -1
  141. package/dist/types/excalidraw/data/json.d.ts +24 -24
  142. package/dist/types/excalidraw/data/library.d.ts +2 -2
  143. package/dist/types/excalidraw/data/reconcile.d.ts +2 -2
  144. package/dist/types/excalidraw/data/resave.d.ts +1 -1
  145. package/dist/types/excalidraw/data/restore.d.ts +2 -2
  146. package/dist/types/excalidraw/data/types.d.ts +2 -2
  147. package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -3
  148. package/dist/types/excalidraw/history.d.ts +4 -4
  149. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  150. package/dist/types/excalidraw/i18n.d.ts +1 -1
  151. package/dist/types/excalidraw/index.d.ts +12 -12
  152. package/dist/types/excalidraw/lasso/utils.d.ts +2 -2
  153. package/dist/types/excalidraw/renderer/staticScene.d.ts +1 -1
  154. package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +1 -1
  155. package/dist/types/excalidraw/scene/Renderer.d.ts +2 -2
  156. package/dist/types/excalidraw/scene/export.d.ts +1 -1
  157. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  158. package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
  159. package/dist/types/excalidraw/scene/types.d.ts +3 -3
  160. package/dist/types/excalidraw/snapping.d.ts +5 -5
  161. package/dist/types/excalidraw/types.d.ts +6 -6
  162. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +1 -1
  163. package/dist/types/utils/src/bbox.d.ts +2 -2
  164. package/dist/types/utils/src/export.d.ts +3 -3
  165. package/dist/types/utils/src/index.d.ts +1 -1
  166. package/dist/types/utils/src/shape.d.ts +4 -4
  167. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  168. package/package.json +1 -1
@@ -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 { AppState } from "../types";
3
3
  export declare const actionToggleElementLock: {
4
4
  name: "toggleElementLock";
@@ -8,8 +8,8 @@ export declare const actionToggleElementLock: {
8
8
  category: "element";
9
9
  };
10
10
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
11
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => false | {
12
- elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
11
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => false | {
12
+ elements: import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
13
13
  appState: {
14
14
  selectedElementIds: Readonly<{
15
15
  [id: string]: true;
@@ -17,7 +17,7 @@ export declare const actionToggleElementLock: {
17
17
  selectedGroupIds: {
18
18
  [groupId: string]: boolean;
19
19
  };
20
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
20
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
21
21
  lockedMultiSelections: {
22
22
  [groupId: string]: true;
23
23
  };
@@ -31,17 +31,17 @@ export declare const actionToggleElementLock: {
31
31
  isLoading: boolean;
32
32
  errorMessage: React.ReactNode;
33
33
  activeEmbeddable: {
34
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
34
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
35
35
  state: "hover" | "active";
36
36
  } | null;
37
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
38
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
39
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
40
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
37
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
38
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
39
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
40
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
41
41
  isBindingEnabled: boolean;
42
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
43
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
44
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
42
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
43
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
44
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
45
45
  frameRendering: {
46
46
  enabled: boolean;
47
47
  name: boolean;
@@ -49,8 +49,8 @@ export declare const actionToggleElementLock: {
49
49
  clip: boolean;
50
50
  };
51
51
  editingFrame: string | null;
52
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
53
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
52
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
53
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
54
54
  activeTool: {
55
55
  lastActiveTool: import("../types").ActiveTool | null;
56
56
  locked: boolean;
@@ -73,13 +73,13 @@ export declare const actionToggleElementLock: {
73
73
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
74
74
  currentItemRoughness: number;
75
75
  currentItemOpacity: number;
76
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
76
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
77
77
  currentItemFontSize: number;
78
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
79
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
80
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
81
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
82
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
78
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
79
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
80
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
81
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
82
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
83
83
  currentItemArrowType: "sharp" | "round" | "elbow";
84
84
  viewBackgroundColor: string;
85
85
  scrollX: number;
@@ -110,7 +110,7 @@ export declare const actionToggleElementLock: {
110
110
  sourceElementId: ExcalidrawElement["id"];
111
111
  };
112
112
  defaultSidebarDockedPreference: boolean;
113
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
113
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
114
114
  hoveredElementIds: Readonly<{
115
115
  [id: string]: true;
116
116
  }>;
@@ -125,12 +125,12 @@ export declare const actionToggleElementLock: {
125
125
  duration?: number;
126
126
  } | null;
127
127
  zenModeEnabled: boolean;
128
- theme: import("@excalidraw/element/types").Theme;
128
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
129
129
  gridSize: number;
130
130
  gridStep: number;
131
131
  gridModeEnabled: boolean;
132
132
  viewModeEnabled: boolean;
133
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
133
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
134
134
  width: number;
135
135
  height: number;
136
136
  offsetTop: number;
@@ -141,7 +141,7 @@ export declare const actionToggleElementLock: {
141
141
  open: boolean;
142
142
  panels: number;
143
143
  };
144
- currentChartType: import("@excalidraw/element/types").ChartType;
144
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
145
145
  pasteDialog: {
146
146
  shown: false;
147
147
  data: null;
@@ -164,7 +164,7 @@ export declare const actionToggleElementLock: {
164
164
  focusedId: ExcalidrawElement["id"] | null;
165
165
  matches: readonly import("../types").SearchMatch[];
166
166
  }> | null;
167
- bindMode: import("@excalidraw/element/types").BindMode;
167
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
168
168
  };
169
169
  captureUpdate: "IMMEDIATELY";
170
170
  };
@@ -180,8 +180,8 @@ export declare const actionUnlockAllElements: {
180
180
  viewMode: false;
181
181
  icon: import("react/jsx-runtime").JSX.Element;
182
182
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
183
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
184
- elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
183
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
184
+ elements: import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
185
185
  appState: {
186
186
  selectedElementIds: {
187
187
  [k: string]: true;
@@ -200,17 +200,17 @@ export declare const actionUnlockAllElements: {
200
200
  isLoading: boolean;
201
201
  errorMessage: React.ReactNode;
202
202
  activeEmbeddable: {
203
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
203
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
204
204
  state: "hover" | "active";
205
205
  } | null;
206
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
207
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
208
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
209
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
206
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
207
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
208
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
209
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
210
210
  isBindingEnabled: boolean;
211
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
212
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
213
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
211
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
212
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
213
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
214
214
  frameRendering: {
215
215
  enabled: boolean;
216
216
  name: boolean;
@@ -218,8 +218,8 @@ export declare const actionUnlockAllElements: {
218
218
  clip: boolean;
219
219
  };
220
220
  editingFrame: string | null;
221
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
222
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
221
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
222
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
223
223
  activeTool: {
224
224
  lastActiveTool: import("../types").ActiveTool | null;
225
225
  locked: boolean;
@@ -242,13 +242,13 @@ export declare const actionUnlockAllElements: {
242
242
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
243
243
  currentItemRoughness: number;
244
244
  currentItemOpacity: number;
245
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
245
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
246
246
  currentItemFontSize: number;
247
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
248
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
249
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
250
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
251
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
247
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
248
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
249
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
250
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
251
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
252
252
  currentItemArrowType: "sharp" | "round" | "elbow";
253
253
  viewBackgroundColor: string;
254
254
  scrollX: number;
@@ -279,7 +279,7 @@ export declare const actionUnlockAllElements: {
279
279
  sourceElementId: ExcalidrawElement["id"];
280
280
  };
281
281
  defaultSidebarDockedPreference: boolean;
282
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
282
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
283
283
  hoveredElementIds: Readonly<{
284
284
  [id: string]: true;
285
285
  }>;
@@ -294,12 +294,12 @@ export declare const actionUnlockAllElements: {
294
294
  duration?: number;
295
295
  } | null;
296
296
  zenModeEnabled: boolean;
297
- theme: import("@excalidraw/element/types").Theme;
297
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
298
298
  gridSize: number;
299
299
  gridStep: number;
300
300
  gridModeEnabled: boolean;
301
301
  viewModeEnabled: boolean;
302
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
302
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
303
303
  width: number;
304
304
  height: number;
305
305
  offsetTop: number;
@@ -310,7 +310,7 @@ export declare const actionUnlockAllElements: {
310
310
  open: boolean;
311
311
  panels: number;
312
312
  };
313
- currentChartType: import("@excalidraw/element/types").ChartType;
313
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
314
314
  pasteDialog: {
315
315
  shown: false;
316
316
  data: null;
@@ -319,7 +319,7 @@ export declare const actionUnlockAllElements: {
319
319
  data: import("../charts").Spreadsheet;
320
320
  };
321
321
  showHyperlinkPopup: false | "info" | "editor";
322
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
322
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
323
323
  snapLines: readonly import("../snapping").SnapLine[];
324
324
  originSnapOffset: {
325
325
  x: number;
@@ -334,7 +334,7 @@ export declare const actionUnlockAllElements: {
334
334
  focusedId: ExcalidrawElement["id"] | null;
335
335
  matches: readonly import("../types").SearchMatch[];
336
336
  }> | null;
337
- bindMode: import("@excalidraw/element/types").BindMode;
337
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
338
338
  };
339
339
  captureUpdate: "IMMEDIATELY";
340
340
  };
@@ -5,8 +5,8 @@ export declare const actionSetEmbeddableAsActiveTool: {
5
5
  };
6
6
  target: string;
7
7
  label: string;
8
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
9
- elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
8
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
9
+ elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
10
10
  appState: {
11
11
  activeTool: {
12
12
  lastActiveTool: import("../types").ActiveTool | null;
@@ -22,17 +22,17 @@ export declare const actionSetEmbeddableAsActiveTool: {
22
22
  isLoading: boolean;
23
23
  errorMessage: React.ReactNode;
24
24
  activeEmbeddable: {
25
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
25
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
26
26
  state: "hover" | "active";
27
27
  } | null;
28
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
29
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
30
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
31
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
28
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
29
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
30
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawLinearElement> | null;
31
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
32
32
  isBindingEnabled: boolean;
33
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
34
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
35
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
33
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
34
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
35
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
36
36
  frameRendering: {
37
37
  enabled: boolean;
38
38
  name: boolean;
@@ -40,8 +40,8 @@ export declare const actionSetEmbeddableAsActiveTool: {
40
40
  clip: boolean;
41
41
  };
42
42
  editingFrame: string | null;
43
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
44
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
43
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawElement>[] | null;
44
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
45
45
  preferredSelectionTool: {
46
46
  type: "selection" | "lasso";
47
47
  initialized: boolean;
@@ -54,18 +54,18 @@ export declare const actionSetEmbeddableAsActiveTool: {
54
54
  exportScale: number;
55
55
  currentItemStrokeColor: string;
56
56
  currentItemBackgroundColor: string;
57
- currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
57
+ currentItemFillStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["fillStyle"];
58
58
  currentItemStrokeWidth: number;
59
- currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
59
+ currentItemStrokeStyle: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["strokeStyle"];
60
60
  currentItemRoughness: number;
61
61
  currentItemOpacity: number;
62
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
62
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
63
63
  currentItemFontSize: number;
64
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
65
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
66
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
67
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
68
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
64
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
65
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
66
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
67
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
68
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
69
69
  currentItemArrowType: "sharp" | "round" | "elbow";
70
70
  viewBackgroundColor: string;
71
71
  scrollX: number;
@@ -93,10 +93,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
93
93
  name: "settings";
94
94
  } | {
95
95
  name: "elementLinkSelector";
96
- sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
96
+ sourceElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"];
97
97
  };
98
98
  defaultSidebarDockedPreference: boolean;
99
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
99
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
100
100
  selectedElementIds: Readonly<{
101
101
  [id: string]: true;
102
102
  }>;
@@ -114,7 +114,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
114
114
  duration?: number;
115
115
  } | null;
116
116
  zenModeEnabled: boolean;
117
- theme: import("@excalidraw/element/types").Theme;
117
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
118
118
  gridSize: number;
119
119
  gridStep: number;
120
120
  gridModeEnabled: boolean;
@@ -122,7 +122,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
122
122
  selectedGroupIds: {
123
123
  [groupId: string]: boolean;
124
124
  };
125
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
125
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
126
126
  width: number;
127
127
  height: number;
128
128
  offsetTop: number;
@@ -133,7 +133,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
133
133
  open: boolean;
134
134
  panels: number;
135
135
  };
136
- currentChartType: import("@excalidraw/element/types").ChartType;
136
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
137
137
  pasteDialog: {
138
138
  shown: false;
139
139
  data: null;
@@ -142,7 +142,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
142
142
  data: import("../charts").Spreadsheet;
143
143
  };
144
144
  showHyperlinkPopup: false | "info" | "editor";
145
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
145
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
146
146
  snapLines: readonly import("../snapping").SnapLine[];
147
147
  originSnapOffset: {
148
148
  x: number;
@@ -152,16 +152,16 @@ export declare const actionSetEmbeddableAsActiveTool: {
152
152
  userToFollow: import("../types").UserToFollow | null;
153
153
  followedBy: Set<import("../types").SocketId>;
154
154
  isCropping: boolean;
155
- croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
155
+ croppingElementId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
156
156
  searchMatches: Readonly<{
157
- focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
157
+ focusedId: import("@misenkashari/excalidraw-element/types").ExcalidrawElement["id"] | null;
158
158
  matches: readonly import("../types").SearchMatch[];
159
159
  }> | null;
160
160
  activeLockedId: string | null;
161
161
  lockedMultiSelections: {
162
162
  [groupId: string]: true;
163
163
  };
164
- bindMode: import("@excalidraw/element/types").BindMode;
164
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
165
165
  };
166
166
  captureUpdate: "EVENTUALLY";
167
167
  };