@printstack/print-studio 0.1.1 → 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.
Files changed (58) hide show
  1. package/README.md +121 -160
  2. package/assets/render.worker-DkH7TepL.js +109 -0
  3. package/{cloneDeep-PCw2ErRl.js → cloneDeep-waBDTGc3.js} +9 -4
  4. package/components/print-s-logo/print-s-logo.vue.d.ts +1 -1
  5. package/components/s-form/types.d.ts +1 -1
  6. package/core/coordinate-space.d.ts +16 -0
  7. package/core/document-model.d.ts +1 -1
  8. package/core/element-registry.d.ts +3 -8
  9. package/core/page-extensions.d.ts +1 -1
  10. package/core/types.d.ts +8 -0
  11. package/core.js +2 -2
  12. package/designer/commands/menu-adapter.d.ts +3 -3
  13. package/designer/commands/menu-types.d.ts +8 -1
  14. package/designer/commands/types.d.ts +2 -0
  15. package/designer/components/fields/use-table-draft.d.ts +0 -4
  16. package/designer/components/panels/layer-row-types.d.ts +37 -0
  17. package/designer/components/panels/layer-row.vue.d.ts +17 -0
  18. package/designer/components/stage/marquee-overlay.vue.d.ts +8 -0
  19. package/designer/components/stage/node-style.d.ts +3 -0
  20. package/designer/components/stage/selection-member.vue.d.ts +14 -0
  21. package/designer/composables/use-theme.d.ts +3 -0
  22. package/designer/facade/editing.d.ts +2 -2
  23. package/designer/facade/entities.d.ts +1156 -22
  24. package/designer/frame/view.d.ts +2 -0
  25. package/designer/interactions/marquee.d.ts +1 -1
  26. package/designer/interactions/move.d.ts +3 -1
  27. package/designer/mount-print-designer.d.ts +1 -1
  28. package/designer/plugins/plugin-manager.d.ts +3 -3
  29. package/designer/plugins/types.d.ts +1 -1
  30. package/designer/stores/document-store.d.ts +72 -0
  31. package/designer/stores/editor-store.d.ts +770 -14
  32. package/designer/stores/page-store.d.ts +25 -1
  33. package/designer/stores/template-store.d.ts +52 -4
  34. package/designer/stores/types.d.ts +1 -0
  35. package/designer/stores/ui-store.d.ts +232 -3
  36. package/designer/stores/view-store.d.ts +10 -1
  37. package/designer.d.ts +1 -1
  38. package/designer.js +3 -3
  39. package/{document-model-GhFP9OGp.js → document-model-Cc5RoO4j.js} +160 -179
  40. package/elements/table/table-style.d.ts +3 -10
  41. package/host-OAp3gFDx.js +123 -0
  42. package/index.js +5 -5
  43. package/locales/runtime.d.ts +7 -2
  44. package/locales/translations/zh-CN/designer.json.d.ts +9 -4
  45. package/{mount-print-designer-BLgVZOnm.js → mount-print-designer-DnHTrBE9.js} +4 -4
  46. package/{mount-print-preview-D7M-1AqH.js → mount-print-preview-Bcb08lJ-.js} +4 -3
  47. package/package.json +1 -1
  48. package/{presets-D3WhkbZK.js → presets-BunYODhE.js} +2 -2
  49. package/{registries-dZq8MewR.js → registries-sg39PGF1.js} +767 -780
  50. package/runtime.js +2 -2
  51. package/{saas-B1H161e1.js → saas-D-q51uTz.js} +1 -1
  52. package/saas.js +1 -1
  53. package/{studio-BFQYHZsg.js → studio-B3B6zI06.js} +796 -722
  54. package/studio-types.d.ts +1 -1
  55. package/style.css +1 -1
  56. package/vue.js +786 -693
  57. package/assets/render.worker-Ch4qWx3S.js +0 -109
  58. package/host-CuGR8rD6.js +0 -123
@@ -362,6 +362,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
362
362
  top: number;
363
363
  } | undefined;
364
364
  name: string;
365
+ position?: {
366
+ x: number;
367
+ y: number;
368
+ } | undefined;
365
369
  templateId?: string | undefined;
366
370
  width: number;
367
371
  }[];
@@ -417,6 +421,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
417
421
  top: number;
418
422
  } | undefined;
419
423
  name: string;
424
+ position?: {
425
+ x: number;
426
+ y: number;
427
+ } | undefined;
420
428
  templateId?: string | undefined;
421
429
  width: number;
422
430
  } | undefined;
@@ -464,6 +472,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
464
472
  top: number;
465
473
  } | undefined;
466
474
  name: string;
475
+ position?: {
476
+ x: number;
477
+ y: number;
478
+ } | undefined;
467
479
  templateId?: string | undefined;
468
480
  width: number;
469
481
  };
@@ -546,6 +558,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
546
558
  top: number;
547
559
  } | undefined;
548
560
  name: string;
561
+ position?: {
562
+ x: number;
563
+ y: number;
564
+ } | undefined;
549
565
  templateId?: string | undefined;
550
566
  width: number;
551
567
  }[];
@@ -601,6 +617,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
601
617
  top: number;
602
618
  } | undefined;
603
619
  name: string;
620
+ position?: {
621
+ x: number;
622
+ y: number;
623
+ } | undefined;
604
624
  templateId?: string | undefined;
605
625
  width: number;
606
626
  } | undefined;
@@ -648,6 +668,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
648
668
  top: number;
649
669
  } | undefined;
650
670
  name: string;
671
+ position?: {
672
+ x: number;
673
+ y: number;
674
+ } | undefined;
651
675
  templateId?: string | undefined;
652
676
  width: number;
653
677
  };
@@ -748,6 +772,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
748
772
  top: number;
749
773
  } | undefined;
750
774
  name: string;
775
+ position?: {
776
+ x: number;
777
+ y: number;
778
+ } | undefined;
751
779
  templateId?: string | undefined;
752
780
  width: number;
753
781
  }[];
@@ -803,6 +831,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
803
831
  top: number;
804
832
  } | undefined;
805
833
  name: string;
834
+ position?: {
835
+ x: number;
836
+ y: number;
837
+ } | undefined;
806
838
  templateId?: string | undefined;
807
839
  width: number;
808
840
  } | undefined;
@@ -850,6 +882,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
850
882
  top: number;
851
883
  } | undefined;
852
884
  name: string;
885
+ position?: {
886
+ x: number;
887
+ y: number;
888
+ } | undefined;
853
889
  templateId?: string | undefined;
854
890
  width: number;
855
891
  };
@@ -932,6 +968,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
932
968
  top: number;
933
969
  } | undefined;
934
970
  name: string;
971
+ position?: {
972
+ x: number;
973
+ y: number;
974
+ } | undefined;
935
975
  templateId?: string | undefined;
936
976
  width: number;
937
977
  }[];
@@ -987,6 +1027,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
987
1027
  top: number;
988
1028
  } | undefined;
989
1029
  name: string;
1030
+ position?: {
1031
+ x: number;
1032
+ y: number;
1033
+ } | undefined;
990
1034
  templateId?: string | undefined;
991
1035
  width: number;
992
1036
  } | undefined;
@@ -1034,6 +1078,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
1034
1078
  top: number;
1035
1079
  } | undefined;
1036
1080
  name: string;
1081
+ position?: {
1082
+ x: number;
1083
+ y: number;
1084
+ } | undefined;
1037
1085
  templateId?: string | undefined;
1038
1086
  width: number;
1039
1087
  };
@@ -1134,6 +1182,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
1134
1182
  top: number;
1135
1183
  } | undefined;
1136
1184
  name: string;
1185
+ position?: {
1186
+ x: number;
1187
+ y: number;
1188
+ } | undefined;
1137
1189
  templateId?: string | undefined;
1138
1190
  width: number;
1139
1191
  }[];
@@ -1189,6 +1241,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
1189
1241
  top: number;
1190
1242
  } | undefined;
1191
1243
  name: string;
1244
+ position?: {
1245
+ x: number;
1246
+ y: number;
1247
+ } | undefined;
1192
1248
  templateId?: string | undefined;
1193
1249
  width: number;
1194
1250
  } | undefined;
@@ -1236,6 +1292,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
1236
1292
  top: number;
1237
1293
  } | undefined;
1238
1294
  name: string;
1295
+ position?: {
1296
+ x: number;
1297
+ y: number;
1298
+ } | undefined;
1239
1299
  templateId?: string | undefined;
1240
1300
  width: number;
1241
1301
  };
@@ -1318,6 +1378,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
1318
1378
  top: number;
1319
1379
  } | undefined;
1320
1380
  name: string;
1381
+ position?: {
1382
+ x: number;
1383
+ y: number;
1384
+ } | undefined;
1321
1385
  templateId?: string | undefined;
1322
1386
  width: number;
1323
1387
  }[];
@@ -1373,6 +1437,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
1373
1437
  top: number;
1374
1438
  } | undefined;
1375
1439
  name: string;
1440
+ position?: {
1441
+ x: number;
1442
+ y: number;
1443
+ } | undefined;
1376
1444
  templateId?: string | undefined;
1377
1445
  width: number;
1378
1446
  } | undefined;
@@ -1420,6 +1488,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
1420
1488
  top: number;
1421
1489
  } | undefined;
1422
1490
  name: string;
1491
+ position?: {
1492
+ x: number;
1493
+ y: number;
1494
+ } | undefined;
1423
1495
  templateId?: string | undefined;
1424
1496
  width: number;
1425
1497
  };
@@ -2204,9 +2276,17 @@ export declare function createFacadeAccess(ctx: EditorContext): {
2204
2276
  top: number;
2205
2277
  } | undefined;
2206
2278
  name: string;
2279
+ position?: {
2280
+ x: number;
2281
+ y: number;
2282
+ } | undefined;
2207
2283
  templateId?: string | undefined;
2208
2284
  width: number;
2209
2285
  }[]>;
2286
+ move: (pageId: string, position: null | {
2287
+ x: number;
2288
+ y: number;
2289
+ }) => void;
2210
2290
  remove: (pageId: string) => void;
2211
2291
  setActive: (id: string) => void;
2212
2292
  update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
@@ -2255,9 +2335,17 @@ export declare function createFacadeAccess(ctx: EditorContext): {
2255
2335
  top: number;
2256
2336
  } | undefined;
2257
2337
  name: string;
2338
+ position?: {
2339
+ x: number;
2340
+ y: number;
2341
+ } | undefined;
2258
2342
  templateId?: string | undefined;
2259
2343
  width: number;
2260
2344
  }[]>;
2345
+ move: (pageId: string, position: null | {
2346
+ x: number;
2347
+ y: number;
2348
+ }) => void;
2261
2349
  remove: (pageId: string) => void;
2262
2350
  setActive: (id: string) => void;
2263
2351
  update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
@@ -2306,13 +2394,21 @@ export declare function createFacadeAccess(ctx: EditorContext): {
2306
2394
  top: number;
2307
2395
  } | undefined;
2308
2396
  name: string;
2397
+ position?: {
2398
+ x: number;
2399
+ y: number;
2400
+ } | undefined;
2309
2401
  templateId?: string | undefined;
2310
2402
  width: number;
2311
2403
  }[]>;
2404
+ move: (pageId: string, position: null | {
2405
+ x: number;
2406
+ y: number;
2407
+ }) => void;
2312
2408
  remove: (pageId: string) => void;
2313
2409
  setActive: (id: string) => void;
2314
2410
  update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
2315
- }, "copy" | "add" | "remove" | "update" | "setActive">>;
2411
+ }, "copy" | "add" | "remove" | "update" | "move" | "setActive">>;
2316
2412
  panel: import('pinia').Store<"editor-panel", Pick<{
2317
2413
  activate: (groupId: string, panelId: string, popout?: boolean) => void;
2318
2414
  beginDrag: (state: Omit<import('../stores/types').PanelDragState, "target">, bounds?: Pick<import('../stores/types').PanelColumn, "collapsed" | "height" | "width" | "x" | "y">) => void;
@@ -3210,6 +3306,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3210
3306
  top: number;
3211
3307
  } | undefined;
3212
3308
  name: string;
3309
+ position?: {
3310
+ x: number;
3311
+ y: number;
3312
+ } | undefined;
3213
3313
  templateId?: string | undefined;
3214
3314
  width: number;
3215
3315
  } | undefined;
@@ -3257,6 +3357,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3257
3357
  top: number;
3258
3358
  } | undefined;
3259
3359
  name: string;
3360
+ position?: {
3361
+ x: number;
3362
+ y: number;
3363
+ } | undefined;
3260
3364
  templateId?: string | undefined;
3261
3365
  width: number;
3262
3366
  };
@@ -3312,6 +3416,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3312
3416
  top: number;
3313
3417
  } | undefined;
3314
3418
  name: string;
3419
+ position?: {
3420
+ x: number;
3421
+ y: number;
3422
+ } | undefined;
3315
3423
  templateId?: string | undefined;
3316
3424
  width: number;
3317
3425
  } | undefined;
@@ -3359,6 +3467,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3359
3467
  top: number;
3360
3468
  } | undefined;
3361
3469
  name: string;
3470
+ position?: {
3471
+ x: number;
3472
+ y: number;
3473
+ } | undefined;
3362
3474
  templateId?: string | undefined;
3363
3475
  width: number;
3364
3476
  };
@@ -3371,7 +3483,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3371
3483
  rename: (id: string, name: string) => void;
3372
3484
  resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
3373
3485
  syncPageDimensions: (pageIds: string[]) => void;
3374
- update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>) => void;
3486
+ update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('../stores/types').MutationOptions) => void;
3375
3487
  updatePage: (pageId: string, patch: import('../stores/types').EditingPagePatch) => void;
3376
3488
  usageCount: import('vue').ComputedRef<(id: string) => number>;
3377
3489
  }, "editingId">, Pick<{
@@ -3422,6 +3534,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3422
3534
  top: number;
3423
3535
  } | undefined;
