@printstack/print-studio 0.1.0 → 0.1.2
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 +122 -154
- package/assets/render.worker-DkH7TepL.js +109 -0
- package/{cloneDeep-C5UZRjbH.js → cloneDeep-waBDTGc3.js} +10 -4
- package/components/print-s-logo/print-s-logo.vue.d.ts +1 -1
- package/components/s-form/types.d.ts +1 -1
- package/core/coordinate-space.d.ts +16 -0
- package/core/document-model.d.ts +1 -1
- package/core/element-registry.d.ts +3 -8
- package/core/page-extensions.d.ts +1 -1
- package/core/types.d.ts +8 -0
- package/core.js +2 -2
- package/designer/commands/menu-adapter.d.ts +3 -3
- package/designer/commands/menu-types.d.ts +8 -1
- package/designer/commands/types.d.ts +2 -0
- package/designer/components/dialogs/preview-dialog.vue.d.ts +10 -1
- package/designer/components/dialogs/print-preview-dialog.vue.d.ts +14 -0
- package/designer/components/dialogs/print-preview-source.d.ts +22 -0
- package/designer/components/dialogs/use-document-preview.d.ts +5 -1
- package/designer/components/dialogs/use-preview-renderer.d.ts +2 -0
- package/designer/components/dialogs/use-print-preview.d.ts +33 -0
- package/designer/components/fields/use-table-draft.d.ts +0 -4
- package/designer/components/panels/layer-row-types.d.ts +37 -0
- package/designer/components/panels/layer-row.vue.d.ts +17 -0
- package/designer/components/stage/marquee-overlay.vue.d.ts +8 -0
- package/designer/components/stage/node-style.d.ts +3 -0
- package/designer/components/stage/selection-member.vue.d.ts +14 -0
- package/designer/composables/use-theme.d.ts +3 -0
- package/designer/facade/editing.d.ts +2 -2
- package/designer/facade/entities.d.ts +1156 -22
- package/designer/facade/output.d.ts +2 -2
- package/designer/frame/print-designer-frame.vue.d.ts +2 -2
- package/designer/frame/shared.d.ts +2 -0
- package/designer/frame/view.d.ts +9 -0
- package/designer/interactions/marquee.d.ts +1 -1
- package/designer/interactions/move.d.ts +3 -1
- package/designer/mount-print-designer.d.ts +1 -1
- package/designer/mount-print-preview.d.ts +5 -0
- package/designer/plugins/plugin-manager.d.ts +3 -3
- package/designer/plugins/types.d.ts +1 -1
- package/designer/print-designer.vue.d.ts +2 -2
- package/designer/print-preview.vue.d.ts +4 -0
- package/designer/stores/document-store.d.ts +72 -0
- package/designer/stores/editor-store.d.ts +770 -14
- package/designer/stores/page-store.d.ts +25 -1
- package/designer/stores/template-store.d.ts +52 -4
- package/designer/stores/types.d.ts +1 -0
- package/designer/stores/ui-store.d.ts +232 -3
- package/designer/stores/view-store.d.ts +10 -1
- package/designer.d.ts +1 -1
- package/designer.js +3 -3
- package/{document-model-DC9sn2WV.js → document-model-Cc5RoO4j.js} +160 -179
- package/elements/table/table-style.d.ts +3 -10
- package/host-OAp3gFDx.js +123 -0
- package/index.js +5 -5
- package/locales/runtime.d.ts +8 -2
- package/locales/translations/zh-CN/app.json.d.ts +1 -0
- package/locales/translations/zh-CN/designer.json.d.ts +9 -4
- package/{mount-print-designer-BzHLGlv-.js → mount-print-designer-DnHTrBE9.js} +4 -3
- package/mount-print-preview-Bcb08lJ-.js +66 -0
- package/package.json +1 -1
- package/presets-BunYODhE.js +13 -0
- package/{registries-BOU8RLim.js → registries-sg39PGF1.js} +793 -790
- package/runtime/browser-output.d.ts +2 -0
- package/runtime.js +4 -4
- package/{saas-B3fJOgHX.js → saas-D-q51uTz.js} +1 -1
- package/saas.js +1 -1
- package/{studio-C_rqbJ9q.js → studio-B3B6zI06.js} +830 -754
- package/studio-types.d.ts +3 -2
- package/style.css +1 -1
- package/vue.js +1035 -941
- package/assets/render.worker-Cfbk18NW.js +0 -109
- package/presets-Cwp20ef6.js +0 -133
|
@@ -354,6 +354,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
354
354
|
top: number;
|
|
355
355
|
} | undefined;
|
|
356
356
|
name: string;
|
|
357
|
+
position?: {
|
|
358
|
+
x: number;
|
|
359
|
+
y: number;
|
|
360
|
+
} | undefined;
|
|
357
361
|
templateId?: string | undefined;
|
|
358
362
|
width: number;
|
|
359
363
|
}[];
|
|
@@ -409,6 +413,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
409
413
|
top: number;
|
|
410
414
|
} | undefined;
|
|
411
415
|
name: string;
|
|
416
|
+
position?: {
|
|
417
|
+
x: number;
|
|
418
|
+
y: number;
|
|
419
|
+
} | undefined;
|
|
412
420
|
templateId?: string | undefined;
|
|
413
421
|
width: number;
|
|
414
422
|
} | undefined;
|
|
@@ -456,6 +464,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
456
464
|
top: number;
|
|
457
465
|
} | undefined;
|
|
458
466
|
name: string;
|
|
467
|
+
position?: {
|
|
468
|
+
x: number;
|
|
469
|
+
y: number;
|
|
470
|
+
} | undefined;
|
|
459
471
|
templateId?: string | undefined;
|
|
460
472
|
width: number;
|
|
461
473
|
};
|
|
@@ -538,6 +550,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
538
550
|
top: number;
|
|
539
551
|
} | undefined;
|
|
540
552
|
name: string;
|
|
553
|
+
position?: {
|
|
554
|
+
x: number;
|
|
555
|
+
y: number;
|
|
556
|
+
} | undefined;
|
|
541
557
|
templateId?: string | undefined;
|
|
542
558
|
width: number;
|
|
543
559
|
}[];
|
|
@@ -593,6 +609,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
593
609
|
top: number;
|
|
594
610
|
} | undefined;
|
|
595
611
|
name: string;
|
|
612
|
+
position?: {
|
|
613
|
+
x: number;
|
|
614
|
+
y: number;
|
|
615
|
+
} | undefined;
|
|
596
616
|
templateId?: string | undefined;
|
|
597
617
|
width: number;
|
|
598
618
|
} | undefined;
|
|
@@ -640,6 +660,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
640
660
|
top: number;
|
|
641
661
|
} | undefined;
|
|
642
662
|
name: string;
|
|
663
|
+
position?: {
|
|
664
|
+
x: number;
|
|
665
|
+
y: number;
|
|
666
|
+
} | undefined;
|
|
643
667
|
templateId?: string | undefined;
|
|
644
668
|
width: number;
|
|
645
669
|
};
|
|
@@ -740,6 +764,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
740
764
|
top: number;
|
|
741
765
|
} | undefined;
|
|
742
766
|
name: string;
|
|
767
|
+
position?: {
|
|
768
|
+
x: number;
|
|
769
|
+
y: number;
|
|
770
|
+
} | undefined;
|
|
743
771
|
templateId?: string | undefined;
|
|
744
772
|
width: number;
|
|
745
773
|
}[];
|
|
@@ -795,6 +823,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
795
823
|
top: number;
|
|
796
824
|
} | undefined;
|
|
797
825
|
name: string;
|
|
826
|
+
position?: {
|
|
827
|
+
x: number;
|
|
828
|
+
y: number;
|
|
829
|
+
} | undefined;
|
|
798
830
|
templateId?: string | undefined;
|
|
799
831
|
width: number;
|
|
800
832
|
} | undefined;
|
|
@@ -842,6 +874,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
842
874
|
top: number;
|
|
843
875
|
} | undefined;
|
|
844
876
|
name: string;
|
|
877
|
+
position?: {
|
|
878
|
+
x: number;
|
|
879
|
+
y: number;
|
|
880
|
+
} | undefined;
|
|
845
881
|
templateId?: string | undefined;
|
|
846
882
|
width: number;
|
|
847
883
|
};
|
|
@@ -924,6 +960,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
924
960
|
top: number;
|
|
925
961
|
} | undefined;
|
|
926
962
|
name: string;
|
|
963
|
+
position?: {
|
|
964
|
+
x: number;
|
|
965
|
+
y: number;
|
|
966
|
+
} | undefined;
|
|
927
967
|
templateId?: string | undefined;
|
|
928
968
|
width: number;
|
|
929
969
|
}[];
|
|
@@ -979,6 +1019,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
979
1019
|
top: number;
|
|
980
1020
|
} | undefined;
|
|
981
1021
|
name: string;
|
|
1022
|
+
position?: {
|
|
1023
|
+
x: number;
|
|
1024
|
+
y: number;
|
|
1025
|
+
} | undefined;
|
|
982
1026
|
templateId?: string | undefined;
|
|
983
1027
|
width: number;
|
|
984
1028
|
} | undefined;
|
|
@@ -1026,6 +1070,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
1026
1070
|
top: number;
|
|
1027
1071
|
} | undefined;
|
|
1028
1072
|
name: string;
|
|
1073
|
+
position?: {
|
|
1074
|
+
x: number;
|
|
1075
|
+
y: number;
|
|
1076
|
+
} | undefined;
|
|
1029
1077
|
templateId?: string | undefined;
|
|
1030
1078
|
width: number;
|
|
1031
1079
|
};
|
|
@@ -1126,6 +1174,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
1126
1174
|
top: number;
|
|
1127
1175
|
} | undefined;
|
|
1128
1176
|
name: string;
|
|
1177
|
+
position?: {
|
|
1178
|
+
x: number;
|
|
1179
|
+
y: number;
|
|
1180
|
+
} | undefined;
|
|
1129
1181
|
templateId?: string | undefined;
|
|
1130
1182
|
width: number;
|
|
1131
1183
|
}[];
|
|
@@ -1181,6 +1233,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
1181
1233
|
top: number;
|
|
1182
1234
|
} | undefined;
|
|
1183
1235
|
name: string;
|
|
1236
|
+
position?: {
|
|
1237
|
+
x: number;
|
|
1238
|
+
y: number;
|
|
1239
|
+
} | undefined;
|
|
1184
1240
|
templateId?: string | undefined;
|
|
1185
1241
|
width: number;
|
|
1186
1242
|
} | undefined;
|
|
@@ -1228,6 +1284,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
1228
1284
|
top: number;
|
|
1229
1285
|
} | undefined;
|
|
1230
1286
|
name: string;
|
|
1287
|
+
position?: {
|
|
1288
|
+
x: number;
|
|
1289
|
+
y: number;
|
|
1290
|
+
} | undefined;
|
|
1231
1291
|
templateId?: string | undefined;
|
|
1232
1292
|
width: number;
|
|
1233
1293
|
};
|
|
@@ -1310,6 +1370,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
1310
1370
|
top: number;
|
|
1311
1371
|
} | undefined;
|
|
1312
1372
|
name: string;
|
|
1373
|
+
position?: {
|
|
1374
|
+
x: number;
|
|
1375
|
+
y: number;
|
|
1376
|
+
} | undefined;
|
|
1313
1377
|
templateId?: string | undefined;
|
|
1314
1378
|
width: number;
|
|
1315
1379
|
}[];
|
|
@@ -1365,6 +1429,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
1365
1429
|
top: number;
|
|
1366
1430
|
} | undefined;
|
|
1367
1431
|
name: string;
|
|
1432
|
+
position?: {
|
|
1433
|
+
x: number;
|
|
1434
|
+
y: number;
|
|
1435
|
+
} | undefined;
|
|
1368
1436
|
templateId?: string | undefined;
|
|
1369
1437
|
width: number;
|
|
1370
1438
|
} | undefined;
|
|
@@ -1412,6 +1480,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
1412
1480
|
top: number;
|
|
1413
1481
|
} | undefined;
|
|
1414
1482
|
name: string;
|
|
1483
|
+
position?: {
|
|
1484
|
+
x: number;
|
|
1485
|
+
y: number;
|
|
1486
|
+
} | undefined;
|
|
1415
1487
|
templateId?: string | undefined;
|
|
1416
1488
|
width: number;
|
|
1417
1489
|
};
|
|
@@ -2196,9 +2268,17 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
2196
2268
|
top: number;
|
|
2197
2269
|
} | undefined;
|
|
2198
2270
|
name: string;
|
|
2271
|
+
position?: {
|
|
2272
|
+
x: number;
|
|
2273
|
+
y: number;
|
|
2274
|
+
} | undefined;
|
|
2199
2275
|
templateId?: string | undefined;
|
|
2200
2276
|
width: number;
|
|
2201
2277
|
}[]>;
|
|
2278
|
+
move: (pageId: string, position: null | {
|
|
2279
|
+
x: number;
|
|
2280
|
+
y: number;
|
|
2281
|
+
}) => void;
|
|
2202
2282
|
remove: (pageId: string) => void;
|
|
2203
2283
|
setActive: (id: string) => void;
|
|
2204
2284
|
update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
|
|
@@ -2247,9 +2327,17 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
2247
2327
|
top: number;
|
|
2248
2328
|
} | undefined;
|
|
2249
2329
|
name: string;
|
|
2330
|
+
position?: {
|
|
2331
|
+
x: number;
|
|
2332
|
+
y: number;
|
|
2333
|
+
} | undefined;
|
|
2250
2334
|
templateId?: string | undefined;
|
|
2251
2335
|
width: number;
|
|
2252
2336
|
}[]>;
|
|
2337
|
+
move: (pageId: string, position: null | {
|
|
2338
|
+
x: number;
|
|
2339
|
+
y: number;
|
|
2340
|
+
}) => void;
|
|
2253
2341
|
remove: (pageId: string) => void;
|
|
2254
2342
|
setActive: (id: string) => void;
|
|
2255
2343
|
update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
|
|
@@ -2298,13 +2386,21 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
2298
2386
|
top: number;
|
|
2299
2387
|
} | undefined;
|
|
2300
2388
|
name: string;
|
|
2389
|
+
position?: {
|
|
2390
|
+
x: number;
|
|
2391
|
+
y: number;
|
|
2392
|
+
} | undefined;
|
|
2301
2393
|
templateId?: string | undefined;
|
|
2302
2394
|
width: number;
|
|
2303
2395
|
}[]>;
|
|
2396
|
+
move: (pageId: string, position: null | {
|
|
2397
|
+
x: number;
|
|
2398
|
+
y: number;
|
|
2399
|
+
}) => void;
|
|
2304
2400
|
remove: (pageId: string) => void;
|
|
2305
2401
|
setActive: (id: string) => void;
|
|
2306
2402
|
update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
|
|
2307
|
-
}, "copy" | "add" | "remove" | "update" | "setActive">>;
|
|
2403
|
+
}, "copy" | "add" | "remove" | "update" | "move" | "setActive">>;
|
|
2308
2404
|
panel: import('pinia').Store<"editor-panel", Pick<{
|
|
2309
2405
|
activate: (groupId: string, panelId: string, popout?: boolean) => void;
|
|
2310
2406
|
beginDrag: (state: Omit<import('./types').PanelDragState, "target">, bounds?: Pick<import('./types').PanelColumn, "collapsed" | "height" | "width" | "x" | "y">) => void;
|
|
@@ -3202,6 +3298,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3202
3298
|
top: number;
|
|
3203
3299
|
} | undefined;
|
|
3204
3300
|
name: string;
|
|
3301
|
+
position?: {
|
|
3302
|
+
x: number;
|
|
3303
|
+
y: number;
|
|
3304
|
+
} | undefined;
|
|
3205
3305
|
templateId?: string | undefined;
|
|
3206
3306
|
width: number;
|
|
3207
3307
|
} | undefined;
|
|
@@ -3249,6 +3349,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3249
3349
|
top: number;
|
|
3250
3350
|
} | undefined;
|
|
3251
3351
|
name: string;
|
|
3352
|
+
position?: {
|
|
3353
|
+
x: number;
|
|
3354
|
+
y: number;
|
|
3355
|
+
} | undefined;
|
|
3252
3356
|
templateId?: string | undefined;
|
|
3253
3357
|
width: number;
|
|
3254
3358
|
};
|
|
@@ -3304,6 +3408,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3304
3408
|
top: number;
|
|
3305
3409
|
} | undefined;
|
|
3306
3410
|
name: string;
|
|
3411
|
+
position?: {
|
|
3412
|
+
x: number;
|
|
3413
|
+
y: number;
|
|
3414
|
+
} | undefined;
|
|
3307
3415
|
templateId?: string | undefined;
|
|
3308
3416
|
width: number;
|
|
3309
3417
|
} | undefined;
|
|
@@ -3351,6 +3459,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3351
3459
|
top: number;
|
|
3352
3460
|
} | undefined;
|
|
3353
3461
|
name: string;
|
|
3462
|
+
position?: {
|
|
3463
|
+
x: number;
|
|
3464
|
+
y: number;
|
|
3465
|
+
} | undefined;
|
|
3354
3466
|
templateId?: string | undefined;
|
|
3355
3467
|
width: number;
|
|
3356
3468
|
};
|
|
@@ -3363,7 +3475,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3363
3475
|
rename: (id: string, name: string) => void;
|
|
3364
3476
|
resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
|
|
3365
3477
|
syncPageDimensions: (pageIds: string[]) => void;
|
|
3366
|
-
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages"
|
|
3478
|
+
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('./types').MutationOptions) => void;
|
|
3367
3479
|
updatePage: (pageId: string, patch: import('./types').EditingPagePatch) => void;
|
|
3368
3480
|
usageCount: import('vue').ComputedRef<(id: string) => number>;
|
|
3369
3481
|
}, "editingId">, Pick<{
|
|
@@ -3414,6 +3526,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3414
3526
|
top: number;
|
|
3415
3527
|
} | undefined;
|
|
3416
3528
|
name: string;
|
|
3529
|
+
position?: {
|
|
3530
|
+
x: number;
|
|
3531
|
+
y: number;
|
|
3532
|
+
} | undefined;
|
|
3417
3533
|
templateId?: string | undefined;
|
|
3418
3534
|
width: number;
|
|
3419
3535
|
} | undefined;
|
|
@@ -3461,6 +3577,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3461
3577
|
top: number;
|
|
3462
3578
|
} | undefined;
|
|
3463
3579
|
name: string;
|
|
3580
|
+
position?: {
|
|
3581
|
+
x: number;
|
|
3582
|
+
y: number;
|
|
3583
|
+
} | undefined;
|
|
3464
3584
|
templateId?: string | undefined;
|
|
3465
3585
|
width: number;
|
|
3466
3586
|
};
|
|
@@ -3516,6 +3636,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3516
3636
|
top: number;
|
|
3517
3637
|
} | undefined;
|
|
3518
3638
|
name: string;
|
|
3639
|
+
position?: {
|
|
3640
|
+
x: number;
|
|
3641
|
+
y: number;
|
|
3642
|
+
} | undefined;
|
|
3519
3643
|
templateId?: string | undefined;
|
|
3520
3644
|
width: number;
|
|
3521
3645
|
} | undefined;
|
|
@@ -3563,6 +3687,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3563
3687
|
top: number;
|
|
3564
3688
|
} | undefined;
|
|
3565
3689
|
name: string;
|
|
3690
|
+
position?: {
|
|
3691
|
+
x: number;
|
|
3692
|
+
y: number;
|
|
3693
|
+
} | undefined;
|
|
3566
3694
|
templateId?: string | undefined;
|
|
3567
3695
|
width: number;
|
|
3568
3696
|
};
|
|
@@ -3575,7 +3703,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3575
3703
|
rename: (id: string, name: string) => void;
|
|
3576
3704
|
resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
|
|
3577
3705
|
syncPageDimensions: (pageIds: string[]) => void;
|
|
3578
|
-
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages"
|
|
3706
|
+
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('./types').MutationOptions) => void;
|
|
3579
3707
|
updatePage: (pageId: string, patch: import('./types').EditingPagePatch) => void;
|
|
3580
3708
|
usageCount: import('vue').ComputedRef<(id: string) => number>;
|
|
3581
3709
|
}, "usageCount" | "get" | "list" | "getByPage" | "editingPage" | "editingPages" | "editingTemplate" | "effectiveBackground" | "effectiveTemplate" | "isContainer" | "resolveFor">, Pick<{
|
|
@@ -3626,6 +3754,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3626
3754
|
top: number;
|
|
3627
3755
|
} | undefined;
|
|
3628
3756
|
name: string;
|
|
3757
|
+
position?: {
|
|
3758
|
+
x: number;
|
|
3759
|
+
y: number;
|
|
3760
|
+
} | undefined;
|
|
3629
3761
|
templateId?: string | undefined;
|
|
3630
3762
|
width: number;
|
|
3631
3763
|
} | undefined;
|
|
@@ -3673,6 +3805,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3673
3805
|
top: number;
|
|
3674
3806
|
} | undefined;
|
|
3675
3807
|
name: string;
|
|
3808
|
+
position?: {
|
|
3809
|
+
x: number;
|
|
3810
|
+
y: number;
|
|
3811
|
+
} | undefined;
|
|
3676
3812
|
templateId?: string | undefined;
|
|
3677
3813
|
width: number;
|
|
3678
3814
|
};
|
|
@@ -3728,6 +3864,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3728
3864
|
top: number;
|
|
3729
3865
|
} | undefined;
|
|
3730
3866
|
name: string;
|
|
3867
|
+
position?: {
|
|
3868
|
+
x: number;
|
|
3869
|
+
y: number;
|
|
3870
|
+
} | undefined;
|
|
3731
3871
|
templateId?: string | undefined;
|
|
3732
3872
|
width: number;
|
|
3733
3873
|
} | undefined;
|
|
@@ -3775,6 +3915,10 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3775
3915
|
top: number;
|
|
3776
3916
|
} | undefined;
|
|
3777
3917
|
name: string;
|
|
3918
|
+
position?: {
|
|
3919
|
+
x: number;
|
|
3920
|
+
y: number;
|
|
3921
|
+
} | undefined;
|
|
3778
3922
|
templateId?: string | undefined;
|
|
3779
3923
|
width: number;
|
|
3780
3924
|
};
|
|
@@ -3787,7 +3931,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3787
3931
|
rename: (id: string, name: string) => void;
|
|
3788
3932
|
resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
|
|
3789
3933
|
syncPageDimensions: (pageIds: string[]) => void;
|
|
3790
|
-
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages"
|
|
3934
|
+
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('./types').MutationOptions) => void;
|
|
3791
3935
|
updatePage: (pageId: string, patch: import('./types').EditingPagePatch) => void;
|
|
3792
3936
|
usageCount: import('vue').ComputedRef<(id: string) => number>;
|
|
3793
3937
|
}, "create" | "rename" | "remove" | "update" | "updatePage" | "activatePage" | "applyToPages" | "createFromPage" | "detach" | "enterEdit" | "exitEdit" | "import" | "syncPageDimensions">>;
|
|
@@ -3891,9 +4035,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3891
4035
|
disabled?: boolean | undefined;
|
|
3892
4036
|
help?: string | undefined;
|
|
3893
4037
|
icon?: string | undefined;
|
|
4038
|
+
keepOpen?: boolean | undefined;
|
|
3894
4039
|
label: string;
|
|
3895
4040
|
shortcut?: string | undefined;
|
|
3896
4041
|
type: "item";
|
|
4042
|
+
} | {
|
|
4043
|
+
icon?: string | undefined;
|
|
4044
|
+
items: {
|
|
4045
|
+
action: () => void;
|
|
4046
|
+
checked?: boolean | undefined;
|
|
4047
|
+
commandId?: string | undefined;
|
|
4048
|
+
danger?: boolean | undefined;
|
|
4049
|
+
disabled?: boolean | undefined;
|
|
4050
|
+
help?: string | undefined;
|
|
4051
|
+
icon?: string | undefined;
|
|
4052
|
+
keepOpen?: boolean | undefined;
|
|
4053
|
+
label: string;
|
|
4054
|
+
shortcut?: string | undefined;
|
|
4055
|
+
type: "item";
|
|
4056
|
+
}[];
|
|
4057
|
+
label: string;
|
|
4058
|
+
type: "segment";
|
|
3897
4059
|
} | {
|
|
3898
4060
|
icon?: string | undefined;
|
|
3899
4061
|
items: ({
|
|
@@ -3906,9 +4068,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3906
4068
|
disabled?: boolean | undefined;
|
|
3907
4069
|
help?: string | undefined;
|
|
3908
4070
|
icon?: string | undefined;
|
|
4071
|
+
keepOpen?: boolean | undefined;
|
|
3909
4072
|
label: string;
|
|
3910
4073
|
shortcut?: string | undefined;
|
|
3911
4074
|
type: "item";
|
|
4075
|
+
} | {
|
|
4076
|
+
icon?: string | undefined;
|
|
4077
|
+
items: {
|
|
4078
|
+
action: () => void;
|
|
4079
|
+
checked?: boolean | undefined;
|
|
4080
|
+
commandId?: string | undefined;
|
|
4081
|
+
danger?: boolean | undefined;
|
|
4082
|
+
disabled?: boolean | undefined;
|
|
4083
|
+
help?: string | undefined;
|
|
4084
|
+
icon?: string | undefined;
|
|
4085
|
+
keepOpen?: boolean | undefined;
|
|
4086
|
+
label: string;
|
|
4087
|
+
shortcut?: string | undefined;
|
|
4088
|
+
type: "item";
|
|
4089
|
+
}[];
|
|
4090
|
+
label: string;
|
|
4091
|
+
type: "segment";
|
|
3912
4092
|
} | /*elided*/ any)[];
|
|
3913
4093
|
label: string;
|
|
3914
4094
|
type: "submenu";
|
|
@@ -3932,9 +4112,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3932
4112
|
disabled?: boolean | undefined;
|
|
3933
4113
|
help?: string | undefined;
|
|
3934
4114
|
icon?: string | undefined;
|
|
4115
|
+
keepOpen?: boolean | undefined;
|
|
3935
4116
|
label: string;
|
|
3936
4117
|
shortcut?: string | undefined;
|
|
3937
4118
|
type: "item";
|
|
4119
|
+
} | {
|
|
4120
|
+
icon?: string | undefined;
|
|
4121
|
+
items: {
|
|
4122
|
+
action: () => void;
|
|
4123
|
+
checked?: boolean | undefined;
|
|
4124
|
+
commandId?: string | undefined;
|
|
4125
|
+
danger?: boolean | undefined;
|
|
4126
|
+
disabled?: boolean | undefined;
|
|
4127
|
+
help?: string | undefined;
|
|
4128
|
+
icon?: string | undefined;
|
|
4129
|
+
keepOpen?: boolean | undefined;
|
|
4130
|
+
label: string;
|
|
4131
|
+
shortcut?: string | undefined;
|
|
4132
|
+
type: "item";
|
|
4133
|
+
}[];
|
|
4134
|
+
label: string;
|
|
4135
|
+
type: "segment";
|
|
3938
4136
|
} | {
|
|
3939
4137
|
icon?: string | undefined;
|
|
3940
4138
|
items: ({
|
|
@@ -3947,9 +4145,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
3947
4145
|
disabled?: boolean | undefined;
|
|
3948
4146
|
help?: string | undefined;
|
|
3949
4147
|
icon?: string | undefined;
|
|
4148
|
+
keepOpen?: boolean | undefined;
|
|
3950
4149
|
label: string;
|
|
3951
4150
|
shortcut?: string | undefined;
|
|
3952
4151
|
type: "item";
|
|
4152
|
+
} | {
|
|
4153
|
+
icon?: string | undefined;
|
|
4154
|
+
items: {
|
|
4155
|
+
action: () => void;
|
|
4156
|
+
checked?: boolean | undefined;
|
|
4157
|
+
commandId?: string | undefined;
|
|
4158
|
+
danger?: boolean | undefined;
|
|
4159
|
+
disabled?: boolean | undefined;
|
|
4160
|
+
help?: string | undefined;
|
|
4161
|
+
icon?: string | undefined;
|
|
4162
|
+
keepOpen?: boolean | undefined;
|
|
4163
|
+
label: string;
|
|
4164
|
+
shortcut?: string | undefined;
|
|
4165
|
+
type: "item";
|
|
4166
|
+
}[];
|
|
4167
|
+
label: string;
|
|
4168
|
+
type: "segment";
|
|
3953
4169
|
} | /*elided*/ any)[];
|
|
3954
4170
|
label: string;
|
|
3955
4171
|
type: "submenu";
|
|
@@ -4055,10 +4271,12 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4055
4271
|
tab?: string | undefined;
|
|
4056
4272
|
values?: Record<string, unknown> | undefined;
|
|
4057
4273
|
}>;
|
|
4274
|
+
restorePreferences: () => void;
|
|
4058
4275
|
restoreRevision: import('vue').Ref<number, number>;
|
|
4059
4276
|
restoreState: (state: import('./types').UiRestoreState) => void;
|
|
4060
4277
|
resumeDialog: (id: number) => void;
|
|
4061
4278
|
resumeToast: (id: number) => void;
|
|
4279
|
+
setThemeMode: (mode: import('./types').ThemeMode) => void;
|
|
4062
4280
|
suspendDialog: () => number | undefined;
|
|
4063
4281
|
suspendedDialogs: import('vue').Ref<{
|
|
4064
4282
|
dialog: {
|
|
@@ -4087,6 +4305,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4087
4305
|
elementIds?: string[] | undefined;
|
|
4088
4306
|
id: number;
|
|
4089
4307
|
}[]>;
|
|
4308
|
+
themeMode: import('vue').Ref<import('./types').ThemeMode, import('./types').ThemeMode>;
|
|
4090
4309
|
toast: (text: string, kind?: import('./types').ToastItem["kind"]) => void;
|
|
4091
4310
|
toasts: import('vue').Ref<{
|
|
4092
4311
|
id: number;
|
|
@@ -4097,7 +4316,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4097
4316
|
kind: "error" | "info" | "success";
|
|
4098
4317
|
text: string;
|
|
4099
4318
|
}[]>;
|
|
4100
|
-
}, "contextMenu" | "dialogSessionId" | "activeDialog" | "dialogElementId" | "exportDialog" | "restoredState" | "restoreRevision" | "suspendedDialogs" | "toasts">, Pick<{
|
|
4319
|
+
}, "contextMenu" | "dialogSessionId" | "activeDialog" | "dialogElementId" | "exportDialog" | "restoredState" | "restoreRevision" | "suspendedDialogs" | "themeMode" | "toasts">, Pick<{
|
|
4101
4320
|
activeDialog: import('vue').Ref<{
|
|
4102
4321
|
applyTemplateTemplateId?: string | undefined;
|
|
4103
4322
|
groupId?: string | undefined;
|
|
@@ -4130,9 +4349,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4130
4349
|
disabled?: boolean | undefined;
|
|
4131
4350
|
help?: string | undefined;
|
|
4132
4351
|
icon?: string | undefined;
|
|
4352
|
+
keepOpen?: boolean | undefined;
|
|
4133
4353
|
label: string;
|
|
4134
4354
|
shortcut?: string | undefined;
|
|
4135
4355
|
type: "item";
|
|
4356
|
+
} | {
|
|
4357
|
+
icon?: string | undefined;
|
|
4358
|
+
items: {
|
|
4359
|
+
action: () => void;
|
|
4360
|
+
checked?: boolean | undefined;
|
|
4361
|
+
commandId?: string | undefined;
|
|
4362
|
+
danger?: boolean | undefined;
|
|
4363
|
+
disabled?: boolean | undefined;
|
|
4364
|
+
help?: string | undefined;
|
|
4365
|
+
icon?: string | undefined;
|
|
4366
|
+
keepOpen?: boolean | undefined;
|
|
4367
|
+
label: string;
|
|
4368
|
+
shortcut?: string | undefined;
|
|
4369
|
+
type: "item";
|
|
4370
|
+
}[];
|
|
4371
|
+
label: string;
|
|
4372
|
+
type: "segment";
|
|
4136
4373
|
} | {
|
|
4137
4374
|
icon?: string | undefined;
|
|
4138
4375
|
items: ({
|
|
@@ -4145,9 +4382,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4145
4382
|
disabled?: boolean | undefined;
|
|
4146
4383
|
help?: string | undefined;
|
|
4147
4384
|
icon?: string | undefined;
|
|
4385
|
+
keepOpen?: boolean | undefined;
|
|
4148
4386
|
label: string;
|
|
4149
4387
|
shortcut?: string | undefined;
|
|
4150
4388
|
type: "item";
|
|
4389
|
+
} | {
|
|
4390
|
+
icon?: string | undefined;
|
|
4391
|
+
items: {
|
|
4392
|
+
action: () => void;
|
|
4393
|
+
checked?: boolean | undefined;
|
|
4394
|
+
commandId?: string | undefined;
|
|
4395
|
+
danger?: boolean | undefined;
|
|
4396
|
+
disabled?: boolean | undefined;
|
|
4397
|
+
help?: string | undefined;
|
|
4398
|
+
icon?: string | undefined;
|
|
4399
|
+
keepOpen?: boolean | undefined;
|
|
4400
|
+
label: string;
|
|
4401
|
+
shortcut?: string | undefined;
|
|
4402
|
+
type: "item";
|
|
4403
|
+
}[];
|
|
4404
|
+
label: string;
|
|
4405
|
+
type: "segment";
|
|
4151
4406
|
} | /*elided*/ any)[];
|
|
4152
4407
|
label: string;
|
|
4153
4408
|
type: "submenu";
|
|
@@ -4171,9 +4426,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4171
4426
|
disabled?: boolean | undefined;
|
|
4172
4427
|
help?: string | undefined;
|
|
4173
4428
|
icon?: string | undefined;
|
|
4429
|
+
keepOpen?: boolean | undefined;
|
|
4174
4430
|
label: string;
|
|
4175
4431
|
shortcut?: string | undefined;
|
|
4176
4432
|
type: "item";
|
|
4433
|
+
} | {
|
|
4434
|
+
icon?: string | undefined;
|
|
4435
|
+
items: {
|
|
4436
|
+
action: () => void;
|
|
4437
|
+
checked?: boolean | undefined;
|
|
4438
|
+
commandId?: string | undefined;
|
|
4439
|
+
danger?: boolean | undefined;
|
|
4440
|
+
disabled?: boolean | undefined;
|
|
4441
|
+
help?: string | undefined;
|
|
4442
|
+
icon?: string | undefined;
|
|
4443
|
+
keepOpen?: boolean | undefined;
|
|
4444
|
+
label: string;
|
|
4445
|
+
shortcut?: string | undefined;
|
|
4446
|
+
type: "item";
|
|
4447
|
+
}[];
|
|
4448
|
+
label: string;
|
|
4449
|
+
type: "segment";
|
|
4177
4450
|
} | {
|
|
4178
4451
|
icon?: string | undefined;
|
|
4179
4452
|
items: ({
|
|
@@ -4186,9 +4459,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4186
4459
|
disabled?: boolean | undefined;
|
|
4187
4460
|
help?: string | undefined;
|
|
4188
4461
|
icon?: string | undefined;
|
|
4462
|
+
keepOpen?: boolean | undefined;
|
|
4189
4463
|
label: string;
|
|
4190
4464
|
shortcut?: string | undefined;
|
|
4191
4465
|
type: "item";
|
|
4466
|
+
} | {
|
|
4467
|
+
icon?: string | undefined;
|
|
4468
|
+
items: {
|
|
4469
|
+
action: () => void;
|
|
4470
|
+
checked?: boolean | undefined;
|
|
4471
|
+
commandId?: string | undefined;
|
|
4472
|
+
danger?: boolean | undefined;
|
|
4473
|
+
disabled?: boolean | undefined;
|
|
4474
|
+
help?: string | undefined;
|
|
4475
|
+
icon?: string | undefined;
|
|
4476
|
+
keepOpen?: boolean | undefined;
|
|
4477
|
+
label: string;
|
|
4478
|
+
shortcut?: string | undefined;
|
|
4479
|
+
type: "item";
|
|
4480
|
+
}[];
|
|
4481
|
+
label: string;
|
|
4482
|
+
type: "segment";
|
|
4192
4483
|
} | /*elided*/ any)[];
|
|
4193
4484
|
label: string;
|
|
4194
4485
|
type: "submenu";
|
|
@@ -4294,10 +4585,12 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4294
4585
|
tab?: string | undefined;
|
|
4295
4586
|
values?: Record<string, unknown> | undefined;
|
|
4296
4587
|
}>;
|
|
4588
|
+
restorePreferences: () => void;
|
|
4297
4589
|
restoreRevision: import('vue').Ref<number, number>;
|
|
4298
4590
|
restoreState: (state: import('./types').UiRestoreState) => void;
|
|
4299
4591
|
resumeDialog: (id: number) => void;
|
|
4300
4592
|
resumeToast: (id: number) => void;
|
|
4593
|
+
setThemeMode: (mode: import('./types').ThemeMode) => void;
|
|
4301
4594
|
suspendDialog: () => number | undefined;
|
|
4302
4595
|
suspendedDialogs: import('vue').Ref<{
|
|
4303
4596
|
dialog: {
|
|
@@ -4326,6 +4619,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4326
4619
|
elementIds?: string[] | undefined;
|
|
4327
4620
|
id: number;
|
|
4328
4621
|
}[]>;
|
|
4622
|
+
themeMode: import('vue').Ref<import('./types').ThemeMode, import('./types').ThemeMode>;
|
|
4329
4623
|
toast: (text: string, kind?: import('./types').ToastItem["kind"]) => void;
|
|
4330
4624
|
toasts: import('vue').Ref<{
|
|
4331
4625
|
id: number;
|
|
@@ -4369,9 +4663,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4369
4663
|
disabled?: boolean | undefined;
|
|
4370
4664
|
help?: string | undefined;
|
|
4371
4665
|
icon?: string | undefined;
|
|
4666
|
+
keepOpen?: boolean | undefined;
|
|
4372
4667
|
label: string;
|
|
4373
4668
|
shortcut?: string | undefined;
|
|
4374
4669
|
type: "item";
|
|
4670
|
+
} | {
|
|
4671
|
+
icon?: string | undefined;
|
|
4672
|
+
items: {
|
|
4673
|
+
action: () => void;
|
|
4674
|
+
checked?: boolean | undefined;
|
|
4675
|
+
commandId?: string | undefined;
|
|
4676
|
+
danger?: boolean | undefined;
|
|
4677
|
+
disabled?: boolean | undefined;
|
|
4678
|
+
help?: string | undefined;
|
|
4679
|
+
icon?: string | undefined;
|
|
4680
|
+
keepOpen?: boolean | undefined;
|
|
4681
|
+
label: string;
|
|
4682
|
+
shortcut?: string | undefined;
|
|
4683
|
+
type: "item";
|
|
4684
|
+
}[];
|
|
4685
|
+
label: string;
|
|
4686
|
+
type: "segment";
|
|
4375
4687
|
} | {
|
|
4376
4688
|
icon?: string | undefined;
|
|
4377
4689
|
items: ({
|
|
@@ -4384,9 +4696,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4384
4696
|
disabled?: boolean | undefined;
|
|
4385
4697
|
help?: string | undefined;
|
|
4386
4698
|
icon?: string | undefined;
|
|
4699
|
+
keepOpen?: boolean | undefined;
|
|
4387
4700
|
label: string;
|
|
4388
4701
|
shortcut?: string | undefined;
|
|
4389
4702
|
type: "item";
|
|
4703
|
+
} | {
|
|
4704
|
+
icon?: string | undefined;
|
|
4705
|
+
items: {
|
|
4706
|
+
action: () => void;
|
|
4707
|
+
checked?: boolean | undefined;
|
|
4708
|
+
commandId?: string | undefined;
|
|
4709
|
+
danger?: boolean | undefined;
|
|
4710
|
+
disabled?: boolean | undefined;
|
|
4711
|
+
help?: string | undefined;
|
|
4712
|
+
icon?: string | undefined;
|
|
4713
|
+
keepOpen?: boolean | undefined;
|
|
4714
|
+
label: string;
|
|
4715
|
+
shortcut?: string | undefined;
|
|
4716
|
+
type: "item";
|
|
4717
|
+
}[];
|
|
4718
|
+
label: string;
|
|
4719
|
+
type: "segment";
|
|
4390
4720
|
} | /*elided*/ any)[];
|
|
4391
4721
|
label: string;
|
|
4392
4722
|
type: "submenu";
|
|
@@ -4410,9 +4740,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4410
4740
|
disabled?: boolean | undefined;
|
|
4411
4741
|
help?: string | undefined;
|
|
4412
4742
|
icon?: string | undefined;
|
|
4743
|
+
keepOpen?: boolean | undefined;
|
|
4413
4744
|
label: string;
|
|
4414
4745
|
shortcut?: string | undefined;
|
|
4415
4746
|
type: "item";
|
|
4747
|
+
} | {
|
|
4748
|
+
icon?: string | undefined;
|
|
4749
|
+
items: {
|
|
4750
|
+
action: () => void;
|
|
4751
|
+
checked?: boolean | undefined;
|
|
4752
|
+
commandId?: string | undefined;
|
|
4753
|
+
danger?: boolean | undefined;
|
|
4754
|
+
disabled?: boolean | undefined;
|
|
4755
|
+
help?: string | undefined;
|
|
4756
|
+
icon?: string | undefined;
|
|
4757
|
+
keepOpen?: boolean | undefined;
|
|
4758
|
+
label: string;
|
|
4759
|
+
shortcut?: string | undefined;
|
|
4760
|
+
type: "item";
|
|
4761
|
+
}[];
|
|
4762
|
+
label: string;
|
|
4763
|
+
type: "segment";
|
|
4416
4764
|
} | {
|
|
4417
4765
|
icon?: string | undefined;
|
|
4418
4766
|
items: ({
|
|
@@ -4425,9 +4773,27 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4425
4773
|
disabled?: boolean | undefined;
|
|
4426
4774
|
help?: string | undefined;
|
|
4427
4775
|
icon?: string | undefined;
|
|
4776
|
+
keepOpen?: boolean | undefined;
|
|
4428
4777
|
label: string;
|
|
4429
4778
|
shortcut?: string | undefined;
|
|
4430
4779
|
type: "item";
|
|
4780
|
+
} | {
|
|
4781
|
+
icon?: string | undefined;
|
|
4782
|
+
items: {
|
|
4783
|
+
action: () => void;
|
|
4784
|
+
checked?: boolean | undefined;
|
|
4785
|
+
commandId?: string | undefined;
|
|
4786
|
+
danger?: boolean | undefined;
|
|
4787
|
+
disabled?: boolean | undefined;
|
|
4788
|
+
help?: string | undefined;
|
|
4789
|
+
icon?: string | undefined;
|
|
4790
|
+
keepOpen?: boolean | undefined;
|
|
4791
|
+
label: string;
|
|
4792
|
+
shortcut?: string | undefined;
|
|
4793
|
+
type: "item";
|
|
4794
|
+
}[];
|
|
4795
|
+
label: string;
|
|
4796
|
+
type: "segment";
|
|
4431
4797
|
} | /*elided*/ any)[];
|
|
4432
4798
|
label: string;
|
|
4433
4799
|
type: "submenu";
|
|
@@ -4533,10 +4899,12 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4533
4899
|
tab?: string | undefined;
|
|
4534
4900
|
values?: Record<string, unknown> | undefined;
|
|
4535
4901
|
}>;
|
|
4902
|
+
restorePreferences: () => void;
|
|
4536
4903
|
restoreRevision: import('vue').Ref<number, number>;
|
|
4537
4904
|
restoreState: (state: import('./types').UiRestoreState) => void;
|
|
4538
4905
|
resumeDialog: (id: number) => void;
|
|
4539
4906
|
resumeToast: (id: number) => void;
|
|
4907
|
+
setThemeMode: (mode: import('./types').ThemeMode) => void;
|
|
4540
4908
|
suspendDialog: () => number | undefined;
|
|
4541
4909
|
suspendedDialogs: import('vue').Ref<{
|
|
4542
4910
|
dialog: {
|
|
@@ -4565,6 +4933,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4565
4933
|
elementIds?: string[] | undefined;
|
|
4566
4934
|
id: number;
|
|
4567
4935
|
}[]>;
|
|
4936
|
+
themeMode: import('vue').Ref<import('./types').ThemeMode, import('./types').ThemeMode>;
|
|
4568
4937
|
toast: (text: string, kind?: import('./types').ToastItem["kind"]) => void;
|
|
4569
4938
|
toasts: import('vue').Ref<{
|
|
4570
4939
|
id: number;
|
|
@@ -4575,7 +4944,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4575
4944
|
kind: "error" | "info" | "success";
|
|
4576
4945
|
text: string;
|
|
4577
4946
|
}[]>;
|
|
4578
|
-
}, "discardSuspendedDialog" | "clearSuspendedDialogs" | "closeContextMenu" | "closeDialog" | "completeExportDialog" | "dismissToast" | "finishExportDialog" | "minimizeExportDialog" | "openContextMenu" | "openDialog" | "openExportDialog" | "pauseToast" | "restoreState" | "resumeDialog" | "resumeToast" | "suspendDialog" | "toast">>;
|
|
4947
|
+
}, "restorePreferences" | "discardSuspendedDialog" | "clearSuspendedDialogs" | "closeContextMenu" | "closeDialog" | "completeExportDialog" | "dismissToast" | "finishExportDialog" | "minimizeExportDialog" | "openContextMenu" | "openDialog" | "openExportDialog" | "pauseToast" | "restoreState" | "resumeDialog" | "resumeToast" | "setThemeMode" | "suspendDialog" | "toast">>;
|
|
4579
4948
|
view: import('pinia').Store<"editor-view", Pick<{
|
|
4580
4949
|
activeTool: import('vue').Ref<string, string>;
|
|
4581
4950
|
alignPanel: {
|
|
@@ -4628,6 +4997,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4628
4997
|
y: number;
|
|
4629
4998
|
};
|
|
4630
4999
|
} | null>;
|
|
5000
|
+
originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
|
|
4631
5001
|
pageLayouts: import('vue').ComputedRef<{
|
|
4632
5002
|
page: import('../..').PageNode;
|
|
4633
5003
|
x: number;
|
|
@@ -4706,6 +5076,8 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4706
5076
|
v: number[];
|
|
4707
5077
|
}>;
|
|
4708
5078
|
spacePanning: import('vue').Ref<boolean, boolean>;
|
|
5079
|
+
toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
5080
|
+
toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
4709
5081
|
updateAlignPanel: (patch: Partial<import('./types').AlignPanelState>) => void;
|
|
4710
5082
|
updateSettings: (patch: Partial<{
|
|
4711
5083
|
clickToCreate: boolean;
|
|
@@ -4785,6 +5157,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4785
5157
|
y: number;
|
|
4786
5158
|
};
|
|
4787
5159
|
} | null>;
|
|
5160
|
+
originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
|
|
4788
5161
|
pageLayouts: import('vue').ComputedRef<{
|
|
4789
5162
|
page: import('../..').PageNode;
|
|
4790
5163
|
x: number;
|
|
@@ -4863,6 +5236,8 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4863
5236
|
v: number[];
|
|
4864
5237
|
}>;
|
|
4865
5238
|
spacePanning: import('vue').Ref<boolean, boolean>;
|
|
5239
|
+
toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
5240
|
+
toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
4866
5241
|
updateAlignPanel: (patch: Partial<import('./types').AlignPanelState>) => void;
|
|
4867
5242
|
updateSettings: (patch: Partial<{
|
|
4868
5243
|
clickToCreate: boolean;
|
|
@@ -4890,7 +5265,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4890
5265
|
width: number;
|
|
4891
5266
|
}>;
|
|
4892
5267
|
zoom: import('vue').Ref<number, number>;
|
|
4893
|
-
}, "canvasBackground" | "canvasBackgroundPreset" | "contentSizeMm" | "customCanvasColor" | "getLayout" | "pageLayouts" | "pagesBoundsMm" | "pxPerMm">, Pick<{
|
|
5268
|
+
}, "canvasBackground" | "canvasBackgroundPreset" | "contentSizeMm" | "customCanvasColor" | "getLayout" | "originOf" | "pageLayouts" | "pagesBoundsMm" | "pxPerMm" | "toGlobal" | "toLocal">, Pick<{
|
|
4894
5269
|
activeTool: import('vue').Ref<string, string>;
|
|
4895
5270
|
alignPanel: {
|
|
4896
5271
|
spacing: null | number;
|
|
@@ -4942,6 +5317,7 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
4942
5317
|
y: number;
|
|
4943
5318
|
};
|
|
4944
5319
|
} | null>;
|
|
5320
|
+
originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
|
|
4945
5321
|
pageLayouts: import('vue').ComputedRef<{
|
|
4946
5322
|
page: import('../..').PageNode;
|
|
4947
5323
|
x: number;
|
|
@@ -5020,6 +5396,8 @@ export declare function defineEditorStore(options?: DocumentStoreOptions): impor
|
|
|
5020
5396
|
v: number[];
|
|
5021
5397
|
}>;
|
|
5022
5398
|
spacePanning: import('vue').Ref<boolean, boolean>;
|
|
5399
|
+
toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
5400
|
+
toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
5023
5401
|
updateAlignPanel: (patch: Partial<import('./types').AlignPanelState>) => void;
|
|
5024
5402
|
updateSettings: (patch: Partial<{
|
|
5025
5403
|
clickToCreate: boolean;
|
|
@@ -5465,6 +5843,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
5465
5843
|
top: number;
|
|
5466
5844
|
} | undefined;
|
|
5467
5845
|
name: string;
|
|
5846
|
+
position?: {
|
|
5847
|
+
x: number;
|
|
5848
|
+
y: number;
|
|
5849
|
+
} | undefined;
|
|
5468
5850
|
templateId?: string | undefined;
|
|
5469
5851
|
width: number;
|
|
5470
5852
|
}[];
|
|
@@ -5520,6 +5902,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
5520
5902
|
top: number;
|
|
5521
5903
|
} | undefined;
|
|
5522
5904
|
name: string;
|
|
5905
|
+
position?: {
|
|
5906
|
+
x: number;
|
|
5907
|
+
y: number;
|
|
5908
|
+
} | undefined;
|
|
5523
5909
|
templateId?: string | undefined;
|
|
5524
5910
|
width: number;
|
|
5525
5911
|
} | undefined;
|
|
@@ -5567,6 +5953,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
5567
5953
|
top: number;
|
|
5568
5954
|
} | undefined;
|
|
5569
5955
|
name: string;
|
|
5956
|
+
position?: {
|
|
5957
|
+
x: number;
|
|
5958
|
+
y: number;
|
|
5959
|
+
} | undefined;
|
|
5570
5960
|
templateId?: string | undefined;
|
|
5571
5961
|
width: number;
|
|
5572
5962
|
};
|
|
@@ -5649,6 +6039,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
5649
6039
|
top: number;
|
|
5650
6040
|
} | undefined;
|
|
5651
6041
|
name: string;
|
|
6042
|
+
position?: {
|
|
6043
|
+
x: number;
|
|
6044
|
+
y: number;
|
|
6045
|
+
} | undefined;
|
|
5652
6046
|
templateId?: string | undefined;
|
|
5653
6047
|
width: number;
|
|
5654
6048
|
}[];
|
|
@@ -5704,6 +6098,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
5704
6098
|
top: number;
|
|
5705
6099
|
} | undefined;
|
|
5706
6100
|
name: string;
|
|
6101
|
+
position?: {
|
|
6102
|
+
x: number;
|
|
6103
|
+
y: number;
|
|
6104
|
+
} | undefined;
|
|
5707
6105
|
templateId?: string | undefined;
|
|
5708
6106
|
width: number;
|
|
5709
6107
|
} | undefined;
|
|
@@ -5751,6 +6149,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
5751
6149
|
top: number;
|
|
5752
6150
|
} | undefined;
|
|
5753
6151
|
name: string;
|
|
6152
|
+
position?: {
|
|
6153
|
+
x: number;
|
|
6154
|
+
y: number;
|
|
6155
|
+
} | undefined;
|
|
5754
6156
|
templateId?: string | undefined;
|
|
5755
6157
|
width: number;
|
|
5756
6158
|
};
|
|
@@ -5851,6 +6253,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
5851
6253
|
top: number;
|
|
5852
6254
|
} | undefined;
|
|
5853
6255
|
name: string;
|
|
6256
|
+
position?: {
|
|
6257
|
+
x: number;
|
|
6258
|
+
y: number;
|
|
6259
|
+
} | undefined;
|
|
5854
6260
|
templateId?: string | undefined;
|
|
5855
6261
|
width: number;
|
|
5856
6262
|
}[];
|
|
@@ -5906,6 +6312,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
5906
6312
|
top: number;
|
|
5907
6313
|
} | undefined;
|
|
5908
6314
|
name: string;
|
|
6315
|
+
position?: {
|
|
6316
|
+
x: number;
|
|
6317
|
+
y: number;
|
|
6318
|
+
} | undefined;
|
|
5909
6319
|
templateId?: string | undefined;
|
|
5910
6320
|
width: number;
|
|
5911
6321
|
} | undefined;
|
|
@@ -5953,6 +6363,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
5953
6363
|
top: number;
|
|
5954
6364
|
} | undefined;
|
|
5955
6365
|
name: string;
|
|
6366
|
+
position?: {
|
|
6367
|
+
x: number;
|
|
6368
|
+
y: number;
|
|
6369
|
+
} | undefined;
|
|
5956
6370
|
templateId?: string | undefined;
|
|
5957
6371
|
width: number;
|
|
5958
6372
|
};
|
|
@@ -6035,6 +6449,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
6035
6449
|
top: number;
|
|
6036
6450
|
} | undefined;
|
|
6037
6451
|
name: string;
|
|
6452
|
+
position?: {
|
|
6453
|
+
x: number;
|
|
6454
|
+
y: number;
|
|
6455
|
+
} | undefined;
|
|
6038
6456
|
templateId?: string | undefined;
|
|
6039
6457
|
width: number;
|
|
6040
6458
|
}[];
|
|
@@ -6090,6 +6508,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
6090
6508
|
top: number;
|
|
6091
6509
|
} | undefined;
|
|
6092
6510
|
name: string;
|
|
6511
|
+
position?: {
|
|
6512
|
+
x: number;
|
|
6513
|
+
y: number;
|
|
6514
|
+
} | undefined;
|
|
6093
6515
|
templateId?: string | undefined;
|
|
6094
6516
|
width: number;
|
|
6095
6517
|
} | undefined;
|
|
@@ -6137,6 +6559,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
6137
6559
|
top: number;
|
|
6138
6560
|
} | undefined;
|
|
6139
6561
|
name: string;
|
|
6562
|
+
position?: {
|
|
6563
|
+
x: number;
|
|
6564
|
+
y: number;
|
|
6565
|
+
} | undefined;
|
|
6140
6566
|
templateId?: string | undefined;
|
|
6141
6567
|
width: number;
|
|
6142
6568
|
};
|
|
@@ -6237,6 +6663,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
6237
6663
|
top: number;
|
|
6238
6664
|
} | undefined;
|
|
6239
6665
|
name: string;
|
|
6666
|
+
position?: {
|
|
6667
|
+
x: number;
|
|
6668
|
+
y: number;
|
|
6669
|
+
} | undefined;
|
|
6240
6670
|
templateId?: string | undefined;
|
|
6241
6671
|
width: number;
|
|
6242
6672
|
}[];
|
|
@@ -6292,6 +6722,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
6292
6722
|
top: number;
|
|
6293
6723
|
} | undefined;
|
|
6294
6724
|
name: string;
|
|
6725
|
+
position?: {
|
|
6726
|
+
x: number;
|
|
6727
|
+
y: number;
|
|
6728
|
+
} | undefined;
|
|
6295
6729
|
templateId?: string | undefined;
|
|
6296
6730
|
width: number;
|
|
6297
6731
|
} | undefined;
|
|
@@ -6339,6 +6773,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
6339
6773
|
top: number;
|
|
6340
6774
|
} | undefined;
|
|
6341
6775
|
name: string;
|
|
6776
|
+
position?: {
|
|
6777
|
+
x: number;
|
|
6778
|
+
y: number;
|
|
6779
|
+
} | undefined;
|
|
6342
6780
|
templateId?: string | undefined;
|
|
6343
6781
|
width: number;
|
|
6344
6782
|
};
|
|
@@ -6421,6 +6859,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
6421
6859
|
top: number;
|
|
6422
6860
|
} | undefined;
|
|
6423
6861
|
name: string;
|
|
6862
|
+
position?: {
|
|
6863
|
+
x: number;
|
|
6864
|
+
y: number;
|
|
6865
|
+
} | undefined;
|
|
6424
6866
|
templateId?: string | undefined;
|
|
6425
6867
|
width: number;
|
|
6426
6868
|
}[];
|
|
@@ -6476,6 +6918,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
6476
6918
|
top: number;
|
|
6477
6919
|
} | undefined;
|
|
6478
6920
|
name: string;
|
|
6921
|
+
position?: {
|
|
6922
|
+
x: number;
|
|
6923
|
+
y: number;
|
|
6924
|
+
} | undefined;
|
|
6479
6925
|
templateId?: string | undefined;
|
|
6480
6926
|
width: number;
|
|
6481
6927
|
} | undefined;
|
|
@@ -6523,6 +6969,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
6523
6969
|
top: number;
|
|
6524
6970
|
} | undefined;
|
|
6525
6971
|
name: string;
|
|
6972
|
+
position?: {
|
|
6973
|
+
x: number;
|
|
6974
|
+
y: number;
|
|
6975
|
+
} | undefined;
|
|
6526
6976
|
templateId?: string | undefined;
|
|
6527
6977
|
width: number;
|
|
6528
6978
|
};
|
|
@@ -7307,9 +7757,17 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
7307
7757
|
top: number;
|
|
7308
7758
|
} | undefined;
|
|
7309
7759
|
name: string;
|
|
7760
|
+
position?: {
|
|
7761
|
+
x: number;
|
|
7762
|
+
y: number;
|
|
7763
|
+
} | undefined;
|
|
7310
7764
|
templateId?: string | undefined;
|
|
7311
7765
|
width: number;
|
|
7312
7766
|
}[]>;
|
|
7767
|
+
move: (pageId: string, position: null | {
|
|
7768
|
+
x: number;
|
|
7769
|
+
y: number;
|
|
7770
|
+
}) => void;
|
|
7313
7771
|
remove: (pageId: string) => void;
|
|
7314
7772
|
setActive: (id: string) => void;
|
|
7315
7773
|
update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
|
|
@@ -7358,9 +7816,17 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
7358
7816
|
top: number;
|
|
7359
7817
|
} | undefined;
|
|
7360
7818
|
name: string;
|
|
7819
|
+
position?: {
|
|
7820
|
+
x: number;
|
|
7821
|
+
y: number;
|
|
7822
|
+
} | undefined;
|
|
7361
7823
|
templateId?: string | undefined;
|
|
7362
7824
|
width: number;
|
|
7363
7825
|
}[]>;
|
|
7826
|
+
move: (pageId: string, position: null | {
|
|
7827
|
+
x: number;
|
|
7828
|
+
y: number;
|
|
7829
|
+
}) => void;
|
|
7364
7830
|
remove: (pageId: string) => void;
|
|
7365
7831
|
setActive: (id: string) => void;
|
|
7366
7832
|
update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
|
|
@@ -7409,13 +7875,21 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
7409
7875
|
top: number;
|
|
7410
7876
|
} | undefined;
|
|
7411
7877
|
name: string;
|
|
7878
|
+
position?: {
|
|
7879
|
+
x: number;
|
|
7880
|
+
y: number;
|
|
7881
|
+
} | undefined;
|
|
7412
7882
|
templateId?: string | undefined;
|
|
7413
7883
|
width: number;
|
|
7414
7884
|
}[]>;
|
|
7885
|
+
move: (pageId: string, position: null | {
|
|
7886
|
+
x: number;
|
|
7887
|
+
y: number;
|
|
7888
|
+
}) => void;
|
|
7415
7889
|
remove: (pageId: string) => void;
|
|
7416
7890
|
setActive: (id: string) => void;
|
|
7417
7891
|
update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
|
|
7418
|
-
}, "copy" | "add" | "remove" | "update" | "setActive">>;
|
|
7892
|
+
}, "copy" | "add" | "remove" | "update" | "move" | "setActive">>;
|
|
7419
7893
|
panel: import('pinia').Store<"editor-panel", Pick<{
|
|
7420
7894
|
activate: (groupId: string, panelId: string, popout?: boolean) => void;
|
|
7421
7895
|
beginDrag: (state: Omit<import('./types').PanelDragState, "target">, bounds?: Pick<import('./types').PanelColumn, "collapsed" | "height" | "width" | "x" | "y">) => void;
|
|
@@ -8313,6 +8787,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8313
8787
|
top: number;
|
|
8314
8788
|
} | undefined;
|
|
8315
8789
|
name: string;
|
|
8790
|
+
position?: {
|
|
8791
|
+
x: number;
|
|
8792
|
+
y: number;
|
|
8793
|
+
} | undefined;
|
|
8316
8794
|
templateId?: string | undefined;
|
|
8317
8795
|
width: number;
|
|
8318
8796
|
} | undefined;
|
|
@@ -8360,6 +8838,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8360
8838
|
top: number;
|
|
8361
8839
|
} | undefined;
|
|
8362
8840
|
name: string;
|
|
8841
|
+
position?: {
|
|
8842
|
+
x: number;
|
|
8843
|
+
y: number;
|
|
8844
|
+
} | undefined;
|
|
8363
8845
|
templateId?: string | undefined;
|
|
8364
8846
|
width: number;
|
|
8365
8847
|
};
|
|
@@ -8415,6 +8897,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8415
8897
|
top: number;
|
|
8416
8898
|
} | undefined;
|
|
8417
8899
|
name: string;
|
|
8900
|
+
position?: {
|
|
8901
|
+
x: number;
|
|
8902
|
+
y: number;
|
|
8903
|
+
} | undefined;
|
|
8418
8904
|
templateId?: string | undefined;
|
|
8419
8905
|
width: number;
|
|
8420
8906
|
} | undefined;
|
|
@@ -8462,6 +8948,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8462
8948
|
top: number;
|
|
8463
8949
|
} | undefined;
|
|
8464
8950
|
name: string;
|
|
8951
|
+
position?: {
|
|
8952
|
+
x: number;
|
|
8953
|
+
y: number;
|
|
8954
|
+
} | undefined;
|
|
8465
8955
|
templateId?: string | undefined;
|
|
8466
8956
|
width: number;
|
|
8467
8957
|
};
|
|
@@ -8474,7 +8964,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8474
8964
|
rename: (id: string, name: string) => void;
|
|
8475
8965
|
resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
|
|
8476
8966
|
syncPageDimensions: (pageIds: string[]) => void;
|
|
8477
|
-
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages"
|
|
8967
|
+
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('./types').MutationOptions) => void;
|
|
8478
8968
|
updatePage: (pageId: string, patch: import('./types').EditingPagePatch) => void;
|
|
8479
8969
|
usageCount: import('vue').ComputedRef<(id: string) => number>;
|
|
8480
8970
|
}, "editingId">, Pick<{
|
|
@@ -8525,6 +9015,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8525
9015
|
top: number;
|
|
8526
9016
|
} | undefined;
|
|
8527
9017
|
name: string;
|
|
9018
|
+
position?: {
|
|
9019
|
+
x: number;
|
|
9020
|
+
y: number;
|
|
9021
|
+
} | undefined;
|
|
8528
9022
|
templateId?: string | undefined;
|
|
8529
9023
|
width: number;
|
|
8530
9024
|
} | undefined;
|
|
@@ -8572,6 +9066,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8572
9066
|
top: number;
|
|
8573
9067
|
} | undefined;
|
|
8574
9068
|
name: string;
|
|
9069
|
+
position?: {
|
|
9070
|
+
x: number;
|
|
9071
|
+
y: number;
|
|
9072
|
+
} | undefined;
|
|
8575
9073
|
templateId?: string | undefined;
|
|
8576
9074
|
width: number;
|
|
8577
9075
|
};
|
|
@@ -8627,6 +9125,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8627
9125
|
top: number;
|
|
8628
9126
|
} | undefined;
|
|
8629
9127
|
name: string;
|
|
9128
|
+
position?: {
|
|
9129
|
+
x: number;
|
|
9130
|
+
y: number;
|
|
9131
|
+
} | undefined;
|
|
8630
9132
|
templateId?: string | undefined;
|
|
8631
9133
|
width: number;
|
|
8632
9134
|
} | undefined;
|
|
@@ -8674,6 +9176,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8674
9176
|
top: number;
|
|
8675
9177
|
} | undefined;
|
|
8676
9178
|
name: string;
|
|
9179
|
+
position?: {
|
|
9180
|
+
x: number;
|
|
9181
|
+
y: number;
|
|
9182
|
+
} | undefined;
|
|
8677
9183
|
templateId?: string | undefined;
|
|
8678
9184
|
width: number;
|
|
8679
9185
|
};
|
|
@@ -8686,7 +9192,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8686
9192
|
rename: (id: string, name: string) => void;
|
|
8687
9193
|
resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
|
|
8688
9194
|
syncPageDimensions: (pageIds: string[]) => void;
|
|
8689
|
-
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages"
|
|
9195
|
+
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('./types').MutationOptions) => void;
|
|
8690
9196
|
updatePage: (pageId: string, patch: import('./types').EditingPagePatch) => void;
|
|
8691
9197
|
usageCount: import('vue').ComputedRef<(id: string) => number>;
|
|
8692
9198
|
}, "usageCount" | "get" | "list" | "getByPage" | "editingPage" | "editingPages" | "editingTemplate" | "effectiveBackground" | "effectiveTemplate" | "isContainer" | "resolveFor">, Pick<{
|
|
@@ -8737,6 +9243,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8737
9243
|
top: number;
|
|
8738
9244
|
} | undefined;
|
|
8739
9245
|
name: string;
|
|
9246
|
+
position?: {
|
|
9247
|
+
x: number;
|
|
9248
|
+
y: number;
|
|
9249
|
+
} | undefined;
|
|
8740
9250
|
templateId?: string | undefined;
|
|
8741
9251
|
width: number;
|
|
8742
9252
|
} | undefined;
|
|
@@ -8784,6 +9294,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8784
9294
|
top: number;
|
|
8785
9295
|
} | undefined;
|
|
8786
9296
|
name: string;
|
|
9297
|
+
position?: {
|
|
9298
|
+
x: number;
|
|
9299
|
+
y: number;
|
|
9300
|
+
} | undefined;
|
|
8787
9301
|
templateId?: string | undefined;
|
|
8788
9302
|
width: number;
|
|
8789
9303
|
};
|
|
@@ -8839,6 +9353,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8839
9353
|
top: number;
|
|
8840
9354
|
} | undefined;
|
|
8841
9355
|
name: string;
|
|
9356
|
+
position?: {
|
|
9357
|
+
x: number;
|
|
9358
|
+
y: number;
|
|
9359
|
+
} | undefined;
|
|
8842
9360
|
templateId?: string | undefined;
|
|
8843
9361
|
width: number;
|
|
8844
9362
|
} | undefined;
|
|
@@ -8886,6 +9404,10 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8886
9404
|
top: number;
|
|
8887
9405
|
} | undefined;
|
|
8888
9406
|
name: string;
|
|
9407
|
+
position?: {
|
|
9408
|
+
x: number;
|
|
9409
|
+
y: number;
|
|
9410
|
+
} | undefined;
|
|
8889
9411
|
templateId?: string | undefined;
|
|
8890
9412
|
width: number;
|
|
8891
9413
|
};
|
|
@@ -8898,7 +9420,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
8898
9420
|
rename: (id: string, name: string) => void;
|
|
8899
9421
|
resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
|
|
8900
9422
|
syncPageDimensions: (pageIds: string[]) => void;
|
|
8901
|
-
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages"
|
|
9423
|
+
update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('./types').MutationOptions) => void;
|
|
8902
9424
|
updatePage: (pageId: string, patch: import('./types').EditingPagePatch) => void;
|
|
8903
9425
|
usageCount: import('vue').ComputedRef<(id: string) => number>;
|
|
8904
9426
|
}, "create" | "rename" | "remove" | "update" | "updatePage" | "activatePage" | "applyToPages" | "createFromPage" | "detach" | "enterEdit" | "exitEdit" | "import" | "syncPageDimensions">>;
|
|
@@ -9002,9 +9524,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9002
9524
|
disabled?: boolean | undefined;
|
|
9003
9525
|
help?: string | undefined;
|
|
9004
9526
|
icon?: string | undefined;
|
|
9527
|
+
keepOpen?: boolean | undefined;
|
|
9005
9528
|
label: string;
|
|
9006
9529
|
shortcut?: string | undefined;
|
|
9007
9530
|
type: "item";
|
|
9531
|
+
} | {
|
|
9532
|
+
icon?: string | undefined;
|
|
9533
|
+
items: {
|
|
9534
|
+
action: () => void;
|
|
9535
|
+
checked?: boolean | undefined;
|
|
9536
|
+
commandId?: string | undefined;
|
|
9537
|
+
danger?: boolean | undefined;
|
|
9538
|
+
disabled?: boolean | undefined;
|
|
9539
|
+
help?: string | undefined;
|
|
9540
|
+
icon?: string | undefined;
|
|
9541
|
+
keepOpen?: boolean | undefined;
|
|
9542
|
+
label: string;
|
|
9543
|
+
shortcut?: string | undefined;
|
|
9544
|
+
type: "item";
|
|
9545
|
+
}[];
|
|
9546
|
+
label: string;
|
|
9547
|
+
type: "segment";
|
|
9008
9548
|
} | {
|
|
9009
9549
|
icon?: string | undefined;
|
|
9010
9550
|
items: ({
|
|
@@ -9017,9 +9557,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9017
9557
|
disabled?: boolean | undefined;
|
|
9018
9558
|
help?: string | undefined;
|
|
9019
9559
|
icon?: string | undefined;
|
|
9560
|
+
keepOpen?: boolean | undefined;
|
|
9020
9561
|
label: string;
|
|
9021
9562
|
shortcut?: string | undefined;
|
|
9022
9563
|
type: "item";
|
|
9564
|
+
} | {
|
|
9565
|
+
icon?: string | undefined;
|
|
9566
|
+
items: {
|
|
9567
|
+
action: () => void;
|
|
9568
|
+
checked?: boolean | undefined;
|
|
9569
|
+
commandId?: string | undefined;
|
|
9570
|
+
danger?: boolean | undefined;
|
|
9571
|
+
disabled?: boolean | undefined;
|
|
9572
|
+
help?: string | undefined;
|
|
9573
|
+
icon?: string | undefined;
|
|
9574
|
+
keepOpen?: boolean | undefined;
|
|
9575
|
+
label: string;
|
|
9576
|
+
shortcut?: string | undefined;
|
|
9577
|
+
type: "item";
|
|
9578
|
+
}[];
|
|
9579
|
+
label: string;
|
|
9580
|
+
type: "segment";
|
|
9023
9581
|
} | /*elided*/ any)[];
|
|
9024
9582
|
label: string;
|
|
9025
9583
|
type: "submenu";
|
|
@@ -9043,9 +9601,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9043
9601
|
disabled?: boolean | undefined;
|
|
9044
9602
|
help?: string | undefined;
|
|
9045
9603
|
icon?: string | undefined;
|
|
9604
|
+
keepOpen?: boolean | undefined;
|
|
9046
9605
|
label: string;
|
|
9047
9606
|
shortcut?: string | undefined;
|
|
9048
9607
|
type: "item";
|
|
9608
|
+
} | {
|
|
9609
|
+
icon?: string | undefined;
|
|
9610
|
+
items: {
|
|
9611
|
+
action: () => void;
|
|
9612
|
+
checked?: boolean | undefined;
|
|
9613
|
+
commandId?: string | undefined;
|
|
9614
|
+
danger?: boolean | undefined;
|
|
9615
|
+
disabled?: boolean | undefined;
|
|
9616
|
+
help?: string | undefined;
|
|
9617
|
+
icon?: string | undefined;
|
|
9618
|
+
keepOpen?: boolean | undefined;
|
|
9619
|
+
label: string;
|
|
9620
|
+
shortcut?: string | undefined;
|
|
9621
|
+
type: "item";
|
|
9622
|
+
}[];
|
|
9623
|
+
label: string;
|
|
9624
|
+
type: "segment";
|
|
9049
9625
|
} | {
|
|
9050
9626
|
icon?: string | undefined;
|
|
9051
9627
|
items: ({
|
|
@@ -9058,9 +9634,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9058
9634
|
disabled?: boolean | undefined;
|
|
9059
9635
|
help?: string | undefined;
|
|
9060
9636
|
icon?: string | undefined;
|
|
9637
|
+
keepOpen?: boolean | undefined;
|
|
9061
9638
|
label: string;
|
|
9062
9639
|
shortcut?: string | undefined;
|
|
9063
9640
|
type: "item";
|
|
9641
|
+
} | {
|
|
9642
|
+
icon?: string | undefined;
|
|
9643
|
+
items: {
|
|
9644
|
+
action: () => void;
|
|
9645
|
+
checked?: boolean | undefined;
|
|
9646
|
+
commandId?: string | undefined;
|
|
9647
|
+
danger?: boolean | undefined;
|
|
9648
|
+
disabled?: boolean | undefined;
|
|
9649
|
+
help?: string | undefined;
|
|
9650
|
+
icon?: string | undefined;
|
|
9651
|
+
keepOpen?: boolean | undefined;
|
|
9652
|
+
label: string;
|
|
9653
|
+
shortcut?: string | undefined;
|
|
9654
|
+
type: "item";
|
|
9655
|
+
}[];
|
|
9656
|
+
label: string;
|
|
9657
|
+
type: "segment";
|
|
9064
9658
|
} | /*elided*/ any)[];
|
|
9065
9659
|
label: string;
|
|
9066
9660
|
type: "submenu";
|
|
@@ -9166,10 +9760,12 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9166
9760
|
tab?: string | undefined;
|
|
9167
9761
|
values?: Record<string, unknown> | undefined;
|
|
9168
9762
|
}>;
|
|
9763
|
+
restorePreferences: () => void;
|
|
9169
9764
|
restoreRevision: import('vue').Ref<number, number>;
|
|
9170
9765
|
restoreState: (state: import('./types').UiRestoreState) => void;
|
|
9171
9766
|
resumeDialog: (id: number) => void;
|
|
9172
9767
|
resumeToast: (id: number) => void;
|
|
9768
|
+
setThemeMode: (mode: import('./types').ThemeMode) => void;
|
|
9173
9769
|
suspendDialog: () => number | undefined;
|
|
9174
9770
|
suspendedDialogs: import('vue').Ref<{
|
|
9175
9771
|
dialog: {
|
|
@@ -9198,6 +9794,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9198
9794
|
elementIds?: string[] | undefined;
|
|
9199
9795
|
id: number;
|
|
9200
9796
|
}[]>;
|
|
9797
|
+
themeMode: import('vue').Ref<import('./types').ThemeMode, import('./types').ThemeMode>;
|
|
9201
9798
|
toast: (text: string, kind?: import('./types').ToastItem["kind"]) => void;
|
|
9202
9799
|
toasts: import('vue').Ref<{
|
|
9203
9800
|
id: number;
|
|
@@ -9208,7 +9805,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9208
9805
|
kind: "error" | "info" | "success";
|
|
9209
9806
|
text: string;
|
|
9210
9807
|
}[]>;
|
|
9211
|
-
}, "contextMenu" | "dialogSessionId" | "activeDialog" | "dialogElementId" | "exportDialog" | "restoredState" | "restoreRevision" | "suspendedDialogs" | "toasts">, Pick<{
|
|
9808
|
+
}, "contextMenu" | "dialogSessionId" | "activeDialog" | "dialogElementId" | "exportDialog" | "restoredState" | "restoreRevision" | "suspendedDialogs" | "themeMode" | "toasts">, Pick<{
|
|
9212
9809
|
activeDialog: import('vue').Ref<{
|
|
9213
9810
|
applyTemplateTemplateId?: string | undefined;
|
|
9214
9811
|
groupId?: string | undefined;
|
|
@@ -9241,9 +9838,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9241
9838
|
disabled?: boolean | undefined;
|
|
9242
9839
|
help?: string | undefined;
|
|
9243
9840
|
icon?: string | undefined;
|
|
9841
|
+
keepOpen?: boolean | undefined;
|
|
9244
9842
|
label: string;
|
|
9245
9843
|
shortcut?: string | undefined;
|
|
9246
9844
|
type: "item";
|
|
9845
|
+
} | {
|
|
9846
|
+
icon?: string | undefined;
|
|
9847
|
+
items: {
|
|
9848
|
+
action: () => void;
|
|
9849
|
+
checked?: boolean | undefined;
|
|
9850
|
+
commandId?: string | undefined;
|
|
9851
|
+
danger?: boolean | undefined;
|
|
9852
|
+
disabled?: boolean | undefined;
|
|
9853
|
+
help?: string | undefined;
|
|
9854
|
+
icon?: string | undefined;
|
|
9855
|
+
keepOpen?: boolean | undefined;
|
|
9856
|
+
label: string;
|
|
9857
|
+
shortcut?: string | undefined;
|
|
9858
|
+
type: "item";
|
|
9859
|
+
}[];
|
|
9860
|
+
label: string;
|
|
9861
|
+
type: "segment";
|
|
9247
9862
|
} | {
|
|
9248
9863
|
icon?: string | undefined;
|
|
9249
9864
|
items: ({
|
|
@@ -9256,9 +9871,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9256
9871
|
disabled?: boolean | undefined;
|
|
9257
9872
|
help?: string | undefined;
|
|
9258
9873
|
icon?: string | undefined;
|
|
9874
|
+
keepOpen?: boolean | undefined;
|
|
9259
9875
|
label: string;
|
|
9260
9876
|
shortcut?: string | undefined;
|
|
9261
9877
|
type: "item";
|
|
9878
|
+
} | {
|
|
9879
|
+
icon?: string | undefined;
|
|
9880
|
+
items: {
|
|
9881
|
+
action: () => void;
|
|
9882
|
+
checked?: boolean | undefined;
|
|
9883
|
+
commandId?: string | undefined;
|
|
9884
|
+
danger?: boolean | undefined;
|
|
9885
|
+
disabled?: boolean | undefined;
|
|
9886
|
+
help?: string | undefined;
|
|
9887
|
+
icon?: string | undefined;
|
|
9888
|
+
keepOpen?: boolean | undefined;
|
|
9889
|
+
label: string;
|
|
9890
|
+
shortcut?: string | undefined;
|
|
9891
|
+
type: "item";
|
|
9892
|
+
}[];
|
|
9893
|
+
label: string;
|
|
9894
|
+
type: "segment";
|
|
9262
9895
|
} | /*elided*/ any)[];
|
|
9263
9896
|
label: string;
|
|
9264
9897
|
type: "submenu";
|
|
@@ -9282,9 +9915,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9282
9915
|
disabled?: boolean | undefined;
|
|
9283
9916
|
help?: string | undefined;
|
|
9284
9917
|
icon?: string | undefined;
|
|
9918
|
+
keepOpen?: boolean | undefined;
|
|
9285
9919
|
label: string;
|
|
9286
9920
|
shortcut?: string | undefined;
|
|
9287
9921
|
type: "item";
|
|
9922
|
+
} | {
|
|
9923
|
+
icon?: string | undefined;
|
|
9924
|
+
items: {
|
|
9925
|
+
action: () => void;
|
|
9926
|
+
checked?: boolean | undefined;
|
|
9927
|
+
commandId?: string | undefined;
|
|
9928
|
+
danger?: boolean | undefined;
|
|
9929
|
+
disabled?: boolean | undefined;
|
|
9930
|
+
help?: string | undefined;
|
|
9931
|
+
icon?: string | undefined;
|
|
9932
|
+
keepOpen?: boolean | undefined;
|
|
9933
|
+
label: string;
|
|
9934
|
+
shortcut?: string | undefined;
|
|
9935
|
+
type: "item";
|
|
9936
|
+
}[];
|
|
9937
|
+
label: string;
|
|
9938
|
+
type: "segment";
|
|
9288
9939
|
} | {
|
|
9289
9940
|
icon?: string | undefined;
|
|
9290
9941
|
items: ({
|
|
@@ -9297,9 +9948,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9297
9948
|
disabled?: boolean | undefined;
|
|
9298
9949
|
help?: string | undefined;
|
|
9299
9950
|
icon?: string | undefined;
|
|
9951
|
+
keepOpen?: boolean | undefined;
|
|
9300
9952
|
label: string;
|
|
9301
9953
|
shortcut?: string | undefined;
|
|
9302
9954
|
type: "item";
|
|
9955
|
+
} | {
|
|
9956
|
+
icon?: string | undefined;
|
|
9957
|
+
items: {
|
|
9958
|
+
action: () => void;
|
|
9959
|
+
checked?: boolean | undefined;
|
|
9960
|
+
commandId?: string | undefined;
|
|
9961
|
+
danger?: boolean | undefined;
|
|
9962
|
+
disabled?: boolean | undefined;
|
|
9963
|
+
help?: string | undefined;
|
|
9964
|
+
icon?: string | undefined;
|
|
9965
|
+
keepOpen?: boolean | undefined;
|
|
9966
|
+
label: string;
|
|
9967
|
+
shortcut?: string | undefined;
|
|
9968
|
+
type: "item";
|
|
9969
|
+
}[];
|
|
9970
|
+
label: string;
|
|
9971
|
+
type: "segment";
|
|
9303
9972
|
} | /*elided*/ any)[];
|
|
9304
9973
|
label: string;
|
|
9305
9974
|
type: "submenu";
|
|
@@ -9405,10 +10074,12 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9405
10074
|
tab?: string | undefined;
|
|
9406
10075
|
values?: Record<string, unknown> | undefined;
|
|
9407
10076
|
}>;
|
|
10077
|
+
restorePreferences: () => void;
|
|
9408
10078
|
restoreRevision: import('vue').Ref<number, number>;
|
|
9409
10079
|
restoreState: (state: import('./types').UiRestoreState) => void;
|
|
9410
10080
|
resumeDialog: (id: number) => void;
|
|
9411
10081
|
resumeToast: (id: number) => void;
|
|
10082
|
+
setThemeMode: (mode: import('./types').ThemeMode) => void;
|
|
9412
10083
|
suspendDialog: () => number | undefined;
|
|
9413
10084
|
suspendedDialogs: import('vue').Ref<{
|
|
9414
10085
|
dialog: {
|
|
@@ -9437,6 +10108,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9437
10108
|
elementIds?: string[] | undefined;
|
|
9438
10109
|
id: number;
|
|
9439
10110
|
}[]>;
|
|
10111
|
+
themeMode: import('vue').Ref<import('./types').ThemeMode, import('./types').ThemeMode>;
|
|
9440
10112
|
toast: (text: string, kind?: import('./types').ToastItem["kind"]) => void;
|
|
9441
10113
|
toasts: import('vue').Ref<{
|
|
9442
10114
|
id: number;
|
|
@@ -9480,9 +10152,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9480
10152
|
disabled?: boolean | undefined;
|
|
9481
10153
|
help?: string | undefined;
|
|
9482
10154
|
icon?: string | undefined;
|
|
10155
|
+
keepOpen?: boolean | undefined;
|
|
9483
10156
|
label: string;
|
|
9484
10157
|
shortcut?: string | undefined;
|
|
9485
10158
|
type: "item";
|
|
10159
|
+
} | {
|
|
10160
|
+
icon?: string | undefined;
|
|
10161
|
+
items: {
|
|
10162
|
+
action: () => void;
|
|
10163
|
+
checked?: boolean | undefined;
|
|
10164
|
+
commandId?: string | undefined;
|
|
10165
|
+
danger?: boolean | undefined;
|
|
10166
|
+
disabled?: boolean | undefined;
|
|
10167
|
+
help?: string | undefined;
|
|
10168
|
+
icon?: string | undefined;
|
|
10169
|
+
keepOpen?: boolean | undefined;
|
|
10170
|
+
label: string;
|
|
10171
|
+
shortcut?: string | undefined;
|
|
10172
|
+
type: "item";
|
|
10173
|
+
}[];
|
|
10174
|
+
label: string;
|
|
10175
|
+
type: "segment";
|
|
9486
10176
|
} | {
|
|
9487
10177
|
icon?: string | undefined;
|
|
9488
10178
|
items: ({
|
|
@@ -9495,9 +10185,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9495
10185
|
disabled?: boolean | undefined;
|
|
9496
10186
|
help?: string | undefined;
|
|
9497
10187
|
icon?: string | undefined;
|
|
10188
|
+
keepOpen?: boolean | undefined;
|
|
9498
10189
|
label: string;
|
|
9499
10190
|
shortcut?: string | undefined;
|
|
9500
10191
|
type: "item";
|
|
10192
|
+
} | {
|
|
10193
|
+
icon?: string | undefined;
|
|
10194
|
+
items: {
|
|
10195
|
+
action: () => void;
|
|
10196
|
+
checked?: boolean | undefined;
|
|
10197
|
+
commandId?: string | undefined;
|
|
10198
|
+
danger?: boolean | undefined;
|
|
10199
|
+
disabled?: boolean | undefined;
|
|
10200
|
+
help?: string | undefined;
|
|
10201
|
+
icon?: string | undefined;
|
|
10202
|
+
keepOpen?: boolean | undefined;
|
|
10203
|
+
label: string;
|
|
10204
|
+
shortcut?: string | undefined;
|
|
10205
|
+
type: "item";
|
|
10206
|
+
}[];
|
|
10207
|
+
label: string;
|
|
10208
|
+
type: "segment";
|
|
9501
10209
|
} | /*elided*/ any)[];
|
|
9502
10210
|
label: string;
|
|
9503
10211
|
type: "submenu";
|
|
@@ -9521,9 +10229,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9521
10229
|
disabled?: boolean | undefined;
|
|
9522
10230
|
help?: string | undefined;
|
|
9523
10231
|
icon?: string | undefined;
|
|
10232
|
+
keepOpen?: boolean | undefined;
|
|
9524
10233
|
label: string;
|
|
9525
10234
|
shortcut?: string | undefined;
|
|
9526
10235
|
type: "item";
|
|
10236
|
+
} | {
|
|
10237
|
+
icon?: string | undefined;
|
|
10238
|
+
items: {
|
|
10239
|
+
action: () => void;
|
|
10240
|
+
checked?: boolean | undefined;
|
|
10241
|
+
commandId?: string | undefined;
|
|
10242
|
+
danger?: boolean | undefined;
|
|
10243
|
+
disabled?: boolean | undefined;
|
|
10244
|
+
help?: string | undefined;
|
|
10245
|
+
icon?: string | undefined;
|
|
10246
|
+
keepOpen?: boolean | undefined;
|
|
10247
|
+
label: string;
|
|
10248
|
+
shortcut?: string | undefined;
|
|
10249
|
+
type: "item";
|
|
10250
|
+
}[];
|
|
10251
|
+
label: string;
|
|
10252
|
+
type: "segment";
|
|
9527
10253
|
} | {
|
|
9528
10254
|
icon?: string | undefined;
|
|
9529
10255
|
items: ({
|
|
@@ -9536,9 +10262,27 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9536
10262
|
disabled?: boolean | undefined;
|
|
9537
10263
|
help?: string | undefined;
|
|
9538
10264
|
icon?: string | undefined;
|
|
10265
|
+
keepOpen?: boolean | undefined;
|
|
9539
10266
|
label: string;
|
|
9540
10267
|
shortcut?: string | undefined;
|
|
9541
10268
|
type: "item";
|
|
10269
|
+
} | {
|
|
10270
|
+
icon?: string | undefined;
|
|
10271
|
+
items: {
|
|
10272
|
+
action: () => void;
|
|
10273
|
+
checked?: boolean | undefined;
|
|
10274
|
+
commandId?: string | undefined;
|
|
10275
|
+
danger?: boolean | undefined;
|
|
10276
|
+
disabled?: boolean | undefined;
|
|
10277
|
+
help?: string | undefined;
|
|
10278
|
+
icon?: string | undefined;
|
|
10279
|
+
keepOpen?: boolean | undefined;
|
|
10280
|
+
label: string;
|
|
10281
|
+
shortcut?: string | undefined;
|
|
10282
|
+
type: "item";
|
|
10283
|
+
}[];
|
|
10284
|
+
label: string;
|
|
10285
|
+
type: "segment";
|
|
9542
10286
|
} | /*elided*/ any)[];
|
|
9543
10287
|
label: string;
|
|
9544
10288
|
type: "submenu";
|
|
@@ -9644,10 +10388,12 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9644
10388
|
tab?: string | undefined;
|
|
9645
10389
|
values?: Record<string, unknown> | undefined;
|
|
9646
10390
|
}>;
|
|
10391
|
+
restorePreferences: () => void;
|
|
9647
10392
|
restoreRevision: import('vue').Ref<number, number>;
|
|
9648
10393
|
restoreState: (state: import('./types').UiRestoreState) => void;
|
|
9649
10394
|
resumeDialog: (id: number) => void;
|
|
9650
10395
|
resumeToast: (id: number) => void;
|
|
10396
|
+
setThemeMode: (mode: import('./types').ThemeMode) => void;
|
|
9651
10397
|
suspendDialog: () => number | undefined;
|
|
9652
10398
|
suspendedDialogs: import('vue').Ref<{
|
|
9653
10399
|
dialog: {
|
|
@@ -9676,6 +10422,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9676
10422
|
elementIds?: string[] | undefined;
|
|
9677
10423
|
id: number;
|
|
9678
10424
|
}[]>;
|
|
10425
|
+
themeMode: import('vue').Ref<import('./types').ThemeMode, import('./types').ThemeMode>;
|
|
9679
10426
|
toast: (text: string, kind?: import('./types').ToastItem["kind"]) => void;
|
|
9680
10427
|
toasts: import('vue').Ref<{
|
|
9681
10428
|
id: number;
|
|
@@ -9686,7 +10433,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9686
10433
|
kind: "error" | "info" | "success";
|
|
9687
10434
|
text: string;
|
|
9688
10435
|
}[]>;
|
|
9689
|
-
}, "discardSuspendedDialog" | "clearSuspendedDialogs" | "closeContextMenu" | "closeDialog" | "completeExportDialog" | "dismissToast" | "finishExportDialog" | "minimizeExportDialog" | "openContextMenu" | "openDialog" | "openExportDialog" | "pauseToast" | "restoreState" | "resumeDialog" | "resumeToast" | "suspendDialog" | "toast">>;
|
|
10436
|
+
}, "restorePreferences" | "discardSuspendedDialog" | "clearSuspendedDialogs" | "closeContextMenu" | "closeDialog" | "completeExportDialog" | "dismissToast" | "finishExportDialog" | "minimizeExportDialog" | "openContextMenu" | "openDialog" | "openExportDialog" | "pauseToast" | "restoreState" | "resumeDialog" | "resumeToast" | "setThemeMode" | "suspendDialog" | "toast">>;
|
|
9690
10437
|
view: import('pinia').Store<"editor-view", Pick<{
|
|
9691
10438
|
activeTool: import('vue').Ref<string, string>;
|
|
9692
10439
|
alignPanel: {
|
|
@@ -9739,6 +10486,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9739
10486
|
y: number;
|
|
9740
10487
|
};
|
|
9741
10488
|
} | null>;
|
|
10489
|
+
originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
|
|
9742
10490
|
pageLayouts: import('vue').ComputedRef<{
|
|
9743
10491
|
page: import('../..').PageNode;
|
|
9744
10492
|
x: number;
|
|
@@ -9817,6 +10565,8 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9817
10565
|
v: number[];
|
|
9818
10566
|
}>;
|
|
9819
10567
|
spacePanning: import('vue').Ref<boolean, boolean>;
|
|
10568
|
+
toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
10569
|
+
toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
9820
10570
|
updateAlignPanel: (patch: Partial<import('./types').AlignPanelState>) => void;
|
|
9821
10571
|
updateSettings: (patch: Partial<{
|
|
9822
10572
|
clickToCreate: boolean;
|
|
@@ -9896,6 +10646,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9896
10646
|
y: number;
|
|
9897
10647
|
};
|
|
9898
10648
|
} | null>;
|
|
10649
|
+
originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
|
|
9899
10650
|
pageLayouts: import('vue').ComputedRef<{
|
|
9900
10651
|
page: import('../..').PageNode;
|
|
9901
10652
|
x: number;
|
|
@@ -9974,6 +10725,8 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
9974
10725
|
v: number[];
|
|
9975
10726
|
}>;
|
|
9976
10727
|
spacePanning: import('vue').Ref<boolean, boolean>;
|
|
10728
|
+
toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
10729
|
+
toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
9977
10730
|
updateAlignPanel: (patch: Partial<import('./types').AlignPanelState>) => void;
|
|
9978
10731
|
updateSettings: (patch: Partial<{
|
|
9979
10732
|
clickToCreate: boolean;
|
|
@@ -10001,7 +10754,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
10001
10754
|
width: number;
|
|
10002
10755
|
}>;
|
|
10003
10756
|
zoom: import('vue').Ref<number, number>;
|
|
10004
|
-
}, "canvasBackground" | "canvasBackgroundPreset" | "contentSizeMm" | "customCanvasColor" | "getLayout" | "pageLayouts" | "pagesBoundsMm" | "pxPerMm">, Pick<{
|
|
10757
|
+
}, "canvasBackground" | "canvasBackgroundPreset" | "contentSizeMm" | "customCanvasColor" | "getLayout" | "originOf" | "pageLayouts" | "pagesBoundsMm" | "pxPerMm" | "toGlobal" | "toLocal">, Pick<{
|
|
10005
10758
|
activeTool: import('vue').Ref<string, string>;
|
|
10006
10759
|
alignPanel: {
|
|
10007
10760
|
spacing: null | number;
|
|
@@ -10053,6 +10806,7 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
10053
10806
|
y: number;
|
|
10054
10807
|
};
|
|
10055
10808
|
} | null>;
|
|
10809
|
+
originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
|
|
10056
10810
|
pageLayouts: import('vue').ComputedRef<{
|
|
10057
10811
|
page: import('../..').PageNode;
|
|
10058
10812
|
x: number;
|
|
@@ -10131,6 +10885,8 @@ export declare const useEditorStore: import('pinia').SetupStoreDefinition<"edito
|
|
|
10131
10885
|
v: number[];
|
|
10132
10886
|
}>;
|
|
10133
10887
|
spacePanning: import('vue').Ref<boolean, boolean>;
|
|
10888
|
+
toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
10889
|
+
toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
|
|
10134
10890
|
updateAlignPanel: (patch: Partial<import('./types').AlignPanelState>) => void;
|
|
10135
10891
|
updateSettings: (patch: Partial<{
|
|
10136
10892
|
clickToCreate: boolean;
|