@excalidraw/excalidraw 0.17.1-7441-4e2c539 → 0.17.1-a38e82f
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/CHANGELOG.md +52 -2
- package/dist/browser/dev/excalidraw-assets-dev/chunk-5VWQDKDR.js +20279 -0
- package/dist/browser/dev/excalidraw-assets-dev/chunk-5VWQDKDR.js.map +7 -0
- package/dist/browser/dev/excalidraw-assets-dev/{chunk-2W5GQUR4.js → chunk-IM4WTX2M.js} +12 -6
- package/dist/browser/dev/excalidraw-assets-dev/chunk-IM4WTX2M.js.map +7 -0
- package/dist/browser/dev/excalidraw-assets-dev/{en-OC6JWP3X.js → en-IOBA4CS2.js} +4 -2
- package/dist/browser/dev/excalidraw-assets-dev/image-LK4UNFRZ.css +6 -0
- package/dist/browser/dev/excalidraw-assets-dev/image-LK4UNFRZ.css.map +7 -0
- package/dist/browser/dev/excalidraw-assets-dev/{image-HYNUJ3XL.js → image-VKDAL6BQ.js} +2 -4
- package/dist/browser/dev/excalidraw-assets-dev/roundRect-T5BX56ZF.js +161 -0
- package/dist/browser/dev/excalidraw-assets-dev/roundRect-T5BX56ZF.js.map +7 -0
- package/dist/browser/dev/index.css +189 -129
- package/dist/browser/dev/index.css.map +3 -3
- package/dist/browser/dev/index.js +34707 -26
- package/dist/browser/dev/index.js.map +4 -4
- package/dist/browser/prod/excalidraw-assets/chunk-LIG3S5TN.js +11 -0
- package/dist/browser/prod/excalidraw-assets/chunk-N2C5DK3B.js +55 -0
- package/dist/browser/prod/excalidraw-assets/en-WFZVQ7I6.js +1 -0
- package/dist/browser/prod/excalidraw-assets/image-4AT7LYMR.js +1 -0
- package/dist/browser/prod/excalidraw-assets/image-X66R2EM5.css +1 -0
- package/dist/browser/prod/excalidraw-assets/roundRect-2ACQK4DA.js +1 -0
- package/dist/browser/prod/index.css +1 -1
- package/dist/browser/prod/index.js +203 -1
- package/dist/{prod/en-RLIAOBCI.json → dev/en-TDNWCAOT.json} +9 -5
- package/dist/dev/index.css +189 -129
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +38445 -39402
- package/dist/dev/index.js.map +4 -4
- package/dist/excalidraw/actions/actionAddToLibrary.d.ts +12 -12
- package/dist/excalidraw/actions/actionAlign.d.ts +6 -6
- package/dist/excalidraw/actions/actionAlign.js +2 -1
- package/dist/excalidraw/actions/actionBoundText.d.ts +8 -8
- package/dist/excalidraw/actions/actionBoundText.js +8 -8
- package/dist/excalidraw/actions/actionCanvas.d.ts +46 -46
- package/dist/excalidraw/actions/actionClipboard.d.ts +27 -27
- package/dist/excalidraw/actions/actionClipboard.js +9 -2
- package/dist/excalidraw/actions/actionDeleteSelected.d.ts +12 -12
- package/dist/excalidraw/actions/actionDeleteSelected.js +3 -2
- package/dist/excalidraw/actions/actionDistribute.d.ts +2 -2
- package/dist/excalidraw/actions/actionDistribute.js +1 -1
- package/dist/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
- package/dist/excalidraw/actions/actionDuplicateSelection.js +4 -3
- package/dist/excalidraw/actions/actionElementLock.d.ts +8 -8
- package/dist/excalidraw/actions/actionExport.d.ts +35 -35
- package/dist/excalidraw/actions/actionExport.js +4 -4
- package/dist/excalidraw/actions/actionFinalize.d.ts +7 -7
- package/dist/excalidraw/actions/actionFinalize.js +7 -6
- package/dist/excalidraw/actions/actionFlip.d.ts +2 -2
- package/dist/excalidraw/actions/actionFlip.js +11 -11
- package/dist/excalidraw/actions/actionFrame.d.ts +13 -13
- package/dist/excalidraw/actions/actionFrame.js +1 -1
- package/dist/excalidraw/actions/actionGroup.d.ts +8 -8
- package/dist/excalidraw/actions/actionGroup.js +3 -2
- package/dist/excalidraw/actions/actionLinearEditor.d.ts +4 -4
- package/dist/excalidraw/actions/actionLinearEditor.js +1 -1
- package/dist/excalidraw/{element/Hyperlink.d.ts → actions/actionLink.d.ts} +28 -50
- package/dist/excalidraw/actions/actionLink.js +40 -0
- package/dist/excalidraw/actions/actionMenu.d.ts +11 -11
- package/dist/excalidraw/actions/actionNavigate.d.ts +8 -8
- package/dist/excalidraw/actions/actionNavigate.js +1 -1
- package/dist/excalidraw/actions/actionProperties.d.ts +64 -64
- package/dist/excalidraw/actions/actionProperties.js +32 -27
- package/dist/excalidraw/actions/actionSelectAll.d.ts +4 -4
- package/dist/excalidraw/actions/actionSelectAll.js +1 -1
- package/dist/excalidraw/actions/actionStyles.d.ts +6 -6
- package/dist/excalidraw/actions/actionStyles.js +4 -4
- package/dist/excalidraw/actions/actionToggleGridMode.d.ts +4 -4
- package/dist/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +4 -4
- package/dist/excalidraw/actions/actionToggleStats.d.ts +4 -4
- package/dist/excalidraw/actions/actionToggleViewMode.d.ts +4 -4
- package/dist/excalidraw/actions/actionToggleZenMode.d.ts +4 -4
- package/dist/excalidraw/actions/index.d.ts +1 -1
- package/dist/excalidraw/actions/index.js +1 -1
- package/dist/excalidraw/actions/manager.js +2 -1
- package/dist/excalidraw/align.d.ts +2 -2
- package/dist/excalidraw/align.js +2 -2
- package/dist/excalidraw/animated-trail.d.ts +33 -0
- package/dist/excalidraw/animated-trail.js +96 -0
- package/dist/excalidraw/animation-frame-handler.d.ts +16 -0
- package/dist/excalidraw/animation-frame-handler.js +55 -0
- package/dist/excalidraw/appState.d.ts +1 -1
- package/dist/excalidraw/appState.js +1 -3
- package/dist/excalidraw/clipboard.js +5 -5
- package/dist/excalidraw/components/Actions.d.ts +3 -3
- package/dist/excalidraw/components/Actions.js +18 -7
- package/dist/excalidraw/components/App.d.ts +32 -17
- package/dist/excalidraw/components/App.js +474 -339
- package/dist/excalidraw/components/Button.d.ts +1 -1
- package/dist/excalidraw/components/FilledButton.d.ts +2 -2
- package/dist/excalidraw/components/FilledButton.js +27 -3
- package/dist/excalidraw/components/FollowMode/FollowMode.js +1 -1
- package/dist/excalidraw/components/ImageExportDialog.d.ts +2 -1
- package/dist/excalidraw/components/ImageExportDialog.js +16 -12
- package/dist/excalidraw/components/JSONExportDialog.js +1 -1
- package/dist/excalidraw/components/{LaserTool/LaserPointerButton.d.ts → LaserPointerButton.d.ts} +1 -1
- package/dist/excalidraw/components/{LaserTool/LaserPointerButton.js → LaserPointerButton.js} +2 -2
- package/dist/excalidraw/components/LayerUI.js +3 -3
- package/dist/excalidraw/components/MobileMenu.js +1 -1
- package/dist/excalidraw/components/ProjectName.d.ts +0 -1
- package/dist/excalidraw/components/ProjectName.js +1 -1
- package/dist/excalidraw/components/SVGLayer.d.ts +8 -0
- package/dist/excalidraw/components/SVGLayer.js +20 -0
- package/dist/excalidraw/components/ShareableLinkDialog.js +10 -10
- package/dist/excalidraw/components/Stack.d.ts +2 -2
- package/dist/excalidraw/components/TTDDialog/common.js +10 -1
- package/dist/excalidraw/components/TextField.d.ts +5 -2
- package/dist/excalidraw/components/TextField.js +6 -3
- package/dist/excalidraw/components/Toast.d.ts +3 -2
- package/dist/excalidraw/components/Toast.js +2 -2
- package/dist/excalidraw/components/ToolButton.js +2 -1
- package/dist/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
- package/dist/excalidraw/components/canvases/InteractiveCanvas.js +6 -5
- package/dist/excalidraw/components/canvases/StaticCanvas.d.ts +4 -3
- package/dist/excalidraw/components/canvases/StaticCanvas.js +7 -5
- package/dist/excalidraw/components/dropdownMenu/DropdownMenuContent.js +22 -2
- package/dist/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/excalidraw/components/hyperlink/Hyperlink.d.ts +19 -0
- package/dist/excalidraw/{element → components/hyperlink}/Hyperlink.js +40 -115
- package/dist/excalidraw/components/hyperlink/helpers.d.ts +7 -0
- package/dist/excalidraw/components/hyperlink/helpers.js +49 -0
- package/dist/excalidraw/components/icons.d.ts +2 -1
- package/dist/excalidraw/components/icons.js +2 -1
- package/dist/excalidraw/components/live-collaboration/LiveCollaborationTrigger.js +3 -2
- package/dist/excalidraw/components/main-menu/DefaultItems.js +5 -2
- package/dist/excalidraw/constants.d.ts +8 -0
- package/dist/excalidraw/constants.js +10 -0
- package/dist/excalidraw/data/blob.js +13 -14
- package/dist/excalidraw/data/filesystem.d.ts +1 -1
- package/dist/excalidraw/data/index.d.ts +2 -1
- package/dist/excalidraw/data/index.js +20 -16
- package/dist/excalidraw/data/json.d.ts +1 -1
- package/dist/excalidraw/data/json.js +5 -3
- package/dist/excalidraw/data/resave.d.ts +1 -1
- package/dist/excalidraw/data/resave.js +2 -2
- package/dist/excalidraw/data/restore.js +8 -13
- package/dist/excalidraw/data/transform.js +13 -9
- package/dist/excalidraw/distribute.d.ts +2 -2
- package/dist/excalidraw/distribute.js +2 -2
- package/dist/excalidraw/element/ElementCanvasButtons.d.ts +3 -2
- package/dist/excalidraw/element/ElementCanvasButtons.js +4 -4
- package/dist/excalidraw/element/binding.d.ts +9 -9
- package/dist/excalidraw/element/binding.js +61 -59
- package/dist/excalidraw/element/bounds.d.ts +5 -5
- package/dist/excalidraw/element/bounds.js +29 -32
- package/dist/excalidraw/element/collision.d.ts +11 -11
- package/dist/excalidraw/element/collision.js +49 -46
- package/dist/excalidraw/element/containerCache.d.ts +11 -0
- package/dist/excalidraw/element/containerCache.js +14 -0
- package/dist/excalidraw/element/dragElements.js +10 -19
- package/dist/excalidraw/element/embeddable.d.ts +11 -12
- package/dist/excalidraw/element/embeddable.js +17 -27
- package/dist/excalidraw/element/image.js +1 -2
- package/dist/excalidraw/element/index.d.ts +0 -1
- package/dist/excalidraw/element/index.js +0 -1
- package/dist/excalidraw/element/linearElementEditor.d.ts +35 -35
- package/dist/excalidraw/element/linearElementEditor.js +79 -80
- package/dist/excalidraw/element/newElement.d.ts +4 -6
- package/dist/excalidraw/element/newElement.js +11 -16
- package/dist/excalidraw/element/resizeElements.d.ts +6 -6
- package/dist/excalidraw/element/resizeElements.js +40 -46
- package/dist/excalidraw/element/resizeTest.d.ts +3 -3
- package/dist/excalidraw/element/resizeTest.js +4 -4
- package/dist/excalidraw/element/sizeHelpers.d.ts +2 -2
- package/dist/excalidraw/element/sizeHelpers.js +2 -2
- package/dist/excalidraw/element/textElement.d.ts +18 -20
- package/dist/excalidraw/element/textElement.js +80 -111
- package/dist/excalidraw/element/textWysiwyg.d.ts +1 -6
- package/dist/excalidraw/element/textWysiwyg.js +15 -37
- package/dist/excalidraw/element/transformHandles.d.ts +4 -4
- package/dist/excalidraw/element/transformHandles.js +6 -6
- package/dist/excalidraw/element/typeChecks.js +4 -1
- package/dist/excalidraw/element/types.d.ts +24 -11
- package/dist/excalidraw/emitter.d.ts +5 -9
- package/dist/excalidraw/emitter.js +12 -12
- package/dist/excalidraw/frame.d.ts +26 -20
- package/dist/excalidraw/frame.js +157 -84
- package/dist/excalidraw/groups.d.ts +3 -3
- package/dist/excalidraw/groups.js +11 -3
- package/dist/excalidraw/history.d.ts +1 -1
- package/dist/excalidraw/index.d.ts +7 -3
- package/dist/excalidraw/index.js +14 -5
- package/dist/excalidraw/laser-trails.d.ts +19 -0
- package/dist/excalidraw/laser-trails.js +95 -0
- package/dist/excalidraw/locales/en.json +9 -5
- package/dist/excalidraw/reactUtils.d.ts +14 -0
- package/dist/excalidraw/reactUtils.js +45 -0
- package/dist/excalidraw/renderer/helpers.d.ts +13 -0
- package/dist/excalidraw/renderer/helpers.js +39 -0
- package/dist/excalidraw/renderer/interactiveScene.d.ts +20 -0
- package/dist/excalidraw/renderer/{renderScene.js → interactiveScene.js} +199 -474
- package/dist/excalidraw/renderer/renderElement.d.ts +6 -6
- package/dist/excalidraw/renderer/renderElement.js +54 -366
- package/dist/excalidraw/renderer/staticScene.d.ts +11 -0
- package/dist/excalidraw/renderer/staticScene.js +205 -0
- package/dist/excalidraw/renderer/staticSvgScene.d.ts +5 -0
- package/dist/excalidraw/renderer/staticSvgScene.js +385 -0
- package/dist/excalidraw/scene/Fonts.js +2 -1
- package/dist/excalidraw/scene/Renderer.d.ts +1 -1
- package/dist/excalidraw/scene/Renderer.js +32 -20
- package/dist/excalidraw/scene/Scene.d.ts +10 -9
- package/dist/excalidraw/scene/Scene.js +45 -21
- package/dist/excalidraw/scene/Shape.d.ts +3 -1
- package/dist/excalidraw/scene/Shape.js +7 -5
- package/dist/excalidraw/scene/ShapeCache.d.ts +2 -1
- package/dist/excalidraw/scene/ShapeCache.js +1 -0
- package/dist/excalidraw/scene/comparisons.js +2 -1
- package/dist/excalidraw/scene/export.d.ts +3 -0
- package/dist/excalidraw/scene/export.js +20 -40
- package/dist/excalidraw/scene/index.d.ts +0 -1
- package/dist/excalidraw/scene/index.js +0 -1
- package/dist/excalidraw/scene/scrollbars.d.ts +1 -1
- package/dist/excalidraw/scene/scrollbars.js +1 -1
- package/dist/excalidraw/scene/selection.d.ts +5 -5
- package/dist/excalidraw/scene/selection.js +16 -14
- package/dist/excalidraw/scene/types.d.ts +11 -5
- package/dist/excalidraw/snapping.d.ts +7 -7
- package/dist/excalidraw/snapping.js +21 -20
- package/dist/excalidraw/types.d.ts +11 -12
- package/dist/excalidraw/utility-types.d.ts +5 -0
- package/dist/excalidraw/utils.d.ts +25 -16
- package/dist/excalidraw/utils.js +52 -45
- package/dist/{dev/en-RLIAOBCI.json → prod/en-TDNWCAOT.json} +9 -5
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +45 -45
- package/dist/utils/export.d.ts +0 -6
- package/dist/utils/export.js +0 -6
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/withinBounds.js +2 -1
- package/package.json +4 -4
- package/dist/browser/dev/excalidraw-assets-dev/chunk-2W5GQUR4.js.map +0 -7
- package/dist/browser/dev/excalidraw-assets-dev/chunk-SUHLFFEF.js +0 -53449
- package/dist/browser/dev/excalidraw-assets-dev/chunk-SUHLFFEF.js.map +0 -7
- package/dist/browser/dev/excalidraw-assets-dev/image-NOPDRTTM.css +0 -5797
- package/dist/browser/dev/excalidraw-assets-dev/image-NOPDRTTM.css.map +0 -7
- package/dist/browser/prod/excalidraw-assets/chunk-HE2P7BQ6.js +0 -257
- package/dist/browser/prod/excalidraw-assets/chunk-OWLL6VOG.js +0 -11
- package/dist/browser/prod/excalidraw-assets/en-ERQOR3OC.js +0 -1
- package/dist/browser/prod/excalidraw-assets/image-DZ6B4AID.js +0 -1
- package/dist/browser/prod/excalidraw-assets/image-J2QCCYAR.css +0 -1
- package/dist/excalidraw/components/LaserTool/LaserPathManager.d.ts +0 -28
- package/dist/excalidraw/components/LaserTool/LaserPathManager.js +0 -225
- package/dist/excalidraw/components/LaserTool/LaserTool.d.ts +0 -8
- package/dist/excalidraw/components/LaserTool/LaserTool.js +0 -15
- package/dist/excalidraw/renderer/renderScene.d.ts +0 -25
- package/dist/excalidraw/vite.config.d.mts +0 -2
- package/dist/excalidraw/vite.config.mjs +0 -13
- /package/dist/browser/dev/excalidraw-assets-dev/{en-OC6JWP3X.js.map → en-IOBA4CS2.js.map} +0 -0
- /package/dist/browser/dev/excalidraw-assets-dev/{image-HYNUJ3XL.js.map → image-VKDAL6BQ.js.map} +0 -0
|
@@ -52,7 +52,7 @@ export declare const actionClearCanvas: {
|
|
|
52
52
|
errorMessage: import("react").ReactNode;
|
|
53
53
|
activeEmbeddable: {
|
|
54
54
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
55
|
-
state: "
|
|
55
|
+
state: "hover" | "active";
|
|
56
56
|
} | null;
|
|
57
57
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
58
58
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -92,7 +92,7 @@ export declare const actionClearCanvas: {
|
|
|
92
92
|
scrollY: number;
|
|
93
93
|
cursorButton: "up" | "down";
|
|
94
94
|
scrolledOutside: boolean;
|
|
95
|
-
name: string;
|
|
95
|
+
name: string | null;
|
|
96
96
|
isResizing: boolean;
|
|
97
97
|
isRotating: boolean;
|
|
98
98
|
zoom: Readonly<{
|
|
@@ -112,7 +112,7 @@ export declare const actionClearCanvas: {
|
|
|
112
112
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
113
113
|
} | {
|
|
114
114
|
name: "ttd";
|
|
115
|
-
tab: "
|
|
115
|
+
tab: "text-to-diagram" | "mermaid";
|
|
116
116
|
} | null;
|
|
117
117
|
defaultSidebarDockedPreference: boolean;
|
|
118
118
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -155,7 +155,7 @@ export declare const actionClearCanvas: {
|
|
|
155
155
|
}>>;
|
|
156
156
|
currentChartType: import("../element/types").ChartType;
|
|
157
157
|
pendingImageElementId: string | null;
|
|
158
|
-
showHyperlinkPopup: false | "
|
|
158
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
159
159
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
160
160
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
161
161
|
originSnapOffset: {
|
|
@@ -195,7 +195,7 @@ export declare const actionZoomIn: {
|
|
|
195
195
|
errorMessage: import("react").ReactNode;
|
|
196
196
|
activeEmbeddable: {
|
|
197
197
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
198
|
-
state: "
|
|
198
|
+
state: "hover" | "active";
|
|
199
199
|
} | null;
|
|
200
200
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
201
201
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -241,7 +241,7 @@ export declare const actionZoomIn: {
|
|
|
241
241
|
viewBackgroundColor: string;
|
|
242
242
|
cursorButton: "up" | "down";
|
|
243
243
|
scrolledOutside: boolean;
|
|
244
|
-
name: string;
|
|
244
|
+
name: string | null;
|
|
245
245
|
isResizing: boolean;
|
|
246
246
|
isRotating: boolean;
|
|
247
247
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -258,7 +258,7 @@ export declare const actionZoomIn: {
|
|
|
258
258
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
259
259
|
} | {
|
|
260
260
|
name: "ttd";
|
|
261
|
-
tab: "
|
|
261
|
+
tab: "text-to-diagram" | "mermaid";
|
|
262
262
|
} | null;
|
|
263
263
|
defaultSidebarDockedPreference: boolean;
|
|
264
264
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -315,7 +315,7 @@ export declare const actionZoomIn: {
|
|
|
315
315
|
data: import("../charts").Spreadsheet;
|
|
316
316
|
};
|
|
317
317
|
pendingImageElementId: string | null;
|
|
318
|
-
showHyperlinkPopup: false | "
|
|
318
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
319
319
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
320
320
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
321
321
|
originSnapOffset: {
|
|
@@ -356,7 +356,7 @@ export declare const actionZoomOut: {
|
|
|
356
356
|
errorMessage: import("react").ReactNode;
|
|
357
357
|
activeEmbeddable: {
|
|
358
358
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
359
|
-
state: "
|
|
359
|
+
state: "hover" | "active";
|
|
360
360
|
} | null;
|
|
361
361
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
362
362
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -402,7 +402,7 @@ export declare const actionZoomOut: {
|
|
|
402
402
|
viewBackgroundColor: string;
|
|
403
403
|
cursorButton: "up" | "down";
|
|
404
404
|
scrolledOutside: boolean;
|
|
405
|
-
name: string;
|
|
405
|
+
name: string | null;
|
|
406
406
|
isResizing: boolean;
|
|
407
407
|
isRotating: boolean;
|
|
408
408
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -419,7 +419,7 @@ export declare const actionZoomOut: {
|
|
|
419
419
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
420
420
|
} | {
|
|
421
421
|
name: "ttd";
|
|
422
|
-
tab: "
|
|
422
|
+
tab: "text-to-diagram" | "mermaid";
|
|
423
423
|
} | null;
|
|
424
424
|
defaultSidebarDockedPreference: boolean;
|
|
425
425
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -476,7 +476,7 @@ export declare const actionZoomOut: {
|
|
|
476
476
|
data: import("../charts").Spreadsheet;
|
|
477
477
|
};
|
|
478
478
|
pendingImageElementId: string | null;
|
|
479
|
-
showHyperlinkPopup: false | "
|
|
479
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
480
480
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
481
481
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
482
482
|
originSnapOffset: {
|
|
@@ -517,7 +517,7 @@ export declare const actionResetZoom: {
|
|
|
517
517
|
errorMessage: import("react").ReactNode;
|
|
518
518
|
activeEmbeddable: {
|
|
519
519
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
520
|
-
state: "
|
|
520
|
+
state: "hover" | "active";
|
|
521
521
|
} | null;
|
|
522
522
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
523
523
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -563,7 +563,7 @@ export declare const actionResetZoom: {
|
|
|
563
563
|
viewBackgroundColor: string;
|
|
564
564
|
cursorButton: "up" | "down";
|
|
565
565
|
scrolledOutside: boolean;
|
|
566
|
-
name: string;
|
|
566
|
+
name: string | null;
|
|
567
567
|
isResizing: boolean;
|
|
568
568
|
isRotating: boolean;
|
|
569
569
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -580,7 +580,7 @@ export declare const actionResetZoom: {
|
|
|
580
580
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
581
581
|
} | {
|
|
582
582
|
name: "ttd";
|
|
583
|
-
tab: "
|
|
583
|
+
tab: "text-to-diagram" | "mermaid";
|
|
584
584
|
} | null;
|
|
585
585
|
defaultSidebarDockedPreference: boolean;
|
|
586
586
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -637,7 +637,7 @@ export declare const actionResetZoom: {
|
|
|
637
637
|
data: import("../charts").Spreadsheet;
|
|
638
638
|
};
|
|
639
639
|
pendingImageElementId: string | null;
|
|
640
|
-
showHyperlinkPopup: false | "
|
|
640
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
641
641
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
642
642
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
643
643
|
originSnapOffset: {
|
|
@@ -678,7 +678,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, fitToViewport, viewpo
|
|
|
678
678
|
errorMessage: import("react").ReactNode;
|
|
679
679
|
activeEmbeddable: {
|
|
680
680
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
681
|
-
state: "
|
|
681
|
+
state: "hover" | "active";
|
|
682
682
|
} | null;
|
|
683
683
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
684
684
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -724,7 +724,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, fitToViewport, viewpo
|
|
|
724
724
|
viewBackgroundColor: string;
|
|
725
725
|
cursorButton: "up" | "down";
|
|
726
726
|
scrolledOutside: boolean;
|
|
727
|
-
name: string;
|
|
727
|
+
name: string | null;
|
|
728
728
|
isResizing: boolean;
|
|
729
729
|
isRotating: boolean;
|
|
730
730
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -741,7 +741,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, fitToViewport, viewpo
|
|
|
741
741
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
742
742
|
} | {
|
|
743
743
|
name: "ttd";
|
|
744
|
-
tab: "
|
|
744
|
+
tab: "text-to-diagram" | "mermaid";
|
|
745
745
|
} | null;
|
|
746
746
|
defaultSidebarDockedPreference: boolean;
|
|
747
747
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -798,7 +798,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, fitToViewport, viewpo
|
|
|
798
798
|
data: import("../charts").Spreadsheet;
|
|
799
799
|
};
|
|
800
800
|
pendingImageElementId: string | null;
|
|
801
|
-
showHyperlinkPopup: false | "
|
|
801
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
802
802
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
803
803
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
804
804
|
originSnapOffset: {
|
|
@@ -835,7 +835,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
835
835
|
errorMessage: import("react").ReactNode;
|
|
836
836
|
activeEmbeddable: {
|
|
837
837
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
838
|
-
state: "
|
|
838
|
+
state: "hover" | "active";
|
|
839
839
|
} | null;
|
|
840
840
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
841
841
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -881,7 +881,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
881
881
|
viewBackgroundColor: string;
|
|
882
882
|
cursorButton: "up" | "down";
|
|
883
883
|
scrolledOutside: boolean;
|
|
884
|
-
name: string;
|
|
884
|
+
name: string | null;
|
|
885
885
|
isResizing: boolean;
|
|
886
886
|
isRotating: boolean;
|
|
887
887
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -898,7 +898,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
898
898
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
899
899
|
} | {
|
|
900
900
|
name: "ttd";
|
|
901
|
-
tab: "
|
|
901
|
+
tab: "text-to-diagram" | "mermaid";
|
|
902
902
|
} | null;
|
|
903
903
|
defaultSidebarDockedPreference: boolean;
|
|
904
904
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -955,7 +955,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
955
955
|
data: import("../charts").Spreadsheet;
|
|
956
956
|
};
|
|
957
957
|
pendingImageElementId: string | null;
|
|
958
|
-
showHyperlinkPopup: false | "
|
|
958
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
959
959
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
960
960
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
961
961
|
originSnapOffset: {
|
|
@@ -990,7 +990,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
990
990
|
errorMessage: import("react").ReactNode;
|
|
991
991
|
activeEmbeddable: {
|
|
992
992
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
993
|
-
state: "
|
|
993
|
+
state: "hover" | "active";
|
|
994
994
|
} | null;
|
|
995
995
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
996
996
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1036,7 +1036,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1036
1036
|
viewBackgroundColor: string;
|
|
1037
1037
|
cursorButton: "up" | "down";
|
|
1038
1038
|
scrolledOutside: boolean;
|
|
1039
|
-
name: string;
|
|
1039
|
+
name: string | null;
|
|
1040
1040
|
isResizing: boolean;
|
|
1041
1041
|
isRotating: boolean;
|
|
1042
1042
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -1053,7 +1053,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1053
1053
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
1054
1054
|
} | {
|
|
1055
1055
|
name: "ttd";
|
|
1056
|
-
tab: "
|
|
1056
|
+
tab: "text-to-diagram" | "mermaid";
|
|
1057
1057
|
} | null;
|
|
1058
1058
|
defaultSidebarDockedPreference: boolean;
|
|
1059
1059
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -1110,7 +1110,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1110
1110
|
data: import("../charts").Spreadsheet;
|
|
1111
1111
|
};
|
|
1112
1112
|
pendingImageElementId: string | null;
|
|
1113
|
-
showHyperlinkPopup: false | "
|
|
1113
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1114
1114
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1115
1115
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1116
1116
|
originSnapOffset: {
|
|
@@ -1149,7 +1149,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1149
1149
|
errorMessage: import("react").ReactNode;
|
|
1150
1150
|
activeEmbeddable: {
|
|
1151
1151
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1152
|
-
state: "
|
|
1152
|
+
state: "hover" | "active";
|
|
1153
1153
|
} | null;
|
|
1154
1154
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1155
1155
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1195,7 +1195,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1195
1195
|
viewBackgroundColor: string;
|
|
1196
1196
|
cursorButton: "up" | "down";
|
|
1197
1197
|
scrolledOutside: boolean;
|
|
1198
|
-
name: string;
|
|
1198
|
+
name: string | null;
|
|
1199
1199
|
isResizing: boolean;
|
|
1200
1200
|
isRotating: boolean;
|
|
1201
1201
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -1212,7 +1212,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1212
1212
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
1213
1213
|
} | {
|
|
1214
1214
|
name: "ttd";
|
|
1215
|
-
tab: "
|
|
1215
|
+
tab: "text-to-diagram" | "mermaid";
|
|
1216
1216
|
} | null;
|
|
1217
1217
|
defaultSidebarDockedPreference: boolean;
|
|
1218
1218
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -1269,7 +1269,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1269
1269
|
data: import("../charts").Spreadsheet;
|
|
1270
1270
|
};
|
|
1271
1271
|
pendingImageElementId: string | null;
|
|
1272
|
-
showHyperlinkPopup: false | "
|
|
1272
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1273
1273
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1274
1274
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1275
1275
|
originSnapOffset: {
|
|
@@ -1309,7 +1309,7 @@ export declare const actionZoomToFit: {
|
|
|
1309
1309
|
errorMessage: import("react").ReactNode;
|
|
1310
1310
|
activeEmbeddable: {
|
|
1311
1311
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1312
|
-
state: "
|
|
1312
|
+
state: "hover" | "active";
|
|
1313
1313
|
} | null;
|
|
1314
1314
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1315
1315
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1355,7 +1355,7 @@ export declare const actionZoomToFit: {
|
|
|
1355
1355
|
viewBackgroundColor: string;
|
|
1356
1356
|
cursorButton: "up" | "down";
|
|
1357
1357
|
scrolledOutside: boolean;
|
|
1358
|
-
name: string;
|
|
1358
|
+
name: string | null;
|
|
1359
1359
|
isResizing: boolean;
|
|
1360
1360
|
isRotating: boolean;
|
|
1361
1361
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -1372,7 +1372,7 @@ export declare const actionZoomToFit: {
|
|
|
1372
1372
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
1373
1373
|
} | {
|
|
1374
1374
|
name: "ttd";
|
|
1375
|
-
tab: "
|
|
1375
|
+
tab: "text-to-diagram" | "mermaid";
|
|
1376
1376
|
} | null;
|
|
1377
1377
|
defaultSidebarDockedPreference: boolean;
|
|
1378
1378
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -1429,7 +1429,7 @@ export declare const actionZoomToFit: {
|
|
|
1429
1429
|
data: import("../charts").Spreadsheet;
|
|
1430
1430
|
};
|
|
1431
1431
|
pendingImageElementId: string | null;
|
|
1432
|
-
showHyperlinkPopup: false | "
|
|
1432
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1433
1433
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1434
1434
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1435
1435
|
originSnapOffset: {
|
|
@@ -1465,7 +1465,7 @@ export declare const actionToggleTheme: {
|
|
|
1465
1465
|
errorMessage: import("react").ReactNode;
|
|
1466
1466
|
activeEmbeddable: {
|
|
1467
1467
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1468
|
-
state: "
|
|
1468
|
+
state: "hover" | "active";
|
|
1469
1469
|
} | null;
|
|
1470
1470
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1471
1471
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1513,7 +1513,7 @@ export declare const actionToggleTheme: {
|
|
|
1513
1513
|
scrollY: number;
|
|
1514
1514
|
cursorButton: "up" | "down";
|
|
1515
1515
|
scrolledOutside: boolean;
|
|
1516
|
-
name: string;
|
|
1516
|
+
name: string | null;
|
|
1517
1517
|
isResizing: boolean;
|
|
1518
1518
|
isRotating: boolean;
|
|
1519
1519
|
zoom: Readonly<{
|
|
@@ -1533,7 +1533,7 @@ export declare const actionToggleTheme: {
|
|
|
1533
1533
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
1534
1534
|
} | {
|
|
1535
1535
|
name: "ttd";
|
|
1536
|
-
tab: "
|
|
1536
|
+
tab: "text-to-diagram" | "mermaid";
|
|
1537
1537
|
} | null;
|
|
1538
1538
|
defaultSidebarDockedPreference: boolean;
|
|
1539
1539
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -1589,7 +1589,7 @@ export declare const actionToggleTheme: {
|
|
|
1589
1589
|
data: import("../charts").Spreadsheet;
|
|
1590
1590
|
};
|
|
1591
1591
|
pendingImageElementId: string | null;
|
|
1592
|
-
showHyperlinkPopup: false | "
|
|
1592
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1593
1593
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1594
1594
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1595
1595
|
originSnapOffset: {
|
|
@@ -1671,7 +1671,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1671
1671
|
scrollY: number;
|
|
1672
1672
|
cursorButton: "up" | "down";
|
|
1673
1673
|
scrolledOutside: boolean;
|
|
1674
|
-
name: string;
|
|
1674
|
+
name: string | null;
|
|
1675
1675
|
isResizing: boolean;
|
|
1676
1676
|
isRotating: boolean;
|
|
1677
1677
|
zoom: Readonly<{
|
|
@@ -1691,7 +1691,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1691
1691
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
1692
1692
|
} | {
|
|
1693
1693
|
name: "ttd";
|
|
1694
|
-
tab: "
|
|
1694
|
+
tab: "text-to-diagram" | "mermaid";
|
|
1695
1695
|
} | null;
|
|
1696
1696
|
defaultSidebarDockedPreference: boolean;
|
|
1697
1697
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -1742,7 +1742,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1742
1742
|
data: import("../charts").Spreadsheet;
|
|
1743
1743
|
};
|
|
1744
1744
|
pendingImageElementId: string | null;
|
|
1745
|
-
showHyperlinkPopup: false | "
|
|
1745
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1746
1746
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1747
1747
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1748
1748
|
originSnapOffset: {
|
|
@@ -1823,7 +1823,7 @@ export declare const actionToggleHandTool: {
|
|
|
1823
1823
|
scrollY: number;
|
|
1824
1824
|
cursorButton: "up" | "down";
|
|
1825
1825
|
scrolledOutside: boolean;
|
|
1826
|
-
name: string;
|
|
1826
|
+
name: string | null;
|
|
1827
1827
|
isResizing: boolean;
|
|
1828
1828
|
isRotating: boolean;
|
|
1829
1829
|
zoom: Readonly<{
|
|
@@ -1843,7 +1843,7 @@ export declare const actionToggleHandTool: {
|
|
|
1843
1843
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
1844
1844
|
} | {
|
|
1845
1845
|
name: "ttd";
|
|
1846
|
-
tab: "
|
|
1846
|
+
tab: "text-to-diagram" | "mermaid";
|
|
1847
1847
|
} | null;
|
|
1848
1848
|
defaultSidebarDockedPreference: boolean;
|
|
1849
1849
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -1894,7 +1894,7 @@ export declare const actionToggleHandTool: {
|
|
|
1894
1894
|
data: import("../charts").Spreadsheet;
|
|
1895
1895
|
};
|
|
1896
1896
|
pendingImageElementId: string | null;
|
|
1897
|
-
showHyperlinkPopup: false | "
|
|
1897
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1898
1898
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1899
1899
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1900
1900
|
originSnapOffset: {
|
|
@@ -17,7 +17,7 @@ export declare const actionCopy: {
|
|
|
17
17
|
isLoading: boolean;
|
|
18
18
|
activeEmbeddable: {
|
|
19
19
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
20
|
-
state: "
|
|
20
|
+
state: "hover" | "active";
|
|
21
21
|
} | null;
|
|
22
22
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
23
23
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -65,7 +65,7 @@ export declare const actionCopy: {
|
|
|
65
65
|
scrollY: number;
|
|
66
66
|
cursorButton: "up" | "down";
|
|
67
67
|
scrolledOutside: boolean;
|
|
68
|
-
name: string;
|
|
68
|
+
name: string | null;
|
|
69
69
|
isResizing: boolean;
|
|
70
70
|
isRotating: boolean;
|
|
71
71
|
zoom: Readonly<{
|
|
@@ -85,7 +85,7 @@ export declare const actionCopy: {
|
|
|
85
85
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
86
86
|
} | {
|
|
87
87
|
name: "ttd";
|
|
88
|
-
tab: "
|
|
88
|
+
tab: "text-to-diagram" | "mermaid";
|
|
89
89
|
} | null;
|
|
90
90
|
defaultSidebarDockedPreference: boolean;
|
|
91
91
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -142,7 +142,7 @@ export declare const actionCopy: {
|
|
|
142
142
|
data: import("../charts").Spreadsheet;
|
|
143
143
|
};
|
|
144
144
|
pendingImageElementId: string | null;
|
|
145
|
-
showHyperlinkPopup: false | "
|
|
145
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
146
146
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
147
147
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
148
148
|
originSnapOffset: {
|
|
@@ -180,7 +180,7 @@ export declare const actionPaste: {
|
|
|
180
180
|
isLoading: boolean;
|
|
181
181
|
activeEmbeddable: {
|
|
182
182
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
183
|
-
state: "
|
|
183
|
+
state: "hover" | "active";
|
|
184
184
|
} | null;
|
|
185
185
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
186
186
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -228,7 +228,7 @@ export declare const actionPaste: {
|
|
|
228
228
|
scrollY: number;
|
|
229
229
|
cursorButton: "up" | "down";
|
|
230
230
|
scrolledOutside: boolean;
|
|
231
|
-
name: string;
|
|
231
|
+
name: string | null;
|
|
232
232
|
isResizing: boolean;
|
|
233
233
|
isRotating: boolean;
|
|
234
234
|
zoom: Readonly<{
|
|
@@ -248,7 +248,7 @@ export declare const actionPaste: {
|
|
|
248
248
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
249
249
|
} | {
|
|
250
250
|
name: "ttd";
|
|
251
|
-
tab: "
|
|
251
|
+
tab: "text-to-diagram" | "mermaid";
|
|
252
252
|
} | null;
|
|
253
253
|
defaultSidebarDockedPreference: boolean;
|
|
254
254
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -305,7 +305,7 @@ export declare const actionPaste: {
|
|
|
305
305
|
data: import("../charts").Spreadsheet;
|
|
306
306
|
};
|
|
307
307
|
pendingImageElementId: string | null;
|
|
308
|
-
showHyperlinkPopup: false | "
|
|
308
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
309
309
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
310
310
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
311
311
|
originSnapOffset: {
|
|
@@ -344,7 +344,7 @@ export declare const actionCut: {
|
|
|
344
344
|
errorMessage: import("react").ReactNode;
|
|
345
345
|
activeEmbeddable: {
|
|
346
346
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
347
|
-
state: "
|
|
347
|
+
state: "hover" | "active";
|
|
348
348
|
} | null;
|
|
349
349
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
350
350
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -391,7 +391,7 @@ export declare const actionCut: {
|
|
|
391
391
|
scrollY: number;
|
|
392
392
|
cursorButton: "up" | "down";
|
|
393
393
|
scrolledOutside: boolean;
|
|
394
|
-
name: string;
|
|
394
|
+
name: string | null;
|
|
395
395
|
isResizing: boolean;
|
|
396
396
|
isRotating: boolean;
|
|
397
397
|
zoom: Readonly<{
|
|
@@ -411,7 +411,7 @@ export declare const actionCut: {
|
|
|
411
411
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
412
412
|
} | {
|
|
413
413
|
name: "ttd";
|
|
414
|
-
tab: "
|
|
414
|
+
tab: "text-to-diagram" | "mermaid";
|
|
415
415
|
} | null;
|
|
416
416
|
defaultSidebarDockedPreference: boolean;
|
|
417
417
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -468,7 +468,7 @@ export declare const actionCut: {
|
|
|
468
468
|
data: import("../charts").Spreadsheet;
|
|
469
469
|
};
|
|
470
470
|
pendingImageElementId: string | null;
|
|
471
|
-
showHyperlinkPopup: false | "
|
|
471
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
472
472
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
473
473
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
474
474
|
originSnapOffset: {
|
|
@@ -522,7 +522,7 @@ export declare const actionCut: {
|
|
|
522
522
|
errorMessage: import("react").ReactNode;
|
|
523
523
|
activeEmbeddable: {
|
|
524
524
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
525
|
-
state: "
|
|
525
|
+
state: "hover" | "active";
|
|
526
526
|
} | null;
|
|
527
527
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
528
528
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -569,7 +569,7 @@ export declare const actionCut: {
|
|
|
569
569
|
scrollY: number;
|
|
570
570
|
cursorButton: "up" | "down";
|
|
571
571
|
scrolledOutside: boolean;
|
|
572
|
-
name: string;
|
|
572
|
+
name: string | null;
|
|
573
573
|
isResizing: boolean;
|
|
574
574
|
isRotating: boolean;
|
|
575
575
|
zoom: Readonly<{
|
|
@@ -589,7 +589,7 @@ export declare const actionCut: {
|
|
|
589
589
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
590
590
|
} | {
|
|
591
591
|
name: "ttd";
|
|
592
|
-
tab: "
|
|
592
|
+
tab: "text-to-diagram" | "mermaid";
|
|
593
593
|
} | null;
|
|
594
594
|
defaultSidebarDockedPreference: boolean;
|
|
595
595
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -646,7 +646,7 @@ export declare const actionCut: {
|
|
|
646
646
|
data: import("../charts").Spreadsheet;
|
|
647
647
|
};
|
|
648
648
|
pendingImageElementId: string | null;
|
|
649
|
-
showHyperlinkPopup: false | "
|
|
649
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
650
650
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
651
651
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
652
652
|
originSnapOffset: {
|
|
@@ -718,7 +718,7 @@ export declare const actionCut: {
|
|
|
718
718
|
scrollY: number;
|
|
719
719
|
cursorButton: "up" | "down";
|
|
720
720
|
scrolledOutside: boolean;
|
|
721
|
-
name: string;
|
|
721
|
+
name: string | null;
|
|
722
722
|
isResizing: boolean;
|
|
723
723
|
isRotating: boolean;
|
|
724
724
|
zoom: Readonly<{
|
|
@@ -738,7 +738,7 @@ export declare const actionCut: {
|
|
|
738
738
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
739
739
|
} | {
|
|
740
740
|
name: "ttd";
|
|
741
|
-
tab: "
|
|
741
|
+
tab: "text-to-diagram" | "mermaid";
|
|
742
742
|
} | null;
|
|
743
743
|
defaultSidebarDockedPreference: boolean;
|
|
744
744
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -789,7 +789,7 @@ export declare const actionCut: {
|
|
|
789
789
|
data: import("../charts").Spreadsheet;
|
|
790
790
|
};
|
|
791
791
|
pendingImageElementId: string | null;
|
|
792
|
-
showHyperlinkPopup: false | "
|
|
792
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
793
793
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
794
794
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
795
795
|
originSnapOffset: {
|
|
@@ -827,7 +827,7 @@ export declare const actionCopyAsSvg: {
|
|
|
827
827
|
isLoading: boolean;
|
|
828
828
|
activeEmbeddable: {
|
|
829
829
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
830
|
-
state: "
|
|
830
|
+
state: "hover" | "active";
|
|
831
831
|
} | null;
|
|
832
832
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
833
833
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -875,7 +875,7 @@ export declare const actionCopyAsSvg: {
|
|
|
875
875
|
scrollY: number;
|
|
876
876
|
cursorButton: "up" | "down";
|
|
877
877
|
scrolledOutside: boolean;
|
|
878
|
-
name: string;
|
|
878
|
+
name: string | null;
|
|
879
879
|
isResizing: boolean;
|
|
880
880
|
isRotating: boolean;
|
|
881
881
|
zoom: Readonly<{
|
|
@@ -895,7 +895,7 @@ export declare const actionCopyAsSvg: {
|
|
|
895
895
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
896
896
|
} | {
|
|
897
897
|
name: "ttd";
|
|
898
|
-
tab: "
|
|
898
|
+
tab: "text-to-diagram" | "mermaid";
|
|
899
899
|
} | null;
|
|
900
900
|
defaultSidebarDockedPreference: boolean;
|
|
901
901
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -952,7 +952,7 @@ export declare const actionCopyAsSvg: {
|
|
|
952
952
|
data: import("../charts").Spreadsheet;
|
|
953
953
|
};
|
|
954
954
|
pendingImageElementId: string | null;
|
|
955
|
-
showHyperlinkPopup: false | "
|
|
955
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
956
956
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
957
957
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
958
958
|
originSnapOffset: {
|
|
@@ -990,7 +990,7 @@ export declare const actionCopyAsPng: {
|
|
|
990
990
|
isLoading: boolean;
|
|
991
991
|
activeEmbeddable: {
|
|
992
992
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
993
|
-
state: "
|
|
993
|
+
state: "hover" | "active";
|
|
994
994
|
} | null;
|
|
995
995
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
996
996
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1038,7 +1038,7 @@ export declare const actionCopyAsPng: {
|
|
|
1038
1038
|
scrollY: number;
|
|
1039
1039
|
cursorButton: "up" | "down";
|
|
1040
1040
|
scrolledOutside: boolean;
|
|
1041
|
-
name: string;
|
|
1041
|
+
name: string | null;
|
|
1042
1042
|
isResizing: boolean;
|
|
1043
1043
|
isRotating: boolean;
|
|
1044
1044
|
zoom: Readonly<{
|
|
@@ -1058,7 +1058,7 @@ export declare const actionCopyAsPng: {
|
|
|
1058
1058
|
tab: "text-to-diagram" | "diagram-to-code";
|
|
1059
1059
|
} | {
|
|
1060
1060
|
name: "ttd";
|
|
1061
|
-
tab: "
|
|
1061
|
+
tab: "text-to-diagram" | "mermaid";
|
|
1062
1062
|
} | null;
|
|
1063
1063
|
defaultSidebarDockedPreference: boolean;
|
|
1064
1064
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -1115,7 +1115,7 @@ export declare const actionCopyAsPng: {
|
|
|
1115
1115
|
data: import("../charts").Spreadsheet;
|
|
1116
1116
|
};
|
|
1117
1117
|
pendingImageElementId: string | null;
|
|
1118
|
-
showHyperlinkPopup: false | "
|
|
1118
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1119
1119
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1120
1120
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1121
1121
|
originSnapOffset: {
|