@nous-excalidraw/math 0.18.0-cy.1 → 0.18.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 (177) hide show
  1. package/README.md +4 -4
  2. package/dist/dev/index.js +1 -1
  3. package/dist/dev/index.js.map +1 -1
  4. package/dist/prod/index.js +1 -1
  5. package/dist/types/common/src/appEventBus.d.ts +1 -1
  6. package/dist/types/common/src/constants.d.ts +2 -4
  7. package/dist/types/common/src/emitter.d.ts +1 -1
  8. package/dist/types/common/src/font-metadata.d.ts +1 -1
  9. package/dist/types/common/src/points.d.ts +2 -2
  10. package/dist/types/common/src/utils.d.ts +3 -3
  11. package/dist/types/element/src/Scene.d.ts +4 -4
  12. package/dist/types/element/src/align.d.ts +1 -1
  13. package/dist/types/element/src/arrows/focus.d.ts +2 -2
  14. package/dist/types/element/src/arrows/helpers.d.ts +1 -1
  15. package/dist/types/element/src/binding.d.ts +4 -4
  16. package/dist/types/element/src/bounds.d.ts +3 -3
  17. package/dist/types/element/src/collision.d.ts +2 -2
  18. package/dist/types/element/src/comparisons.d.ts +1 -1
  19. package/dist/types/element/src/delta.d.ts +3 -3
  20. package/dist/types/element/src/distance.d.ts +1 -1
  21. package/dist/types/element/src/distribute.d.ts +1 -1
  22. package/dist/types/element/src/dragElements.d.ts +2 -2
  23. package/dist/types/element/src/duplicate.d.ts +2 -2
  24. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  25. package/dist/types/element/src/elementLink.d.ts +1 -1
  26. package/dist/types/element/src/embeddable.d.ts +2 -2
  27. package/dist/types/element/src/flowchart.d.ts +1 -1
  28. package/dist/types/element/src/frame.d.ts +2 -2
  29. package/dist/types/element/src/groups.d.ts +2 -2
  30. package/dist/types/element/src/heading.d.ts +2 -2
  31. package/dist/types/element/src/image.d.ts +2 -2
  32. package/dist/types/element/src/linearElementEditor.d.ts +4 -4
  33. package/dist/types/element/src/mutateElement.d.ts +1 -1
  34. package/dist/types/element/src/newElement.d.ts +1 -1
  35. package/dist/types/element/src/renderElement.d.ts +4 -4
  36. package/dist/types/element/src/resizeElements.d.ts +2 -2
  37. package/dist/types/element/src/resizeTest.d.ts +4 -4
  38. package/dist/types/element/src/selection.d.ts +1 -1
  39. package/dist/types/element/src/shape.d.ts +5 -5
  40. package/dist/types/element/src/showSelectedShapeActions.d.ts +1 -1
  41. package/dist/types/element/src/sizeHelpers.d.ts +1 -1
  42. package/dist/types/element/src/store.d.ts +4 -4
  43. package/dist/types/element/src/textElement.d.ts +3 -3
  44. package/dist/types/element/src/transform.d.ts +1 -1
  45. package/dist/types/element/src/transformHandles.d.ts +4 -4
  46. package/dist/types/element/src/typeChecks.d.ts +2 -2
  47. package/dist/types/element/src/types.d.ts +3 -3
  48. package/dist/types/element/src/utils.d.ts +3 -3
  49. package/dist/types/element/src/zindex.d.ts +2 -2
  50. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +82 -82
  51. package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
  52. package/dist/types/excalidraw/actions/actionBoundText.d.ts +48 -48
  53. package/dist/types/excalidraw/actions/actionCanvas.d.ts +275 -275
  54. package/dist/types/excalidraw/actions/actionClipboard.d.ts +63 -63
  55. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +28 -28
  56. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +69 -69
  57. package/dist/types/excalidraw/actions/actionDeselect.d.ts +24 -24
  58. package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
  59. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  60. package/dist/types/excalidraw/actions/actionElementLink.d.ts +32 -32
  61. package/dist/types/excalidraw/actions/actionElementLock.d.ts +49 -49
  62. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +29 -29
  63. package/dist/types/excalidraw/actions/actionExport.d.ts +48 -48
  64. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
  65. package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
  66. package/dist/types/excalidraw/actions/actionFrame.d.ts +210 -210
  67. package/dist/types/excalidraw/actions/actionGroup.d.ts +41 -41
  68. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +149 -149
  69. package/dist/types/excalidraw/actions/actionLink.d.ts +31 -31
  70. package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -27
  71. package/dist/types/excalidraw/actions/actionNavigate.d.ts +2 -2
  72. package/dist/types/excalidraw/actions/actionProperties.d.ts +37 -37
  73. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +23 -23
  74. package/dist/types/excalidraw/actions/actionStyles.d.ts +31 -31
  75. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  76. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +28 -28
  77. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +29 -29
  78. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +28 -28
  79. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +29 -29
  80. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +28 -28
  81. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +2 -2
  82. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +28 -28
  83. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +29 -29
  84. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +29 -29
  85. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  86. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  87. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  88. package/dist/types/excalidraw/actions/types.d.ts +2 -2
  89. package/dist/types/excalidraw/appState.d.ts +9 -9
  90. package/dist/types/excalidraw/charts/charts.constants.d.ts +1 -1
  91. package/dist/types/excalidraw/charts/charts.helpers.d.ts +3 -3
  92. package/dist/types/excalidraw/charts/charts.types.d.ts +1 -1
  93. package/dist/types/excalidraw/charts/index.d.ts +1 -1
  94. package/dist/types/excalidraw/clipboard.d.ts +4 -4
  95. package/dist/types/excalidraw/components/Actions.d.ts +1 -1
  96. package/dist/types/excalidraw/components/App.d.ts +10 -10
  97. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
  98. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
  99. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
  100. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
  101. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +2 -2
  102. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  103. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
  104. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  105. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  106. package/dist/types/excalidraw/components/ElementCanvasButtons.d.ts +1 -1
  107. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
  108. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  109. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
  110. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -2
  111. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
  112. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  113. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
  114. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
  115. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  116. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  117. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  118. package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
  119. package/dist/types/excalidraw/components/MobileMenu.d.ts +1 -1
  120. package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
  121. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  122. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
  123. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
  124. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +2 -2
  125. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
  126. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
  127. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +2 -2
  128. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
  129. package/dist/types/excalidraw/components/Stats/Position.d.ts +2 -2
  130. package/dist/types/excalidraw/components/Stats/index.d.ts +1 -1
  131. package/dist/types/excalidraw/components/Stats/utils.d.ts +2 -2
  132. package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +1 -1
  133. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  134. package/dist/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts +1 -1
  135. package/dist/types/excalidraw/components/TTDDialog/types.d.ts +2 -2
  136. package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
  137. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +3 -3
  138. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -1
  139. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  140. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
  141. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
  142. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
  143. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +3 -3
  144. package/dist/types/excalidraw/components/icons.d.ts +1 -1
  145. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
  146. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +1 -1
  147. package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
  148. package/dist/types/excalidraw/data/blob.d.ts +49 -49
  149. package/dist/types/excalidraw/data/filesystem.d.ts +1 -1
  150. package/dist/types/excalidraw/data/index.d.ts +1 -1
  151. package/dist/types/excalidraw/data/json.d.ts +24 -24
  152. package/dist/types/excalidraw/data/library.d.ts +2 -2
  153. package/dist/types/excalidraw/data/resave.d.ts +2 -2
  154. package/dist/types/excalidraw/data/restore.d.ts +2 -2
  155. package/dist/types/excalidraw/data/types.d.ts +2 -2
  156. package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -3
  157. package/dist/types/excalidraw/history.d.ts +4 -4
  158. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  159. package/dist/types/excalidraw/i18n.d.ts +1 -1
  160. package/dist/types/excalidraw/lasso/utils.d.ts +2 -2
  161. package/dist/types/excalidraw/renderer/staticScene.d.ts +1 -1
  162. package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +1 -1
  163. package/dist/types/excalidraw/scene/Renderer.d.ts +2 -2
  164. package/dist/types/excalidraw/scene/export.d.ts +1 -1
  165. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  166. package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
  167. package/dist/types/excalidraw/scene/types.d.ts +3 -3
  168. package/dist/types/excalidraw/snapping.d.ts +5 -5
  169. package/dist/types/excalidraw/textAutoResizeHandle.d.ts +4 -4
  170. package/dist/types/excalidraw/types.d.ts +7 -7
  171. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +1 -1
  172. package/dist/types/utils/src/bbox.d.ts +2 -2
  173. package/dist/types/utils/src/export.d.ts +3 -3
  174. package/dist/types/utils/src/index.d.ts +1 -1
  175. package/dist/types/utils/src/shape.d.ts +4 -4
  176. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  177. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawElement, Theme } from "@excalidraw/element/types";