3424
3536
  name: string;
3537
+ position?: {
3538
+ x: number;
3539
+ y: number;
3540
+ } | undefined;
3425
3541
  templateId?: string | undefined;
3426
3542
  width: number;
3427
3543
  } | undefined;
@@ -3469,6 +3585,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3469
3585
  top: number;
3470
3586
  } | undefined;
3471
3587
  name: string;
3588
+ position?: {
3589
+ x: number;
3590
+ y: number;
3591
+ } | undefined;
3472
3592
  templateId?: string | undefined;
3473
3593
  width: number;
3474
3594
  };
@@ -3524,6 +3644,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3524
3644
  top: number;
3525
3645
  } | undefined;
3526
3646
  name: string;
3647
+ position?: {
3648
+ x: number;
3649
+ y: number;
3650
+ } | undefined;
3527
3651
  templateId?: string | undefined;
3528
3652
  width: number;
3529
3653
  } | undefined;
@@ -3571,6 +3695,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3571
3695
  top: number;
3572
3696
  } | undefined;
3573
3697
  name: string;
3698
+ position?: {
3699
+ x: number;
3700
+ y: number;
3701
+ } | undefined;
3574
3702
  templateId?: string | undefined;
3575
3703
  width: number;
3576
3704
  };
@@ -3583,7 +3711,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3583
3711
  rename: (id: string, name: string) => void;
3584
3712
  resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
3585
3713
  syncPageDimensions: (pageIds: string[]) => void;
3586
- update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>) => void;
3714
+ update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('../stores/types').MutationOptions) => void;
3587
3715
  updatePage: (pageId: string, patch: import('../stores/types').EditingPagePatch) => void;
3588
3716
  usageCount: import('vue').ComputedRef<(id: string) => number>;
3589
3717
  }, "usageCount" | "get" | "list" | "getByPage" | "editingPage" | "editingPages" | "editingTemplate" | "effectiveBackground" | "effectiveTemplate" | "isContainer" | "resolveFor">, Pick<{
@@ -3634,6 +3762,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3634
3762
  top: number;
3635
3763
  } | undefined;
3636
3764
  name: string;
3765
+ position?: {
3766
+ x: number;
3767
+ y: number;
3768
+ } | undefined;
3637
3769
  templateId?: string | undefined;
3638
3770
  width: number;
3639
3771
  } | undefined;
@@ -3681,6 +3813,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3681
3813
  top: number;
3682
3814
  } | undefined;
3683
3815
  name: string;
3816
+ position?: {
3817
+ x: number;
3818
+ y: number;
3819
+ } | undefined;
3684
3820
  templateId?: string | undefined;
3685
3821
  width: number;
3686
3822
  };
@@ -3736,6 +3872,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3736
3872
  top: number;
3737
3873
  } | undefined;
3738
3874
  name: string;
3875
+ position?: {
3876
+ x: number;
3877
+ y: number;
3878
+ } | undefined;
3739
3879
  templateId?: string | undefined;
3740
3880
  width: number;
3741
3881
  } | undefined;
@@ -3783,6 +3923,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3783
3923
  top: number;
3784
3924
  } | undefined;
3785
3925
  name: string;
3926
+ position?: {
3927
+ x: number;
3928
+ y: number;
3929
+ } | undefined;
3786
3930
  templateId?: string | undefined;
3787
3931
  width: number;
3788
3932
  };
@@ -3795,7 +3939,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3795
3939
  rename: (id: string, name: string) => void;
3796
3940
  resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
3797
3941
  syncPageDimensions: (pageIds: string[]) => void;
3798
- update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>) => void;
3942
+ update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('../stores/types').MutationOptions) => void;
3799
3943
  updatePage: (pageId: string, patch: import('../stores/types').EditingPagePatch) => void;
3800
3944
  usageCount: import('vue').ComputedRef<(id: string) => number>;
3801
3945
  }, "create" | "rename" | "remove" | "update" | "updatePage" | "activatePage" | "applyToPages" | "createFromPage" | "detach" | "enterEdit" | "exitEdit" | "import" | "syncPageDimensions">>;
@@ -3899,9 +4043,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3899
4043
  disabled?: boolean | undefined;
3900
4044
  help?: string | undefined;
3901
4045
  icon?: string | undefined;
4046
+ keepOpen?: boolean | undefined;
3902
4047
  label: string;
3903
4048
  shortcut?: string | undefined;
3904
4049
  type: "item";
4050
+ } | {
4051
+ icon?: string | undefined;
4052
+ items: {
4053
+ action: () => void;
4054
+ checked?: boolean | undefined;
4055
+ commandId?: string | undefined;
4056
+ danger?: boolean | undefined;
4057
+ disabled?: boolean | undefined;
4058
+ help?: string | undefined;
4059
+ icon?: string | undefined;
4060
+ keepOpen?: boolean | undefined;
4061
+ label: string;
4062
+ shortcut?: string | undefined;
4063
+ type: "item";
4064
+ }[];
4065
+ label: string;
4066
+ type: "segment";
3905
4067
  } | {
3906
4068
  icon?: string | undefined;
3907
4069
  items: ({
@@ -3914,9 +4076,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3914
4076
  disabled?: boolean | undefined;
3915
4077
  help?: string | undefined;
3916
4078
  icon?: string | undefined;
4079
+ keepOpen?: boolean | undefined;
3917
4080
  label: string;
3918
4081
  shortcut?: string | undefined;
3919
4082
  type: "item";
4083
+ } | {
4084
+ icon?: string | undefined;
4085
+ items: {
4086
+ action: () => void;
4087
+ checked?: boolean | undefined;
4088
+ commandId?: string | undefined;
4089
+ danger?: boolean | undefined;
4090
+ disabled?: boolean | undefined;
4091
+ help?: string | undefined;
4092
+ icon?: string | undefined;
4093
+ keepOpen?: boolean | undefined;
4094
+ label: string;
4095
+ shortcut?: string | undefined;
4096
+ type: "item";
4097
+ }[];
4098
+ label: string;
4099
+ type: "segment";
3920
4100
  } | /*elided*/ any)[];
3921
4101
  label: string;
3922
4102
  type: "submenu";
@@ -3940,9 +4120,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3940
4120
  disabled?: boolean | undefined;
3941
4121
  help?: string | undefined;
3942
4122
  icon?: string | undefined;
4123
+ keepOpen?: boolean | undefined;
3943
4124
  label: string;
3944
4125
  shortcut?: string | undefined;
3945
4126
  type: "item";
4127
+ } | {
4128
+ icon?: string | undefined;
4129
+ items: {
4130
+ action: () => void;
4131
+ checked?: boolean | undefined;
4132
+ commandId?: string | undefined;
4133
+ danger?: boolean | undefined;
4134
+ disabled?: boolean | undefined;
4135
+ help?: string | undefined;
4136
+ icon?: string | undefined;
4137
+ keepOpen?: boolean | undefined;
4138
+ label: string;
4139
+ shortcut?: string | undefined;
4140
+ type: "item";
4141
+ }[];
4142
+ label: string;
4143
+ type: "segment";
3946
4144
  } | {
3947
4145
  icon?: string | undefined;
3948
4146
  items: ({
@@ -3955,9 +4153,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
3955
4153
  disabled?: boolean | undefined;
3956
4154
  help?: string | undefined;
3957
4155
  icon?: string | undefined;
4156
+ keepOpen?: boolean | undefined;
3958
4157
  label: string;
3959
4158
  shortcut?: string | undefined;
3960
4159
  type: "item";
4160
+ } | {
4161
+ icon?: string | undefined;
4162
+ items: {
4163
+ action: () => void;
4164
+ checked?: boolean | undefined;
4165
+ commandId?: string | undefined;
4166
+ danger?: boolean | undefined;
4167
+ disabled?: boolean | undefined;
4168
+ help?: string | undefined;
4169
+ icon?: string | undefined;
4170
+ keepOpen?: boolean | undefined;
4171
+ label: string;
4172
+ shortcut?: string | undefined;
4173
+ type: "item";
4174
+ }[];
4175
+ label: string;
4176
+ type: "segment";
3961
4177
  } | /*elided*/ any)[];
3962
4178
  label: string;
3963
4179
  type: "submenu";
@@ -4063,10 +4279,12 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4063
4279
  tab?: string | undefined;
4064
4280
  values?: Record<string, unknown> | undefined;
4065
4281
  }>;
4282
+ restorePreferences: () => void;
4066
4283
  restoreRevision: import('vue').Ref<number, number>;
4067
4284
  restoreState: (state: import('../stores/types').UiRestoreState) => void;
4068
4285
  resumeDialog: (id: number) => void;
4069
4286
  resumeToast: (id: number) => void;
4287
+ setThemeMode: (mode: import('../stores/types').ThemeMode) => void;
4070
4288
  suspendDialog: () => number | undefined;
