@zsviczian/excalidraw 0.17.1-obsidian-15 → 0.17.1-obsidian-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/excalidraw.development.js +106 -84
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/styles.development.css +405 -357
- package/dist/styles.production.css +12 -12
- package/package.json +1 -1
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +6 -6
- package/types/excalidraw/actions/actionBoundText.d.ts +4 -4
- package/types/excalidraw/actions/actionCanvas.d.ts +28 -28
- package/types/excalidraw/actions/actionClipboard.d.ts +14 -14
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +7 -7
- package/types/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
- package/types/excalidraw/actions/actionElementLock.d.ts +4 -4
- package/types/excalidraw/actions/actionExport.d.ts +18 -18
- package/types/excalidraw/actions/actionFinalize.d.ts +4 -4
- package/types/excalidraw/actions/actionFrame.d.ts +6 -6
- package/types/excalidraw/actions/actionGroup.d.ts +4 -4
- package/types/excalidraw/actions/actionLinearEditor.d.ts +2 -2
- package/types/excalidraw/actions/actionLink.d.ts +197 -0
- package/types/excalidraw/actions/actionMenu.d.ts +6 -6
- package/types/excalidraw/actions/actionNavigate.d.ts +4 -4
- package/types/excalidraw/actions/actionProperties.d.ts +26 -26
- package/types/excalidraw/actions/actionSelectAll.d.ts +2 -2
- package/types/excalidraw/actions/actionStyles.d.ts +2 -2
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +2 -2
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +2 -2
- package/types/excalidraw/actions/actionToggleStats.d.ts +2 -2
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +2 -2
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +2 -2
- package/types/excalidraw/actions/index.d.ts +1 -1
- package/types/excalidraw/appState.d.ts +1 -1
- package/types/excalidraw/components/App.d.ts +3 -0
- package/types/excalidraw/components/Button.d.ts +1 -0
- package/types/excalidraw/components/FilledButton.d.ts +2 -2
- package/types/excalidraw/components/ImageExportDialog.d.ts +2 -1
- package/types/excalidraw/components/ProjectName.d.ts +0 -1
- package/types/excalidraw/components/TextField.d.ts +5 -2
- package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +18 -0
- package/types/excalidraw/components/hyperlink/helpers.d.ts +7 -0
- package/types/excalidraw/constants.d.ts +5 -0
- package/types/excalidraw/data/filesystem.d.ts +1 -1
- package/types/excalidraw/data/index.d.ts +2 -1
- package/types/excalidraw/data/json.d.ts +1 -1
- package/types/excalidraw/data/resave.d.ts +1 -1
- package/types/excalidraw/element/ElementCanvasButtons.d.ts +3 -2
- package/types/excalidraw/element/binding.d.ts +9 -9
- package/types/excalidraw/element/bounds.d.ts +6 -6
- package/types/excalidraw/element/collision.d.ts +8 -8
- package/types/excalidraw/element/embeddable.d.ts +2 -2
- package/types/excalidraw/element/linearElementEditor.d.ts +30 -30
- package/types/excalidraw/element/newElement.d.ts +4 -4
- package/types/excalidraw/element/resizeElements.d.ts +1 -1
- package/types/excalidraw/element/resizeTest.d.ts +3 -3
- package/types/excalidraw/element/sizeHelpers.d.ts +2 -2
- package/types/excalidraw/element/textElement.d.ts +5 -5
- package/types/excalidraw/element/transformHandles.d.ts +2 -2
- package/types/excalidraw/frame.d.ts +11 -11
- package/types/excalidraw/history.d.ts +1 -1
- package/types/excalidraw/obsidianUtils.d.ts +1 -0
- package/types/excalidraw/scene/Scene.d.ts +2 -7
- package/types/excalidraw/scene/scrollbars.d.ts +3 -2
- package/types/excalidraw/scene/selection.d.ts +3 -3
- package/types/excalidraw/snapping.d.ts +7 -7
- package/types/excalidraw/types.d.ts +5 -3
package/package.json
CHANGED
|
@@ -67,7 +67,7 @@ export declare const actionAddToLibrary: {
|
|
|
67
67
|
scrollY: number;
|
|
68
68
|
cursorButton: "up" | "down";
|
|
69
69
|
scrolledOutside: boolean;
|
|
70
|
-
name: string;
|
|
70
|
+
name: string | null;
|
|
71
71
|
isResizing: boolean;
|
|
72
72
|
isRotating: boolean;
|
|
73
73
|
zoom: Readonly<{
|
|
@@ -140,7 +140,7 @@ export declare const actionAddToLibrary: {
|
|
|
140
140
|
data: import("../charts").Spreadsheet;
|
|
141
141
|
};
|
|
142
142
|
pendingImageElementId: string | null;
|
|
143
|
-
showHyperlinkPopup: false | "
|
|
143
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
144
144
|
linkOpacity: number;
|
|
145
145
|
trayModeEnabled: boolean;
|
|
146
146
|
colorPalette?: {
|
|
@@ -244,7 +244,7 @@ export declare const actionAddToLibrary: {
|
|
|
244
244
|
scrollY: number;
|
|
245
245
|
cursorButton: "up" | "down";
|
|
246
246
|
scrolledOutside: boolean;
|
|
247
|
-
name: string;
|
|
247
|
+
name: string | null;
|
|
248
248
|
isResizing: boolean;
|
|
249
249
|
isRotating: boolean;
|
|
250
250
|
zoom: Readonly<{
|
|
@@ -322,7 +322,7 @@ export declare const actionAddToLibrary: {
|
|
|
322
322
|
data: import("../charts").Spreadsheet;
|
|
323
323
|
};
|
|
324
324
|
pendingImageElementId: string | null;
|
|
325
|
-
showHyperlinkPopup: false | "
|
|
325
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
326
326
|
linkOpacity: number;
|
|
327
327
|
trayModeEnabled: boolean;
|
|
328
328
|
colorPalette?: {
|
|
@@ -426,7 +426,7 @@ export declare const actionAddToLibrary: {
|
|
|
426
426
|
scrollY: number;
|
|
427
427
|
cursorButton: "up" | "down";
|
|
428
428
|
scrolledOutside: boolean;
|
|
429
|
-
name: string;
|
|
429
|
+
name: string | null;
|
|
430
430
|
isResizing: boolean;
|
|
431
431
|
isRotating: boolean;
|
|
432
432
|
zoom: Readonly<{
|
|
@@ -504,7 +504,7 @@ export declare const actionAddToLibrary: {
|
|
|
504
504
|
data: import("../charts").Spreadsheet;
|
|
505
505
|
};
|
|
506
506
|
pendingImageElementId: string | null;
|
|
507
|
-
showHyperlinkPopup: false | "
|
|
507
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
508
508
|
linkOpacity: number;
|
|
509
509
|
trayModeEnabled: boolean;
|
|
510
510
|
colorPalette?: {
|
|
@@ -87,7 +87,7 @@ export declare const actionBindText: {
|
|
|
87
87
|
scrollY: number;
|
|
88
88
|
cursorButton: "up" | "down";
|
|
89
89
|
scrolledOutside: boolean;
|
|
90
|
-
name: string;
|
|
90
|
+
name: string | null;
|
|
91
91
|
isResizing: boolean;
|
|
92
92
|
isRotating: boolean;
|
|
93
93
|
zoom: Readonly<{
|
|
@@ -162,7 +162,7 @@ export declare const actionBindText: {
|
|
|
162
162
|
data: import("../charts").Spreadsheet;
|
|
163
163
|
};
|
|
164
164
|
pendingImageElementId: string | null;
|
|
165
|
-
showHyperlinkPopup: false | "
|
|
165
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
166
166
|
linkOpacity: number;
|
|
167
167
|
trayModeEnabled: boolean;
|
|
168
168
|
colorPalette?: {
|
|
@@ -281,7 +281,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
281
281
|
scrollY: number;
|
|
282
282
|
cursorButton: "up" | "down";
|
|
283
283
|
scrolledOutside: boolean;
|
|
284
|
-
name: string;
|
|
284
|
+
name: string | null;
|
|
285
285
|
isResizing: boolean;
|
|
286
286
|
isRotating: boolean;
|
|
287
287
|
zoom: Readonly<{
|
|
@@ -356,7 +356,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
356
356
|
data: import("../charts").Spreadsheet;
|
|
357
357
|
};
|
|
358
358
|
pendingImageElementId: string | null;
|
|
359
|
-
showHyperlinkPopup: false | "
|
|
359
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
360
360
|
linkOpacity: number;
|
|
361
361
|
trayModeEnabled: boolean;
|
|
362
362
|
colorPalette?: {
|
|
@@ -106,7 +106,7 @@ export declare const actionClearCanvas: {
|
|
|
106
106
|
scrollY: number;
|
|
107
107
|
cursorButton: "up" | "down";
|
|
108
108
|
scrolledOutside: boolean;
|
|
109
|
-
name: string;
|
|
109
|
+
name: string | null;
|
|
110
110
|
isResizing: boolean;
|
|
111
111
|
isRotating: boolean;
|
|
112
112
|
zoom: Readonly<{
|
|
@@ -170,7 +170,7 @@ export declare const actionClearCanvas: {
|
|
|
170
170
|
}>>;
|
|
171
171
|
currentChartType: import("../element/types").ChartType;
|
|
172
172
|
pendingImageElementId: string | null;
|
|
173
|
-
showHyperlinkPopup: false | "
|
|
173
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
174
174
|
linkOpacity: number;
|
|
175
175
|
currentStrokeOptions?: any;
|
|
176
176
|
resetCustomPen?: any;
|
|
@@ -273,7 +273,7 @@ export declare const actionZoomIn: {
|
|
|
273
273
|
viewBackgroundColor: string;
|
|
274
274
|
cursorButton: "up" | "down";
|
|
275
275
|
scrolledOutside: boolean;
|
|
276
|
-
name: string;
|
|
276
|
+
name: string | null;
|
|
277
277
|
isResizing: boolean;
|
|
278
278
|
isRotating: boolean;
|
|
279
279
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -348,7 +348,7 @@ export declare const actionZoomIn: {
|
|
|
348
348
|
data: import("../charts").Spreadsheet;
|
|
349
349
|
};
|
|
350
350
|
pendingImageElementId: string | null;
|
|
351
|
-
showHyperlinkPopup: false | "
|
|
351
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
352
352
|
linkOpacity: number;
|
|
353
353
|
trayModeEnabled: boolean;
|
|
354
354
|
colorPalette?: {
|
|
@@ -467,7 +467,7 @@ export declare const actionZoomOut: {
|
|
|
467
467
|
viewBackgroundColor: string;
|
|
468
468
|
cursorButton: "up" | "down";
|
|
469
469
|
scrolledOutside: boolean;
|
|
470
|
-
name: string;
|
|
470
|
+
name: string | null;
|
|
471
471
|
isResizing: boolean;
|
|
472
472
|
isRotating: boolean;
|
|
473
473
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -542,7 +542,7 @@ export declare const actionZoomOut: {
|
|
|
542
542
|
data: import("../charts").Spreadsheet;
|
|
543
543
|
};
|
|
544
544
|
pendingImageElementId: string | null;
|
|
545
|
-
showHyperlinkPopup: false | "
|
|
545
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
546
546
|
linkOpacity: number;
|
|
547
547
|
trayModeEnabled: boolean;
|
|
548
548
|
colorPalette?: {
|
|
@@ -661,7 +661,7 @@ export declare const actionResetZoom: {
|
|
|
661
661
|
viewBackgroundColor: string;
|
|
662
662
|
cursorButton: "up" | "down";
|
|
663
663
|
scrolledOutside: boolean;
|
|
664
|
-
name: string;
|
|
664
|
+
name: string | null;
|
|
665
665
|
isResizing: boolean;
|
|
666
666
|
isRotating: boolean;
|
|
667
667
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -736,7 +736,7 @@ export declare const actionResetZoom: {
|
|
|
736
736
|
data: import("../charts").Spreadsheet;
|
|
737
737
|
};
|
|
738
738
|
pendingImageElementId: string | null;
|
|
739
|
-
showHyperlinkPopup: false | "
|
|
739
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
740
740
|
linkOpacity: number;
|
|
741
741
|
trayModeEnabled: boolean;
|
|
742
742
|
colorPalette?: {
|
|
@@ -855,7 +855,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, fitToViewport, viewpo
|
|
|
855
855
|
viewBackgroundColor: string;
|
|
856
856
|
cursorButton: "up" | "down";
|
|
857
857
|
scrolledOutside: boolean;
|
|
858
|
-
name: string;
|
|
858
|
+
name: string | null;
|
|
859
859
|
isResizing: boolean;
|
|
860
860
|
isRotating: boolean;
|
|
861
861
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -930,7 +930,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, fitToViewport, viewpo
|
|
|
930
930
|
data: import("../charts").Spreadsheet;
|
|
931
931
|
};
|
|
932
932
|
pendingImageElementId: string | null;
|
|
933
|
-
showHyperlinkPopup: false | "
|
|
933
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
934
934
|
linkOpacity: number;
|
|
935
935
|
trayModeEnabled: boolean;
|
|
936
936
|
colorPalette?: {
|
|
@@ -1045,7 +1045,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
1045
1045
|
viewBackgroundColor: string;
|
|
1046
1046
|
cursorButton: "up" | "down";
|
|
1047
1047
|
scrolledOutside: boolean;
|
|
1048
|
-
name: string;
|
|
1048
|
+
name: string | null;
|
|
1049
1049
|
isResizing: boolean;
|
|
1050
1050
|
isRotating: boolean;
|
|
1051
1051
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -1120,7 +1120,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
1120
1120
|
data: import("../charts").Spreadsheet;
|
|
1121
1121
|
};
|
|
1122
1122
|
pendingImageElementId: string | null;
|
|
1123
|
-
showHyperlinkPopup: false | "
|
|
1123
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1124
1124
|
linkOpacity: number;
|
|
1125
1125
|
trayModeEnabled: boolean;
|
|
1126
1126
|
colorPalette?: {
|
|
@@ -1233,7 +1233,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1233
1233
|
viewBackgroundColor: string;
|
|
1234
1234
|
cursorButton: "up" | "down";
|
|
1235
1235
|
scrolledOutside: boolean;
|
|
1236
|
-
name: string;
|
|
1236
|
+
name: string | null;
|
|
1237
1237
|
isResizing: boolean;
|
|
1238
1238
|
isRotating: boolean;
|
|
1239
1239
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -1308,7 +1308,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1308
1308
|
data: import("../charts").Spreadsheet;
|
|
1309
1309
|
};
|
|
1310
1310
|
pendingImageElementId: string | null;
|
|
1311
|
-
showHyperlinkPopup: false | "
|
|
1311
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1312
1312
|
linkOpacity: number;
|
|
1313
1313
|
trayModeEnabled: boolean;
|
|
1314
1314
|
colorPalette?: {
|
|
@@ -1425,7 +1425,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1425
1425
|
viewBackgroundColor: string;
|
|
1426
1426
|
cursorButton: "up" | "down";
|
|
1427
1427
|
scrolledOutside: boolean;
|
|
1428
|
-
name: string;
|
|
1428
|
+
name: string | null;
|
|
1429
1429
|
isResizing: boolean;
|
|
1430
1430
|
isRotating: boolean;
|
|
1431
1431
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -1500,7 +1500,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1500
1500
|
data: import("../charts").Spreadsheet;
|
|
1501
1501
|
};
|
|
1502
1502
|
pendingImageElementId: string | null;
|
|
1503
|
-
showHyperlinkPopup: false | "
|
|
1503
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1504
1504
|
linkOpacity: number;
|
|
1505
1505
|
trayModeEnabled: boolean;
|
|
1506
1506
|
colorPalette?: {
|
|
@@ -1618,7 +1618,7 @@ export declare const actionZoomToFit: {
|
|
|
1618
1618
|
viewBackgroundColor: string;
|
|
1619
1619
|
cursorButton: "up" | "down";
|
|
1620
1620
|
scrolledOutside: boolean;
|
|
1621
|
-
name: string;
|
|
1621
|
+
name: string | null;
|
|
1622
1622
|
isResizing: boolean;
|
|
1623
1623
|
isRotating: boolean;
|
|
1624
1624
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -1693,7 +1693,7 @@ export declare const actionZoomToFit: {
|
|
|
1693
1693
|
data: import("../charts").Spreadsheet;
|
|
1694
1694
|
};
|
|
1695
1695
|
pendingImageElementId: string | null;
|
|
1696
|
-
showHyperlinkPopup: false | "
|
|
1696
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1697
1697
|
linkOpacity: number;
|
|
1698
1698
|
trayModeEnabled: boolean;
|
|
1699
1699
|
colorPalette?: {
|
|
@@ -1809,7 +1809,7 @@ export declare const actionToggleTheme: {
|
|
|
1809
1809
|
scrollY: number;
|
|
1810
1810
|
cursorButton: "up" | "down";
|
|
1811
1811
|
scrolledOutside: boolean;
|
|
1812
|
-
name: string;
|
|
1812
|
+
name: string | null;
|
|
1813
1813
|
isResizing: boolean;
|
|
1814
1814
|
isRotating: boolean;
|
|
1815
1815
|
zoom: Readonly<{
|
|
@@ -1886,7 +1886,7 @@ export declare const actionToggleTheme: {
|
|
|
1886
1886
|
data: import("../charts").Spreadsheet;
|
|
1887
1887
|
};
|
|
1888
1888
|
pendingImageElementId: string | null;
|
|
1889
|
-
showHyperlinkPopup: false | "
|
|
1889
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1890
1890
|
linkOpacity: number;
|
|
1891
1891
|
trayModeEnabled: boolean;
|
|
1892
1892
|
colorPalette?: {
|
|
@@ -2000,7 +2000,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2000
2000
|
scrollY: number;
|
|
2001
2001
|
cursorButton: "up" | "down";
|
|
2002
2002
|
scrolledOutside: boolean;
|
|
2003
|
-
name: string;
|
|
2003
|
+
name: string | null;
|
|
2004
2004
|
isResizing: boolean;
|
|
2005
2005
|
isRotating: boolean;
|
|
2006
2006
|
zoom: Readonly<{
|
|
@@ -2072,7 +2072,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2072
2072
|
data: import("../charts").Spreadsheet;
|
|
2073
2073
|
};
|
|
2074
2074
|
pendingImageElementId: string | null;
|
|
2075
|
-
showHyperlinkPopup: false | "
|
|
2075
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2076
2076
|
linkOpacity: number;
|
|
2077
2077
|
trayModeEnabled: boolean;
|
|
2078
2078
|
colorPalette?: {
|
|
@@ -2185,7 +2185,7 @@ export declare const actionToggleHandTool: {
|
|
|
2185
2185
|
scrollY: number;
|
|
2186
2186
|
cursorButton: "up" | "down";
|
|
2187
2187
|
scrolledOutside: boolean;
|
|
2188
|
-
name: string;
|
|
2188
|
+
name: string | null;
|
|
2189
2189
|
isResizing: boolean;
|
|
2190
2190
|
isRotating: boolean;
|
|
2191
2191
|
zoom: Readonly<{
|
|
@@ -2257,7 +2257,7 @@ export declare const actionToggleHandTool: {
|
|
|
2257
2257
|
data: import("../charts").Spreadsheet;
|
|
2258
2258
|
};
|
|
2259
2259
|
pendingImageElementId: string | null;
|
|
2260
|
-
showHyperlinkPopup: false | "
|
|
2260
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2261
2261
|
linkOpacity: number;
|
|
2262
2262
|
trayModeEnabled: boolean;
|
|
2263
2263
|
colorPalette?: {
|
|
@@ -2371,7 +2371,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
2371
2371
|
scrollY: number;
|
|
2372
2372
|
cursorButton: "up" | "down";
|
|
2373
2373
|
scrolledOutside: boolean;
|
|
2374
|
-
name: string;
|
|
2374
|
+
name: string | null;
|
|
2375
2375
|
isResizing: boolean;
|
|
2376
2376
|
isRotating: boolean;
|
|
2377
2377
|
zoom: Readonly<{
|
|
@@ -2443,7 +2443,7 @@ export declare const actionToggleLaserPointer: {
|
|
|
2443
2443
|
data: import("../charts").Spreadsheet;
|
|
2444
2444
|
};
|
|
2445
2445
|
pendingImageElementId: string | null;
|
|
2446
|
-
showHyperlinkPopup: false | "
|
|
2446
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2447
2447
|
linkOpacity: number;
|
|
2448
2448
|
trayModeEnabled: boolean;
|
|
2449
2449
|
colorPalette?: {
|
|
@@ -2556,7 +2556,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
2556
2556
|
viewBackgroundColor: string;
|
|
2557
2557
|
cursorButton: "up" | "down";
|
|
2558
2558
|
scrolledOutside: boolean;
|
|
2559
|
-
name: string;
|
|
2559
|
+
name: string | null;
|
|
2560
2560
|
isResizing: boolean;
|
|
2561
2561
|
isRotating: boolean;
|
|
2562
2562
|
openMenu: "canvas" | "shape" | null;
|
|
@@ -2631,7 +2631,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
2631
2631
|
data: import("../charts").Spreadsheet;
|
|
2632
2632
|
};
|
|
2633
2633
|
pendingImageElementId: string | null;
|
|
2634
|
-
showHyperlinkPopup: false | "
|
|
2634
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2635
2635
|
linkOpacity: number;
|
|
2636
2636
|
trayModeEnabled: boolean;
|
|
2637
2637
|
colorPalette?: {
|
|
@@ -64,7 +64,7 @@ export declare const actionCopy: {
|
|
|
64
64
|
scrollY: number;
|
|
65
65
|
cursorButton: "up" | "down";
|
|
66
66
|
scrolledOutside: boolean;
|
|
67
|
-
name: string;
|
|
67
|
+
name: string | null;
|
|
68
68
|
isResizing: boolean;
|
|
69
69
|
isRotating: boolean;
|
|
70
70
|
zoom: Readonly<{
|
|
@@ -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
|
linkOpacity: number;
|
|
147
147
|
trayModeEnabled: boolean;
|
|
148
148
|
colorPalette?: {
|
|
@@ -260,7 +260,7 @@ export declare const actionPaste: {
|
|
|
260
260
|
scrollY: number;
|
|
261
261
|
cursorButton: "up" | "down";
|
|
262
262
|
scrolledOutside: boolean;
|
|
263
|
-
name: string;
|
|
263
|
+
name: string | null;
|
|
264
264
|
isResizing: boolean;
|
|
265
265
|
isRotating: boolean;
|
|
266
266
|
zoom: Readonly<{
|
|
@@ -338,7 +338,7 @@ export declare const actionPaste: {
|
|
|
338
338
|
data: import("../charts").Spreadsheet;
|
|
339
339
|
};
|
|
340
340
|
pendingImageElementId: string | null;
|
|
341
|
-
showHyperlinkPopup: false | "
|
|
341
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
342
342
|
linkOpacity: number;
|
|
343
343
|
trayModeEnabled: boolean;
|
|
344
344
|
colorPalette?: {
|
|
@@ -456,7 +456,7 @@ export declare const actionCut: {
|
|
|
456
456
|
scrollY: number;
|
|
457
457
|
cursorButton: "up" | "down";
|
|
458
458
|
scrolledOutside: boolean;
|
|
459
|
-
name: string;
|
|
459
|
+
name: string | null;
|
|
460
460
|
isResizing: boolean;
|
|
461
461
|
isRotating: boolean;
|
|
462
462
|
zoom: Readonly<{
|
|
@@ -534,7 +534,7 @@ export declare const actionCut: {
|
|
|
534
534
|
data: import("../charts").Spreadsheet;
|
|
535
535
|
};
|
|
536
536
|
pendingImageElementId: string | null;
|
|
537
|
-
showHyperlinkPopup: false | "
|
|
537
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
538
538
|
linkOpacity: number;
|
|
539
539
|
trayModeEnabled: boolean;
|
|
540
540
|
colorPalette?: {
|
|
@@ -667,7 +667,7 @@ export declare const actionCut: {
|
|
|
667
667
|
scrollY: number;
|
|
668
668
|
cursorButton: "up" | "down";
|
|
669
669
|
scrolledOutside: boolean;
|
|
670
|
-
name: string;
|
|
670
|
+
name: string | null;
|
|
671
671
|
isResizing: boolean;
|
|
672
672
|
isRotating: boolean;
|
|
673
673
|
zoom: Readonly<{
|
|
@@ -745,7 +745,7 @@ export declare const actionCut: {
|
|
|
745
745
|
data: import("../charts").Spreadsheet;
|
|
746
746
|
};
|
|
747
747
|
pendingImageElementId: string | null;
|
|
748
|
-
showHyperlinkPopup: false | "
|
|
748
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
749
749
|
linkOpacity: number;
|
|
750
750
|
trayModeEnabled: boolean;
|
|
751
751
|
colorPalette?: {
|
|
@@ -849,7 +849,7 @@ export declare const actionCut: {
|
|
|
849
849
|
scrollY: number;
|
|
850
850
|
cursorButton: "up" | "down";
|
|
851
851
|
scrolledOutside: boolean;
|
|
852
|
-
name: string;
|
|
852
|
+
name: string | null;
|
|
853
853
|
isResizing: boolean;
|
|
854
854
|
isRotating: boolean;
|
|
855
855
|
zoom: Readonly<{
|
|
@@ -921,7 +921,7 @@ export declare const actionCut: {
|
|
|
921
921
|
data: import("../charts").Spreadsheet;
|
|
922
922
|
};
|
|
923
923
|
pendingImageElementId: string | null;
|
|
924
|
-
showHyperlinkPopup: false | "
|
|
924
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
925
925
|
linkOpacity: number;
|
|
926
926
|
trayModeEnabled: boolean;
|
|
927
927
|
colorPalette?: {
|
|
@@ -1039,7 +1039,7 @@ export declare const actionCopyAsSvg: {
|
|
|
1039
1039
|
scrollY: number;
|
|
1040
1040
|
cursorButton: "up" | "down";
|
|
1041
1041
|
scrolledOutside: boolean;
|
|
1042
|
-
name: string;
|
|
1042
|
+
name: string | null;
|
|
1043
1043
|
isResizing: boolean;
|
|
1044
1044
|
isRotating: boolean;
|
|
1045
1045
|
zoom: Readonly<{
|
|
@@ -1117,7 +1117,7 @@ export declare const actionCopyAsSvg: {
|
|
|
1117
1117
|
data: import("../charts").Spreadsheet;
|
|
1118
1118
|
};
|
|
1119
1119
|
pendingImageElementId: string | null;
|
|
1120
|
-
showHyperlinkPopup: false | "
|
|
1120
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1121
1121
|
linkOpacity: number;
|
|
1122
1122
|
trayModeEnabled: boolean;
|
|
1123
1123
|
colorPalette?: {
|
|
@@ -1235,7 +1235,7 @@ export declare const actionCopyAsPng: {
|
|
|
1235
1235
|
scrollY: number;
|
|
1236
1236
|
cursorButton: "up" | "down";
|
|
1237
1237
|
scrolledOutside: boolean;
|
|
1238
|
-
name: string;
|
|
1238
|
+
name: string | null;
|
|
1239
1239
|
isResizing: boolean;
|
|
1240
1240
|
isRotating: boolean;
|
|
1241
1241
|
zoom: Readonly<{
|
|
@@ -1313,7 +1313,7 @@ export declare const actionCopyAsPng: {
|
|
|
1313
1313
|
data: import("../charts").Spreadsheet;
|
|
1314
1314
|
};
|
|
1315
1315
|
pendingImageElementId: string | null;
|
|
1316
|
-
showHyperlinkPopup: false | "
|
|
1316
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1317
1317
|
linkOpacity: number;
|
|
1318
1318
|
trayModeEnabled: boolean;
|
|
1319
1319
|
colorPalette?: {
|
|
@@ -7,7 +7,7 @@ export declare const actionDeleteSelected: {
|
|
|
7
7
|
category: "element";
|
|
8
8
|
action: string;
|
|
9
9
|
};
|
|
10
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState
|
|
10
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, formData: any, app: import("../types").AppClassProperties) => false | {
|
|
11
11
|
elements: ExcalidrawElement[];
|
|
12
12
|
appState: {
|
|
13
13
|
editingLinearElement: null;
|
|
@@ -68,7 +68,7 @@ export declare const actionDeleteSelected: {
|
|
|
68
68
|
scrollY: number;
|
|
69
69
|
cursorButton: "up" | "down";
|
|
70
70
|
scrolledOutside: boolean;
|
|
71
|
-
name: string;
|
|
71
|
+
name: string | null;
|
|
72
72
|
isResizing: boolean;
|
|
73
73
|
isRotating: boolean;
|
|
74
74
|
zoom: Readonly<{
|
|
@@ -146,7 +146,7 @@ export declare const actionDeleteSelected: {
|
|
|
146
146
|
data: import("../charts").Spreadsheet;
|
|
147
147
|
};
|
|
148
148
|
pendingImageElementId: string | null;
|
|
149
|
-
showHyperlinkPopup: false | "
|
|
149
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
150
150
|
linkOpacity: number;
|
|
151
151
|
trayModeEnabled: boolean;
|
|
152
152
|
colorPalette?: {
|
|
@@ -279,7 +279,7 @@ export declare const actionDeleteSelected: {
|
|
|
279
279
|
scrollY: number;
|
|
280
280
|
cursorButton: "up" | "down";
|
|
281
281
|
scrolledOutside: boolean;
|
|
282
|
-
name: string;
|
|
282
|
+
name: string | null;
|
|
283
283
|
isResizing: boolean;
|
|
284
284
|
isRotating: boolean;
|
|
285
285
|
zoom: Readonly<{
|
|
@@ -357,7 +357,7 @@ export declare const actionDeleteSelected: {
|
|
|
357
357
|
data: import("../charts").Spreadsheet;
|
|
358
358
|
};
|
|
359
359
|
pendingImageElementId: string | null;
|
|
360
|
-
showHyperlinkPopup: false | "
|
|
360
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
361
361
|
linkOpacity: number;
|
|
362
362
|
trayModeEnabled: boolean;
|
|
363
363
|
colorPalette?: {
|
|
@@ -461,7 +461,7 @@ export declare const actionDeleteSelected: {
|
|
|
461
461
|
scrollY: number;
|
|
462
462
|
cursorButton: "up" | "down";
|
|
463
463
|
scrolledOutside: boolean;
|
|
464
|
-
name: string;
|
|
464
|
+
name: string | null;
|
|
465
465
|
isResizing: boolean;
|
|
466
466
|
isRotating: boolean;
|
|
467
467
|
zoom: Readonly<{
|
|
@@ -533,7 +533,7 @@ export declare const actionDeleteSelected: {
|
|
|
533
533
|
data: import("../charts").Spreadsheet;
|
|
534
534
|
};
|
|
535
535
|
pendingImageElementId: string | null;
|
|
536
|
-
showHyperlinkPopup: false | "
|
|
536
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
537
537
|
linkOpacity: number;
|
|
538
538
|
trayModeEnabled: boolean;
|
|
539
539
|
colorPalette?: {
|
|
@@ -5,7 +5,7 @@ export declare const actionDuplicateSelection: {
|
|
|
5
5
|
trackEvent: {
|
|
6
6
|
category: "element";
|
|
7
7
|
};
|
|
8
|
-
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState
|
|
8
|
+
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, formData: any, app: import("../types").AppClassProperties) => false | {
|
|
9
9
|
commitToHistory: true;
|
|
10
10
|
elements?: readonly ExcalidrawElement[] | null | undefined;
|
|
11
11
|
appState?: import("../utility-types").MarkOptional<AppState, "offsetTop" | "offsetLeft" | "width" | "height"> | null | undefined;
|
|
@@ -67,7 +67,7 @@ export declare const actionToggleElementLock: {
|
|
|
67
67
|
scrollY: number;
|
|
68
68
|
cursorButton: "up" | "down";
|
|
69
69
|
scrolledOutside: boolean;
|
|
70
|
-
name: string;
|
|
70
|
+
name: string | null;
|
|
71
71
|
isResizing: boolean;
|
|
72
72
|
isRotating: boolean;
|
|
73
73
|
zoom: Readonly<{
|
|
@@ -145,7 +145,7 @@ export declare const actionToggleElementLock: {
|
|
|
145
145
|
data: import("../charts").Spreadsheet;
|
|
146
146
|
};
|
|
147
147
|
pendingImageElementId: string | null;
|
|
148
|
-
showHyperlinkPopup: false | "
|
|
148
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
149
149
|
linkOpacity: number;
|
|
150
150
|
trayModeEnabled: boolean;
|
|
151
151
|
colorPalette?: {
|
|
@@ -265,7 +265,7 @@ export declare const actionUnlockAllElements: {
|
|
|
265
265
|
scrollY: number;
|
|
266
266
|
cursorButton: "up" | "down";
|
|
267
267
|
scrolledOutside: boolean;
|
|
268
|
-
name: string;
|
|
268
|
+
name: string | null;
|
|
269
269
|
isResizing: boolean;
|
|
270
270
|
isRotating: boolean;
|
|
271
271
|
zoom: Readonly<{
|
|
@@ -340,7 +340,7 @@ export declare const actionUnlockAllElements: {
|
|
|
340
340
|
data: import("../charts").Spreadsheet;
|
|
341
341
|
};
|
|
342
342
|
pendingImageElementId: string | null;
|
|
343
|
-
showHyperlinkPopup: false | "
|
|
343
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
344
344
|
linkOpacity: number;
|
|
345
345
|
trayModeEnabled: boolean;
|
|
346
346
|
colorPalette?: {
|