@myoc/excalidraw 0.18.5 → 0.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/{chunk-626MKRIR.js → chunk-4OALG4EH.js} +2 -2
- package/dist/dev/{chunk-XKDJIA35.js → chunk-LRA2BMXO.js} +110 -195
- package/dist/dev/chunk-LRA2BMXO.js.map +7 -0
- package/dist/dev/{chunk-6MXLCRC3.js → chunk-YSK5QYKJ.js} +2 -1
- package/dist/dev/chunk-YSK5QYKJ.js.map +7 -0
- package/dist/dev/data/{image-M4KEBNT4.js → image-OTIQTZCO.js} +3 -3
- package/dist/dev/index.js +1251 -939
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-FBYNI7ML.js → en-IPMKTZRA.js} +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-6NO4X5TH.js → chunk-HYYBIWRU.js} +2 -2
- package/dist/prod/chunk-S7PD52DD.js +33 -0
- package/dist/prod/{chunk-44FCZ7FO.js → chunk-SNPKQ4QJ.js} +1 -1
- package/dist/prod/data/image-TF47GACX.js +1 -0
- package/dist/prod/index.js +16 -16
- package/dist/prod/locales/{en-RF5UZHGV.js → en-3XEBA2ZW.js} +1 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/utils.d.ts +3 -0
- package/dist/types/element/src/arrange-algorithms/packer.d.ts +30 -0
- package/dist/types/element/src/arrange.d.ts +3 -0
- package/dist/types/element/src/binding.d.ts +1 -2
- package/dist/types/element/src/bounds.d.ts +2 -2
- package/dist/types/element/src/duplicate.d.ts +10 -13
- package/dist/types/element/src/frame.d.ts +1 -1
- package/dist/types/element/src/selection.d.ts +11 -0
- package/dist/types/element/src/types.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +12 -0
- package/dist/types/excalidraw/actions/actionArrange.d.ts +30 -0
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +8 -0
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +48 -0
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +24 -0
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +12 -0
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +8 -0
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionExport.d.ts +36 -0
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +8 -0
- package/dist/types/excalidraw/actions/actionFrame.d.ts +16 -0
- package/dist/types/excalidraw/actions/actionGroup.d.ts +8 -0
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionLink.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionMenu.d.ts +12 -0
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +8 -0
- package/dist/types/excalidraw/actions/actionProperties.d.ts +60 -0
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionStyles.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +8 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +4 -0
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +4 -0
- package/dist/types/excalidraw/actions/index.d.ts +1 -0
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +4 -0
- package/dist/types/excalidraw/components/App.d.ts +8 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
- package/dist/types/excalidraw/components/icons.d.ts +1 -0
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
- package/dist/types/excalidraw/scene/types.d.ts +2 -0
- package/dist/types/excalidraw/types.d.ts +10 -1
- package/package.json +1 -1
- package/dist/dev/chunk-6MXLCRC3.js.map +0 -7
- package/dist/dev/chunk-XKDJIA35.js.map +0 -7
- package/dist/prod/chunk-RT42IMT3.js +0 -33
- package/dist/prod/data/image-NV63W4US.js +0 -1
- /package/dist/dev/{chunk-626MKRIR.js.map → chunk-4OALG4EH.js.map} +0 -0
- /package/dist/dev/data/{image-M4KEBNT4.js.map → image-OTIQTZCO.js.map} +0 -0
- /package/dist/dev/locales/{en-FBYNI7ML.js.map → en-IPMKTZRA.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A,B,C,D,E,F,G,H,I,J,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-
|
|
1
|
+
import{A,B,C,D,E,F,G,H,I,J,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-HYYBIWRU.js";import"../chunk-SRAX5OIU.js";export{f as alerts,e as buttons,l as canvasError,s as clearCanvasDialog,C as colorPicker,A as colors,I as commandPalette,v as confirmDialog,J as default,i as element,b as elementLink,x as encrypted,p as errorDialog,m as errorSplash,g as errors,q as exportDialog,G as fontList,j as headings,r as helpDialog,k as hints,w as imageExportDialog,a as labels,c as library,E as mermaid,D as overwriteConfirm,t as publishDialog,u as publishSuccessDialog,F as quickSearch,o as roomDialog,d as search,n as shareDialog,y as stats,z as toast,h as toolBar,H as userList,B as welcomeScreen};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d}from"./chunk-LS7FJGPW.js";import"./chunk-
|
|
1
|
+
import{a,b,c,d}from"./chunk-LS7FJGPW.js";import"./chunk-SNPKQ4QJ.js";import"./chunk-SRAX5OIU.js";export{a as Commands,b as subsetToBase64,c as subsetToBinary,d as toBase64};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r,c as t}from"./chunk-LS7FJGPW.js";import"./chunk-
|
|
1
|
+
import{a as r,c as t}from"./chunk-LS7FJGPW.js";import"./chunk-SNPKQ4QJ.js";import"./chunk-SRAX5OIU.js";var s=import.meta.url?new URL(import.meta.url):void 0;typeof window>"u"&&typeof self<"u"&&(self.onmessage=async e=>{switch(e.data.command){case r.Subset:let a=await t(e.data.arrayBuffer,e.data.codePoints);self.postMessage(a,{transfer:[a]});break}});export{s as WorkerUrl};
|
|
@@ -251,4 +251,7 @@ export declare const safelyParseJSON: (json: string) => Record<string, any> | nu
|
|
|
251
251
|
export declare const escapeDoubleQuotes: (str: string) => string;
|
|
252
252
|
export declare const castArray: <T>(value: T | T[]) => T[];
|
|
253
253
|
export declare const elementCenterPoint: (element: ExcalidrawElement, xOffset?: number, yOffset?: number) => GlobalPoint;
|
|
254
|
+
/** hack for Array.isArray type guard not working with readonly value[] */
|
|
255
|
+
export declare const isReadonlyArray: (value?: any) => value is readonly any[];
|
|
256
|
+
export declare const sizeOf: (value: readonly number[] | Readonly<Map<any, any>> | Record<any, any>) => number;
|
|
254
257
|
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface Block {
|
|
2
|
+
w: number;
|
|
3
|
+
h: number;
|
|
4
|
+
fit?: TreeNode | null;
|
|
5
|
+
}
|
|
6
|
+
export interface TreeNode {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
w: number;
|
|
10
|
+
h: number;
|
|
11
|
+
used?: boolean;
|
|
12
|
+
down?: TreeNode;
|
|
13
|
+
right?: TreeNode;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Growth packer based on https://github.com/jakesgordon/bin-packing/tree/master
|
|
17
|
+
*
|
|
18
|
+
* Added support to adding gaps to the packing by @feng94
|
|
19
|
+
*/
|
|
20
|
+
export declare class GrowingPacker {
|
|
21
|
+
root: TreeNode | null;
|
|
22
|
+
gap: number;
|
|
23
|
+
constructor(gap?: number);
|
|
24
|
+
fit(blocks: Block[]): void;
|
|
25
|
+
private findNode;
|
|
26
|
+
private splitNode;
|
|
27
|
+
private growNode;
|
|
28
|
+
private growRight;
|
|
29
|
+
private growDown;
|
|
30
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ElementsMap, ExcalidrawElement, ArrangeAlgorithms } from "./types";
|
|
2
|
+
declare const arrangeElements: (selectedElements: ExcalidrawElement[], elementsMap: ElementsMap, algorithm: ArrangeAlgorithms, gap: number) => ExcalidrawElement[];
|
|
3
|
+
export { arrangeElements };
|
|
@@ -45,8 +45,7 @@ export declare const snapToMid: (element: ExcalidrawBindableElement, p: GlobalPo
|
|
|
45
45
|
export declare const calculateFixedPointForElbowArrowBinding: (linearElement: NonDeleted<ExcalidrawElbowArrowElement>, hoveredElement: ExcalidrawBindableElement, startOrEnd: "start" | "end", elementsMap: ElementsMap) => {
|
|
46
46
|
fixedPoint: FixedPoint;
|
|
47
47
|
};
|
|
48
|
-
export declare const fixDuplicatedBindingsAfterDuplication: (
|
|
49
|
-
export declare const fixReversedBindings: (originalElements: Map<string, ExcalidrawElement>, elementsWithClones: ExcalidrawElement[], oldIdToDuplicatedId: Map<ExcalidrawElement["id"], ExcalidrawElement["id"]>) => void;
|
|
48
|
+
export declare const fixDuplicatedBindingsAfterDuplication: (duplicatedElements: ExcalidrawElement[], origIdToDuplicateId: Map<ExcalidrawElement["id"], ExcalidrawElement["id"]>, duplicateElementsMap: NonDeletedSceneElementsMap) => void;
|
|
50
49
|
export declare const fixBindingsAfterDeletion: (sceneElements: readonly ExcalidrawElement[], deletedElements: readonly ExcalidrawElement[]) => void;
|
|
51
50
|
export declare const bindingBorderTest: (element: NonDeleted<ExcalidrawBindableElement>, { x, y }: {
|
|
52
51
|
x: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Degrees, GlobalPoint, LineSegment } from "@excalidraw/math";
|
|
2
2
|
import type { AppState } from "@excalidraw/excalidraw/types";
|
|
3
|
-
import type { ExcalidrawElement, ExcalidrawLinearElement, Arrowhead, ExcalidrawFreeDrawElement, NonDeleted, ElementsMap } from "./types";
|
|
3
|
+
import type { ExcalidrawElement, ExcalidrawLinearElement, Arrowhead, ExcalidrawFreeDrawElement, NonDeleted, ElementsMap, ElementsMapOrArray } from "./types";
|
|
4
4
|
import type { Drawable, Op } from "roughjs/bin/core";
|
|
5
5
|
export type RectangleBox = {
|
|
6
6
|
x: number;
|
|
@@ -51,7 +51,7 @@ export declare const getArrowheadSize: (arrowhead: Arrowhead) => number;
|
|
|
51
51
|
export declare const getArrowheadAngle: (arrowhead: Arrowhead) => Degrees;
|
|
52
52
|
export declare const getArrowheadPoints: (element: ExcalidrawLinearElement, shape: Drawable[], position: "start" | "end", arrowhead: Arrowhead) => number[] | null;
|
|
53
53
|
export declare const getElementBounds: (element: ExcalidrawElement, elementsMap: ElementsMap) => Bounds;
|
|
54
|
-
export declare const getCommonBounds: (elements:
|
|
54
|
+
export declare const getCommonBounds: (elements: ElementsMapOrArray, elementsMap?: ElementsMap) => Bounds;
|
|
55
55
|
export declare const getDraggedElementsBounds: (elements: ExcalidrawElement[], dragOffset: {
|
|
56
56
|
x: number;
|
|
57
57
|
y: number;
|
|
@@ -13,13 +13,16 @@ import type { ExcalidrawElement, GroupId } from "./types";
|
|
|
13
13
|
* multiple elements at once, share this map
|
|
14
14
|
* amongst all of them
|
|
15
15
|
* @param element Element to duplicate
|
|
16
|
-
* @param overrides Any element properties to override
|
|
17
16
|
*/
|
|
18
|
-
export declare const duplicateElement: <TElement extends ExcalidrawElement>(editingGroupId: AppState["editingGroupId"], groupIdMapForOperation: Map<GroupId, GroupId>, element: TElement,
|
|
17
|
+
export declare const duplicateElement: <TElement extends ExcalidrawElement>(editingGroupId: AppState["editingGroupId"], groupIdMapForOperation: Map<GroupId, GroupId>, element: TElement, randomizeSeed?: boolean) => Readonly<TElement>;
|
|
19
18
|
export declare const duplicateElements: (opts: {
|
|
20
19
|
elements: readonly ExcalidrawElement[];
|
|
21
20
|
randomizeSeed?: boolean | undefined;
|
|
22
|
-
overrides?: ((
|
|
21
|
+
overrides?: ((data: {
|
|
22
|
+
duplicateElement: ExcalidrawElement;
|
|
23
|
+
origElement: ExcalidrawElement;
|
|
24
|
+
origIdToDuplicateId: Map<ExcalidrawElement["id"], ExcalidrawElement["id"]>;
|
|
25
|
+
}) => Partial<ExcalidrawElement>) | undefined;
|
|
23
26
|
} & ({
|
|
24
27
|
/**
|
|
25
28
|
* Duplicates all elements in array.
|
|
@@ -42,17 +45,11 @@ export declare const duplicateElements: (opts: {
|
|
|
42
45
|
editingGroupId: AppState["editingGroupId"];
|
|
43
46
|
selectedGroupIds: AppState["selectedGroupIds"];
|
|
44
47
|
};
|
|
45
|
-
/**
|
|
46
|
-
* If true, duplicated elements are inserted _before_ specified
|
|
47
|
-
* elements. Case: alt-dragging elements to duplicate them.
|
|
48
|
-
*
|
|
49
|
-
* TODO: remove this once (if) we stop replacing the original element
|
|
50
|
-
* with the duplicated one in the scene array.
|
|
51
|
-
*/
|
|
52
|
-
reverseOrder: boolean;
|
|
53
48
|
})) => {
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
duplicatedElements: ExcalidrawElement[];
|
|
50
|
+
duplicateElementsMap: Map<string, ExcalidrawElement>;
|
|
51
|
+
elementsWithDuplicates: ExcalidrawElement[];
|
|
52
|
+
origIdToDuplicateId: Map<string, string>;
|
|
56
53
|
};
|
|
57
54
|
/**
|
|
58
55
|
* Clones ExcalidrawElement data structure. Does not regenerate id, nonce, or
|
|
@@ -2,7 +2,7 @@ import type { ExcalidrawElementsIncludingDeleted } from "@excalidraw/excalidraw/
|
|
|
2
2
|
import type { AppClassProperties, AppState, StaticCanvasAppState } from "@excalidraw/excalidraw/types";
|
|
3
3
|
import type { ReadonlySetLike } from "@excalidraw/common/utility-types";
|
|
4
4
|
import type { ElementsMap, ElementsMapOrArray, ExcalidrawElement, ExcalidrawFrameLikeElement, NonDeleted, NonDeletedExcalidrawElement } from "./types";
|
|
5
|
-
export declare const bindElementsToFramesAfterDuplication: (nextElements: readonly ExcalidrawElement[],
|
|
5
|
+
export declare const bindElementsToFramesAfterDuplication: (nextElements: readonly ExcalidrawElement[], origElements: readonly ExcalidrawElement[], origIdToDuplicateId: Map<ExcalidrawElement["id"], ExcalidrawElement["id"]>) => void;
|
|
6
6
|
export declare function isElementIntersectingFrame(element: ExcalidrawElement, frame: ExcalidrawFrameLikeElement, elementsMap: ElementsMap): boolean;
|
|
7
7
|
export declare const getElementsCompletelyInFrame: (elements: readonly ExcalidrawElement[], frame: ExcalidrawFrameLikeElement, elementsMap: ElementsMap) => ExcalidrawElement[];
|
|
8
8
|
export declare const isElementContainingFrame: (element: ExcalidrawElement, frame: ExcalidrawFrameLikeElement, elementsMap: ElementsMap) => boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AppState, InteractiveCanvasAppState } from "@excalidraw/excalidraw/types";
|
|
2
|
+
import { LinearElementEditor } from "./linearElementEditor";
|
|
2
3
|
import type { ElementsMap, ElementsMapOrArray, ExcalidrawElement, NonDeletedExcalidrawElement } from "./types";
|
|
3
4
|
/**
|
|
4
5
|
* Frames and their containing elements are not to be selected at the same time.
|
|
@@ -30,3 +31,13 @@ export declare const getTargetElements: (elements: ElementsMapOrArray, appState:
|
|
|
30
31
|
export declare const makeNextSelectedElementIds: (nextSelectedElementIds: AppState["selectedElementIds"], prevState: Pick<AppState, "selectedElementIds">) => Readonly<{
|
|
31
32
|
[id: string]: true;
|
|
32
33
|
}>;
|
|
34
|
+
export declare const getSelectionStateForElements: (targetElements: readonly ExcalidrawElement[], allElements: readonly NonDeletedExcalidrawElement[], appState: AppState) => {
|
|
35
|
+
editingGroupId: string | null;
|
|
36
|
+
selectedElementIds: Readonly<{
|
|
37
|
+
[id: string]: true;
|
|
38
|
+
}>;
|
|
39
|
+
selectedGroupIds: {
|
|
40
|
+
[groupId: string]: boolean;
|
|
41
|
+
};
|
|
42
|
+
selectedLinearElement: LinearElementEditor | null;
|
|
43
|
+
};
|
|
@@ -279,4 +279,5 @@ export type SceneElementsMap = Map<ExcalidrawElement["id"], Ordered<ExcalidrawEl
|
|
|
279
279
|
*/
|
|
280
280
|
export type NonDeletedSceneElementsMap = Map<ExcalidrawElement["id"], Ordered<NonDeletedExcalidrawElement>> & MakeBrand<"NonDeletedSceneElementsMap">;
|
|
281
281
|
export type ElementsMapOrArray = readonly ExcalidrawElement[] | Readonly<ElementsMap>;
|
|
282
|
+
export type ArrangeAlgorithms = "bin-packing";
|
|
282
283
|
export {};
|
|
@@ -20,6 +20,10 @@ export declare const actionAddToLibrary: {
|
|
|
20
20
|
myocSimplifiedMode: boolean;
|
|
21
21
|
hideMainMenus: boolean;
|
|
22
22
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
23
|
+
arrangeConfiguration: {
|
|
24
|
+
algorithm: "bin-packing";
|
|
25
|
+
gap: number;
|
|
26
|
+
};
|
|
23
27
|
errorMessage: import("react").ReactNode;
|
|
24
28
|
activeEmbeddable: {
|
|
25
29
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -195,6 +199,10 @@ export declare const actionAddToLibrary: {
|
|
|
195
199
|
myocSimplifiedMode: boolean;
|
|
196
200
|
hideMainMenus: boolean;
|
|
197
201
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
202
|
+
arrangeConfiguration: {
|
|
203
|
+
algorithm: "bin-packing";
|
|
204
|
+
gap: number;
|
|
205
|
+
};
|
|
198
206
|
activeEmbeddable: {
|
|
199
207
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
200
208
|
state: "hover" | "active";
|
|
@@ -374,6 +382,10 @@ export declare const actionAddToLibrary: {
|
|
|
374
382
|
myocSimplifiedMode: boolean;
|
|
375
383
|
hideMainMenus: boolean;
|
|
376
384
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
385
|
+
arrangeConfiguration: {
|
|
386
|
+
algorithm: "bin-packing";
|
|
387
|
+
gap: number;
|
|
388
|
+
};
|
|
377
389
|
activeEmbeddable: {
|
|
378
390
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
379
391
|
state: "hover" | "active";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
3
|
+
import type { AppClassProperties, AppState } from "../types";
|
|
4
|
+
export declare const arrangeElementsPredicate: (appState: import("../types").UIAppState, app: AppClassProperties) => boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Arranges selected elements in to be positioned nicely next to each
|
|
7
|
+
* other.
|
|
8
|
+
*
|
|
9
|
+
* Takes into account the current state's gap setting or selected algorithm
|
|
10
|
+
*/
|
|
11
|
+
export declare const actionArrangeElements: {
|
|
12
|
+
name: "arrangeElements";
|
|
13
|
+
label: string;
|
|
14
|
+
keywords: string[];
|
|
15
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
trackEvent: {
|
|
17
|
+
category: "element";
|
|
18
|
+
};
|
|
19
|
+
viewMode: false;
|
|
20
|
+
predicate: (_elements: readonly ExcalidrawElement[], appState: AppState, _appProps: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
21
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _value: any, app: AppClassProperties) => {
|
|
22
|
+
appState: Readonly<AppState>;
|
|
23
|
+
elements: ExcalidrawElement[];
|
|
24
|
+
captureUpdate: "IMMEDIATELY";
|
|
25
|
+
};
|
|
26
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
27
|
+
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
} & {
|
|
29
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
30
|
+
};
|
|
@@ -40,6 +40,10 @@ export declare const actionBindText: {
|
|
|
40
40
|
myocSimplifiedMode: boolean;
|
|
41
41
|
hideMainMenus: boolean;
|
|
42
42
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
43
|
+
arrangeConfiguration: {
|
|
44
|
+
algorithm: "bin-packing";
|
|
45
|
+
gap: number;
|
|
46
|
+
};
|
|
43
47
|
errorMessage: import("react").ReactNode;
|
|
44
48
|
activeEmbeddable: {
|
|
45
49
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -231,6 +235,10 @@ export declare const actionWrapTextInContainer: {
|
|
|
231
235
|
myocSimplifiedMode: boolean;
|
|
232
236
|
hideMainMenus: boolean;
|
|
233
237
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
238
|
+
arrangeConfiguration: {
|
|
239
|
+
algorithm: "bin-packing";
|
|
240
|
+
gap: number;
|
|
241
|
+
};
|
|
234
242
|
errorMessage: import("react").ReactNode;
|
|
235
243
|
activeEmbeddable: {
|
|
236
244
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -41,6 +41,10 @@ export declare const actionZoomIn: {
|
|
|
41
41
|
myocSimplifiedMode: boolean;
|
|
42
42
|
hideMainMenus: boolean;
|
|
43
43
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
44
|
+
arrangeConfiguration: {
|
|
45
|
+
algorithm: "bin-packing";
|
|
46
|
+
gap: number;
|
|
47
|
+
};
|
|
44
48
|
errorMessage: import("react").ReactNode;
|
|
45
49
|
activeEmbeddable: {
|
|
46
50
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -234,6 +238,10 @@ export declare const actionZoomOut: {
|
|
|
234
238
|
myocSimplifiedMode: boolean;
|
|
235
239
|
hideMainMenus: boolean;
|
|
236
240
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
241
|
+
arrangeConfiguration: {
|
|
242
|
+
algorithm: "bin-packing";
|
|
243
|
+
gap: number;
|
|
244
|
+
};
|
|
237
245
|
errorMessage: import("react").ReactNode;
|
|
238
246
|
activeEmbeddable: {
|
|
239
247
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -427,6 +435,10 @@ export declare const actionResetZoom: {
|
|
|
427
435
|
myocSimplifiedMode: boolean;
|
|
428
436
|
hideMainMenus: boolean;
|
|
429
437
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
438
|
+
arrangeConfiguration: {
|
|
439
|
+
algorithm: "bin-packing";
|
|
440
|
+
gap: number;
|
|
441
|
+
};
|
|
430
442
|
errorMessage: import("react").ReactNode;
|
|
431
443
|
activeEmbeddable: {
|
|
432
444
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -626,6 +638,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
626
638
|
myocSimplifiedMode: boolean;
|
|
627
639
|
hideMainMenus: boolean;
|
|
628
640
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
641
|
+
arrangeConfiguration: {
|
|
642
|
+
algorithm: "bin-packing";
|
|
643
|
+
gap: number;
|
|
644
|
+
};
|
|
629
645
|
errorMessage: import("react").ReactNode;
|
|
630
646
|
activeEmbeddable: {
|
|
631
647
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -821,6 +837,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
821
837
|
myocSimplifiedMode: boolean;
|
|
822
838
|
hideMainMenus: boolean;
|
|
823
839
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
840
|
+
arrangeConfiguration: {
|
|
841
|
+
algorithm: "bin-packing";
|
|
842
|
+
gap: number;
|
|
843
|
+
};
|
|
824
844
|
errorMessage: import("react").ReactNode;
|
|
825
845
|
activeEmbeddable: {
|
|
826
846
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -1008,6 +1028,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1008
1028
|
myocSimplifiedMode: boolean;
|
|
1009
1029
|
hideMainMenus: boolean;
|
|
1010
1030
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1031
|
+
arrangeConfiguration: {
|
|
1032
|
+
algorithm: "bin-packing";
|
|
1033
|
+
gap: number;
|
|
1034
|
+
};
|
|
1011
1035
|
errorMessage: import("react").ReactNode;
|
|
1012
1036
|
activeEmbeddable: {
|
|
1013
1037
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -1199,6 +1223,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1199
1223
|
myocSimplifiedMode: boolean;
|
|
1200
1224
|
hideMainMenus: boolean;
|
|
1201
1225
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1226
|
+
arrangeConfiguration: {
|
|
1227
|
+
algorithm: "bin-packing";
|
|
1228
|
+
gap: number;
|
|
1229
|
+
};
|
|
1202
1230
|
errorMessage: import("react").ReactNode;
|
|
1203
1231
|
activeEmbeddable: {
|
|
1204
1232
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -1391,6 +1419,10 @@ export declare const actionZoomToFit: {
|
|
|
1391
1419
|
myocSimplifiedMode: boolean;
|
|
1392
1420
|
hideMainMenus: boolean;
|
|
1393
1421
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1422
|
+
arrangeConfiguration: {
|
|
1423
|
+
algorithm: "bin-packing";
|
|
1424
|
+
gap: number;
|
|
1425
|
+
};
|
|
1394
1426
|
errorMessage: import("react").ReactNode;
|
|
1395
1427
|
activeEmbeddable: {
|
|
1396
1428
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -1580,6 +1612,10 @@ export declare const actionToggleTheme: {
|
|
|
1580
1612
|
myocSimplifiedMode: boolean;
|
|
1581
1613
|
hideMainMenus: boolean;
|
|
1582
1614
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1615
|
+
arrangeConfiguration: {
|
|
1616
|
+
algorithm: "bin-packing";
|
|
1617
|
+
gap: number;
|
|
1618
|
+
};
|
|
1583
1619
|
errorMessage: import("react").ReactNode;
|
|
1584
1620
|
activeEmbeddable: {
|
|
1585
1621
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -1778,6 +1814,10 @@ export declare const actionToggleEraserTool: {
|
|
|
1778
1814
|
myocSimplifiedMode: boolean;
|
|
1779
1815
|
hideMainMenus: boolean;
|
|
1780
1816
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1817
|
+
arrangeConfiguration: {
|
|
1818
|
+
algorithm: "bin-packing";
|
|
1819
|
+
gap: number;
|
|
1820
|
+
};
|
|
1781
1821
|
errorMessage: import("react").ReactNode;
|
|
1782
1822
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1783
1823
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1962,6 +2002,10 @@ export declare const actionToggleLassoTool: {
|
|
|
1962
2002
|
myocSimplifiedMode: boolean;
|
|
1963
2003
|
hideMainMenus: boolean;
|
|
1964
2004
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
2005
|
+
arrangeConfiguration: {
|
|
2006
|
+
algorithm: "bin-packing";
|
|
2007
|
+
gap: number;
|
|
2008
|
+
};
|
|
1965
2009
|
errorMessage: import("react").ReactNode;
|
|
1966
2010
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1967
2011
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -2146,6 +2190,10 @@ export declare const actionToggleHandTool: {
|
|
|
2146
2190
|
myocSimplifiedMode: boolean;
|
|
2147
2191
|
hideMainMenus: boolean;
|
|
2148
2192
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
2193
|
+
arrangeConfiguration: {
|
|
2194
|
+
algorithm: "bin-packing";
|
|
2195
|
+
gap: number;
|
|
2196
|
+
};
|
|
2149
2197
|
errorMessage: import("react").ReactNode;
|
|
2150
2198
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2151
2199
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -20,6 +20,10 @@ export declare const actionCopy: {
|
|
|
20
20
|
myocSimplifiedMode: boolean;
|
|
21
21
|
hideMainMenus: boolean;
|
|
22
22
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
23
|
+
arrangeConfiguration: {
|
|
24
|
+
algorithm: "bin-packing";
|
|
25
|
+
gap: number;
|
|
26
|
+
};
|
|
23
27
|
activeEmbeddable: {
|
|
24
28
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
25
29
|
state: "hover" | "active";
|
|
@@ -213,6 +217,10 @@ export declare const actionPaste: {
|
|
|
213
217
|
myocSimplifiedMode: boolean;
|
|
214
218
|
hideMainMenus: boolean;
|
|
215
219
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
220
|
+
arrangeConfiguration: {
|
|
221
|
+
algorithm: "bin-packing";
|
|
222
|
+
gap: number;
|
|
223
|
+
};
|
|
216
224
|
activeEmbeddable: {
|
|
217
225
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
218
226
|
state: "hover" | "active";
|
|
@@ -407,6 +415,10 @@ export declare const actionCut: {
|
|
|
407
415
|
myocSimplifiedMode: boolean;
|
|
408
416
|
hideMainMenus: boolean;
|
|
409
417
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
418
|
+
arrangeConfiguration: {
|
|
419
|
+
algorithm: "bin-packing";
|
|
420
|
+
gap: number;
|
|
421
|
+
};
|
|
410
422
|
errorMessage: import("react").ReactNode;
|
|
411
423
|
activeEmbeddable: {
|
|
412
424
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -617,6 +629,10 @@ export declare const actionCut: {
|
|
|
617
629
|
myocSimplifiedMode: boolean;
|
|
618
630
|
hideMainMenus: boolean;
|
|
619
631
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
632
|
+
arrangeConfiguration: {
|
|
633
|
+
algorithm: "bin-packing";
|
|
634
|
+
gap: number;
|
|
635
|
+
};
|
|
620
636
|
errorMessage: import("react").ReactNode;
|
|
621
637
|
activeEmbeddable: {
|
|
622
638
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -811,6 +827,10 @@ export declare const actionCut: {
|
|
|
811
827
|
myocSimplifiedMode: boolean;
|
|
812
828
|
hideMainMenus: boolean;
|
|
813
829
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
830
|
+
arrangeConfiguration: {
|
|
831
|
+
algorithm: "bin-packing";
|
|
832
|
+
gap: number;
|
|
833
|
+
};
|
|
814
834
|
errorMessage: import("react").ReactNode;
|
|
815
835
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
816
836
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1018,6 +1038,10 @@ export declare const actionCopyAsPng: {
|
|
|
1018
1038
|
myocSimplifiedMode: boolean;
|
|
1019
1039
|
hideMainMenus: boolean;
|
|
1020
1040
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1041
|
+
arrangeConfiguration: {
|
|
1042
|
+
algorithm: "bin-packing";
|
|
1043
|
+
gap: number;
|
|
1044
|
+
};
|
|
1021
1045
|
activeEmbeddable: {
|
|
1022
1046
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1023
1047
|
state: "hover" | "active";
|
|
@@ -22,6 +22,10 @@ export declare const actionToggleCropEditor: {
|
|
|
22
22
|
myocSimplifiedMode: boolean;
|
|
23
23
|
hideMainMenus: boolean;
|
|
24
24
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
25
|
+
arrangeConfiguration: {
|
|
26
|
+
algorithm: "bin-packing";
|
|
27
|
+
gap: number;
|
|
28
|
+
};
|
|
25
29
|
errorMessage: import("react").ReactNode;
|
|
26
30
|
activeEmbeddable: {
|
|
27
31
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -24,6 +24,10 @@ export declare const actionDeleteSelected: {
|
|
|
24
24
|
myocSimplifiedMode: boolean;
|
|
25
25
|
hideMainMenus: boolean;
|
|
26
26
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
27
|
+
arrangeConfiguration: {
|
|
28
|
+
algorithm: "bin-packing";
|
|
29
|
+
gap: number;
|
|
30
|
+
};
|
|
27
31
|
errorMessage: import("react").ReactNode;
|
|
28
32
|
activeEmbeddable: {
|
|
29
33
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -234,6 +238,10 @@ export declare const actionDeleteSelected: {
|
|
|
234
238
|
myocSimplifiedMode: boolean;
|
|
235
239
|
hideMainMenus: boolean;
|
|
236
240
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
241
|
+
arrangeConfiguration: {
|
|
242
|
+
algorithm: "bin-packing";
|
|
243
|
+
gap: number;
|
|
244
|
+
};
|
|
237
245
|
errorMessage: import("react").ReactNode;
|
|
238
246
|
activeEmbeddable: {
|
|
239
247
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -428,6 +436,10 @@ export declare const actionDeleteSelected: {
|
|
|
428
436
|
myocSimplifiedMode: boolean;
|
|
429
437
|
hideMainMenus: boolean;
|
|
430
438
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
439
|
+
arrangeConfiguration: {
|
|
440
|
+
algorithm: "bin-packing";
|
|
441
|
+
gap: number;
|
|
442
|
+
};
|
|
431
443
|
errorMessage: import("react").ReactNode;
|
|
432
444
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
433
445
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -51,6 +51,10 @@ export declare const actionLinkToElement: {
|
|
|
51
51
|
myocSimplifiedMode: boolean;
|
|
52
52
|
hideMainMenus: boolean;
|
|
53
53
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
54
|
+
arrangeConfiguration: {
|
|
55
|
+
algorithm: "bin-packing";
|
|
56
|
+
gap: number;
|
|
57
|
+
};
|
|
54
58
|
errorMessage: import("react").ReactNode;
|
|
55
59
|
activeEmbeddable: {
|
|
56
60
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -22,6 +22,10 @@ export declare const actionToggleElementLock: {
|
|
|
22
22
|
myocSimplifiedMode: boolean;
|
|
23
23
|
hideMainMenus: boolean;
|
|
24
24
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
25
|
+
arrangeConfiguration: {
|
|
26
|
+
algorithm: "bin-packing";
|
|
27
|
+
gap: number;
|
|
28
|
+
};
|
|
25
29
|
errorMessage: import("react").ReactNode;
|
|
26
30
|
activeEmbeddable: {
|
|
27
31
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -217,6 +221,10 @@ export declare const actionUnlockAllElements: {
|
|
|
217
221
|
myocSimplifiedMode: boolean;
|
|
218
222
|
hideMainMenus: boolean;
|
|
219
223
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
224
|
+
arrangeConfiguration: {
|
|
225
|
+
algorithm: "bin-packing";
|
|
226
|
+
gap: number;
|
|
227
|
+
};
|
|
220
228
|
errorMessage: import("react").ReactNode;
|
|
221
229
|
activeEmbeddable: {
|
|
222
230
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -24,6 +24,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
24
24
|
myocSimplifiedMode: boolean;
|
|
25
25
|
hideMainMenus: boolean;
|
|
26
26
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
27
|
+
arrangeConfiguration: {
|
|
28
|
+
algorithm: "bin-packing";
|
|
29
|
+
gap: number;
|
|
30
|
+
};
|
|
27
31
|
errorMessage: import("react").ReactNode;
|
|
28
32
|
activeEmbeddable: {
|
|
29
33
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -18,6 +18,10 @@ export declare const actionChangeProjectName: {
|
|
|
18
18
|
myocSimplifiedMode: boolean;
|
|
19
19
|
hideMainMenus: boolean;
|
|
20
20
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
21
|
+
arrangeConfiguration: {
|
|
22
|
+
algorithm: "bin-packing";
|
|
23
|
+
gap: number;
|
|
24
|
+
};
|
|
21
25
|
errorMessage: import("react").ReactNode;
|
|
22
26
|
activeEmbeddable: {
|
|
23
27
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -209,6 +213,10 @@ export declare const actionChangeExportScale: {
|
|
|
209
213
|
myocSimplifiedMode: boolean;
|
|
210
214
|
hideMainMenus: boolean;
|
|
211
215
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
216
|
+
arrangeConfiguration: {
|
|
217
|
+
algorithm: "bin-packing";
|
|
218
|
+
gap: number;
|
|
219
|
+
};
|
|
212
220
|
errorMessage: import("react").ReactNode;
|
|
213
221
|
activeEmbeddable: {
|
|
214
222
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -400,6 +408,10 @@ export declare const actionChangeExportBackground: {
|
|
|
400
408
|
myocSimplifiedMode: boolean;
|
|
401
409
|
hideMainMenus: boolean;
|
|
402
410
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
411
|
+
arrangeConfiguration: {
|
|
412
|
+
algorithm: "bin-packing";
|
|
413
|
+
gap: number;
|
|
414
|
+
};
|
|
403
415
|
errorMessage: import("react").ReactNode;
|
|
404
416
|
activeEmbeddable: {
|
|
405
417
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -591,6 +603,10 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
591
603
|
myocSimplifiedMode: boolean;
|
|
592
604
|
hideMainMenus: boolean;
|
|
593
605
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
606
|
+
arrangeConfiguration: {
|
|
607
|
+
algorithm: "bin-packing";
|
|
608
|
+
gap: number;
|
|
609
|
+
};
|
|
594
610
|
errorMessage: import("react").ReactNode;
|
|
595
611
|
activeEmbeddable: {
|
|
596
612
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -787,6 +803,10 @@ export declare const actionSaveToActiveFile: {
|
|
|
787
803
|
myocSimplifiedMode: boolean;
|
|
788
804
|
hideMainMenus: boolean;
|
|
789
805
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
806
|
+
arrangeConfiguration: {
|
|
807
|
+
algorithm: "bin-packing";
|
|
808
|
+
gap: number;
|
|
809
|
+
};
|
|
790
810
|
errorMessage: import("react").ReactNode;
|
|
791
811
|
activeEmbeddable: {
|
|
792
812
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -981,6 +1001,10 @@ export declare const actionSaveFileToDisk: {
|
|
|
981
1001
|
myocSimplifiedMode: boolean;
|
|
982
1002
|
hideMainMenus: boolean;
|
|
983
1003
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1004
|
+
arrangeConfiguration: {
|
|
1005
|
+
algorithm: "bin-packing";
|
|
1006
|
+
gap: number;
|
|
1007
|
+
};
|
|
984
1008
|
errorMessage: import("react").ReactNode;
|
|
985
1009
|
activeEmbeddable: {
|
|
986
1010
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -1252,6 +1276,10 @@ export declare const actionLoadScene: {
|
|
|
1252
1276
|
isLoading: boolean;
|
|
1253
1277
|
myocSimplifiedMode: boolean;
|
|
1254
1278
|
hideMainMenus: boolean;
|
|
1279
|
+
arrangeConfiguration: {
|
|
1280
|
+
algorithm: "bin-packing";
|
|
1281
|
+
gap: number;
|
|
1282
|
+
};
|
|
1255
1283
|
errorMessage: import("react").ReactNode;
|
|
1256
1284
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1257
1285
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1337,6 +1365,10 @@ export declare const actionLoadScene: {
|
|
|
1337
1365
|
myocSimplifiedMode: boolean;
|
|
1338
1366
|
hideMainMenus: boolean;
|
|
1339
1367
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1368
|
+
arrangeConfiguration: {
|
|
1369
|
+
algorithm: "bin-packing";
|
|
1370
|
+
gap: number;
|
|
1371
|
+
};
|
|
1340
1372
|
activeEmbeddable: {
|
|
1341
1373
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1342
1374
|
state: "hover" | "active";
|
|
@@ -1529,6 +1561,10 @@ export declare const actionExportWithDarkMode: {
|
|
|
1529
1561
|
myocSimplifiedMode: boolean;
|
|
1530
1562
|
hideMainMenus: boolean;
|
|
1531
1563
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1564
|
+
arrangeConfiguration: {
|
|
1565
|
+
algorithm: "bin-packing";
|
|
1566
|
+
gap: number;
|
|
1567
|
+
};
|
|
1532
1568
|
errorMessage: import("react").ReactNode;
|
|
1533
1569
|
activeEmbeddable: {
|
|
1534
1570
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|