4071
4289
  suspendedDialogs: import('vue').Ref<{
4072
4290
  dialog: {
@@ -4095,6 +4313,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4095
4313
  elementIds?: string[] | undefined;
4096
4314
  id: number;
4097
4315
  }[]>;
4316
+ themeMode: import('vue').Ref<import('../stores/types').ThemeMode, import('../stores/types').ThemeMode>;
4098
4317
  toast: (text: string, kind?: import('../stores/types').ToastItem["kind"]) => void;
4099
4318
  toasts: import('vue').Ref<{
4100
4319
  id: number;
@@ -4105,7 +4324,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4105
4324
  kind: "error" | "info" | "success";
4106
4325
  text: string;
4107
4326
  }[]>;
4108
- }, "contextMenu" | "dialogSessionId" | "activeDialog" | "dialogElementId" | "exportDialog" | "restoredState" | "restoreRevision" | "suspendedDialogs" | "toasts">, Pick<{
4327
+ }, "contextMenu" | "dialogSessionId" | "activeDialog" | "dialogElementId" | "exportDialog" | "restoredState" | "restoreRevision" | "suspendedDialogs" | "themeMode" | "toasts">, Pick<{
4109
4328
  activeDialog: import('vue').Ref<{
4110
4329
  applyTemplateTemplateId?: string | undefined;
4111
4330
  groupId?: string | undefined;
@@ -4138,9 +4357,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4138
4357
  disabled?: boolean | undefined;
4139
4358
  help?: string | undefined;
4140
4359
  icon?: string | undefined;
4360
+ keepOpen?: boolean | undefined;
4141
4361
  label: string;
4142
4362
  shortcut?: string | undefined;
4143
4363
  type: "item";
4364
+ } | {
4365
+ icon?: string | undefined;
4366
+ items: {
4367
+ action: () => void;
4368
+ checked?: boolean | undefined;
4369
+ commandId?: string | undefined;
4370
+ danger?: boolean | undefined;
4371
+ disabled?: boolean | undefined;
4372
+ help?: string | undefined;
4373
+ icon?: string | undefined;
4374
+ keepOpen?: boolean | undefined;
4375
+ label: string;
4376
+ shortcut?: string | undefined;
4377
+ type: "item";
4378
+ }[];
4379
+ label: string;
4380
+ type: "segment";
4144
4381
  } | {
4145
4382
  icon?: string | undefined;
4146
4383
  items: ({
@@ -4153,9 +4390,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4153
4390
  disabled?: boolean | undefined;
4154
4391
  help?: string | undefined;
4155
4392
  icon?: string | undefined;
4393
+ keepOpen?: boolean | undefined;
4156
4394
  label: string;
4157
4395
  shortcut?: string | undefined;
4158
4396
  type: "item";
4397
+ } | {
4398
+ icon?: string | undefined;
4399
+ items: {
4400
+ action: () => void;
4401
+ checked?: boolean | undefined;
4402
+ commandId?: string | undefined;
4403
+ danger?: boolean | undefined;
4404
+ disabled?: boolean | undefined;
4405
+ help?: string | undefined;
4406
+ icon?: string | undefined;
4407
+ keepOpen?: boolean | undefined;
4408
+ label: string;
4409
+ shortcut?: string | undefined;
4410
+ type: "item";
4411
+ }[];
4412
+ label: string;
4413
+ type: "segment";
4159
4414
  } | /*elided*/ any)[];
4160
4415
  label: string;
4161
4416
  type: "submenu";
@@ -4179,9 +4434,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4179
4434
  disabled?: boolean | undefined;
4180
4435
  help?: string | undefined;
4181
4436
  icon?: string | undefined;
4437
+ keepOpen?: boolean | undefined;
4182
4438
  label: string;
4183
4439
  shortcut?: string | undefined;
4184
4440
  type: "item";
4441
+ } | {
4442
+ icon?: string | undefined;
4443
+ items: {
4444
+ action: () => void;
4445
+ checked?: boolean | undefined;
4446
+ commandId?: string | undefined;
4447
+ danger?: boolean | undefined;
4448
+ disabled?: boolean | undefined;
4449
+ help?: string | undefined;
4450
+ icon?: string | undefined;
4451
+ keepOpen?: boolean | undefined;
4452
+ label: string;
4453
+ shortcut?: string | undefined;
4454
+ type: "item";
4455
+ }[];
4456
+ label: string;
4457
+ type: "segment";
4185
4458
  } | {
4186
4459
  icon?: string | undefined;
4187
4460
  items: ({
@@ -4194,9 +4467,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4194
4467
  disabled?: boolean | undefined;
4195
4468
  help?: string | undefined;
4196
4469
  icon?: string | undefined;
4470
+ keepOpen?: boolean | undefined;
4197
4471
  label: string;
4198
4472
  shortcut?: string | undefined;
4199
4473
  type: "item";
4474
+ } | {
4475
+ icon?: string | undefined;
4476
+ items: {
4477
+ action: () => void;
4478
+ checked?: boolean | undefined;
4479
+ commandId?: string | undefined;
4480
+ danger?: boolean | undefined;
4481
+ disabled?: boolean | undefined;
4482
+ help?: string | undefined;
4483
+ icon?: string | undefined;
4484
+ keepOpen?: boolean | undefined;
4485
+ label: string;
4486
+ shortcut?: string | undefined;
4487
+ type: "item";
4488
+ }[];
4489
+ label: string;
4490
+ type: "segment";
4200
4491
  } | /*elided*/ any)[];
4201
4492
  label: string;
4202
4493
  type: "submenu";
@@ -4302,10 +4593,12 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4302
4593
  tab?: string | undefined;
4303
4594
  values?: Record<string, unknown> | undefined;
4304
4595
  }>;
4596
+ restorePreferences: () => void;
4305
4597
  restoreRevision: import('vue').Ref<number, number>;
4306
4598
  restoreState: (state: import('../stores/types').UiRestoreState) => void;
4307
4599
  resumeDialog: (id: number) => void;
4308
4600
  resumeToast: (id: number) => void;
4601
+ setThemeMode: (mode: import('../stores/types').ThemeMode) => void;
4309
4602
  suspendDialog: () => number | undefined;
4310
4603
  suspendedDialogs: import('vue').Ref<{
4311
4604
  dialog: {
@@ -4334,6 +4627,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4334
4627
  elementIds?: string[] | undefined;
4335
4628
  id: number;
4336
4629
  }[]>;
4630
+ themeMode: import('vue').Ref<import('../stores/types').ThemeMode, import('../stores/types').ThemeMode>;
4337
4631
  toast: (text: string, kind?: import('../stores/types').ToastItem["kind"]) => void;
4338
4632
  toasts: import('vue').Ref<{
4339
4633
  id: number;
@@ -4377,9 +4671,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4377
4671
  disabled?: boolean | undefined;
4378
4672
  help?: string | undefined;
4379
4673
  icon?: string | undefined;
4674
+ keepOpen?: boolean | undefined;
4380
4675
  label: string;
4381
4676
  shortcut?: string | undefined;
4382
4677
  type: "item";
4678
+ } | {
4679
+ icon?: string | undefined;
4680
+ items: {
4681
+ action: () => void;
4682
+ checked?: boolean | undefined;
4683
+ commandId?: string | undefined;
4684
+ danger?: boolean | undefined;
4685
+ disabled?: boolean | undefined;
4686
+ help?: string | undefined;
4687
+ icon?: string | undefined;
4688
+ keepOpen?: boolean | undefined;
4689
+ label: string;
4690
+ shortcut?: string | undefined;
4691
+ type: "item";
4692
+ }[];
4693
+ label: string;
4694
+ type: "segment";
4383
4695
  } | {
4384
4696
  icon?: string | undefined;
4385
4697
  items: ({
@@ -4392,9 +4704,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4392
4704
  disabled?: boolean | undefined;
4393
4705
  help?: string | undefined;
4394
4706
  icon?: string | undefined;
4707
+ keepOpen?: boolean | undefined;
4395
4708
  label: string;
4396
4709
  shortcut?: string | undefined;
4397
4710
  type: "item";
4711
+ } | {
4712
+ icon?: string | undefined;
4713
+ items: {
4714
+ action: () => void;
4715
+ checked?: boolean | undefined;
4716
+ commandId?: string | undefined;
4717
+ danger?: boolean | undefined;
4718
+ disabled?: boolean | undefined;
4719
+ help?: string | undefined;
4720
+ icon?: string | undefined;
4721
+ keepOpen?: boolean | undefined;
4722
+ label: string;
4723
+ shortcut?: string | undefined;
4724
+ type: "item";
4725
+ }[];
4726
+ label: string;
4727
+ type: "segment";
4398
4728
  } | /*elided*/ any)[];
4399
4729
  label: string;
4400
4730
  type: "submenu";
@@ -4418,9 +4748,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4418
4748
  disabled?: boolean | undefined;
4419
4749
  help?: string | undefined;
4420
4750
  icon?: string | undefined;
4751
+ keepOpen?: boolean | undefined;
4421
4752
  label: string;
4422
4753
  shortcut?: string | undefined;
4423
4754
  type: "item";
4755
+ } | {
4756
+ icon?: string | undefined;
4757
+ items: {
4758
+ action: () => void;
4759
+ checked?: boolean | undefined;
4760
+ commandId?: string | undefined;
4761
+ danger?: boolean | undefined;
4762
+ disabled?: boolean | undefined;
4763
+ help?: string | undefined;
4764
+ icon?: string | undefined;
4765
+ keepOpen?: boolean | undefined;
4766
+ label: string;
4767
+ shortcut?: string | undefined;
4768
+ type: "item";
4769
+ }[];
4770
+ label: string;
4771
+ type: "segment";
4424
4772
  } | {
4425
4773
  icon?: string | undefined;
4426
4774
  items: ({
@@ -4433,9 +4781,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4433
4781
  disabled?: boolean | undefined;
4434
4782
  help?: string | undefined;
4435
4783
  icon?: string | undefined;
4784
+ keepOpen?: boolean | undefined;
4436
4785
  label: string;
4437
4786
  shortcut?: string | undefined;
4438
4787
  type: "item";
4788
+ } | {
4789
+ icon?: string | undefined;
4790
+ items: {
4791
+ action: () => void;
4792
+ checked?: boolean | undefined;
4793
+ commandId?: string | undefined;
4794
+ danger?: boolean | undefined;
4795
+ disabled?: boolean | undefined;
4796
+ help?: string | undefined;
4797
+ icon?: string | undefined;
4798
+ keepOpen?: boolean | undefined;
4799
+ label: string;
4800
+ shortcut?: string | undefined;
4801
+ type: "item";
4802
+ }[];
4803
+ label: string;
4804
+ type: "segment";
4439
4805
  } | /*elided*/ any)[];
4440
4806
  label: string;
4441
4807
  type: "submenu";
@@ -4541,10 +4907,12 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4541
4907
  tab?: string | undefined;
4542
4908
  values?: Record<string, unknown> | undefined;
4543
4909
  }>;
4910
+ restorePreferences: () => void;
4544
4911
  restoreRevision: import('vue').Ref<number, number>;
4545
4912
  restoreState: (state: import('../stores/types').UiRestoreState) => void;
4546
4913
  resumeDialog: (id: number) => void;
4547
4914
  resumeToast: (id: number) => void;
4915
+ setThemeMode: (mode: import('../stores/types').ThemeMode) => void;
4548
4916
  suspendDialog: () => number | undefined;
4549
4917
  suspendedDialogs: import('vue').Ref<{
4550
4918
  dialog: {
@@ -4573,6 +4941,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4573
4941
  elementIds?: string[] | undefined;
4574
4942
  id: number;
4575
4943
  }[]>;
4944
+ themeMode: import('vue').Ref<import('../stores/types').ThemeMode, import('../stores/types').ThemeMode>;
4576
4945
  toast: (text: string, kind?: import('../stores/types').ToastItem["kind"]) => void;
4577
4946
  toasts: import('vue').Ref<{
4578
4947
  id: number;
@@ -4583,7 +4952,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4583
4952
  kind: "error" | "info" | "success";
4584
4953
  text: string;
4585
4954
  }[]>;
4586
- }, "discardSuspendedDialog" | "clearSuspendedDialogs" | "closeContextMenu" | "closeDialog" | "completeExportDialog" | "dismissToast" | "finishExportDialog" | "minimizeExportDialog" | "openContextMenu" | "openDialog" | "openExportDialog" | "pauseToast" | "restoreState" | "resumeDialog" | "resumeToast" | "suspendDialog" | "toast">>;
4955
+ }, "restorePreferences" | "discardSuspendedDialog" | "clearSuspendedDialogs" | "closeContextMenu" | "closeDialog" | "completeExportDialog" | "dismissToast" | "finishExportDialog" | "minimizeExportDialog" | "openContextMenu" | "openDialog" | "openExportDialog" | "pauseToast" | "restoreState" | "resumeDialog" | "resumeToast" | "setThemeMode" | "suspendDialog" | "toast">>;
4587
4956
  view: import('pinia').Store<"editor-view", Pick<{
4588
4957
  activeTool: import('vue').Ref<string, string>;
4589
4958
  alignPanel: {
@@ -4636,6 +5005,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4636
5005
  y: number;
4637
5006
  };
4638
5007
  } | null>;
5008
+ originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
4639
5009
  pageLayouts: import('vue').ComputedRef<{
4640
5010
  page: import('../..').PageNode;
4641
5011
  x: number;
@@ -4714,6 +5084,8 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4714
5084
  v: number[];
4715
5085
  }>;
4716
5086
  spacePanning: import('vue').Ref<boolean, boolean>;
5087
+ toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
5088
+ toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
4717
5089
  updateAlignPanel: (patch: Partial<import('../stores/types').AlignPanelState>) => void;
4718
5090
  updateSettings: (patch: Partial<{
4719
5091
  clickToCreate: boolean;
@@ -4793,6 +5165,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4793
5165
  y: number;
4794
5166
  };
4795
5167
  } | null>;
5168
+ originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
4796
5169
  pageLayouts: import('vue').ComputedRef<{
4797
5170
  page: import('../..').PageNode;
4798
5171
  x: number;
@@ -4871,6 +5244,8 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4871
5244
  v: number[];
4872
5245
  }>;
4873
5246
  spacePanning: import('vue').Ref<boolean, boolean>;
5247
+ toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
5248
+ toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
4874
5249
  updateAlignPanel: (patch: Partial<import('../stores/types').AlignPanelState>) => void;
4875
5250
  updateSettings: (patch: Partial<{
4876
5251
  clickToCreate: boolean;
@@ -4898,7 +5273,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4898
5273
  width: number;
4899
5274
  }>;
4900
5275
  zoom: import('vue').Ref<number, number>;
4901
- }, "canvasBackground" | "canvasBackgroundPreset" | "contentSizeMm" | "customCanvasColor" | "getLayout" | "pageLayouts" | "pagesBoundsMm" | "pxPerMm">, Pick<{
5276
+ }, "canvasBackground" | "canvasBackgroundPreset" | "contentSizeMm" | "customCanvasColor" | "getLayout" | "originOf" | "pageLayouts" | "pagesBoundsMm" | "pxPerMm" | "toGlobal" | "toLocal">, Pick<{
4902
5277
  activeTool: import('vue').Ref<string, string>;
4903
5278
  alignPanel: {
4904
5279
  spacing: null | number;
@@ -4950,6 +5325,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
4950
5325
  y: number;
4951
5326
  };
4952
5327
  } | null>;
5328
+ originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
4953
5329
  pageLayouts: import('vue').ComputedRef<{
4954
5330
  page: import('../..').PageNode;
4955
5331
  x: number;
@@ -5028,6 +5404,8 @@ export declare function createFacadeAccess(ctx: EditorContext): {
5028
5404
  v: number[];
5029
5405
  }>;
5030
5406
  spacePanning: import('vue').Ref<boolean, boolean>;
5407
+ toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
5408
+ toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
5031
5409
  updateAlignPanel: (patch: Partial<import('../stores/types').AlignPanelState>) => void;
5032
5410
  updateSettings: (patch: Partial<{
5033
5411
  clickToCreate: boolean;
@@ -5472,6 +5850,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
5472
5850
  top: number;
5473
5851
  } | undefined;
5474
5852
  name: string;
5853
+ position?: {
5854
+ x: number;
5855
+ y: number;
5856
+ } | undefined;
5475
5857
  templateId?: string | undefined;
5476
5858
  width: number;
5477
5859
  }[];
@@ -5527,6 +5909,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
5527
5909
  top: number;
5528
5910
  } | undefined;
5529
5911
  name: string;
5912
+ position?: {
5913
+ x: number;
5914
+ y: number;
5915
+ } | undefined;
5530
5916
  templateId?: string | undefined;
5531
5917
  width: number;
5532
5918
  } | undefined;
@@ -5574,6 +5960,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
5574
5960
  top: number;
5575
5961
  } | undefined;
5576
5962
  name: string;
5963
+ position?: {
5964
+ x: number;
5965
+ y: number;
5966
+ } | undefined;
5577
5967
  templateId?: string | undefined;
5578
5968
  width: number;
5579
5969
  };
@@ -5656,6 +6046,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
5656
6046
  top: number;
5657
6047
  } | undefined;
5658
6048
  name: string;
6049
+ position?: {
6050
+ x: number;
6051
+ y: number;
6052
+ } | undefined;
5659
6053
  templateId?: string | undefined;
5660
6054
  width: number;
5661
6055
  }[];
@@ -5711,6 +6105,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
5711
6105
  top: number;
5712
6106
  } | undefined;
5713
6107
  name: string;
6108
+ position?: {
6109
+ x: number;
6110
+ y: number;
6111
+ } | undefined;
5714
6112
  templateId?: string | undefined;
5715
6113
  width: number;
5716
6114
  } | undefined;
@@ -5758,6 +6156,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
5758
6156
  top: number;
5759
6157
  } | undefined;
5760
6158
  name: string;
6159
+ position?: {
6160
+ x: number;
6161
+ y: number;
6162
+ } | undefined;
5761
6163
  templateId?: string | undefined;
5762
6164
  width: number;
5763
6165
  };
@@ -5858,6 +6260,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
5858
6260
  top: number;
5859
6261
  } | undefined;
5860
6262
  name: string;
6263
+ position?: {
6264
+ x: number;
6265
+ y: number;
6266
+ } | undefined;
5861
6267
  templateId?: string | undefined;
5862
6268
  width: number;
5863
6269
  }[];
@@ -5913,6 +6319,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
5913
6319
  top: number;
5914
6320
  } | undefined;
5915
6321
  name: string;
6322
+ position?: {
6323
+ x: number;
6324
+ y: number;
6325
+ } | undefined;
5916
6326
  templateId?: string | undefined;
5917
6327
  width: number;
5918
6328
  } | undefined;
@@ -5960,6 +6370,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
5960
6370
  top: number;
5961
6371
  } | undefined;
