@excalidraw/excalidraw 0.12.0-46f5ce5 → 0.12.0-4cb6f09
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 +11 -850
- package/README.md +26 -12
- package/dist/excalidraw-assets/locales/bn-BD-json-906099d3f665de611389.js +1 -0
- package/dist/excalidraw-assets/locales/ca-ES-json-7f3f0a2c7f428fa60e01.js +1 -0
- package/dist/excalidraw-assets/locales/cs-CZ-json-304d08cac870aa0684ec.js +1 -0
- package/dist/excalidraw-assets/locales/el-GR-json-18ce48894d32ca4895b8.js +1 -0
- package/dist/excalidraw-assets/locales/es-ES-json-69a6c81b0e5dc370ea1a.js +1 -0
- package/dist/{excalidraw-assets-dev/locales/ja-JP-json-41b80357462192231c17.js → excalidraw-assets/locales/ja-JP-json-4c357f8206b88dc44840.js} +1 -22
- package/dist/excalidraw-assets/locales/ko-KR-json-8e7ae1bb19a7677a8190.js +1 -0
- package/dist/excalidraw-assets/locales/lt-LT-json-4147c3543dce75362050.js +1 -0
- package/dist/excalidraw-assets/locales/pt-BR-json-4ffa2f70c2863bca4f91.js +1 -0
- package/dist/excalidraw-assets/locales/pt-PT-json-4368eca89d2b2b3fb444.js +1 -0
- package/dist/excalidraw-assets/locales/vi-VN-json-929afcbc15b2c06a64f2.js +1 -0
- package/dist/excalidraw-assets/vendor-cb04f63875674d708080.js +2 -0
- package/dist/excalidraw-assets/{vendor-52b1f3361986b6c6a4fe.js.LICENSE.txt → vendor-cb04f63875674d708080.js.LICENSE.txt} +0 -0
- package/dist/excalidraw-assets-dev/locales/bn-BD-json-c3b027e18322cd5f67dd.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ca-ES-json-465e286330127bad8841.js +22 -0
- package/dist/excalidraw-assets-dev/locales/cs-CZ-json-a9cc158d187424de71d7.js +22 -0
- package/dist/excalidraw-assets-dev/locales/el-GR-json-33bcaca5c1eb85d3d81a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/es-ES-json-41e67e045d8f77e56a7a.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ja-JP-json-77b3461742458e757b59.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-b6b0f0c8dc22ac7a3377.js +22 -0
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-09b44716baf6aae6bf11.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-5abf09146a4f4387393d.js +22 -0
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-c72abd8cf29d14347cf5.js +22 -0
- package/dist/excalidraw-assets-dev/locales/{bn-BD-json-02993b6dba9e7f115b53.js → vi-VN-json-03f122275dad01552357.js} +4 -4
- package/dist/excalidraw-assets-dev/{vendor-c0592035c3911af79359.js → vendor-e6df8519da951026ff69.js} +1 -1
- package/dist/excalidraw.development.js +76 -76
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +0 -9
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +6 -3
- package/types/actions/actionBoundText.d.ts +2 -1
- package/types/actions/actionCanvas.d.ts +16 -8
- package/types/actions/actionClipboard.d.ts +12 -5
- package/types/actions/actionDeleteSelected.d.ts +8 -3
- package/types/actions/actionExport.d.ts +19 -10
- package/types/actions/actionFinalize.d.ts +4 -2
- package/types/actions/actionMenu.d.ts +6 -3
- package/types/actions/actionProperties.d.ts +26 -13
- package/types/actions/actionSelectAll.d.ts +1 -1
- package/types/actions/actionStyles.d.ts +2 -1
- package/types/actions/actionToggleGridMode.d.ts +2 -1
- package/types/actions/actionToggleLock.d.ts +99 -1
- package/types/actions/actionToggleStats.d.ts +2 -1
- package/types/actions/actionToggleViewMode.d.ts +2 -1
- package/types/actions/actionToggleZenMode.d.ts +2 -1
- package/types/appState.d.ts +2 -1
- package/types/components/Actions.d.ts +13 -2
- package/types/components/App.d.ts +5 -0
- package/types/components/BackgroundPickerAndDarkModeToggle.d.ts +1 -6
- package/types/components/Footer.d.ts +9 -0
- package/types/components/InitializeApp.d.ts +2 -0
- package/types/components/LayerUI.d.ts +1 -2
- package/types/components/LibraryMenu.d.ts +1 -2
- package/types/components/LoadingMessage.d.ts +2 -0
- package/types/components/MobileMenu.d.ts +3 -4
- package/types/components/Stats.d.ts +1 -1
- package/types/constants.d.ts +5 -0
- package/types/data/blob.d.ts +1 -1
- package/types/element/Hyperlink.d.ts +3 -3
- package/types/element/bounds.d.ts +1 -1
- package/types/element/index.d.ts +1 -1
- package/types/element/linearElementEditor.d.ts +41 -18
- package/types/element/newElement.d.ts +6 -1
- package/types/element/sizeHelpers.d.ts +4 -0
- package/types/element/textElement.d.ts +6 -2
- package/types/element/transformHandles.d.ts +5 -4
- package/types/element/types.d.ts +3 -2
- package/types/keys.d.ts +1 -1
- package/types/math.d.ts +8 -1
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{bn-BD-json-aa99c5a33f005fb00c6b.d.ts → bn-BD-json-906099d3f665de611389.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ca-ES-json-32cf66a0dfdbbafb6903.d.ts → ca-ES-json-7f3f0a2c7f428fa60e01.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{cs-CZ-json-b22f93257c798fffdfd2.d.ts → cs-CZ-json-304d08cac870aa0684ec.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{el-GR-json-74f57c0f8b11ac1b6dde.d.ts → el-GR-json-18ce48894d32ca4895b8.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{es-ES-json-ffb4e65453db2f3058d4.d.ts → es-ES-json-69a6c81b0e5dc370ea1a.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ja-JP-json-c60a94f86d3ebe4ade50.d.ts → ja-JP-json-4c357f8206b88dc44840.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ko-KR-json-f27d159b2556809076aa.d.ts → ko-KR-json-8e7ae1bb19a7677a8190.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{lt-LT-json-7277ad8dae6d3e6607b3.d.ts → lt-LT-json-4147c3543dce75362050.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-BR-json-686219f43cd76123b7fa.d.ts → pt-BR-json-4ffa2f70c2863bca4f91.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pt-PT-json-be4502ca3a1250845c39.d.ts → pt-PT-json-4368eca89d2b2b3fb444.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{vi-VN-json-5c276b534d762658589c.d.ts → vi-VN-json-929afcbc15b2c06a64f2.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-52b1f3361986b6c6a4fe.d.ts → vendor-cb04f63875674d708080.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{bn-BD-json-02993b6dba9e7f115b53.d.ts → bn-BD-json-c3b027e18322cd5f67dd.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ca-ES-json-7aabb5b31e7a995a90e3.d.ts → ca-ES-json-465e286330127bad8841.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{cs-CZ-json-4119808eda084fb16f0d.d.ts → cs-CZ-json-a9cc158d187424de71d7.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{el-GR-json-2bc44d5450554154e110.d.ts → el-GR-json-33bcaca5c1eb85d3d81a.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{es-ES-json-9e5e962b234d2fa5aac2.d.ts → es-ES-json-41e67e045d8f77e56a7a.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ja-JP-json-41b80357462192231c17.d.ts → ja-JP-json-77b3461742458e757b59.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ko-KR-json-09de6762eea271167b56.d.ts → ko-KR-json-b6b0f0c8dc22ac7a3377.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{lt-LT-json-a17971ff33b8929e96d3.d.ts → lt-LT-json-09b44716baf6aae6bf11.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-BR-json-5e4c8cd83b785ed859c2.d.ts → pt-BR-json-5abf09146a4f4387393d.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{pt-PT-json-a7f89a1c6f1c380141e5.d.ts → pt-PT-json-c72abd8cf29d14347cf5.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{vi-VN-json-670ecb0ad40c0453bdfd.d.ts → vi-VN-json-03f122275dad01552357.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-c0592035c3911af79359.d.ts → vendor-e6df8519da951026ff69.d.ts} +0 -0
- package/types/packages/utils.d.ts +4 -1
- package/types/points.d.ts +2 -1
- package/types/polyfill.d.ts +2 -0
- package/types/renderer/renderScene.d.ts +18 -2
- package/types/types.d.ts +2 -2
- package/dist/excalidraw-assets/locales/bn-BD-json-aa99c5a33f005fb00c6b.js +0 -1
- package/dist/excalidraw-assets/locales/ca-ES-json-32cf66a0dfdbbafb6903.js +0 -1
- package/dist/excalidraw-assets/locales/cs-CZ-json-b22f93257c798fffdfd2.js +0 -1
- package/dist/excalidraw-assets/locales/el-GR-json-74f57c0f8b11ac1b6dde.js +0 -1
- package/dist/excalidraw-assets/locales/es-ES-json-ffb4e65453db2f3058d4.js +0 -1
- package/dist/excalidraw-assets/locales/ja-JP-json-c60a94f86d3ebe4ade50.js +0 -1
- package/dist/excalidraw-assets/locales/ko-KR-json-f27d159b2556809076aa.js +0 -1
- package/dist/excalidraw-assets/locales/lt-LT-json-7277ad8dae6d3e6607b3.js +0 -1
- package/dist/excalidraw-assets/locales/pt-BR-json-686219f43cd76123b7fa.js +0 -1
- package/dist/excalidraw-assets/locales/pt-PT-json-be4502ca3a1250845c39.js +0 -1
- package/dist/excalidraw-assets/locales/vi-VN-json-5c276b534d762658589c.js +0 -1
- package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js +0 -2
- package/dist/excalidraw-assets-dev/locales/ca-ES-json-7aabb5b31e7a995a90e3.js +0 -22
- package/dist/excalidraw-assets-dev/locales/cs-CZ-json-4119808eda084fb16f0d.js +0 -22
- package/dist/excalidraw-assets-dev/locales/el-GR-json-2bc44d5450554154e110.js +0 -22
- package/dist/excalidraw-assets-dev/locales/es-ES-json-9e5e962b234d2fa5aac2.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ko-KR-json-09de6762eea271167b56.js +0 -22
- package/dist/excalidraw-assets-dev/locales/lt-LT-json-a17971ff33b8929e96d3.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-BR-json-5e4c8cd83b785ed859c2.js +0 -22
- package/dist/excalidraw-assets-dev/locales/pt-PT-json-a7f89a1c6f1c380141e5.js +0 -22
- package/dist/excalidraw-assets-dev/locales/vi-VN-json-670ecb0ad40c0453bdfd.js +0 -22
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Lodash <https://lodash.com/>
|
|
4
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
|
-
* Released under MIT license <https://lodash.com/license>
|
|
6
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
1
|
/**
|
|
11
2
|
* @license React
|
|
12
3
|
* react-jsx-runtime.production.min.js
|
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@ export declare const actionAddToLibrary: {
|
|
|
46
46
|
currentItemOpacity: number;
|
|
47
47
|
currentItemFontFamily: number;
|
|
48
48
|
currentItemFontSize: number;
|
|
49
|
-
currentItemTextAlign:
|
|
49
|
+
currentItemTextAlign: string;
|
|
50
50
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
51
51
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
52
52
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -100,6 +100,7 @@ export declare const actionAddToLibrary: {
|
|
|
100
100
|
};
|
|
101
101
|
pendingImageElementId: string | null;
|
|
102
102
|
showHyperlinkPopup: false | "info" | "editor";
|
|
103
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
103
104
|
};
|
|
104
105
|
} | {
|
|
105
106
|
commitToHistory: false;
|
|
@@ -141,7 +142,7 @@ export declare const actionAddToLibrary: {
|
|
|
141
142
|
currentItemOpacity: number;
|
|
142
143
|
currentItemFontFamily: number;
|
|
143
144
|
currentItemFontSize: number;
|
|
144
|
-
currentItemTextAlign:
|
|
145
|
+
currentItemTextAlign: string;
|
|
145
146
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
146
147
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
147
148
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -200,6 +201,7 @@ export declare const actionAddToLibrary: {
|
|
|
200
201
|
};
|
|
201
202
|
pendingImageElementId: string | null;
|
|
202
203
|
showHyperlinkPopup: false | "info" | "editor";
|
|
204
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
203
205
|
};
|
|
204
206
|
}> | {
|
|
205
207
|
commitToHistory: false;
|
|
@@ -241,7 +243,7 @@ export declare const actionAddToLibrary: {
|
|
|
241
243
|
currentItemOpacity: number;
|
|
242
244
|
currentItemFontFamily: number;
|
|
243
245
|
currentItemFontSize: number;
|
|
244
|
-
currentItemTextAlign:
|
|
246
|
+
currentItemTextAlign: string;
|
|
245
247
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
246
248
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
247
249
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -300,6 +302,7 @@ export declare const actionAddToLibrary: {
|
|
|
300
302
|
};
|
|
301
303
|
pendingImageElementId: string | null;
|
|
302
304
|
showHyperlinkPopup: false | "info" | "editor";
|
|
305
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
303
306
|
};
|
|
304
307
|
};
|
|
305
308
|
contextItemLabel: string;
|
|
@@ -63,7 +63,7 @@ export declare const actionBindText: {
|
|
|
63
63
|
currentItemOpacity: number;
|
|
64
64
|
currentItemFontFamily: number;
|
|
65
65
|
currentItemFontSize: number;
|
|
66
|
-
currentItemTextAlign:
|
|
66
|
+
currentItemTextAlign: string;
|
|
67
67
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
68
68
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
69
69
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -119,6 +119,7 @@ export declare const actionBindText: {
|
|
|
119
119
|
};
|
|
120
120
|
pendingImageElementId: string | null;
|
|
121
121
|
showHyperlinkPopup: false | "info" | "editor";
|
|
122
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
122
123
|
};
|
|
123
124
|
commitToHistory: true;
|
|
124
125
|
};
|
|
@@ -75,7 +75,7 @@ export declare const actionClearCanvas: {
|
|
|
75
75
|
currentItemOpacity: number;
|
|
76
76
|
currentItemFontFamily: number;
|
|
77
77
|
currentItemFontSize: number;
|
|
78
|
-
currentItemTextAlign:
|
|
78
|
+
currentItemTextAlign: string;
|
|
79
79
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
80
80
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
81
81
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -113,6 +113,7 @@ export declare const actionClearCanvas: {
|
|
|
113
113
|
currentChartType: import("../element/types").ChartType;
|
|
114
114
|
pendingImageElementId: string | null;
|
|
115
115
|
showHyperlinkPopup: false | "info" | "editor";
|
|
116
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
116
117
|
};
|
|
117
118
|
commitToHistory: true;
|
|
118
119
|
};
|
|
@@ -169,7 +170,7 @@ export declare const actionZoomIn: {
|
|
|
169
170
|
currentItemOpacity: number;
|
|
170
171
|
currentItemFontFamily: number;
|
|
171
172
|
currentItemFontSize: number;
|
|
172
|
-
currentItemTextAlign:
|
|
173
|
+
currentItemTextAlign: string;
|
|
173
174
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
174
175
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
175
176
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -223,6 +224,7 @@ export declare const actionZoomIn: {
|
|
|
223
224
|
};
|
|
224
225
|
pendingImageElementId: string | null;
|
|
225
226
|
showHyperlinkPopup: false | "info" | "editor";
|
|
227
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
226
228
|
};
|
|
227
229
|
commitToHistory: false;
|
|
228
230
|
};
|
|
@@ -280,7 +282,7 @@ export declare const actionZoomOut: {
|
|
|
280
282
|
currentItemOpacity: number;
|
|
281
283
|
currentItemFontFamily: number;
|
|
282
284
|
currentItemFontSize: number;
|
|
283
|
-
currentItemTextAlign:
|
|
285
|
+
currentItemTextAlign: string;
|
|
284
286
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
285
287
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
286
288
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -334,6 +336,7 @@ export declare const actionZoomOut: {
|
|
|
334
336
|
};
|
|
335
337
|
pendingImageElementId: string | null;
|
|
336
338
|
showHyperlinkPopup: false | "info" | "editor";
|
|
339
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
337
340
|
};
|
|
338
341
|
commitToHistory: false;
|
|
339
342
|
};
|
|
@@ -391,7 +394,7 @@ export declare const actionResetZoom: {
|
|
|
391
394
|
currentItemOpacity: number;
|
|
392
395
|
currentItemFontFamily: number;
|
|
393
396
|
currentItemFontSize: number;
|
|
394
|
-
currentItemTextAlign:
|
|
397
|
+
currentItemTextAlign: string;
|
|
395
398
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
396
399
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
397
400
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -445,6 +448,7 @@ export declare const actionResetZoom: {
|
|
|
445
448
|
};
|
|
446
449
|
pendingImageElementId: string | null;
|
|
447
450
|
showHyperlinkPopup: false | "info" | "editor";
|
|
451
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
448
452
|
};
|
|
449
453
|
commitToHistory: false;
|
|
450
454
|
};
|
|
@@ -502,7 +506,7 @@ export declare const actionZoomToSelected: {
|
|
|
502
506
|
currentItemOpacity: number;
|
|
503
507
|
currentItemFontFamily: number;
|
|
504
508
|
currentItemFontSize: number;
|
|
505
|
-
currentItemTextAlign:
|
|
509
|
+
currentItemTextAlign: string;
|
|
506
510
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
507
511
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
508
512
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -556,6 +560,7 @@ export declare const actionZoomToSelected: {
|
|
|
556
560
|
};
|
|
557
561
|
pendingImageElementId: string | null;
|
|
558
562
|
showHyperlinkPopup: false | "info" | "editor";
|
|
563
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
559
564
|
};
|
|
560
565
|
commitToHistory: boolean;
|
|
561
566
|
};
|
|
@@ -612,7 +617,7 @@ export declare const actionZoomToFit: {
|
|
|
612
617
|
currentItemOpacity: number;
|
|
613
618
|
currentItemFontFamily: number;
|
|
614
619
|
currentItemFontSize: number;
|
|
615
|
-
currentItemTextAlign:
|
|
620
|
+
currentItemTextAlign: string;
|
|
616
621
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
617
622
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
618
623
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -666,6 +671,7 @@ export declare const actionZoomToFit: {
|
|
|
666
671
|
};
|
|
667
672
|
pendingImageElementId: string | null;
|
|
668
673
|
showHyperlinkPopup: false | "info" | "editor";
|
|
674
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
669
675
|
};
|
|
670
676
|
commitToHistory: boolean;
|
|
671
677
|
};
|
|
@@ -718,7 +724,7 @@ export declare const actionToggleTheme: {
|
|
|
718
724
|
currentItemOpacity: number;
|
|
719
725
|
currentItemFontFamily: number;
|
|
720
726
|
currentItemFontSize: number;
|
|
721
|
-
currentItemTextAlign:
|
|
727
|
+
currentItemTextAlign: string;
|
|
722
728
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
723
729
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
724
730
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -776,6 +782,7 @@ export declare const actionToggleTheme: {
|
|
|
776
782
|
};
|
|
777
783
|
pendingImageElementId: string | null;
|
|
778
784
|
showHyperlinkPopup: false | "info" | "editor";
|
|
785
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
779
786
|
};
|
|
780
787
|
commitToHistory: false;
|
|
781
788
|
};
|
|
@@ -830,7 +837,7 @@ export declare const actionErase: {
|
|
|
830
837
|
currentItemOpacity: number;
|
|
831
838
|
currentItemFontFamily: number;
|
|
832
839
|
currentItemFontSize: number;
|
|
833
|
-
currentItemTextAlign:
|
|
840
|
+
currentItemTextAlign: string;
|
|
834
841
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
835
842
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
836
843
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -883,6 +890,7 @@ export declare const actionErase: {
|
|
|
883
890
|
};
|
|
884
891
|
pendingImageElementId: string | null;
|
|
885
892
|
showHyperlinkPopup: false | "info" | "editor";
|
|
893
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
886
894
|
};
|
|
887
895
|
commitToHistory: true;
|
|
888
896
|
};
|
|
@@ -57,7 +57,7 @@ export declare const actionCut: {
|
|
|
57
57
|
currentItemOpacity: number;
|
|
58
58
|
currentItemFontFamily: number;
|
|
59
59
|
currentItemFontSize: number;
|
|
60
|
-
currentItemTextAlign:
|
|
60
|
+
currentItemTextAlign: string;
|
|
61
61
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
62
62
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
63
63
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -116,6 +116,7 @@ export declare const actionCut: {
|
|
|
116
116
|
};
|
|
117
117
|
pendingImageElementId: string | null;
|
|
118
118
|
showHyperlinkPopup: false | "info" | "editor";
|
|
119
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
119
120
|
};
|
|
120
121
|
commitToHistory: false;
|
|
121
122
|
} | {
|
|
@@ -138,6 +139,8 @@ export declare const actionCut: {
|
|
|
138
139
|
x: number;
|
|
139
140
|
y: number;
|
|
140
141
|
}>;
|
|
142
|
+
hoverPointIndex: number;
|
|
143
|
+
segmentMidPointHoveredCoords: readonly [number, number] | null;
|
|
141
144
|
};
|
|
142
145
|
isLoading: boolean;
|
|
143
146
|
errorMessage: string | null;
|
|
@@ -175,7 +178,7 @@ export declare const actionCut: {
|
|
|
175
178
|
currentItemOpacity: number;
|
|
176
179
|
currentItemFontFamily: number;
|
|
177
180
|
currentItemFontSize: number;
|
|
178
|
-
currentItemTextAlign:
|
|
181
|
+
currentItemTextAlign: string;
|
|
179
182
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
180
183
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
181
184
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -234,6 +237,7 @@ export declare const actionCut: {
|
|
|
234
237
|
};
|
|
235
238
|
pendingImageElementId: string | null;
|
|
236
239
|
showHyperlinkPopup: false | "info" | "editor";
|
|
240
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
237
241
|
};
|
|
238
242
|
commitToHistory: true;
|
|
239
243
|
} | {
|
|
@@ -277,7 +281,7 @@ export declare const actionCut: {
|
|
|
277
281
|
currentItemOpacity: number;
|
|
278
282
|
currentItemFontFamily: number;
|
|
279
283
|
currentItemFontSize: number;
|
|
280
|
-
currentItemTextAlign:
|
|
284
|
+
currentItemTextAlign: string;
|
|
281
285
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
282
286
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
283
287
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -333,6 +337,7 @@ export declare const actionCut: {
|
|
|
333
337
|
};
|
|
334
338
|
pendingImageElementId: string | null;
|
|
335
339
|
showHyperlinkPopup: false | "info" | "editor";
|
|
340
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
336
341
|
};
|
|
337
342
|
commitToHistory: boolean;
|
|
338
343
|
};
|
|
@@ -388,7 +393,7 @@ export declare const actionCopyAsSvg: {
|
|
|
388
393
|
currentItemOpacity: number;
|
|
389
394
|
currentItemFontFamily: number;
|
|
390
395
|
currentItemFontSize: number;
|
|
391
|
-
currentItemTextAlign:
|
|
396
|
+
currentItemTextAlign: string;
|
|
392
397
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
393
398
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
394
399
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -447,6 +452,7 @@ export declare const actionCopyAsSvg: {
|
|
|
447
452
|
};
|
|
448
453
|
pendingImageElementId: string | null;
|
|
449
454
|
showHyperlinkPopup: false | "info" | "editor";
|
|
455
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
450
456
|
};
|
|
451
457
|
commitToHistory: false;
|
|
452
458
|
}>;
|
|
@@ -501,7 +507,7 @@ export declare const actionCopyAsPng: {
|
|
|
501
507
|
currentItemOpacity: number;
|
|
502
508
|
currentItemFontFamily: number;
|
|
503
509
|
currentItemFontSize: number;
|
|
504
|
-
currentItemTextAlign:
|
|
510
|
+
currentItemTextAlign: string;
|
|
505
511
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
506
512
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
507
513
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -560,6 +566,7 @@ export declare const actionCopyAsPng: {
|
|
|
560
566
|
};
|
|
561
567
|
pendingImageElementId: string | null;
|
|
562
568
|
showHyperlinkPopup: false | "info" | "editor";
|
|
569
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
563
570
|
};
|
|
564
571
|
commitToHistory: false;
|
|
565
572
|
}>;
|
|
@@ -48,7 +48,7 @@ export declare const actionDeleteSelected: {
|
|
|
48
48
|
currentItemOpacity: number;
|
|
49
49
|
currentItemFontFamily: number;
|
|
50
50
|
currentItemFontSize: number;
|
|
51
|
-
currentItemTextAlign:
|
|
51
|
+
currentItemTextAlign: string;
|
|
52
52
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
53
53
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
54
54
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -107,6 +107,7 @@ export declare const actionDeleteSelected: {
|
|
|
107
107
|
};
|
|
108
108
|
pendingImageElementId: string | null;
|
|
109
109
|
showHyperlinkPopup: false | "info" | "editor";
|
|
110
|
+
selectedLinearElement: LinearElementEditor | null;
|
|
110
111
|
};
|
|
111
112
|
commitToHistory: false;
|
|
112
113
|
} | {
|
|
@@ -129,6 +130,8 @@ export declare const actionDeleteSelected: {
|
|
|
129
130
|
x: number;
|
|
130
131
|
y: number;
|
|
131
132
|
}>;
|
|
133
|
+
hoverPointIndex: number;
|
|
134
|
+
segmentMidPointHoveredCoords: readonly [number, number] | null;
|
|
132
135
|
};
|
|
133
136
|
isLoading: boolean;
|
|
134
137
|
errorMessage: string | null;
|
|
@@ -166,7 +169,7 @@ export declare const actionDeleteSelected: {
|
|
|
166
169
|
currentItemOpacity: number;
|
|
167
170
|
currentItemFontFamily: number;
|
|
168
171
|
currentItemFontSize: number;
|
|
169
|
-
currentItemTextAlign:
|
|
172
|
+
currentItemTextAlign: string;
|
|
170
173
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
171
174
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
172
175
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -225,6 +228,7 @@ export declare const actionDeleteSelected: {
|
|
|
225
228
|
};
|
|
226
229
|
pendingImageElementId: string | null;
|
|
227
230
|
showHyperlinkPopup: false | "info" | "editor";
|
|
231
|
+
selectedLinearElement: LinearElementEditor | null;
|
|
228
232
|
};
|
|
229
233
|
commitToHistory: true;
|
|
230
234
|
} | {
|
|
@@ -268,7 +272,7 @@ export declare const actionDeleteSelected: {
|
|
|
268
272
|
currentItemOpacity: number;
|
|
269
273
|
currentItemFontFamily: number;
|
|
270
274
|
currentItemFontSize: number;
|
|
271
|
-
currentItemTextAlign:
|
|
275
|
+
currentItemTextAlign: string;
|
|
272
276
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
273
277
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
274
278
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -324,6 +328,7 @@ export declare const actionDeleteSelected: {
|
|
|
324
328
|
};
|
|
325
329
|
pendingImageElementId: string | null;
|
|
326
330
|
showHyperlinkPopup: false | "info" | "editor";
|
|
331
|
+
selectedLinearElement: LinearElementEditor | null;
|
|
327
332
|
};
|
|
328
333
|
commitToHistory: boolean;
|
|
329
334
|
};
|
|
@@ -43,7 +43,7 @@ export declare const actionChangeProjectName: {
|
|
|
43
43
|
currentItemOpacity: number;
|
|
44
44
|
currentItemFontFamily: number;
|
|
45
45
|
currentItemFontSize: number;
|
|
46
|
-
currentItemTextAlign:
|
|
46
|
+
currentItemTextAlign: string;
|
|
47
47
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
48
48
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
49
49
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -101,6 +101,7 @@ export declare const actionChangeProjectName: {
|
|
|
101
101
|
};
|
|
102
102
|
pendingImageElementId: string | null;
|
|
103
103
|
showHyperlinkPopup: false | "info" | "editor";
|
|
104
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
104
105
|
};
|
|
105
106
|
commitToHistory: false;
|
|
106
107
|
};
|
|
@@ -153,7 +154,7 @@ export declare const actionChangeExportScale: {
|
|
|
153
154
|
currentItemOpacity: number;
|
|
154
155
|
currentItemFontFamily: number;
|
|
155
156
|
currentItemFontSize: number;
|
|
156
|
-
currentItemTextAlign:
|
|
157
|
+
currentItemTextAlign: string;
|
|
157
158
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
158
159
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
159
160
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -212,6 +213,7 @@ export declare const actionChangeExportScale: {
|
|
|
212
213
|
};
|
|
213
214
|
pendingImageElementId: string | null;
|
|
214
215
|
showHyperlinkPopup: false | "info" | "editor";
|
|
216
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
215
217
|
};
|
|
216
218
|
commitToHistory: false;
|
|
217
219
|
};
|
|
@@ -264,7 +266,7 @@ export declare const actionChangeExportBackground: {
|
|
|
264
266
|
currentItemOpacity: number;
|
|
265
267
|
currentItemFontFamily: number;
|
|
266
268
|
currentItemFontSize: number;
|
|
267
|
-
currentItemTextAlign:
|
|
269
|
+
currentItemTextAlign: string;
|
|
268
270
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
269
271
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
270
272
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -323,6 +325,7 @@ export declare const actionChangeExportBackground: {
|
|
|
323
325
|
};
|
|
324
326
|
pendingImageElementId: string | null;
|
|
325
327
|
showHyperlinkPopup: false | "info" | "editor";
|
|
328
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
326
329
|
};
|
|
327
330
|
commitToHistory: false;
|
|
328
331
|
};
|
|
@@ -375,7 +378,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
375
378
|
currentItemOpacity: number;
|
|
376
379
|
currentItemFontFamily: number;
|
|
377
380
|
currentItemFontSize: number;
|
|
378
|
-
currentItemTextAlign:
|
|
381
|
+
currentItemTextAlign: string;
|
|
379
382
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
380
383
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
381
384
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -434,6 +437,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
434
437
|
};
|
|
435
438
|
pendingImageElementId: string | null;
|
|
436
439
|
showHyperlinkPopup: false | "info" | "editor";
|
|
440
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
437
441
|
};
|
|
438
442
|
commitToHistory: false;
|
|
439
443
|
};
|
|
@@ -490,7 +494,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
490
494
|
currentItemOpacity: number;
|
|
491
495
|
currentItemFontFamily: number;
|
|
492
496
|
currentItemFontSize: number;
|
|
493
|
-
currentItemTextAlign:
|
|
497
|
+
currentItemTextAlign: string;
|
|
494
498
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
495
499
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
496
500
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -543,6 +547,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
543
547
|
};
|
|
544
548
|
pendingImageElementId: string | null;
|
|
545
549
|
showHyperlinkPopup: false | "info" | "editor";
|
|
550
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
546
551
|
};
|
|
547
552
|
} | {
|
|
548
553
|
commitToHistory: false;
|
|
@@ -599,7 +604,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
599
604
|
currentItemOpacity: number;
|
|
600
605
|
currentItemFontFamily: number;
|
|
601
606
|
currentItemFontSize: number;
|
|
602
|
-
currentItemTextAlign:
|
|
607
|
+
currentItemTextAlign: string;
|
|
603
608
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
604
609
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
605
610
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -657,6 +662,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
657
662
|
};
|
|
658
663
|
pendingImageElementId: string | null;
|
|
659
664
|
showHyperlinkPopup: false | "info" | "editor";
|
|
665
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
660
666
|
};
|
|
661
667
|
} | {
|
|
662
668
|
commitToHistory: false;
|
|
@@ -720,7 +726,7 @@ export declare const actionLoadScene: {
|
|
|
720
726
|
currentItemOpacity: number;
|
|
721
727
|
currentItemFontFamily: number;
|
|
722
728
|
currentItemFontSize: number;
|
|
723
|
-
currentItemTextAlign:
|
|
729
|
+
currentItemTextAlign: string;
|
|
724
730
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
725
731
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
726
732
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -767,6 +773,7 @@ export declare const actionLoadScene: {
|
|
|
767
773
|
};
|
|
768
774
|
pendingImageElementId: string | null;
|
|
769
775
|
showHyperlinkPopup: false | "info" | "editor";
|
|
776
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
770
777
|
};
|
|
771
778
|
files: import("../types").BinaryFiles;
|
|
772
779
|
commitToHistory: true;
|
|
@@ -810,7 +817,7 @@ export declare const actionLoadScene: {
|
|
|
810
817
|
currentItemOpacity: number;
|
|
811
818
|
currentItemFontFamily: number;
|
|
812
819
|
currentItemFontSize: number;
|
|
813
|
-
currentItemTextAlign:
|
|
820
|
+
currentItemTextAlign: string;
|
|
814
821
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
815
822
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
816
823
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -869,12 +876,13 @@ export declare const actionLoadScene: {
|
|
|
869
876
|
};
|
|
870
877
|
pendingImageElementId: string | null;
|
|
871
878
|
showHyperlinkPopup: false | "info" | "editor";
|
|
879
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
872
880
|
};
|
|
873
881
|
files: import("../types").BinaryFiles;
|
|
874
882
|
commitToHistory: false;
|
|
875
883
|
}>;
|
|
876
884
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
877
|
-
PanelComponent: ({ updateData
|
|
885
|
+
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
878
886
|
} & {
|
|
879
887
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
880
888
|
};
|
|
@@ -923,7 +931,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
923
931
|
currentItemOpacity: number;
|
|
924
932
|
currentItemFontFamily: number;
|
|
925
933
|
currentItemFontSize: number;
|
|
926
|
-
currentItemTextAlign:
|
|
934
|
+
currentItemTextAlign: string;
|
|
927
935
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
928
936
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
929
937
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -982,6 +990,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
982
990
|
};
|
|
983
991
|
pendingImageElementId: string | null;
|
|
984
992
|
showHyperlinkPopup: false | "info" | "editor";
|
|
993
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
985
994
|
};
|
|
986
995
|
commitToHistory: false;
|
|
987
996
|
};
|
|
@@ -45,7 +45,7 @@ export declare const actionFinalize: {
|
|
|
45
45
|
currentItemOpacity: number;
|
|
46
46
|
currentItemFontFamily: number;
|
|
47
47
|
currentItemFontSize: number;
|
|
48
|
-
currentItemTextAlign:
|
|
48
|
+
currentItemTextAlign: string;
|
|
49
49
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
50
50
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
51
51
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -103,6 +103,7 @@ export declare const actionFinalize: {
|
|
|
103
103
|
};
|
|
104
104
|
pendingImageElementId: string | null;
|
|
105
105
|
showHyperlinkPopup: false | "info" | "editor";
|
|
106
|
+
selectedLinearElement: LinearElementEditor | null;
|
|
106
107
|
};
|
|
107
108
|
commitToHistory: true;
|
|
108
109
|
} | {
|
|
@@ -128,6 +129,7 @@ export declare const actionFinalize: {
|
|
|
128
129
|
selectedElementIds: {
|
|
129
130
|
[id: string]: boolean;
|
|
130
131
|
};
|
|
132
|
+
selectedLinearElement: LinearElementEditor | null;
|
|
131
133
|
pendingImageElementId: null;
|
|
132
134
|
isLoading: boolean;
|
|
133
135
|
errorMessage: string | null;
|
|
@@ -150,7 +152,7 @@ export declare const actionFinalize: {
|
|
|
150
152
|
currentItemOpacity: number;
|
|
151
153
|
currentItemFontFamily: number;
|
|
152
154
|
currentItemFontSize: number;
|
|
153
|
-
currentItemTextAlign:
|
|
155
|
+
currentItemTextAlign: string;
|
|
154
156
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
155
157
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
156
158
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -44,7 +44,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
44
44
|
currentItemOpacity: number;
|
|
45
45
|
currentItemFontFamily: number;
|
|
46
46
|
currentItemFontSize: number;
|
|
47
|
-
currentItemTextAlign:
|
|
47
|
+
currentItemTextAlign: string;
|
|
48
48
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
49
49
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
50
50
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -102,6 +102,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
102
102
|
};
|
|
103
103
|
pendingImageElementId: string | null;
|
|
104
104
|
showHyperlinkPopup: false | "info" | "editor";
|
|
105
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
105
106
|
};
|
|
106
107
|
commitToHistory: false;
|
|
107
108
|
};
|
|
@@ -154,7 +155,7 @@ export declare const actionToggleEditMenu: {
|
|
|
154
155
|
currentItemOpacity: number;
|
|
155
156
|
currentItemFontFamily: number;
|
|
156
157
|
currentItemFontSize: number;
|
|
157
|
-
currentItemTextAlign:
|
|
158
|
+
currentItemTextAlign: string;
|
|
158
159
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
159
160
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
160
161
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -212,6 +213,7 @@ export declare const actionToggleEditMenu: {
|
|
|
212
213
|
};
|
|
213
214
|
pendingImageElementId: string | null;
|
|
214
215
|
showHyperlinkPopup: false | "info" | "editor";
|
|
216
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
215
217
|
};
|
|
216
218
|
commitToHistory: false;
|
|
217
219
|
};
|
|
@@ -278,7 +280,7 @@ export declare const actionShortcuts: {
|
|
|
278
280
|
currentItemOpacity: number;
|
|
279
281
|
currentItemFontFamily: number;
|
|
280
282
|
currentItemFontSize: number;
|
|
281
|
-
currentItemTextAlign:
|
|
283
|
+
currentItemTextAlign: string;
|
|
282
284
|
currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
|
|
283
285
|
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
284
286
|
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
@@ -336,6 +338,7 @@ export declare const actionShortcuts: {
|
|
|
336
338
|
};
|
|
337
339
|
pendingImageElementId: string | null;
|
|
338
340
|
showHyperlinkPopup: false | "info" | "editor";
|
|
341
|
+
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
339
342
|
};
|
|
340
343
|
commitToHistory: false;
|
|
341
344
|
};
|