@dwelle/excalidraw 0.5.0-8cb033d → 0.5.0-90f2d4e
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-C6WW3IWU.js → chunk-BIYCCCC4.js} +14 -4
- package/dist/dev/chunk-BIYCCCC4.js.map +7 -0
- package/dist/dev/chunk-QW2KPMGE.js +7 -0
- package/dist/dev/chunk-QW2KPMGE.js.map +7 -0
- package/dist/dev/{chunk-2LNRWI74.js → chunk-VPDGV5DO.js} +9679 -8756
- package/dist/dev/chunk-VPDGV5DO.js.map +7 -0
- package/dist/dev/data/{image-7QZI7GM4.js → image-RC4Z3PZK.js} +3 -3
- package/dist/dev/index.css +695 -506
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +4223 -2821
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-VFJV7E2V.js → en-XLJO5VTH.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-DUG5AXRR.js +33 -0
- package/dist/prod/chunk-M2OFWNPH.js +7 -0
- package/dist/prod/{chunk-O65DDAOS.js → chunk-SPUFWQ3U.js} +4 -4
- package/dist/prod/data/image-W7J67QSB.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +20 -20
- package/dist/prod/locales/{en-UUHXMMMY.js → en-DMU2KFKH.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/constants.d.ts +38 -6
- package/dist/types/common/src/utils.d.ts +6 -5
- package/dist/types/element/src/Scene.d.ts +7 -3
- package/dist/types/element/src/align.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +10 -7
- package/dist/types/element/src/bounds.d.ts +12 -4
- package/dist/types/element/src/collision.d.ts +18 -12
- package/dist/types/element/src/cropElement.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +41 -9
- package/dist/types/element/src/distance.d.ts +2 -2
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/fractionalIndex.d.ts +8 -2
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/index.d.ts +2 -3
- package/dist/types/element/src/linearElementEditor.d.ts +13 -15
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +2 -1
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/dist/types/element/src/renderElement.d.ts +4 -1
- package/dist/types/element/src/resizeElements.d.ts +1 -0
- package/dist/types/element/src/selection.d.ts +1 -1
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/element/src/sizeHelpers.d.ts +2 -1
- package/dist/types/element/src/store.d.ts +19 -9
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +15 -1
- package/dist/types/element/src/types.d.ts +8 -3
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +10 -12
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +158 -170
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +38 -42
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +5 -6
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +21 -23
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +4 -5
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +12 -14
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +5 -6
- package/dist/types/excalidraw/actions/actionExport.d.ts +130 -139
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +61 -22
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +70 -74
- package/dist/types/excalidraw/actions/actionGroup.d.ts +16 -18
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +532 -9
- package/dist/types/excalidraw/actions/actionLink.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionMenu.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +10 -12
- package/dist/types/excalidraw/actions/actionProperties.d.ts +107 -105
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +8 -9
- package/dist/types/excalidraw/actions/actionStyles.d.ts +9 -10
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +2 -1
- package/dist/types/excalidraw/appState.d.ts +21 -20
- package/dist/types/excalidraw/clipboard.d.ts +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +8 -5
- package/dist/types/excalidraw/components/App.d.ts +21 -27
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/icons.d.ts +7 -0
- package/dist/types/excalidraw/components/shapes.d.ts +129 -1
- package/dist/types/excalidraw/data/blob.d.ts +4 -8
- package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
- package/dist/types/excalidraw/data/restore.d.ts +6 -1
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/eraser/index.d.ts +0 -2
- package/dist/types/excalidraw/history.d.ts +21 -5
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/index.d.ts +2 -1
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
- package/dist/types/excalidraw/renderer/helpers.d.ts +4 -4
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +0 -1
- package/dist/types/excalidraw/types.d.ts +12 -9
- package/dist/types/math/src/angle.d.ts +2 -0
- package/dist/types/math/src/constants.d.ts +3 -0
- package/dist/types/math/src/curve.d.ts +32 -0
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/point.d.ts +1 -1
- package/dist/types/math/src/rectangle.d.ts +2 -0
- package/dist/types/math/src/segment.d.ts +1 -0
- package/dist/types/math/src/vector.d.ts +4 -2
- package/history.ts +107 -44
- package/package.json +9 -9
- package/dist/dev/chunk-2LNRWI74.js.map +0 -7
- package/dist/dev/chunk-C6WW3IWU.js.map +0 -7
- package/dist/dev/chunk-NR24AOHB.js +0 -7
- package/dist/dev/chunk-NR24AOHB.js.map +0 -7
- package/dist/prod/chunk-JUZ2P6ZK.js +0 -33
- package/dist/prod/chunk-ZSOIT5RG.js +0 -7
- package/dist/prod/data/image-RPTD4VCP.js +0 -1
- package/dist/types/element/src/Shape.d.ts +0 -17
- package/dist/types/element/src/ShapeCache.d.ts +0 -25
- package/dist/types/element/src/shapes.d.ts +0 -23
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-7QZI7GM4.js.map → image-RC4Z3PZK.js.map} +0 -0
- /package/dist/dev/locales/{en-VFJV7E2V.js.map → en-XLJO5VTH.js.map} +0 -0
|
@@ -11,7 +11,7 @@ export declare const actionChangeViewBackgroundColor: {
|
|
|
11
11
|
appState: any;
|
|
12
12
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
13
13
|
};
|
|
14
|
-
PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
PanelComponent: ({ elements, appState, updateData, appProps, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
} & {
|
|
16
16
|
keyTest?: undefined;
|
|
17
17
|
};
|
|
@@ -51,40 +51,93 @@ export declare const actionClearCanvas: {
|
|
|
51
51
|
locked: boolean;
|
|
52
52
|
fromSelection: boolean;
|
|
53
53
|
} & import("../types").ActiveTool;
|
|
54
|
+
frameRendering: {
|
|
55
|
+
enabled: boolean;
|
|
56
|
+
name: boolean;
|
|
57
|
+
outline: boolean;
|
|
58
|
+
clip: boolean;
|
|
59
|
+
};
|
|
60
|
+
viewBackgroundColor: string;
|
|
61
|
+
name: string | null;
|
|
62
|
+
zoom: Readonly<{
|
|
63
|
+
value: import("../types").NormalizedZoomValue;
|
|
64
|
+
}>;
|
|
65
|
+
scrollX: number;
|
|
66
|
+
scrollY: number;
|
|
67
|
+
viewModeEnabled: boolean;
|
|
68
|
+
openDialog: {
|
|
69
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
70
|
+
} | {
|
|
71
|
+
name: "ttd";
|
|
72
|
+
tab: "mermaid" | "text-to-diagram";
|
|
73
|
+
} | {
|
|
74
|
+
name: "commandPalette";
|
|
75
|
+
} | {
|
|
76
|
+
name: "elementLinkSelector";
|
|
77
|
+
sourceElementId: string;
|
|
78
|
+
} | null;
|
|
79
|
+
editingGroupId: string | null;
|
|
80
|
+
selectedElementIds: Readonly<{
|
|
81
|
+
[id: string]: true;
|
|
82
|
+
}>;
|
|
83
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
84
|
+
activeEmbeddable: {
|
|
85
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
86
|
+
state: "active" | "hover";
|
|
87
|
+
} | null;
|
|
88
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
89
|
+
selectedGroupIds: {
|
|
90
|
+
[groupId: string]: boolean;
|
|
91
|
+
};
|
|
92
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
93
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
94
|
+
isBindingEnabled: boolean;
|
|
95
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
96
|
+
isRotating: boolean;
|
|
97
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
98
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
99
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
100
|
+
button?: "up" | "down" | undefined;
|
|
101
|
+
selectedElementIds?: Readonly<{
|
|
102
|
+
[id: string]: true;
|
|
103
|
+
}> | undefined;
|
|
104
|
+
username?: string | null | undefined;
|
|
105
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
106
|
+
color?: {
|
|
107
|
+
background: string;
|
|
108
|
+
stroke: string;
|
|
109
|
+
} | undefined;
|
|
110
|
+
avatarUrl?: string | undefined;
|
|
111
|
+
id?: string | undefined;
|
|
112
|
+
socketId?: import("../types").SocketId | undefined;
|
|
113
|
+
isCurrentUser?: boolean | undefined;
|
|
114
|
+
isInCall?: boolean | undefined;
|
|
115
|
+
isSpeaking?: boolean | undefined;
|
|
116
|
+
isMuted?: boolean | undefined;
|
|
117
|
+
}>>;
|
|
118
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
119
|
+
zenModeEnabled: boolean;
|
|
120
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
121
|
+
isCropping: boolean;
|
|
122
|
+
croppingElementId: string | null;
|
|
123
|
+
searchMatches: Readonly<{
|
|
124
|
+
focusedId: string | null;
|
|
125
|
+
matches: readonly import("../types").SearchMatch[];
|
|
126
|
+
}> | null;
|
|
127
|
+
activeLockedId: string | null;
|
|
54
128
|
contextMenu: {
|
|
55
129
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
56
130
|
top: number;
|
|
57
131
|
left: number;
|
|
58
132
|
} | null;
|
|
59
|
-
exportWithDarkMode: boolean;
|
|
60
|
-
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
61
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
62
|
-
cursorButton: "up" | "down";
|
|
63
|
-
scrollX: number;
|
|
64
|
-
scrollY: number;
|
|
65
133
|
showWelcomeScreen: boolean;
|
|
66
134
|
isLoading: boolean;
|
|
67
135
|
errorMessage: import("react").ReactNode;
|
|
68
|
-
activeEmbeddable: {
|
|
69
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
70
|
-
state: "hover" | "active";
|
|
71
|
-
} | null;
|
|
72
136
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
73
137
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
74
|
-
|
|
75
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
76
|
-
isBindingEnabled: boolean;
|
|
77
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
78
|
-
frameRendering: {
|
|
79
|
-
enabled: boolean;
|
|
80
|
-
name: boolean;
|
|
81
|
-
outline: boolean;
|
|
82
|
-
clip: boolean;
|
|
83
|
-
};
|
|
138
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
84
139
|
editingFrame: string | null;
|
|
85
|
-
|
|
86
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
87
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
140
|
+
exportWithDarkMode: boolean;
|
|
88
141
|
exportScale: number;
|
|
89
142
|
currentItemStrokeColor: string;
|
|
90
143
|
currentItemBackgroundColor: string;
|
|
@@ -101,36 +154,17 @@ export declare const actionClearCanvas: {
|
|
|
101
154
|
currentHoveredFontFamily: number | null;
|
|
102
155
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
103
156
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
104
|
-
|
|
157
|
+
cursorButton: "up" | "down";
|
|
105
158
|
scrolledOutside: boolean;
|
|
106
|
-
name: string | null;
|
|
107
159
|
isResizing: boolean;
|
|
108
|
-
isRotating: boolean;
|
|
109
|
-
zoom: Readonly<{
|
|
110
|
-
value: import("../types").NormalizedZoomValue;
|
|
111
|
-
}>;
|
|
112
160
|
openMenu: "canvas" | "shape" | null;
|
|
113
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
161
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
114
162
|
openSidebar: {
|
|
115
163
|
name: string;
|
|
116
164
|
tab?: string | undefined;
|
|
117
165
|
} | null;
|
|
118
|
-
openDialog: {
|
|
119
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
120
|
-
} | {
|
|
121
|
-
name: "ttd";
|
|
122
|
-
tab: "text-to-diagram" | "mermaid";
|
|
123
|
-
} | {
|
|
124
|
-
name: "commandPalette";
|
|
125
|
-
} | {
|
|
126
|
-
name: "elementLinkSelector";
|
|
127
|
-
sourceElementId: string;
|
|
128
|
-
} | null;
|
|
129
166
|
defaultSidebarDockedPreference: boolean;
|
|
130
167
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
131
|
-
selectedElementIds: Readonly<{
|
|
132
|
-
[id: string]: true;
|
|
133
|
-
}>;
|
|
134
168
|
hoveredElementIds: Readonly<{
|
|
135
169
|
[id: string]: true;
|
|
136
170
|
}>;
|
|
@@ -144,38 +178,9 @@ export declare const actionClearCanvas: {
|
|
|
144
178
|
closable?: boolean | undefined;
|
|
145
179
|
duration?: number | undefined;
|
|
146
180
|
} | null;
|
|
147
|
-
zenModeEnabled: boolean;
|
|
148
|
-
viewModeEnabled: boolean;
|
|
149
|
-
selectedGroupIds: {
|
|
150
|
-
[groupId: string]: boolean;
|
|
151
|
-
};
|
|
152
|
-
editingGroupId: string | null;
|
|
153
181
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
154
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
155
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
156
|
-
button?: "up" | "down" | undefined;
|
|
157
|
-
selectedElementIds?: Readonly<{
|
|
158
|
-
[id: string]: true;
|
|
159
|
-
}> | undefined;
|
|
160
|
-
username?: string | null | undefined;
|
|
161
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
162
|
-
color?: {
|
|
163
|
-
background: string;
|
|
164
|
-
stroke: string;
|
|
165
|
-
} | undefined;
|
|
166
|
-
avatarUrl?: string | undefined;
|
|
167
|
-
id?: string | undefined;
|
|
168
|
-
socketId?: import("../types").SocketId | undefined;
|
|
169
|
-
isCurrentUser?: boolean | undefined;
|
|
170
|
-
isInCall?: boolean | undefined;
|
|
171
|
-
isSpeaking?: boolean | undefined;
|
|
172
|
-
isMuted?: boolean | undefined;
|
|
173
|
-
}>>;
|
|
174
182
|
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
175
|
-
|
|
176
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
177
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
178
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
183
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
179
184
|
originSnapOffset: {
|
|
180
185
|
x: number;
|
|
181
186
|
y: number;
|
|
@@ -183,16 +188,10 @@ export declare const actionClearCanvas: {
|
|
|
183
188
|
objectsSnapModeEnabled: boolean;
|
|
184
189
|
userToFollow: import("../types").UserToFollow | null;
|
|
185
190
|
followedBy: Set<import("../types").SocketId>;
|
|
186
|
-
isCropping: boolean;
|
|
187
|
-
croppingElementId: string | null;
|
|
188
|
-
searchMatches: Readonly<{
|
|
189
|
-
focusedId: string | null;
|
|
190
|
-
matches: readonly import("../types").SearchMatch[];
|
|
191
|
-
}> | null;
|
|
192
|
-
activeLockedId: string | null;
|
|
193
191
|
lockedMultiSelections: {
|
|
194
192
|
[groupId: string]: true;
|
|
195
193
|
};
|
|
194
|
+
stylesPanelMode: "compact" | "full";
|
|
196
195
|
};
|
|
197
196
|
captureUpdate: "IMMEDIATELY";
|
|
198
197
|
};
|
|
@@ -225,7 +224,7 @@ export declare const actionZoomIn: {
|
|
|
225
224
|
errorMessage: import("react").ReactNode;
|
|
226
225
|
activeEmbeddable: {
|
|
227
226
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
228
|
-
state: "
|
|
227
|
+
state: "active" | "hover";
|
|
229
228
|
} | null;
|
|
230
229
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
231
230
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -244,7 +243,6 @@ export declare const actionZoomIn: {
|
|
|
244
243
|
editingFrame: string | null;
|
|
245
244
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
246
245
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
247
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
248
246
|
activeTool: {
|
|
249
247
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
250
248
|
locked: boolean;
|
|
@@ -278,7 +276,7 @@ export declare const actionZoomIn: {
|
|
|
278
276
|
isResizing: boolean;
|
|
279
277
|
isRotating: boolean;
|
|
280
278
|
openMenu: "canvas" | "shape" | null;
|
|
281
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
279
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
282
280
|
openSidebar: {
|
|
283
281
|
name: string;
|
|
284
282
|
tab?: string | undefined;
|
|
@@ -287,7 +285,7 @@ export declare const actionZoomIn: {
|
|
|
287
285
|
name: "imageExport" | "help" | "jsonExport";
|
|
288
286
|
} | {
|
|
289
287
|
name: "ttd";
|
|
290
|
-
tab: "text-to-diagram"
|
|
288
|
+
tab: "mermaid" | "text-to-diagram";
|
|
291
289
|
} | {
|
|
292
290
|
name: "commandPalette";
|
|
293
291
|
} | {
|
|
@@ -359,8 +357,7 @@ export declare const actionZoomIn: {
|
|
|
359
357
|
shown: true;
|
|
360
358
|
data: import("../charts").Spreadsheet;
|
|
361
359
|
};
|
|
362
|
-
|
|
363
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
360
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
364
361
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
365
362
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
366
363
|
originSnapOffset: {
|
|
@@ -379,13 +376,14 @@ export declare const actionZoomIn: {
|
|
|
379
376
|
lockedMultiSelections: {
|
|
380
377
|
[groupId: string]: true;
|
|
381
378
|
};
|
|
379
|
+
stylesPanelMode: "compact" | "full";
|
|
382
380
|
};
|
|
383
381
|
captureUpdate: "EVENTUALLY";
|
|
384
382
|
};
|
|
385
383
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
386
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
384
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
387
385
|
} & {
|
|
388
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
386
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
389
387
|
};
|
|
390
388
|
export declare const actionZoomOut: {
|
|
391
389
|
name: "zoomOut";
|
|
@@ -413,7 +411,7 @@ export declare const actionZoomOut: {
|
|
|
413
411
|
errorMessage: import("react").ReactNode;
|
|
414
412
|
activeEmbeddable: {
|
|
415
413
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
416
|
-
state: "
|
|
414
|
+
state: "active" | "hover";
|
|
417
415
|
} | null;
|
|
418
416
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
419
417
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -432,7 +430,6 @@ export declare const actionZoomOut: {
|
|
|
432
430
|
editingFrame: string | null;
|
|
433
431
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
434
432
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
435
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
436
433
|
activeTool: {
|
|
437
434
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
438
435
|
locked: boolean;
|
|
@@ -466,7 +463,7 @@ export declare const actionZoomOut: {
|
|
|
466
463
|
isResizing: boolean;
|
|
467
464
|
isRotating: boolean;
|
|
468
465
|
openMenu: "canvas" | "shape" | null;
|
|
469
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
466
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
470
467
|
openSidebar: {
|
|
471
468
|
name: string;
|
|
472
469
|
tab?: string | undefined;
|
|
@@ -475,7 +472,7 @@ export declare const actionZoomOut: {
|
|
|
475
472
|
name: "imageExport" | "help" | "jsonExport";
|
|
476
473
|
} | {
|
|
477
474
|
name: "ttd";
|
|
478
|
-
tab: "text-to-diagram"
|
|
475
|
+
tab: "mermaid" | "text-to-diagram";
|
|
479
476
|
} | {
|
|
480
477
|
name: "commandPalette";
|
|
481
478
|
} | {
|
|
@@ -547,8 +544,7 @@ export declare const actionZoomOut: {
|
|
|
547
544
|
shown: true;
|
|
548
545
|
data: import("../charts").Spreadsheet;
|
|
549
546
|
};
|
|
550
|
-
|
|
551
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
547
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
552
548
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
553
549
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
554
550
|
originSnapOffset: {
|
|
@@ -567,13 +563,14 @@ export declare const actionZoomOut: {
|
|
|
567
563
|
lockedMultiSelections: {
|
|
568
564
|
[groupId: string]: true;
|
|
569
565
|
};
|
|
566
|
+
stylesPanelMode: "compact" | "full";
|
|
570
567
|
};
|
|
571
568
|
captureUpdate: "EVENTUALLY";
|
|
572
569
|
};
|
|
573
570
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
574
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
571
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
575
572
|
} & {
|
|
576
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
573
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
577
574
|
};
|
|
578
575
|
export declare const actionResetZoom: {
|
|
579
576
|
name: "resetZoom";
|
|
@@ -601,7 +598,7 @@ export declare const actionResetZoom: {
|
|
|
601
598
|
errorMessage: import("react").ReactNode;
|
|
602
599
|
activeEmbeddable: {
|
|
603
600
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
604
|
-
state: "
|
|
601
|
+
state: "active" | "hover";
|
|
605
602
|
} | null;
|
|
606
603
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
607
604
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -620,7 +617,6 @@ export declare const actionResetZoom: {
|
|
|
620
617
|
editingFrame: string | null;
|
|
621
618
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
622
619
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
623
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
624
620
|
activeTool: {
|
|
625
621
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
626
622
|
locked: boolean;
|
|
@@ -654,7 +650,7 @@ export declare const actionResetZoom: {
|
|
|
654
650
|
isResizing: boolean;
|
|
655
651
|
isRotating: boolean;
|
|
656
652
|
openMenu: "canvas" | "shape" | null;
|
|
657
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
653
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
658
654
|
openSidebar: {
|
|
659
655
|
name: string;
|
|
660
656
|
tab?: string | undefined;
|
|
@@ -663,7 +659,7 @@ export declare const actionResetZoom: {
|
|
|
663
659
|
name: "imageExport" | "help" | "jsonExport";
|
|
664
660
|
} | {
|
|
665
661
|
name: "ttd";
|
|
666
|
-
tab: "text-to-diagram"
|
|
662
|
+
tab: "mermaid" | "text-to-diagram";
|
|
667
663
|
} | {
|
|
668
664
|
name: "commandPalette";
|
|
669
665
|
} | {
|
|
@@ -735,8 +731,7 @@ export declare const actionResetZoom: {
|
|
|
735
731
|
shown: true;
|
|
736
732
|
data: import("../charts").Spreadsheet;
|
|
737
733
|
};
|
|
738
|
-
|
|
739
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
734
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
740
735
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
741
736
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
742
737
|
originSnapOffset: {
|
|
@@ -755,13 +750,14 @@ export declare const actionResetZoom: {
|
|
|
755
750
|
lockedMultiSelections: {
|
|
756
751
|
[groupId: string]: true;
|
|
757
752
|
};
|
|
753
|
+
stylesPanelMode: "compact" | "full";
|
|
758
754
|
};
|
|
759
755
|
captureUpdate: "EVENTUALLY";
|
|
760
756
|
};
|
|
761
757
|
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
762
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
758
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
763
759
|
} & {
|
|
764
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
760
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
765
761
|
};
|
|
766
762
|
export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
|
|
767
763
|
bounds: SceneBounds;
|
|
@@ -795,7 +791,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
795
791
|
errorMessage: import("react").ReactNode;
|
|
796
792
|
activeEmbeddable: {
|
|
797
793
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
798
|
-
state: "
|
|
794
|
+
state: "active" | "hover";
|
|
799
795
|
} | null;
|
|
800
796
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
801
797
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -814,7 +810,6 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
814
810
|
editingFrame: string | null;
|
|
815
811
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
816
812
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
817
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
818
813
|
activeTool: {
|
|
819
814
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
820
815
|
locked: boolean;
|
|
@@ -848,7 +843,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
848
843
|
isResizing: boolean;
|
|
849
844
|
isRotating: boolean;
|
|
850
845
|
openMenu: "canvas" | "shape" | null;
|
|
851
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
846
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
852
847
|
openSidebar: {
|
|
853
848
|
name: string;
|
|
854
849
|
tab?: string | undefined;
|
|
@@ -857,7 +852,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
857
852
|
name: "imageExport" | "help" | "jsonExport";
|
|
858
853
|
} | {
|
|
859
854
|
name: "ttd";
|
|
860
|
-
tab: "text-to-diagram"
|
|
855
|
+
tab: "mermaid" | "text-to-diagram";
|
|
861
856
|
} | {
|
|
862
857
|
name: "commandPalette";
|
|
863
858
|
} | {
|
|
@@ -929,8 +924,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
929
924
|
shown: true;
|
|
930
925
|
data: import("../charts").Spreadsheet;
|
|
931
926
|
};
|
|
932
|
-
|
|
933
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
927
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
934
928
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
935
929
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
936
930
|
originSnapOffset: {
|
|
@@ -950,6 +944,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
950
944
|
lockedMultiSelections: {
|
|
951
945
|
[groupId: string]: true;
|
|
952
946
|
};
|
|
947
|
+
stylesPanelMode: "compact" | "full";
|
|
953
948
|
};
|
|
954
949
|
captureUpdate: "EVENTUALLY";
|
|
955
950
|
};
|
|
@@ -985,7 +980,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
985
980
|
errorMessage: import("react").ReactNode;
|
|
986
981
|
activeEmbeddable: {
|
|
987
982
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
988
|
-
state: "
|
|
983
|
+
state: "active" | "hover";
|
|
989
984
|
} | null;
|
|
990
985
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
991
986
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1004,7 +999,6 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1004
999
|
editingFrame: string | null;
|
|
1005
1000
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1006
1001
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1007
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1008
1002
|
activeTool: {
|
|
1009
1003
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1010
1004
|
locked: boolean;
|
|
@@ -1038,7 +1032,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1038
1032
|
isResizing: boolean;
|
|
1039
1033
|
isRotating: boolean;
|
|
1040
1034
|
openMenu: "canvas" | "shape" | null;
|
|
1041
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1035
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1042
1036
|
openSidebar: {
|
|
1043
1037
|
name: string;
|
|
1044
1038
|
tab?: string | undefined;
|
|
@@ -1047,7 +1041,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1047
1041
|
name: "imageExport" | "help" | "jsonExport";
|
|
1048
1042
|
} | {
|
|
1049
1043
|
name: "ttd";
|
|
1050
|
-
tab: "text-to-diagram"
|
|
1044
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1051
1045
|
} | {
|
|
1052
1046
|
name: "commandPalette";
|
|
1053
1047
|
} | {
|
|
@@ -1119,8 +1113,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1119
1113
|
shown: true;
|
|
1120
1114
|
data: import("../charts").Spreadsheet;
|
|
1121
1115
|
};
|
|
1122
|
-
|
|
1123
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1116
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1124
1117
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1125
1118
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1126
1119
|
originSnapOffset: {
|
|
@@ -1140,6 +1133,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1140
1133
|
lockedMultiSelections: {
|
|
1141
1134
|
[groupId: string]: true;
|
|
1142
1135
|
};
|
|
1136
|
+
stylesPanelMode: "compact" | "full";
|
|
1143
1137
|
};
|
|
1144
1138
|
captureUpdate: "EVENTUALLY";
|
|
1145
1139
|
};
|
|
@@ -1167,7 +1161,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1167
1161
|
errorMessage: import("react").ReactNode;
|
|
1168
1162
|
activeEmbeddable: {
|
|
1169
1163
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1170
|
-
state: "
|
|
1164
|
+
state: "active" | "hover";
|
|
1171
1165
|
} | null;
|
|
1172
1166
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1173
1167
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1186,7 +1180,6 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1186
1180
|
editingFrame: string | null;
|
|
1187
1181
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1188
1182
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1189
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1190
1183
|
activeTool: {
|
|
1191
1184
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1192
1185
|
locked: boolean;
|
|
@@ -1220,7 +1213,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1220
1213
|
isResizing: boolean;
|
|
1221
1214
|
isRotating: boolean;
|
|
1222
1215
|
openMenu: "canvas" | "shape" | null;
|
|
1223
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1216
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1224
1217
|
openSidebar: {
|
|
1225
1218
|
name: string;
|
|
1226
1219
|
tab?: string | undefined;
|
|
@@ -1229,7 +1222,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1229
1222
|
name: "imageExport" | "help" | "jsonExport";
|
|
1230
1223
|
} | {
|
|
1231
1224
|
name: "ttd";
|
|
1232
|
-
tab: "text-to-diagram"
|
|
1225
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1233
1226
|
} | {
|
|
1234
1227
|
name: "commandPalette";
|
|
1235
1228
|
} | {
|
|
@@ -1301,8 +1294,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1301
1294
|
shown: true;
|
|
1302
1295
|
data: import("../charts").Spreadsheet;
|
|
1303
1296
|
};
|
|
1304
|
-
|
|
1305
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1297
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1306
1298
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1307
1299
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1308
1300
|
originSnapOffset: {
|
|
@@ -1322,12 +1314,13 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1322
1314
|
lockedMultiSelections: {
|
|
1323
1315
|
[groupId: string]: true;
|
|
1324
1316
|
};
|
|
1317
|
+
stylesPanelMode: "compact" | "full";
|
|
1325
1318
|
};
|
|
1326
1319
|
captureUpdate: "EVENTUALLY";
|
|
1327
1320
|
};
|
|
1328
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1321
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1329
1322
|
} & {
|
|
1330
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1323
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1331
1324
|
};
|
|
1332
1325
|
export declare const actionZoomToFitSelection: {
|
|
1333
1326
|
name: "zoomToFitSelection";
|
|
@@ -1353,7 +1346,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1353
1346
|
errorMessage: import("react").ReactNode;
|
|
1354
1347
|
activeEmbeddable: {
|
|
1355
1348
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1356
|
-
state: "
|
|
1349
|
+
state: "active" | "hover";
|
|
1357
1350
|
} | null;
|
|
1358
1351
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1359
1352
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1372,7 +1365,6 @@ export declare const actionZoomToFitSelection: {
|
|
|
1372
1365
|
editingFrame: string | null;
|
|
1373
1366
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1374
1367
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1375
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1376
1368
|
activeTool: {
|
|
1377
1369
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1378
1370
|
locked: boolean;
|
|
@@ -1406,7 +1398,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1406
1398
|
isResizing: boolean;
|
|
1407
1399
|
isRotating: boolean;
|
|
1408
1400
|
openMenu: "canvas" | "shape" | null;
|
|
1409
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1401
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1410
1402
|
openSidebar: {
|
|
1411
1403
|
name: string;
|
|
1412
1404
|
tab?: string | undefined;
|
|
@@ -1415,7 +1407,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1415
1407
|
name: "imageExport" | "help" | "jsonExport";
|
|
1416
1408
|
} | {
|
|
1417
1409
|
name: "ttd";
|
|
1418
|
-
tab: "text-to-diagram"
|
|
1410
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1419
1411
|
} | {
|
|
1420
1412
|
name: "commandPalette";
|
|
1421
1413
|
} | {
|
|
@@ -1487,8 +1479,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1487
1479
|
shown: true;
|
|
1488
1480
|
data: import("../charts").Spreadsheet;
|
|
1489
1481
|
};
|
|
1490
|
-
|
|
1491
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1482
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1492
1483
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1493
1484
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1494
1485
|
originSnapOffset: {
|
|
@@ -1508,12 +1499,13 @@ export declare const actionZoomToFitSelection: {
|
|
|
1508
1499
|
lockedMultiSelections: {
|
|
1509
1500
|
[groupId: string]: true;
|
|
1510
1501
|
};
|
|
1502
|
+
stylesPanelMode: "compact" | "full";
|
|
1511
1503
|
};
|
|
1512
1504
|
captureUpdate: "EVENTUALLY";
|
|
1513
1505
|
};
|
|
1514
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1506
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1515
1507
|
} & {
|
|
1516
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1508
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1517
1509
|
};
|
|
1518
1510
|
export declare const actionZoomToFit: {
|
|
1519
1511
|
name: "zoomToFit";
|
|
@@ -1540,7 +1532,7 @@ export declare const actionZoomToFit: {
|
|
|
1540
1532
|
errorMessage: import("react").ReactNode;
|
|
1541
1533
|
activeEmbeddable: {
|
|
1542
1534
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1543
|
-
state: "
|
|
1535
|
+
state: "active" | "hover";
|
|
1544
1536
|
} | null;
|
|
1545
1537
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1546
1538
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1559,7 +1551,6 @@ export declare const actionZoomToFit: {
|
|
|
1559
1551
|
editingFrame: string | null;
|
|
1560
1552
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1561
1553
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1562
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1563
1554
|
activeTool: {
|
|
1564
1555
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1565
1556
|
locked: boolean;
|
|
@@ -1593,7 +1584,7 @@ export declare const actionZoomToFit: {
|
|
|
1593
1584
|
isResizing: boolean;
|
|
1594
1585
|
isRotating: boolean;
|
|
1595
1586
|
openMenu: "canvas" | "shape" | null;
|
|
1596
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1587
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1597
1588
|
openSidebar: {
|
|
1598
1589
|
name: string;
|
|
1599
1590
|
tab?: string | undefined;
|
|
@@ -1602,7 +1593,7 @@ export declare const actionZoomToFit: {
|
|
|
1602
1593
|
name: "imageExport" | "help" | "jsonExport";
|
|
1603
1594
|
} | {
|
|
1604
1595
|
name: "ttd";
|
|
1605
|
-
tab: "text-to-diagram"
|
|
1596
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1606
1597
|
} | {
|
|
1607
1598
|
name: "commandPalette";
|
|
1608
1599
|
} | {
|
|
@@ -1674,8 +1665,7 @@ export declare const actionZoomToFit: {
|
|
|
1674
1665
|
shown: true;
|
|
1675
1666
|
data: import("../charts").Spreadsheet;
|
|
1676
1667
|
};
|
|
1677
|
-
|
|
1678
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1668
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1679
1669
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1680
1670
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1681
1671
|
originSnapOffset: {
|
|
@@ -1695,12 +1685,13 @@ export declare const actionZoomToFit: {
|
|
|
1695
1685
|
lockedMultiSelections: {
|
|
1696
1686
|
[groupId: string]: true;
|
|
1697
1687
|
};
|
|
1688
|
+
stylesPanelMode: "compact" | "full";
|
|
1698
1689
|
};
|
|
1699
1690
|
captureUpdate: "EVENTUALLY";
|
|
1700
1691
|
};
|
|
1701
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1692
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1702
1693
|
} & {
|
|
1703
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1694
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1704
1695
|
};
|
|
1705
1696
|
export declare const actionToggleTheme: {
|
|
1706
1697
|
name: "toggleTheme";
|
|
@@ -1724,7 +1715,7 @@ export declare const actionToggleTheme: {
|
|
|
1724
1715
|
errorMessage: import("react").ReactNode;
|
|
1725
1716
|
activeEmbeddable: {
|
|
1726
1717
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1727
|
-
state: "
|
|
1718
|
+
state: "active" | "hover";
|
|
1728
1719
|
} | null;
|
|
1729
1720
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1730
1721
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1743,7 +1734,6 @@ export declare const actionToggleTheme: {
|
|
|
1743
1734
|
editingFrame: string | null;
|
|
1744
1735
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1745
1736
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1746
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1747
1737
|
activeTool: {
|
|
1748
1738
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1749
1739
|
locked: boolean;
|
|
@@ -1782,7 +1772,7 @@ export declare const actionToggleTheme: {
|
|
|
1782
1772
|
value: import("../types").NormalizedZoomValue;
|
|
1783
1773
|
}>;
|
|
1784
1774
|
openMenu: "canvas" | "shape" | null;
|
|
1785
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1775
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1786
1776
|
openSidebar: {
|
|
1787
1777
|
name: string;
|
|
1788
1778
|
tab?: string | undefined;
|
|
@@ -1791,7 +1781,7 @@ export declare const actionToggleTheme: {
|
|
|
1791
1781
|
name: "imageExport" | "help" | "jsonExport";
|
|
1792
1782
|
} | {
|
|
1793
1783
|
name: "ttd";
|
|
1794
|
-
tab: "text-to-diagram"
|
|
1784
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1795
1785
|
} | {
|
|
1796
1786
|
name: "commandPalette";
|
|
1797
1787
|
} | {
|
|
@@ -1862,8 +1852,7 @@ export declare const actionToggleTheme: {
|
|
|
1862
1852
|
shown: true;
|
|
1863
1853
|
data: import("../charts").Spreadsheet;
|
|
1864
1854
|
};
|
|
1865
|
-
|
|
1866
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1855
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1867
1856
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1868
1857
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1869
1858
|
originSnapOffset: {
|
|
@@ -1883,13 +1872,14 @@ export declare const actionToggleTheme: {
|
|
|
1883
1872
|
lockedMultiSelections: {
|
|
1884
1873
|
[groupId: string]: true;
|
|
1885
1874
|
};
|
|
1875
|
+
stylesPanelMode: "compact" | "full";
|
|
1886
1876
|
};
|
|
1887
1877
|
captureUpdate: "EVENTUALLY";
|
|
1888
1878
|
};
|
|
1889
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1879
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1890
1880
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
1891
1881
|
} & {
|
|
1892
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1882
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1893
1883
|
};
|
|
1894
1884
|
export declare const actionToggleEraserTool: {
|
|
1895
1885
|
name: "toggleEraserTool";
|
|
@@ -1897,7 +1887,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1897
1887
|
trackEvent: {
|
|
1898
1888
|
category: "toolbar";
|
|
1899
1889
|
};
|
|
1900
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState
|
|
1890
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
1901
1891
|
appState: {
|
|
1902
1892
|
selectedElementIds: {};
|
|
1903
1893
|
selectedGroupIds: {};
|
|
@@ -1932,7 +1922,6 @@ export declare const actionToggleEraserTool: {
|
|
|
1932
1922
|
editingFrame: string | null;
|
|
1933
1923
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1934
1924
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1935
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1936
1925
|
penMode: boolean;
|
|
1937
1926
|
penDetected: boolean;
|
|
1938
1927
|
exportBackground: boolean;
|
|
@@ -1966,7 +1955,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1966
1955
|
value: import("../types").NormalizedZoomValue;
|
|
1967
1956
|
}>;
|
|
1968
1957
|
openMenu: "canvas" | "shape" | null;
|
|
1969
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1958
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1970
1959
|
openSidebar: {
|
|
1971
1960
|
name: string;
|
|
1972
1961
|
tab?: string | undefined;
|
|
@@ -1975,7 +1964,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1975
1964
|
name: "imageExport" | "help" | "jsonExport";
|
|
1976
1965
|
} | {
|
|
1977
1966
|
name: "ttd";
|
|
1978
|
-
tab: "text-to-diagram"
|
|
1967
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1979
1968
|
} | {
|
|
1980
1969
|
name: "commandPalette";
|
|
1981
1970
|
} | {
|
|
@@ -2041,8 +2030,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2041
2030
|
shown: true;
|
|
2042
2031
|
data: import("../charts").Spreadsheet;
|
|
2043
2032
|
};
|
|
2044
|
-
|
|
2045
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2033
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2046
2034
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2047
2035
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2048
2036
|
originSnapOffset: {
|
|
@@ -2062,12 +2050,13 @@ export declare const actionToggleEraserTool: {
|
|
|
2062
2050
|
lockedMultiSelections: {
|
|
2063
2051
|
[groupId: string]: true;
|
|
2064
2052
|
};
|
|
2053
|
+
stylesPanelMode: "compact" | "full";
|
|
2065
2054
|
};
|
|
2066
2055
|
captureUpdate: "IMMEDIATELY";
|
|
2067
2056
|
};
|
|
2068
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
2057
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
2069
2058
|
} & {
|
|
2070
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
2059
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
2071
2060
|
};
|
|
2072
2061
|
export declare const actionToggleLassoTool: {
|
|
2073
2062
|
name: "toggleLassoTool";
|
|
@@ -2076,6 +2065,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2076
2065
|
trackEvent: {
|
|
2077
2066
|
category: "toolbar";
|
|
2078
2067
|
};
|
|
2068
|
+
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
2079
2069
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
2080
2070
|
appState: {
|
|
2081
2071
|
selectedElementIds: {};
|
|
@@ -2111,7 +2101,6 @@ export declare const actionToggleLassoTool: {
|
|
|
2111
2101
|
editingFrame: string | null;
|
|
2112
2102
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2113
2103
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2114
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2115
2104
|
penMode: boolean;
|
|
2116
2105
|
penDetected: boolean;
|
|
2117
2106
|
exportBackground: boolean;
|
|
@@ -2145,7 +2134,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2145
2134
|
value: import("../types").NormalizedZoomValue;
|
|
2146
2135
|
}>;
|
|
2147
2136
|
openMenu: "canvas" | "shape" | null;
|
|
2148
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2137
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2149
2138
|
openSidebar: {
|
|
2150
2139
|
name: string;
|
|
2151
2140
|
tab?: string | undefined;
|
|
@@ -2154,7 +2143,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2154
2143
|
name: "imageExport" | "help" | "jsonExport";
|
|
2155
2144
|
} | {
|
|
2156
2145
|
name: "ttd";
|
|
2157
|
-
tab: "text-to-diagram"
|
|
2146
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2158
2147
|
} | {
|
|
2159
2148
|
name: "commandPalette";
|
|
2160
2149
|
} | {
|
|
@@ -2220,8 +2209,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2220
2209
|
shown: true;
|
|
2221
2210
|
data: import("../charts").Spreadsheet;
|
|
2222
2211
|
};
|
|
2223
|
-
|
|
2224
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2212
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2225
2213
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2226
2214
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2227
2215
|
originSnapOffset: {
|
|
@@ -2241,6 +2229,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2241
2229
|
lockedMultiSelections: {
|
|
2242
2230
|
[groupId: string]: true;
|
|
2243
2231
|
};
|
|
2232
|
+
stylesPanelMode: "compact" | "full";
|
|
2244
2233
|
};
|
|
2245
2234
|
captureUpdate: "NEVER";
|
|
2246
2235
|
};
|
|
@@ -2290,7 +2279,6 @@ export declare const actionToggleHandTool: {
|
|
|
2290
2279
|
editingFrame: string | null;
|
|
2291
2280
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2292
2281
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2293
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2294
2282
|
penMode: boolean;
|
|
2295
2283
|
penDetected: boolean;
|
|
2296
2284
|
exportBackground: boolean;
|
|
@@ -2324,7 +2312,7 @@ export declare const actionToggleHandTool: {
|
|
|
2324
2312
|
value: import("../types").NormalizedZoomValue;
|
|
2325
2313
|
}>;
|
|
2326
2314
|
openMenu: "canvas" | "shape" | null;
|
|
2327
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2315
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2328
2316
|
openSidebar: {
|
|
2329
2317
|
name: string;
|
|
2330
2318
|
tab?: string | undefined;
|
|
@@ -2333,7 +2321,7 @@ export declare const actionToggleHandTool: {
|
|
|
2333
2321
|
name: "imageExport" | "help" | "jsonExport";
|
|
2334
2322
|
} | {
|
|
2335
2323
|
name: "ttd";
|
|
2336
|
-
tab: "text-to-diagram"
|
|
2324
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2337
2325
|
} | {
|
|
2338
2326
|
name: "commandPalette";
|
|
2339
2327
|
} | {
|
|
@@ -2399,8 +2387,7 @@ export declare const actionToggleHandTool: {
|
|
|
2399
2387
|
shown: true;
|
|
2400
2388
|
data: import("../charts").Spreadsheet;
|
|
2401
2389
|
};
|
|
2402
|
-
|
|
2403
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
2390
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
2404
2391
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2405
2392
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2406
2393
|
originSnapOffset: {
|
|
@@ -2420,10 +2407,11 @@ export declare const actionToggleHandTool: {
|
|
|
2420
2407
|
lockedMultiSelections: {
|
|
2421
2408
|
[groupId: string]: true;
|
|
2422
2409
|
};
|
|
2410
|
+
stylesPanelMode: "compact" | "full";
|
|
2423
2411
|
};
|
|
2424
2412
|
captureUpdate: "IMMEDIATELY";
|
|
2425
2413
|
};
|
|
2426
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
2414
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
2427
2415
|
} & {
|
|
2428
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
2416
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
2429
2417
|
};
|