5962
6372
  name: string;
6373
+ position?: {
6374
+ x: number;
6375
+ y: number;
6376
+ } | undefined;
5963
6377
  templateId?: string | undefined;
5964
6378
  width: number;
5965
6379
  };
@@ -6042,6 +6456,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
6042
6456
  top: number;
6043
6457
  } | undefined;
6044
6458
  name: string;
6459
+ position?: {
6460
+ x: number;
6461
+ y: number;
6462
+ } | undefined;
6045
6463
  templateId?: string | undefined;
6046
6464
  width: number;
6047
6465
  }[];
@@ -6097,6 +6515,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
6097
6515
  top: number;
6098
6516
  } | undefined;
6099
6517
  name: string;
6518
+ position?: {
6519
+ x: number;
6520
+ y: number;
6521
+ } | undefined;
6100
6522
  templateId?: string | undefined;
6101
6523
  width: number;
6102
6524
  } | undefined;
@@ -6144,6 +6566,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
6144
6566
  top: number;
6145
6567
  } | undefined;
6146
6568
  name: string;
6569
+ position?: {
6570
+ x: number;
6571
+ y: number;
6572
+ } | undefined;
6147
6573
  templateId?: string | undefined;
6148
6574
  width: number;
6149
6575
  };
@@ -6244,7 +6670,11 @@ export declare function createFacadeAccess(ctx: EditorContext): {
6244
6670
  top: number;
6245
6671
  } | undefined;
6246
6672
  name: string;
6247
- templateId?: string | undefined;
6673
+ position?: {
6674
+ x: number;
6675
+ y: number;
6676
+ } | undefined;
6677
+ templateId?: string | undefined;
6248
6678
  width: number;
6249
6679
  }[];
6250
6680
  parserVersion?: string | undefined;
@@ -6299,6 +6729,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
6299
6729
  top: number;
6300
6730
  } | undefined;
6301
6731
  name: string;
6732
+ position?: {
6733
+ x: number;
6734
+ y: number;
6735
+ } | undefined;
6302
6736
  templateId?: string | undefined;
6303
6737
  width: number;
6304
6738
  } | undefined;
@@ -6346,6 +6780,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
6346
6780
  top: number;
6347
6781
  } | undefined;
6348
6782
  name: string;
6783
+ position?: {
6784
+ x: number;
6785
+ y: number;
6786
+ } | undefined;
6349
6787
  templateId?: string | undefined;
6350
6788
  width: number;
6351
6789
  };
@@ -6428,6 +6866,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
6428
6866
  top: number;
6429
6867
  } | undefined;
6430
6868
  name: string;
6869
+ position?: {
6870
+ x: number;
6871
+ y: number;
6872
+ } | undefined;
6431
6873
  templateId?: string | undefined;
6432
6874
  width: number;
6433
6875
  }[];
@@ -6483,6 +6925,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
6483
6925
  top: number;
6484
6926
  } | undefined;
6485
6927
  name: string;
6928
+ position?: {
6929
+ x: number;
6930
+ y: number;
6931
+ } | undefined;
6486
6932
  templateId?: string | undefined;
6487
6933
  width: number;
6488
6934
  } | undefined;
@@ -6530,6 +6976,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
6530
6976
  top: number;
6531
6977
  } | undefined;
6532
6978
  name: string;
6979
+ position?: {
6980
+ x: number;
6981
+ y: number;
6982
+ } | undefined;
6533
6983
  templateId?: string | undefined;
6534
6984
  width: number;
6535
6985
  };
@@ -7314,9 +7764,17 @@ export declare function createFacadeAccess(ctx: EditorContext): {
7314
7764
  top: number;
7315
7765
  } | undefined;
7316
7766
  name: string;
7767
+ position?: {
7768
+ x: number;
7769
+ y: number;
7770
+ } | undefined;
7317
7771
  templateId?: string | undefined;
7318
7772
  width: number;
7319
7773
  }[]>;
7774
+ move: (pageId: string, position: null | {
7775
+ x: number;
7776
+ y: number;
7777
+ }) => void;
7320
7778
  remove: (pageId: string) => void;
7321
7779
  setActive: (id: string) => void;
7322
7780
  update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
@@ -7365,9 +7823,17 @@ export declare function createFacadeAccess(ctx: EditorContext): {
7365
7823
  top: number;
7366
7824
  } | undefined;
7367
7825
  name: string;
7826
+ position?: {
7827
+ x: number;
7828
+ y: number;
7829
+ } | undefined;
7368
7830
  templateId?: string | undefined;
7369
7831
  width: number;
7370
7832
  }[]>;
7833
+ move: (pageId: string, position: null | {
7834
+ x: number;
7835
+ y: number;
7836
+ }) => void;
7371
7837
  remove: (pageId: string) => void;
7372
7838
  setActive: (id: string) => void;
7373
7839
  update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
@@ -7416,13 +7882,21 @@ export declare function createFacadeAccess(ctx: EditorContext): {
7416
7882
  top: number;
7417
7883
  } | undefined;
7418
7884
  name: string;
7885
+ position?: {
7886
+ x: number;
7887
+ y: number;
7888
+ } | undefined;
7419
7889
  templateId?: string | undefined;
7420
7890
  width: number;
7421
7891
  }[]>;
7892
+ move: (pageId: string, position: null | {
7893
+ x: number;
7894
+ y: number;
7895
+ }) => void;
7422
7896
  remove: (pageId: string) => void;
7423
7897
  setActive: (id: string) => void;
7424
7898
  update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
7425
- }, "copy" | "add" | "remove" | "update" | "setActive">>;
7899
+ }, "copy" | "add" | "remove" | "update" | "move" | "setActive">>;
7426
7900
  panel: import('pinia').Store<"editor-panel", Pick<{
7427
7901
  activate: (groupId: string, panelId: string, popout?: boolean) => void;
7428
7902
  beginDrag: (state: Omit<import('../stores/types').PanelDragState, "target">, bounds?: Pick<import('../stores/types').PanelColumn, "collapsed" | "height" | "width" | "x" | "y">) => void;
@@ -8320,6 +8794,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8320
8794
  top: number;
8321
8795
  } | undefined;
8322
8796
  name: string;
8797
+ position?: {
8798
+ x: number;
8799
+ y: number;
8800
+ } | undefined;
8323
8801
  templateId?: string | undefined;
8324
8802
  width: number;
8325
8803
  } | undefined;
@@ -8367,6 +8845,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8367
8845
  top: number;
8368
8846
  } | undefined;
8369
8847
  name: string;
8848
+ position?: {
8849
+ x: number;
8850
+ y: number;
8851
+ } | undefined;
8370
8852
  templateId?: string | undefined;
8371
8853
  width: number;
8372
8854
  };
@@ -8422,6 +8904,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8422
8904
  top: number;
8423
8905
  } | undefined;
8424
8906
  name: string;
8907
+ position?: {
8908
+ x: number;
8909
+ y: number;
8910
+ } | undefined;
8425
8911
  templateId?: string | undefined;
8426
8912
  width: number;
8427
8913
  } | undefined;
@@ -8469,6 +8955,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8469
8955
  top: number;
8470
8956
  } | undefined;
8471
8957
  name: string;
8958
+ position?: {
8959
+ x: number;
8960
+ y: number;
8961
+ } | undefined;
8472
8962
  templateId?: string | undefined;
8473
8963
  width: number;
8474
8964
  };
@@ -8481,7 +8971,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8481
8971
  rename: (id: string, name: string) => void;
8482
8972
  resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
8483
8973
  syncPageDimensions: (pageIds: string[]) => void;
8484
- update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>) => void;
8974
+ update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('../stores/types').MutationOptions) => void;
8485
8975
  updatePage: (pageId: string, patch: import('../stores/types').EditingPagePatch) => void;
8486
8976
  usageCount: import('vue').ComputedRef<(id: string) => number>;
8487
8977
  }, "editingId">, Pick<{
@@ -8532,6 +9022,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8532
9022
  top: number;
8533
9023
  } | undefined;
8534
9024
  name: string;
9025
+ position?: {
9026
+ x: number;
9027
+ y: number;
9028
+ } | undefined;
8535
9029
  templateId?: string | undefined;
8536
9030
  width: number;
8537
9031
  } | undefined;
@@ -8579,6 +9073,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8579
9073
  top: number;
8580
9074
  } | undefined;
8581
9075
  name: string;
9076
+ position?: {
9077
+ x: number;
9078
+ y: number;
9079
+ } | undefined;
8582
9080
  templateId?: string | undefined;
8583
9081
  width: number;
8584
9082
  };
@@ -8634,6 +9132,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8634
9132
  top: number;
8635
9133
  } | undefined;
8636
9134
  name: string;
9135
+ position?: {
9136
+ x: number;
9137
+ y: number;
9138
+ } | undefined;
8637
9139
  templateId?: string | undefined;
8638
9140
  width: number;
8639
9141
  } | undefined;
@@ -8681,6 +9183,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8681
9183
  top: number;
8682
9184
  } | undefined;
8683
9185
  name: string;
9186
+ position?: {
9187
+ x: number;
9188
+ y: number;
9189
+ } | undefined;
8684
9190
  templateId?: string | undefined;
8685
9191
  width: number;
8686
9192
  };
@@ -8693,7 +9199,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8693
9199
  rename: (id: string, name: string) => void;
8694
9200
  resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
8695
9201
  syncPageDimensions: (pageIds: string[]) => void;
8696
- update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>) => void;
9202
+ update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('../stores/types').MutationOptions) => void;
8697
9203
  updatePage: (pageId: string, patch: import('../stores/types').EditingPagePatch) => void;
8698
9204
  usageCount: import('vue').ComputedRef<(id: string) => number>;
8699
9205
  }, "usageCount" | "get" | "list" | "getByPage" | "editingPage" | "editingPages" | "editingTemplate" | "effectiveBackground" | "effectiveTemplate" | "isContainer" | "resolveFor">, Pick<{
@@ -8744,6 +9250,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8744
9250
  top: number;
8745
9251
  } | undefined;
8746
9252
  name: string;
9253
+ position?: {
9254
+ x: number;
9255
+ y: number;
9256
+ } | undefined;
8747
9257
  templateId?: string | undefined;
8748
9258
  width: number;
8749
9259
  } | undefined;
@@ -8791,6 +9301,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8791
9301
  top: number;
8792
9302
  } | undefined;
8793
9303
  name: string;
9304
+ position?: {
9305
+ x: number;
9306
+ y: number;
9307
+ } | undefined;
8794
9308
  templateId?: string | undefined;
8795
9309
  width: number;
8796
9310
  };
@@ -8846,6 +9360,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8846
9360
  top: number;
8847
9361
  } | undefined;
8848
9362
  name: string;
9363
+ position?: {
9364
+ x: number;
9365
+ y: number;
9366
+ } | undefined;
8849
9367
  templateId?: string | undefined;
8850
9368
  width: number;
8851
9369
  } | undefined;
@@ -8893,6 +9411,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8893
9411
  top: number;
8894
9412
  } | undefined;
8895
9413
  name: string;
9414
+ position?: {
9415
+ x: number;
9416
+ y: number;
9417
+ } | undefined;
8896
9418
  templateId?: string | undefined;
8897
9419
  width: number;
8898
9420
  };
@@ -8905,7 +9427,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
8905
9427
  rename: (id: string, name: string) => void;
8906
9428
  resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
8907
9429
  syncPageDimensions: (pageIds: string[]) => void;
8908
- update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>) => void;
9430
+ update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('../stores/types').MutationOptions) => void;
8909
9431
  updatePage: (pageId: string, patch: import('../stores/types').EditingPagePatch) => void;
8910
9432
  usageCount: import('vue').ComputedRef<(id: string) => number>;
8911
9433
  }, "create" | "rename" | "remove" | "update" | "updatePage" | "activatePage" | "applyToPages" | "createFromPage" | "detach" | "enterEdit" | "exitEdit" | "import" | "syncPageDimensions">>;
@@ -9009,9 +9531,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9009
9531
  disabled?: boolean | undefined;
9010
9532
  help?: string | undefined;
9011
9533
  icon?: string | undefined;
9534
+ keepOpen?: boolean | undefined;
9012
9535
  label: string;
9013
9536
  shortcut?: string | undefined;
9014
9537
  type: "item";
