@zsviczian/excalidraw 0.18.0-6 → 0.18.0-8
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 +25 -25
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/common/src/utils.d.ts +3 -0
- package/types/element/src/binding.d.ts +1 -2
- package/types/element/src/bounds.d.ts +2 -2
- package/types/element/src/duplicate.d.ts +10 -13
- package/types/element/src/frame.d.ts +1 -1
- package/types/element/src/selection.d.ts +11 -0
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +12 -0
- package/types/excalidraw/actions/actionBoundText.d.ts +8 -0
- package/types/excalidraw/actions/actionCanvas.d.ts +60 -0
- package/types/excalidraw/actions/actionClipboard.d.ts +24 -0
- package/types/excalidraw/actions/actionCropEditor.d.ts +4 -0
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +12 -0
- package/types/excalidraw/actions/actionElementLink.d.ts +4 -0
- package/types/excalidraw/actions/actionElementLock.d.ts +8 -0
- package/types/excalidraw/actions/actionEmbeddable.d.ts +4 -0
- package/types/excalidraw/actions/actionExport.d.ts +36 -0
- package/types/excalidraw/actions/actionFinalize.d.ts +8 -0
- package/types/excalidraw/actions/actionFrame.d.ts +16 -0
- package/types/excalidraw/actions/actionGroup.d.ts +8 -0
- package/types/excalidraw/actions/actionLinearEditor.d.ts +4 -0
- package/types/excalidraw/actions/actionLink.d.ts +4 -0
- package/types/excalidraw/actions/actionMenu.d.ts +12 -0
- package/types/excalidraw/actions/actionNavigate.d.ts +8 -0
- package/types/excalidraw/actions/actionProperties.d.ts +60 -0
- package/types/excalidraw/actions/actionSelectAll.d.ts +4 -0
- package/types/excalidraw/actions/actionStyles.d.ts +4 -0
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +4 -0
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +4 -0
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +8 -0
- package/types/excalidraw/actions/actionToggleStats.d.ts +4 -0
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +4 -0
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +4 -0
- package/types/excalidraw/components/App.d.ts +8 -8
- package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
- package/types/excalidraw/scene/scrollbars.d.ts +2 -3
- package/types/excalidraw/types.d.ts +11 -0
package/package.json
CHANGED
|
@@ -251,4 +251,7 @@ export declare const safelyParseJSON: (json: string) => Record<string, any> | nu
|
|
|
251
251
|
export declare const escapeDoubleQuotes: (str: string) => string;
|
|
252
252
|
export declare const castArray: <T>(value: T | T[]) => T[];
|
|
253
253
|
export declare const elementCenterPoint: (element: ExcalidrawElement, xOffset?: number, yOffset?: number) => GlobalPoint;
|
|
254
|
+
/** hack for Array.isArray type guard not working with readonly value[] */
|
|
255
|
+
export declare const isReadonlyArray: (value?: any) => value is readonly any[];
|
|
256
|
+
export declare const sizeOf: (value: readonly number[] | Readonly<Map<any, any>> | Record<any, any>) => number;
|
|
254
257
|
export {};
|
|
@@ -45,8 +45,7 @@ export declare const snapToMid: (element: ExcalidrawBindableElement, p: GlobalPo
|
|
|
45
45
|
export declare const calculateFixedPointForElbowArrowBinding: (linearElement: NonDeleted<ExcalidrawElbowArrowElement>, hoveredElement: ExcalidrawBindableElement, startOrEnd: "start" | "end", elementsMap: ElementsMap) => {
|
|
46
46
|
fixedPoint: FixedPoint;
|
|
47
47
|
};
|
|
48
|
-
export declare const fixDuplicatedBindingsAfterDuplication: (
|
|
49
|
-
export declare const fixReversedBindings: (originalElements: Map<string, ExcalidrawElement>, elementsWithClones: ExcalidrawElement[], oldIdToDuplicatedId: Map<ExcalidrawElement["id"], ExcalidrawElement["id"]>) => void;
|
|
48
|
+
export declare const fixDuplicatedBindingsAfterDuplication: (duplicatedElements: ExcalidrawElement[], origIdToDuplicateId: Map<ExcalidrawElement["id"], ExcalidrawElement["id"]>, duplicateElementsMap: NonDeletedSceneElementsMap) => void;
|
|
50
49
|
export declare const fixBindingsAfterDeletion: (sceneElements: readonly ExcalidrawElement[], deletedElements: readonly ExcalidrawElement[]) => void;
|
|
51
50
|
export declare const bindingBorderTest: (element: NonDeleted<ExcalidrawBindableElement>, { x, y }: {
|
|
52
51
|
x: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Degrees, GlobalPoint, LineSegment } from "@excalidraw/math";
|
|
2
2
|
import type { AppState } from "@excalidraw/excalidraw/types";
|
|
3
|
-
import type { ExcalidrawElement, ExcalidrawLinearElement, Arrowhead, ExcalidrawFreeDrawElement, NonDeleted, ElementsMap } from "./types";
|
|
3
|
+
import type { ExcalidrawElement, ExcalidrawLinearElement, Arrowhead, ExcalidrawFreeDrawElement, NonDeleted, ElementsMap, ElementsMapOrArray } from "./types";
|
|
4
4
|
import type { Drawable, Op } from "roughjs/bin/core";
|
|
5
5
|
export type RectangleBox = {
|
|
6
6
|
x: number;
|
|
@@ -51,7 +51,7 @@ export declare const getArrowheadSize: (arrowhead: Arrowhead) => number;
|
|
|
51
51
|
export declare const getArrowheadAngle: (arrowhead: Arrowhead) => Degrees;
|
|
52
52
|
export declare const getArrowheadPoints: (element: ExcalidrawLinearElement, shape: Drawable[], position: "start" | "end", arrowhead: Arrowhead) => number[] | null;
|
|
53
53
|
export declare const getElementBounds: (element: ExcalidrawElement, elementsMap: ElementsMap) => Bounds;
|
|
54
|
-
export declare const getCommonBounds: (elements:
|
|
54
|
+
export declare const getCommonBounds: (elements: ElementsMapOrArray, elementsMap?: ElementsMap) => Bounds;
|
|
55
55
|
export declare const getDraggedElementsBounds: (elements: ExcalidrawElement[], dragOffset: {
|
|
56
56
|
x: number;
|
|
57
57
|
y: number;
|
|
@@ -13,13 +13,16 @@ import type { ExcalidrawElement, GroupId } from "./types";
|
|
|
13
13
|
* multiple elements at once, share this map
|
|
14
14
|
* amongst all of them
|
|
15
15
|
* @param element Element to duplicate
|
|
16
|
-
* @param overrides Any element properties to override
|
|
17
16
|
*/
|
|
18
|
-
export declare const duplicateElement: <TElement extends ExcalidrawElement>(editingGroupId: AppState["editingGroupId"], groupIdMapForOperation: Map<GroupId, GroupId>, element: TElement,
|
|
17
|
+
export declare const duplicateElement: <TElement extends ExcalidrawElement>(editingGroupId: AppState["editingGroupId"], groupIdMapForOperation: Map<GroupId, GroupId>, element: TElement, randomizeSeed?: boolean) => Readonly<TElement>;
|
|
19
18
|
export declare const duplicateElements: (opts: {
|
|
20
19
|
elements: readonly ExcalidrawElement[];
|
|
21
20
|
randomizeSeed?: boolean | undefined;
|
|
22
|
-
overrides?: ((
|
|
21
|
+
overrides?: ((data: {
|
|
22
|
+
duplicateElement: ExcalidrawElement;
|
|
23
|
+
origElement: ExcalidrawElement;
|
|
24
|
+
origIdToDuplicateId: Map<ExcalidrawElement["id"], ExcalidrawElement["id"]>;
|
|
25
|
+
}) => Partial<ExcalidrawElement>) | undefined;
|
|
23
26
|
} & ({
|
|
24
27
|
/**
|
|
25
28
|
* Duplicates all elements in array.
|
|
@@ -42,17 +45,11 @@ export declare const duplicateElements: (opts: {
|
|
|
42
45
|
editingGroupId: AppState["editingGroupId"];
|
|
43
46
|
selectedGroupIds: AppState["selectedGroupIds"];
|
|
44
47
|
};
|
|
45
|
-
/**
|
|
46
|
-
* If true, duplicated elements are inserted _before_ specified
|
|
47
|
-
* elements. Case: alt-dragging elements to duplicate them.
|
|
48
|
-
*
|
|
49
|
-
* TODO: remove this once (if) we stop replacing the original element
|
|
50
|
-
* with the duplicated one in the scene array.
|
|
51
|
-
*/
|
|
52
|
-
reverseOrder: boolean;
|
|
53
48
|
})) => {
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
duplicatedElements: ExcalidrawElement[];
|
|
50
|
+
duplicateElementsMap: Map<string, ExcalidrawElement>;
|
|
51
|
+
elementsWithDuplicates: ExcalidrawElement[];
|
|
52
|
+
origIdToDuplicateId: Map<string, string>;
|
|
56
53
|
};
|
|
57
54
|
/**
|
|
58
55
|
* Clones ExcalidrawElement data structure. Does not regenerate id, nonce, or
|
|
@@ -2,7 +2,7 @@ import type { ExcalidrawElementsIncludingDeleted } from "@excalidraw/excalidraw/
|
|
|
2
2
|
import type { AppClassProperties, AppState, StaticCanvasAppState } from "@excalidraw/excalidraw/types";
|
|
3
3
|
import type { ReadonlySetLike } from "@excalidraw/common/utility-types";
|
|
4
4
|
import type { ElementsMap, ElementsMapOrArray, ExcalidrawElement, ExcalidrawFrameLikeElement, NonDeleted, NonDeletedExcalidrawElement } from "./types";
|
|
5
|
-
export declare const bindElementsToFramesAfterDuplication: (nextElements: readonly ExcalidrawElement[],
|
|
5
|
+
export declare const bindElementsToFramesAfterDuplication: (nextElements: readonly ExcalidrawElement[], origElements: readonly ExcalidrawElement[], origIdToDuplicateId: Map<ExcalidrawElement["id"], ExcalidrawElement["id"]>) => void;
|
|
6
6
|
export declare function isElementIntersectingFrame(element: ExcalidrawElement, frame: ExcalidrawFrameLikeElement, elementsMap: ElementsMap): boolean;
|
|
7
7
|
export declare const getElementsCompletelyInFrame: (elements: readonly ExcalidrawElement[], frame: ExcalidrawFrameLikeElement, elementsMap: ElementsMap) => ExcalidrawElement[];
|
|
8
8
|
export declare const isElementContainingFrame: (element: ExcalidrawElement, frame: ExcalidrawFrameLikeElement, elementsMap: ElementsMap) => boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AppState, InteractiveCanvasAppState } from "@excalidraw/excalidraw/types";
|
|
2
|
+
import { LinearElementEditor } from "./linearElementEditor";
|
|
2
3
|
import type { ElementsMap, ElementsMapOrArray, ExcalidrawElement, NonDeletedExcalidrawElement } from "./types";
|
|
3
4
|
/**
|
|
4
5
|
* Frames and their containing elements are not to be selected at the same time.
|
|
@@ -30,3 +31,13 @@ export declare const getTargetElements: (elements: ElementsMapOrArray, appState:
|
|
|
30
31
|
export declare const makeNextSelectedElementIds: (nextSelectedElementIds: AppState["selectedElementIds"], prevState: Pick<AppState, "selectedElementIds">) => Readonly<{
|
|
31
32
|
[id: string]: true;
|
|
32
33
|
}>;
|
|
34
|
+
export declare const getSelectionStateForElements: (targetElements: readonly ExcalidrawElement[], allElements: readonly NonDeletedExcalidrawElement[], appState: AppState) => {
|
|
35
|
+
editingGroupId: string | null;
|
|
36
|
+
selectedElementIds: Readonly<{
|
|
37
|
+
[id: string]: true;
|
|
38
|
+
}>;
|
|
39
|
+
selectedGroupIds: {
|
|
40
|
+
[groupId: string]: boolean;
|
|
41
|
+
};
|
|
42
|
+
selectedLinearElement: LinearElementEditor | null;
|
|
43
|
+
};
|
|
@@ -177,6 +177,10 @@ export declare const actionAddToLibrary: {
|
|
|
177
177
|
Bold: string;
|
|
178
178
|
Regular: string;
|
|
179
179
|
};
|
|
180
|
+
gridDirection: {
|
|
181
|
+
horizontal: boolean;
|
|
182
|
+
vertical: boolean;
|
|
183
|
+
};
|
|
180
184
|
highlightSearchResult: boolean;
|
|
181
185
|
dynamicStyle: {
|
|
182
186
|
[x: string]: string;
|
|
@@ -385,6 +389,10 @@ export declare const actionAddToLibrary: {
|
|
|
385
389
|
Bold: string;
|
|
386
390
|
Regular: string;
|
|
387
391
|
};
|
|
392
|
+
gridDirection: {
|
|
393
|
+
horizontal: boolean;
|
|
394
|
+
vertical: boolean;
|
|
395
|
+
};
|
|
388
396
|
highlightSearchResult: boolean;
|
|
389
397
|
dynamicStyle: {
|
|
390
398
|
[x: string]: string;
|
|
@@ -593,6 +601,10 @@ export declare const actionAddToLibrary: {
|
|
|
593
601
|
Bold: string;
|
|
594
602
|
Regular: string;
|
|
595
603
|
};
|
|
604
|
+
gridDirection: {
|
|
605
|
+
horizontal: boolean;
|
|
606
|
+
vertical: boolean;
|
|
607
|
+
};
|
|
596
608
|
highlightSearchResult: boolean;
|
|
597
609
|
dynamicStyle: {
|
|
598
610
|
[x: string]: string;
|
|
@@ -199,6 +199,10 @@ export declare const actionBindText: {
|
|
|
199
199
|
Bold: string;
|
|
200
200
|
Regular: string;
|
|
201
201
|
};
|
|
202
|
+
gridDirection: {
|
|
203
|
+
horizontal: boolean;
|
|
204
|
+
vertical: boolean;
|
|
205
|
+
};
|
|
202
206
|
highlightSearchResult: boolean;
|
|
203
207
|
dynamicStyle: {
|
|
204
208
|
[x: string]: string;
|
|
@@ -419,6 +423,10 @@ export declare const actionWrapTextInContainer: {
|
|
|
419
423
|
Bold: string;
|
|
420
424
|
Regular: string;
|
|
421
425
|
};
|
|
426
|
+
gridDirection: {
|
|
427
|
+
horizontal: boolean;
|
|
428
|
+
vertical: boolean;
|
|
429
|
+
};
|
|
422
430
|
highlightSearchResult: boolean;
|
|
423
431
|
dynamicStyle: {
|
|
424
432
|
[x: string]: string;
|
|
@@ -143,6 +143,10 @@ export declare const actionClearCanvas: {
|
|
|
143
143
|
Bold: string;
|
|
144
144
|
Regular: string;
|
|
145
145
|
};
|
|
146
|
+
gridDirection: {
|
|
147
|
+
horizontal: boolean;
|
|
148
|
+
vertical: boolean;
|
|
149
|
+
};
|
|
146
150
|
highlightSearchResult: boolean;
|
|
147
151
|
isCropping: boolean;
|
|
148
152
|
croppingElementId: string | null;
|
|
@@ -416,6 +420,10 @@ export declare const actionZoomIn: {
|
|
|
416
420
|
Bold: string;
|
|
417
421
|
Regular: string;
|
|
418
422
|
};
|
|
423
|
+
gridDirection: {
|
|
424
|
+
horizontal: boolean;
|
|
425
|
+
vertical: boolean;
|
|
426
|
+
};
|
|
419
427
|
highlightSearchResult: boolean;
|
|
420
428
|
dynamicStyle: {
|
|
421
429
|
[x: string]: string;
|
|
@@ -638,6 +646,10 @@ export declare const actionZoomOut: {
|
|
|
638
646
|
Bold: string;
|
|
639
647
|
Regular: string;
|
|
640
648
|
};
|
|
649
|
+
gridDirection: {
|
|
650
|
+
horizontal: boolean;
|
|
651
|
+
vertical: boolean;
|
|
652
|
+
};
|
|
641
653
|
highlightSearchResult: boolean;
|
|
642
654
|
dynamicStyle: {
|
|
643
655
|
[x: string]: string;
|
|
@@ -860,6 +872,10 @@ export declare const actionResetZoom: {
|
|
|
860
872
|
Bold: string;
|
|
861
873
|
Regular: string;
|
|
862
874
|
};
|
|
875
|
+
gridDirection: {
|
|
876
|
+
horizontal: boolean;
|
|
877
|
+
vertical: boolean;
|
|
878
|
+
};
|
|
863
879
|
highlightSearchResult: boolean;
|
|
864
880
|
dynamicStyle: {
|
|
865
881
|
[x: string]: string;
|
|
@@ -1088,6 +1104,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
1088
1104
|
Bold: string;
|
|
1089
1105
|
Regular: string;
|
|
1090
1106
|
};
|
|
1107
|
+
gridDirection: {
|
|
1108
|
+
horizontal: boolean;
|
|
1109
|
+
vertical: boolean;
|
|
1110
|
+
};
|
|
1091
1111
|
highlightSearchResult: boolean;
|
|
1092
1112
|
dynamicStyle: {
|
|
1093
1113
|
[x: string]: string;
|
|
@@ -1312,6 +1332,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1312
1332
|
Bold: string;
|
|
1313
1333
|
Regular: string;
|
|
1314
1334
|
};
|
|
1335
|
+
gridDirection: {
|
|
1336
|
+
horizontal: boolean;
|
|
1337
|
+
vertical: boolean;
|
|
1338
|
+
};
|
|
1315
1339
|
highlightSearchResult: boolean;
|
|
1316
1340
|
dynamicStyle: {
|
|
1317
1341
|
[x: string]: string;
|
|
@@ -1528,6 +1552,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1528
1552
|
Bold: string;
|
|
1529
1553
|
Regular: string;
|
|
1530
1554
|
};
|
|
1555
|
+
gridDirection: {
|
|
1556
|
+
horizontal: boolean;
|
|
1557
|
+
vertical: boolean;
|
|
1558
|
+
};
|
|
1531
1559
|
highlightSearchResult: boolean;
|
|
1532
1560
|
dynamicStyle: {
|
|
1533
1561
|
[x: string]: string;
|
|
@@ -1748,6 +1776,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1748
1776
|
Bold: string;
|
|
1749
1777
|
Regular: string;
|
|
1750
1778
|
};
|
|
1779
|
+
gridDirection: {
|
|
1780
|
+
horizontal: boolean;
|
|
1781
|
+
vertical: boolean;
|
|
1782
|
+
};
|
|
1751
1783
|
highlightSearchResult: boolean;
|
|
1752
1784
|
dynamicStyle: {
|
|
1753
1785
|
[x: string]: string;
|
|
@@ -1969,6 +2001,10 @@ export declare const actionZoomToFit: {
|
|
|
1969
2001
|
Bold: string;
|
|
1970
2002
|
Regular: string;
|
|
1971
2003
|
};
|
|
2004
|
+
gridDirection: {
|
|
2005
|
+
horizontal: boolean;
|
|
2006
|
+
vertical: boolean;
|
|
2007
|
+
};
|
|
1972
2008
|
highlightSearchResult: boolean;
|
|
1973
2009
|
dynamicStyle: {
|
|
1974
2010
|
[x: string]: string;
|
|
@@ -2191,6 +2227,10 @@ export declare const actionToggleTheme: {
|
|
|
2191
2227
|
Bold: string;
|
|
2192
2228
|
Regular: string;
|
|
2193
2229
|
};
|
|
2230
|
+
gridDirection: {
|
|
2231
|
+
horizontal: boolean;
|
|
2232
|
+
vertical: boolean;
|
|
2233
|
+
};
|
|
2194
2234
|
highlightSearchResult: boolean;
|
|
2195
2235
|
dynamicStyle: {
|
|
2196
2236
|
[x: string]: string;
|
|
@@ -2404,6 +2444,10 @@ export declare const actionToggleEraserTool: {
|
|
|
2404
2444
|
Bold: string;
|
|
2405
2445
|
Regular: string;
|
|
2406
2446
|
};
|
|
2447
|
+
gridDirection: {
|
|
2448
|
+
horizontal: boolean;
|
|
2449
|
+
vertical: boolean;
|
|
2450
|
+
};
|
|
2407
2451
|
highlightSearchResult: boolean;
|
|
2408
2452
|
dynamicStyle: {
|
|
2409
2453
|
[x: string]: string;
|
|
@@ -2617,6 +2661,10 @@ export declare const actionToggleLassoTool: {
|
|
|
2617
2661
|
Bold: string;
|
|
2618
2662
|
Regular: string;
|
|
2619
2663
|
};
|
|
2664
|
+
gridDirection: {
|
|
2665
|
+
horizontal: boolean;
|
|
2666
|
+
vertical: boolean;
|
|
2667
|
+
};
|
|
2620
2668
|
highlightSearchResult: boolean;
|
|
2621
2669
|
dynamicStyle: {
|
|
2622
2670
|
[x: string]: string;
|
|
@@ -2830,6 +2878,10 @@ export declare const actionToggleHandTool: {
|
|
|
2830
2878
|
Bold: string;
|
|
2831
2879
|
Regular: string;
|
|
2832
2880
|
};
|
|
2881
|
+
gridDirection: {
|
|
2882
|
+
horizontal: boolean;
|
|
2883
|
+
vertical: boolean;
|
|
2884
|
+
};
|
|
2833
2885
|
highlightSearchResult: boolean;
|
|
2834
2886
|
dynamicStyle: {
|
|
2835
2887
|
[x: string]: string;
|
|
@@ -3042,6 +3094,10 @@ export declare const actionToggleLaserPointer: {
|
|
|
3042
3094
|
Bold: string;
|
|
3043
3095
|
Regular: string;
|
|
3044
3096
|
};
|
|
3097
|
+
gridDirection: {
|
|
3098
|
+
horizontal: boolean;
|
|
3099
|
+
vertical: boolean;
|
|
3100
|
+
};
|
|
3045
3101
|
highlightSearchResult: boolean;
|
|
3046
3102
|
dynamicStyle: {
|
|
3047
3103
|
[x: string]: string;
|
|
@@ -3257,6 +3313,10 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
3257
3313
|
Bold: string;
|
|
3258
3314
|
Regular: string;
|
|
3259
3315
|
};
|
|
3316
|
+
gridDirection: {
|
|
3317
|
+
horizontal: boolean;
|
|
3318
|
+
vertical: boolean;
|
|
3319
|
+
};
|
|
3260
3320
|
highlightSearchResult: boolean;
|
|
3261
3321
|
dynamicStyle: {
|
|
3262
3322
|
[x: string]: string;
|
|
@@ -181,6 +181,10 @@ export declare const actionCopy: {
|
|
|
181
181
|
Bold: string;
|
|
182
182
|
Regular: string;
|
|
183
183
|
};
|
|
184
|
+
gridDirection: {
|
|
185
|
+
horizontal: boolean;
|
|
186
|
+
vertical: boolean;
|
|
187
|
+
};
|
|
184
188
|
highlightSearchResult: boolean;
|
|
185
189
|
dynamicStyle: {
|
|
186
190
|
[x: string]: string;
|
|
@@ -403,6 +407,10 @@ export declare const actionPaste: {
|
|
|
403
407
|
Bold: string;
|
|
404
408
|
Regular: string;
|
|
405
409
|
};
|
|
410
|
+
gridDirection: {
|
|
411
|
+
horizontal: boolean;
|
|
412
|
+
vertical: boolean;
|
|
413
|
+
};
|
|
406
414
|
highlightSearchResult: boolean;
|
|
407
415
|
dynamicStyle: {
|
|
408
416
|
[x: string]: string;
|
|
@@ -626,6 +634,10 @@ export declare const actionCut: {
|
|
|
626
634
|
Bold: string;
|
|
627
635
|
Regular: string;
|
|
628
636
|
};
|
|
637
|
+
gridDirection: {
|
|
638
|
+
horizontal: boolean;
|
|
639
|
+
vertical: boolean;
|
|
640
|
+
};
|
|
629
641
|
highlightSearchResult: boolean;
|
|
630
642
|
dynamicStyle: {
|
|
631
643
|
[x: string]: string;
|
|
@@ -865,6 +877,10 @@ export declare const actionCut: {
|
|
|
865
877
|
Bold: string;
|
|
866
878
|
Regular: string;
|
|
867
879
|
};
|
|
880
|
+
gridDirection: {
|
|
881
|
+
horizontal: boolean;
|
|
882
|
+
vertical: boolean;
|
|
883
|
+
};
|
|
868
884
|
highlightSearchResult: boolean;
|
|
869
885
|
dynamicStyle: {
|
|
870
886
|
[x: string]: string;
|
|
@@ -1072,6 +1088,10 @@ export declare const actionCut: {
|
|
|
1072
1088
|
Bold: string;
|
|
1073
1089
|
Regular: string;
|
|
1074
1090
|
};
|
|
1091
|
+
gridDirection: {
|
|
1092
|
+
horizontal: boolean;
|
|
1093
|
+
vertical: boolean;
|
|
1094
|
+
};
|
|
1075
1095
|
highlightSearchResult: boolean;
|
|
1076
1096
|
dynamicStyle: {
|
|
1077
1097
|
[x: string]: string;
|
|
@@ -1324,6 +1344,10 @@ export declare const actionCopyAsPng: {
|
|
|
1324
1344
|
Bold: string;
|
|
1325
1345
|
Regular: string;
|
|
1326
1346
|
};
|
|
1347
|
+
gridDirection: {
|
|
1348
|
+
horizontal: boolean;
|
|
1349
|
+
vertical: boolean;
|
|
1350
|
+
};
|
|
1327
1351
|
highlightSearchResult: boolean;
|
|
1328
1352
|
dynamicStyle: {
|
|
1329
1353
|
[x: string]: string;
|
|
@@ -184,6 +184,10 @@ export declare const actionToggleCropEditor: {
|
|
|
184
184
|
Bold: string;
|
|
185
185
|
Regular: string;
|
|
186
186
|
};
|
|
187
|
+
gridDirection: {
|
|
188
|
+
horizontal: boolean;
|
|
189
|
+
vertical: boolean;
|
|
190
|
+
};
|
|
187
191
|
highlightSearchResult: boolean;
|
|
188
192
|
dynamicStyle: {
|
|
189
193
|
[x: string]: string;
|
|
@@ -185,6 +185,10 @@ export declare const actionDeleteSelected: {
|
|
|
185
185
|
Bold: string;
|
|
186
186
|
Regular: string;
|
|
187
187
|
};
|
|
188
|
+
gridDirection: {
|
|
189
|
+
horizontal: boolean;
|
|
190
|
+
vertical: boolean;
|
|
191
|
+
};
|
|
188
192
|
highlightSearchResult: boolean;
|
|
189
193
|
dynamicStyle: {
|
|
190
194
|
[x: string]: string;
|
|
@@ -424,6 +428,10 @@ export declare const actionDeleteSelected: {
|
|
|
424
428
|
Bold: string;
|
|
425
429
|
Regular: string;
|
|
426
430
|
};
|
|
431
|
+
gridDirection: {
|
|
432
|
+
horizontal: boolean;
|
|
433
|
+
vertical: boolean;
|
|
434
|
+
};
|
|
427
435
|
highlightSearchResult: boolean;
|
|
428
436
|
dynamicStyle: {
|
|
429
437
|
[x: string]: string;
|
|
@@ -631,6 +639,10 @@ export declare const actionDeleteSelected: {
|
|
|
631
639
|
Bold: string;
|
|
632
640
|
Regular: string;
|
|
633
641
|
};
|
|
642
|
+
gridDirection: {
|
|
643
|
+
horizontal: boolean;
|
|
644
|
+
vertical: boolean;
|
|
645
|
+
};
|
|
634
646
|
highlightSearchResult: boolean;
|
|
635
647
|
dynamicStyle: {
|
|
636
648
|
[x: string]: string;
|
|
@@ -184,6 +184,10 @@ export declare const actionToggleElementLock: {
|
|
|
184
184
|
Bold: string;
|
|
185
185
|
Regular: string;
|
|
186
186
|
};
|
|
187
|
+
gridDirection: {
|
|
188
|
+
horizontal: boolean;
|
|
189
|
+
vertical: boolean;
|
|
190
|
+
};
|
|
187
191
|
highlightSearchResult: boolean;
|
|
188
192
|
dynamicStyle: {
|
|
189
193
|
[x: string]: string;
|
|
@@ -405,6 +409,10 @@ export declare const actionUnlockAllElements: {
|
|
|
405
409
|
Bold: string;
|
|
406
410
|
Regular: string;
|
|
407
411
|
};
|
|
412
|
+
gridDirection: {
|
|
413
|
+
horizontal: boolean;
|
|
414
|
+
vertical: boolean;
|
|
415
|
+
};
|
|
408
416
|
highlightSearchResult: boolean;
|
|
409
417
|
dynamicStyle: {
|
|
410
418
|
[x: string]: string;
|
|
@@ -181,6 +181,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
181
181
|
Bold: string;
|
|
182
182
|
Regular: string;
|
|
183
183
|
};
|
|
184
|
+
gridDirection: {
|
|
185
|
+
horizontal: boolean;
|
|
186
|
+
vertical: boolean;
|
|
187
|
+
};
|
|
184
188
|
highlightSearchResult: boolean;
|
|
185
189
|
dynamicStyle: {
|
|
186
190
|
[x: string]: string;
|
|
@@ -179,6 +179,10 @@ export declare const actionChangeProjectName: {
|
|
|
179
179
|
Bold: string;
|
|
180
180
|
Regular: string;
|
|
181
181
|
};
|
|
182
|
+
gridDirection: {
|
|
183
|
+
horizontal: boolean;
|
|
184
|
+
vertical: boolean;
|
|
185
|
+
};
|
|
182
186
|
highlightSearchResult: boolean;
|
|
183
187
|
dynamicStyle: {
|
|
184
188
|
[x: string]: string;
|
|
@@ -399,6 +403,10 @@ export declare const actionChangeExportScale: {
|
|
|
399
403
|
Bold: string;
|
|
400
404
|
Regular: string;
|
|
401
405
|
};
|
|
406
|
+
gridDirection: {
|
|
407
|
+
horizontal: boolean;
|
|
408
|
+
vertical: boolean;
|
|
409
|
+
};
|
|
402
410
|
highlightSearchResult: boolean;
|
|
403
411
|
dynamicStyle: {
|
|
404
412
|
[x: string]: string;
|
|
@@ -619,6 +627,10 @@ export declare const actionChangeExportBackground: {
|
|
|
619
627
|
Bold: string;
|
|
620
628
|
Regular: string;
|
|
621
629
|
};
|
|
630
|
+
gridDirection: {
|
|
631
|
+
horizontal: boolean;
|
|
632
|
+
vertical: boolean;
|
|
633
|
+
};
|
|
622
634
|
highlightSearchResult: boolean;
|
|
623
635
|
dynamicStyle: {
|
|
624
636
|
[x: string]: string;
|
|
@@ -839,6 +851,10 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
839
851
|
Bold: string;
|
|
840
852
|
Regular: string;
|
|
841
853
|
};
|
|
854
|
+
gridDirection: {
|
|
855
|
+
horizontal: boolean;
|
|
856
|
+
vertical: boolean;
|
|
857
|
+
};
|
|
842
858
|
highlightSearchResult: boolean;
|
|
843
859
|
dynamicStyle: {
|
|
844
860
|
[x: string]: string;
|
|
@@ -1059,6 +1075,10 @@ export declare const actionSaveToActiveFile: {
|
|
|
1059
1075
|
Bold: string;
|
|
1060
1076
|
Regular: string;
|
|
1061
1077
|
};
|
|
1078
|
+
gridDirection: {
|
|
1079
|
+
horizontal: boolean;
|
|
1080
|
+
vertical: boolean;
|
|
1081
|
+
};
|
|
1062
1082
|
highlightSearchResult: boolean;
|
|
1063
1083
|
dynamicStyle: {
|
|
1064
1084
|
[x: string]: string;
|
|
@@ -1271,6 +1291,10 @@ export declare const actionSaveFileToDisk: {
|
|
|
1271
1291
|
Bold: string;
|
|
1272
1292
|
Regular: string;
|
|
1273
1293
|
};
|
|
1294
|
+
gridDirection: {
|
|
1295
|
+
horizontal: boolean;
|
|
1296
|
+
vertical: boolean;
|
|
1297
|
+
};
|
|
1274
1298
|
highlightSearchResult: boolean;
|
|
1275
1299
|
dynamicStyle: {
|
|
1276
1300
|
[x: string]: string;
|
|
@@ -1401,6 +1425,10 @@ export declare const actionLoadScene: {
|
|
|
1401
1425
|
Bold: string;
|
|
1402
1426
|
Regular: string;
|
|
1403
1427
|
};
|
|
1428
|
+
gridDirection: {
|
|
1429
|
+
horizontal: boolean;
|
|
1430
|
+
vertical: boolean;
|
|
1431
|
+
};
|
|
1404
1432
|
highlightSearchResult: boolean;
|
|
1405
1433
|
isCropping: boolean;
|
|
1406
1434
|
croppingElementId: string | null;
|
|
@@ -1701,6 +1729,10 @@ export declare const actionLoadScene: {
|
|
|
1701
1729
|
Bold: string;
|
|
1702
1730
|
Regular: string;
|
|
1703
1731
|
};
|
|
1732
|
+
gridDirection: {
|
|
1733
|
+
horizontal: boolean;
|
|
1734
|
+
vertical: boolean;
|
|
1735
|
+
};
|
|
1704
1736
|
highlightSearchResult: boolean;
|
|
1705
1737
|
dynamicStyle: {
|
|
1706
1738
|
[x: string]: string;
|
|
@@ -1922,6 +1954,10 @@ export declare const actionExportWithDarkMode: {
|
|
|
1922
1954
|
Bold: string;
|
|
1923
1955
|
Regular: string;
|
|
1924
1956
|
};
|
|
1957
|
+
gridDirection: {
|
|
1958
|
+
horizontal: boolean;
|
|
1959
|
+
vertical: boolean;
|
|
1960
|
+
};
|
|
1925
1961
|
highlightSearchResult: boolean;
|
|
1926
1962
|
dynamicStyle: {
|
|
1927
1963
|
[x: string]: string;
|
|
@@ -180,6 +180,10 @@ export declare const actionFinalize: {
|
|
|
180
180
|
Bold: string;
|
|
181
181
|
Regular: string;
|
|
182
182
|
};
|
|
183
|
+
gridDirection: {
|
|
184
|
+
horizontal: boolean;
|
|
185
|
+
vertical: boolean;
|
|
186
|
+
};
|
|
183
187
|
highlightSearchResult: boolean;
|
|
184
188
|
dynamicStyle: {
|
|
185
189
|
[x: string]: string;
|
|
@@ -387,6 +391,10 @@ export declare const actionFinalize: {
|
|
|
387
391
|
Bold: string;
|
|
388
392
|
Regular: string;
|
|
389
393
|
};
|
|
394
|
+
gridDirection: {
|
|
395
|
+
horizontal: boolean;
|
|
396
|
+
vertical: boolean;
|
|
397
|
+
};
|
|
390
398
|
highlightSearchResult: boolean;
|
|
391
399
|
dynamicStyle: {
|
|
392
400
|
[x: string]: string;
|
|
@@ -180,6 +180,10 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
180
180
|
Bold: string;
|
|
181
181
|
Regular: string;
|
|
182
182
|
};
|
|
183
|
+
gridDirection: {
|
|
184
|
+
horizontal: boolean;
|
|
185
|
+
vertical: boolean;
|
|
186
|
+
};
|
|
183
187
|
highlightSearchResult: boolean;
|
|
184
188
|
dynamicStyle: {
|
|
185
189
|
[x: string]: string;
|
|
@@ -404,6 +408,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
404
408
|
Bold: string;
|
|
405
409
|
Regular: string;
|
|
406
410
|
};
|
|
411
|
+
gridDirection: {
|
|
412
|
+
horizontal: boolean;
|
|
413
|
+
vertical: boolean;
|
|
414
|
+
};
|
|
407
415
|
highlightSearchResult: boolean;
|
|
408
416
|
dynamicStyle: {
|
|
409
417
|
[x: string]: string;
|
|
@@ -629,6 +637,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
629
637
|
Bold: string;
|
|
630
638
|
Regular: string;
|
|
631
639
|
};
|
|
640
|
+
gridDirection: {
|
|
641
|
+
horizontal: boolean;
|
|
642
|
+
vertical: boolean;
|
|
643
|
+
};
|
|
632
644
|
highlightSearchResult: boolean;
|
|
633
645
|
dynamicStyle: {
|
|
634
646
|
[x: string]: string;
|
|
@@ -851,6 +863,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
851
863
|
Bold: string;
|
|
852
864
|
Regular: string;
|
|
853
865
|
};
|
|
866
|
+
gridDirection: {
|
|
867
|
+
horizontal: boolean;
|
|
868
|
+
vertical: boolean;
|
|
869
|
+
};
|
|
854
870
|
highlightSearchResult: boolean;
|
|
855
871
|
dynamicStyle: {
|
|
856
872
|
[x: string]: string;
|
|
@@ -186,6 +186,10 @@ export declare const actionGroup: {
|
|
|
186
186
|
Bold: string;
|
|
187
187
|
Regular: string;
|
|
188
188
|
};
|
|
189
|
+
gridDirection: {
|
|
190
|
+
horizontal: boolean;
|
|
191
|
+
vertical: boolean;
|
|
192
|
+
};
|
|
189
193
|
highlightSearchResult: boolean;
|
|
190
194
|
dynamicStyle: {
|
|
191
195
|
[x: string]: string;
|
|
@@ -413,6 +417,10 @@ export declare const actionUngroup: {
|
|
|
413
417
|
Bold: string;
|
|
414
418
|
Regular: string;
|
|
415
419
|
};
|
|
420
|
+
gridDirection: {
|
|
421
|
+
horizontal: boolean;
|
|
422
|
+
vertical: boolean;
|
|
423
|
+
};
|
|
416
424
|
highlightSearchResult: boolean;
|
|
417
425
|
dynamicStyle: {
|
|
418
426
|
[x: string]: string;
|