1
+ import type { ExcalidrawElement, Theme } from "@nous-excalidraw/element/types";
2
2
  import "../components/ToolIcon.scss";
3
3
  import type { AppClassProperties, AppState, BinaryFiles, ExcalidrawProps } from "../types";
4
4
  export declare const actionChangeProjectName: import("./types").Action<string | null> & {
@@ -21,7 +21,7 @@ export declare const actionSaveToActiveFile: {
21
21
  category: "export";
22
22
  };
23
23
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: ExcalidrawProps, app: AppClassProperties) => boolean;
24
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => Promise<false | {
24
+ perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => Promise<false | {
25
25
  captureUpdate: "NEVER";
26
26
  appState: {
27
27
  fileHandle: FileSystemFileHandle | null;
@@ -49,7 +49,7 @@ export declare const actionSaveFileToDisk: {
49
49
  trackEvent: {
50
50
  category: "export";
51
51
  };
52
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => Promise<false | {
52
+ perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: AppClassProperties) => Promise<false | {
53
53
  captureUpdate: "NEVER";
54
54
  appState: {
55
55
  openDialog: null;
@@ -79,8 +79,8 @@ export declare const actionLoadScene: {
79
79
  category: "export";
80
80
  };
81
81
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: ExcalidrawProps, app: AppClassProperties) => boolean;
82
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => Promise<false | {
83
- elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
82
+ perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => Promise<false | {
83
+ elements: import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
84
84
  appState: {
85
85
  viewBackgroundColor: string;
86
86
  theme: Theme;
@@ -112,39 +112,39 @@ export declare const actionLoadScene: {
112
112
  data: import("../charts").Spreadsheet;
113
113
  rawText: string;
114
114
  };
115
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
115
+ editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
116
116
  selectedElementIds: Readonly<{
117
117
  [id: string]: true;
118
118
  }>;
119
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
119
+ frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
120
120
  activeTool: {
121
121
  lastActiveTool: import("../types").ActiveTool | null;
122
122
  locked: boolean;
123
123
  fromSelection: boolean;
124
124
  } & import("../types").ActiveTool;
125
125
  activeEmbeddable: {
126
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
126
+ element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
127
127
  state: "hover" | "active";
128
128
  } | null;
129
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
129
+ selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
130
130
  selectedGroupIds: {
131
131
  [groupId: string]: boolean;
132
132
  };
133
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
134
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
135
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
133
+ selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
134
+ multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
135
+ newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
136
136
  isBindingEnabled: boolean;
137
137
  isMidpointSnappingEnabled: boolean;
138
138
  suggestedBinding: {
139
- element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
140
- midPoint?: import("@excalidraw/math").GlobalPoint;
139
+ element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
140
+ midPoint?: import("@nous-excalidraw/math").GlobalPoint;
141
141
  } | null;
142
142
  isRotating: boolean;
143
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
143
+ elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
144
144
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
145
145
  snapLines: readonly import("../snapping").SnapLine[];
146
146
  zenModeEnabled: boolean;
147
- editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
147
+ editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
148
148
  isCropping: boolean;
149
149
  croppingElementId: ExcalidrawElement["id"] | null;
150
150
  searchMatches: Readonly<{
@@ -158,7 +158,7 @@ export declare const actionLoadScene: {
158
158
  shouldCacheIgnoreZoom: boolean;
159
159
  exportScale: number;
160
160
  currentItemArrowType: "sharp" | "round" | "elbow";
161
- bindMode: import("@excalidraw/element/types").BindMode;
161
+ bindMode: import("@nous-excalidraw/element/types").BindMode;
162
162
  gridSize: number;
163
163
  contextMenu: {
164
164
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -168,10 +168,10 @@ export declare const actionLoadScene: {
168
168
  showWelcomeScreen: boolean;
169
169
  isLoading: boolean;
170
170
  errorMessage: React.ReactNode;
171
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
171
+ resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
172
172
  boxSelectionMode: import("../types").BoxSelectionMode;
173
173
  bindingPreference: "enabled" | "disabled";
174
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
174
+ startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
175
175
  editingFrame: string | null;
176
176
  preferredSelectionTool: {
177
177
  type: "selection" | "lasso";
@@ -189,13 +189,13 @@ export declare const actionLoadScene: {
189
189
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
190
190
  currentItemRoughness: number;
191
191
  currentItemOpacity: number;
192
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
192
+ currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
193
193
  currentItemFontSize: number;
194
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
195
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
196
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
197
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
198
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
194
+ currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
195
+ currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
196
+ currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
197
+ currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
198
+ currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
199
199
  cursorButton: "up" | "down";
200
200
  scrolledOutside: boolean;
201
201
  isResizing: boolean;
@@ -206,7 +206,7 @@ export declare const actionLoadScene: {
206
206
  tab?: import("../types").SidebarTabName;
207
207
  } | null;
208
208
  defaultSidebarDockedPreference: boolean;
209
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
209
+ lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
210
210
  previousSelectedElementIds: {
211
211
  [id: string]: true;
212
212
  };
@@ -238,7 +238,7 @@ export declare const actionLoadScene: {
238
238
  files: BinaryFiles;
239
239
  captureUpdate: "IMMEDIATELY";
240
240
  } | {
241
- elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
241
+ elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[];
242
242
  appState: {
243
243
  errorMessage: any;
244
244
  contextMenu: {
@@ -249,23 +249,23 @@ export declare const actionLoadScene: {
249
249
  showWelcomeScreen: boolean;
250
250
  isLoading: boolean;
251
251
  activeEmbeddable: {
252
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
252
+ element: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement;
253
253
  state: "hover" | "active";
254
254
  } | null;
255
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
256
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
257
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
258
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
255
+ newElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
256
+ resizingElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
257
+ multiElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawLinearElement> | null;
258
+ selectionElement: import("@nous-excalidraw/element/types").NonDeletedExcalidrawElement | null;
259
259
  isBindingEnabled: boolean;
260
260
  boxSelectionMode: import("../types").BoxSelectionMode;
261
261
  bindingPreference: "enabled" | "disabled";
262
262
  isMidpointSnappingEnabled: boolean;
263
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
263
+ startBoundElement: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement> | null;
264
264
  suggestedBinding: {
265
- element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
266
- midPoint?: import("@excalidraw/math").GlobalPoint;
265
+ element: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawBindableElement>;
266
+ midPoint?: import("@nous-excalidraw/math").GlobalPoint;
267
267
  } | null;
268
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
268
+ frameToHighlight: import("@nous-excalidraw/element/types").NonDeleted<import("@nous-excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
269
269
  frameRendering: {
270
270
  enabled: boolean;
271
271
  name: boolean;
@@ -273,8 +273,8 @@ export declare const actionLoadScene: {
273
273
  clip: boolean;
274
274
  };
275
275
  editingFrame: string | null;
276
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
277
- editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
276
+ elementsToHighlight: import("@nous-excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
277
+ editingTextElement: import("@nous-excalidraw/element/types").ExcalidrawTextElement | null;
278
278
  activeTool: {
279
279
  lastActiveTool: import("../types").ActiveTool | null;
280
280
  locked: boolean;
@@ -297,13 +297,13 @@ export declare const actionLoadScene: {
297
297
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
298
298
  currentItemRoughness: number;
299
299
  currentItemOpacity: number;
300
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
300
+ currentItemFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues;
301
301
  currentItemFontSize: number;
302
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
303
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
304
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
305
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
306
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
302
+ currentItemTextAlign: import("@nous-excalidraw/element/types").TextAlign;
303
+ currentItemStartArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
304
+ currentItemEndArrowhead: import("@nous-excalidraw/element/types").Arrowhead | null;
305
+ currentHoveredFontFamily: import("@nous-excalidraw/element/types").FontFamilyValues | null;
306
+ currentItemRoundness: import("@nous-excalidraw/element/types").StrokeRoundness;
307
307
  currentItemArrowType: "sharp" | "round" | "elbow";
308
308
  viewBackgroundColor: string;
309
309
  scrollX: number;
@@ -338,7 +338,7 @@ export declare const actionLoadScene: {
338
338
  rawText: string;
339
339
  };
340
340
  defaultSidebarDockedPreference: boolean;
341
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
341
+ lastPointerDownWith: import("@nous-excalidraw/element/types").PointerType;
342
342
  selectedElementIds: Readonly<{
343
343
  [id: string]: true;
344
344
  }>;
@@ -364,7 +364,7 @@ export declare const actionLoadScene: {
364
364
  selectedGroupIds: {
365
365
  [groupId: string]: boolean;
366
366
  };
367
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
367
+ editingGroupId: import("@nous-excalidraw/element/types").GroupId | null;
368
368
  width: number;
369
369
  height: number;
370
370
  offsetTop: number;
@@ -376,7 +376,7 @@ export declare const actionLoadScene: {
376
376
  panels: number;
377
377
  };
378
378
  showHyperlinkPopup: false | "info" | "editor";
379
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
379
+ selectedLinearElement: import("@nous-excalidraw/element").LinearElementEditor | null;
380
380
  snapLines: readonly import("../snapping").SnapLine[];
381
381
  originSnapOffset: {
382
382
  x: number;
@@ -395,7 +395,7 @@ export declare const actionLoadScene: {
395
395
  lockedMultiSelections: {
396
396
  [groupId: string]: true;
397
397
  };
398
- bindMode: import("@excalidraw/element/types").BindMode;
398
+ bindMode: import("@nous-excalidraw/element/types").BindMode;
399
399
  };
400
400
  files: BinaryFiles;
401
401
  captureUpdate: "EVENTUALLY";
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { ExcalidrawElement } from "@nous-excalidraw/element/types";
2
2
  import type { AppState } from "../types";
3
3
  type FormData = {
4
4
  event: PointerEvent;
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { ExcalidrawElement } from "@nous-excalidraw/element/types";
2
2
  import type { AppClassProperties, AppState } from "../types";
3
3
  export declare const actionFlipHorizontal: {
4
4
  name: "flipHorizontal";
@@ -7,7 +7,7 @@ export declare const actionFlipHorizontal: {
7
7
  trackEvent: {
8
8
  category: "element";
9
9
  };
10
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
10
+ perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
11
11
  elements: ExcalidrawElement[];
12
12
  appState: Readonly<AppState>;
13
13
  captureUpdate: "IMMEDIATELY";
@@ -23,7 +23,7 @@ export declare const actionFlipVertical: {
23
23
  trackEvent: {
24
24
  category: "element";
25
25
  };
26
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
26
+ perform: (elements: readonly import("@nous-excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
27
27
  elements: ExcalidrawElement[];
28
28
  appState: Readonly<AppState>;
29
29
  captureUpdate: "IMMEDIATELY";