@zsviczian/excalidraw 0.14.1-obsidian → 0.14.2-1-obsidian
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/README.md +16 -1823
- package/dist/excalidraw.development.js +207 -97
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +20 -0
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +12 -0
- package/types/actions/actionBoundText.d.ts +4 -0
- package/types/actions/actionCanvas.d.ts +40 -0
- package/types/actions/actionClipboard.d.ts +20 -0
- package/types/actions/actionDeleteSelected.d.ts +14 -2
- package/types/actions/actionExport.d.ts +36 -0
- package/types/actions/actionFinalize.d.ts +8 -0
- package/types/actions/actionLinearEditor.d.ts +4 -0
- package/types/actions/actionMenu.d.ts +12 -0
- package/types/actions/actionProperties.d.ts +52 -0
- package/types/actions/actionStyles.d.ts +4 -0
- package/types/actions/actionToggleGridMode.d.ts +4 -0
- package/types/actions/actionToggleLock.d.ts +4 -0
- package/types/actions/actionToggleStats.d.ts +4 -0
- package/types/actions/actionToggleViewMode.d.ts +4 -0
- package/types/actions/actionToggleZenMode.d.ts +4 -0
- package/types/actions/shortcuts.d.ts +1 -1
- package/types/components/App.d.ts +2 -1
- package/types/components/LayerUI.d.ts +1 -2
- package/types/components/MobileMenu.d.ts +3 -4
- package/types/components/context/tunnels.d.ts +16 -0
- package/types/components/dropdownMenu/common.d.ts +1 -1
- package/types/components/footer/Footer.d.ts +3 -4
- package/types/components/hoc/withInternalFallback.d.ts +4 -0
- package/types/components/main-menu/MainMenu.d.ts +9 -9
- package/types/components/welcome-screen/WelcomeScreen.d.ts +2 -2
- package/types/constants.d.ts +5 -0
- package/types/data/restore.d.ts +8 -2
- package/types/element/Hyperlink.d.ts +4 -0
- package/types/element/linearElementEditor.d.ts +4 -0
- package/types/element/newElement.d.ts +0 -3
- package/types/element/sortElements.d.ts +2 -0
- package/types/element/textElement.d.ts +9 -8
- package/types/element/typeChecks.d.ts +1 -1
- package/types/element/types.d.ts +0 -1
- package/types/i18n.d.ts +6 -0
- package/types/jotai.d.ts +5 -5
- package/types/math.d.ts +1 -0
- package/types/packages/excalidraw/example/App.d.ts +7 -1
- package/types/packages/excalidraw/index.d.ts +1 -1
- package/types/packages/utils.d.ts +1 -1
- package/types/types.d.ts +8 -17
- package/types/utils.d.ts +3 -16
|
@@ -22,3 +22,23 @@ https://github.com/nodeca/pica
|
|
|
22
22
|
* This source code is licensed under the MIT license found in the
|
|
23
23
|
* LICENSE file in the root directory of this source tree.
|
|
24
24
|
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @license React
|
|
28
|
+
* use-sync-external-store-shim.production.min.js
|
|
29
|
+
*
|
|
30
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
31
|
+
*
|
|
32
|
+
* This source code is licensed under the MIT license found in the
|
|
33
|
+
* LICENSE file in the root directory of this source tree.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @license React
|
|
38
|
+
* use-sync-external-store-shim/with-selector.production.min.js
|
|
39
|
+
*
|
|
40
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
41
|
+
*
|
|
42
|
+
* This source code is licensed under the MIT license found in the
|
|
43
|
+
* LICENSE file in the root directory of this source tree.
|
|
44
|
+
*/
|
package/package.json
CHANGED
|
@@ -114,6 +114,10 @@ export declare const actionAddToLibrary: {
|
|
|
114
114
|
};
|
|
115
115
|
allowWheelZoom?: boolean | undefined;
|
|
116
116
|
allowPinchZoom?: boolean | undefined;
|
|
117
|
+
pinnedScripts?: string[] | undefined;
|
|
118
|
+
customPens?: any[] | undefined;
|
|
119
|
+
currentStrokeOptions?: any;
|
|
120
|
+
resetCustomPen?: any;
|
|
117
121
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
118
122
|
};
|
|
119
123
|
} | {
|
|
@@ -229,6 +233,10 @@ export declare const actionAddToLibrary: {
|
|
|
229
233
|
};
|
|
230
234
|
allowWheelZoom?: boolean | undefined;
|
|
231
235
|
allowPinchZoom?: boolean | undefined;
|
|
236
|
+
pinnedScripts?: string[] | undefined;
|
|
237
|
+
customPens?: any[] | undefined;
|
|
238
|
+
currentStrokeOptions?: any;
|
|
239
|
+
resetCustomPen?: any;
|
|
232
240
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
233
241
|
};
|
|
234
242
|
}> | {
|
|
@@ -344,6 +352,10 @@ export declare const actionAddToLibrary: {
|
|
|
344
352
|
};
|
|
345
353
|
allowWheelZoom?: boolean | undefined;
|
|
346
354
|
allowPinchZoom?: boolean | undefined;
|
|
355
|
+
pinnedScripts?: string[] | undefined;
|
|
356
|
+
customPens?: any[] | undefined;
|
|
357
|
+
currentStrokeOptions?: any;
|
|
358
|
+
resetCustomPen?: any;
|
|
347
359
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
348
360
|
};
|
|
349
361
|
};
|
|
@@ -133,6 +133,10 @@ export declare const actionBindText: {
|
|
|
133
133
|
};
|
|
134
134
|
allowWheelZoom?: boolean | undefined;
|
|
135
135
|
allowPinchZoom?: boolean | undefined;
|
|
136
|
+
pinnedScripts?: string[] | undefined;
|
|
137
|
+
customPens?: any[] | undefined;
|
|
138
|
+
currentStrokeOptions?: any;
|
|
139
|
+
resetCustomPen?: any;
|
|
136
140
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
137
141
|
};
|
|
138
142
|
commitToHistory: true;
|
|
@@ -55,6 +55,8 @@ export declare const actionClearCanvas: {
|
|
|
55
55
|
trayModeEnabled: boolean;
|
|
56
56
|
allowPinchZoom: boolean | undefined;
|
|
57
57
|
allowWheelZoom: boolean | undefined;
|
|
58
|
+
pinnedScripts: string[] | undefined;
|
|
59
|
+
customPens: any[] | undefined;
|
|
58
60
|
name: string;
|
|
59
61
|
contextMenu: {
|
|
60
62
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -129,6 +131,8 @@ export declare const actionClearCanvas: {
|
|
|
129
131
|
pendingImageElementId: string | null;
|
|
130
132
|
showHyperlinkPopup: false | "info" | "editor";
|
|
131
133
|
linkOpacity: number;
|
|
134
|
+
currentStrokeOptions?: any;
|
|
135
|
+
resetCustomPen?: any;
|
|
132
136
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
133
137
|
};
|
|
134
138
|
commitToHistory: true;
|
|
@@ -254,6 +258,10 @@ export declare const actionZoomIn: {
|
|
|
254
258
|
};
|
|
255
259
|
allowWheelZoom?: boolean | undefined;
|
|
256
260
|
allowPinchZoom?: boolean | undefined;
|
|
261
|
+
pinnedScripts?: string[] | undefined;
|
|
262
|
+
customPens?: any[] | undefined;
|
|
263
|
+
currentStrokeOptions?: any;
|
|
264
|
+
resetCustomPen?: any;
|
|
257
265
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
258
266
|
};
|
|
259
267
|
commitToHistory: false;
|
|
@@ -381,6 +389,10 @@ export declare const actionZoomOut: {
|
|
|
381
389
|
};
|
|
382
390
|
allowWheelZoom?: boolean | undefined;
|
|
383
391
|
allowPinchZoom?: boolean | undefined;
|
|
392
|
+
pinnedScripts?: string[] | undefined;
|
|
393
|
+
customPens?: any[] | undefined;
|
|
394
|
+
currentStrokeOptions?: any;
|
|
395
|
+
resetCustomPen?: any;
|
|
384
396
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
385
397
|
};
|
|
386
398
|
commitToHistory: false;
|
|
@@ -508,6 +520,10 @@ export declare const actionResetZoom: {
|
|
|
508
520
|
};
|
|
509
521
|
allowWheelZoom?: boolean | undefined;
|
|
510
522
|
allowPinchZoom?: boolean | undefined;
|
|
523
|
+
pinnedScripts?: string[] | undefined;
|
|
524
|
+
customPens?: any[] | undefined;
|
|
525
|
+
currentStrokeOptions?: any;
|
|
526
|
+
resetCustomPen?: any;
|
|
511
527
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
512
528
|
};
|
|
513
529
|
commitToHistory: false;
|
|
@@ -629,6 +645,10 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
|
|
|
629
645
|
};
|
|
630
646
|
allowWheelZoom?: boolean | undefined;
|
|
631
647
|
allowPinchZoom?: boolean | undefined;
|
|
648
|
+
pinnedScripts?: string[] | undefined;
|
|
649
|
+
customPens?: any[] | undefined;
|
|
650
|
+
currentStrokeOptions?: any;
|
|
651
|
+
resetCustomPen?: any;
|
|
632
652
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
633
653
|
};
|
|
634
654
|
commitToHistory: boolean;
|
|
@@ -750,6 +770,10 @@ export declare const actionZoomToSelected: {
|
|
|
750
770
|
};
|
|
751
771
|
allowWheelZoom?: boolean | undefined;
|
|
752
772
|
allowPinchZoom?: boolean | undefined;
|
|
773
|
+
pinnedScripts?: string[] | undefined;
|
|
774
|
+
customPens?: any[] | undefined;
|
|
775
|
+
currentStrokeOptions?: any;
|
|
776
|
+
resetCustomPen?: any;
|
|
753
777
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
754
778
|
};
|
|
755
779
|
commitToHistory: boolean;
|
|
@@ -876,6 +900,10 @@ export declare const actionZoomToFit: {
|
|
|
876
900
|
};
|
|
877
901
|
allowWheelZoom?: boolean | undefined;
|
|
878
902
|
allowPinchZoom?: boolean | undefined;
|
|
903
|
+
pinnedScripts?: string[] | undefined;
|
|
904
|
+
customPens?: any[] | undefined;
|
|
905
|
+
currentStrokeOptions?: any;
|
|
906
|
+
resetCustomPen?: any;
|
|
879
907
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
880
908
|
};
|
|
881
909
|
commitToHistory: boolean;
|
|
@@ -1002,6 +1030,10 @@ export declare const actionToggleTheme: {
|
|
|
1002
1030
|
};
|
|
1003
1031
|
allowWheelZoom?: boolean | undefined;
|
|
1004
1032
|
allowPinchZoom?: boolean | undefined;
|
|
1033
|
+
pinnedScripts?: string[] | undefined;
|
|
1034
|
+
customPens?: any[] | undefined;
|
|
1035
|
+
currentStrokeOptions?: any;
|
|
1036
|
+
resetCustomPen?: any;
|
|
1005
1037
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1006
1038
|
};
|
|
1007
1039
|
commitToHistory: false;
|
|
@@ -1124,6 +1156,10 @@ export declare const actionToggleEraserTool: {
|
|
|
1124
1156
|
};
|
|
1125
1157
|
allowWheelZoom?: boolean | undefined;
|
|
1126
1158
|
allowPinchZoom?: boolean | undefined;
|
|
1159
|
+
pinnedScripts?: string[] | undefined;
|
|
1160
|
+
customPens?: any[] | undefined;
|
|
1161
|
+
currentStrokeOptions?: any;
|
|
1162
|
+
resetCustomPen?: any;
|
|
1127
1163
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1128
1164
|
};
|
|
1129
1165
|
commitToHistory: true;
|
|
@@ -1245,6 +1281,10 @@ export declare const actionToggleHandTool: {
|
|
|
1245
1281
|
};
|
|
1246
1282
|
allowWheelZoom?: boolean | undefined;
|
|
1247
1283
|
allowPinchZoom?: boolean | undefined;
|
|
1284
|
+
pinnedScripts?: string[] | undefined;
|
|
1285
|
+
customPens?: any[] | undefined;
|
|
1286
|
+
currentStrokeOptions?: any;
|
|
1287
|
+
resetCustomPen?: any;
|
|
1248
1288
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1249
1289
|
};
|
|
1250
1290
|
commitToHistory: true;
|
|
@@ -145,6 +145,10 @@ export declare const actionCut: {
|
|
|
145
145
|
};
|
|
146
146
|
allowWheelZoom?: boolean | undefined;
|
|
147
147
|
allowPinchZoom?: boolean | undefined;
|
|
148
|
+
pinnedScripts?: string[] | undefined;
|
|
149
|
+
customPens?: any[] | undefined;
|
|
150
|
+
currentStrokeOptions?: any;
|
|
151
|
+
resetCustomPen?: any;
|
|
148
152
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
149
153
|
};
|
|
150
154
|
commitToHistory: false;
|
|
@@ -289,6 +293,10 @@ export declare const actionCut: {
|
|
|
289
293
|
};
|
|
290
294
|
allowWheelZoom?: boolean | undefined;
|
|
291
295
|
allowPinchZoom?: boolean | undefined;
|
|
296
|
+
pinnedScripts?: string[] | undefined;
|
|
297
|
+
customPens?: any[] | undefined;
|
|
298
|
+
currentStrokeOptions?: any;
|
|
299
|
+
resetCustomPen?: any;
|
|
292
300
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
293
301
|
};
|
|
294
302
|
commitToHistory: true;
|
|
@@ -403,6 +411,10 @@ export declare const actionCut: {
|
|
|
403
411
|
};
|
|
404
412
|
allowWheelZoom?: boolean | undefined;
|
|
405
413
|
allowPinchZoom?: boolean | undefined;
|
|
414
|
+
pinnedScripts?: string[] | undefined;
|
|
415
|
+
customPens?: any[] | undefined;
|
|
416
|
+
currentStrokeOptions?: any;
|
|
417
|
+
resetCustomPen?: any;
|
|
406
418
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
407
419
|
};
|
|
408
420
|
commitToHistory: boolean;
|
|
@@ -533,6 +545,10 @@ export declare const actionCopyAsSvg: {
|
|
|
533
545
|
};
|
|
534
546
|
allowWheelZoom?: boolean | undefined;
|
|
535
547
|
allowPinchZoom?: boolean | undefined;
|
|
548
|
+
pinnedScripts?: string[] | undefined;
|
|
549
|
+
customPens?: any[] | undefined;
|
|
550
|
+
currentStrokeOptions?: any;
|
|
551
|
+
resetCustomPen?: any;
|
|
536
552
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
537
553
|
};
|
|
538
554
|
commitToHistory: false;
|
|
@@ -662,6 +678,10 @@ export declare const actionCopyAsPng: {
|
|
|
662
678
|
};
|
|
663
679
|
allowWheelZoom?: boolean | undefined;
|
|
664
680
|
allowPinchZoom?: boolean | undefined;
|
|
681
|
+
pinnedScripts?: string[] | undefined;
|
|
682
|
+
customPens?: any[] | undefined;
|
|
683
|
+
currentStrokeOptions?: any;
|
|
684
|
+
resetCustomPen?: any;
|
|
665
685
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
666
686
|
};
|
|
667
687
|
commitToHistory: false;
|
|
@@ -121,6 +121,10 @@ export declare const actionDeleteSelected: {
|
|
|
121
121
|
};
|
|
122
122
|
allowWheelZoom?: boolean | undefined;
|
|
123
123
|
allowPinchZoom?: boolean | undefined;
|
|
124
|
+
pinnedScripts?: string[] | undefined;
|
|
125
|
+
customPens?: any[] | undefined;
|
|
126
|
+
currentStrokeOptions?: any;
|
|
127
|
+
resetCustomPen?: any;
|
|
124
128
|
selectedLinearElement: LinearElementEditor | null;
|
|
125
129
|
};
|
|
126
130
|
commitToHistory: false;
|
|
@@ -265,6 +269,10 @@ export declare const actionDeleteSelected: {
|
|
|
265
269
|
};
|
|
266
270
|
allowWheelZoom?: boolean | undefined;
|
|
267
271
|
allowPinchZoom?: boolean | undefined;
|
|
272
|
+
pinnedScripts?: string[] | undefined;
|
|
273
|
+
customPens?: any[] | undefined;
|
|
274
|
+
currentStrokeOptions?: any;
|
|
275
|
+
resetCustomPen?: any;
|
|
268
276
|
selectedLinearElement: LinearElementEditor | null;
|
|
269
277
|
};
|
|
270
278
|
commitToHistory: true;
|
|
@@ -379,13 +387,17 @@ export declare const actionDeleteSelected: {
|
|
|
379
387
|
};
|
|
380
388
|
allowWheelZoom?: boolean | undefined;
|
|
381
389
|
allowPinchZoom?: boolean | undefined;
|
|
390
|
+
pinnedScripts?: string[] | undefined;
|
|
391
|
+
customPens?: any[] | undefined;
|
|
392
|
+
currentStrokeOptions?: any;
|
|
393
|
+
resetCustomPen?: any;
|
|
382
394
|
selectedLinearElement: LinearElementEditor | null;
|
|
383
395
|
};
|
|
384
396
|
commitToHistory: boolean;
|
|
385
397
|
};
|
|
386
398
|
contextItemLabel: string;
|
|
387
|
-
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element
|
|
399
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean;
|
|
388
400
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
389
401
|
} & {
|
|
390
|
-
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element
|
|
402
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean) | undefined;
|
|
391
403
|
};
|
|
@@ -115,6 +115,10 @@ export declare const actionChangeProjectName: {
|
|
|
115
115
|
};
|
|
116
116
|
allowWheelZoom?: boolean | undefined;
|
|
117
117
|
allowPinchZoom?: boolean | undefined;
|
|
118
|
+
pinnedScripts?: string[] | undefined;
|
|
119
|
+
customPens?: any[] | undefined;
|
|
120
|
+
currentStrokeOptions?: any;
|
|
121
|
+
resetCustomPen?: any;
|
|
118
122
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
119
123
|
};
|
|
120
124
|
commitToHistory: false;
|
|
@@ -241,6 +245,10 @@ export declare const actionChangeExportScale: {
|
|
|
241
245
|
};
|
|
242
246
|
allowWheelZoom?: boolean | undefined;
|
|
243
247
|
allowPinchZoom?: boolean | undefined;
|
|
248
|
+
pinnedScripts?: string[] | undefined;
|
|
249
|
+
customPens?: any[] | undefined;
|
|
250
|
+
currentStrokeOptions?: any;
|
|
251
|
+
resetCustomPen?: any;
|
|
244
252
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
245
253
|
};
|
|
246
254
|
commitToHistory: false;
|
|
@@ -367,6 +375,10 @@ export declare const actionChangeExportBackground: {
|
|
|
367
375
|
};
|
|
368
376
|
allowWheelZoom?: boolean | undefined;
|
|
369
377
|
allowPinchZoom?: boolean | undefined;
|
|
378
|
+
pinnedScripts?: string[] | undefined;
|
|
379
|
+
customPens?: any[] | undefined;
|
|
380
|
+
currentStrokeOptions?: any;
|
|
381
|
+
resetCustomPen?: any;
|
|
370
382
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
371
383
|
};
|
|
372
384
|
commitToHistory: false;
|
|
@@ -493,6 +505,10 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
493
505
|
};
|
|
494
506
|
allowWheelZoom?: boolean | undefined;
|
|
495
507
|
allowPinchZoom?: boolean | undefined;
|
|
508
|
+
pinnedScripts?: string[] | undefined;
|
|
509
|
+
customPens?: any[] | undefined;
|
|
510
|
+
currentStrokeOptions?: any;
|
|
511
|
+
resetCustomPen?: any;
|
|
496
512
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
497
513
|
};
|
|
498
514
|
commitToHistory: false;
|
|
@@ -618,6 +634,10 @@ export declare const actionSaveToActiveFile: {
|
|
|
618
634
|
};
|
|
619
635
|
allowWheelZoom?: boolean | undefined;
|
|
620
636
|
allowPinchZoom?: boolean | undefined;
|
|
637
|
+
pinnedScripts?: string[] | undefined;
|
|
638
|
+
customPens?: any[] | undefined;
|
|
639
|
+
currentStrokeOptions?: any;
|
|
640
|
+
resetCustomPen?: any;
|
|
621
641
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
622
642
|
};
|
|
623
643
|
} | {
|
|
@@ -747,6 +767,10 @@ export declare const actionSaveFileToDisk: {
|
|
|
747
767
|
};
|
|
748
768
|
allowWheelZoom?: boolean | undefined;
|
|
749
769
|
allowPinchZoom?: boolean | undefined;
|
|
770
|
+
pinnedScripts?: string[] | undefined;
|
|
771
|
+
customPens?: any[] | undefined;
|
|
772
|
+
currentStrokeOptions?: any;
|
|
773
|
+
resetCustomPen?: any;
|
|
750
774
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
751
775
|
};
|
|
752
776
|
} | {
|
|
@@ -873,6 +897,10 @@ export declare const actionLoadScene: {
|
|
|
873
897
|
};
|
|
874
898
|
allowWheelZoom?: boolean | undefined;
|
|
875
899
|
allowPinchZoom?: boolean | undefined;
|
|
900
|
+
pinnedScripts?: string[] | undefined;
|
|
901
|
+
customPens?: any[] | undefined;
|
|
902
|
+
currentStrokeOptions?: any;
|
|
903
|
+
resetCustomPen?: any;
|
|
876
904
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
877
905
|
};
|
|
878
906
|
files: import("../types").BinaryFiles;
|
|
@@ -990,6 +1018,10 @@ export declare const actionLoadScene: {
|
|
|
990
1018
|
};
|
|
991
1019
|
allowWheelZoom?: boolean | undefined;
|
|
992
1020
|
allowPinchZoom?: boolean | undefined;
|
|
1021
|
+
pinnedScripts?: string[] | undefined;
|
|
1022
|
+
customPens?: any[] | undefined;
|
|
1023
|
+
currentStrokeOptions?: any;
|
|
1024
|
+
resetCustomPen?: any;
|
|
993
1025
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
994
1026
|
};
|
|
995
1027
|
files: import("../types").BinaryFiles;
|
|
@@ -1117,6 +1149,10 @@ export declare const actionExportWithDarkMode: {
|
|
|
1117
1149
|
};
|
|
1118
1150
|
allowWheelZoom?: boolean | undefined;
|
|
1119
1151
|
allowPinchZoom?: boolean | undefined;
|
|
1152
|
+
pinnedScripts?: string[] | undefined;
|
|
1153
|
+
customPens?: any[] | undefined;
|
|
1154
|
+
currentStrokeOptions?: any;
|
|
1155
|
+
resetCustomPen?: any;
|
|
1120
1156
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1121
1157
|
};
|
|
1122
1158
|
commitToHistory: false;
|
|
@@ -117,6 +117,10 @@ export declare const actionFinalize: {
|
|
|
117
117
|
};
|
|
118
118
|
allowWheelZoom?: boolean | undefined;
|
|
119
119
|
allowPinchZoom?: boolean | undefined;
|
|
120
|
+
pinnedScripts?: string[] | undefined;
|
|
121
|
+
customPens?: any[] | undefined;
|
|
122
|
+
currentStrokeOptions?: any;
|
|
123
|
+
resetCustomPen?: any;
|
|
120
124
|
selectedLinearElement: LinearElementEditor | null;
|
|
121
125
|
};
|
|
122
126
|
commitToHistory: true;
|
|
@@ -234,6 +238,10 @@ export declare const actionFinalize: {
|
|
|
234
238
|
};
|
|
235
239
|
allowWheelZoom?: boolean | undefined;
|
|
236
240
|
allowPinchZoom?: boolean | undefined;
|
|
241
|
+
pinnedScripts?: string[] | undefined;
|
|
242
|
+
customPens?: any[] | undefined;
|
|
243
|
+
currentStrokeOptions?: any;
|
|
244
|
+
resetCustomPen?: any;
|
|
237
245
|
};
|
|
238
246
|
commitToHistory: boolean;
|
|
239
247
|
};
|
|
@@ -118,6 +118,10 @@ export declare const actionToggleLinearEditor: {
|
|
|
118
118
|
};
|
|
119
119
|
allowWheelZoom?: boolean | undefined;
|
|
120
120
|
allowPinchZoom?: boolean | undefined;
|
|
121
|
+
pinnedScripts?: string[] | undefined;
|
|
122
|
+
customPens?: any[] | undefined;
|
|
123
|
+
currentStrokeOptions?: any;
|
|
124
|
+
resetCustomPen?: any;
|
|
121
125
|
selectedLinearElement: LinearElementEditor | null;
|
|
122
126
|
};
|
|
123
127
|
commitToHistory: false;
|
|
@@ -116,6 +116,10 @@ export declare const actionToggleCanvasMenu: {
|
|
|
116
116
|
};
|
|
117
117
|
allowWheelZoom?: boolean | undefined;
|
|
118
118
|
allowPinchZoom?: boolean | undefined;
|
|
119
|
+
pinnedScripts?: string[] | undefined;
|
|
120
|
+
customPens?: any[] | undefined;
|
|
121
|
+
currentStrokeOptions?: any;
|
|
122
|
+
resetCustomPen?: any;
|
|
119
123
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
120
124
|
};
|
|
121
125
|
commitToHistory: false;
|
|
@@ -241,6 +245,10 @@ export declare const actionToggleEditMenu: {
|
|
|
241
245
|
};
|
|
242
246
|
allowWheelZoom?: boolean | undefined;
|
|
243
247
|
allowPinchZoom?: boolean | undefined;
|
|
248
|
+
pinnedScripts?: string[] | undefined;
|
|
249
|
+
customPens?: any[] | undefined;
|
|
250
|
+
currentStrokeOptions?: any;
|
|
251
|
+
resetCustomPen?: any;
|
|
244
252
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
245
253
|
};
|
|
246
254
|
commitToHistory: false;
|
|
@@ -382,6 +390,10 @@ export declare const actionShortcuts: {
|
|
|
382
390
|
};
|
|
383
391
|
allowWheelZoom?: boolean | undefined;
|
|
384
392
|
allowPinchZoom?: boolean | undefined;
|
|
393
|
+
pinnedScripts?: string[] | undefined;
|
|
394
|
+
customPens?: any[] | undefined;
|
|
395
|
+
currentStrokeOptions?: any;
|
|
396
|
+
resetCustomPen?: any;
|
|
385
397
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
386
398
|
};
|
|
387
399
|
commitToHistory: false;
|
|
@@ -133,6 +133,10 @@ export declare const actionChangeFillStyle: {
|
|
|
133
133
|
};
|
|
134
134
|
allowWheelZoom?: boolean | undefined;
|
|
135
135
|
allowPinchZoom?: boolean | undefined;
|
|
136
|
+
pinnedScripts?: string[] | undefined;
|
|
137
|
+
customPens?: any[] | undefined;
|
|
138
|
+
currentStrokeOptions?: any;
|
|
139
|
+
resetCustomPen?: any;
|
|
136
140
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
137
141
|
};
|
|
138
142
|
commitToHistory: true;
|
|
@@ -257,6 +261,10 @@ export declare const actionChangeStrokeWidth: {
|
|
|
257
261
|
};
|
|
258
262
|
allowWheelZoom?: boolean | undefined;
|
|
259
263
|
allowPinchZoom?: boolean | undefined;
|
|
264
|
+
pinnedScripts?: string[] | undefined;
|
|
265
|
+
customPens?: any[] | undefined;
|
|
266
|
+
currentStrokeOptions?: any;
|
|
267
|
+
resetCustomPen?: any;
|
|
260
268
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
261
269
|
};
|
|
262
270
|
commitToHistory: true;
|
|
@@ -381,6 +389,10 @@ export declare const actionChangeSloppiness: {
|
|
|
381
389
|
};
|
|
382
390
|
allowWheelZoom?: boolean | undefined;
|
|
383
391
|
allowPinchZoom?: boolean | undefined;
|
|
392
|
+
pinnedScripts?: string[] | undefined;
|
|
393
|
+
customPens?: any[] | undefined;
|
|
394
|
+
currentStrokeOptions?: any;
|
|
395
|
+
resetCustomPen?: any;
|
|
384
396
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
385
397
|
};
|
|
386
398
|
commitToHistory: true;
|
|
@@ -505,6 +517,10 @@ export declare const actionChangeStrokeStyle: {
|
|
|
505
517
|
};
|
|
506
518
|
allowWheelZoom?: boolean | undefined;
|
|
507
519
|
allowPinchZoom?: boolean | undefined;
|
|
520
|
+
pinnedScripts?: string[] | undefined;
|
|
521
|
+
customPens?: any[] | undefined;
|
|
522
|
+
currentStrokeOptions?: any;
|
|
523
|
+
resetCustomPen?: any;
|
|
508
524
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
509
525
|
};
|
|
510
526
|
commitToHistory: true;
|
|
@@ -629,6 +645,10 @@ export declare const actionChangeOpacity: {
|
|
|
629
645
|
};
|
|
630
646
|
allowWheelZoom?: boolean | undefined;
|
|
631
647
|
allowPinchZoom?: boolean | undefined;
|
|
648
|
+
pinnedScripts?: string[] | undefined;
|
|
649
|
+
customPens?: any[] | undefined;
|
|
650
|
+
currentStrokeOptions?: any;
|
|
651
|
+
resetCustomPen?: any;
|
|
632
652
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
633
653
|
};
|
|
634
654
|
commitToHistory: true;
|
|
@@ -753,6 +773,10 @@ export declare const actionChangeFontSize: {
|
|
|
753
773
|
};
|
|
754
774
|
allowWheelZoom?: boolean | undefined;
|
|
755
775
|
allowPinchZoom?: boolean | undefined;
|
|
776
|
+
pinnedScripts?: string[] | undefined;
|
|
777
|
+
customPens?: any[] | undefined;
|
|
778
|
+
currentStrokeOptions?: any;
|
|
779
|
+
resetCustomPen?: any;
|
|
756
780
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
757
781
|
};
|
|
758
782
|
commitToHistory: boolean;
|
|
@@ -877,6 +901,10 @@ export declare const actionDecreaseFontSize: {
|
|
|
877
901
|
};
|
|
878
902
|
allowWheelZoom?: boolean | undefined;
|
|
879
903
|
allowPinchZoom?: boolean | undefined;
|
|
904
|
+
pinnedScripts?: string[] | undefined;
|
|
905
|
+
customPens?: any[] | undefined;
|
|
906
|
+
currentStrokeOptions?: any;
|
|
907
|
+
resetCustomPen?: any;
|
|
880
908
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
881
909
|
};
|
|
882
910
|
commitToHistory: boolean;
|
|
@@ -1001,6 +1029,10 @@ export declare const actionIncreaseFontSize: {
|
|
|
1001
1029
|
};
|
|
1002
1030
|
allowWheelZoom?: boolean | undefined;
|
|
1003
1031
|
allowPinchZoom?: boolean | undefined;
|
|
1032
|
+
pinnedScripts?: string[] | undefined;
|
|
1033
|
+
customPens?: any[] | undefined;
|
|
1034
|
+
currentStrokeOptions?: any;
|
|
1035
|
+
resetCustomPen?: any;
|
|
1004
1036
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1005
1037
|
};
|
|
1006
1038
|
commitToHistory: boolean;
|
|
@@ -1125,6 +1157,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1125
1157
|
};
|
|
1126
1158
|
allowWheelZoom?: boolean | undefined;
|
|
1127
1159
|
allowPinchZoom?: boolean | undefined;
|
|
1160
|
+
pinnedScripts?: string[] | undefined;
|
|
1161
|
+
customPens?: any[] | undefined;
|
|
1162
|
+
currentStrokeOptions?: any;
|
|
1163
|
+
resetCustomPen?: any;
|
|
1128
1164
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1129
1165
|
};
|
|
1130
1166
|
commitToHistory: true;
|
|
@@ -1249,6 +1285,10 @@ export declare const actionChangeTextAlign: {
|
|
|
1249
1285
|
};
|
|
1250
1286
|
allowWheelZoom?: boolean | undefined;
|
|
1251
1287
|
allowPinchZoom?: boolean | undefined;
|
|
1288
|
+
pinnedScripts?: string[] | undefined;
|
|
1289
|
+
customPens?: any[] | undefined;
|
|
1290
|
+
currentStrokeOptions?: any;
|
|
1291
|
+
resetCustomPen?: any;
|
|
1252
1292
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1253
1293
|
};
|
|
1254
1294
|
commitToHistory: true;
|
|
@@ -1375,6 +1415,10 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1375
1415
|
};
|
|
1376
1416
|
allowWheelZoom?: boolean | undefined;
|
|
1377
1417
|
allowPinchZoom?: boolean | undefined;
|
|
1418
|
+
pinnedScripts?: string[] | undefined;
|
|
1419
|
+
customPens?: any[] | undefined;
|
|
1420
|
+
currentStrokeOptions?: any;
|
|
1421
|
+
resetCustomPen?: any;
|
|
1378
1422
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1379
1423
|
};
|
|
1380
1424
|
commitToHistory: true;
|
|
@@ -1499,6 +1543,10 @@ export declare const actionChangeRoundness: {
|
|
|
1499
1543
|
};
|
|
1500
1544
|
allowWheelZoom?: boolean | undefined;
|
|
1501
1545
|
allowPinchZoom?: boolean | undefined;
|
|
1546
|
+
pinnedScripts?: string[] | undefined;
|
|
1547
|
+
customPens?: any[] | undefined;
|
|
1548
|
+
currentStrokeOptions?: any;
|
|
1549
|
+
resetCustomPen?: any;
|
|
1502
1550
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1503
1551
|
};
|
|
1504
1552
|
commitToHistory: true;
|
|
@@ -1626,6 +1674,10 @@ export declare const actionChangeArrowhead: {
|
|
|
1626
1674
|
};
|
|
1627
1675
|
allowWheelZoom?: boolean | undefined;
|
|
1628
1676
|
allowPinchZoom?: boolean | undefined;
|
|
1677
|
+
pinnedScripts?: string[] | undefined;
|
|
1678
|
+
customPens?: any[] | undefined;
|
|
1679
|
+
currentStrokeOptions?: any;
|
|
1680
|
+
resetCustomPen?: any;
|
|
1629
1681
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1630
1682
|
};
|
|
1631
1683
|
commitToHistory: true;
|
|
@@ -115,6 +115,10 @@ export declare const actionCopyStyles: {
|
|
|
115
115
|
};
|
|
116
116
|
allowWheelZoom?: boolean | undefined;
|
|
117
117
|
allowPinchZoom?: boolean | undefined;
|
|
118
|
+
pinnedScripts?: string[] | undefined;
|
|
119
|
+
customPens?: any[] | undefined;
|
|
120
|
+
currentStrokeOptions?: any;
|
|
121
|
+
resetCustomPen?: any;
|
|
118
122
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
119
123
|
};
|
|
120
124
|
commitToHistory: false;
|
|
@@ -119,6 +119,10 @@ export declare const actionToggleGridMode: {
|
|
|
119
119
|
};
|
|
120
120
|
allowWheelZoom?: boolean | undefined;
|
|
121
121
|
allowPinchZoom?: boolean | undefined;
|
|
122
|
+
pinnedScripts?: string[] | undefined;
|
|
123
|
+
customPens?: any[] | undefined;
|
|
124
|
+
currentStrokeOptions?: any;
|
|
125
|
+
resetCustomPen?: any;
|
|
122
126
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
123
127
|
};
|
|
124
128
|
commitToHistory: false;
|
|
@@ -119,6 +119,10 @@ export declare const actionToggleLock: {
|
|
|
119
119
|
};
|
|
120
120
|
allowWheelZoom?: boolean | undefined;
|
|
121
121
|
allowPinchZoom?: boolean | undefined;
|
|
122
|
+
pinnedScripts?: string[] | undefined;
|
|
123
|
+
customPens?: any[] | undefined;
|
|
124
|
+
currentStrokeOptions?: any;
|
|
125
|
+
resetCustomPen?: any;
|
|
122
126
|
};
|
|
123
127
|
commitToHistory: true;
|
|
124
128
|
};
|
|
@@ -117,6 +117,10 @@ export declare const actionToggleStats: {
|
|
|
117
117
|
};
|
|
118
118
|
allowWheelZoom?: boolean | undefined;
|
|
119
119
|
allowPinchZoom?: boolean | undefined;
|
|
120
|
+
pinnedScripts?: string[] | undefined;
|
|
121
|
+
customPens?: any[] | undefined;
|
|
122
|
+
currentStrokeOptions?: any;
|
|
123
|
+
resetCustomPen?: any;
|
|
120
124
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
121
125
|
};
|
|
122
126
|
commitToHistory: false;
|
|
@@ -118,6 +118,10 @@ export declare const actionToggleViewMode: {
|
|
|
118
118
|
};
|
|
119
119
|
allowWheelZoom?: boolean | undefined;
|
|
120
120
|
allowPinchZoom?: boolean | undefined;
|
|
121
|
+
pinnedScripts?: string[] | undefined;
|
|
122
|
+
customPens?: any[] | undefined;
|
|
123
|
+
currentStrokeOptions?: any;
|
|
124
|
+
resetCustomPen?: any;
|
|
121
125
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
122
126
|
};
|
|
123
127
|
commitToHistory: false;
|
|
@@ -118,6 +118,10 @@ export declare const actionToggleZenMode: {
|
|
|
118
118
|
};
|
|
119
119
|
allowWheelZoom?: boolean | undefined;
|
|
120
120
|
allowPinchZoom?: boolean | undefined;
|
|
121
|
+
pinnedScripts?: string[] | undefined;
|
|
122
|
+
customPens?: any[] | undefined;
|
|
123
|
+
currentStrokeOptions?: any;
|
|
124
|
+
resetCustomPen?: any;
|
|
121
125
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
122
126
|
};
|
|
123
127
|
commitToHistory: false;
|