9538
+ } | {
9539
+ icon?: string | undefined;
9540
+ items: {
9541
+ action: () => void;
9542
+ checked?: boolean | undefined;
9543
+ commandId?: string | undefined;
9544
+ danger?: boolean | undefined;
9545
+ disabled?: boolean | undefined;
9546
+ help?: string | undefined;
9547
+ icon?: string | undefined;
9548
+ keepOpen?: boolean | undefined;
9549
+ label: string;
9550
+ shortcut?: string | undefined;
9551
+ type: "item";
9552
+ }[];
9553
+ label: string;
9554
+ type: "segment";
9015
9555
  } | {
9016
9556
  icon?: string | undefined;
9017
9557
  items: ({
@@ -9024,9 +9564,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9024
9564
  disabled?: boolean | undefined;
9025
9565
  help?: string | undefined;
9026
9566
  icon?: string | undefined;
9567
+ keepOpen?: boolean | undefined;
9027
9568
  label: string;
9028
9569
  shortcut?: string | undefined;
9029
9570
  type: "item";
9571
+ } | {
9572
+ icon?: string | undefined;
9573
+ items: {
9574
+ action: () => void;
9575
+ checked?: boolean | undefined;
9576
+ commandId?: string | undefined;
9577
+ danger?: boolean | undefined;
9578
+ disabled?: boolean | undefined;
9579
+ help?: string | undefined;
9580
+ icon?: string | undefined;
9581
+ keepOpen?: boolean | undefined;
9582
+ label: string;
9583
+ shortcut?: string | undefined;
9584
+ type: "item";
9585
+ }[];
9586
+ label: string;
9587
+ type: "segment";
9030
9588
  } | /*elided*/ any)[];
9031
9589
  label: string;
9032
9590
  type: "submenu";
@@ -9050,9 +9608,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9050
9608
  disabled?: boolean | undefined;
9051
9609
  help?: string | undefined;
9052
9610
  icon?: string | undefined;
9611
+ keepOpen?: boolean | undefined;
9053
9612
  label: string;
9054
9613
  shortcut?: string | undefined;
9055
9614
  type: "item";
9615
+ } | {
9616
+ icon?: string | undefined;
9617
+ items: {
9618
+ action: () => void;
9619
+ checked?: boolean | undefined;
9620
+ commandId?: string | undefined;
9621
+ danger?: boolean | undefined;
9622
+ disabled?: boolean | undefined;
9623
+ help?: string | undefined;
9624
+ icon?: string | undefined;
9625
+ keepOpen?: boolean | undefined;
9626
+ label: string;
9627
+ shortcut?: string | undefined;
9628
+ type: "item";
9629
+ }[];
9630
+ label: string;
9631
+ type: "segment";
9056
9632
  } | {
9057
9633
  icon?: string | undefined;
9058
9634
  items: ({
@@ -9065,9 +9641,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9065
9641
  disabled?: boolean | undefined;
9066
9642
  help?: string | undefined;
9067
9643
  icon?: string | undefined;
9644
+ keepOpen?: boolean | undefined;
9068
9645
  label: string;
9069
9646
  shortcut?: string | undefined;
9070
9647
  type: "item";
9648
+ } | {
9649
+ icon?: string | undefined;
9650
+ items: {
9651
+ action: () => void;
9652
+ checked?: boolean | undefined;
9653
+ commandId?: string | undefined;
9654
+ danger?: boolean | undefined;
9655
+ disabled?: boolean | undefined;
9656
+ help?: string | undefined;
9657
+ icon?: string | undefined;
9658
+ keepOpen?: boolean | undefined;
9659
+ label: string;
9660
+ shortcut?: string | undefined;
9661
+ type: "item";
9662
+ }[];
9663
+ label: string;
9664
+ type: "segment";
9071
9665
  } | /*elided*/ any)[];
9072
9666
  label: string;
9073
9667
  type: "submenu";
@@ -9173,10 +9767,12 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9173
9767
  tab?: string | undefined;
9174
9768
  values?: Record<string, unknown> | undefined;
9175
9769
  }>;
9770
+ restorePreferences: () => void;
9176
9771
  restoreRevision: import('vue').Ref<number, number>;
9177
9772
  restoreState: (state: import('../stores/types').UiRestoreState) => void;
9178
9773
  resumeDialog: (id: number) => void;
9179
9774
  resumeToast: (id: number) => void;
9775
+ setThemeMode: (mode: import('../stores/types').ThemeMode) => void;
9180
9776
  suspendDialog: () => number | undefined;
9181
9777
  suspendedDialogs: import('vue').Ref<{
9182
9778
  dialog: {
@@ -9205,6 +9801,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9205
9801
  elementIds?: string[] | undefined;
9206
9802
  id: number;
9207
9803
  }[]>;
9804
+ themeMode: import('vue').Ref<import('../stores/types').ThemeMode, import('../stores/types').ThemeMode>;
9208
9805
  toast: (text: string, kind?: import('../stores/types').ToastItem["kind"]) => void;
9209
9806
  toasts: import('vue').Ref<{
9210
9807
  id: number;
@@ -9215,7 +9812,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9215
9812
  kind: "error" | "info" | "success";
9216
9813
  text: string;
9217
9814
  }[]>;
9218
- }, "contextMenu" | "dialogSessionId" | "activeDialog" | "dialogElementId" | "exportDialog" | "restoredState" | "restoreRevision" | "suspendedDialogs" | "toasts">, Pick<{
9815
+ }, "contextMenu" | "dialogSessionId" | "activeDialog" | "dialogElementId" | "exportDialog" | "restoredState" | "restoreRevision" | "suspendedDialogs" | "themeMode" | "toasts">, Pick<{
9219
9816
  activeDialog: import('vue').Ref<{
9220
9817
  applyTemplateTemplateId?: string | undefined;
9221
9818
  groupId?: string | undefined;
@@ -9248,9 +9845,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9248
9845
  disabled?: boolean | undefined;
9249
9846
  help?: string | undefined;
9250
9847
  icon?: string | undefined;
9848
+ keepOpen?: boolean | undefined;
9251
9849
  label: string;
9252
9850
  shortcut?: string | undefined;
9253
9851
  type: "item";
9852
+ } | {
9853
+ icon?: string | undefined;
9854
+ items: {
9855
+ action: () => void;
9856
+ checked?: boolean | undefined;
9857
+ commandId?: string | undefined;
9858
+ danger?: boolean | undefined;
9859
+ disabled?: boolean | undefined;
9860
+ help?: string | undefined;
9861
+ icon?: string | undefined;
9862
+ keepOpen?: boolean | undefined;
9863
+ label: string;
9864
+ shortcut?: string | undefined;
9865
+ type: "item";
9866
+ }[];
9867
+ label: string;
9868
+ type: "segment";
9254
9869
  } | {
9255
9870
  icon?: string | undefined;
9256
9871
  items: ({
@@ -9263,9 +9878,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9263
9878
  disabled?: boolean | undefined;
9264
9879
  help?: string | undefined;
9265
9880
  icon?: string | undefined;
9881
+ keepOpen?: boolean | undefined;
9266
9882
  label: string;
9267
9883
  shortcut?: string | undefined;
9268
9884
  type: "item";
9885
+ } | {
9886
+ icon?: string | undefined;
9887
+ items: {
9888
+ action: () => void;
9889
+ checked?: boolean | undefined;
9890
+ commandId?: string | undefined;
9891
+ danger?: boolean | undefined;
9892
+ disabled?: boolean | undefined;
9893
+ help?: string | undefined;
9894
+ icon?: string | undefined;
9895
+ keepOpen?: boolean | undefined;
9896
+ label: string;
9897
+ shortcut?: string | undefined;
9898
+ type: "item";
9899
+ }[];
9900
+ label: string;
9901
+ type: "segment";
9269
9902
  } | /*elided*/ any)[];
9270
9903
  label: string;
9271
9904
  type: "submenu";
@@ -9289,9 +9922,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9289
9922
  disabled?: boolean | undefined;
9290
9923
  help?: string | undefined;
9291
9924
  icon?: string | undefined;
9925
+ keepOpen?: boolean | undefined;
9292
9926
  label: string;
9293
9927
  shortcut?: string | undefined;
9294
9928
  type: "item";
9929
+ } | {
9930
+ icon?: string | undefined;
9931
+ items: {
9932
+ action: () => void;
9933
+ checked?: boolean | undefined;
9934
+ commandId?: string | undefined;
9935
+ danger?: boolean | undefined;
9936
+ disabled?: boolean | undefined;
9937
+ help?: string | undefined;
9938
+ icon?: string | undefined;
9939
+ keepOpen?: boolean | undefined;
9940
+ label: string;
9941
+ shortcut?: string | undefined;
9942
+ type: "item";
9943
+ }[];
9944
+ label: string;
9945
+ type: "segment";
9295
9946
  } | {
9296
9947
  icon?: string | undefined;
9297
9948
  items: ({
@@ -9304,9 +9955,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9304
9955
  disabled?: boolean | undefined;
9305
9956
  help?: string | undefined;
9306
9957
  icon?: string | undefined;
9958
+ keepOpen?: boolean | undefined;
9307
9959
  label: string;
9308
9960
  shortcut?: string | undefined;
9309
9961
  type: "item";
9962
+ } | {
9963
+ icon?: string | undefined;
9964
+ items: {
9965
+ action: () => void;
9966
+ checked?: boolean | undefined;
9967
+ commandId?: string | undefined;
9968
+ danger?: boolean | undefined;
9969
+ disabled?: boolean | undefined;
9970
+ help?: string | undefined;
9971
+ icon?: string | undefined;
9972
+ keepOpen?: boolean | undefined;
9973
+ label: string;
9974
+ shortcut?: string | undefined;
9975
+ type: "item";
9976
+ }[];
9977
+ label: string;
9978
+ type: "segment";
9310
9979
  } | /*elided*/ any)[];
9311
9980
  label: string;
9312
9981
  type: "submenu";
@@ -9412,10 +10081,12 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9412
10081
  tab?: string | undefined;
9413
10082
  values?: Record<string, unknown> | undefined;
9414
10083
  }>;
10084
+ restorePreferences: () => void;
9415
10085
  restoreRevision: import('vue').Ref<number, number>;
9416
10086
  restoreState: (state: import('../stores/types').UiRestoreState) => void;
9417
10087
  resumeDialog: (id: number) => void;
9418
10088
  resumeToast: (id: number) => void;
10089
+ setThemeMode: (mode: import('../stores/types').ThemeMode) => void;
9419
10090
  suspendDialog: () => number | undefined;
9420
10091
  suspendedDialogs: import('vue').Ref<{
9421
10092
  dialog: {
@@ -9444,6 +10115,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9444
10115
  elementIds?: string[] | undefined;
9445
10116
  id: number;
9446
10117
  }[]>;
10118
+ themeMode: import('vue').Ref<import('../stores/types').ThemeMode, import('../stores/types').ThemeMode>;
9447
10119
  toast: (text: string, kind?: import('../stores/types').ToastItem["kind"]) => void;
9448
10120
  toasts: import('vue').Ref<{
9449
10121
  id: number;
@@ -9487,9 +10159,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9487
10159
  disabled?: boolean | undefined;
9488
10160
  help?: string | undefined;
9489
10161
  icon?: string | undefined;
10162
+ keepOpen?: boolean | undefined;
9490
10163
  label: string;
9491
10164
  shortcut?: string | undefined;
9492
10165
  type: "item";
10166
+ } | {
10167
+ icon?: string | undefined;
10168
+ items: {
10169
+ action: () => void;
10170
+ checked?: boolean | undefined;
10171
+ commandId?: string | undefined;
10172
+ danger?: boolean | undefined;
10173
+ disabled?: boolean | undefined;
10174
+ help?: string | undefined;
10175
+ icon?: string | undefined;
10176
+ keepOpen?: boolean | undefined;
10177
+ label: string;
10178
+ shortcut?: string | undefined;
10179
+ type: "item";
10180
+ }[];
10181
+ label: string;
10182
+ type: "segment";
9493
10183
  } | {
9494
10184
  icon?: string | undefined;
9495
10185
  items: ({
@@ -9502,9 +10192,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9502
10192
  disabled?: boolean | undefined;
9503
10193
  help?: string | undefined;
9504
10194
  icon?: string | undefined;
10195
+ keepOpen?: boolean | undefined;
9505
10196
  label: string;
9506
10197
  shortcut?: string | undefined;
9507
10198
  type: "item";
10199
+ } | {
10200
+ icon?: string | undefined;
10201
+ items: {
10202
+ action: () => void;
10203
+ checked?: boolean | undefined;
10204
+ commandId?: string | undefined;
10205
+ danger?: boolean | undefined;
10206
+ disabled?: boolean | undefined;
10207
+ help?: string | undefined;
10208
+ icon?: string | undefined;
10209
+ keepOpen?: boolean | undefined;
10210
+ label: string;
10211
+ shortcut?: string | undefined;
10212
+ type: "item";
10213
+ }[];
10214
+ label: string;
10215
+ type: "segment";
9508
10216
  } | /*elided*/ any)[];
9509
10217
  label: string;
9510
10218
  type: "submenu";
@@ -9528,9 +10236,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9528
10236
  disabled?: boolean | undefined;
9529
10237
  help?: string | undefined;
9530
10238
  icon?: string | undefined;
10239
+ keepOpen?: boolean | undefined;
9531
10240
  label: string;
9532
10241
  shortcut?: string | undefined;
9533
10242
  type: "item";
10243
+ } | {
10244
+ icon?: string | undefined;
10245
+ items: {
10246
+ action: () => void;
10247
+ checked?: boolean | undefined;
10248
+ commandId?: string | undefined;
10249
+ danger?: boolean | undefined;
10250
+ disabled?: boolean | undefined;
10251
+ help?: string | undefined;
10252
+ icon?: string | undefined;
10253
+ keepOpen?: boolean | undefined;
10254
+ label: string;
10255
+ shortcut?: string | undefined;
10256
+ type: "item";
10257
+ }[];
10258
+ label: string;
10259
+ type: "segment";
9534
10260
  } | {
9535
10261
  icon?: string | undefined;
9536
10262
  items: ({
@@ -9543,9 +10269,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9543
10269
  disabled?: boolean | undefined;
9544
10270
  help?: string | undefined;
9545
10271
  icon?: string | undefined;
10272
+ keepOpen?: boolean | undefined;
9546
10273
  label: string;
9547
10274
  shortcut?: string | undefined;
9548
10275
  type: "item";
10276
+ } | {
10277
+ icon?: string | undefined;
10278
+ items: {
10279
+ action: () => void;
10280
+ checked?: boolean | undefined;
10281
+ commandId?: string | undefined;
10282
+ danger?: boolean | undefined;
10283
+ disabled?: boolean | undefined;
10284
+ help?: string | undefined;
10285
+ icon?: string | undefined;
10286
+ keepOpen?: boolean | undefined;
10287
+ label: string;
10288
+ shortcut?: string | undefined;
10289
+ type: "item";
10290
+ }[];
10291
+ label: string;
10292
+ type: "segment";
9549
10293
  } | /*elided*/ any)[];
9550
10294
  label: string;
9551
10295
  type: "submenu";
@@ -9651,10 +10395,12 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9651
10395
  tab?: string | undefined;
9652
10396
  values?: Record<string, unknown> | undefined;
9653
10397
  }>;
10398
+ restorePreferences: () => void;
9654
10399
  restoreRevision: import('vue').Ref<number, number>;
9655
10400
  restoreState: (state: import('../stores/types').UiRestoreState) => void;
9656
10401
  resumeDialog: (id: number) => void;
9657
10402
  resumeToast: (id: number) => void;
10403
+ setThemeMode: (mode: import('../stores/types').ThemeMode) => void;
9658
10404
  suspendDialog: () => number | undefined;
9659
10405
  suspendedDialogs: import('vue').Ref<{
9660
10406
  dialog: {
@@ -9683,6 +10429,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9683
10429
  elementIds?: string[] | undefined;
9684
10430
  id: number;
9685
10431
  }[]>;
10432
+ themeMode: import('vue').Ref<import('../stores/types').ThemeMode, import('../stores/types').ThemeMode>;
9686
10433
  toast: (text: string, kind?: import('../stores/types').ToastItem["kind"]) => void;
9687
10434
  toasts: import('vue').Ref<{
9688
10435
  id: number;
@@ -9693,7 +10440,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9693
10440
  kind: "error" | "info" | "success";
9694
10441
  text: string;
9695
10442
  }[]>;
9696
- }, "discardSuspendedDialog" | "clearSuspendedDialogs" | "closeContextMenu" | "closeDialog" | "completeExportDialog" | "dismissToast" | "finishExportDialog" | "minimizeExportDialog" | "openContextMenu" | "openDialog" | "openExportDialog" | "pauseToast" | "restoreState" | "resumeDialog" | "resumeToast" | "suspendDialog" | "toast">>;
10443
+ }, "restorePreferences" | "discardSuspendedDialog" | "clearSuspendedDialogs" | "closeContextMenu" | "closeDialog" | "completeExportDialog" | "dismissToast" | "finishExportDialog" | "minimizeExportDialog" | "openContextMenu" | "openDialog" | "openExportDialog" | "pauseToast" | "restoreState" | "resumeDialog" | "resumeToast" | "setThemeMode" | "suspendDialog" | "toast">>;
9697
10444
  view: import('pinia').Store<"editor-view", Pick<{
9698
10445
  activeTool: import('vue').Ref<string, string>;
9699
10446
  alignPanel: {
@@ -9746,6 +10493,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9746
10493
  y: number;
9747
10494
  };
9748
10495
  } | null>;
10496
+ originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
9749
10497
  pageLayouts: import('vue').ComputedRef<{
9750
10498
  page: import('../..').PageNode;
9751
10499
  x: number;
@@ -9824,6 +10572,8 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9824
10572
  v: number[];
9825
10573
  }>;
9826
10574
  spacePanning: import('vue').Ref<boolean, boolean>;
10575
+ toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
10576
+ toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
9827
10577
  updateAlignPanel: (patch: Partial<import('../stores/types').AlignPanelState>) => void;
9828
10578
  updateSettings: (patch: Partial<{
9829
10579
  clickToCreate: boolean;
@@ -9903,6 +10653,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9903
10653
  y: number;
9904
10654
  };
9905
10655
  } | null>;
10656
+ originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
9906
10657
  pageLayouts: import('vue').ComputedRef<{
9907
10658
  page: import('../..').PageNode;
9908
10659
  x: number;
@@ -9981,6 +10732,8 @@ export declare function createFacadeAccess(ctx: EditorContext): {
9981
10732
  v: number[];
9982
10733
  }>;
9983
10734
  spacePanning: import('vue').Ref<boolean, boolean>;
10735
+ toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
10736
+ toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
9984
10737
  updateAlignPanel: (patch: Partial<import('../stores/types').AlignPanelState>) => void;
9985
10738
  updateSettings: (patch: Partial<{
9986
10739
  clickToCreate: boolean;
@@ -10008,7 +10761,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
10008
10761
  width: number;
10009
10762
  }>;
10010
10763
  zoom: import('vue').Ref<number, number>;
10011
- }, "canvasBackground" | "canvasBackgroundPreset" | "contentSizeMm" | "customCanvasColor" | "getLayout" | "pageLayouts" | "pagesBoundsMm" | "pxPerMm">, Pick<{
10764
+ }, "canvasBackground" | "canvasBackgroundPreset" | "contentSizeMm" | "customCanvasColor" | "getLayout" | "originOf" | "pageLayouts" | "pagesBoundsMm" | "pxPerMm" | "toGlobal" | "toLocal">, Pick<{
10012
10765
  activeTool: import('vue').Ref<string, string>;
10013
10766
  alignPanel: {
10014
10767
  spacing: null | number;
@@ -10060,6 +10813,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
10060
10813
  y: number;
10061
10814
  };
10062
10815
  } | null>;
10816
+ originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
10063
10817
  pageLayouts: import('vue').ComputedRef<{
10064
10818
  page: import('../..').PageNode;
10065
10819
  x: number;
@@ -10138,6 +10892,8 @@ export declare function createFacadeAccess(ctx: EditorContext): {
10138
10892
  v: number[];
10139
10893
  }>;
10140
10894
  spacePanning: import('vue').Ref<boolean, boolean>;
10895
+ toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
10896
+ toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
10141
10897
  updateAlignPanel: (patch: Partial<import('../stores/types').AlignPanelState>) => void;
10142
10898
  updateSettings: (patch: Partial<{
10143
10899
  clickToCreate: boolean;
@@ -10582,6 +11338,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
10582
11338
  top: number;
10583
11339
  } | undefined;
10584
11340
  name: string;
11341
+ position?: {
11342
+ x: number;
11343
+ y: number;
11344
+ } | undefined;
10585
11345
  templateId?: string | undefined;
10586
11346
  width: number;
10587
11347
  }[];
@@ -10637,6 +11397,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
10637
11397
  top: number;
10638
11398
  } | undefined;
10639
11399
  name: string;
11400
+ position?: {
11401
+ x: number;
11402
+ y: number;
11403
+ } | undefined;
10640
11404
  templateId?: string | undefined;
10641
11405
  width: number;
10642
11406
  } | undefined;
@@ -10684,6 +11448,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
10684
11448
  top: number;
10685
11449
  } | undefined;
