@zsviczian/excalidraw 0.15.2-obsidian-6 → 0.15.2-obsidian-7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zsviczian/excalidraw",
3
- "version": "0.15.2-obsidian-6",
3
+ "version": "0.15.2-obsidian-7",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -84,11 +84,11 @@ export declare const actionAddToLibrary: {
84
84
  openDialog: "imageExport" | "help" | "jsonExport" | null;
85
85
  defaultSidebarDockedPreference: boolean;
86
86
  lastPointerDownWith: import("../element/types").PointerType;
87
- selectedElementIds: {
88
- [id: string]: boolean;
89
- };
87
+ selectedElementIds: Readonly<{
88
+ [id: string]: true;
89
+ }>;
90
90
  previousSelectedElementIds: {
91
- [id: string]: boolean;
91
+ [id: string]: true;
92
92
  };
93
93
  selectedElementsAreBeingDragged: boolean;
94
94
  shouldCacheIgnoreZoom: boolean;
@@ -218,11 +218,11 @@ export declare const actionAddToLibrary: {
218
218
  openDialog: "imageExport" | "help" | "jsonExport" | null;
219
219
  defaultSidebarDockedPreference: boolean;
220
220
  lastPointerDownWith: import("../element/types").PointerType;
221
- selectedElementIds: {
222
- [id: string]: boolean;
223
- };
221
+ selectedElementIds: Readonly<{
222
+ [id: string]: true;
223
+ }>;
224
224
  previousSelectedElementIds: {
225
- [id: string]: boolean;
225
+ [id: string]: true;
226
226
  };
227
227
  selectedElementsAreBeingDragged: boolean;
228
228
  shouldCacheIgnoreZoom: boolean;
@@ -357,11 +357,11 @@ export declare const actionAddToLibrary: {
357
357
  openDialog: "imageExport" | "help" | "jsonExport" | null;
358
358
  defaultSidebarDockedPreference: boolean;
359
359
  lastPointerDownWith: import("../element/types").PointerType;
360
- selectedElementIds: {
361
- [id: string]: boolean;
362
- };
360
+ selectedElementIds: Readonly<{
361
+ [id: string]: true;
362
+ }>;
363
363
  previousSelectedElementIds: {
364
- [id: string]: boolean;
364
+ [id: string]: true;
365
365
  };
366
366
  selectedElementsAreBeingDragged: boolean;
367
367
  shouldCacheIgnoreZoom: boolean;
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ExcalidrawElement, ExcalidrawLinearElement } from "../element/types";
3
3
  import { AppState } from "../types";
4
+ import { Mutable } from "../utility-types";
4
5
  export declare const actionUnbindText: {
5
6
  name: "unbindText";
6
7
  contextItemLabel: string;
@@ -104,7 +105,7 @@ export declare const actionBindText: {
104
105
  defaultSidebarDockedPreference: boolean;
105
106
  lastPointerDownWith: import("../element/types").PointerType;
106
107
  previousSelectedElementIds: {
107
- [id: string]: boolean;
108
+ [id: string]: true;
108
109
  };
109
110
  selectedElementsAreBeingDragged: boolean;
110
111
  shouldCacheIgnoreZoom: boolean;
@@ -177,9 +178,9 @@ export declare const actionWrapTextInContainer: {
177
178
  perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>) => {
178
179
  elements: readonly ExcalidrawElement[];
179
180
  appState: {
180
- selectedElementIds: {
181
- [id: string]: boolean;
182
- };
181
+ selectedElementIds: Mutable<Readonly<{
182
+ [id: string]: true;
183
+ }>>;
183
184
  contextMenu: {
184
185
  items: import("../components/ContextMenu").ContextMenuItems;
185
186
  top: number;
@@ -255,7 +256,7 @@ export declare const actionWrapTextInContainer: {
255
256
  defaultSidebarDockedPreference: boolean;
256
257
  lastPointerDownWith: import("../element/types").PointerType;
257
258
  previousSelectedElementIds: {
258
- [id: string]: boolean;
259
+ [id: string]: true;
259
260
  };
260
261
  selectedElementsAreBeingDragged: boolean;
261
262
  shouldCacheIgnoreZoom: boolean;
@@ -122,11 +122,11 @@ export declare const actionClearCanvas: {
122
122
  openDialog: "imageExport" | "help" | "jsonExport" | null;
123
123
  defaultSidebarDockedPreference: boolean;
124
124
  lastPointerDownWith: import("../element/types").PointerType;
125
- selectedElementIds: {
126
- [id: string]: boolean;
127
- };
125
+ selectedElementIds: Readonly<{
126
+ [id: string]: true;
127
+ }>;
128
128
  previousSelectedElementIds: {
129
- [id: string]: boolean;
129
+ [id: string]: true;
130
130
  };
131
131
  selectedElementsAreBeingDragged: boolean;
132
132
  shouldCacheIgnoreZoom: boolean;
@@ -242,11 +242,11 @@ export declare const actionZoomIn: {
242
242
  openDialog: "imageExport" | "help" | "jsonExport" | null;
243
243
  defaultSidebarDockedPreference: boolean;
244
244
  lastPointerDownWith: import("../element/types").PointerType;
245
- selectedElementIds: {
246
- [id: string]: boolean;
247
- };
245
+ selectedElementIds: Readonly<{
246
+ [id: string]: true;
247
+ }>;
248
248
  previousSelectedElementIds: {
249
- [id: string]: boolean;
249
+ [id: string]: true;
250
250
  };
251
251
  selectedElementsAreBeingDragged: boolean;
252
252
  shouldCacheIgnoreZoom: boolean;
@@ -393,11 +393,11 @@ export declare const actionZoomOut: {
393
393
  openDialog: "imageExport" | "help" | "jsonExport" | null;
394
394
  defaultSidebarDockedPreference: boolean;
395
395
  lastPointerDownWith: import("../element/types").PointerType;
396
- selectedElementIds: {
397
- [id: string]: boolean;
398
- };
396
+ selectedElementIds: Readonly<{
397
+ [id: string]: true;
398
+ }>;
399
399
  previousSelectedElementIds: {
400
- [id: string]: boolean;
400
+ [id: string]: true;
401
401
  };
402
402
  selectedElementsAreBeingDragged: boolean;
403
403
  shouldCacheIgnoreZoom: boolean;
@@ -544,11 +544,11 @@ export declare const actionResetZoom: {
544
544
  openDialog: "imageExport" | "help" | "jsonExport" | null;
545
545
  defaultSidebarDockedPreference: boolean;
546
546
  lastPointerDownWith: import("../element/types").PointerType;
547
- selectedElementIds: {
548
- [id: string]: boolean;
549
- };
547
+ selectedElementIds: Readonly<{
548
+ [id: string]: true;
549
+ }>;
550
550
  previousSelectedElementIds: {
551
- [id: string]: boolean;
551
+ [id: string]: true;
552
552
  };
553
553
  selectedElementsAreBeingDragged: boolean;
554
554
  shouldCacheIgnoreZoom: boolean;
@@ -696,11 +696,11 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
696
696
  openDialog: "imageExport" | "help" | "jsonExport" | null;
697
697
  defaultSidebarDockedPreference: boolean;
698
698
  lastPointerDownWith: import("../element/types").PointerType;
699
- selectedElementIds: {
700
- [id: string]: boolean;
701
- };
699
+ selectedElementIds: Readonly<{
700
+ [id: string]: true;
701
+ }>;
702
702
  previousSelectedElementIds: {
703
- [id: string]: boolean;
703
+ [id: string]: true;
704
704
  };
705
705
  selectedElementsAreBeingDragged: boolean;
706
706
  shouldCacheIgnoreZoom: boolean;
@@ -841,11 +841,11 @@ export declare const actionZoomToFitSelectionInViewport: {
841
841
  openDialog: "imageExport" | "help" | "jsonExport" | null;
842
842
  defaultSidebarDockedPreference: boolean;
843
843
  lastPointerDownWith: import("../element/types").PointerType;
844
- selectedElementIds: {
845
- [id: string]: boolean;
846
- };
844
+ selectedElementIds: Readonly<{
845
+ [id: string]: true;
846
+ }>;
847
847
  previousSelectedElementIds: {
848
- [id: string]: boolean;
848
+ [id: string]: true;
849
849
  };
850
850
  selectedElementsAreBeingDragged: boolean;
851
851
  shouldCacheIgnoreZoom: boolean;
@@ -990,11 +990,11 @@ export declare const actionZoomToFitSelection: {
990
990
  openDialog: "imageExport" | "help" | "jsonExport" | null;
991
991
  defaultSidebarDockedPreference: boolean;
992
992
  lastPointerDownWith: import("../element/types").PointerType;
993
- selectedElementIds: {
994
- [id: string]: boolean;
995
- };
993
+ selectedElementIds: Readonly<{
994
+ [id: string]: true;
995
+ }>;
996
996
  previousSelectedElementIds: {
997
- [id: string]: boolean;
997
+ [id: string]: true;
998
998
  };
999
999
  selectedElementsAreBeingDragged: boolean;
1000
1000
  shouldCacheIgnoreZoom: boolean;
@@ -1140,11 +1140,11 @@ export declare const actionZoomToFit: {
1140
1140
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1141
1141
  defaultSidebarDockedPreference: boolean;
1142
1142
  lastPointerDownWith: import("../element/types").PointerType;
1143
- selectedElementIds: {
1144
- [id: string]: boolean;
1145
- };
1143
+ selectedElementIds: Readonly<{
1144
+ [id: string]: true;
1145
+ }>;
1146
1146
  previousSelectedElementIds: {
1147
- [id: string]: boolean;
1147
+ [id: string]: true;
1148
1148
  };
1149
1149
  selectedElementsAreBeingDragged: boolean;
1150
1150
  shouldCacheIgnoreZoom: boolean;
@@ -1291,11 +1291,11 @@ export declare const actionToggleTheme: {
1291
1291
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1292
1292
  defaultSidebarDockedPreference: boolean;
1293
1293
  lastPointerDownWith: import("../element/types").PointerType;
1294
- selectedElementIds: {
1295
- [id: string]: boolean;
1296
- };
1294
+ selectedElementIds: Readonly<{
1295
+ [id: string]: true;
1296
+ }>;
1297
1297
  previousSelectedElementIds: {
1298
- [id: string]: boolean;
1298
+ [id: string]: true;
1299
1299
  };
1300
1300
  selectedElementsAreBeingDragged: boolean;
1301
1301
  shouldCacheIgnoreZoom: boolean;
@@ -1440,7 +1440,7 @@ export declare const actionToggleEraserTool: {
1440
1440
  defaultSidebarDockedPreference: boolean;
1441
1441
  lastPointerDownWith: import("../element/types").PointerType;
1442
1442
  previousSelectedElementIds: {
1443
- [id: string]: boolean;
1443
+ [id: string]: true;
1444
1444
  };
1445
1445
  selectedElementsAreBeingDragged: boolean;
1446
1446
  shouldCacheIgnoreZoom: boolean;
@@ -1582,7 +1582,7 @@ export declare const actionToggleHandTool: {
1582
1582
  defaultSidebarDockedPreference: boolean;
1583
1583
  lastPointerDownWith: import("../element/types").PointerType;
1584
1584
  previousSelectedElementIds: {
1585
- [id: string]: boolean;
1585
+ [id: string]: true;
1586
1586
  };
1587
1587
  selectedElementsAreBeingDragged: boolean;
1588
1588
  shouldCacheIgnoreZoom: boolean;
@@ -1719,11 +1719,11 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
1719
1719
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1720
1720
  defaultSidebarDockedPreference: boolean;
1721
1721
  lastPointerDownWith: import("../element/types").PointerType;
1722
- selectedElementIds: {
1723
- [id: string]: boolean;
1724
- };
1722
+ selectedElementIds: Readonly<{
1723
+ [id: string]: true;
1724
+ }>;
1725
1725
  previousSelectedElementIds: {
1726
- [id: string]: boolean;
1726
+ [id: string]: true;
1727
1727
  };
1728
1728
  selectedElementsAreBeingDragged: boolean;
1729
1729
  shouldCacheIgnoreZoom: boolean;
@@ -109,11 +109,11 @@ export declare const actionCut: {
109
109
  openDialog: "imageExport" | "help" | "jsonExport" | null;
110
110
  defaultSidebarDockedPreference: boolean;
111
111
  lastPointerDownWith: import("../element/types").PointerType;
112
- selectedElementIds: {
113
- [id: string]: boolean;
114
- };
112
+ selectedElementIds: Readonly<{
113
+ [id: string]: true;
114
+ }>;
115
115
  previousSelectedElementIds: {
116
- [id: string]: boolean;
116
+ [id: string]: true;
117
117
  };
118
118
  selectedElementsAreBeingDragged: boolean;
119
119
  shouldCacheIgnoreZoom: boolean;
@@ -277,11 +277,11 @@ export declare const actionCut: {
277
277
  openDialog: "imageExport" | "help" | "jsonExport" | null;
278
278
  defaultSidebarDockedPreference: boolean;
279
279
  lastPointerDownWith: import("../element/types").PointerType;
280
- selectedElementIds: {
281
- [id: string]: boolean;
282
- };
280
+ selectedElementIds: Readonly<{
281
+ [id: string]: true;
282
+ }>;
283
283
  previousSelectedElementIds: {
284
- [id: string]: boolean;
284
+ [id: string]: true;
285
285
  };
286
286
  selectedElementsAreBeingDragged: boolean;
287
287
  shouldCacheIgnoreZoom: boolean;
@@ -416,7 +416,7 @@ export declare const actionCut: {
416
416
  defaultSidebarDockedPreference: boolean;
417
417
  lastPointerDownWith: import("../element/types").PointerType;
418
418
  previousSelectedElementIds: {
419
- [id: string]: boolean;
419
+ [id: string]: true;
420
420
  };
421
421
  selectedElementsAreBeingDragged: boolean;
422
422
  shouldCacheIgnoreZoom: boolean;
@@ -566,11 +566,11 @@ export declare const actionCopyAsSvg: {
566
566
  openDialog: "imageExport" | "help" | "jsonExport" | null;
567
567
  defaultSidebarDockedPreference: boolean;
568
568
  lastPointerDownWith: import("../element/types").PointerType;
569
- selectedElementIds: {
570
- [id: string]: boolean;
571
- };
569
+ selectedElementIds: Readonly<{
570
+ [id: string]: true;
571
+ }>;
572
572
  previousSelectedElementIds: {
573
- [id: string]: boolean;
573
+ [id: string]: true;
574
574
  };
575
575
  selectedElementsAreBeingDragged: boolean;
576
576
  shouldCacheIgnoreZoom: boolean;
@@ -719,11 +719,11 @@ export declare const actionCopyAsPng: {
719
719
  openDialog: "imageExport" | "help" | "jsonExport" | null;
720
720
  defaultSidebarDockedPreference: boolean;
721
721
  lastPointerDownWith: import("../element/types").PointerType;
722
- selectedElementIds: {
723
- [id: string]: boolean;
724
- };
722
+ selectedElementIds: Readonly<{
723
+ [id: string]: true;
724
+ }>;
725
725
  previousSelectedElementIds: {
726
- [id: string]: boolean;
726
+ [id: string]: true;
727
727
  };
728
728
  selectedElementsAreBeingDragged: boolean;
729
729
  shouldCacheIgnoreZoom: boolean;
@@ -85,11 +85,11 @@ export declare const actionDeleteSelected: {
85
85
  openDialog: "imageExport" | "help" | "jsonExport" | null;
86
86
  defaultSidebarDockedPreference: boolean;
87
87
  lastPointerDownWith: import("../element/types").PointerType;
88
- selectedElementIds: {
89
- [id: string]: boolean;
90
- };
88
+ selectedElementIds: Readonly<{
89
+ [id: string]: true;
90
+ }>;
91
91
  previousSelectedElementIds: {
92
- [id: string]: boolean;
92
+ [id: string]: true;
93
93
  };
94
94
  selectedElementsAreBeingDragged: boolean;
95
95
  shouldCacheIgnoreZoom: boolean;
@@ -253,11 +253,11 @@ export declare const actionDeleteSelected: {
253
253
  openDialog: "imageExport" | "help" | "jsonExport" | null;
254
254
  defaultSidebarDockedPreference: boolean;
255
255
  lastPointerDownWith: import("../element/types").PointerType;
256
- selectedElementIds: {
257
- [id: string]: boolean;
258
- };
256
+ selectedElementIds: Readonly<{
257
+ [id: string]: true;
258
+ }>;
259
259
  previousSelectedElementIds: {
260
- [id: string]: boolean;
260
+ [id: string]: true;
261
261
  };
262
262
  selectedElementsAreBeingDragged: boolean;
263
263
  shouldCacheIgnoreZoom: boolean;
@@ -392,7 +392,7 @@ export declare const actionDeleteSelected: {
392
392
  defaultSidebarDockedPreference: boolean;
393
393
  lastPointerDownWith: import("../element/types").PointerType;
394
394
  previousSelectedElementIds: {
395
- [id: string]: boolean;
395
+ [id: string]: true;
396
396
  };
397
397
  selectedElementsAreBeingDragged: boolean;
398
398
  shouldCacheIgnoreZoom: boolean;
@@ -84,11 +84,11 @@ export declare const actionToggleElementLock: {
84
84
  openDialog: "imageExport" | "help" | "jsonExport" | null;
85
85
  defaultSidebarDockedPreference: boolean;
86
86
  lastPointerDownWith: import("../element/types").PointerType;
87
- selectedElementIds: {
88
- [id: string]: boolean;
89
- };
87
+ selectedElementIds: Readonly<{
88
+ [id: string]: true;
89
+ }>;
90
90
  previousSelectedElementIds: {
91
- [id: string]: boolean;
91
+ [id: string]: true;
92
92
  };
93
93
  selectedElementsAreBeingDragged: boolean;
94
94
  shouldCacheIgnoreZoom: boolean;
@@ -240,7 +240,7 @@ export declare const actionUnlockAllElements: {
240
240
  defaultSidebarDockedPreference: boolean;
241
241
  lastPointerDownWith: import("../element/types").PointerType;
242
242
  previousSelectedElementIds: {
243
- [id: string]: boolean;
243
+ [id: string]: true;
244
244
  };
245
245
  selectedElementsAreBeingDragged: boolean;
246
246
  shouldCacheIgnoreZoom: boolean;
@@ -79,11 +79,11 @@ export declare const actionChangeProjectName: {
79
79
  openDialog: "imageExport" | "help" | "jsonExport" | null;
80
80
  defaultSidebarDockedPreference: boolean;
81
81
  lastPointerDownWith: import("../element/types").PointerType;
82
- selectedElementIds: {
83
- [id: string]: boolean;
84
- };
82
+ selectedElementIds: Readonly<{
83
+ [id: string]: true;
84
+ }>;
85
85
  previousSelectedElementIds: {
86
- [id: string]: boolean;
86
+ [id: string]: true;
87
87
  };
88
88
  selectedElementsAreBeingDragged: boolean;
89
89
  shouldCacheIgnoreZoom: boolean;
@@ -229,11 +229,11 @@ export declare const actionChangeExportScale: {
229
229
  openDialog: "imageExport" | "help" | "jsonExport" | null;
230
230
  defaultSidebarDockedPreference: boolean;
231
231
  lastPointerDownWith: import("../element/types").PointerType;
232
- selectedElementIds: {
233
- [id: string]: boolean;
234
- };
232
+ selectedElementIds: Readonly<{
233
+ [id: string]: true;
234
+ }>;
235
235
  previousSelectedElementIds: {
236
- [id: string]: boolean;
236
+ [id: string]: true;
237
237
  };
238
238
  selectedElementsAreBeingDragged: boolean;
239
239
  shouldCacheIgnoreZoom: boolean;
@@ -379,11 +379,11 @@ export declare const actionChangeExportBackground: {
379
379
  openDialog: "imageExport" | "help" | "jsonExport" | null;
380
380
  defaultSidebarDockedPreference: boolean;
381
381
  lastPointerDownWith: import("../element/types").PointerType;
382
- selectedElementIds: {
383
- [id: string]: boolean;
384
- };
382
+ selectedElementIds: Readonly<{
383
+ [id: string]: true;
384
+ }>;
385
385
  previousSelectedElementIds: {
386
- [id: string]: boolean;
386
+ [id: string]: true;
387
387
  };
388
388
  selectedElementsAreBeingDragged: boolean;
389
389
  shouldCacheIgnoreZoom: boolean;
@@ -529,11 +529,11 @@ export declare const actionChangeExportEmbedScene: {
529
529
  openDialog: "imageExport" | "help" | "jsonExport" | null;
530
530
  defaultSidebarDockedPreference: boolean;
531
531
  lastPointerDownWith: import("../element/types").PointerType;
532
- selectedElementIds: {
533
- [id: string]: boolean;
534
- };
532
+ selectedElementIds: Readonly<{
533
+ [id: string]: true;
534
+ }>;
535
535
  previousSelectedElementIds: {
536
- [id: string]: boolean;
536
+ [id: string]: true;
537
537
  };
538
538
  selectedElementsAreBeingDragged: boolean;
539
539
  shouldCacheIgnoreZoom: boolean;
@@ -684,11 +684,11 @@ export declare const actionSaveToActiveFile: {
684
684
  openDialog: "imageExport" | "help" | "jsonExport" | null;
685
685
  defaultSidebarDockedPreference: boolean;
686
686
  lastPointerDownWith: import("../element/types").PointerType;
687
- selectedElementIds: {
688
- [id: string]: boolean;
689
- };
687
+ selectedElementIds: Readonly<{
688
+ [id: string]: true;
689
+ }>;
690
690
  previousSelectedElementIds: {
691
- [id: string]: boolean;
691
+ [id: string]: true;
692
692
  };
693
693
  selectedElementsAreBeingDragged: boolean;
694
694
  shouldCacheIgnoreZoom: boolean;
@@ -832,11 +832,11 @@ export declare const actionSaveFileToDisk: {
832
832
  openDialog: "imageExport" | "help" | "jsonExport" | null;
833
833
  defaultSidebarDockedPreference: boolean;
834
834
  lastPointerDownWith: import("../element/types").PointerType;
835
- selectedElementIds: {
836
- [id: string]: boolean;
837
- };
835
+ selectedElementIds: Readonly<{
836
+ [id: string]: true;
837
+ }>;
838
838
  previousSelectedElementIds: {
839
- [id: string]: boolean;
839
+ [id: string]: true;
840
840
  };
841
841
  selectedElementsAreBeingDragged: boolean;
842
842
  shouldCacheIgnoreZoom: boolean;
@@ -986,11 +986,11 @@ export declare const actionLoadScene: {
986
986
  openDialog: "imageExport" | "help" | "jsonExport" | null;
987
987
  defaultSidebarDockedPreference: boolean;
988
988
  lastPointerDownWith: import("../element/types").PointerType;
989
- selectedElementIds: {
990
- [id: string]: boolean;
991
- };
989
+ selectedElementIds: Readonly<{
990
+ [id: string]: true;
991
+ }>;
992
992
  previousSelectedElementIds: {
993
- [id: string]: boolean;
993
+ [id: string]: true;
994
994
  };
995
995
  selectedElementsAreBeingDragged: boolean;
996
996
  shouldCacheIgnoreZoom: boolean;
@@ -1122,11 +1122,11 @@ export declare const actionLoadScene: {
1122
1122
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1123
1123
  defaultSidebarDockedPreference: boolean;
1124
1124
  lastPointerDownWith: import("../element/types").PointerType;
1125
- selectedElementIds: {
1126
- [id: string]: boolean;
1127
- };
1125
+ selectedElementIds: Readonly<{
1126
+ [id: string]: true;
1127
+ }>;
1128
1128
  previousSelectedElementIds: {
1129
- [id: string]: boolean;
1129
+ [id: string]: true;
1130
1130
  };
1131
1131
  selectedElementsAreBeingDragged: boolean;
1132
1132
  shouldCacheIgnoreZoom: boolean;
@@ -1273,11 +1273,11 @@ export declare const actionExportWithDarkMode: {
1273
1273
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1274
1274
  defaultSidebarDockedPreference: boolean;
1275
1275
  lastPointerDownWith: import("../element/types").PointerType;
1276
- selectedElementIds: {
1277
- [id: string]: boolean;
1278
- };
1276
+ selectedElementIds: Readonly<{
1277
+ [id: string]: true;
1278
+ }>;
1279
1279
  previousSelectedElementIds: {
1280
- [id: string]: boolean;
1280
+ [id: string]: true;
1281
1281
  };
1282
1282
  selectedElementsAreBeingDragged: boolean;
1283
1283
  shouldCacheIgnoreZoom: boolean;
@@ -81,11 +81,11 @@ export declare const actionFinalize: {
81
81
  openDialog: "imageExport" | "help" | "jsonExport" | null;
82
82
  defaultSidebarDockedPreference: boolean;
83
83
  lastPointerDownWith: import("../element/types").PointerType;
84
- selectedElementIds: {
85
- [id: string]: boolean;
86
- };
84
+ selectedElementIds: Readonly<{
85
+ [id: string]: true;
86
+ }>;
87
87
  previousSelectedElementIds: {
88
- [id: string]: boolean;
88
+ [id: string]: true;
89
89
  };
90
90
  selectedElementsAreBeingDragged: boolean;
91
91
  shouldCacheIgnoreZoom: boolean;
@@ -163,9 +163,9 @@ export declare const actionFinalize: {
163
163
  editingElement: null;
164
164
  startBoundElement: null;
165
165
  suggestedBindings: never[];
166
- selectedElementIds: {
167
- [id: string]: boolean;
168
- };
166
+ selectedElementIds: Readonly<{
167
+ [id: string]: true;
168
+ }>;
169
169
  selectedLinearElement: LinearElementEditor | null;
170
170
  pendingImageElementId: null;
171
171
  contextMenu: {
@@ -227,7 +227,7 @@ export declare const actionFinalize: {
227
227
  defaultSidebarDockedPreference: boolean;
228
228
  lastPointerDownWith: import("../element/types").PointerType;
229
229
  previousSelectedElementIds: {
230
- [id: string]: boolean;
230
+ [id: string]: true;
231
231
  };
232
232
  selectedElementsAreBeingDragged: boolean;
233
233
  shouldCacheIgnoreZoom: boolean;
@@ -102,7 +102,7 @@ export declare const actionRemoveAllElementsFromFrame: {
102
102
  defaultSidebarDockedPreference: boolean;
103
103
  lastPointerDownWith: import("../element/types").PointerType;
104
104
  previousSelectedElementIds: {
105
- [id: string]: boolean;
105
+ [id: string]: true;
106
106
  };
107
107
  selectedElementsAreBeingDragged: boolean;
108
108
  shouldCacheIgnoreZoom: boolean;
@@ -254,11 +254,11 @@ export declare const actionToggleFrameRendering: {
254
254
  openDialog: "imageExport" | "help" | "jsonExport" | null;
255
255
  defaultSidebarDockedPreference: boolean;
256
256
  lastPointerDownWith: import("../element/types").PointerType;
257
- selectedElementIds: {
258
- [id: string]: boolean;
259
- };
257
+ selectedElementIds: Readonly<{
258
+ [id: string]: true;
259
+ }>;
260
260
  previousSelectedElementIds: {
261
- [id: string]: boolean;
261
+ [id: string]: true;
262
262
  };
263
263
  selectedElementsAreBeingDragged: boolean;
264
264
  shouldCacheIgnoreZoom: boolean;
@@ -405,11 +405,11 @@ export declare const actionSetFrameAsActiveTool: {
405
405
  openDialog: "imageExport" | "help" | "jsonExport" | null;
406
406
  defaultSidebarDockedPreference: boolean;
407
407
  lastPointerDownWith: import("../element/types").PointerType;
408
- selectedElementIds: {
409
- [id: string]: boolean;
410
- };
408
+ selectedElementIds: Readonly<{
409
+ [id: string]: true;
410
+ }>;
411
411
  previousSelectedElementIds: {
412
- [id: string]: boolean;
412
+ [id: string]: true;
413
413
  };
414
414
  selectedElementsAreBeingDragged: boolean;
415
415
  shouldCacheIgnoreZoom: boolean;
@@ -83,11 +83,11 @@ export declare const actionToggleLinearEditor: {
83
83
  openDialog: "imageExport" | "help" | "jsonExport" | null;
84
84
  defaultSidebarDockedPreference: boolean;
85
85
  lastPointerDownWith: import("../element/types").PointerType;
86
- selectedElementIds: {
87
- [id: string]: boolean;
88
- };
86
+ selectedElementIds: Readonly<{
87
+ [id: string]: true;
88
+ }>;
89
89
  previousSelectedElementIds: {
90
- [id: string]: boolean;
90
+ [id: string]: true;
91
91
  };
92
92
  selectedElementsAreBeingDragged: boolean;
93
93
  shouldCacheIgnoreZoom: boolean;