@myoc/excalidraw 0.18.15 → 0.18.17
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-O7OUZ7ZJ.js → chunk-FQEIAL75.js} +14874 -9982
- package/dist/dev/chunk-FQEIAL75.js.map +7 -0
- package/dist/dev/{chunk-PEI7EPYO.js → chunk-KJKC5BJI.js} +10 -4
- package/dist/dev/chunk-KJKC5BJI.js.map +7 -0
- package/dist/dev/{chunk-DJKQZ4KD.js → chunk-XL2I4W52.js} +2 -2
- package/dist/dev/data/{image-NJWLICAS.js → image-WMF622SS.js} +3 -3
- package/dist/dev/index.css +69 -22
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +3104 -6547
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-R455UJTM.js → en-UQFCZXHO.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-NJOW7IOK.js → chunk-5JAQX5EH.js} +1 -1
- package/dist/prod/{chunk-KZWZ7WHC.js → chunk-EJLAYNAE.js} +4 -4
- package/dist/prod/chunk-LSNMPGNI.js +33 -0
- package/dist/prod/data/image-Z433FUMH.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +17 -16
- package/dist/prod/locales/{en-YWERZJD6.js → en-7EHYHCIL.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 +3 -1
- package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +4 -2
- package/dist/types/common/src/index.d.ts +1 -0
- package/dist/types/common/src/utility-types.d.ts +5 -0
- package/dist/types/common/src/utils.d.ts +16 -4
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
- package/dist/types/element/src/ShapeCache.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +3 -3
- package/dist/types/element/src/arrange.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +18 -10
- package/dist/types/element/src/bounds.d.ts +1 -1
- package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +40 -35
- package/dist/types/element/src/dragElements.d.ts +3 -2
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/flowchart.d.ts +3 -2
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +4 -3
- package/dist/types/element/src/index.d.ts +45 -2
- package/dist/types/element/src/linearElementEditor.d.ts +14 -18
- package/dist/types/element/src/mutateElement.d.ts +10 -2
- package/dist/types/element/src/newElement.d.ts +3 -3
- package/dist/types/element/src/resizeElements.d.ts +4 -4
- package/dist/types/element/src/selection.d.ts +1 -6
- package/dist/types/element/src/shapes.d.ts +1 -1
- package/dist/types/element/src/sizeHelpers.d.ts +0 -1
- package/dist/types/element/src/store.d.ts +227 -0
- package/dist/types/element/src/textElement.d.ts +4 -3
- package/dist/types/element/src/typeChecks.d.ts +5 -1
- package/dist/types/element/src/types.d.ts +8 -0
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +30 -48
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionArrange.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +20 -32
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +139 -211
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +62 -98
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +28 -46
- 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 +10 -16
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +22 -34
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionExport.d.ts +184 -238
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +18 -30
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +84 -108
- package/dist/types/excalidraw/actions/actionGroup.d.ts +26 -38
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +9 -15
- package/dist/types/excalidraw/actions/actionLink.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionMenu.d.ts +30 -48
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +19 -31
- package/dist/types/excalidraw/actions/actionProperties.d.ts +138 -228
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +14 -20
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +12 -199
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/types.d.ts +3 -3
- package/dist/types/excalidraw/appState.d.ts +31 -31
- package/dist/types/excalidraw/components/App.d.ts +13 -8
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
- package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
- package/dist/types/excalidraw/components/Range.d.ts +3 -3
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +1 -0
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/data/transform.d.ts +1 -1
- package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
- package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
- package/dist/types/excalidraw/history.d.ts +14 -22
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +9 -9
- package/dist/types/excalidraw/lasso/index.d.ts +1 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +6 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -1
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/snapping.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +16 -9
- package/dist/types/excalidraw/visualdebug.d.ts +1 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
- package/dist/types/math/src/curve.d.ts +2 -0
- package/dist/types/math/src/vector.d.ts +4 -0
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/withinBounds.d.ts +1 -1
- package/history.ts +68 -94
- package/package.json +5 -4
- package/dist/dev/chunk-O7OUZ7ZJ.js.map +0 -7
- package/dist/dev/chunk-PEI7EPYO.js.map +0 -7
- package/dist/prod/chunk-WGXUBJ4X.js +0 -33
- package/dist/prod/data/image-EKW6RBW7.js +0 -1
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/store.d.ts +0 -129
- /package/dist/dev/{chunk-DJKQZ4KD.js.map → chunk-XL2I4W52.js.map} +0 -0
- /package/dist/dev/data/{image-NJWLICAS.js.map → image-WMF622SS.js.map} +0 -0
- /package/dist/dev/locales/{en-R455UJTM.js.map → en-UQFCZXHO.js.map} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { LinearElementEditor } from "@excalidraw/element
|
|
2
|
+
import { LinearElementEditor } from "@excalidraw/element";
|
|
3
3
|
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement } from "@excalidraw/element/types";
|
|
4
4
|
import type { AppClassProperties, AppState, Primitive } from "../types";
|
|
5
5
|
export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
|
|
6
|
-
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[],
|
|
6
|
+
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
|
|
7
7
|
export declare const actionChangeStrokeColor: {
|
|
8
8
|
name: "changeStrokeColor";
|
|
9
9
|
label: string;
|
|
10
10
|
trackEvent: false;
|
|
11
11
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
12
|
-
PanelComponent: ({ elements, appState, updateData,
|
|
12
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
} & {
|
|
14
14
|
keyTest?: undefined;
|
|
15
15
|
};
|
|
@@ -18,7 +18,7 @@ export declare const actionChangeBackgroundColor: {
|
|
|
18
18
|
label: string;
|
|
19
19
|
trackEvent: false;
|
|
20
20
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
21
|
-
PanelComponent: ({ elements, appState, updateData,
|
|
21
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
} & {
|
|
23
23
|
keyTest?: undefined;
|
|
24
24
|
};
|
|
@@ -38,9 +38,9 @@ export declare const actionChangeFillStyle: {
|
|
|
38
38
|
showWelcomeScreen: boolean;
|
|
39
39
|
isLoading: boolean;
|
|
40
40
|
myocSimplifiedMode: boolean;
|
|
41
|
+
dontResizeLimitMBs: number;
|
|
41
42
|
hideMainMenus: boolean;
|
|
42
43
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
43
|
-
dontResizeLimitMBs: number;
|
|
44
44
|
arrangeConfiguration: {
|
|
45
45
|
algorithm: "bin-packing";
|
|
46
46
|
gap: number;
|
|
@@ -56,7 +56,7 @@ export declare const actionChangeFillStyle: {
|
|
|
56
56
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
57
57
|
isBindingEnabled: boolean;
|
|
58
58
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
59
|
-
suggestedBindings: import("@excalidraw/element
|
|
59
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
60
60
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
61
61
|
frameRendering: {
|
|
62
62
|
enabled: boolean;
|
|
@@ -104,7 +104,7 @@ export declare const actionChangeFillStyle: {
|
|
|
104
104
|
zoom: Readonly<{
|
|
105
105
|
value: import("../types").NormalizedZoomValue;
|
|
106
106
|
}>;
|
|
107
|
-
openMenu: "
|
|
107
|
+
openMenu: "canvas" | "shape" | null;
|
|
108
108
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
109
109
|
openSidebar: {
|
|
110
110
|
name: string;
|
|
@@ -187,7 +187,7 @@ export declare const actionChangeFillStyle: {
|
|
|
187
187
|
data: import("../charts").Spreadsheet;
|
|
188
188
|
};
|
|
189
189
|
pendingImageElementId: string | null;
|
|
190
|
-
showHyperlinkPopup: false | "
|
|
190
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
191
191
|
selectedLinearElement: LinearElementEditor | null;
|
|
192
192
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
193
193
|
originSnapOffset: {
|
|
@@ -199,20 +199,14 @@ export declare const actionChangeFillStyle: {
|
|
|
199
199
|
followedBy: Set<import("../types").SocketId>;
|
|
200
200
|
isCropping: boolean;
|
|
201
201
|
croppingElementId: string | null;
|
|
202
|
-
searchMatches:
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
offsetX: number;
|
|
207
|
-
offsetY: number;
|
|
208
|
-
width: number;
|
|
209
|
-
height: number;
|
|
210
|
-
}[];
|
|
211
|
-
}[];
|
|
202
|
+
searchMatches: Readonly<{
|
|
203
|
+
focusedId: string | null;
|
|
204
|
+
matches: readonly import("../types").SearchMatch[];
|
|
205
|
+
}> | null;
|
|
212
206
|
};
|
|
213
207
|
captureUpdate: "IMMEDIATELY";
|
|
214
208
|
};
|
|
215
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
209
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
216
210
|
} & {
|
|
217
211
|
keyTest?: undefined;
|
|
218
212
|
};
|
|
@@ -232,9 +226,9 @@ export declare const actionChangeStrokeWidth: {
|
|
|
232
226
|
showWelcomeScreen: boolean;
|
|
233
227
|
isLoading: boolean;
|
|
234
228
|
myocSimplifiedMode: boolean;
|
|
229
|
+
dontResizeLimitMBs: number;
|
|
235
230
|
hideMainMenus: boolean;
|
|
236
231
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
237
|
-
dontResizeLimitMBs: number;
|
|
238
232
|
arrangeConfiguration: {
|
|
239
233
|
algorithm: "bin-packing";
|
|
240
234
|
gap: number;
|
|
@@ -250,7 +244,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
250
244
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
251
245
|
isBindingEnabled: boolean;
|
|
252
246
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
253
|
-
suggestedBindings: import("@excalidraw/element
|
|
247
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
254
248
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
255
249
|
frameRendering: {
|
|
256
250
|
enabled: boolean;
|
|
@@ -298,7 +292,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
298
292
|
zoom: Readonly<{
|
|
299
293
|
value: import("../types").NormalizedZoomValue;
|
|
300
294
|
}>;
|
|
301
|
-
openMenu: "
|
|
295
|
+
openMenu: "canvas" | "shape" | null;
|
|
302
296
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
303
297
|
openSidebar: {
|
|
304
298
|
name: string;
|
|
@@ -381,7 +375,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
381
375
|
data: import("../charts").Spreadsheet;
|
|
382
376
|
};
|
|
383
377
|
pendingImageElementId: string | null;
|
|
384
|
-
showHyperlinkPopup: false | "
|
|
378
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
385
379
|
selectedLinearElement: LinearElementEditor | null;
|
|
386
380
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
387
381
|
originSnapOffset: {
|
|
@@ -393,20 +387,14 @@ export declare const actionChangeStrokeWidth: {
|
|
|
393
387
|
followedBy: Set<import("../types").SocketId>;
|
|
394
388
|
isCropping: boolean;
|
|
395
389
|
croppingElementId: string | null;
|
|
396
|
-
searchMatches:
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
offsetX: number;
|
|
401
|
-
offsetY: number;
|
|
402
|
-
width: number;
|
|
403
|
-
height: number;
|
|
404
|
-
}[];
|
|
405
|
-
}[];
|
|
390
|
+
searchMatches: Readonly<{
|
|
391
|
+
focusedId: string | null;
|
|
392
|
+
matches: readonly import("../types").SearchMatch[];
|
|
393
|
+
}> | null;
|
|
406
394
|
};
|
|
407
395
|
captureUpdate: "IMMEDIATELY";
|
|
408
396
|
};
|
|
409
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
397
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
410
398
|
} & {
|
|
411
399
|
keyTest?: undefined;
|
|
412
400
|
};
|
|
@@ -426,9 +414,9 @@ export declare const actionChangeSloppiness: {
|
|
|
426
414
|
showWelcomeScreen: boolean;
|
|
427
415
|
isLoading: boolean;
|
|
428
416
|
myocSimplifiedMode: boolean;
|
|
417
|
+
dontResizeLimitMBs: number;
|
|
429
418
|
hideMainMenus: boolean;
|
|
430
419
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
431
|
-
dontResizeLimitMBs: number;
|
|
432
420
|
arrangeConfiguration: {
|
|
433
421
|
algorithm: "bin-packing";
|
|
434
422
|
gap: number;
|
|
@@ -444,7 +432,7 @@ export declare const actionChangeSloppiness: {
|
|
|
444
432
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
445
433
|
isBindingEnabled: boolean;
|
|
446
434
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
447
|
-
suggestedBindings: import("@excalidraw/element
|
|
435
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
448
436
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
449
437
|
frameRendering: {
|
|
450
438
|
enabled: boolean;
|
|
@@ -492,7 +480,7 @@ export declare const actionChangeSloppiness: {
|
|
|
492
480
|
zoom: Readonly<{
|
|
493
481
|
value: import("../types").NormalizedZoomValue;
|
|
494
482
|
}>;
|
|
495
|
-
openMenu: "
|
|
483
|
+
openMenu: "canvas" | "shape" | null;
|
|
496
484
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
497
485
|
openSidebar: {
|
|
498
486
|
name: string;
|
|
@@ -575,7 +563,7 @@ export declare const actionChangeSloppiness: {
|
|
|
575
563
|
data: import("../charts").Spreadsheet;
|
|
576
564
|
};
|
|
577
565
|
pendingImageElementId: string | null;
|
|
578
|
-
showHyperlinkPopup: false | "
|
|
566
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
579
567
|
selectedLinearElement: LinearElementEditor | null;
|
|
580
568
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
581
569
|
originSnapOffset: {
|
|
@@ -587,20 +575,14 @@ export declare const actionChangeSloppiness: {
|
|
|
587
575
|
followedBy: Set<import("../types").SocketId>;
|
|
588
576
|
isCropping: boolean;
|
|
589
577
|
croppingElementId: string | null;
|
|
590
|
-
searchMatches:
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
offsetX: number;
|
|
595
|
-
offsetY: number;
|
|
596
|
-
width: number;
|
|
597
|
-
height: number;
|
|
598
|
-
}[];
|
|
599
|
-
}[];
|
|
578
|
+
searchMatches: Readonly<{
|
|
579
|
+
focusedId: string | null;
|
|
580
|
+
matches: readonly import("../types").SearchMatch[];
|
|
581
|
+
}> | null;
|
|
600
582
|
};
|
|
601
583
|
captureUpdate: "IMMEDIATELY";
|
|
602
584
|
};
|
|
603
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
585
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
604
586
|
} & {
|
|
605
587
|
keyTest?: undefined;
|
|
606
588
|
};
|
|
@@ -620,9 +602,9 @@ export declare const actionChangeStrokeStyle: {
|
|
|
620
602
|
showWelcomeScreen: boolean;
|
|
621
603
|
isLoading: boolean;
|
|
622
604
|
myocSimplifiedMode: boolean;
|
|
605
|
+
dontResizeLimitMBs: number;
|
|
623
606
|
hideMainMenus: boolean;
|
|
624
607
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
625
|
-
dontResizeLimitMBs: number;
|
|
626
608
|
arrangeConfiguration: {
|
|
627
609
|
algorithm: "bin-packing";
|
|
628
610
|
gap: number;
|
|
@@ -638,7 +620,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
638
620
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
639
621
|
isBindingEnabled: boolean;
|
|
640
622
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
641
|
-
suggestedBindings: import("@excalidraw/element
|
|
623
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
642
624
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
643
625
|
frameRendering: {
|
|
644
626
|
enabled: boolean;
|
|
@@ -686,7 +668,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
686
668
|
zoom: Readonly<{
|
|
687
669
|
value: import("../types").NormalizedZoomValue;
|
|
688
670
|
}>;
|
|
689
|
-
openMenu: "
|
|
671
|
+
openMenu: "canvas" | "shape" | null;
|
|
690
672
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
691
673
|
openSidebar: {
|
|
692
674
|
name: string;
|
|
@@ -769,7 +751,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
769
751
|
data: import("../charts").Spreadsheet;
|
|
770
752
|
};
|
|
771
753
|
pendingImageElementId: string | null;
|
|
772
|
-
showHyperlinkPopup: false | "
|
|
754
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
773
755
|
selectedLinearElement: LinearElementEditor | null;
|
|
774
756
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
775
757
|
originSnapOffset: {
|
|
@@ -781,20 +763,14 @@ export declare const actionChangeStrokeStyle: {
|
|
|
781
763
|
followedBy: Set<import("../types").SocketId>;
|
|
782
764
|
isCropping: boolean;
|
|
783
765
|
croppingElementId: string | null;
|
|
784
|
-
searchMatches:
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
offsetX: number;
|
|
789
|
-
offsetY: number;
|
|
790
|
-
width: number;
|
|
791
|
-
height: number;
|
|
792
|
-
}[];
|
|
793
|
-
}[];
|
|
766
|
+
searchMatches: Readonly<{
|
|
767
|
+
focusedId: string | null;
|
|
768
|
+
matches: readonly import("../types").SearchMatch[];
|
|
769
|
+
}> | null;
|
|
794
770
|
};
|
|
795
771
|
captureUpdate: "IMMEDIATELY";
|
|
796
772
|
};
|
|
797
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
773
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
798
774
|
} & {
|
|
799
775
|
keyTest?: undefined;
|
|
800
776
|
};
|
|
@@ -814,9 +790,9 @@ export declare const actionChangeOpacity: {
|
|
|
814
790
|
showWelcomeScreen: boolean;
|
|
815
791
|
isLoading: boolean;
|
|
816
792
|
myocSimplifiedMode: boolean;
|
|
793
|
+
dontResizeLimitMBs: number;
|
|
817
794
|
hideMainMenus: boolean;
|
|
818
795
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
819
|
-
dontResizeLimitMBs: number;
|
|
820
796
|
arrangeConfiguration: {
|
|
821
797
|
algorithm: "bin-packing";
|
|
822
798
|
gap: number;
|
|
@@ -832,7 +808,7 @@ export declare const actionChangeOpacity: {
|
|
|
832
808
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
833
809
|
isBindingEnabled: boolean;
|
|
834
810
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
835
|
-
suggestedBindings: import("@excalidraw/element
|
|
811
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
836
812
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
837
813
|
frameRendering: {
|
|
838
814
|
enabled: boolean;
|
|
@@ -880,7 +856,7 @@ export declare const actionChangeOpacity: {
|
|
|
880
856
|
zoom: Readonly<{
|
|
881
857
|
value: import("../types").NormalizedZoomValue;
|
|
882
858
|
}>;
|
|
883
|
-
openMenu: "
|
|
859
|
+
openMenu: "canvas" | "shape" | null;
|
|
884
860
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
885
861
|
openSidebar: {
|
|
886
862
|
name: string;
|
|
@@ -963,7 +939,7 @@ export declare const actionChangeOpacity: {
|
|
|
963
939
|
data: import("../charts").Spreadsheet;
|
|
964
940
|
};
|
|
965
941
|
pendingImageElementId: string | null;
|
|
966
|
-
showHyperlinkPopup: false | "
|
|
942
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
967
943
|
selectedLinearElement: LinearElementEditor | null;
|
|
968
944
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
969
945
|
originSnapOffset: {
|
|
@@ -975,20 +951,14 @@ export declare const actionChangeOpacity: {
|
|
|
975
951
|
followedBy: Set<import("../types").SocketId>;
|
|
976
952
|
isCropping: boolean;
|
|
977
953
|
croppingElementId: string | null;
|
|
978
|
-
searchMatches:
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
offsetX: number;
|
|
983
|
-
offsetY: number;
|
|
984
|
-
width: number;
|
|
985
|
-
height: number;
|
|
986
|
-
}[];
|
|
987
|
-
}[];
|
|
954
|
+
searchMatches: Readonly<{
|
|
955
|
+
focusedId: string | null;
|
|
956
|
+
matches: readonly import("../types").SearchMatch[];
|
|
957
|
+
}> | null;
|
|
988
958
|
};
|
|
989
959
|
captureUpdate: "IMMEDIATELY";
|
|
990
960
|
};
|
|
991
|
-
PanelComponent: ({
|
|
961
|
+
PanelComponent: ({ app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
992
962
|
} & {
|
|
993
963
|
keyTest?: undefined;
|
|
994
964
|
};
|
|
@@ -1008,9 +978,9 @@ export declare const actionChangeFontSize: {
|
|
|
1008
978
|
showWelcomeScreen: boolean;
|
|
1009
979
|
isLoading: boolean;
|
|
1010
980
|
myocSimplifiedMode: boolean;
|
|
981
|
+
dontResizeLimitMBs: number;
|
|
1011
982
|
hideMainMenus: boolean;
|
|
1012
983
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1013
|
-
dontResizeLimitMBs: number;
|
|
1014
984
|
arrangeConfiguration: {
|
|
1015
985
|
algorithm: "bin-packing";
|
|
1016
986
|
gap: number;
|
|
@@ -1026,7 +996,7 @@ export declare const actionChangeFontSize: {
|
|
|
1026
996
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1027
997
|
isBindingEnabled: boolean;
|
|
1028
998
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1029
|
-
suggestedBindings: import("@excalidraw/element
|
|
999
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1030
1000
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1031
1001
|
frameRendering: {
|
|
1032
1002
|
enabled: boolean;
|
|
@@ -1074,7 +1044,7 @@ export declare const actionChangeFontSize: {
|
|
|
1074
1044
|
zoom: Readonly<{
|
|
1075
1045
|
value: import("../types").NormalizedZoomValue;
|
|
1076
1046
|
}>;
|
|
1077
|
-
openMenu: "
|
|
1047
|
+
openMenu: "canvas" | "shape" | null;
|
|
1078
1048
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1079
1049
|
openSidebar: {
|
|
1080
1050
|
name: string;
|
|
@@ -1157,7 +1127,7 @@ export declare const actionChangeFontSize: {
|
|
|
1157
1127
|
data: import("../charts").Spreadsheet;
|
|
1158
1128
|
};
|
|
1159
1129
|
pendingImageElementId: string | null;
|
|
1160
|
-
showHyperlinkPopup: false | "
|
|
1130
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1161
1131
|
selectedLinearElement: LinearElementEditor | null;
|
|
1162
1132
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1163
1133
|
originSnapOffset: {
|
|
@@ -1169,16 +1139,10 @@ export declare const actionChangeFontSize: {
|
|
|
1169
1139
|
followedBy: Set<import("../types").SocketId>;
|
|
1170
1140
|
isCropping: boolean;
|
|
1171
1141
|
croppingElementId: string | null;
|
|
1172
|
-
searchMatches:
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
offsetX: number;
|
|
1177
|
-
offsetY: number;
|
|
1178
|
-
width: number;
|
|
1179
|
-
height: number;
|
|
1180
|
-
}[];
|
|
1181
|
-
}[];
|
|
1142
|
+
searchMatches: Readonly<{
|
|
1143
|
+
focusedId: string | null;
|
|
1144
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1145
|
+
}> | null;
|
|
1182
1146
|
};
|
|
1183
1147
|
captureUpdate: "IMMEDIATELY";
|
|
1184
1148
|
};
|
|
@@ -1203,9 +1167,9 @@ export declare const actionDecreaseFontSize: {
|
|
|
1203
1167
|
showWelcomeScreen: boolean;
|
|
1204
1168
|
isLoading: boolean;
|
|
1205
1169
|
myocSimplifiedMode: boolean;
|
|
1170
|
+
dontResizeLimitMBs: number;
|
|
1206
1171
|
hideMainMenus: boolean;
|
|
1207
1172
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1208
|
-
dontResizeLimitMBs: number;
|
|
1209
1173
|
arrangeConfiguration: {
|
|
1210
1174
|
algorithm: "bin-packing";
|
|
1211
1175
|
gap: number;
|
|
@@ -1221,7 +1185,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1221
1185
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1222
1186
|
isBindingEnabled: boolean;
|
|
1223
1187
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1224
|
-
suggestedBindings: import("@excalidraw/element
|
|
1188
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1225
1189
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1226
1190
|
frameRendering: {
|
|
1227
1191
|
enabled: boolean;
|
|
@@ -1269,7 +1233,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1269
1233
|
zoom: Readonly<{
|
|
1270
1234
|
value: import("../types").NormalizedZoomValue;
|
|
1271
1235
|
}>;
|
|
1272
|
-
openMenu: "
|
|
1236
|
+
openMenu: "canvas" | "shape" | null;
|
|
1273
1237
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1274
1238
|
openSidebar: {
|
|
1275
1239
|
name: string;
|
|
@@ -1352,7 +1316,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1352
1316
|
data: import("../charts").Spreadsheet;
|
|
1353
1317
|
};
|
|
1354
1318
|
pendingImageElementId: string | null;
|
|
1355
|
-
showHyperlinkPopup: false | "
|
|
1319
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1356
1320
|
selectedLinearElement: LinearElementEditor | null;
|
|
1357
1321
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1358
1322
|
originSnapOffset: {
|
|
@@ -1364,22 +1328,16 @@ export declare const actionDecreaseFontSize: {
|
|
|
1364
1328
|
followedBy: Set<import("../types").SocketId>;
|
|
1365
1329
|
isCropping: boolean;
|
|
1366
1330
|
croppingElementId: string | null;
|
|
1367
|
-
searchMatches:
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
offsetX: number;
|
|
1372
|
-
offsetY: number;
|
|
1373
|
-
width: number;
|
|
1374
|
-
height: number;
|
|
1375
|
-
}[];
|
|
1376
|
-
}[];
|
|
1331
|
+
searchMatches: Readonly<{
|
|
1332
|
+
focusedId: string | null;
|
|
1333
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1334
|
+
}> | null;
|
|
1377
1335
|
};
|
|
1378
1336
|
captureUpdate: "IMMEDIATELY";
|
|
1379
1337
|
};
|
|
1380
|
-
keyTest: (event:
|
|
1338
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1381
1339
|
} & {
|
|
1382
|
-
keyTest?: ((event:
|
|
1340
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1383
1341
|
};
|
|
1384
1342
|
export declare const actionIncreaseFontSize: {
|
|
1385
1343
|
name: "increaseFontSize";
|
|
@@ -1398,9 +1356,9 @@ export declare const actionIncreaseFontSize: {
|
|
|
1398
1356
|
showWelcomeScreen: boolean;
|
|
1399
1357
|
isLoading: boolean;
|
|
1400
1358
|
myocSimplifiedMode: boolean;
|
|
1359
|
+
dontResizeLimitMBs: number;
|
|
1401
1360
|
hideMainMenus: boolean;
|
|
1402
1361
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1403
|
-
dontResizeLimitMBs: number;
|
|
1404
1362
|
arrangeConfiguration: {
|
|
1405
1363
|
algorithm: "bin-packing";
|
|
1406
1364
|
gap: number;
|
|
@@ -1416,7 +1374,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1416
1374
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1417
1375
|
isBindingEnabled: boolean;
|
|
1418
1376
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1419
|
-
suggestedBindings: import("@excalidraw/element
|
|
1377
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1420
1378
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1421
1379
|
frameRendering: {
|
|
1422
1380
|
enabled: boolean;
|
|
@@ -1464,7 +1422,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1464
1422
|
zoom: Readonly<{
|
|
1465
1423
|
value: import("../types").NormalizedZoomValue;
|
|
1466
1424
|
}>;
|
|
1467
|
-
openMenu: "
|
|
1425
|
+
openMenu: "canvas" | "shape" | null;
|
|
1468
1426
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1469
1427
|
openSidebar: {
|
|
1470
1428
|
name: string;
|
|
@@ -1547,7 +1505,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1547
1505
|
data: import("../charts").Spreadsheet;
|
|
1548
1506
|
};
|
|
1549
1507
|
pendingImageElementId: string | null;
|
|
1550
|
-
showHyperlinkPopup: false | "
|
|
1508
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1551
1509
|
selectedLinearElement: LinearElementEditor | null;
|
|
1552
1510
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1553
1511
|
originSnapOffset: {
|
|
@@ -1559,22 +1517,16 @@ export declare const actionIncreaseFontSize: {
|
|
|
1559
1517
|
followedBy: Set<import("../types").SocketId>;
|
|
1560
1518
|
isCropping: boolean;
|
|
1561
1519
|
croppingElementId: string | null;
|
|
1562
|
-
searchMatches:
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
offsetX: number;
|
|
1567
|
-
offsetY: number;
|
|
1568
|
-
width: number;
|
|
1569
|
-
height: number;
|
|
1570
|
-
}[];
|
|
1571
|
-
}[];
|
|
1520
|
+
searchMatches: Readonly<{
|
|
1521
|
+
focusedId: string | null;
|
|
1522
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1523
|
+
}> | null;
|
|
1572
1524
|
};
|
|
1573
1525
|
captureUpdate: "IMMEDIATELY";
|
|
1574
1526
|
};
|
|
1575
|
-
keyTest: (event:
|
|
1527
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1576
1528
|
} & {
|
|
1577
|
-
keyTest?: ((event:
|
|
1529
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1578
1530
|
};
|
|
1579
1531
|
export declare const actionChangeFontFamily: {
|
|
1580
1532
|
name: "changeFontFamily";
|
|
@@ -1582,8 +1534,8 @@ export declare const actionChangeFontFamily: {
|
|
|
1582
1534
|
trackEvent: false;
|
|
1583
1535
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
1584
1536
|
appState: {
|
|
1585
|
-
currentHoveredFontFamily: number | null;
|
|
1586
1537
|
currentItemFontFamily: number;
|
|
1538
|
+
currentHoveredFontFamily: number | null;
|
|
1587
1539
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1588
1540
|
contextMenu: {
|
|
1589
1541
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -1593,9 +1545,9 @@ export declare const actionChangeFontFamily: {
|
|
|
1593
1545
|
showWelcomeScreen: boolean;
|
|
1594
1546
|
isLoading: boolean;
|
|
1595
1547
|
myocSimplifiedMode: boolean;
|
|
1548
|
+
dontResizeLimitMBs: number;
|
|
1596
1549
|
hideMainMenus: boolean;
|
|
1597
1550
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1598
|
-
dontResizeLimitMBs: number;
|
|
1599
1551
|
arrangeConfiguration: {
|
|
1600
1552
|
algorithm: "bin-packing";
|
|
1601
1553
|
gap: number;
|
|
@@ -1611,7 +1563,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1611
1563
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1612
1564
|
isBindingEnabled: boolean;
|
|
1613
1565
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1614
|
-
suggestedBindings: import("@excalidraw/element
|
|
1566
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1615
1567
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1616
1568
|
frameRendering: {
|
|
1617
1569
|
enabled: boolean;
|
|
@@ -1658,7 +1610,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1658
1610
|
zoom: Readonly<{
|
|
1659
1611
|
value: import("../types").NormalizedZoomValue;
|
|
1660
1612
|
}>;
|
|
1661
|
-
openMenu: "
|
|
1613
|
+
openMenu: "canvas" | "shape" | null;
|
|
1662
1614
|
openSidebar: {
|
|
1663
1615
|
name: string;
|
|
1664
1616
|
tab?: string | undefined;
|
|
@@ -1740,7 +1692,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1740
1692
|
data: import("../charts").Spreadsheet;
|
|
1741
1693
|
};
|
|
1742
1694
|
pendingImageElementId: string | null;
|
|
1743
|
-
showHyperlinkPopup: false | "
|
|
1695
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1744
1696
|
selectedLinearElement: LinearElementEditor | null;
|
|
1745
1697
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1746
1698
|
originSnapOffset: {
|
|
@@ -1752,23 +1704,17 @@ export declare const actionChangeFontFamily: {
|
|
|
1752
1704
|
followedBy: Set<import("../types").SocketId>;
|
|
1753
1705
|
isCropping: boolean;
|
|
1754
1706
|
croppingElementId: string | null;
|
|
1755
|
-
searchMatches:
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
offsetX: number;
|
|
1760
|
-
offsetY: number;
|
|
1761
|
-
width: number;
|
|
1762
|
-
height: number;
|
|
1763
|
-
}[];
|
|
1764
|
-
}[];
|
|
1707
|
+
searchMatches: Readonly<{
|
|
1708
|
+
focusedId: string | null;
|
|
1709
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1710
|
+
}> | null;
|
|
1765
1711
|
};
|
|
1766
1712
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
1767
1713
|
} | {
|
|
1768
1714
|
elements: ExcalidrawElement[];
|
|
1769
1715
|
appState: {
|
|
1770
|
-
currentHoveredFontFamily: number | null;
|
|
1771
1716
|
currentItemFontFamily: number;
|
|
1717
|
+
currentHoveredFontFamily: number | null;
|
|
1772
1718
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1773
1719
|
contextMenu: {
|
|
1774
1720
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -1778,9 +1724,9 @@ export declare const actionChangeFontFamily: {
|
|
|
1778
1724
|
showWelcomeScreen: boolean;
|
|
1779
1725
|
isLoading: boolean;
|
|
1780
1726
|
myocSimplifiedMode: boolean;
|
|
1727
|
+
dontResizeLimitMBs: number;
|
|
1781
1728
|
hideMainMenus: boolean;
|
|
1782
1729
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1783
|
-
dontResizeLimitMBs: number;
|
|
1784
1730
|
arrangeConfiguration: {
|
|
1785
1731
|
algorithm: "bin-packing";
|
|
1786
1732
|
gap: number;
|
|
@@ -1796,7 +1742,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1796
1742
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1797
1743
|
isBindingEnabled: boolean;
|
|
1798
1744
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1799
|
-
suggestedBindings: import("@excalidraw/element
|
|
1745
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1800
1746
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1801
1747
|
frameRendering: {
|
|
1802
1748
|
enabled: boolean;
|
|
@@ -1843,7 +1789,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1843
1789
|
zoom: Readonly<{
|
|
1844
1790
|
value: import("../types").NormalizedZoomValue;
|
|
1845
1791
|
}>;
|
|
1846
|
-
openMenu: "
|
|
1792
|
+
openMenu: "canvas" | "shape" | null;
|
|
1847
1793
|
openSidebar: {
|
|
1848
1794
|
name: string;
|
|
1849
1795
|
tab?: string | undefined;
|
|
@@ -1925,7 +1871,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1925
1871
|
data: import("../charts").Spreadsheet;
|
|
1926
1872
|
};
|
|
1927
1873
|
pendingImageElementId: string | null;
|
|
1928
|
-
showHyperlinkPopup: false | "
|
|
1874
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1929
1875
|
selectedLinearElement: LinearElementEditor | null;
|
|
1930
1876
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1931
1877
|
originSnapOffset: {
|
|
@@ -1937,16 +1883,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1937
1883
|
followedBy: Set<import("../types").SocketId>;
|
|
1938
1884
|
isCropping: boolean;
|
|
1939
1885
|
croppingElementId: string | null;
|
|
1940
|
-
searchMatches:
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
offsetX: number;
|
|
1945
|
-
offsetY: number;
|
|
1946
|
-
width: number;
|
|
1947
|
-
height: number;
|
|
1948
|
-
}[];
|
|
1949
|
-
}[];
|
|
1886
|
+
searchMatches: Readonly<{
|
|
1887
|
+
focusedId: string | null;
|
|
1888
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1889
|
+
}> | null;
|
|
1950
1890
|
};
|
|
1951
1891
|
captureUpdate: "NEVER";
|
|
1952
1892
|
};
|
|
@@ -1970,9 +1910,9 @@ export declare const actionChangeTextAlign: {
|
|
|
1970
1910
|
showWelcomeScreen: boolean;
|
|
1971
1911
|
isLoading: boolean;
|
|
1972
1912
|
myocSimplifiedMode: boolean;
|
|
1913
|
+
dontResizeLimitMBs: number;
|
|
1973
1914
|
hideMainMenus: boolean;
|
|
1974
1915
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1975
|
-
dontResizeLimitMBs: number;
|
|
1976
1916
|
arrangeConfiguration: {
|
|
1977
1917
|
algorithm: "bin-packing";
|
|
1978
1918
|
gap: number;
|
|
@@ -1988,7 +1928,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1988
1928
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1989
1929
|
isBindingEnabled: boolean;
|
|
1990
1930
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1991
|
-
suggestedBindings: import("@excalidraw/element
|
|
1931
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1992
1932
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1993
1933
|
frameRendering: {
|
|
1994
1934
|
enabled: boolean;
|
|
@@ -2036,7 +1976,7 @@ export declare const actionChangeTextAlign: {
|
|
|
2036
1976
|
zoom: Readonly<{
|
|
2037
1977
|
value: import("../types").NormalizedZoomValue;
|
|
2038
1978
|
}>;
|
|
2039
|
-
openMenu: "
|
|
1979
|
+
openMenu: "canvas" | "shape" | null;
|
|
2040
1980
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2041
1981
|
openSidebar: {
|
|
2042
1982
|
name: string;
|
|
@@ -2119,7 +2059,7 @@ export declare const actionChangeTextAlign: {
|
|
|
2119
2059
|
data: import("../charts").Spreadsheet;
|
|
2120
2060
|
};
|
|
2121
2061
|
pendingImageElementId: string | null;
|
|
2122
|
-
showHyperlinkPopup: false | "
|
|
2062
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2123
2063
|
selectedLinearElement: LinearElementEditor | null;
|
|
2124
2064
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2125
2065
|
originSnapOffset: {
|
|
@@ -2131,16 +2071,10 @@ export declare const actionChangeTextAlign: {
|
|
|
2131
2071
|
followedBy: Set<import("../types").SocketId>;
|
|
2132
2072
|
isCropping: boolean;
|
|
2133
2073
|
croppingElementId: string | null;
|
|
2134
|
-
searchMatches:
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
offsetX: number;
|
|
2139
|
-
offsetY: number;
|
|
2140
|
-
width: number;
|
|
2141
|
-
height: number;
|
|
2142
|
-
}[];
|
|
2143
|
-
}[];
|
|
2074
|
+
searchMatches: Readonly<{
|
|
2075
|
+
focusedId: string | null;
|
|
2076
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2077
|
+
}> | null;
|
|
2144
2078
|
};
|
|
2145
2079
|
captureUpdate: "IMMEDIATELY";
|
|
2146
2080
|
};
|
|
@@ -2165,9 +2099,9 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2165
2099
|
showWelcomeScreen: boolean;
|
|
2166
2100
|
isLoading: boolean;
|
|
2167
2101
|
myocSimplifiedMode: boolean;
|
|
2102
|
+
dontResizeLimitMBs: number;
|
|
2168
2103
|
hideMainMenus: boolean;
|
|
2169
2104
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
2170
|
-
dontResizeLimitMBs: number;
|
|
2171
2105
|
arrangeConfiguration: {
|
|
2172
2106
|
algorithm: "bin-packing";
|
|
2173
2107
|
gap: number;
|
|
@@ -2183,7 +2117,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2183
2117
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2184
2118
|
isBindingEnabled: boolean;
|
|
2185
2119
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2186
|
-
suggestedBindings: import("@excalidraw/element
|
|
2120
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2187
2121
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2188
2122
|
frameRendering: {
|
|
2189
2123
|
enabled: boolean;
|
|
@@ -2232,7 +2166,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2232
2166
|
zoom: Readonly<{
|
|
2233
2167
|
value: import("../types").NormalizedZoomValue;
|
|
2234
2168
|
}>;
|
|
2235
|
-
openMenu: "
|
|
2169
|
+
openMenu: "canvas" | "shape" | null;
|
|
2236
2170
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2237
2171
|
openSidebar: {
|
|
2238
2172
|
name: string;
|
|
@@ -2315,7 +2249,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2315
2249
|
data: import("../charts").Spreadsheet;
|
|
2316
2250
|
};
|
|
2317
2251
|
pendingImageElementId: string | null;
|
|
2318
|
-
showHyperlinkPopup: false | "
|
|
2252
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2319
2253
|
selectedLinearElement: LinearElementEditor | null;
|
|
2320
2254
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2321
2255
|
originSnapOffset: {
|
|
@@ -2327,16 +2261,10 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2327
2261
|
followedBy: Set<import("../types").SocketId>;
|
|
2328
2262
|
isCropping: boolean;
|
|
2329
2263
|
croppingElementId: string | null;
|
|
2330
|
-
searchMatches:
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
offsetX: number;
|
|
2335
|
-
offsetY: number;
|
|
2336
|
-
width: number;
|
|
2337
|
-
height: number;
|
|
2338
|
-
}[];
|
|
2339
|
-
}[];
|
|
2264
|
+
searchMatches: Readonly<{
|
|
2265
|
+
focusedId: string | null;
|
|
2266
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2267
|
+
}> | null;
|
|
2340
2268
|
};
|
|
2341
2269
|
captureUpdate: "IMMEDIATELY";
|
|
2342
2270
|
};
|
|
@@ -2360,9 +2288,9 @@ export declare const actionChangeRoundness: {
|
|
|
2360
2288
|
showWelcomeScreen: boolean;
|
|
2361
2289
|
isLoading: boolean;
|
|
2362
2290
|
myocSimplifiedMode: boolean;
|
|
2291
|
+
dontResizeLimitMBs: number;
|
|
2363
2292
|
hideMainMenus: boolean;
|
|
2364
2293
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
2365
|
-
dontResizeLimitMBs: number;
|
|
2366
2294
|
arrangeConfiguration: {
|
|
2367
2295
|
algorithm: "bin-packing";
|
|
2368
2296
|
gap: number;
|
|
@@ -2378,7 +2306,7 @@ export declare const actionChangeRoundness: {
|
|
|
2378
2306
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2379
2307
|
isBindingEnabled: boolean;
|
|
2380
2308
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2381
|
-
suggestedBindings: import("@excalidraw/element
|
|
2309
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2382
2310
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2383
2311
|
frameRendering: {
|
|
2384
2312
|
enabled: boolean;
|
|
@@ -2426,7 +2354,7 @@ export declare const actionChangeRoundness: {
|
|
|
2426
2354
|
zoom: Readonly<{
|
|
2427
2355
|
value: import("../types").NormalizedZoomValue;
|
|
2428
2356
|
}>;
|
|
2429
|
-
openMenu: "
|
|
2357
|
+
openMenu: "canvas" | "shape" | null;
|
|
2430
2358
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2431
2359
|
openSidebar: {
|
|
2432
2360
|
name: string;
|
|
@@ -2509,7 +2437,7 @@ export declare const actionChangeRoundness: {
|
|
|
2509
2437
|
data: import("../charts").Spreadsheet;
|
|
2510
2438
|
};
|
|
2511
2439
|
pendingImageElementId: string | null;
|
|
2512
|
-
showHyperlinkPopup: false | "
|
|
2440
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2513
2441
|
selectedLinearElement: LinearElementEditor | null;
|
|
2514
2442
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2515
2443
|
originSnapOffset: {
|
|
@@ -2521,20 +2449,14 @@ export declare const actionChangeRoundness: {
|
|
|
2521
2449
|
followedBy: Set<import("../types").SocketId>;
|
|
2522
2450
|
isCropping: boolean;
|
|
2523
2451
|
croppingElementId: string | null;
|
|
2524
|
-
searchMatches:
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
offsetX: number;
|
|
2529
|
-
offsetY: number;
|
|
2530
|
-
width: number;
|
|
2531
|
-
height: number;
|
|
2532
|
-
}[];
|
|
2533
|
-
}[];
|
|
2452
|
+
searchMatches: Readonly<{
|
|
2453
|
+
focusedId: string | null;
|
|
2454
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2455
|
+
}> | null;
|
|
2534
2456
|
};
|
|
2535
2457
|
captureUpdate: "IMMEDIATELY";
|
|
2536
2458
|
};
|
|
2537
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2459
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2538
2460
|
} & {
|
|
2539
2461
|
keyTest?: undefined;
|
|
2540
2462
|
};
|
|
@@ -2556,9 +2478,9 @@ export declare const actionChangeArrowhead: {
|
|
|
2556
2478
|
showWelcomeScreen: boolean;
|
|
2557
2479
|
isLoading: boolean;
|
|
2558
2480
|
myocSimplifiedMode: boolean;
|
|
2481
|
+
dontResizeLimitMBs: number;
|
|
2559
2482
|
hideMainMenus: boolean;
|
|
2560
2483
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
2561
|
-
dontResizeLimitMBs: number;
|
|
2562
2484
|
arrangeConfiguration: {
|
|
2563
2485
|
algorithm: "bin-packing";
|
|
2564
2486
|
gap: number;
|
|
@@ -2574,7 +2496,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2574
2496
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2575
2497
|
isBindingEnabled: boolean;
|
|
2576
2498
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2577
|
-
suggestedBindings: import("@excalidraw/element
|
|
2499
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2578
2500
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2579
2501
|
frameRendering: {
|
|
2580
2502
|
enabled: boolean;
|
|
@@ -2623,7 +2545,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2623
2545
|
zoom: Readonly<{
|
|
2624
2546
|
value: import("../types").NormalizedZoomValue;
|
|
2625
2547
|
}>;
|
|
2626
|
-
openMenu: "
|
|
2548
|
+
openMenu: "canvas" | "shape" | null;
|
|
2627
2549
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2628
2550
|
openSidebar: {
|
|
2629
2551
|
name: string;
|
|
@@ -2706,7 +2628,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2706
2628
|
data: import("../charts").Spreadsheet;
|
|
2707
2629
|
};
|
|
2708
2630
|
pendingImageElementId: string | null;
|
|
2709
|
-
showHyperlinkPopup: false | "
|
|
2631
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2710
2632
|
selectedLinearElement: LinearElementEditor | null;
|
|
2711
2633
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2712
2634
|
originSnapOffset: {
|
|
@@ -2718,20 +2640,14 @@ export declare const actionChangeArrowhead: {
|
|
|
2718
2640
|
followedBy: Set<import("../types").SocketId>;
|
|
2719
2641
|
isCropping: boolean;
|
|
2720
2642
|
croppingElementId: string | null;
|
|
2721
|
-
searchMatches:
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
offsetX: number;
|
|
2726
|
-
offsetY: number;
|
|
2727
|
-
width: number;
|
|
2728
|
-
height: number;
|
|
2729
|
-
}[];
|
|
2730
|
-
}[];
|
|
2643
|
+
searchMatches: Readonly<{
|
|
2644
|
+
focusedId: string | null;
|
|
2645
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2646
|
+
}> | null;
|
|
2731
2647
|
};
|
|
2732
2648
|
captureUpdate: "IMMEDIATELY";
|
|
2733
2649
|
};
|
|
2734
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2650
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2735
2651
|
} & {
|
|
2736
2652
|
keyTest?: undefined;
|
|
2737
2653
|
};
|
|
@@ -2751,9 +2667,9 @@ export declare const actionChangeArrowType: {
|
|
|
2751
2667
|
showWelcomeScreen: boolean;
|
|
2752
2668
|
isLoading: boolean;
|
|
2753
2669
|
myocSimplifiedMode: boolean;
|
|
2670
|
+
dontResizeLimitMBs: number;
|
|
2754
2671
|
hideMainMenus: boolean;
|
|
2755
2672
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
2756
|
-
dontResizeLimitMBs: number;
|
|
2757
2673
|
arrangeConfiguration: {
|
|
2758
2674
|
algorithm: "bin-packing";
|
|
2759
2675
|
gap: number;
|
|
@@ -2769,7 +2685,7 @@ export declare const actionChangeArrowType: {
|
|
|
2769
2685
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2770
2686
|
isBindingEnabled: boolean;
|
|
2771
2687
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2772
|
-
suggestedBindings: import("@excalidraw/element
|
|
2688
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2773
2689
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2774
2690
|
frameRendering: {
|
|
2775
2691
|
enabled: boolean;
|
|
@@ -2817,7 +2733,7 @@ export declare const actionChangeArrowType: {
|
|
|
2817
2733
|
zoom: Readonly<{
|
|
2818
2734
|
value: import("../types").NormalizedZoomValue;
|
|
2819
2735
|
}>;
|
|
2820
|
-
openMenu: "
|
|
2736
|
+
openMenu: "canvas" | "shape" | null;
|
|
2821
2737
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2822
2738
|
openSidebar: {
|
|
2823
2739
|
name: string;
|
|
@@ -2900,7 +2816,7 @@ export declare const actionChangeArrowType: {
|
|
|
2900
2816
|
data: import("../charts").Spreadsheet;
|
|
2901
2817
|
};
|
|
2902
2818
|
pendingImageElementId: string | null;
|
|
2903
|
-
showHyperlinkPopup: false | "
|
|
2819
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2904
2820
|
selectedLinearElement: LinearElementEditor | null;
|
|
2905
2821
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2906
2822
|
originSnapOffset: {
|
|
@@ -2912,20 +2828,14 @@ export declare const actionChangeArrowType: {
|
|
|
2912
2828
|
followedBy: Set<import("../types").SocketId>;
|
|
2913
2829
|
isCropping: boolean;
|
|
2914
2830
|
croppingElementId: string | null;
|
|
2915
|
-
searchMatches:
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
offsetX: number;
|
|
2920
|
-
offsetY: number;
|
|
2921
|
-
width: number;
|
|
2922
|
-
height: number;
|
|
2923
|
-
}[];
|
|
2924
|
-
}[];
|
|
2831
|
+
searchMatches: Readonly<{
|
|
2832
|
+
focusedId: string | null;
|
|
2833
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2834
|
+
}> | null;
|
|
2925
2835
|
};
|
|
2926
2836
|
captureUpdate: "IMMEDIATELY";
|
|
2927
2837
|
};
|
|
2928
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2838
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2929
2839
|
} & {
|
|
2930
2840
|
keyTest?: undefined;
|
|
2931
2841
|
};
|