@excalidraw/excalidraw 0.18.0-195a743 → 0.18.0-298812e
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-T3M44BFV.js → chunk-JCUIYZXF.js} +7 -3
- package/dist/dev/chunk-JCUIYZXF.js.map +7 -0
- package/dist/dev/{chunk-WMGEUIQQ.js → chunk-RQWTCZLD.js} +2 -2
- package/dist/dev/{chunk-H3EW23X2.js → chunk-ZPGIVNNG.js} +14840 -9652
- package/dist/dev/chunk-ZPGIVNNG.js.map +7 -0
- package/dist/dev/data/{image-TTQKTTOH.js → image-CB4ZYE3A.js} +3 -3
- package/dist/dev/index.css +38 -2
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +857 -5250
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-I23TB6DJ.js → en-ZDTPSZNL.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-GK4XUKZB.js → chunk-7TMLMBQX.js} +1 -1
- package/dist/prod/{chunk-2Z7RPVPO.js → chunk-GCFVWREF.js} +3 -3
- package/dist/prod/chunk-WFJFO6F4.js +33 -0
- package/dist/prod/data/image-XJI4SWH2.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +18 -18
- package/dist/prod/locales/{en-TC3OFDA6.js → en-MHZ26NAR.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 +1 -0
- 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/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/ShapeCache.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +1 -1
- package/dist/types/element/src/binding.d.ts +1 -1
- 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 +1 -1
- package/dist/types/element/src/flowchart.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +3 -2
- package/dist/types/element/src/index.d.ts +45 -2
- package/dist/types/element/src/linearElementEditor.d.ts +4 -8
- package/dist/types/element/src/newElement.d.ts +1 -1
- package/dist/types/element/src/resizeElements.d.ts +1 -1
- package/dist/types/element/src/selection.d.ts +1 -6
- package/dist/types/element/src/store.d.ts +227 -0
- 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 +2 -1
- package/dist/types/element/src/types.d.ts +6 -1
- package/dist/types/element/src/zindex.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +24 -42
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +16 -28
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +194 -272
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +50 -86
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +8 -14
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +22 -40
- 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 +8 -14
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +18 -30
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +8 -14
- package/dist/types/excalidraw/actions/actionExport.d.ts +159 -213
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +14 -26
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +76 -100
- package/dist/types/excalidraw/actions/actionGroup.d.ts +22 -34
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +7 -13
- package/dist/types/excalidraw/actions/actionLink.d.ts +9 -15
- package/dist/types/excalidraw/actions/actionMenu.d.ts +26 -44
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +16 -28
- package/dist/types/excalidraw/actions/actionProperties.d.ts +106 -196
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionStyles.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -189
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionZindex.d.ts +10 -10
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +23 -23
- package/dist/types/excalidraw/components/App.d.ts +9 -9
- 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 +2 -28
- package/dist/types/excalidraw/components/ElementLinkDialog.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 +2 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -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/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 +13 -6
- package/dist/types/excalidraw/visualdebug.d.ts +1 -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 +3 -3
- package/dist/dev/chunk-H3EW23X2.js.map +0 -7
- package/dist/dev/chunk-T3M44BFV.js.map +0 -7
- package/dist/prod/chunk-7M43VNIB.js +0 -33
- package/dist/prod/data/image-7YYIWLVQ.js +0 -1
- package/dist/types/excalidraw/store.d.ts +0 -129
- /package/dist/dev/{chunk-WMGEUIQQ.js.map → chunk-RQWTCZLD.js.map} +0 -0
- /package/dist/dev/data/{image-TTQKTTOH.js.map → image-CB4ZYE3A.js.map} +0 -0
- /package/dist/dev/locales/{en-I23TB6DJ.js.map → en-ZDTPSZNL.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
|
};
|
|
@@ -48,7 +48,7 @@ export declare const actionChangeFillStyle: {
|
|
|
48
48
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
49
49
|
isBindingEnabled: boolean;
|
|
50
50
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
51
|
-
suggestedBindings: import("@excalidraw/element
|
|
51
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
52
52
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
53
53
|
frameRendering: {
|
|
54
54
|
enabled: boolean;
|
|
@@ -179,7 +179,7 @@ export declare const actionChangeFillStyle: {
|
|
|
179
179
|
data: import("../charts").Spreadsheet;
|
|
180
180
|
};
|
|
181
181
|
pendingImageElementId: string | null;
|
|
182
|
-
showHyperlinkPopup: false | "
|
|
182
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
183
183
|
selectedLinearElement: LinearElementEditor | null;
|
|
184
184
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
185
185
|
originSnapOffset: {
|
|
@@ -191,20 +191,14 @@ export declare const actionChangeFillStyle: {
|
|
|
191
191
|
followedBy: Set<import("../types").SocketId>;
|
|
192
192
|
isCropping: boolean;
|
|
193
193
|
croppingElementId: string | null;
|
|
194
|
-
searchMatches:
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
offsetX: number;
|
|
199
|
-
offsetY: number;
|
|
200
|
-
width: number;
|
|
201
|
-
height: number;
|
|
202
|
-
}[];
|
|
203
|
-
}[];
|
|
194
|
+
searchMatches: Readonly<{
|
|
195
|
+
focusedId: string | null;
|
|
196
|
+
matches: readonly import("../types").SearchMatch[];
|
|
197
|
+
}> | null;
|
|
204
198
|
};
|
|
205
199
|
captureUpdate: "IMMEDIATELY";
|
|
206
200
|
};
|
|
207
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
201
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
208
202
|
} & {
|
|
209
203
|
keyTest?: undefined;
|
|
210
204
|
};
|
|
@@ -234,7 +228,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
234
228
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
235
229
|
isBindingEnabled: boolean;
|
|
236
230
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
237
|
-
suggestedBindings: import("@excalidraw/element
|
|
231
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
238
232
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
239
233
|
frameRendering: {
|
|
240
234
|
enabled: boolean;
|
|
@@ -365,7 +359,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
365
359
|
data: import("../charts").Spreadsheet;
|
|
366
360
|
};
|
|
367
361
|
pendingImageElementId: string | null;
|
|
368
|
-
showHyperlinkPopup: false | "
|
|
362
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
369
363
|
selectedLinearElement: LinearElementEditor | null;
|
|
370
364
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
371
365
|
originSnapOffset: {
|
|
@@ -377,20 +371,14 @@ export declare const actionChangeStrokeWidth: {
|
|
|
377
371
|
followedBy: Set<import("../types").SocketId>;
|
|
378
372
|
isCropping: boolean;
|
|
379
373
|
croppingElementId: string | null;
|
|
380
|
-
searchMatches:
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
offsetX: number;
|
|
385
|
-
offsetY: number;
|
|
386
|
-
width: number;
|
|
387
|
-
height: number;
|
|
388
|
-
}[];
|
|
389
|
-
}[];
|
|
374
|
+
searchMatches: Readonly<{
|
|
375
|
+
focusedId: string | null;
|
|
376
|
+
matches: readonly import("../types").SearchMatch[];
|
|
377
|
+
}> | null;
|
|
390
378
|
};
|
|
391
379
|
captureUpdate: "IMMEDIATELY";
|
|
392
380
|
};
|
|
393
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
381
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
394
382
|
} & {
|
|
395
383
|
keyTest?: undefined;
|
|
396
384
|
};
|
|
@@ -420,7 +408,7 @@ export declare const actionChangeSloppiness: {
|
|
|
420
408
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
421
409
|
isBindingEnabled: boolean;
|
|
422
410
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
423
|
-
suggestedBindings: import("@excalidraw/element
|
|
411
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
424
412
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
425
413
|
frameRendering: {
|
|
426
414
|
enabled: boolean;
|
|
@@ -551,7 +539,7 @@ export declare const actionChangeSloppiness: {
|
|
|
551
539
|
data: import("../charts").Spreadsheet;
|
|
552
540
|
};
|
|
553
541
|
pendingImageElementId: string | null;
|
|
554
|
-
showHyperlinkPopup: false | "
|
|
542
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
555
543
|
selectedLinearElement: LinearElementEditor | null;
|
|
556
544
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
557
545
|
originSnapOffset: {
|
|
@@ -563,20 +551,14 @@ export declare const actionChangeSloppiness: {
|
|
|
563
551
|
followedBy: Set<import("../types").SocketId>;
|
|
564
552
|
isCropping: boolean;
|
|
565
553
|
croppingElementId: string | null;
|
|
566
|
-
searchMatches:
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
offsetX: number;
|
|
571
|
-
offsetY: number;
|
|
572
|
-
width: number;
|
|
573
|
-
height: number;
|
|
574
|
-
}[];
|
|
575
|
-
}[];
|
|
554
|
+
searchMatches: Readonly<{
|
|
555
|
+
focusedId: string | null;
|
|
556
|
+
matches: readonly import("../types").SearchMatch[];
|
|
557
|
+
}> | null;
|
|
576
558
|
};
|
|
577
559
|
captureUpdate: "IMMEDIATELY";
|
|
578
560
|
};
|
|
579
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
561
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
580
562
|
} & {
|
|
581
563
|
keyTest?: undefined;
|
|
582
564
|
};
|
|
@@ -606,7 +588,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
606
588
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
607
589
|
isBindingEnabled: boolean;
|
|
608
590
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
609
|
-
suggestedBindings: import("@excalidraw/element
|
|
591
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
610
592
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
611
593
|
frameRendering: {
|
|
612
594
|
enabled: boolean;
|
|
@@ -737,7 +719,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
737
719
|
data: import("../charts").Spreadsheet;
|
|
738
720
|
};
|
|
739
721
|
pendingImageElementId: string | null;
|
|
740
|
-
showHyperlinkPopup: false | "
|
|
722
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
741
723
|
selectedLinearElement: LinearElementEditor | null;
|
|
742
724
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
743
725
|
originSnapOffset: {
|
|
@@ -749,20 +731,14 @@ export declare const actionChangeStrokeStyle: {
|
|
|
749
731
|
followedBy: Set<import("../types").SocketId>;
|
|
750
732
|
isCropping: boolean;
|
|
751
733
|
croppingElementId: string | null;
|
|
752
|
-
searchMatches:
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
offsetX: number;
|
|
757
|
-
offsetY: number;
|
|
758
|
-
width: number;
|
|
759
|
-
height: number;
|
|
760
|
-
}[];
|
|
761
|
-
}[];
|
|
734
|
+
searchMatches: Readonly<{
|
|
735
|
+
focusedId: string | null;
|
|
736
|
+
matches: readonly import("../types").SearchMatch[];
|
|
737
|
+
}> | null;
|
|
762
738
|
};
|
|
763
739
|
captureUpdate: "IMMEDIATELY";
|
|
764
740
|
};
|
|
765
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
741
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
766
742
|
} & {
|
|
767
743
|
keyTest?: undefined;
|
|
768
744
|
};
|
|
@@ -792,7 +768,7 @@ export declare const actionChangeOpacity: {
|
|
|
792
768
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
793
769
|
isBindingEnabled: boolean;
|
|
794
770
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
795
|
-
suggestedBindings: import("@excalidraw/element
|
|
771
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
796
772
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
797
773
|
frameRendering: {
|
|
798
774
|
enabled: boolean;
|
|
@@ -923,7 +899,7 @@ export declare const actionChangeOpacity: {
|
|
|
923
899
|
data: import("../charts").Spreadsheet;
|
|
924
900
|
};
|
|
925
901
|
pendingImageElementId: string | null;
|
|
926
|
-
showHyperlinkPopup: false | "
|
|
902
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
927
903
|
selectedLinearElement: LinearElementEditor | null;
|
|
928
904
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
929
905
|
originSnapOffset: {
|
|
@@ -935,20 +911,14 @@ export declare const actionChangeOpacity: {
|
|
|
935
911
|
followedBy: Set<import("../types").SocketId>;
|
|
936
912
|
isCropping: boolean;
|
|
937
913
|
croppingElementId: string | null;
|
|
938
|
-
searchMatches:
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
offsetX: number;
|
|
943
|
-
offsetY: number;
|
|
944
|
-
width: number;
|
|
945
|
-
height: number;
|
|
946
|
-
}[];
|
|
947
|
-
}[];
|
|
914
|
+
searchMatches: Readonly<{
|
|
915
|
+
focusedId: string | null;
|
|
916
|
+
matches: readonly import("../types").SearchMatch[];
|
|
917
|
+
}> | null;
|
|
948
918
|
};
|
|
949
919
|
captureUpdate: "IMMEDIATELY";
|
|
950
920
|
};
|
|
951
|
-
PanelComponent: ({
|
|
921
|
+
PanelComponent: ({ app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
952
922
|
} & {
|
|
953
923
|
keyTest?: undefined;
|
|
954
924
|
};
|
|
@@ -978,7 +948,7 @@ export declare const actionChangeFontSize: {
|
|
|
978
948
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
979
949
|
isBindingEnabled: boolean;
|
|
980
950
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
981
|
-
suggestedBindings: import("@excalidraw/element
|
|
951
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
982
952
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
983
953
|
frameRendering: {
|
|
984
954
|
enabled: boolean;
|
|
@@ -1109,7 +1079,7 @@ export declare const actionChangeFontSize: {
|
|
|
1109
1079
|
data: import("../charts").Spreadsheet;
|
|
1110
1080
|
};
|
|
1111
1081
|
pendingImageElementId: string | null;
|
|
1112
|
-
showHyperlinkPopup: false | "
|
|
1082
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1113
1083
|
selectedLinearElement: LinearElementEditor | null;
|
|
1114
1084
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1115
1085
|
originSnapOffset: {
|
|
@@ -1121,16 +1091,10 @@ export declare const actionChangeFontSize: {
|
|
|
1121
1091
|
followedBy: Set<import("../types").SocketId>;
|
|
1122
1092
|
isCropping: boolean;
|
|
1123
1093
|
croppingElementId: string | null;
|
|
1124
|
-
searchMatches:
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
offsetX: number;
|
|
1129
|
-
offsetY: number;
|
|
1130
|
-
width: number;
|
|
1131
|
-
height: number;
|
|
1132
|
-
}[];
|
|
1133
|
-
}[];
|
|
1094
|
+
searchMatches: Readonly<{
|
|
1095
|
+
focusedId: string | null;
|
|
1096
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1097
|
+
}> | null;
|
|
1134
1098
|
};
|
|
1135
1099
|
captureUpdate: "IMMEDIATELY";
|
|
1136
1100
|
};
|
|
@@ -1165,7 +1129,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1165
1129
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1166
1130
|
isBindingEnabled: boolean;
|
|
1167
1131
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1168
|
-
suggestedBindings: import("@excalidraw/element
|
|
1132
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1169
1133
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1170
1134
|
frameRendering: {
|
|
1171
1135
|
enabled: boolean;
|
|
@@ -1296,7 +1260,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1296
1260
|
data: import("../charts").Spreadsheet;
|
|
1297
1261
|
};
|
|
1298
1262
|
pendingImageElementId: string | null;
|
|
1299
|
-
showHyperlinkPopup: false | "
|
|
1263
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1300
1264
|
selectedLinearElement: LinearElementEditor | null;
|
|
1301
1265
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1302
1266
|
originSnapOffset: {
|
|
@@ -1308,22 +1272,16 @@ export declare const actionDecreaseFontSize: {
|
|
|
1308
1272
|
followedBy: Set<import("../types").SocketId>;
|
|
1309
1273
|
isCropping: boolean;
|
|
1310
1274
|
croppingElementId: string | null;
|
|
1311
|
-
searchMatches:
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
offsetX: number;
|
|
1316
|
-
offsetY: number;
|
|
1317
|
-
width: number;
|
|
1318
|
-
height: number;
|
|
1319
|
-
}[];
|
|
1320
|
-
}[];
|
|
1275
|
+
searchMatches: Readonly<{
|
|
1276
|
+
focusedId: string | null;
|
|
1277
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1278
|
+
}> | null;
|
|
1321
1279
|
};
|
|
1322
1280
|
captureUpdate: "IMMEDIATELY";
|
|
1323
1281
|
};
|
|
1324
|
-
keyTest: (event:
|
|
1282
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1325
1283
|
} & {
|
|
1326
|
-
keyTest?: ((event:
|
|
1284
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1327
1285
|
};
|
|
1328
1286
|
export declare const actionIncreaseFontSize: {
|
|
1329
1287
|
name: "increaseFontSize";
|
|
@@ -1352,7 +1310,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1352
1310
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1353
1311
|
isBindingEnabled: boolean;
|
|
1354
1312
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1355
|
-
suggestedBindings: import("@excalidraw/element
|
|
1313
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1356
1314
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1357
1315
|
frameRendering: {
|
|
1358
1316
|
enabled: boolean;
|
|
@@ -1483,7 +1441,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1483
1441
|
data: import("../charts").Spreadsheet;
|
|
1484
1442
|
};
|
|
1485
1443
|
pendingImageElementId: string | null;
|
|
1486
|
-
showHyperlinkPopup: false | "
|
|
1444
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1487
1445
|
selectedLinearElement: LinearElementEditor | null;
|
|
1488
1446
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1489
1447
|
originSnapOffset: {
|
|
@@ -1495,22 +1453,16 @@ export declare const actionIncreaseFontSize: {
|
|
|
1495
1453
|
followedBy: Set<import("../types").SocketId>;
|
|
1496
1454
|
isCropping: boolean;
|
|
1497
1455
|
croppingElementId: string | null;
|
|
1498
|
-
searchMatches:
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
offsetX: number;
|
|
1503
|
-
offsetY: number;
|
|
1504
|
-
width: number;
|
|
1505
|
-
height: number;
|
|
1506
|
-
}[];
|
|
1507
|
-
}[];
|
|
1456
|
+
searchMatches: Readonly<{
|
|
1457
|
+
focusedId: string | null;
|
|
1458
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1459
|
+
}> | null;
|
|
1508
1460
|
};
|
|
1509
1461
|
captureUpdate: "IMMEDIATELY";
|
|
1510
1462
|
};
|
|
1511
|
-
keyTest: (event:
|
|
1463
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1512
1464
|
} & {
|
|
1513
|
-
keyTest?: ((event:
|
|
1465
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1514
1466
|
};
|
|
1515
1467
|
export declare const actionChangeFontFamily: {
|
|
1516
1468
|
name: "changeFontFamily";
|
|
@@ -1539,7 +1491,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1539
1491
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1540
1492
|
isBindingEnabled: boolean;
|
|
1541
1493
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1542
|
-
suggestedBindings: import("@excalidraw/element
|
|
1494
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1543
1495
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1544
1496
|
frameRendering: {
|
|
1545
1497
|
enabled: boolean;
|
|
@@ -1668,7 +1620,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1668
1620
|
data: import("../charts").Spreadsheet;
|
|
1669
1621
|
};
|
|
1670
1622
|
pendingImageElementId: string | null;
|
|
1671
|
-
showHyperlinkPopup: false | "
|
|
1623
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1672
1624
|
selectedLinearElement: LinearElementEditor | null;
|
|
1673
1625
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1674
1626
|
originSnapOffset: {
|
|
@@ -1680,16 +1632,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1680
1632
|
followedBy: Set<import("../types").SocketId>;
|
|
1681
1633
|
isCropping: boolean;
|
|
1682
1634
|
croppingElementId: string | null;
|
|
1683
|
-
searchMatches:
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
offsetX: number;
|
|
1688
|
-
offsetY: number;
|
|
1689
|
-
width: number;
|
|
1690
|
-
height: number;
|
|
1691
|
-
}[];
|
|
1692
|
-
}[];
|
|
1635
|
+
searchMatches: Readonly<{
|
|
1636
|
+
focusedId: string | null;
|
|
1637
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1638
|
+
}> | null;
|
|
1693
1639
|
};
|
|
1694
1640
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
1695
1641
|
} | {
|
|
@@ -1716,7 +1662,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1716
1662
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1717
1663
|
isBindingEnabled: boolean;
|
|
1718
1664
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1719
|
-
suggestedBindings: import("@excalidraw/element
|
|
1665
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1720
1666
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1721
1667
|
frameRendering: {
|
|
1722
1668
|
enabled: boolean;
|
|
@@ -1845,7 +1791,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1845
1791
|
data: import("../charts").Spreadsheet;
|
|
1846
1792
|
};
|
|
1847
1793
|
pendingImageElementId: string | null;
|
|
1848
|
-
showHyperlinkPopup: false | "
|
|
1794
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1849
1795
|
selectedLinearElement: LinearElementEditor | null;
|
|
1850
1796
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1851
1797
|
originSnapOffset: {
|
|
@@ -1857,16 +1803,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1857
1803
|
followedBy: Set<import("../types").SocketId>;
|
|
1858
1804
|
isCropping: boolean;
|
|
1859
1805
|
croppingElementId: string | null;
|
|
1860
|
-
searchMatches:
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
offsetX: number;
|
|
1865
|
-
offsetY: number;
|
|
1866
|
-
width: number;
|
|
1867
|
-
height: number;
|
|
1868
|
-
}[];
|
|
1869
|
-
}[];
|
|
1806
|
+
searchMatches: Readonly<{
|
|
1807
|
+
focusedId: string | null;
|
|
1808
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1809
|
+
}> | null;
|
|
1870
1810
|
};
|
|
1871
1811
|
captureUpdate: "NEVER";
|
|
1872
1812
|
};
|
|
@@ -1900,7 +1840,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1900
1840
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1901
1841
|
isBindingEnabled: boolean;
|
|
1902
1842
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1903
|
-
suggestedBindings: import("@excalidraw/element
|
|
1843
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1904
1844
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1905
1845
|
frameRendering: {
|
|
1906
1846
|
enabled: boolean;
|
|
@@ -2031,7 +1971,7 @@ export declare const actionChangeTextAlign: {
|
|
|
2031
1971
|
data: import("../charts").Spreadsheet;
|
|
2032
1972
|
};
|
|
2033
1973
|
pendingImageElementId: string | null;
|
|
2034
|
-
showHyperlinkPopup: false | "
|
|
1974
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2035
1975
|
selectedLinearElement: LinearElementEditor | null;
|
|
2036
1976
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2037
1977
|
originSnapOffset: {
|
|
@@ -2043,16 +1983,10 @@ export declare const actionChangeTextAlign: {
|
|
|
2043
1983
|
followedBy: Set<import("../types").SocketId>;
|
|
2044
1984
|
isCropping: boolean;
|
|
2045
1985
|
croppingElementId: string | null;
|
|
2046
|
-
searchMatches:
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
offsetX: number;
|
|
2051
|
-
offsetY: number;
|
|
2052
|
-
width: number;
|
|
2053
|
-
height: number;
|
|
2054
|
-
}[];
|
|
2055
|
-
}[];
|
|
1986
|
+
searchMatches: Readonly<{
|
|
1987
|
+
focusedId: string | null;
|
|
1988
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1989
|
+
}> | null;
|
|
2056
1990
|
};
|
|
2057
1991
|
captureUpdate: "IMMEDIATELY";
|
|
2058
1992
|
};
|
|
@@ -2087,7 +2021,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2087
2021
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2088
2022
|
isBindingEnabled: boolean;
|
|
2089
2023
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2090
|
-
suggestedBindings: import("@excalidraw/element
|
|
2024
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2091
2025
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2092
2026
|
frameRendering: {
|
|
2093
2027
|
enabled: boolean;
|
|
@@ -2219,7 +2153,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2219
2153
|
data: import("../charts").Spreadsheet;
|
|
2220
2154
|
};
|
|
2221
2155
|
pendingImageElementId: string | null;
|
|
2222
|
-
showHyperlinkPopup: false | "
|
|
2156
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2223
2157
|
selectedLinearElement: LinearElementEditor | null;
|
|
2224
2158
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2225
2159
|
originSnapOffset: {
|
|
@@ -2231,16 +2165,10 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2231
2165
|
followedBy: Set<import("../types").SocketId>;
|
|
2232
2166
|
isCropping: boolean;
|
|
2233
2167
|
croppingElementId: string | null;
|
|
2234
|
-
searchMatches:
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
offsetX: number;
|
|
2239
|
-
offsetY: number;
|
|
2240
|
-
width: number;
|
|
2241
|
-
height: number;
|
|
2242
|
-
}[];
|
|
2243
|
-
}[];
|
|
2168
|
+
searchMatches: Readonly<{
|
|
2169
|
+
focusedId: string | null;
|
|
2170
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2171
|
+
}> | null;
|
|
2244
2172
|
};
|
|
2245
2173
|
captureUpdate: "IMMEDIATELY";
|
|
2246
2174
|
};
|
|
@@ -2274,7 +2202,7 @@ export declare const actionChangeRoundness: {
|
|
|
2274
2202
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2275
2203
|
isBindingEnabled: boolean;
|
|
2276
2204
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2277
|
-
suggestedBindings: import("@excalidraw/element
|
|
2205
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2278
2206
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2279
2207
|
frameRendering: {
|
|
2280
2208
|
enabled: boolean;
|
|
@@ -2405,7 +2333,7 @@ export declare const actionChangeRoundness: {
|
|
|
2405
2333
|
data: import("../charts").Spreadsheet;
|
|
2406
2334
|
};
|
|
2407
2335
|
pendingImageElementId: string | null;
|
|
2408
|
-
showHyperlinkPopup: false | "
|
|
2336
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2409
2337
|
selectedLinearElement: LinearElementEditor | null;
|
|
2410
2338
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2411
2339
|
originSnapOffset: {
|
|
@@ -2417,20 +2345,14 @@ export declare const actionChangeRoundness: {
|
|
|
2417
2345
|
followedBy: Set<import("../types").SocketId>;
|
|
2418
2346
|
isCropping: boolean;
|
|
2419
2347
|
croppingElementId: string | null;
|
|
2420
|
-
searchMatches:
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
offsetX: number;
|
|
2425
|
-
offsetY: number;
|
|
2426
|
-
width: number;
|
|
2427
|
-
height: number;
|
|
2428
|
-
}[];
|
|
2429
|
-
}[];
|
|
2348
|
+
searchMatches: Readonly<{
|
|
2349
|
+
focusedId: string | null;
|
|
2350
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2351
|
+
}> | null;
|
|
2430
2352
|
};
|
|
2431
2353
|
captureUpdate: "IMMEDIATELY";
|
|
2432
2354
|
};
|
|
2433
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2355
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2434
2356
|
} & {
|
|
2435
2357
|
keyTest?: undefined;
|
|
2436
2358
|
};
|
|
@@ -2462,7 +2384,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2462
2384
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2463
2385
|
isBindingEnabled: boolean;
|
|
2464
2386
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2465
|
-
suggestedBindings: import("@excalidraw/element
|
|
2387
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2466
2388
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2467
2389
|
frameRendering: {
|
|
2468
2390
|
enabled: boolean;
|
|
@@ -2594,7 +2516,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2594
2516
|
data: import("../charts").Spreadsheet;
|
|
2595
2517
|
};
|
|
2596
2518
|
pendingImageElementId: string | null;
|
|
2597
|
-
showHyperlinkPopup: false | "
|
|
2519
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2598
2520
|
selectedLinearElement: LinearElementEditor | null;
|
|
2599
2521
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2600
2522
|
originSnapOffset: {
|
|
@@ -2606,20 +2528,14 @@ export declare const actionChangeArrowhead: {
|
|
|
2606
2528
|
followedBy: Set<import("../types").SocketId>;
|
|
2607
2529
|
isCropping: boolean;
|
|
2608
2530
|
croppingElementId: string | null;
|
|
2609
|
-
searchMatches:
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
offsetX: number;
|
|
2614
|
-
offsetY: number;
|
|
2615
|
-
width: number;
|
|
2616
|
-
height: number;
|
|
2617
|
-
}[];
|
|
2618
|
-
}[];
|
|
2531
|
+
searchMatches: Readonly<{
|
|
2532
|
+
focusedId: string | null;
|
|
2533
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2534
|
+
}> | null;
|
|
2619
2535
|
};
|
|
2620
2536
|
captureUpdate: "IMMEDIATELY";
|
|
2621
2537
|
};
|
|
2622
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2538
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2623
2539
|
} & {
|
|
2624
2540
|
keyTest?: undefined;
|
|
2625
2541
|
};
|
|
@@ -2649,7 +2565,7 @@ export declare const actionChangeArrowType: {
|
|
|
2649
2565
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2650
2566
|
isBindingEnabled: boolean;
|
|
2651
2567
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2652
|
-
suggestedBindings: import("@excalidraw/element
|
|
2568
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2653
2569
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2654
2570
|
frameRendering: {
|
|
2655
2571
|
enabled: boolean;
|
|
@@ -2780,7 +2696,7 @@ export declare const actionChangeArrowType: {
|
|
|
2780
2696
|
data: import("../charts").Spreadsheet;
|
|
2781
2697
|
};
|
|
2782
2698
|
pendingImageElementId: string | null;
|
|
2783
|
-
showHyperlinkPopup: false | "
|
|
2699
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2784
2700
|
selectedLinearElement: LinearElementEditor | null;
|
|
2785
2701
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2786
2702
|
originSnapOffset: {
|
|
@@ -2792,20 +2708,14 @@ export declare const actionChangeArrowType: {
|
|
|
2792
2708
|
followedBy: Set<import("../types").SocketId>;
|
|
2793
2709
|
isCropping: boolean;
|
|
2794
2710
|
croppingElementId: string | null;
|
|
2795
|
-
searchMatches:
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
offsetX: number;
|
|
2800
|
-
offsetY: number;
|
|
2801
|
-
width: number;
|
|
2802
|
-
height: number;
|
|
2803
|
-
}[];
|
|
2804
|
-
}[];
|
|
2711
|
+
searchMatches: Readonly<{
|
|
2712
|
+
focusedId: string | null;
|
|
2713
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2714
|
+
}> | null;
|
|
2805
2715
|
};
|
|
2806
2716
|
captureUpdate: "IMMEDIATELY";
|
|
2807
2717
|
};
|
|
2808
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2718
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2809
2719
|
} & {
|
|
2810
2720
|
keyTest?: undefined;
|
|
2811
2721
|
};
|