@misenkashari/excalidraw-common 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 +5 -5
  2. package/dist/dev/index.js.map +2 -2
  3. package/dist/prod/index.js +3 -3
  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 { 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";
@@ -1,5 +1,5 @@
1
- import type { ExcalidrawElement, ExcalidrawLinearElement } from "@excalidraw/element/types";
2
- import type { Mutable } from "@excalidraw/common/utility-types";
1
+ import type { ExcalidrawElement, ExcalidrawLinearElement } from "@misenkashari/excalidraw-element/types";
2
+ import type { Mutable } from "@misenkashari/excalidraw-common/utility-types";
3
3
  import type { AppState } from "../types";
4
4
  export declare const actionUnbindText: {
5
5
  name: "unbindText";
@@ -8,8 +8,8 @@ export declare const actionUnbindText: {
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) => {
12
- elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
11
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
12
+ elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
13
13
  appState: Readonly<AppState>;
14
14
  captureUpdate: "IMMEDIATELY";
15
15
  };
@@ -23,7 +23,7 @@ export declare const actionBindText: {
23
23
  category: "element";
24
24
  };
25
25
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
26
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
26
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
27
27
  elements: ExcalidrawElement[];
28
28
  appState: {
29
29
  selectedElementIds: {
@@ -38,17 +38,17 @@ export declare const actionBindText: {
38
38
  isLoading: boolean;
39
39
  errorMessage: React.ReactNode;
40
40
  activeEmbeddable: {
41
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
41
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
42
42
  state: "hover" | "active";
43
43
  } | null;
44
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
45
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
46
- multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
47
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
44
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
45
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
46
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawLinearElement> | null;
47
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
48
48
  isBindingEnabled: boolean;
49
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
50
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
51
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
49
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
50
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
51
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
52
52
  frameRendering: {
53
53
  enabled: boolean;
54
54
  name: boolean;
@@ -56,8 +56,8 @@ export declare const actionBindText: {
56
56
  clip: boolean;
57
57
  };
58
58
  editingFrame: string | null;
59
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
60
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
59
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
60
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
61
61
  activeTool: {
62
62
  lastActiveTool: import("../types").ActiveTool | null;
63
63
  locked: boolean;
@@ -80,13 +80,13 @@ export declare const actionBindText: {
80
80
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
81
81
  currentItemRoughness: number;
82
82
  currentItemOpacity: number;
83
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
83
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
84
84
  currentItemFontSize: number;
85
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
86
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
87
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
88
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
89
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
85
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
86
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
87
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
88
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
89
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
90
90
  currentItemArrowType: "sharp" | "round" | "elbow";
91
91
  viewBackgroundColor: string;
92
92
  scrollX: number;
@@ -117,7 +117,7 @@ export declare const actionBindText: {
117
117
  sourceElementId: ExcalidrawElement["id"];
118
118
  };
119
119
  defaultSidebarDockedPreference: boolean;
120
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
120
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
121
121
  hoveredElementIds: Readonly<{
122
122
  [id: string]: true;
123
123
  }>;
@@ -132,7 +132,7 @@ export declare const actionBindText: {
132
132
  duration?: number;
133
133
  } | null;
134
134
  zenModeEnabled: boolean;
135
- theme: import("@excalidraw/element/types").Theme;
135
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
136
136
  gridSize: number;
137
137
  gridStep: number;
138
138
  gridModeEnabled: boolean;
@@ -140,7 +140,7 @@ export declare const actionBindText: {
140
140
  selectedGroupIds: {
141
141
  [groupId: string]: boolean;
142
142
  };
143
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
143
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
144
144
  width: number;
145
145
  height: number;
146
146
  offsetTop: number;
@@ -151,7 +151,7 @@ export declare const actionBindText: {
151
151
  open: boolean;
152
152
  panels: number;
153
153
  };
154
- currentChartType: import("@excalidraw/element/types").ChartType;
154
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
155
155
  pasteDialog: {
156
156
  shown: false;
157
157
  data: null;
@@ -160,7 +160,7 @@ export declare const actionBindText: {
160
160
  data: import("../charts").Spreadsheet;
161
161
  };
162
162
  showHyperlinkPopup: false | "info" | "editor";
163
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
163
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
164
164
  snapLines: readonly import("../snapping").SnapLine[];
165
165
  originSnapOffset: {
166
166
  x: number;
@@ -179,7 +179,7 @@ export declare const actionBindText: {
179
179
  lockedMultiSelections: {
180
180
  [groupId: string]: true;
181
181
  };
182
- bindMode: import("@excalidraw/element/types").BindMode;
182
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
183
183
  };
184
184
  captureUpdate: "IMMEDIATELY";
185
185
  };
@@ -193,7 +193,7 @@ export declare const actionWrapTextInContainer: {
193
193
  category: "element";
194
194
  };
195
195
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
196
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
196
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => {
197
197
  elements: readonly ExcalidrawElement[];
198
198
  appState: {
199
199
  selectedElementIds: Mutable<Readonly<{
@@ -208,17 +208,17 @@ export declare const actionWrapTextInContainer: {
208
208
  isLoading: boolean;
209
209
  errorMessage: React.ReactNode;
210
210
  activeEmbeddable: {
211
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
211
+ element: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement;
212
212
  state: "hover" | "active";
213
213
  } | null;
214
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
215
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
216
- multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
217
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
214
+ newElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawNonSelectionElement> | null;
215
+ resizingElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
216
+ multiElement: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawLinearElement> | null;
217
+ selectionElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
218
218
  isBindingEnabled: boolean;
219
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
220
- suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
221
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
219
+ startBoundElement: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
220
+ suggestedBinding: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawBindableElement> | null;
221
+ frameToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<import("@misenkashari/excalidraw-element/types").ExcalidrawFrameLikeElement> | null;
222
222
  frameRendering: {
223
223
  enabled: boolean;
224
224
  name: boolean;
@@ -226,8 +226,8 @@ export declare const actionWrapTextInContainer: {
226
226
  clip: boolean;
227
227
  };
228
228
  editingFrame: string | null;
229
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
230
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
229
+ elementsToHighlight: import("@misenkashari/excalidraw-element/types").NonDeleted<ExcalidrawElement>[] | null;
230
+ editingTextElement: import("@misenkashari/excalidraw-element/types").NonDeletedExcalidrawElement | null;
231
231
  activeTool: {
232
232
  lastActiveTool: import("../types").ActiveTool | null;
233
233
  locked: boolean;
@@ -250,13 +250,13 @@ export declare const actionWrapTextInContainer: {
250
250
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
251
251
  currentItemRoughness: number;
252
252
  currentItemOpacity: number;
253
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
253
+ currentItemFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues;
254
254
  currentItemFontSize: number;
255
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
256
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
257
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
258
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
259
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
255
+ currentItemTextAlign: import("@misenkashari/excalidraw-element/types").TextAlign;
256
+ currentItemStartArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
257
+ currentItemEndArrowhead: import("@misenkashari/excalidraw-element/types").Arrowhead | null;
258
+ currentHoveredFontFamily: import("@misenkashari/excalidraw-element/types").FontFamilyValues | null;
259
+ currentItemRoundness: import("@misenkashari/excalidraw-element/types").StrokeRoundness;
260
260
  currentItemArrowType: "sharp" | "round" | "elbow";
261
261
  viewBackgroundColor: string;
262
262
  scrollX: number;
@@ -287,7 +287,7 @@ export declare const actionWrapTextInContainer: {
287
287
  sourceElementId: ExcalidrawElement["id"];
288
288
  };
289
289
  defaultSidebarDockedPreference: boolean;
290
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
290
+ lastPointerDownWith: import("@misenkashari/excalidraw-element/types").PointerType;
291
291
  hoveredElementIds: Readonly<{
292
292
  [id: string]: true;
293
293
  }>;
@@ -302,7 +302,7 @@ export declare const actionWrapTextInContainer: {
302
302
  duration?: number;
303
303
  } | null;
304
304
  zenModeEnabled: boolean;
305
- theme: import("@excalidraw/element/types").Theme;
305
+ theme: import("@misenkashari/excalidraw-element/types").Theme;
306
306
  gridSize: number;
307
307
  gridStep: number;
308
308
  gridModeEnabled: boolean;
@@ -310,7 +310,7 @@ export declare const actionWrapTextInContainer: {
310
310
  selectedGroupIds: {
311
311
  [groupId: string]: boolean;
312
312
  };
313
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
313
+ editingGroupId: import("@misenkashari/excalidraw-element/types").GroupId | null;
314
314
  width: number;
315
315
  height: number;
316
316
  offsetTop: number;
@@ -321,7 +321,7 @@ export declare const actionWrapTextInContainer: {
321
321
  open: boolean;
322
322
  panels: number;
323
323
  };
324
- currentChartType: import("@excalidraw/element/types").ChartType;
324
+ currentChartType: import("@misenkashari/excalidraw-element/types").ChartType;
325
325
  pasteDialog: {
326
326
  shown: false;
327
327
  data: null;
@@ -330,7 +330,7 @@ export declare const actionWrapTextInContainer: {
330
330
  data: import("../charts").Spreadsheet;
331
331
  };
332
332
  showHyperlinkPopup: false | "info" | "editor";
333
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
333
+ selectedLinearElement: import("@misenkashari/excalidraw-element").LinearElementEditor | null;
334
334
  snapLines: readonly import("../snapping").SnapLine[];
335
335
  originSnapOffset: {
336
336
  x: number;
@@ -349,7 +349,7 @@ export declare const actionWrapTextInContainer: {
349
349
  lockedMultiSelections: {
350
350
  [groupId: string]: true;
351
351
  };
352
- bindMode: import("@excalidraw/element/types").BindMode;
352
+ bindMode: import("@misenkashari/excalidraw-element/types").BindMode;
353
353
  };
354
354
  captureUpdate: "IMMEDIATELY";
355
355
  };