10686
11450
  name: string;
11451
+ position?: {
11452
+ x: number;
11453
+ y: number;
11454
+ } | undefined;
10687
11455
  templateId?: string | undefined;
10688
11456
  width: number;
10689
11457
  };
@@ -10766,6 +11534,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
10766
11534
  top: number;
10767
11535
  } | undefined;
10768
11536
  name: string;
11537
+ position?: {
11538
+ x: number;
11539
+ y: number;
11540
+ } | undefined;
10769
11541
  templateId?: string | undefined;
10770
11542
  width: number;
10771
11543
  }[];
@@ -10821,6 +11593,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
10821
11593
  top: number;
10822
11594
  } | undefined;
10823
11595
  name: string;
11596
+ position?: {
11597
+ x: number;
11598
+ y: number;
11599
+ } | undefined;
10824
11600
  templateId?: string | undefined;
10825
11601
  width: number;
10826
11602
  } | undefined;
@@ -10868,6 +11644,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
10868
11644
  top: number;
10869
11645
  } | undefined;
10870
11646
  name: string;
11647
+ position?: {
11648
+ x: number;
11649
+ y: number;
11650
+ } | undefined;
10871
11651
  templateId?: string | undefined;
10872
11652
  width: number;
10873
11653
  };
@@ -10968,6 +11748,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
10968
11748
  top: number;
10969
11749
  } | undefined;
10970
11750
  name: string;
11751
+ position?: {
11752
+ x: number;
11753
+ y: number;
11754
+ } | undefined;
10971
11755
  templateId?: string | undefined;
10972
11756
  width: number;
10973
11757
  }[];
@@ -11023,6 +11807,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
11023
11807
  top: number;
11024
11808
  } | undefined;
11025
11809
  name: string;
11810
+ position?: {
11811
+ x: number;
11812
+ y: number;
11813
+ } | undefined;
11026
11814
  templateId?: string | undefined;
11027
11815
  width: number;
11028
11816
  } | undefined;
@@ -11070,6 +11858,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
11070
11858
  top: number;
11071
11859
  } | undefined;
11072
11860
  name: string;
11861
+ position?: {
11862
+ x: number;
11863
+ y: number;
11864
+ } | undefined;
11073
11865
  templateId?: string | undefined;
11074
11866
  width: number;
11075
11867
  };
@@ -11152,6 +11944,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
11152
11944
  top: number;
11153
11945
  } | undefined;
11154
11946
  name: string;
11947
+ position?: {
11948
+ x: number;
11949
+ y: number;
11950
+ } | undefined;
11155
11951
  templateId?: string | undefined;
11156
11952
  width: number;
11157
11953
  }[];
@@ -11207,6 +12003,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
11207
12003
  top: number;
11208
12004
  } | undefined;
11209
12005
  name: string;
12006
+ position?: {
12007
+ x: number;
12008
+ y: number;
12009
+ } | undefined;
11210
12010
  templateId?: string | undefined;
11211
12011
  width: number;
11212
12012
  } | undefined;
@@ -11254,6 +12054,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
11254
12054
  top: number;
11255
12055
  } | undefined;
11256
12056
  name: string;
12057
+ position?: {
12058
+ x: number;
12059
+ y: number;
12060
+ } | undefined;
11257
12061
  templateId?: string | undefined;
11258
12062
  width: number;
11259
12063
  };
@@ -11354,6 +12158,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
11354
12158
  top: number;
11355
12159
  } | undefined;
11356
12160
  name: string;
12161
+ position?: {
12162
+ x: number;
12163
+ y: number;
12164
+ } | undefined;
11357
12165
  templateId?: string | undefined;
11358
12166
  width: number;
11359
12167
  }[];
@@ -11409,6 +12217,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
11409
12217
  top: number;
11410
12218
  } | undefined;
11411
12219
  name: string;
12220
+ position?: {
12221
+ x: number;
12222
+ y: number;
12223
+ } | undefined;
11412
12224
  templateId?: string | undefined;
11413
12225
  width: number;
11414
12226
  } | undefined;
@@ -11456,6 +12268,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
11456
12268
  top: number;
11457
12269
  } | undefined;
11458
12270
  name: string;
12271
+ position?: {
12272
+ x: number;
12273
+ y: number;
12274
+ } | undefined;
11459
12275
  templateId?: string | undefined;
11460
12276
  width: number;
11461
12277
  };
@@ -11538,6 +12354,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
11538
12354
  top: number;
11539
12355
  } | undefined;
11540
12356
  name: string;
12357
+ position?: {
12358
+ x: number;
12359
+ y: number;
12360
+ } | undefined;
11541
12361
  templateId?: string | undefined;
11542
12362
  width: number;
11543
12363
  }[];
@@ -11593,6 +12413,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
11593
12413
  top: number;
11594
12414
  } | undefined;
11595
12415
  name: string;
12416
+ position?: {
12417
+ x: number;
12418
+ y: number;
12419
+ } | undefined;
11596
12420
  templateId?: string | undefined;
11597
12421
  width: number;
11598
12422
  } | undefined;
@@ -11640,6 +12464,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
11640
12464
  top: number;
11641
12465
  } | undefined;
11642
12466
  name: string;
12467
+ position?: {
12468
+ x: number;
12469
+ y: number;
12470
+ } | undefined;
11643
12471
  templateId?: string | undefined;
11644
12472
  width: number;
11645
12473
  };
@@ -12424,9 +13252,17 @@ export declare function createFacadeAccess(ctx: EditorContext): {
12424
13252
  top: number;
12425
13253
  } | undefined;
12426
13254
  name: string;
13255
+ position?: {
13256
+ x: number;
13257
+ y: number;
13258
+ } | undefined;
12427
13259
  templateId?: string | undefined;
12428
13260
  width: number;
12429
13261
  }[]>;
13262
+ move: (pageId: string, position: null | {
13263
+ x: number;
13264
+ y: number;
13265
+ }) => void;
12430
13266
  remove: (pageId: string) => void;
12431
13267
  setActive: (id: string) => void;
12432
13268
  update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
@@ -12475,9 +13311,17 @@ export declare function createFacadeAccess(ctx: EditorContext): {
12475
13311
  top: number;
12476
13312
  } | undefined;
12477
13313
  name: string;
13314
+ position?: {
13315
+ x: number;
13316
+ y: number;
13317
+ } | undefined;
12478
13318
  templateId?: string | undefined;
12479
13319
  width: number;
12480
13320
  }[]>;
13321
+ move: (pageId: string, position: null | {
13322
+ x: number;
13323
+ y: number;
13324
+ }) => void;
12481
13325
  remove: (pageId: string) => void;
12482
13326
  setActive: (id: string) => void;
12483
13327
  update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
@@ -12526,13 +13370,21 @@ export declare function createFacadeAccess(ctx: EditorContext): {
12526
13370
  top: number;
12527
13371
  } | undefined;
12528
13372
  name: string;
13373
+ position?: {
13374
+ x: number;
13375
+ y: number;
13376
+ } | undefined;
12529
13377
  templateId?: string | undefined;
12530
13378
  width: number;
12531
13379
  }[]>;
13380
+ move: (pageId: string, position: null | {
13381
+ x: number;
13382
+ y: number;
13383
+ }) => void;
12532
13384
  remove: (pageId: string) => void;
12533
13385
  setActive: (id: string) => void;
12534
13386
  update: (pageId: string, patch: Partial<Pick<import('../..').PageNode, "background" | "height" | "margins" | "name" | "templateId" | "width">>) => void;
12535
- }, "copy" | "add" | "remove" | "update" | "setActive">>;
13387
+ }, "copy" | "add" | "remove" | "update" | "move" | "setActive">>;
12536
13388
  panel: import('pinia').Store<"editor-panel", Pick<{
12537
13389
  activate: (groupId: string, panelId: string, popout?: boolean) => void;
12538
13390
  beginDrag: (state: Omit<import('../stores/types').PanelDragState, "target">, bounds?: Pick<import('../stores/types').PanelColumn, "collapsed" | "height" | "width" | "x" | "y">) => void;
@@ -13430,6 +14282,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13430
14282
  top: number;
13431
14283
  } | undefined;
