@dwelle/excalidraw 0.4.0-ce7d72c → 0.4.0-d27af2e
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 +240 -13
- package/dist/excalidraw.development.js +228 -107
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +0 -15
- package/main.js +1 -8
- package/package.json +3 -3
- package/types/actions/actionAddToLibrary.d.ts +18 -0
- package/types/actions/actionBoundText.d.ts +12 -0
- package/types/actions/actionCanvas.d.ts +66 -0
- package/types/actions/actionClipboard.d.ts +30 -0
- package/types/actions/actionDeleteSelected.d.ts +18 -0
- package/types/actions/actionElementLock.d.ts +12 -0
- package/types/actions/actionExport.d.ts +100 -46
- package/types/actions/actionFinalize.d.ts +13 -1
- package/types/actions/actionFrame.d.ts +18 -0
- package/types/actions/actionGroup.d.ts +253 -3
- package/types/actions/actionLinearEditor.d.ts +6 -0
- package/types/actions/actionMenu.d.ts +18 -0
- package/types/actions/actionProperties.d.ts +80 -0
- package/types/actions/actionSelectAll.d.ts +127 -1
- package/types/actions/actionStyles.d.ts +6 -0
- package/types/actions/actionToggleGridMode.d.ts +6 -0
- package/types/actions/actionToggleObjectsSnapMode.d.ts +143 -0
- package/types/actions/actionToggleStats.d.ts +6 -0
- package/types/actions/actionToggleViewMode.d.ts +6 -0
- package/types/actions/actionToggleZenMode.d.ts +6 -0
- package/types/actions/index.d.ts +1 -0
- package/types/actions/shortcuts.d.ts +1 -1
- package/types/actions/types.d.ts +1 -1
- package/types/appState.d.ts +1 -0
- package/types/clipboard.d.ts +1 -0
- package/types/components/Actions.d.ts +2 -2
- package/types/components/App.d.ts +10 -6
- package/types/components/ColorPicker/ColorInput.d.ts +3 -1
- package/types/components/ExcalidrawLogo.d.ts +15 -0
- package/types/components/EyeDropper.d.ts +18 -7
- package/types/components/JSONExportDialog.d.ts +1 -1
- package/types/components/LayerUI.d.ts +3 -2
- package/types/components/MobileMenu.d.ts +2 -2
- package/types/components/canvases/InteractiveCanvas.d.ts +27 -0
- package/types/components/canvases/StaticCanvas.d.ts +18 -0
- package/types/components/canvases/index.d.ts +3 -0
- package/types/constants.d.ts +9 -0
- package/types/data/transform.d.ts +71 -0
- package/types/element/Hyperlink.d.ts +7 -1
- package/types/element/binding.d.ts +1 -0
- package/types/element/bounds.d.ts +4 -5
- package/types/element/dragElements.d.ts +11 -2
- package/types/element/embeddable.d.ts +6 -0
- package/types/element/linearElementEditor.d.ts +11 -5
- package/types/element/newElement.d.ts +10 -6
- package/types/element/resizeElements.d.ts +2 -2
- package/types/element/sizeHelpers.d.ts +8 -1
- package/types/element/textElement.d.ts +5 -7
- package/types/element/textWysiwyg.d.ts +1 -1
- package/types/element/transformHandles.d.ts +2 -2
- package/types/element/types.d.ts +5 -5
- package/types/frame.d.ts +4 -4
- package/types/groups.d.ts +11 -11
- package/types/hooks/useStable.d.ts +1 -0
- package/types/keys.d.ts +1 -0
- package/types/math.d.ts +2 -0
- package/types/packages/excalidraw/example/initialData.d.ts +182 -70
- package/types/packages/excalidraw/index.d.ts +2 -1
- package/types/packages/excalidraw/main.d.ts +3 -1
- package/types/packages/utils.d.ts +1 -0
- package/types/renderer/renderElement.d.ts +9 -21
- package/types/renderer/renderScene.d.ts +16 -34
- package/types/renderer/renderSnaps.d.ts +2 -0
- package/types/scene/Renderer.d.ts +25 -0
- package/types/scene/Scene.d.ts +2 -0
- package/types/scene/Shape.d.ts +12 -0
- package/types/scene/ShapeCache.d.ts +20 -0
- package/types/scene/export.d.ts +33 -9
- package/types/scene/scroll.d.ts +1 -1
- package/types/scene/scrollbars.d.ts +2 -6
- package/types/scene/selection.d.ts +3 -2
- package/types/scene/types.d.ts +66 -31
- package/types/snapping.d.ts +108 -0
- package/types/types.d.ts +58 -3
- package/types/utils.d.ts +12 -4
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
1
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
8
2
|
|
|
9
3
|
/**
|
|
@@ -35,12 +29,3 @@ object-assign
|
|
|
35
29
|
* This source code is licensed under the MIT license found in the
|
|
36
30
|
* LICENSE file in the root directory of this source tree.
|
|
37
31
|
*/
|
|
38
|
-
|
|
39
|
-
/** @license React v17.0.2
|
|
40
|
-
* react-jsx-runtime.production.min.js
|
|
41
|
-
*
|
|
42
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
43
|
-
*
|
|
44
|
-
* This source code is licensed under the MIT license found in the
|
|
45
|
-
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/
|
package/main.js
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
process.env.NODE_ENV === "production" ||
|
|
3
|
-
window.__excalidraw_env__ === "production"
|
|
4
|
-
) {
|
|
5
|
-
module.exports = require("./dist/excalidraw.production.min.js");
|
|
6
|
-
} else {
|
|
7
|
-
module.exports = require("./dist/excalidraw.development.js");
|
|
8
|
-
}
|
|
1
|
+
module.exports = require("./dist/excalidraw.production.min.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dwelle/excalidraw",
|
|
3
|
-
"version": "0.4.0-
|
|
3
|
+
"version": "0.4.0-d27af2e",
|
|
4
4
|
"main": "main.js",
|
|
5
5
|
"types": "types/packages/excalidraw/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@babel/preset-env": "7.18.6",
|
|
46
46
|
"@babel/preset-react": "7.18.6",
|
|
47
47
|
"@babel/preset-typescript": "7.18.6",
|
|
48
|
-
"@size-limit/preset-big-lib": "
|
|
48
|
+
"@size-limit/preset-big-lib": "9.0.0",
|
|
49
49
|
"autoprefixer": "10.4.7",
|
|
50
50
|
"babel-loader": "8.2.5",
|
|
51
51
|
"babel-plugin-transform-class-properties": "6.24.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"mini-css-extract-plugin": "2.6.1",
|
|
57
57
|
"postcss-loader": "7.0.1",
|
|
58
58
|
"sass-loader": "13.0.2",
|
|
59
|
-
"size-limit": "
|
|
59
|
+
"size-limit": "9.0.0",
|
|
60
60
|
"style-loader": "3.3.3",
|
|
61
61
|
"terser-webpack-plugin": "5.3.3",
|
|
62
62
|
"ts-loader": "9.3.1",
|
|
@@ -122,6 +122,12 @@ export declare const actionAddToLibrary: {
|
|
|
122
122
|
pendingImageElementId: string | null;
|
|
123
123
|
showHyperlinkPopup: false | "editor" | "info";
|
|
124
124
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
125
|
+
snapLines: import("../snapping").SnapLine[];
|
|
126
|
+
originSnapOffset: {
|
|
127
|
+
x: number;
|
|
128
|
+
y: number;
|
|
129
|
+
} | null;
|
|
130
|
+
objectsSnapModeEnabled: boolean;
|
|
125
131
|
};
|
|
126
132
|
} | {
|
|
127
133
|
commitToHistory: false;
|
|
@@ -244,6 +250,12 @@ export declare const actionAddToLibrary: {
|
|
|
244
250
|
pendingImageElementId: string | null;
|
|
245
251
|
showHyperlinkPopup: false | "editor" | "info";
|
|
246
252
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
253
|
+
snapLines: import("../snapping").SnapLine[];
|
|
254
|
+
originSnapOffset: {
|
|
255
|
+
x: number;
|
|
256
|
+
y: number;
|
|
257
|
+
} | null;
|
|
258
|
+
objectsSnapModeEnabled: boolean;
|
|
247
259
|
};
|
|
248
260
|
}> | {
|
|
249
261
|
commitToHistory: false;
|
|
@@ -366,6 +378,12 @@ export declare const actionAddToLibrary: {
|
|
|
366
378
|
pendingImageElementId: string | null;
|
|
367
379
|
showHyperlinkPopup: false | "editor" | "info";
|
|
368
380
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
381
|
+
snapLines: import("../snapping").SnapLine[];
|
|
382
|
+
originSnapOffset: {
|
|
383
|
+
x: number;
|
|
384
|
+
y: number;
|
|
385
|
+
} | null;
|
|
386
|
+
objectsSnapModeEnabled: boolean;
|
|
369
387
|
};
|
|
370
388
|
};
|
|
371
389
|
contextItemLabel: string;
|
|
@@ -144,6 +144,12 @@ export declare const actionBindText: {
|
|
|
144
144
|
pendingImageElementId: string | null;
|
|
145
145
|
showHyperlinkPopup: false | "editor" | "info";
|
|
146
146
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
147
|
+
snapLines: import("../snapping").SnapLine[];
|
|
148
|
+
originSnapOffset: {
|
|
149
|
+
x: number;
|
|
150
|
+
y: number;
|
|
151
|
+
} | null;
|
|
152
|
+
objectsSnapModeEnabled: boolean;
|
|
147
153
|
};
|
|
148
154
|
commitToHistory: true;
|
|
149
155
|
};
|
|
@@ -278,6 +284,12 @@ export declare const actionWrapTextInContainer: {
|
|
|
278
284
|
pendingImageElementId: string | null;
|
|
279
285
|
showHyperlinkPopup: false | "editor" | "info";
|
|
280
286
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
287
|
+
snapLines: import("../snapping").SnapLine[];
|
|
288
|
+
originSnapOffset: {
|
|
289
|
+
x: number;
|
|
290
|
+
y: number;
|
|
291
|
+
} | null;
|
|
292
|
+
objectsSnapModeEnabled: boolean;
|
|
281
293
|
};
|
|
282
294
|
commitToHistory: true;
|
|
283
295
|
};
|
|
@@ -136,6 +136,12 @@ export declare const actionClearCanvas: {
|
|
|
136
136
|
pendingImageElementId: string | null;
|
|
137
137
|
showHyperlinkPopup: false | "editor" | "info";
|
|
138
138
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
139
|
+
snapLines: import("../snapping").SnapLine[];
|
|
140
|
+
originSnapOffset: {
|
|
141
|
+
x: number;
|
|
142
|
+
y: number;
|
|
143
|
+
} | null;
|
|
144
|
+
objectsSnapModeEnabled: boolean;
|
|
139
145
|
};
|
|
140
146
|
commitToHistory: true;
|
|
141
147
|
};
|
|
@@ -268,6 +274,12 @@ export declare const actionZoomIn: {
|
|
|
268
274
|
pendingImageElementId: string | null;
|
|
269
275
|
showHyperlinkPopup: false | "editor" | "info";
|
|
270
276
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
277
|
+
snapLines: import("../snapping").SnapLine[];
|
|
278
|
+
originSnapOffset: {
|
|
279
|
+
x: number;
|
|
280
|
+
y: number;
|
|
281
|
+
} | null;
|
|
282
|
+
objectsSnapModeEnabled: boolean;
|
|
271
283
|
};
|
|
272
284
|
commitToHistory: false;
|
|
273
285
|
};
|
|
@@ -402,6 +414,12 @@ export declare const actionZoomOut: {
|
|
|
402
414
|
pendingImageElementId: string | null;
|
|
403
415
|
showHyperlinkPopup: false | "editor" | "info";
|
|
404
416
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
417
|
+
snapLines: import("../snapping").SnapLine[];
|
|
418
|
+
originSnapOffset: {
|
|
419
|
+
x: number;
|
|
420
|
+
y: number;
|
|
421
|
+
} | null;
|
|
422
|
+
objectsSnapModeEnabled: boolean;
|
|
405
423
|
};
|
|
406
424
|
commitToHistory: false;
|
|
407
425
|
};
|
|
@@ -536,6 +554,12 @@ export declare const actionResetZoom: {
|
|
|
536
554
|
pendingImageElementId: string | null;
|
|
537
555
|
showHyperlinkPopup: false | "editor" | "info";
|
|
538
556
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
557
|
+
snapLines: import("../snapping").SnapLine[];
|
|
558
|
+
originSnapOffset: {
|
|
559
|
+
x: number;
|
|
560
|
+
y: number;
|
|
561
|
+
} | null;
|
|
562
|
+
objectsSnapModeEnabled: boolean;
|
|
539
563
|
};
|
|
540
564
|
commitToHistory: false;
|
|
541
565
|
};
|
|
@@ -671,6 +695,12 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
|
|
|
671
695
|
pendingImageElementId: string | null;
|
|
672
696
|
showHyperlinkPopup: false | "editor" | "info";
|
|
673
697
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
698
|
+
snapLines: import("../snapping").SnapLine[];
|
|
699
|
+
originSnapOffset: {
|
|
700
|
+
x: number;
|
|
701
|
+
y: number;
|
|
702
|
+
} | null;
|
|
703
|
+
objectsSnapModeEnabled: boolean;
|
|
674
704
|
};
|
|
675
705
|
commitToHistory: boolean;
|
|
676
706
|
};
|
|
@@ -799,6 +829,12 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
799
829
|
pendingImageElementId: string | null;
|
|
800
830
|
showHyperlinkPopup: false | "editor" | "info";
|
|
801
831
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
832
|
+
snapLines: import("../snapping").SnapLine[];
|
|
833
|
+
originSnapOffset: {
|
|
834
|
+
x: number;
|
|
835
|
+
y: number;
|
|
836
|
+
} | null;
|
|
837
|
+
objectsSnapModeEnabled: boolean;
|
|
802
838
|
};
|
|
803
839
|
commitToHistory: boolean;
|
|
804
840
|
};
|
|
@@ -931,6 +967,12 @@ export declare const actionZoomToFitSelection: {
|
|
|
931
967
|
pendingImageElementId: string | null;
|
|
932
968
|
showHyperlinkPopup: false | "editor" | "info";
|
|
933
969
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
970
|
+
snapLines: import("../snapping").SnapLine[];
|
|
971
|
+
originSnapOffset: {
|
|
972
|
+
x: number;
|
|
973
|
+
y: number;
|
|
974
|
+
} | null;
|
|
975
|
+
objectsSnapModeEnabled: boolean;
|
|
934
976
|
};
|
|
935
977
|
commitToHistory: boolean;
|
|
936
978
|
};
|
|
@@ -1064,6 +1106,12 @@ export declare const actionZoomToFit: {
|
|
|
1064
1106
|
pendingImageElementId: string | null;
|
|
1065
1107
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1066
1108
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1109
|
+
snapLines: import("../snapping").SnapLine[];
|
|
1110
|
+
originSnapOffset: {
|
|
1111
|
+
x: number;
|
|
1112
|
+
y: number;
|
|
1113
|
+
} | null;
|
|
1114
|
+
objectsSnapModeEnabled: boolean;
|
|
1067
1115
|
};
|
|
1068
1116
|
commitToHistory: boolean;
|
|
1069
1117
|
};
|
|
@@ -1197,6 +1245,12 @@ export declare const actionToggleTheme: {
|
|
|
1197
1245
|
pendingImageElementId: string | null;
|
|
1198
1246
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1199
1247
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1248
|
+
snapLines: import("../snapping").SnapLine[];
|
|
1249
|
+
originSnapOffset: {
|
|
1250
|
+
x: number;
|
|
1251
|
+
y: number;
|
|
1252
|
+
} | null;
|
|
1253
|
+
objectsSnapModeEnabled: boolean;
|
|
1200
1254
|
};
|
|
1201
1255
|
commitToHistory: false;
|
|
1202
1256
|
};
|
|
@@ -1323,6 +1377,12 @@ export declare const actionToggleEraserTool: {
|
|
|
1323
1377
|
pendingImageElementId: string | null;
|
|
1324
1378
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1325
1379
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1380
|
+
snapLines: import("../snapping").SnapLine[];
|
|
1381
|
+
originSnapOffset: {
|
|
1382
|
+
x: number;
|
|
1383
|
+
y: number;
|
|
1384
|
+
} | null;
|
|
1385
|
+
objectsSnapModeEnabled: boolean;
|
|
1326
1386
|
};
|
|
1327
1387
|
commitToHistory: true;
|
|
1328
1388
|
};
|
|
@@ -1448,6 +1508,12 @@ export declare const actionToggleHandTool: {
|
|
|
1448
1508
|
pendingImageElementId: string | null;
|
|
1449
1509
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1450
1510
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1511
|
+
snapLines: import("../snapping").SnapLine[];
|
|
1512
|
+
originSnapOffset: {
|
|
1513
|
+
x: number;
|
|
1514
|
+
y: number;
|
|
1515
|
+
} | null;
|
|
1516
|
+
objectsSnapModeEnabled: boolean;
|
|
1451
1517
|
};
|
|
1452
1518
|
commitToHistory: true;
|
|
1453
1519
|
};
|
|
@@ -152,6 +152,12 @@ export declare const actionCut: {
|
|
|
152
152
|
pendingImageElementId: string | null;
|
|
153
153
|
showHyperlinkPopup: false | "editor" | "info";
|
|
154
154
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
155
|
+
snapLines: import("../snapping").SnapLine[];
|
|
156
|
+
originSnapOffset: {
|
|
157
|
+
x: number;
|
|
158
|
+
y: number;
|
|
159
|
+
} | null;
|
|
160
|
+
objectsSnapModeEnabled: boolean;
|
|
155
161
|
};
|
|
156
162
|
commitToHistory: false;
|
|
157
163
|
} | {
|
|
@@ -303,6 +309,12 @@ export declare const actionCut: {
|
|
|
303
309
|
pendingImageElementId: string | null;
|
|
304
310
|
showHyperlinkPopup: false | "editor" | "info";
|
|
305
311
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
312
|
+
snapLines: import("../snapping").SnapLine[];
|
|
313
|
+
originSnapOffset: {
|
|
314
|
+
x: number;
|
|
315
|
+
y: number;
|
|
316
|
+
} | null;
|
|
317
|
+
objectsSnapModeEnabled: boolean;
|
|
306
318
|
};
|
|
307
319
|
commitToHistory: true;
|
|
308
320
|
} | {
|
|
@@ -421,6 +433,12 @@ export declare const actionCut: {
|
|
|
421
433
|
pendingImageElementId: string | null;
|
|
422
434
|
showHyperlinkPopup: false | "editor" | "info";
|
|
423
435
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
436
|
+
snapLines: import("../snapping").SnapLine[];
|
|
437
|
+
originSnapOffset: {
|
|
438
|
+
x: number;
|
|
439
|
+
y: number;
|
|
440
|
+
} | null;
|
|
441
|
+
objectsSnapModeEnabled: boolean;
|
|
424
442
|
};
|
|
425
443
|
commitToHistory: boolean;
|
|
426
444
|
};
|
|
@@ -558,6 +576,12 @@ export declare const actionCopyAsSvg: {
|
|
|
558
576
|
pendingImageElementId: string | null;
|
|
559
577
|
showHyperlinkPopup: false | "editor" | "info";
|
|
560
578
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
579
|
+
snapLines: import("../snapping").SnapLine[];
|
|
580
|
+
originSnapOffset: {
|
|
581
|
+
x: number;
|
|
582
|
+
y: number;
|
|
583
|
+
} | null;
|
|
584
|
+
objectsSnapModeEnabled: boolean;
|
|
561
585
|
};
|
|
562
586
|
commitToHistory: false;
|
|
563
587
|
}>;
|
|
@@ -694,6 +718,12 @@ export declare const actionCopyAsPng: {
|
|
|
694
718
|
pendingImageElementId: string | null;
|
|
695
719
|
showHyperlinkPopup: false | "editor" | "info";
|
|
696
720
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
721
|
+
snapLines: import("../snapping").SnapLine[];
|
|
722
|
+
originSnapOffset: {
|
|
723
|
+
x: number;
|
|
724
|
+
y: number;
|
|
725
|
+
} | null;
|
|
726
|
+
objectsSnapModeEnabled: boolean;
|
|
697
727
|
};
|
|
698
728
|
commitToHistory: false;
|
|
699
729
|
}>;
|
|
@@ -128,6 +128,12 @@ export declare const actionDeleteSelected: {
|
|
|
128
128
|
pendingImageElementId: string | null;
|
|
129
129
|
showHyperlinkPopup: false | "editor" | "info";
|
|
130
130
|
selectedLinearElement: LinearElementEditor | null;
|
|
131
|
+
snapLines: import("../snapping").SnapLine[];
|
|
132
|
+
originSnapOffset: {
|
|
133
|
+
x: number;
|
|
134
|
+
y: number;
|
|
135
|
+
} | null;
|
|
136
|
+
objectsSnapModeEnabled: boolean;
|
|
131
137
|
};
|
|
132
138
|
commitToHistory: false;
|
|
133
139
|
} | {
|
|
@@ -279,6 +285,12 @@ export declare const actionDeleteSelected: {
|
|
|
279
285
|
pendingImageElementId: string | null;
|
|
280
286
|
showHyperlinkPopup: false | "editor" | "info";
|
|
281
287
|
selectedLinearElement: LinearElementEditor | null;
|
|
288
|
+
snapLines: import("../snapping").SnapLine[];
|
|
289
|
+
originSnapOffset: {
|
|
290
|
+
x: number;
|
|
291
|
+
y: number;
|
|
292
|
+
} | null;
|
|
293
|
+
objectsSnapModeEnabled: boolean;
|
|
282
294
|
};
|
|
283
295
|
commitToHistory: true;
|
|
284
296
|
} | {
|
|
@@ -397,6 +409,12 @@ export declare const actionDeleteSelected: {
|
|
|
397
409
|
pendingImageElementId: string | null;
|
|
398
410
|
showHyperlinkPopup: false | "editor" | "info";
|
|
399
411
|
selectedLinearElement: LinearElementEditor | null;
|
|
412
|
+
snapLines: import("../snapping").SnapLine[];
|
|
413
|
+
originSnapOffset: {
|
|
414
|
+
x: number;
|
|
415
|
+
y: number;
|
|
416
|
+
} | null;
|
|
417
|
+
objectsSnapModeEnabled: boolean;
|
|
400
418
|
};
|
|
401
419
|
commitToHistory: boolean;
|
|
402
420
|
};
|
|
@@ -126,6 +126,12 @@ export declare const actionToggleElementLock: {
|
|
|
126
126
|
};
|
|
127
127
|
pendingImageElementId: string | null;
|
|
128
128
|
showHyperlinkPopup: false | "editor" | "info";
|
|
129
|
+
snapLines: import("../snapping").SnapLine[];
|
|
130
|
+
originSnapOffset: {
|
|
131
|
+
x: number;
|
|
132
|
+
y: number;
|
|
133
|
+
} | null;
|
|
134
|
+
objectsSnapModeEnabled: boolean;
|
|
129
135
|
};
|
|
130
136
|
commitToHistory: true;
|
|
131
137
|
};
|
|
@@ -262,6 +268,12 @@ export declare const actionUnlockAllElements: {
|
|
|
262
268
|
pendingImageElementId: string | null;
|
|
263
269
|
showHyperlinkPopup: false | "editor" | "info";
|
|
264
270
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
271
|
+
snapLines: import("../snapping").SnapLine[];
|
|
272
|
+
originSnapOffset: {
|
|
273
|
+
x: number;
|
|
274
|
+
y: number;
|
|
275
|
+
} | null;
|
|
276
|
+
objectsSnapModeEnabled: boolean;
|
|
265
277
|
};
|
|
266
278
|
commitToHistory: true;
|
|
267
279
|
};
|