13432
14284
  name: string;
14285
+ position?: {
14286
+ x: number;
14287
+ y: number;
14288
+ } | undefined;
13433
14289
  templateId?: string | undefined;
13434
14290
  width: number;
13435
14291
  } | undefined;
@@ -13477,6 +14333,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13477
14333
  top: number;
13478
14334
  } | undefined;
13479
14335
  name: string;
14336
+ position?: {
14337
+ x: number;
14338
+ y: number;
14339
+ } | undefined;
13480
14340
  templateId?: string | undefined;
13481
14341
  width: number;
13482
14342
  };
@@ -13532,6 +14392,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13532
14392
  top: number;
13533
14393
  } | undefined;
13534
14394
  name: string;
14395
+ position?: {
14396
+ x: number;
14397
+ y: number;
14398
+ } | undefined;
13535
14399
  templateId?: string | undefined;
13536
14400
  width: number;
13537
14401
  } | undefined;
@@ -13579,6 +14443,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13579
14443
  top: number;
13580
14444
  } | undefined;
13581
14445
  name: string;
14446
+ position?: {
14447
+ x: number;
14448
+ y: number;
14449
+ } | undefined;
13582
14450
  templateId?: string | undefined;
13583
14451
  width: number;
13584
14452
  };
@@ -13591,7 +14459,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13591
14459
  rename: (id: string, name: string) => void;
13592
14460
  resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
13593
14461
  syncPageDimensions: (pageIds: string[]) => void;
13594
- update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>) => void;
14462
+ update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('../stores/types').MutationOptions) => void;
13595
14463
  updatePage: (pageId: string, patch: import('../stores/types').EditingPagePatch) => void;
13596
14464
  usageCount: import('vue').ComputedRef<(id: string) => number>;
13597
14465
  }, "editingId">, Pick<{
@@ -13642,6 +14510,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13642
14510
  top: number;
13643
14511
  } | undefined;
13644
14512
  name: string;
14513
+ position?: {
14514
+ x: number;
14515
+ y: number;
14516
+ } | undefined;
13645
14517
  templateId?: string | undefined;
13646
14518
  width: number;
13647
14519
  } | undefined;
@@ -13689,6 +14561,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13689
14561
  top: number;
13690
14562
  } | undefined;
13691
14563
  name: string;
14564
+ position?: {
14565
+ x: number;
14566
+ y: number;
14567
+ } | undefined;
13692
14568
  templateId?: string | undefined;
13693
14569
  width: number;
13694
14570
  };
@@ -13744,6 +14620,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13744
14620
  top: number;
13745
14621
  } | undefined;
13746
14622
  name: string;
14623
+ position?: {
14624
+ x: number;
14625
+ y: number;
14626
+ } | undefined;
13747
14627
  templateId?: string | undefined;
13748
14628
  width: number;
13749
14629
  } | undefined;
@@ -13791,6 +14671,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13791
14671
  top: number;
13792
14672
  } | undefined;
13793
14673
  name: string;
14674
+ position?: {
14675
+ x: number;
14676
+ y: number;
14677
+ } | undefined;
13794
14678
  templateId?: string | undefined;
13795
14679
  width: number;
13796
14680
  };
@@ -13803,7 +14687,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13803
14687
  rename: (id: string, name: string) => void;
13804
14688
  resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
13805
14689
  syncPageDimensions: (pageIds: string[]) => void;
13806
- update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>) => void;
14690
+ update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('../stores/types').MutationOptions) => void;
13807
14691
  updatePage: (pageId: string, patch: import('../stores/types').EditingPagePatch) => void;
13808
14692
  usageCount: import('vue').ComputedRef<(id: string) => number>;
13809
14693
  }, "usageCount" | "get" | "list" | "getByPage" | "editingPage" | "editingPages" | "editingTemplate" | "effectiveBackground" | "effectiveTemplate" | "isContainer" | "resolveFor">, Pick<{
@@ -13854,6 +14738,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13854
14738
  top: number;
13855
14739
  } | undefined;
13856
14740
  name: string;
14741
+ position?: {
14742
+ x: number;
14743
+ y: number;
14744
+ } | undefined;
13857
14745
  templateId?: string | undefined;
13858
14746
  width: number;
13859
14747
  } | undefined;
@@ -13901,6 +14789,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13901
14789
  top: number;
13902
14790
  } | undefined;
13903
14791
  name: string;
14792
+ position?: {
14793
+ x: number;
14794
+ y: number;
14795
+ } | undefined;
13904
14796
  templateId?: string | undefined;
13905
14797
  width: number;
13906
14798
  };
@@ -13956,6 +14848,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
13956
14848
  top: number;
13957
14849
  } | undefined;
13958
14850
  name: string;
14851
+ position?: {
14852
+ x: number;
14853
+ y: number;
14854
+ } | undefined;
13959
14855
  templateId?: string | undefined;
13960
14856
  width: number;
13961
14857
  } | undefined;
@@ -14003,6 +14899,10 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14003
14899
  top: number;
14004
14900
  } | undefined;
14005
14901
  name: string;
14902
+ position?: {
14903
+ x: number;
14904
+ y: number;
14905
+ } | undefined;
14006
14906
  templateId?: string | undefined;
14007
14907
  width: number;
14008
14908
  };
@@ -14015,7 +14915,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14015
14915
  rename: (id: string, name: string) => void;
14016
14916
  resolveFor: import('vue').ComputedRef<(page: Partial<Pick<import('../..').PageNode, "id">> & Pick<import('../..').PageNode, "templateId">, pageNumber?: number) => import('../..').PageTemplate | undefined>;
14017
14917
  syncPageDimensions: (pageIds: string[]) => void;
14018
- update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>) => void;
14918
+ update: (id: string, patch: Partial<Pick<import('../..').PageTemplate, "background" | "baseTemplateId" | "evenPages" | "facingPages" | "name" | "oddPages">>, options?: import('../stores/types').MutationOptions) => void;
14019
14919
  updatePage: (pageId: string, patch: import('../stores/types').EditingPagePatch) => void;
14020
14920
  usageCount: import('vue').ComputedRef<(id: string) => number>;
14021
14921
  }, "create" | "rename" | "remove" | "update" | "updatePage" | "activatePage" | "applyToPages" | "createFromPage" | "detach" | "enterEdit" | "exitEdit" | "import" | "syncPageDimensions">>;
@@ -14119,9 +15019,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14119
15019
  disabled?: boolean | undefined;
14120
15020
  help?: string | undefined;
14121
15021
  icon?: string | undefined;
15022
+ keepOpen?: boolean | undefined;
14122
15023
  label: string;
14123
15024
  shortcut?: string | undefined;
14124
15025
  type: "item";
15026
+ } | {
15027
+ icon?: string | undefined;
15028
+ items: {
15029
+ action: () => void;
15030
+ checked?: boolean | undefined;
15031
+ commandId?: string | undefined;
15032
+ danger?: boolean | undefined;
15033
+ disabled?: boolean | undefined;
15034
+ help?: string | undefined;
15035
+ icon?: string | undefined;
15036
+ keepOpen?: boolean | undefined;
15037
+ label: string;
15038
+ shortcut?: string | undefined;
15039
+ type: "item";
15040
+ }[];
15041
+ label: string;
15042
+ type: "segment";
14125
15043
  } | {
14126
15044
  icon?: string | undefined;
14127
15045
  items: ({
@@ -14134,9 +15052,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14134
15052
  disabled?: boolean | undefined;
14135
15053
  help?: string | undefined;
14136
15054
  icon?: string | undefined;
15055
+ keepOpen?: boolean | undefined;
14137
15056
  label: string;
14138
15057
  shortcut?: string | undefined;
14139
15058
  type: "item";
15059
+ } | {
15060
+ icon?: string | undefined;
15061
+ items: {
15062
+ action: () => void;
15063
+ checked?: boolean | undefined;
15064
+ commandId?: string | undefined;
15065
+ danger?: boolean | undefined;
15066
+ disabled?: boolean | undefined;
15067
+ help?: string | undefined;
15068
+ icon?: string | undefined;
15069
+ keepOpen?: boolean | undefined;
15070
+ label: string;
15071
+ shortcut?: string | undefined;
15072
+ type: "item";
15073
+ }[];
15074
+ label: string;
15075
+ type: "segment";
14140
15076
  } | /*elided*/ any)[];
14141
15077
  label: string;
14142
15078
  type: "submenu";
@@ -14160,9 +15096,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14160
15096
  disabled?: boolean | undefined;
14161
15097
  help?: string | undefined;
14162
15098
  icon?: string | undefined;
15099
+ keepOpen?: boolean | undefined;
14163
15100
  label: string;
14164
15101
  shortcut?: string | undefined;
14165
15102
  type: "item";
15103
+ } | {
15104
+ icon?: string | undefined;
15105
+ items: {
15106
+ action: () => void;
15107
+ checked?: boolean | undefined;
15108
+ commandId?: string | undefined;
15109
+ danger?: boolean | undefined;
15110
+ disabled?: boolean | undefined;
15111
+ help?: string | undefined;
15112
+ icon?: string | undefined;
15113
+ keepOpen?: boolean | undefined;
15114
+ label: string;
15115
+ shortcut?: string | undefined;
15116
+ type: "item";
15117
+ }[];
15118
+ label: string;
15119
+ type: "segment";
14166
15120
  } | {
14167
15121
  icon?: string | undefined;
14168
15122
  items: ({
@@ -14175,9 +15129,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14175
15129
  disabled?: boolean | undefined;
14176
15130
  help?: string | undefined;
14177
15131
  icon?: string | undefined;
15132
+ keepOpen?: boolean | undefined;
14178
15133
  label: string;
14179
15134
  shortcut?: string | undefined;
14180
15135
  type: "item";
15136
+ } | {
15137
+ icon?: string | undefined;
15138
+ items: {
15139
+ action: () => void;
15140
+ checked?: boolean | undefined;
15141
+ commandId?: string | undefined;
15142
+ danger?: boolean | undefined;
15143
+ disabled?: boolean | undefined;
15144
+ help?: string | undefined;
15145
+ icon?: string | undefined;
15146
+ keepOpen?: boolean | undefined;
15147
+ label: string;
15148
+ shortcut?: string | undefined;
15149
+ type: "item";
15150
+ }[];
15151
+ label: string;
15152
+ type: "segment";
14181
15153
  } | /*elided*/ any)[];
14182
15154
  label: string;
14183
15155
  type: "submenu";
@@ -14283,10 +15255,12 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14283
15255
  tab?: string | undefined;
14284
15256
  values?: Record<string, unknown> | undefined;
14285
15257
  }>;
15258
+ restorePreferences: () => void;
14286
15259
  restoreRevision: import('vue').Ref<number, number>;
14287
15260
  restoreState: (state: import('../stores/types').UiRestoreState) => void;
14288
15261
  resumeDialog: (id: number) => void;
14289
15262
  resumeToast: (id: number) => void;
15263
+ setThemeMode: (mode: import('../stores/types').ThemeMode) => void;
14290
15264
  suspendDialog: () => number | undefined;
14291
15265
  suspendedDialogs: import('vue').Ref<{
14292
15266
  dialog: {
@@ -14315,6 +15289,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14315
15289
  elementIds?: string[] | undefined;
14316
15290
  id: number;
14317
15291
  }[]>;
15292
+ themeMode: import('vue').Ref<import('../stores/types').ThemeMode, import('../stores/types').ThemeMode>;
14318
15293
  toast: (text: string, kind?: import('../stores/types').ToastItem["kind"]) => void;
14319
15294
  toasts: import('vue').Ref<{
14320
15295
  id: number;
@@ -14325,7 +15300,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14325
15300
  kind: "error" | "info" | "success";
14326
15301
  text: string;
14327
15302
  }[]>;
14328
- }, "contextMenu" | "dialogSessionId" | "activeDialog" | "dialogElementId" | "exportDialog" | "restoredState" | "restoreRevision" | "suspendedDialogs" | "toasts">, Pick<{
15303
+ }, "contextMenu" | "dialogSessionId" | "activeDialog" | "dialogElementId" | "exportDialog" | "restoredState" | "restoreRevision" | "suspendedDialogs" | "themeMode" | "toasts">, Pick<{
14329
15304
  activeDialog: import('vue').Ref<{
14330
15305
  applyTemplateTemplateId?: string | undefined;
14331
15306
  groupId?: string | undefined;
@@ -14358,9 +15333,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14358
15333
  disabled?: boolean | undefined;
14359
15334
  help?: string | undefined;
14360
15335
  icon?: string | undefined;
15336
+ keepOpen?: boolean | undefined;
14361
15337
  label: string;
14362
15338
  shortcut?: string | undefined;
14363
15339
  type: "item";
15340
+ } | {
15341
+ icon?: string | undefined;
15342
+ items: {
15343
+ action: () => void;
15344
+ checked?: boolean | undefined;
15345
+ commandId?: string | undefined;
15346
+ danger?: boolean | undefined;
15347
+ disabled?: boolean | undefined;
15348
+ help?: string | undefined;
15349
+ icon?: string | undefined;
15350
+ keepOpen?: boolean | undefined;
15351
+ label: string;
15352
+ shortcut?: string | undefined;
15353
+ type: "item";
15354
+ }[];
15355
+ label: string;
15356
+ type: "segment";
14364
15357
  } | {
14365
15358
  icon?: string | undefined;
14366
15359
  items: ({
@@ -14373,9 +15366,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14373
15366
  disabled?: boolean | undefined;
14374
15367
  help?: string | undefined;
14375
15368
  icon?: string | undefined;
15369
+ keepOpen?: boolean | undefined;
14376
15370
  label: string;
14377
15371
  shortcut?: string | undefined;
14378
15372
  type: "item";
15373
+ } | {
15374
+ icon?: string | undefined;
15375
+ items: {
15376
+ action: () => void;
15377
+ checked?: boolean | undefined;
15378
+ commandId?: string | undefined;
15379
+ danger?: boolean | undefined;
15380
+ disabled?: boolean | undefined;
15381
+ help?: string | undefined;
15382
+ icon?: string | undefined;
15383
+ keepOpen?: boolean | undefined;
15384
+ label: string;
15385
+ shortcut?: string | undefined;
15386
+ type: "item";
15387
+ }[];
15388
+ label: string;
15389
+ type: "segment";
14379
15390
  } | /*elided*/ any)[];
14380
15391
  label: string;
14381
15392
  type: "submenu";
@@ -14399,9 +15410,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14399
15410
  disabled?: boolean | undefined;
14400
15411
  help?: string | undefined;
14401
15412
  icon?: string | undefined;
15413
+ keepOpen?: boolean | undefined;
14402
15414
  label: string;
14403
15415
  shortcut?: string | undefined;
14404
15416
  type: "item";
15417
+ } | {
15418
+ icon?: string | undefined;
15419
+ items: {
15420
+ action: () => void;
15421
+ checked?: boolean | undefined;
15422
+ commandId?: string | undefined;
15423
+ danger?: boolean | undefined;
15424
+ disabled?: boolean | undefined;
15425
+ help?: string | undefined;
15426
+ icon?: string | undefined;
15427
+ keepOpen?: boolean | undefined;
15428
+ label: string;
15429
+ shortcut?: string | undefined;
15430
+ type: "item";
15431
+ }[];
15432
+ label: string;
15433
+ type: "segment";
14405
15434
  } | {
14406
15435
  icon?: string | undefined;
14407
15436
  items: ({
@@ -14414,9 +15443,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14414
15443
  disabled?: boolean | undefined;
14415
15444
  help?: string | undefined;
14416
15445
  icon?: string | undefined;
15446
+ keepOpen?: boolean | undefined;
14417
15447
  label: string;
14418
15448
  shortcut?: string | undefined;
14419
15449
  type: "item";
15450
+ } | {
15451
+ icon?: string | undefined;
15452
+ items: {
15453
+ action: () => void;
15454
+ checked?: boolean | undefined;
15455
+ commandId?: string | undefined;
15456
+ danger?: boolean | undefined;
15457
+ disabled?: boolean | undefined;
15458
+ help?: string | undefined;
15459
+ icon?: string | undefined;
15460
+ keepOpen?: boolean | undefined;
15461
+ label: string;
15462
+ shortcut?: string | undefined;
15463
+ type: "item";
15464
+ }[];
15465
+ label: string;
15466
+ type: "segment";
14420
15467
  } | /*elided*/ any)[];
14421
15468
  label: string;
14422
15469
  type: "submenu";
@@ -14522,10 +15569,12 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14522
15569
  tab?: string | undefined;
14523
15570
  values?: Record<string, unknown> | undefined;
14524
15571
  }>;
15572
+ restorePreferences: () => void;
14525
15573
  restoreRevision: import('vue').Ref<number, number>;
14526
15574
  restoreState: (state: import('../stores/types').UiRestoreState) => void;
14527
15575
  resumeDialog: (id: number) => void;
14528
15576
  resumeToast: (id: number) => void;
15577
+ setThemeMode: (mode: import('../stores/types').ThemeMode) => void;
14529
15578
  suspendDialog: () => number | undefined;
14530
15579
  suspendedDialogs: import('vue').Ref<{
14531
15580
  dialog: {
@@ -14554,6 +15603,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14554
15603
  elementIds?: string[] | undefined;
14555
15604
  id: number;
14556
15605
  }[]>;
15606
+ themeMode: import('vue').Ref<import('../stores/types').ThemeMode, import('../stores/types').ThemeMode>;
14557
15607
  toast: (text: string, kind?: import('../stores/types').ToastItem["kind"]) => void;
14558
15608
  toasts: import('vue').Ref<{
14559
15609
  id: number;
@@ -14597,9 +15647,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14597
15647
  disabled?: boolean | undefined;
14598
15648
  help?: string | undefined;
14599
15649
  icon?: string | undefined;
15650
+ keepOpen?: boolean | undefined;
14600
15651
  label: string;
14601
15652
  shortcut?: string | undefined;
14602
15653
  type: "item";
15654
+ } | {
15655
+ icon?: string | undefined;
15656
+ items: {
15657
+ action: () => void;
15658
+ checked?: boolean | undefined;
15659
+ commandId?: string | undefined;
15660
+ danger?: boolean | undefined;
15661
+ disabled?: boolean | undefined;
15662
+ help?: string | undefined;
15663
+ icon?: string | undefined;
15664
+ keepOpen?: boolean | undefined;
15665
+ label: string;
15666
+ shortcut?: string | undefined;
15667
+ type: "item";
15668
+ }[];
15669
+ label: string;
15670
+ type: "segment";
14603
15671
  } | {
14604
15672
  icon?: string | undefined;
14605
15673
  items: ({
@@ -14612,9 +15680,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14612
15680
  disabled?: boolean | undefined;
14613
15681
  help?: string | undefined;
14614
15682
  icon?: string | undefined;
15683
+ keepOpen?: boolean | undefined;
14615
15684
  label: string;
14616
15685
  shortcut?: string | undefined;
14617
15686
  type: "item";
15687
+ } | {
15688
+ icon?: string | undefined;
15689
+ items: {
15690
+ action: () => void;
15691
+ checked?: boolean | undefined;
15692
+ commandId?: string | undefined;
15693
+ danger?: boolean | undefined;
15694
+ disabled?: boolean | undefined;
15695
+ help?: string | undefined;
15696
+ icon?: string | undefined;
15697
+ keepOpen?: boolean | undefined;
15698
+ label: string;
15699
+ shortcut?: string | undefined;
15700
+ type: "item";
15701
+ }[];
15702
+ label: string;
15703
+ type: "segment";
14618
15704
  } | /*elided*/ any)[];
14619
15705
  label: string;
14620
15706
  type: "submenu";
@@ -14638,9 +15724,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14638
15724
  disabled?: boolean | undefined;
14639
15725
  help?: string | undefined;
14640
15726
  icon?: string | undefined;
15727
+ keepOpen?: boolean | undefined;
14641
15728
  label: string;
14642
15729
  shortcut?: string | undefined;
14643
15730
  type: "item";
15731
+ } | {
15732
+ icon?: string | undefined;
15733
+ items: {
15734
+ action: () => void;
15735
+ checked?: boolean | undefined;
15736
+ commandId?: string | undefined;
15737
+ danger?: boolean | undefined;
15738
+ disabled?: boolean | undefined;
15739
+ help?: string | undefined;
15740
+ icon?: string | undefined;
15741
+ keepOpen?: boolean | undefined;
15742
+ label: string;
15743
+ shortcut?: string | undefined;
15744
+ type: "item";
15745
+ }[];
15746
+ label: string;
15747
+ type: "segment";
14644
15748
  } | {
14645
15749
  icon?: string | undefined;
14646
15750
  items: ({
@@ -14653,9 +15757,27 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14653
15757
  disabled?: boolean | undefined;
14654
15758
  help?: string | undefined;
14655
15759
  icon?: string | undefined;
15760
+ keepOpen?: boolean | undefined;
14656
15761
  label: string;
14657
15762
  shortcut?: string | undefined;
14658
15763
  type: "item";
15764
+ } | {
15765
+ icon?: string | undefined;
15766
+ items: {
15767
+ action: () => void;
15768
+ checked?: boolean | undefined;
15769
+ commandId?: string | undefined;
15770
+ danger?: boolean | undefined;
15771
+ disabled?: boolean | undefined;
15772
+ help?: string | undefined;
15773
+ icon?: string | undefined;
15774
+ keepOpen?: boolean | undefined;
15775
+ label: string;
15776
+ shortcut?: string | undefined;
15777
+ type: "item";
15778
+ }[];
15779
+ label: string;
15780
+ type: "segment";
14659
15781
  } | /*elided*/ any)[];
14660
15782
  label: string;
14661
15783
  type: "submenu";
@@ -14761,10 +15883,12 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14761
15883
  tab?: string | undefined;
14762
15884
  values?: Record<string, unknown> | undefined;
14763
15885
  }>;
15886
+ restorePreferences: () => void;
14764
15887
  restoreRevision: import('vue').Ref<number, number>;
14765
15888
  restoreState: (state: import('../stores/types').UiRestoreState) => void;
14766
15889
  resumeDialog: (id: number) => void;
14767
15890
  resumeToast: (id: number) => void;
15891
+ setThemeMode: (mode: import('../stores/types').ThemeMode) => void;
14768
15892
  suspendDialog: () => number | undefined;
14769
15893
  suspendedDialogs: import('vue').Ref<{
14770
15894
  dialog: {
@@ -14793,6 +15917,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14793
15917
  elementIds?: string[] | undefined;
14794
15918
  id: number;
14795
15919
  }[]>;
15920
+ themeMode: import('vue').Ref<import('../stores/types').ThemeMode, import('../stores/types').ThemeMode>;
14796
15921
  toast: (text: string, kind?: import('../stores/types').ToastItem["kind"]) => void;
14797
15922
  toasts: import('vue').Ref<{
14798
15923
  id: number;
@@ -14803,7 +15928,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14803
15928
  kind: "error" | "info" | "success";
14804
15929
  text: string;
14805
15930
  }[]>;
14806
- }, "discardSuspendedDialog" | "clearSuspendedDialogs" | "closeContextMenu" | "closeDialog" | "completeExportDialog" | "dismissToast" | "finishExportDialog" | "minimizeExportDialog" | "openContextMenu" | "openDialog" | "openExportDialog" | "pauseToast" | "restoreState" | "resumeDialog" | "resumeToast" | "suspendDialog" | "toast">>;
15931
+ }, "restorePreferences" | "discardSuspendedDialog" | "clearSuspendedDialogs" | "closeContextMenu" | "closeDialog" | "completeExportDialog" | "dismissToast" | "finishExportDialog" | "minimizeExportDialog" | "openContextMenu" | "openDialog" | "openExportDialog" | "pauseToast" | "restoreState" | "resumeDialog" | "resumeToast" | "setThemeMode" | "suspendDialog" | "toast">>;
14807
15932
  view: import('pinia').Store<"editor-view", Pick<{
14808
15933
  activeTool: import('vue').Ref<string, string>;
14809
15934
  alignPanel: {
@@ -14856,6 +15981,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14856
15981
  y: number;
14857
15982
  };
14858
15983
  } | null>;
15984
+ originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
14859
15985
  pageLayouts: import('vue').ComputedRef<{
14860
15986
  page: import('../..').PageNode;
14861
15987
  x: number;
@@ -14934,6 +16060,8 @@ export declare function createFacadeAccess(ctx: EditorContext): {
14934
16060
  v: number[];
14935
16061
  }>;
14936
16062
  spacePanning: import('vue').Ref<boolean, boolean>;
16063
+ toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
16064
+ toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
14937
16065
  updateAlignPanel: (patch: Partial<import('../stores/types').AlignPanelState>) => void;
14938
16066
  updateSettings: (patch: Partial<{
14939
16067
  clickToCreate: boolean;
@@ -15013,6 +16141,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
15013
16141
  y: number;
15014
16142
  };
15015
16143
  } | null>;
16144
+ originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
15016
16145
  pageLayouts: import('vue').ComputedRef<{
15017
16146
  page: import('../..').PageNode;
15018
16147
  x: number;
@@ -15091,6 +16220,8 @@ export declare function createFacadeAccess(ctx: EditorContext): {
15091
16220
  v: number[];
15092
16221
  }>;
15093
16222
  spacePanning: import('vue').Ref<boolean, boolean>;
16223
+ toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
16224
+ toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
15094
16225
  updateAlignPanel: (patch: Partial<import('../stores/types').AlignPanelState>) => void;
15095
16226
  updateSettings: (patch: Partial<{
15096
16227
  clickToCreate: boolean;
@@ -15118,7 +16249,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
15118
16249
  width: number;
15119
16250
  }>;
15120
16251
  zoom: import('vue').Ref<number, number>;
15121
- }, "canvasBackground" | "canvasBackgroundPreset" | "contentSizeMm" | "customCanvasColor" | "getLayout" | "pageLayouts" | "pagesBoundsMm" | "pxPerMm">, Pick<{
16252
+ }, "canvasBackground" | "canvasBackgroundPreset" | "contentSizeMm" | "customCanvasColor" | "getLayout" | "originOf" | "pageLayouts" | "pagesBoundsMm" | "pxPerMm" | "toGlobal" | "toLocal">, Pick<{
15122
16253
  activeTool: import('vue').Ref<string, string>;
15123
16254
  alignPanel: {
15124
16255
  spacing: null | number;
@@ -15170,6 +16301,7 @@ export declare function createFacadeAccess(ctx: EditorContext): {
15170
16301
  y: number;
15171
16302
  };
15172
16303
  } | null>;
16304
+ originOf: import('vue').ComputedRef<(pageId: string) => import('../../core/geometry').Point | undefined>;
15173
16305
  pageLayouts: import('vue').ComputedRef<{
15174
16306
  page: import('../..').PageNode;
15175
16307
  x: number;
@@ -15248,6 +16380,8 @@ export declare function createFacadeAccess(ctx: EditorContext): {
15248
16380
  v: number[];
15249
16381
  }>;
15250
16382
  spacePanning: import('vue').Ref<boolean, boolean>;
16383
+ toGlobal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
16384
+ toLocal: import('vue').ComputedRef<(pageId: string, point: import('../../core/geometry').Point) => import('../../core/geometry').Point | undefined>;
15251
16385
  updateAlignPanel: (patch: Partial<import('../stores/types').AlignPanelState>) => void;
15252
16386
  updateSettings: (patch: Partial<{
15253
16387
  clickToCreate: boolean;