@portabletext/editor 1.44.0 → 1.44.1

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.
@@ -541,15 +541,6 @@ declare const editorMachine: StateMachine<
541
541
  name: string
542
542
  }
543
543
  }
544
- | {
545
- type: 'annotation.toggle'
546
- annotation: {
547
- name: string
548
- value: {
549
- [prop: string]: unknown
550
- }
551
- }
552
- }
553
544
  | {
554
545
  type: 'block.set'
555
546
  at: [KeyedSegment]
@@ -575,14 +566,6 @@ declare const editorMachine: StateMachine<
575
566
  type: 'decorator.remove'
576
567
  decorator: string
577
568
  }
578
- | {
579
- type: 'decorator.toggle'
580
- decorator: string
581
- offsets?: {
582
- anchor: BlockOffset_2
583
- focus: BlockOffset_2
584
- }
585
- }
586
569
  | {
587
570
  type: 'delete'
588
571
  selection: NonNullable<EditorSelection>
@@ -666,6 +649,23 @@ declare const editorMachine: StateMachine<
666
649
  type: 'select'
667
650
  selection: EditorSelection
668
651
  }
652
+ | {
653
+ type: 'annotation.toggle'
654
+ annotation: {
655
+ name: string
656
+ value: {
657
+ [prop: string]: unknown
658
+ }
659
+ }
660
+ }
661
+ | {
662
+ type: 'decorator.toggle'
663
+ decorator: string
664
+ offsets?: {
665
+ anchor: BlockOffset_2
666
+ focus: BlockOffset_2
667
+ }
668
+ }
669
669
  | {
670
670
  type: 'insert.blocks'
671
671
  blocks: Array<PortableTextBlock>
@@ -936,15 +936,6 @@ declare const editorMachine: StateMachine<
936
936
  name: string
937
937
  }
938
938
  }
939
- | {
940
- type: 'annotation.toggle'
941
- annotation: {
942
- name: string
943
- value: {
944
- [prop: string]: unknown
945
- }
946
- }
947
- }
948
939
  | {
949
940
  type: 'block.set'
950
941
  at: [KeyedSegment]
@@ -970,14 +961,6 @@ declare const editorMachine: StateMachine<
970
961
  type: 'decorator.remove'
971
962
  decorator: string
972
963
  }
973
- | {
974
- type: 'decorator.toggle'
975
- decorator: string
976
- offsets?: {
977
- anchor: BlockOffset_2
978
- focus: BlockOffset_2
979
- }
980
- }
981
964
  | {
982
965
  type: 'delete'
983
966
  selection: NonNullable<EditorSelection>
@@ -1061,6 +1044,23 @@ declare const editorMachine: StateMachine<
1061
1044
  type: 'select'
1062
1045
  selection: EditorSelection
1063
1046
  }
1047
+ | {
1048
+ type: 'annotation.toggle'
1049
+ annotation: {
1050
+ name: string
1051
+ value: {
1052
+ [prop: string]: unknown
1053
+ }
1054
+ }
1055
+ }
1056
+ | {
1057
+ type: 'decorator.toggle'
1058
+ decorator: string
1059
+ offsets?: {
1060
+ anchor: BlockOffset_2
1061
+ focus: BlockOffset_2
1062
+ }
1063
+ }
1064
1064
  | {
1065
1065
  type: 'insert.blocks'
1066
1066
  blocks: Array<PortableTextBlock>
@@ -1220,15 +1220,6 @@ declare const editorMachine: StateMachine<
1220
1220
  name: string
1221
1221
  }
1222
1222
  }
1223
- | {
1224
- type: 'annotation.toggle'
1225
- annotation: {
1226
- name: string
1227
- value: {
1228
- [prop: string]: unknown
1229
- }
1230
- }
1231
- }
1232
1223
  | {
1233
1224
  type: 'block.set'
1234
1225
  at: [KeyedSegment]
@@ -1254,14 +1245,6 @@ declare const editorMachine: StateMachine<
1254
1245
  type: 'decorator.remove'
1255
1246
  decorator: string
1256
1247
  }
1257
- | {
1258
- type: 'decorator.toggle'
1259
- decorator: string
1260
- offsets?: {
1261
- anchor: BlockOffset_2
1262
- focus: BlockOffset_2
1263
- }
1264
- }
1265
1248
  | {
1266
1249
  type: 'delete'
1267
1250
  selection: NonNullable<EditorSelection>
@@ -1345,6 +1328,23 @@ declare const editorMachine: StateMachine<
1345
1328
  type: 'select'
1346
1329
  selection: EditorSelection
1347
1330
  }
1331
+ | {
1332
+ type: 'annotation.toggle'
1333
+ annotation: {
1334
+ name: string
1335
+ value: {
1336
+ [prop: string]: unknown
1337
+ }
1338
+ }
1339
+ }
1340
+ | {
1341
+ type: 'decorator.toggle'
1342
+ decorator: string
1343
+ offsets?: {
1344
+ anchor: BlockOffset_2
1345
+ focus: BlockOffset_2
1346
+ }
1347
+ }
1348
1348
  | {
1349
1349
  type: 'insert.blocks'
1350
1350
  blocks: Array<PortableTextBlock>
@@ -1538,15 +1538,6 @@ declare const editorMachine: StateMachine<
1538
1538
  name: string
1539
1539
  }
1540
1540
  }
1541
- | {
1542
- type: 'annotation.toggle'
1543
- annotation: {
1544
- name: string
1545
- value: {
1546
- [prop: string]: unknown
1547
- }
1548
- }
1549
- }
1550
1541
  | {
1551
1542
  type: 'block.set'
1552
1543
  at: [KeyedSegment]
@@ -1572,14 +1563,6 @@ declare const editorMachine: StateMachine<
1572
1563
  type: 'decorator.remove'
1573
1564
  decorator: string
1574
1565
  }
1575
- | {
1576
- type: 'decorator.toggle'
1577
- decorator: string
1578
- offsets?: {
1579
- anchor: BlockOffset_2
1580
- focus: BlockOffset_2
1581
- }
1582
- }
1583
1566
  | {
1584
1567
  type: 'delete'
1585
1568
  selection: NonNullable<EditorSelection>
@@ -1663,6 +1646,23 @@ declare const editorMachine: StateMachine<
1663
1646
  type: 'select'
1664
1647
  selection: EditorSelection
1665
1648
  }
1649
+ | {
1650
+ type: 'annotation.toggle'
1651
+ annotation: {
1652
+ name: string
1653
+ value: {
1654
+ [prop: string]: unknown
1655
+ }
1656
+ }
1657
+ }
1658
+ | {
1659
+ type: 'decorator.toggle'
1660
+ decorator: string
1661
+ offsets?: {
1662
+ anchor: BlockOffset_2
1663
+ focus: BlockOffset_2
1664
+ }
1665
+ }
1666
1666
  | {
1667
1667
  type: 'insert.blocks'
1668
1668
  blocks: Array<PortableTextBlock>
@@ -1884,15 +1884,6 @@ declare const editorMachine: StateMachine<
1884
1884
  name: string
1885
1885
  }
1886
1886
  }
1887
- | {
1888
- type: 'annotation.toggle'
1889
- annotation: {
1890
- name: string
1891
- value: {
1892
- [prop: string]: unknown
1893
- }
1894
- }
1895
- }
1896
1887
  | {
1897
1888
  type: 'block.set'
1898
1889
  at: [KeyedSegment]
@@ -1918,14 +1909,6 @@ declare const editorMachine: StateMachine<
1918
1909
  type: 'decorator.remove'
1919
1910
  decorator: string
1920
1911
  }
1921
- | {
1922
- type: 'decorator.toggle'
1923
- decorator: string
1924
- offsets?: {
1925
- anchor: BlockOffset_2
1926
- focus: BlockOffset_2
1927
- }
1928
- }
1929
1912
  | {
1930
1913
  type: 'delete'
1931
1914
  selection: NonNullable<EditorSelection>
@@ -2009,6 +1992,23 @@ declare const editorMachine: StateMachine<
2009
1992
  type: 'select'
2010
1993
  selection: EditorSelection
2011
1994
  }
1995
+ | {
1996
+ type: 'annotation.toggle'
1997
+ annotation: {
1998
+ name: string
1999
+ value: {
2000
+ [prop: string]: unknown
2001
+ }
2002
+ }
2003
+ }
2004
+ | {
2005
+ type: 'decorator.toggle'
2006
+ decorator: string
2007
+ offsets?: {
2008
+ anchor: BlockOffset_2
2009
+ focus: BlockOffset_2
2010
+ }
2011
+ }
2012
2012
  | {
2013
2013
  type: 'insert.blocks'
2014
2014
  blocks: Array<PortableTextBlock>
@@ -2200,15 +2200,6 @@ declare const editorMachine: StateMachine<
2200
2200
  name: string
2201
2201
  }
2202
2202
  }
2203
- | {
2204
- type: 'annotation.toggle'
2205
- annotation: {
2206
- name: string
2207
- value: {
2208
- [prop: string]: unknown
2209
- }
2210
- }
2211
- }
2212
2203
  | {
2213
2204
  type: 'block.set'
2214
2205
  at: [KeyedSegment]
@@ -2234,14 +2225,6 @@ declare const editorMachine: StateMachine<
2234
2225
  type: 'decorator.remove'
2235
2226
  decorator: string
2236
2227
  }
2237
- | {
2238
- type: 'decorator.toggle'
2239
- decorator: string
2240
- offsets?: {
2241
- anchor: BlockOffset_2
2242
- focus: BlockOffset_2
2243
- }
2244
- }
2245
2228
  | {
2246
2229
  type: 'delete'
2247
2230
  selection: NonNullable<EditorSelection>
@@ -2325,6 +2308,23 @@ declare const editorMachine: StateMachine<
2325
2308
  type: 'select'
2326
2309
  selection: EditorSelection
2327
2310
  }
2311
+ | {
2312
+ type: 'annotation.toggle'
2313
+ annotation: {
2314
+ name: string
2315
+ value: {
2316
+ [prop: string]: unknown
2317
+ }
2318
+ }
2319
+ }
2320
+ | {
2321
+ type: 'decorator.toggle'
2322
+ decorator: string
2323
+ offsets?: {
2324
+ anchor: BlockOffset_2
2325
+ focus: BlockOffset_2
2326
+ }
2327
+ }
2328
2328
  | {
2329
2329
  type: 'insert.blocks'
2330
2330
  blocks: Array<PortableTextBlock>
@@ -2452,15 +2452,6 @@ declare const editorMachine: StateMachine<
2452
2452
  name: string
2453
2453
  }
2454
2454
  }
2455
- | {
2456
- type: 'annotation.toggle'
2457
- annotation: {
2458
- name: string
2459
- value: {
2460
- [prop: string]: unknown
2461
- }
2462
- }
2463
- }
2464
2455
  | {
2465
2456
  type: 'block.set'
2466
2457
  at: [KeyedSegment]
@@ -2486,14 +2477,6 @@ declare const editorMachine: StateMachine<
2486
2477
  type: 'decorator.remove'
2487
2478
  decorator: string
2488
2479
  }
2489
- | {
2490
- type: 'decorator.toggle'
2491
- decorator: string
2492
- offsets?: {
2493
- anchor: BlockOffset_2
2494
- focus: BlockOffset_2
2495
- }
2496
- }
2497
2480
  | {
2498
2481
  type: 'delete'
2499
2482
  selection: NonNullable<EditorSelection>
@@ -2577,6 +2560,23 @@ declare const editorMachine: StateMachine<
2577
2560
  type: 'select'
2578
2561
  selection: EditorSelection
2579
2562
  }
2563
+ | {
2564
+ type: 'annotation.toggle'
2565
+ annotation: {
2566
+ name: string
2567
+ value: {
2568
+ [prop: string]: unknown
2569
+ }
2570
+ }
2571
+ }
2572
+ | {
2573
+ type: 'decorator.toggle'
2574
+ decorator: string
2575
+ offsets?: {
2576
+ anchor: BlockOffset_2
2577
+ focus: BlockOffset_2
2578
+ }
2579
+ }
2580
2580
  | {
2581
2581
  type: 'insert.blocks'
2582
2582
  blocks: Array<PortableTextBlock>
@@ -2768,15 +2768,6 @@ declare const editorMachine: StateMachine<
2768
2768
  name: string
2769
2769
  }
2770
2770
  }
2771
- | {
2772
- type: 'annotation.toggle'
2773
- annotation: {
2774
- name: string
2775
- value: {
2776
- [prop: string]: unknown
2777
- }
2778
- }
2779
- }
2780
2771
  | {
2781
2772
  type: 'block.set'
2782
2773
  at: [KeyedSegment]
@@ -2802,14 +2793,6 @@ declare const editorMachine: StateMachine<
2802
2793
  type: 'decorator.remove'
2803
2794
  decorator: string
2804
2795
  }
2805
- | {
2806
- type: 'decorator.toggle'
2807
- decorator: string
2808
- offsets?: {
2809
- anchor: BlockOffset_2
2810
- focus: BlockOffset_2
2811
- }
2812
- }
2813
2796
  | {
2814
2797
  type: 'delete'
2815
2798
  selection: NonNullable<EditorSelection>
@@ -2894,7 +2877,24 @@ declare const editorMachine: StateMachine<
2894
2877
  selection: EditorSelection
2895
2878
  }
2896
2879
  | {
2897
- type: 'insert.blocks'
2880
+ type: 'annotation.toggle'
2881
+ annotation: {
2882
+ name: string
2883
+ value: {
2884
+ [prop: string]: unknown
2885
+ }
2886
+ }
2887
+ }
2888
+ | {
2889
+ type: 'decorator.toggle'
2890
+ decorator: string
2891
+ offsets?: {
2892
+ anchor: BlockOffset_2
2893
+ focus: BlockOffset_2
2894
+ }
2895
+ }
2896
+ | {
2897
+ type: 'insert.blocks'
2898
2898
  blocks: Array<PortableTextBlock>
2899
2899
  placement: InsertPlacement_2
2900
2900
  }
@@ -3023,15 +3023,6 @@ declare const editorMachine: StateMachine<
3023
3023
  name: string
3024
3024
  }
3025
3025
  }
3026
- | {
3027
- type: 'annotation.toggle'
3028
- annotation: {
3029
- name: string
3030
- value: {
3031
- [prop: string]: unknown
3032
- }
3033
- }
3034
- }
3035
3026
  | {
3036
3027
  type: 'block.set'
3037
3028
  at: [KeyedSegment]
@@ -3057,14 +3048,6 @@ declare const editorMachine: StateMachine<
3057
3048
  type: 'decorator.remove'
3058
3049
  decorator: string
3059
3050
  }
3060
- | {
3061
- type: 'decorator.toggle'
3062
- decorator: string
3063
- offsets?: {
3064
- anchor: BlockOffset_2
3065
- focus: BlockOffset_2
3066
- }
3067
- }
3068
3051
  | {
3069
3052
  type: 'delete'
3070
3053
  selection: NonNullable<EditorSelection>
@@ -3148,6 +3131,23 @@ declare const editorMachine: StateMachine<
3148
3131
  type: 'select'
3149
3132
  selection: EditorSelection
3150
3133
  }
3134
+ | {
3135
+ type: 'annotation.toggle'
3136
+ annotation: {
3137
+ name: string
3138
+ value: {
3139
+ [prop: string]: unknown
3140
+ }
3141
+ }
3142
+ }
3143
+ | {
3144
+ type: 'decorator.toggle'
3145
+ decorator: string
3146
+ offsets?: {
3147
+ anchor: BlockOffset_2
3148
+ focus: BlockOffset_2
3149
+ }
3150
+ }
3151
3151
  | {
3152
3152
  type: 'insert.blocks'
3153
3153
  blocks: Array<PortableTextBlock>
@@ -3339,15 +3339,6 @@ declare const editorMachine: StateMachine<
3339
3339
  name: string
3340
3340
  }
3341
3341
  }
3342
- | {
3343
- type: 'annotation.toggle'
3344
- annotation: {
3345
- name: string
3346
- value: {
3347
- [prop: string]: unknown
3348
- }
3349
- }
3350
- }
3351
3342
  | {
3352
3343
  type: 'block.set'
3353
3344
  at: [KeyedSegment]
@@ -3373,14 +3364,6 @@ declare const editorMachine: StateMachine<
3373
3364
  type: 'decorator.remove'
3374
3365
  decorator: string
3375
3366
  }
3376
- | {
3377
- type: 'decorator.toggle'
3378
- decorator: string
3379
- offsets?: {
3380
- anchor: BlockOffset_2
3381
- focus: BlockOffset_2
3382
- }
3383
- }
3384
3367
  | {
3385
3368
  type: 'delete'
3386
3369
  selection: NonNullable<EditorSelection>
@@ -3464,6 +3447,23 @@ declare const editorMachine: StateMachine<
3464
3447
  type: 'select'
3465
3448
  selection: EditorSelection
3466
3449
  }
3450
+ | {
3451
+ type: 'annotation.toggle'
3452
+ annotation: {
3453
+ name: string
3454
+ value: {
3455
+ [prop: string]: unknown
3456
+ }
3457
+ }
3458
+ }
3459
+ | {
3460
+ type: 'decorator.toggle'
3461
+ decorator: string
3462
+ offsets?: {
3463
+ anchor: BlockOffset_2
3464
+ focus: BlockOffset_2
3465
+ }
3466
+ }
3467
3467
  | {
3468
3468
  type: 'insert.blocks'
3469
3469
  blocks: Array<PortableTextBlock>
@@ -3593,15 +3593,6 @@ declare const editorMachine: StateMachine<
3593
3593
  name: string
3594
3594
  }
3595
3595
  }
3596
- | {
3597
- type: 'annotation.toggle'
3598
- annotation: {
3599
- name: string
3600
- value: {
3601
- [prop: string]: unknown
3602
- }
3603
- }
3604
- }
3605
3596
  | {
3606
3597
  type: 'block.set'
3607
3598
  at: [KeyedSegment]
@@ -3627,14 +3618,6 @@ declare const editorMachine: StateMachine<
3627
3618
  type: 'decorator.remove'
3628
3619
  decorator: string
3629
3620
  }
3630
- | {
3631
- type: 'decorator.toggle'
3632
- decorator: string
3633
- offsets?: {
3634
- anchor: BlockOffset_2
3635
- focus: BlockOffset_2
3636
- }
3637
- }
3638
3621
  | {
3639
3622
  type: 'delete'
3640
3623
  selection: NonNullable<EditorSelection>
@@ -3718,6 +3701,23 @@ declare const editorMachine: StateMachine<
3718
3701
  type: 'select'
3719
3702
  selection: EditorSelection
3720
3703
  }
3704
+ | {
3705
+ type: 'annotation.toggle'
3706
+ annotation: {
3707
+ name: string
3708
+ value: {
3709
+ [prop: string]: unknown
3710
+ }
3711
+ }
3712
+ }
3713
+ | {
3714
+ type: 'decorator.toggle'
3715
+ decorator: string
3716
+ offsets?: {
3717
+ anchor: BlockOffset_2
3718
+ focus: BlockOffset_2
3719
+ }
3720
+ }
3721
3721
  | {
3722
3722
  type: 'insert.blocks'
3723
3723
  blocks: Array<PortableTextBlock>
@@ -3909,15 +3909,6 @@ declare const editorMachine: StateMachine<
3909
3909
  name: string
3910
3910
  }
3911
3911
  }
3912
- | {
3913
- type: 'annotation.toggle'
3914
- annotation: {
3915
- name: string
3916
- value: {
3917
- [prop: string]: unknown
3918
- }
3919
- }
3920
- }
3921
3912
  | {
3922
3913
  type: 'block.set'
3923
3914
  at: [KeyedSegment]
@@ -3943,14 +3934,6 @@ declare const editorMachine: StateMachine<
3943
3934
  type: 'decorator.remove'
3944
3935
  decorator: string
3945
3936
  }
3946
- | {
3947
- type: 'decorator.toggle'
3948
- decorator: string
3949
- offsets?: {
3950
- anchor: BlockOffset_2
3951
- focus: BlockOffset_2
3952
- }
3953
- }
3954
3937
  | {
3955
3938
  type: 'delete'
3956
3939
  selection: NonNullable<EditorSelection>
@@ -4034,6 +4017,23 @@ declare const editorMachine: StateMachine<
4034
4017
  type: 'select'
4035
4018
  selection: EditorSelection
4036
4019
  }
4020
+ | {
4021
+ type: 'annotation.toggle'
4022
+ annotation: {
4023
+ name: string
4024
+ value: {
4025
+ [prop: string]: unknown
4026
+ }
4027
+ }
4028
+ }
4029
+ | {
4030
+ type: 'decorator.toggle'
4031
+ decorator: string
4032
+ offsets?: {
4033
+ anchor: BlockOffset_2
4034
+ focus: BlockOffset_2
4035
+ }
4036
+ }
4037
4037
  | {
4038
4038
  type: 'insert.blocks'
4039
4039
  blocks: Array<PortableTextBlock>
@@ -4162,15 +4162,6 @@ declare const editorMachine: StateMachine<
4162
4162
  name: string
4163
4163
  }
4164
4164
  }
4165
- | {
4166
- type: 'annotation.toggle'
4167
- annotation: {
4168
- name: string
4169
- value: {
4170
- [prop: string]: unknown
4171
- }
4172
- }
4173
- }
4174
4165
  | {
4175
4166
  type: 'block.set'
4176
4167
  at: [KeyedSegment]
@@ -4196,14 +4187,6 @@ declare const editorMachine: StateMachine<
4196
4187
  type: 'decorator.remove'
4197
4188
  decorator: string
4198
4189
  }
4199
- | {
4200
- type: 'decorator.toggle'
4201
- decorator: string
4202
- offsets?: {
4203
- anchor: BlockOffset_2
4204
- focus: BlockOffset_2
4205
- }
4206
- }
4207
4190
  | {
4208
4191
  type: 'delete'
4209
4192
  selection: NonNullable<EditorSelection>
@@ -4287,6 +4270,23 @@ declare const editorMachine: StateMachine<
4287
4270
  type: 'select'
4288
4271
  selection: EditorSelection
4289
4272
  }
4273
+ | {
4274
+ type: 'annotation.toggle'
4275
+ annotation: {
4276
+ name: string
4277
+ value: {
4278
+ [prop: string]: unknown
4279
+ }
4280
+ }
4281
+ }
4282
+ | {
4283
+ type: 'decorator.toggle'
4284
+ decorator: string
4285
+ offsets?: {
4286
+ anchor: BlockOffset_2
4287
+ focus: BlockOffset_2
4288
+ }
4289
+ }
4290
4290
  | {
4291
4291
  type: 'insert.blocks'
4292
4292
  blocks: Array<PortableTextBlock>
@@ -4478,15 +4478,6 @@ declare const editorMachine: StateMachine<
4478
4478
  name: string
4479
4479
  }
4480
4480
  }
4481
- | {
4482
- type: 'annotation.toggle'
4483
- annotation: {
4484
- name: string
4485
- value: {
4486
- [prop: string]: unknown
4487
- }
4488
- }
4489
- }
4490
4481
  | {
4491
4482
  type: 'block.set'
4492
4483
  at: [KeyedSegment]
@@ -4512,14 +4503,6 @@ declare const editorMachine: StateMachine<
4512
4503
  type: 'decorator.remove'
4513
4504
  decorator: string
4514
4505
  }
4515
- | {
4516
- type: 'decorator.toggle'
4517
- decorator: string
4518
- offsets?: {
4519
- anchor: BlockOffset_2
4520
- focus: BlockOffset_2
4521
- }
4522
- }
4523
4506
  | {
4524
4507
  type: 'delete'
4525
4508
  selection: NonNullable<EditorSelection>
@@ -4603,6 +4586,23 @@ declare const editorMachine: StateMachine<
4603
4586
  type: 'select'
4604
4587
  selection: EditorSelection
4605
4588
  }
4589
+ | {
4590
+ type: 'annotation.toggle'
4591
+ annotation: {
4592
+ name: string
4593
+ value: {
4594
+ [prop: string]: unknown
4595
+ }
4596
+ }
4597
+ }
4598
+ | {
4599
+ type: 'decorator.toggle'
4600
+ decorator: string
4601
+ offsets?: {
4602
+ anchor: BlockOffset_2
4603
+ focus: BlockOffset_2
4604
+ }
4605
+ }
4606
4606
  | {
4607
4607
  type: 'insert.blocks'
4608
4608
  blocks: Array<PortableTextBlock>
@@ -4732,15 +4732,6 @@ declare const editorMachine: StateMachine<
4732
4732
  name: string
4733
4733
  }
4734
4734
  }
4735
- | {
4736
- type: 'annotation.toggle'
4737
- annotation: {
4738
- name: string
4739
- value: {
4740
- [prop: string]: unknown
4741
- }
4742
- }
4743
- }
4744
4735
  | {
4745
4736
  type: 'block.set'
4746
4737
  at: [KeyedSegment]
@@ -4766,14 +4757,6 @@ declare const editorMachine: StateMachine<
4766
4757
  type: 'decorator.remove'
4767
4758
  decorator: string
4768
4759
  }
4769
- | {
4770
- type: 'decorator.toggle'
4771
- decorator: string
4772
- offsets?: {
4773
- anchor: BlockOffset_2
4774
- focus: BlockOffset_2
4775
- }
4776
- }
4777
4760
  | {
4778
4761
  type: 'delete'
4779
4762
  selection: NonNullable<EditorSelection>
@@ -4857,6 +4840,23 @@ declare const editorMachine: StateMachine<
4857
4840
  type: 'select'
4858
4841
  selection: EditorSelection
4859
4842
  }
4843
+ | {
4844
+ type: 'annotation.toggle'
4845
+ annotation: {
4846
+ name: string
4847
+ value: {
4848
+ [prop: string]: unknown
4849
+ }
4850
+ }
4851
+ }
4852
+ | {
4853
+ type: 'decorator.toggle'
4854
+ decorator: string
4855
+ offsets?: {
4856
+ anchor: BlockOffset_2
4857
+ focus: BlockOffset_2
4858
+ }
4859
+ }
4860
4860
  | {
4861
4861
  type: 'insert.blocks'
4862
4862
  blocks: Array<PortableTextBlock>
@@ -5070,15 +5070,6 @@ declare const editorMachine: StateMachine<
5070
5070
  name: string
5071
5071
  }
5072
5072
  }
5073
- | {
5074
- type: 'annotation.toggle'
5075
- annotation: {
5076
- name: string
5077
- value: {
5078
- [prop: string]: unknown
5079
- }
5080
- }
5081
- }
5082
5073
  | {
5083
5074
  type: 'block.set'
5084
5075
  at: [KeyedSegment]
@@ -5104,14 +5095,6 @@ declare const editorMachine: StateMachine<
5104
5095
  type: 'decorator.remove'
5105
5096
  decorator: string
5106
5097
  }
5107
- | {
5108
- type: 'decorator.toggle'
5109
- decorator: string
5110
- offsets?: {
5111
- anchor: BlockOffset_2
5112
- focus: BlockOffset_2
5113
- }
5114
- }
5115
5098
  | {
5116
5099
  type: 'delete'
5117
5100
  selection: NonNullable<EditorSelection>
@@ -5195,6 +5178,23 @@ declare const editorMachine: StateMachine<
5195
5178
  type: 'select'
5196
5179
  selection: EditorSelection
5197
5180
  }
5181
+ | {
5182
+ type: 'annotation.toggle'
5183
+ annotation: {
5184
+ name: string
5185
+ value: {
5186
+ [prop: string]: unknown
5187
+ }
5188
+ }
5189
+ }
5190
+ | {
5191
+ type: 'decorator.toggle'
5192
+ decorator: string
5193
+ offsets?: {
5194
+ anchor: BlockOffset_2
5195
+ focus: BlockOffset_2
5196
+ }
5197
+ }
5198
5198
  | {
5199
5199
  type: 'insert.blocks'
5200
5200
  blocks: Array<PortableTextBlock>
@@ -5386,15 +5386,6 @@ declare const editorMachine: StateMachine<
5386
5386
  name: string
5387
5387
  }
5388
5388
  }
5389
- | {
5390
- type: 'annotation.toggle'
5391
- annotation: {
5392
- name: string
5393
- value: {
5394
- [prop: string]: unknown
5395
- }
5396
- }
5397
- }
5398
5389
  | {
5399
5390
  type: 'block.set'
5400
5391
  at: [KeyedSegment]
@@ -5420,14 +5411,6 @@ declare const editorMachine: StateMachine<
5420
5411
  type: 'decorator.remove'
5421
5412
  decorator: string
5422
5413
  }
5423
- | {
5424
- type: 'decorator.toggle'
5425
- decorator: string
5426
- offsets?: {
5427
- anchor: BlockOffset_2
5428
- focus: BlockOffset_2
5429
- }
5430
- }
5431
5414
  | {
5432
5415
  type: 'delete'
5433
5416
  selection: NonNullable<EditorSelection>
@@ -5511,6 +5494,23 @@ declare const editorMachine: StateMachine<
5511
5494
  type: 'select'
5512
5495
  selection: EditorSelection
5513
5496
  }
5497
+ | {
5498
+ type: 'annotation.toggle'
5499
+ annotation: {
5500
+ name: string
5501
+ value: {
5502
+ [prop: string]: unknown
5503
+ }
5504
+ }
5505
+ }
5506
+ | {
5507
+ type: 'decorator.toggle'
5508
+ decorator: string
5509
+ offsets?: {
5510
+ anchor: BlockOffset_2
5511
+ focus: BlockOffset_2
5512
+ }
5513
+ }
5514
5514
  | {
5515
5515
  type: 'insert.blocks'
5516
5516
  blocks: Array<PortableTextBlock>
@@ -5640,15 +5640,6 @@ declare const editorMachine: StateMachine<
5640
5640
  name: string
5641
5641
  }
5642
5642
  }
5643
- | {
5644
- type: 'annotation.toggle'
5645
- annotation: {
5646
- name: string
5647
- value: {
5648
- [prop: string]: unknown
5649
- }
5650
- }
5651
- }
5652
5643
  | {
5653
5644
  type: 'block.set'
5654
5645
  at: [KeyedSegment]
@@ -5674,14 +5665,6 @@ declare const editorMachine: StateMachine<
5674
5665
  type: 'decorator.remove'
5675
5666
  decorator: string
5676
5667
  }
5677
- | {
5678
- type: 'decorator.toggle'
5679
- decorator: string
5680
- offsets?: {
5681
- anchor: BlockOffset_2
5682
- focus: BlockOffset_2
5683
- }
5684
- }
5685
5668
  | {
5686
5669
  type: 'delete'
5687
5670
  selection: NonNullable<EditorSelection>
@@ -5765,6 +5748,23 @@ declare const editorMachine: StateMachine<
5765
5748
  type: 'select'
5766
5749
  selection: EditorSelection
5767
5750
  }
5751
+ | {
5752
+ type: 'annotation.toggle'
5753
+ annotation: {
5754
+ name: string
5755
+ value: {
5756
+ [prop: string]: unknown
5757
+ }
5758
+ }
5759
+ }
5760
+ | {
5761
+ type: 'decorator.toggle'
5762
+ decorator: string
5763
+ offsets?: {
5764
+ anchor: BlockOffset_2
5765
+ focus: BlockOffset_2
5766
+ }
5767
+ }
5768
5768
  | {
5769
5769
  type: 'insert.blocks'
5770
5770
  blocks: Array<PortableTextBlock>
@@ -5956,15 +5956,6 @@ declare const editorMachine: StateMachine<
5956
5956
  name: string
5957
5957
  }
5958
5958
  }
5959
- | {
5960
- type: 'annotation.toggle'
5961
- annotation: {
5962
- name: string
5963
- value: {
5964
- [prop: string]: unknown
5965
- }
5966
- }
5967
- }
5968
5959
  | {
5969
5960
  type: 'block.set'
5970
5961
  at: [KeyedSegment]
@@ -5990,14 +5981,6 @@ declare const editorMachine: StateMachine<
5990
5981
  type: 'decorator.remove'
5991
5982
  decorator: string
5992
5983
  }
5993
- | {
5994
- type: 'decorator.toggle'
5995
- decorator: string
5996
- offsets?: {
5997
- anchor: BlockOffset_2
5998
- focus: BlockOffset_2
5999
- }
6000
- }
6001
5984
  | {
6002
5985
  type: 'delete'
6003
5986
  selection: NonNullable<EditorSelection>
@@ -6081,6 +6064,23 @@ declare const editorMachine: StateMachine<
6081
6064
  type: 'select'
6082
6065
  selection: EditorSelection
6083
6066
  }
6067
+ | {
6068
+ type: 'annotation.toggle'
6069
+ annotation: {
6070
+ name: string
6071
+ value: {
6072
+ [prop: string]: unknown
6073
+ }
6074
+ }
6075
+ }
6076
+ | {
6077
+ type: 'decorator.toggle'
6078
+ decorator: string
6079
+ offsets?: {
6080
+ anchor: BlockOffset_2
6081
+ focus: BlockOffset_2
6082
+ }
6083
+ }
6084
6084
  | {
6085
6085
  type: 'insert.blocks'
6086
6086
  blocks: Array<PortableTextBlock>
@@ -6208,15 +6208,6 @@ declare const editorMachine: StateMachine<
6208
6208
  name: string
6209
6209
  }
6210
6210
  }
6211
- | {
6212
- type: 'annotation.toggle'
6213
- annotation: {
6214
- name: string
6215
- value: {
6216
- [prop: string]: unknown
6217
- }
6218
- }
6219
- }
6220
6211
  | {
6221
6212
  type: 'block.set'
6222
6213
  at: [KeyedSegment]
@@ -6242,14 +6233,6 @@ declare const editorMachine: StateMachine<
6242
6233
  type: 'decorator.remove'
6243
6234
  decorator: string
6244
6235
  }
6245
- | {
6246
- type: 'decorator.toggle'
6247
- decorator: string
6248
- offsets?: {
6249
- anchor: BlockOffset_2
6250
- focus: BlockOffset_2
6251
- }
6252
- }
6253
6236
  | {
6254
6237
  type: 'delete'
6255
6238
  selection: NonNullable<EditorSelection>
@@ -6333,6 +6316,23 @@ declare const editorMachine: StateMachine<
6333
6316
  type: 'select'
6334
6317
  selection: EditorSelection
6335
6318
  }
6319
+ | {
6320
+ type: 'annotation.toggle'
6321
+ annotation: {
6322
+ name: string
6323
+ value: {
6324
+ [prop: string]: unknown
6325
+ }
6326
+ }
6327
+ }
6328
+ | {
6329
+ type: 'decorator.toggle'
6330
+ decorator: string
6331
+ offsets?: {
6332
+ anchor: BlockOffset_2
6333
+ focus: BlockOffset_2
6334
+ }
6335
+ }
6336
6336
  | {
6337
6337
  type: 'insert.blocks'
6338
6338
  blocks: Array<PortableTextBlock>
@@ -6524,15 +6524,6 @@ declare const editorMachine: StateMachine<
6524
6524
  name: string
6525
6525
  }
6526
6526
  }
6527
- | {
6528
- type: 'annotation.toggle'
6529
- annotation: {
6530
- name: string
6531
- value: {
6532
- [prop: string]: unknown
6533
- }
6534
- }
6535
- }
6536
6527
  | {
6537
6528
  type: 'block.set'
6538
6529
  at: [KeyedSegment]
@@ -6558,14 +6549,6 @@ declare const editorMachine: StateMachine<
6558
6549
  type: 'decorator.remove'
6559
6550
  decorator: string
6560
6551
  }
6561
- | {
6562
- type: 'decorator.toggle'
6563
- decorator: string
6564
- offsets?: {
6565
- anchor: BlockOffset_2
6566
- focus: BlockOffset_2
6567
- }
6568
- }
6569
6552
  | {
6570
6553
  type: 'delete'
6571
6554
  selection: NonNullable<EditorSelection>
@@ -6649,6 +6632,23 @@ declare const editorMachine: StateMachine<
6649
6632
  type: 'select'
6650
6633
  selection: EditorSelection
6651
6634
  }
6635
+ | {
6636
+ type: 'annotation.toggle'
6637
+ annotation: {
6638
+ name: string
6639
+ value: {
6640
+ [prop: string]: unknown
6641
+ }
6642
+ }
6643
+ }
6644
+ | {
6645
+ type: 'decorator.toggle'
6646
+ decorator: string
6647
+ offsets?: {
6648
+ anchor: BlockOffset_2
6649
+ focus: BlockOffset_2
6650
+ }
6651
+ }
6652
6652
  | {
6653
6653
  type: 'insert.blocks'
6654
6654
  blocks: Array<PortableTextBlock>
@@ -6777,15 +6777,6 @@ declare const editorMachine: StateMachine<
6777
6777
  name: string
6778
6778
  }
6779
6779
  }
6780
- | {
6781
- type: 'annotation.toggle'
6782
- annotation: {
6783
- name: string
6784
- value: {
6785
- [prop: string]: unknown
6786
- }
6787
- }
6788
- }
6789
6780
  | {
6790
6781
  type: 'block.set'
6791
6782
  at: [KeyedSegment]
@@ -6811,14 +6802,6 @@ declare const editorMachine: StateMachine<
6811
6802
  type: 'decorator.remove'
6812
6803
  decorator: string
6813
6804
  }
6814
- | {
6815
- type: 'decorator.toggle'
6816
- decorator: string
6817
- offsets?: {
6818
- anchor: BlockOffset_2
6819
- focus: BlockOffset_2
6820
- }
6821
- }
6822
6805
  | {
6823
6806
  type: 'delete'
6824
6807
  selection: NonNullable<EditorSelection>
@@ -6902,6 +6885,23 @@ declare const editorMachine: StateMachine<
6902
6885
  type: 'select'
6903
6886
  selection: EditorSelection
6904
6887
  }
6888
+ | {
6889
+ type: 'annotation.toggle'
6890
+ annotation: {
6891
+ name: string
6892
+ value: {
6893
+ [prop: string]: unknown
6894
+ }
6895
+ }
6896
+ }
6897
+ | {
6898
+ type: 'decorator.toggle'
6899
+ decorator: string
6900
+ offsets?: {
6901
+ anchor: BlockOffset_2
6902
+ focus: BlockOffset_2
6903
+ }
6904
+ }
6905
6905
  | {
6906
6906
  type: 'insert.blocks'
6907
6907
  blocks: Array<PortableTextBlock>
@@ -7093,15 +7093,6 @@ declare const editorMachine: StateMachine<
7093
7093
  name: string
7094
7094
  }
7095
7095
  }
7096
- | {
7097
- type: 'annotation.toggle'
7098
- annotation: {
7099
- name: string
7100
- value: {
7101
- [prop: string]: unknown
7102
- }
7103
- }
7104
- }
7105
7096
  | {
7106
7097
  type: 'block.set'
7107
7098
  at: [KeyedSegment]
@@ -7127,14 +7118,6 @@ declare const editorMachine: StateMachine<
7127
7118
  type: 'decorator.remove'
7128
7119
  decorator: string
7129
7120
  }
7130
- | {
7131
- type: 'decorator.toggle'
7132
- decorator: string
7133
- offsets?: {
7134
- anchor: BlockOffset_2
7135
- focus: BlockOffset_2
7136
- }
7137
- }
7138
7121
  | {
7139
7122
  type: 'delete'
7140
7123
  selection: NonNullable<EditorSelection>
@@ -7219,7 +7202,24 @@ declare const editorMachine: StateMachine<
7219
7202
  selection: EditorSelection
7220
7203
  }
7221
7204
  | {
7222
- type: 'insert.blocks'
7205
+ type: 'annotation.toggle'
7206
+ annotation: {
7207
+ name: string
7208
+ value: {
7209
+ [prop: string]: unknown
7210
+ }
7211
+ }
7212
+ }
7213
+ | {
7214
+ type: 'decorator.toggle'
7215
+ decorator: string
7216
+ offsets?: {
7217
+ anchor: BlockOffset_2
7218
+ focus: BlockOffset_2
7219
+ }
7220
+ }
7221
+ | {
7222
+ type: 'insert.blocks'
7223
7223
  blocks: Array<PortableTextBlock>
7224
7224
  placement: InsertPlacement_2
7225
7225
  }
@@ -7349,15 +7349,6 @@ declare const editorMachine: StateMachine<
7349
7349
  name: string
7350
7350
  }
7351
7351
  }
7352
- | {
7353
- type: 'annotation.toggle'
7354
- annotation: {
7355
- name: string
7356
- value: {
7357
- [prop: string]: unknown
7358
- }
7359
- }
7360
- }
7361
7352
  | {
7362
7353
  type: 'block.set'
7363
7354
  at: [KeyedSegment]
@@ -7383,14 +7374,6 @@ declare const editorMachine: StateMachine<
7383
7374
  type: 'decorator.remove'
7384
7375
  decorator: string
7385
7376
  }
7386
- | {
7387
- type: 'decorator.toggle'
7388
- decorator: string
7389
- offsets?: {
7390
- anchor: BlockOffset_2
7391
- focus: BlockOffset_2
7392
- }
7393
- }
7394
7377
  | {
7395
7378
  type: 'delete'
7396
7379
  selection: NonNullable<EditorSelection>
@@ -7474,6 +7457,23 @@ declare const editorMachine: StateMachine<
7474
7457
  type: 'select'
7475
7458
  selection: EditorSelection
7476
7459
  }
7460
+ | {
7461
+ type: 'annotation.toggle'
7462
+ annotation: {
7463
+ name: string
7464
+ value: {
7465
+ [prop: string]: unknown
7466
+ }
7467
+ }
7468
+ }
7469
+ | {
7470
+ type: 'decorator.toggle'
7471
+ decorator: string
7472
+ offsets?: {
7473
+ anchor: BlockOffset_2
7474
+ focus: BlockOffset_2
7475
+ }
7476
+ }
7477
7477
  | {
7478
7478
  type: 'insert.blocks'
7479
7479
  blocks: Array<PortableTextBlock>
@@ -7665,15 +7665,6 @@ declare const editorMachine: StateMachine<
7665
7665
  name: string
7666
7666
  }
7667
7667
  }
7668
- | {
7669
- type: 'annotation.toggle'
7670
- annotation: {
7671
- name: string
7672
- value: {
7673
- [prop: string]: unknown
7674
- }
7675
- }
7676
- }
7677
7668
  | {
7678
7669
  type: 'block.set'
7679
7670
  at: [KeyedSegment]
@@ -7699,14 +7690,6 @@ declare const editorMachine: StateMachine<
7699
7690
  type: 'decorator.remove'
7700
7691
  decorator: string
7701
7692
  }
7702
- | {
7703
- type: 'decorator.toggle'
7704
- decorator: string
7705
- offsets?: {
7706
- anchor: BlockOffset_2
7707
- focus: BlockOffset_2
7708
- }
7709
- }
7710
7693
  | {
7711
7694
  type: 'delete'
7712
7695
  selection: NonNullable<EditorSelection>
@@ -7790,6 +7773,23 @@ declare const editorMachine: StateMachine<
7790
7773
  type: 'select'
7791
7774
  selection: EditorSelection
7792
7775
  }
7776
+ | {
7777
+ type: 'annotation.toggle'
7778
+ annotation: {
7779
+ name: string
7780
+ value: {
7781
+ [prop: string]: unknown
7782
+ }
7783
+ }
7784
+ }
7785
+ | {
7786
+ type: 'decorator.toggle'
7787
+ decorator: string
7788
+ offsets?: {
7789
+ anchor: BlockOffset_2
7790
+ focus: BlockOffset_2
7791
+ }
7792
+ }
7793
7793
  | {
7794
7794
  type: 'insert.blocks'
7795
7795
  blocks: Array<PortableTextBlock>
@@ -7921,15 +7921,6 @@ declare const editorMachine: StateMachine<
7921
7921
  name: string
7922
7922
  }
7923
7923
  }
7924
- | {
7925
- type: 'annotation.toggle'
7926
- annotation: {
7927
- name: string
7928
- value: {
7929
- [prop: string]: unknown
7930
- }
7931
- }
7932
- }
7933
7924
  | {
7934
7925
  type: 'block.set'
7935
7926
  at: [KeyedSegment]
@@ -7955,14 +7946,6 @@ declare const editorMachine: StateMachine<
7955
7946
  type: 'decorator.remove'
7956
7947
  decorator: string
7957
7948
  }
7958
- | {
7959
- type: 'decorator.toggle'
7960
- decorator: string
7961
- offsets?: {
7962
- anchor: BlockOffset_2
7963
- focus: BlockOffset_2
7964
- }
7965
- }
7966
7949
  | {
7967
7950
  type: 'delete'
7968
7951
  selection: NonNullable<EditorSelection>
@@ -8046,6 +8029,23 @@ declare const editorMachine: StateMachine<
8046
8029
  type: 'select'
8047
8030
  selection: EditorSelection
8048
8031
  }
8032
+ | {
8033
+ type: 'annotation.toggle'
8034
+ annotation: {
8035
+ name: string
8036
+ value: {
8037
+ [prop: string]: unknown
8038
+ }
8039
+ }
8040
+ }
8041
+ | {
8042
+ type: 'decorator.toggle'
8043
+ decorator: string
8044
+ offsets?: {
8045
+ anchor: BlockOffset_2
8046
+ focus: BlockOffset_2
8047
+ }
8048
+ }
8049
8049
  | {
8050
8050
  type: 'insert.blocks'
8051
8051
  blocks: Array<PortableTextBlock>
@@ -8264,15 +8264,6 @@ declare const editorMachine: StateMachine<
8264
8264
  name: string
8265
8265
  }
8266
8266
  }
8267
- | {
8268
- type: 'annotation.toggle'
8269
- annotation: {
8270
- name: string
8271
- value: {
8272
- [prop: string]: unknown
8273
- }
8274
- }
8275
- }
8276
8267
  | {
8277
8268
  type: 'block.set'
8278
8269
  at: [KeyedSegment]
@@ -8298,14 +8289,6 @@ declare const editorMachine: StateMachine<
8298
8289
  type: 'decorator.remove'
8299
8290
  decorator: string
8300
8291
  }
8301
- | {
8302
- type: 'decorator.toggle'
8303
- decorator: string
8304
- offsets?: {
8305
- anchor: BlockOffset_2
8306
- focus: BlockOffset_2
8307
- }
8308
- }
8309
8292
  | {
8310
8293
  type: 'delete'
8311
8294
  selection: NonNullable<EditorSelection>
@@ -8389,6 +8372,23 @@ declare const editorMachine: StateMachine<
8389
8372
  type: 'select'
8390
8373
  selection: EditorSelection
8391
8374
  }
8375
+ | {
8376
+ type: 'annotation.toggle'
8377
+ annotation: {
8378
+ name: string
8379
+ value: {
8380
+ [prop: string]: unknown
8381
+ }
8382
+ }
8383
+ }
8384
+ | {
8385
+ type: 'decorator.toggle'
8386
+ decorator: string
8387
+ offsets?: {
8388
+ anchor: BlockOffset_2
8389
+ focus: BlockOffset_2
8390
+ }
8391
+ }
8392
8392
  | {
8393
8393
  type: 'insert.blocks'
8394
8394
  blocks: Array<PortableTextBlock>
@@ -8604,15 +8604,6 @@ declare const editorMachine: StateMachine<
8604
8604
  name: string
8605
8605
  }
8606
8606
  }
8607
- | {
8608
- type: 'annotation.toggle'
8609
- annotation: {
8610
- name: string
8611
- value: {
8612
- [prop: string]: unknown
8613
- }
8614
- }
8615
- }
8616
8607
  | {
8617
8608
  type: 'block.set'
8618
8609
  at: [KeyedSegment]
@@ -8638,14 +8629,6 @@ declare const editorMachine: StateMachine<
8638
8629
  type: 'decorator.remove'
8639
8630
  decorator: string
8640
8631
  }
8641
- | {
8642
- type: 'decorator.toggle'
8643
- decorator: string
8644
- offsets?: {
8645
- anchor: BlockOffset_2
8646
- focus: BlockOffset_2
8647
- }
8648
- }
8649
8632
  | {
8650
8633
  type: 'delete'
8651
8634
  selection: NonNullable<EditorSelection>
@@ -8729,6 +8712,23 @@ declare const editorMachine: StateMachine<
8729
8712
  type: 'select'
8730
8713
  selection: EditorSelection
8731
8714
  }
8715
+ | {
8716
+ type: 'annotation.toggle'
8717
+ annotation: {
8718
+ name: string
8719
+ value: {
8720
+ [prop: string]: unknown
8721
+ }
8722
+ }
8723
+ }
8724
+ | {
8725
+ type: 'decorator.toggle'
8726
+ decorator: string
8727
+ offsets?: {
8728
+ anchor: BlockOffset_2
8729
+ focus: BlockOffset_2
8730
+ }
8731
+ }
8732
8732
  | {
8733
8733
  type: 'insert.blocks'
8734
8734
  blocks: Array<PortableTextBlock>
@@ -9113,15 +9113,6 @@ declare const editorMachine: StateMachine<
9113
9113
  name: string
9114
9114
  }
9115
9115
  }
9116
- | {
9117
- type: 'annotation.toggle'
9118
- annotation: {
9119
- name: string
9120
- value: {
9121
- [prop: string]: unknown
9122
- }
9123
- }
9124
- }
9125
9116
  | {
9126
9117
  type: 'block.set'
9127
9118
  at: [KeyedSegment]
@@ -9147,14 +9138,6 @@ declare const editorMachine: StateMachine<
9147
9138
  type: 'decorator.remove'
9148
9139
  decorator: string
9149
9140
  }
9150
- | {
9151
- type: 'decorator.toggle'
9152
- decorator: string
9153
- offsets?: {
9154
- anchor: BlockOffset_2
9155
- focus: BlockOffset_2
9156
- }
9157
- }
9158
9141
  | {
9159
9142
  type: 'delete'
9160
9143
  selection: NonNullable<EditorSelection>
@@ -9238,6 +9221,23 @@ declare const editorMachine: StateMachine<
9238
9221
  type: 'select'
9239
9222
  selection: EditorSelection
9240
9223
  }
9224
+ | {
9225
+ type: 'annotation.toggle'
9226
+ annotation: {
9227
+ name: string
9228
+ value: {
9229
+ [prop: string]: unknown
9230
+ }
9231
+ }
9232
+ }
9233
+ | {
9234
+ type: 'decorator.toggle'
9235
+ decorator: string
9236
+ offsets?: {
9237
+ anchor: BlockOffset_2
9238
+ focus: BlockOffset_2
9239
+ }
9240
+ }
9241
9241
  | {
9242
9242
  type: 'insert.blocks'
9243
9243
  blocks: Array<PortableTextBlock>
@@ -9429,15 +9429,6 @@ declare const editorMachine: StateMachine<
9429
9429
  name: string
9430
9430
  }
9431
9431
  }
9432
- | {
9433
- type: 'annotation.toggle'
9434
- annotation: {
9435
- name: string
9436
- value: {
9437
- [prop: string]: unknown
9438
- }
9439
- }
9440
- }
9441
9432
  | {
9442
9433
  type: 'block.set'
9443
9434
  at: [KeyedSegment]
@@ -9463,14 +9454,6 @@ declare const editorMachine: StateMachine<
9463
9454
  type: 'decorator.remove'
9464
9455
  decorator: string
9465
9456
  }
9466
- | {
9467
- type: 'decorator.toggle'
9468
- decorator: string
9469
- offsets?: {
9470
- anchor: BlockOffset_2
9471
- focus: BlockOffset_2
9472
- }
9473
- }
9474
9457
  | {
9475
9458
  type: 'delete'
9476
9459
  selection: NonNullable<EditorSelection>
@@ -9554,6 +9537,23 @@ declare const editorMachine: StateMachine<
9554
9537
  type: 'select'
9555
9538
  selection: EditorSelection
9556
9539
  }
9540
+ | {
9541
+ type: 'annotation.toggle'
9542
+ annotation: {
9543
+ name: string
9544
+ value: {
9545
+ [prop: string]: unknown
9546
+ }
9547
+ }
9548
+ }
9549
+ | {
9550
+ type: 'decorator.toggle'
9551
+ decorator: string
9552
+ offsets?: {
9553
+ anchor: BlockOffset_2
9554
+ focus: BlockOffset_2
9555
+ }
9556
+ }
9557
9557
  | {
9558
9558
  type: 'insert.blocks'
9559
9559
  blocks: Array<PortableTextBlock>
@@ -9688,15 +9688,6 @@ declare const editorMachine: StateMachine<
9688
9688
  name: string
9689
9689
  }
9690
9690
  }
9691
- | {
9692
- type: 'annotation.toggle'
9693
- annotation: {
9694
- name: string
9695
- value: {
9696
- [prop: string]: unknown
9697
- }
9698
- }
9699
- }
9700
9691
  | {
9701
9692
  type: 'block.set'
9702
9693
  at: [KeyedSegment]
@@ -9722,14 +9713,6 @@ declare const editorMachine: StateMachine<
9722
9713
  type: 'decorator.remove'
9723
9714
  decorator: string
9724
9715
  }
9725
- | {
9726
- type: 'decorator.toggle'
9727
- decorator: string
9728
- offsets?: {
9729
- anchor: BlockOffset_2
9730
- focus: BlockOffset_2
9731
- }
9732
- }
9733
9716
  | {
9734
9717
  type: 'delete'
9735
9718
  selection: NonNullable<EditorSelection>
@@ -9813,6 +9796,23 @@ declare const editorMachine: StateMachine<
9813
9796
  type: 'select'
9814
9797
  selection: EditorSelection
9815
9798
  }
9799
+ | {
9800
+ type: 'annotation.toggle'
9801
+ annotation: {
9802
+ name: string
9803
+ value: {
9804
+ [prop: string]: unknown
9805
+ }
9806
+ }
9807
+ }
9808
+ | {
9809
+ type: 'decorator.toggle'
9810
+ decorator: string
9811
+ offsets?: {
9812
+ anchor: BlockOffset_2
9813
+ focus: BlockOffset_2
9814
+ }
9815
+ }
9816
9816
  | {
9817
9817
  type: 'insert.blocks'
9818
9818
  blocks: Array<PortableTextBlock>
@@ -10004,15 +10004,6 @@ declare const editorMachine: StateMachine<
10004
10004
  name: string
10005
10005
  }
10006
10006
  }
10007
- | {
10008
- type: 'annotation.toggle'
10009
- annotation: {
10010
- name: string
10011
- value: {
10012
- [prop: string]: unknown
10013
- }
10014
- }
10015
- }
10016
10007
  | {
10017
10008
  type: 'block.set'
10018
10009
  at: [KeyedSegment]
@@ -10038,14 +10029,6 @@ declare const editorMachine: StateMachine<
10038
10029
  type: 'decorator.remove'
10039
10030
  decorator: string
10040
10031
  }
10041
- | {
10042
- type: 'decorator.toggle'
10043
- decorator: string
10044
- offsets?: {
10045
- anchor: BlockOffset_2
10046
- focus: BlockOffset_2
10047
- }
10048
- }
10049
10032
  | {
10050
10033
  type: 'delete'
10051
10034
  selection: NonNullable<EditorSelection>
@@ -10129,6 +10112,23 @@ declare const editorMachine: StateMachine<
10129
10112
  type: 'select'
10130
10113
  selection: EditorSelection
10131
10114
  }
10115
+ | {
10116
+ type: 'annotation.toggle'
10117
+ annotation: {
10118
+ name: string
10119
+ value: {
10120
+ [prop: string]: unknown
10121
+ }
10122
+ }
10123
+ }
10124
+ | {
10125
+ type: 'decorator.toggle'
10126
+ decorator: string
10127
+ offsets?: {
10128
+ anchor: BlockOffset_2
10129
+ focus: BlockOffset_2
10130
+ }
10131
+ }
10132
10132
  | {
10133
10133
  type: 'insert.blocks'
10134
10134
  blocks: Array<PortableTextBlock>
@@ -10256,15 +10256,6 @@ declare const editorMachine: StateMachine<
10256
10256
  name: string
10257
10257
  }
10258
10258
  }
10259
- | {
10260
- type: 'annotation.toggle'
10261
- annotation: {
10262
- name: string
10263
- value: {
10264
- [prop: string]: unknown
10265
- }
10266
- }
10267
- }
10268
10259
  | {
10269
10260
  type: 'block.set'
10270
10261
  at: [KeyedSegment]
@@ -10290,14 +10281,6 @@ declare const editorMachine: StateMachine<
10290
10281
  type: 'decorator.remove'
10291
10282
  decorator: string
10292
10283
  }
10293
- | {
10294
- type: 'decorator.toggle'
10295
- decorator: string
10296
- offsets?: {
10297
- anchor: BlockOffset_2
10298
- focus: BlockOffset_2
10299
- }
10300
- }
10301
10284
  | {
10302
10285
  type: 'delete'
10303
10286
  selection: NonNullable<EditorSelection>
@@ -10381,6 +10364,23 @@ declare const editorMachine: StateMachine<
10381
10364
  type: 'select'
10382
10365
  selection: EditorSelection
10383
10366
  }
10367
+ | {
10368
+ type: 'annotation.toggle'
10369
+ annotation: {
10370
+ name: string
10371
+ value: {
10372
+ [prop: string]: unknown
10373
+ }
10374
+ }
10375
+ }
10376
+ | {
10377
+ type: 'decorator.toggle'
10378
+ decorator: string
10379
+ offsets?: {
10380
+ anchor: BlockOffset_2
10381
+ focus: BlockOffset_2
10382
+ }
10383
+ }
10384
10384
  | {
10385
10385
  type: 'insert.blocks'
10386
10386
  blocks: Array<PortableTextBlock>
@@ -10572,15 +10572,6 @@ declare const editorMachine: StateMachine<
10572
10572
  name: string
10573
10573
  }
10574
10574
  }
10575
- | {
10576
- type: 'annotation.toggle'
10577
- annotation: {
10578
- name: string
10579
- value: {
10580
- [prop: string]: unknown
10581
- }
10582
- }
10583
- }
10584
10575
  | {
10585
10576
  type: 'block.set'
10586
10577
  at: [KeyedSegment]
@@ -10606,14 +10597,6 @@ declare const editorMachine: StateMachine<
10606
10597
  type: 'decorator.remove'
10607
10598
  decorator: string
10608
10599
  }
10609
- | {
10610
- type: 'decorator.toggle'
10611
- decorator: string
10612
- offsets?: {
10613
- anchor: BlockOffset_2
10614
- focus: BlockOffset_2
10615
- }
10616
- }
10617
10600
  | {
10618
10601
  type: 'delete'
10619
10602
  selection: NonNullable<EditorSelection>
@@ -10697,6 +10680,23 @@ declare const editorMachine: StateMachine<
10697
10680
  type: 'select'
10698
10681
  selection: EditorSelection
10699
10682
  }
10683
+ | {
10684
+ type: 'annotation.toggle'
10685
+ annotation: {
10686
+ name: string
10687
+ value: {
10688
+ [prop: string]: unknown
10689
+ }
10690
+ }
10691
+ }
10692
+ | {
10693
+ type: 'decorator.toggle'
10694
+ decorator: string
10695
+ offsets?: {
10696
+ anchor: BlockOffset_2
10697
+ focus: BlockOffset_2
10698
+ }
10699
+ }
10700
10700
  | {
10701
10701
  type: 'insert.blocks'
10702
10702
  blocks: Array<PortableTextBlock>
@@ -10824,15 +10824,6 @@ declare const editorMachine: StateMachine<
10824
10824
  name: string
10825
10825
  }
10826
10826
  }
10827
- | {
10828
- type: 'annotation.toggle'
10829
- annotation: {
10830
- name: string
10831
- value: {
10832
- [prop: string]: unknown
10833
- }
10834
- }
10835
- }
10836
10827
  | {
10837
10828
  type: 'block.set'
10838
10829
  at: [KeyedSegment]
@@ -10858,14 +10849,6 @@ declare const editorMachine: StateMachine<
10858
10849
  type: 'decorator.remove'
10859
10850
  decorator: string
10860
10851
  }
10861
- | {
10862
- type: 'decorator.toggle'
10863
- decorator: string
10864
- offsets?: {
10865
- anchor: BlockOffset_2
10866
- focus: BlockOffset_2
10867
- }
10868
- }
10869
10852
  | {
10870
10853
  type: 'delete'
10871
10854
  selection: NonNullable<EditorSelection>
@@ -10949,6 +10932,23 @@ declare const editorMachine: StateMachine<
10949
10932
  type: 'select'
10950
10933
  selection: EditorSelection
10951
10934
  }
10935
+ | {
10936
+ type: 'annotation.toggle'
10937
+ annotation: {
10938
+ name: string
10939
+ value: {
10940
+ [prop: string]: unknown
10941
+ }
10942
+ }
10943
+ }
10944
+ | {
10945
+ type: 'decorator.toggle'
10946
+ decorator: string
10947
+ offsets?: {
10948
+ anchor: BlockOffset_2
10949
+ focus: BlockOffset_2
10950
+ }
10951
+ }
10952
10952
  | {
10953
10953
  type: 'insert.blocks'
10954
10954
  blocks: Array<PortableTextBlock>
@@ -11140,15 +11140,6 @@ declare const editorMachine: StateMachine<
11140
11140
  name: string
11141
11141
  }
11142
11142
  }
11143
- | {
11144
- type: 'annotation.toggle'
11145
- annotation: {
11146
- name: string
11147
- value: {
11148
- [prop: string]: unknown
11149
- }
11150
- }
11151
- }
11152
11143
  | {
11153
11144
  type: 'block.set'
11154
11145
  at: [KeyedSegment]
@@ -11174,14 +11165,6 @@ declare const editorMachine: StateMachine<
11174
11165
  type: 'decorator.remove'
11175
11166
  decorator: string
11176
11167
  }
11177
- | {
11178
- type: 'decorator.toggle'
11179
- decorator: string
11180
- offsets?: {
11181
- anchor: BlockOffset_2
11182
- focus: BlockOffset_2
11183
- }
11184
- }
11185
11168
  | {
11186
11169
  type: 'delete'
11187
11170
  selection: NonNullable<EditorSelection>
@@ -11265,6 +11248,23 @@ declare const editorMachine: StateMachine<
11265
11248
  type: 'select'
11266
11249
  selection: EditorSelection
11267
11250
  }
11251
+ | {
11252
+ type: 'annotation.toggle'
11253
+ annotation: {
11254
+ name: string
11255
+ value: {
11256
+ [prop: string]: unknown
11257
+ }
11258
+ }
11259
+ }
11260
+ | {
11261
+ type: 'decorator.toggle'
11262
+ decorator: string
11263
+ offsets?: {
11264
+ anchor: BlockOffset_2
11265
+ focus: BlockOffset_2
11266
+ }
11267
+ }
11268
11268
  | {
11269
11269
  type: 'insert.blocks'
11270
11270
  blocks: Array<PortableTextBlock>
@@ -11409,15 +11409,6 @@ declare const editorMachine: StateMachine<
11409
11409
  name: string
11410
11410
  }
11411
11411
  }
11412
- | {
11413
- type: 'annotation.toggle'
11414
- annotation: {
11415
- name: string
11416
- value: {
11417
- [prop: string]: unknown
11418
- }
11419
- }
11420
- }
11421
11412
  | {
11422
11413
  type: 'block.set'
11423
11414
  at: [KeyedSegment]
@@ -11443,14 +11434,6 @@ declare const editorMachine: StateMachine<
11443
11434
  type: 'decorator.remove'
11444
11435
  decorator: string
11445
11436
  }
11446
- | {
11447
- type: 'decorator.toggle'
11448
- decorator: string
11449
- offsets?: {
11450
- anchor: BlockOffset_2
11451
- focus: BlockOffset_2
11452
- }
11453
- }
11454
11437
  | {
11455
11438
  type: 'delete'
11456
11439
  selection: NonNullable<EditorSelection>
@@ -11534,6 +11517,23 @@ declare const editorMachine: StateMachine<
11534
11517
  type: 'select'
11535
11518
  selection: EditorSelection
11536
11519
  }
11520
+ | {
11521
+ type: 'annotation.toggle'
11522
+ annotation: {
11523
+ name: string
11524
+ value: {
11525
+ [prop: string]: unknown
11526
+ }
11527
+ }
11528
+ }
11529
+ | {
11530
+ type: 'decorator.toggle'
11531
+ decorator: string
11532
+ offsets?: {
11533
+ anchor: BlockOffset_2
11534
+ focus: BlockOffset_2
11535
+ }
11536
+ }
11537
11537
  | {
11538
11538
  type: 'insert.blocks'
11539
11539
  blocks: Array<PortableTextBlock>
@@ -11725,15 +11725,6 @@ declare const editorMachine: StateMachine<
11725
11725
  name: string
11726
11726
  }
11727
11727
  }
11728
- | {
11729
- type: 'annotation.toggle'
11730
- annotation: {
11731
- name: string
11732
- value: {
11733
- [prop: string]: unknown
11734
- }
11735
- }
11736
- }
11737
11728
  | {
11738
11729
  type: 'block.set'
11739
11730
  at: [KeyedSegment]
@@ -11759,14 +11750,6 @@ declare const editorMachine: StateMachine<
11759
11750
  type: 'decorator.remove'
11760
11751
  decorator: string
11761
11752
  }
11762
- | {
11763
- type: 'decorator.toggle'
11764
- decorator: string
11765
- offsets?: {
11766
- anchor: BlockOffset_2
11767
- focus: BlockOffset_2
11768
- }
11769
- }
11770
11753
  | {
11771
11754
  type: 'delete'
11772
11755
  selection: NonNullable<EditorSelection>
@@ -11851,7 +11834,24 @@ declare const editorMachine: StateMachine<
11851
11834
  selection: EditorSelection
11852
11835
  }
11853
11836
  | {
11854
- type: 'insert.blocks'
11837
+ type: 'annotation.toggle'
11838
+ annotation: {
11839
+ name: string
11840
+ value: {
11841
+ [prop: string]: unknown
11842
+ }
11843
+ }
11844
+ }
11845
+ | {
11846
+ type: 'decorator.toggle'
11847
+ decorator: string
11848
+ offsets?: {
11849
+ anchor: BlockOffset_2
11850
+ focus: BlockOffset_2
11851
+ }
11852
+ }
11853
+ | {
11854
+ type: 'insert.blocks'
11855
11855
  blocks: Array<PortableTextBlock>
11856
11856
  placement: InsertPlacement_2
11857
11857
  }
@@ -11991,15 +11991,6 @@ declare const editorMachine: StateMachine<
11991
11991
  name: string
11992
11992
  }
11993
11993
  }
11994
- | {
11995
- type: 'annotation.toggle'
11996
- annotation: {
11997
- name: string
11998
- value: {
11999
- [prop: string]: unknown
12000
- }
12001
- }
12002
- }
12003
11994
  | {
12004
11995
  type: 'block.set'
12005
11996
  at: [KeyedSegment]
@@ -12025,14 +12016,6 @@ declare const editorMachine: StateMachine<
12025
12016
  type: 'decorator.remove'
12026
12017
  decorator: string
12027
12018
  }
12028
- | {
12029
- type: 'decorator.toggle'
12030
- decorator: string
12031
- offsets?: {
12032
- anchor: BlockOffset_2
12033
- focus: BlockOffset_2
12034
- }
12035
- }
12036
12019
  | {
12037
12020
  type: 'delete'
12038
12021
  selection: NonNullable<EditorSelection>
@@ -12116,6 +12099,23 @@ declare const editorMachine: StateMachine<
12116
12099
  type: 'select'
12117
12100
  selection: EditorSelection
12118
12101
  }
12102
+ | {
12103
+ type: 'annotation.toggle'
12104
+ annotation: {
12105
+ name: string
12106
+ value: {
12107
+ [prop: string]: unknown
12108
+ }
12109
+ }
12110
+ }
12111
+ | {
12112
+ type: 'decorator.toggle'
12113
+ decorator: string
12114
+ offsets?: {
12115
+ anchor: BlockOffset_2
12116
+ focus: BlockOffset_2
12117
+ }
12118
+ }
12119
12119
  | {
12120
12120
  type: 'insert.blocks'
12121
12121
  blocks: Array<PortableTextBlock>
@@ -12307,15 +12307,6 @@ declare const editorMachine: StateMachine<
12307
12307
  name: string
12308
12308
  }
12309
12309
  }
12310
- | {
12311
- type: 'annotation.toggle'
12312
- annotation: {
12313
- name: string
12314
- value: {
12315
- [prop: string]: unknown
12316
- }
12317
- }
12318
- }
12319
12310
  | {
12320
12311
  type: 'block.set'
12321
12312
  at: [KeyedSegment]
@@ -12341,14 +12332,6 @@ declare const editorMachine: StateMachine<
12341
12332
  type: 'decorator.remove'
12342
12333
  decorator: string
12343
12334
  }
12344
- | {
12345
- type: 'decorator.toggle'
12346
- decorator: string
12347
- offsets?: {
12348
- anchor: BlockOffset_2
12349
- focus: BlockOffset_2
12350
- }
12351
- }
12352
12335
  | {
12353
12336
  type: 'delete'
12354
12337
  selection: NonNullable<EditorSelection>
@@ -12432,6 +12415,23 @@ declare const editorMachine: StateMachine<
12432
12415
  type: 'select'
12433
12416
  selection: EditorSelection
12434
12417
  }
12418
+ | {
12419
+ type: 'annotation.toggle'
12420
+ annotation: {
12421
+ name: string
12422
+ value: {
12423
+ [prop: string]: unknown
12424
+ }
12425
+ }
12426
+ }
12427
+ | {
12428
+ type: 'decorator.toggle'
12429
+ decorator: string
12430
+ offsets?: {
12431
+ anchor: BlockOffset_2
12432
+ focus: BlockOffset_2
12433
+ }
12434
+ }
12435
12435
  | {
12436
12436
  type: 'insert.blocks'
12437
12437
  blocks: Array<PortableTextBlock>
@@ -12559,15 +12559,6 @@ declare const editorMachine: StateMachine<
12559
12559
  name: string
12560
12560
  }
12561
12561
  }
12562
- | {
12563
- type: 'annotation.toggle'
12564
- annotation: {
12565
- name: string
12566
- value: {
12567
- [prop: string]: unknown
12568
- }
12569
- }
12570
- }
12571
12562
  | {
12572
12563
  type: 'block.set'
12573
12564
  at: [KeyedSegment]
@@ -12593,14 +12584,6 @@ declare const editorMachine: StateMachine<
12593
12584
  type: 'decorator.remove'
12594
12585
  decorator: string
12595
12586
  }
12596
- | {
12597
- type: 'decorator.toggle'
12598
- decorator: string
12599
- offsets?: {
12600
- anchor: BlockOffset_2
12601
- focus: BlockOffset_2
12602
- }
12603
- }
12604
12587
  | {
12605
12588
  type: 'delete'
12606
12589
  selection: NonNullable<EditorSelection>
@@ -12684,6 +12667,23 @@ declare const editorMachine: StateMachine<
12684
12667
  type: 'select'
12685
12668
  selection: EditorSelection
12686
12669
  }
12670
+ | {
12671
+ type: 'annotation.toggle'
12672
+ annotation: {
12673
+ name: string
12674
+ value: {
12675
+ [prop: string]: unknown
12676
+ }
12677
+ }
12678
+ }
12679
+ | {
12680
+ type: 'decorator.toggle'
12681
+ decorator: string
12682
+ offsets?: {
12683
+ anchor: BlockOffset_2
12684
+ focus: BlockOffset_2
12685
+ }
12686
+ }
12687
12687
  | {
12688
12688
  type: 'insert.blocks'
12689
12689
  blocks: Array<PortableTextBlock>
@@ -12875,15 +12875,6 @@ declare const editorMachine: StateMachine<
12875
12875
  name: string
12876
12876
  }
12877
12877
  }
12878
- | {
12879
- type: 'annotation.toggle'
12880
- annotation: {
12881
- name: string
12882
- value: {
12883
- [prop: string]: unknown
12884
- }
12885
- }
12886
- }
12887
12878
  | {
12888
12879
  type: 'block.set'
12889
12880
  at: [KeyedSegment]
@@ -12909,14 +12900,6 @@ declare const editorMachine: StateMachine<
12909
12900
  type: 'decorator.remove'
12910
12901
  decorator: string
12911
12902
  }
12912
- | {
12913
- type: 'decorator.toggle'
12914
- decorator: string
12915
- offsets?: {
12916
- anchor: BlockOffset_2
12917
- focus: BlockOffset_2
12918
- }
12919
- }
12920
12903
  | {
12921
12904
  type: 'delete'
12922
12905
  selection: NonNullable<EditorSelection>
@@ -13000,6 +12983,23 @@ declare const editorMachine: StateMachine<
13000
12983
  type: 'select'
13001
12984
  selection: EditorSelection
13002
12985
  }
12986
+ | {
12987
+ type: 'annotation.toggle'
12988
+ annotation: {
12989
+ name: string
12990
+ value: {
12991
+ [prop: string]: unknown
12992
+ }
12993
+ }
12994
+ }
12995
+ | {
12996
+ type: 'decorator.toggle'
12997
+ decorator: string
12998
+ offsets?: {
12999
+ anchor: BlockOffset_2
13000
+ focus: BlockOffset_2
13001
+ }
13002
+ }
13003
13003
  | {
13004
13004
  type: 'insert.blocks'
13005
13005
  blocks: Array<PortableTextBlock>
@@ -13130,15 +13130,6 @@ declare const editorMachine: StateMachine<
13130
13130
  name: string
13131
13131
  }
13132
13132
  }
13133
- | {
13134
- type: 'annotation.toggle'
13135
- annotation: {
13136
- name: string
13137
- value: {
13138
- [prop: string]: unknown
13139
- }
13140
- }
13141
- }
13142
13133
  | {
13143
13134
  type: 'block.set'
13144
13135
  at: [KeyedSegment]
@@ -13164,14 +13155,6 @@ declare const editorMachine: StateMachine<
13164
13155
  type: 'decorator.remove'
13165
13156
  decorator: string
13166
13157
  }
13167
- | {
13168
- type: 'decorator.toggle'
13169
- decorator: string
13170
- offsets?: {
13171
- anchor: BlockOffset_2
13172
- focus: BlockOffset_2
13173
- }
13174
- }
13175
13158
  | {
13176
13159
  type: 'delete'
13177
13160
  selection: NonNullable<EditorSelection>
@@ -13255,6 +13238,23 @@ declare const editorMachine: StateMachine<
13255
13238
  type: 'select'
13256
13239
  selection: EditorSelection
13257
13240
  }
13241
+ | {
13242
+ type: 'annotation.toggle'
13243
+ annotation: {
13244
+ name: string
13245
+ value: {
13246
+ [prop: string]: unknown
13247
+ }
13248
+ }
13249
+ }
13250
+ | {
13251
+ type: 'decorator.toggle'
13252
+ decorator: string
13253
+ offsets?: {
13254
+ anchor: BlockOffset_2
13255
+ focus: BlockOffset_2
13256
+ }
13257
+ }
13258
13258
  | {
13259
13259
  type: 'insert.blocks'
13260
13260
  blocks: Array<PortableTextBlock>
@@ -13446,15 +13446,6 @@ declare const editorMachine: StateMachine<
13446
13446
  name: string
13447
13447
  }
13448
13448
  }
13449
- | {
13450
- type: 'annotation.toggle'
13451
- annotation: {
13452
- name: string
13453
- value: {
13454
- [prop: string]: unknown
13455
- }
13456
- }
13457
- }
13458
13449
  | {
13459
13450
  type: 'block.set'
13460
13451
  at: [KeyedSegment]
@@ -13480,14 +13471,6 @@ declare const editorMachine: StateMachine<
13480
13471
  type: 'decorator.remove'
13481
13472
  decorator: string
13482
13473
  }
13483
- | {
13484
- type: 'decorator.toggle'
13485
- decorator: string
13486
- offsets?: {
13487
- anchor: BlockOffset_2
13488
- focus: BlockOffset_2
13489
- }
13490
- }
13491
13474
  | {
13492
13475
  type: 'delete'
13493
13476
  selection: NonNullable<EditorSelection>
@@ -13571,6 +13554,23 @@ declare const editorMachine: StateMachine<
13571
13554
  type: 'select'
13572
13555
  selection: EditorSelection
13573
13556
  }
13557
+ | {
13558
+ type: 'annotation.toggle'
13559
+ annotation: {
13560
+ name: string
13561
+ value: {
13562
+ [prop: string]: unknown
13563
+ }
13564
+ }
13565
+ }
13566
+ | {
13567
+ type: 'decorator.toggle'
13568
+ decorator: string
13569
+ offsets?: {
13570
+ anchor: BlockOffset_2
13571
+ focus: BlockOffset_2
13572
+ }
13573
+ }
13574
13574
  | {
13575
13575
  type: 'insert.blocks'
13576
13576
  blocks: Array<PortableTextBlock>
@@ -13746,15 +13746,6 @@ declare const editorMachine: StateMachine<
13746
13746
  name: string
13747
13747
  }
13748
13748
  }
13749
- | {
13750
- type: 'annotation.toggle'
13751
- annotation: {
13752
- name: string
13753
- value: {
13754
- [prop: string]: unknown
13755
- }
13756
- }
13757
- }
13758
13749
  | {
13759
13750
  type: 'block.set'
13760
13751
  at: [KeyedSegment]
@@ -13780,14 +13771,6 @@ declare const editorMachine: StateMachine<
13780
13771
  type: 'decorator.remove'
13781
13772
  decorator: string
13782
13773
  }
13783
- | {
13784
- type: 'decorator.toggle'
13785
- decorator: string
13786
- offsets?: {
13787
- anchor: BlockOffset_2
13788
- focus: BlockOffset_2
13789
- }
13790
- }
13791
13774
  | {
13792
13775
  type: 'delete'
13793
13776
  selection: NonNullable<EditorSelection>
@@ -13871,6 +13854,23 @@ declare const editorMachine: StateMachine<
13871
13854
  type: 'select'
13872
13855
  selection: EditorSelection
13873
13856
  }
13857
+ | {
13858
+ type: 'annotation.toggle'
13859
+ annotation: {
13860
+ name: string
13861
+ value: {
13862
+ [prop: string]: unknown
13863
+ }
13864
+ }
13865
+ }
13866
+ | {
13867
+ type: 'decorator.toggle'
13868
+ decorator: string
13869
+ offsets?: {
13870
+ anchor: BlockOffset_2
13871
+ focus: BlockOffset_2
13872
+ }
13873
+ }
13874
13874
  | {
13875
13875
  type: 'insert.blocks'
13876
13876
  blocks: Array<PortableTextBlock>
@@ -14062,15 +14062,6 @@ declare const editorMachine: StateMachine<
14062
14062
  name: string
14063
14063
  }
14064
14064
  }
14065
- | {
14066
- type: 'annotation.toggle'
14067
- annotation: {
14068
- name: string
14069
- value: {
14070
- [prop: string]: unknown
14071
- }
14072
- }
14073
- }
14074
14065
  | {
14075
14066
  type: 'block.set'
14076
14067
  at: [KeyedSegment]
@@ -14096,14 +14087,6 @@ declare const editorMachine: StateMachine<
14096
14087
  type: 'decorator.remove'
14097
14088
  decorator: string
14098
14089
  }
14099
- | {
14100
- type: 'decorator.toggle'
14101
- decorator: string
14102
- offsets?: {
14103
- anchor: BlockOffset_2
14104
- focus: BlockOffset_2
14105
- }
14106
- }
14107
14090
  | {
14108
14091
  type: 'delete'
14109
14092
  selection: NonNullable<EditorSelection>
@@ -14187,6 +14170,23 @@ declare const editorMachine: StateMachine<
14187
14170
  type: 'select'
14188
14171
  selection: EditorSelection
14189
14172
  }
14173
+ | {
14174
+ type: 'annotation.toggle'
14175
+ annotation: {
14176
+ name: string
14177
+ value: {
14178
+ [prop: string]: unknown
14179
+ }
14180
+ }
14181
+ }
14182
+ | {
14183
+ type: 'decorator.toggle'
14184
+ decorator: string
14185
+ offsets?: {
14186
+ anchor: BlockOffset_2
14187
+ focus: BlockOffset_2
14188
+ }
14189
+ }
14190
14190
  | {
14191
14191
  type: 'insert.blocks'
14192
14192
  blocks: Array<PortableTextBlock>
@@ -14323,15 +14323,6 @@ declare const editorMachine: StateMachine<
14323
14323
  name: string
14324
14324
  }
14325
14325
  }
14326
- | {
14327
- type: 'annotation.toggle'
14328
- annotation: {
14329
- name: string
14330
- value: {
14331
- [prop: string]: unknown
14332
- }
14333
- }
14334
- }
14335
14326
  | {
14336
14327
  type: 'block.set'
14337
14328
  at: [KeyedSegment]
@@ -14357,14 +14348,6 @@ declare const editorMachine: StateMachine<
14357
14348
  type: 'decorator.remove'
14358
14349
  decorator: string
14359
14350
  }
14360
- | {
14361
- type: 'decorator.toggle'
14362
- decorator: string
14363
- offsets?: {
14364
- anchor: BlockOffset_2
14365
- focus: BlockOffset_2
14366
- }
14367
- }
14368
14351
  | {
14369
14352
  type: 'delete'
14370
14353
  selection: NonNullable<EditorSelection>
@@ -14448,6 +14431,23 @@ declare const editorMachine: StateMachine<
14448
14431
  type: 'select'
14449
14432
  selection: EditorSelection
14450
14433
  }
14434
+ | {
14435
+ type: 'annotation.toggle'
14436
+ annotation: {
14437
+ name: string
14438
+ value: {
14439
+ [prop: string]: unknown
14440
+ }
14441
+ }
14442
+ }
14443
+ | {
14444
+ type: 'decorator.toggle'
14445
+ decorator: string
14446
+ offsets?: {
14447
+ anchor: BlockOffset_2
14448
+ focus: BlockOffset_2
14449
+ }
14450
+ }
14451
14451
  | {
14452
14452
  type: 'insert.blocks'
14453
14453
  blocks: Array<PortableTextBlock>
@@ -14639,15 +14639,6 @@ declare const editorMachine: StateMachine<
14639
14639
  name: string
14640
14640
  }
14641
14641
  }
14642
- | {
14643
- type: 'annotation.toggle'
14644
- annotation: {
14645
- name: string
14646
- value: {
14647
- [prop: string]: unknown
14648
- }
14649
- }
14650
- }
14651
14642
  | {
14652
14643
  type: 'block.set'
14653
14644
  at: [KeyedSegment]
@@ -14673,14 +14664,6 @@ declare const editorMachine: StateMachine<
14673
14664
  type: 'decorator.remove'
14674
14665
  decorator: string
14675
14666
  }
14676
- | {
14677
- type: 'decorator.toggle'
14678
- decorator: string
14679
- offsets?: {
14680
- anchor: BlockOffset_2
14681
- focus: BlockOffset_2
14682
- }
14683
- }
14684
14667
  | {
14685
14668
  type: 'delete'
14686
14669
  selection: NonNullable<EditorSelection>
@@ -14764,6 +14747,23 @@ declare const editorMachine: StateMachine<
14764
14747
  type: 'select'
14765
14748
  selection: EditorSelection
14766
14749
  }
14750
+ | {
14751
+ type: 'annotation.toggle'
14752
+ annotation: {
14753
+ name: string
14754
+ value: {
14755
+ [prop: string]: unknown
14756
+ }
14757
+ }
14758
+ }
14759
+ | {
14760
+ type: 'decorator.toggle'
14761
+ decorator: string
14762
+ offsets?: {
14763
+ anchor: BlockOffset_2
14764
+ focus: BlockOffset_2
14765
+ }
14766
+ }
14767
14767
  | {
14768
14768
  type: 'insert.blocks'
14769
14769
  blocks: Array<PortableTextBlock>
@@ -14901,15 +14901,6 @@ declare const editorMachine: StateMachine<
14901
14901
  name: string
14902
14902
  }
14903
14903
  }
14904
- | {
14905
- type: 'annotation.toggle'
14906
- annotation: {
14907
- name: string
14908
- value: {
14909
- [prop: string]: unknown
14910
- }
14911
- }
14912
- }
14913
14904
  | {
14914
14905
  type: 'block.set'
14915
14906
  at: [KeyedSegment]
@@ -14935,14 +14926,6 @@ declare const editorMachine: StateMachine<
14935
14926
  type: 'decorator.remove'
14936
14927
  decorator: string
14937
14928
  }
14938
- | {
14939
- type: 'decorator.toggle'
14940
- decorator: string
14941
- offsets?: {
14942
- anchor: BlockOffset_2
14943
- focus: BlockOffset_2
14944
- }
14945
- }
14946
14929
  | {
14947
14930
  type: 'delete'
14948
14931
  selection: NonNullable<EditorSelection>
@@ -15026,6 +15009,23 @@ declare const editorMachine: StateMachine<
15026
15009
  type: 'select'
15027
15010
  selection: EditorSelection
15028
15011
  }
15012
+ | {
15013
+ type: 'annotation.toggle'
15014
+ annotation: {
15015
+ name: string
15016
+ value: {
15017
+ [prop: string]: unknown
15018
+ }
15019
+ }
15020
+ }
15021
+ | {
15022
+ type: 'decorator.toggle'
15023
+ decorator: string
15024
+ offsets?: {
15025
+ anchor: BlockOffset_2
15026
+ focus: BlockOffset_2
15027
+ }
15028
+ }
15029
15029
  | {
15030
15030
  type: 'insert.blocks'
15031
15031
  blocks: Array<PortableTextBlock>
@@ -15217,15 +15217,6 @@ declare const editorMachine: StateMachine<
15217
15217
  name: string
15218
15218
  }
15219
15219
  }
15220
- | {
15221
- type: 'annotation.toggle'
15222
- annotation: {
15223
- name: string
15224
- value: {
15225
- [prop: string]: unknown
15226
- }
15227
- }
15228
- }
15229
15220
  | {
15230
15221
  type: 'block.set'
15231
15222
  at: [KeyedSegment]
@@ -15251,14 +15242,6 @@ declare const editorMachine: StateMachine<
15251
15242
  type: 'decorator.remove'
15252
15243
  decorator: string
15253
15244
  }
15254
- | {
15255
- type: 'decorator.toggle'
15256
- decorator: string
15257
- offsets?: {
15258
- anchor: BlockOffset_2
15259
- focus: BlockOffset_2
15260
- }
15261
- }
15262
15245
  | {
15263
15246
  type: 'delete'
15264
15247
  selection: NonNullable<EditorSelection>
@@ -15342,6 +15325,23 @@ declare const editorMachine: StateMachine<
15342
15325
  type: 'select'
15343
15326
  selection: EditorSelection
15344
15327
  }
15328
+ | {
15329
+ type: 'annotation.toggle'
15330
+ annotation: {
15331
+ name: string
15332
+ value: {
15333
+ [prop: string]: unknown
15334
+ }
15335
+ }
15336
+ }
15337
+ | {
15338
+ type: 'decorator.toggle'
15339
+ decorator: string
15340
+ offsets?: {
15341
+ anchor: BlockOffset_2
15342
+ focus: BlockOffset_2
15343
+ }
15344
+ }
15345
15345
  | {
15346
15346
  type: 'insert.blocks'
15347
15347
  blocks: Array<PortableTextBlock>
@@ -15470,15 +15470,6 @@ declare const editorMachine: StateMachine<
15470
15470
  name: string
15471
15471
  }
15472
15472
  }
15473
- | {
15474
- type: 'annotation.toggle'
15475
- annotation: {
15476
- name: string
15477
- value: {
15478
- [prop: string]: unknown
15479
- }
15480
- }
15481
- }
15482
15473
  | {
15483
15474
  type: 'block.set'
15484
15475
  at: [KeyedSegment]
@@ -15504,14 +15495,6 @@ declare const editorMachine: StateMachine<
15504
15495
  type: 'decorator.remove'
15505
15496
  decorator: string
15506
15497
  }
15507
- | {
15508
- type: 'decorator.toggle'
15509
- decorator: string
15510
- offsets?: {
15511
- anchor: BlockOffset_2
15512
- focus: BlockOffset_2
15513
- }
15514
- }
15515
15498
  | {
15516
15499
  type: 'delete'
15517
15500
  selection: NonNullable<EditorSelection>
@@ -15595,6 +15578,23 @@ declare const editorMachine: StateMachine<
15595
15578
  type: 'select'
15596
15579
  selection: EditorSelection
15597
15580
  }
15581
+ | {
15582
+ type: 'annotation.toggle'
15583
+ annotation: {
15584
+ name: string
15585
+ value: {
15586
+ [prop: string]: unknown
15587
+ }
15588
+ }
15589
+ }
15590
+ | {
15591
+ type: 'decorator.toggle'
15592
+ decorator: string
15593
+ offsets?: {
15594
+ anchor: BlockOffset_2
15595
+ focus: BlockOffset_2
15596
+ }
15597
+ }
15598
15598
  | {
15599
15599
  type: 'insert.blocks'
15600
15600
  blocks: Array<PortableTextBlock>
@@ -15786,15 +15786,6 @@ declare const editorMachine: StateMachine<
15786
15786
  name: string
15787
15787
  }
15788
15788
  }
15789
- | {
15790
- type: 'annotation.toggle'
15791
- annotation: {
15792
- name: string
15793
- value: {
15794
- [prop: string]: unknown
15795
- }
15796
- }
15797
- }
15798
15789
  | {
15799
15790
  type: 'block.set'
15800
15791
  at: [KeyedSegment]
@@ -15820,14 +15811,6 @@ declare const editorMachine: StateMachine<
15820
15811
  type: 'decorator.remove'
15821
15812
  decorator: string
15822
15813
  }
15823
- | {
15824
- type: 'decorator.toggle'
15825
- decorator: string
15826
- offsets?: {
15827
- anchor: BlockOffset_2
15828
- focus: BlockOffset_2
15829
- }
15830
- }
15831
15814
  | {
15832
15815
  type: 'delete'
15833
15816
  selection: NonNullable<EditorSelection>
@@ -15911,6 +15894,23 @@ declare const editorMachine: StateMachine<
15911
15894
  type: 'select'
15912
15895
  selection: EditorSelection
15913
15896
  }
15897
+ | {
15898
+ type: 'annotation.toggle'
15899
+ annotation: {
15900
+ name: string
15901
+ value: {
15902
+ [prop: string]: unknown
15903
+ }
15904
+ }
15905
+ }
15906
+ | {
15907
+ type: 'decorator.toggle'
15908
+ decorator: string
15909
+ offsets?: {
15910
+ anchor: BlockOffset_2
15911
+ focus: BlockOffset_2
15912
+ }
15913
+ }
15914
15914
  | {
15915
15915
  type: 'insert.blocks'
15916
15916
  blocks: Array<PortableTextBlock>
@@ -16060,15 +16060,6 @@ declare const editorMachine: StateMachine<
16060
16060
  name: string
16061
16061
  }
16062
16062
  }
16063
- | {
16064
- type: 'annotation.toggle'
16065
- annotation: {
16066
- name: string
16067
- value: {
16068
- [prop: string]: unknown
16069
- }
16070
- }
16071
- }
16072
16063
  | {
16073
16064
  type: 'block.set'
16074
16065
  at: [KeyedSegment]
@@ -16090,17 +16081,9 @@ declare const editorMachine: StateMachine<
16090
16081
  focus: BlockOffset_2
16091
16082
  }
16092
16083
  }
16093
- | {
16094
- type: 'decorator.remove'
16095
- decorator: string
16096
- }
16097
- | {
16098
- type: 'decorator.toggle'
16099
- decorator: string
16100
- offsets?: {
16101
- anchor: BlockOffset_2
16102
- focus: BlockOffset_2
16103
- }
16084
+ | {
16085
+ type: 'decorator.remove'
16086
+ decorator: string
16104
16087
  }
16105
16088
  | {
16106
16089
  type: 'delete'
@@ -16185,6 +16168,23 @@ declare const editorMachine: StateMachine<
16185
16168
  type: 'select'
16186
16169
  selection: EditorSelection
16187
16170
  }
16171
+ | {
16172
+ type: 'annotation.toggle'
16173
+ annotation: {
16174
+ name: string
16175
+ value: {
16176
+ [prop: string]: unknown
16177
+ }
16178
+ }
16179
+ }
16180
+ | {
16181
+ type: 'decorator.toggle'
16182
+ decorator: string
16183
+ offsets?: {
16184
+ anchor: BlockOffset_2
16185
+ focus: BlockOffset_2
16186
+ }
16187
+ }
16188
16188
  | {
16189
16189
  type: 'insert.blocks'
16190
16190
  blocks: Array<PortableTextBlock>
@@ -16376,15 +16376,6 @@ declare const editorMachine: StateMachine<
16376
16376
  name: string
16377
16377
  }
16378
16378
  }
16379
- | {
16380
- type: 'annotation.toggle'
16381
- annotation: {
16382
- name: string
16383
- value: {
16384
- [prop: string]: unknown
16385
- }
16386
- }
16387
- }
16388
16379
  | {
16389
16380
  type: 'block.set'
16390
16381
  at: [KeyedSegment]
@@ -16410,14 +16401,6 @@ declare const editorMachine: StateMachine<
16410
16401
  type: 'decorator.remove'
16411
16402
  decorator: string
16412
16403
  }
16413
- | {
16414
- type: 'decorator.toggle'
16415
- decorator: string
16416
- offsets?: {
16417
- anchor: BlockOffset_2
16418
- focus: BlockOffset_2
16419
- }
16420
- }
16421
16404
  | {
16422
16405
  type: 'delete'
16423
16406
  selection: NonNullable<EditorSelection>
@@ -16501,6 +16484,23 @@ declare const editorMachine: StateMachine<
16501
16484
  type: 'select'
16502
16485
  selection: EditorSelection
16503
16486
  }
16487
+ | {
16488
+ type: 'annotation.toggle'
16489
+ annotation: {
16490
+ name: string
16491
+ value: {
16492
+ [prop: string]: unknown
16493
+ }
16494
+ }
16495
+ }
16496
+ | {
16497
+ type: 'decorator.toggle'
16498
+ decorator: string
16499
+ offsets?: {
16500
+ anchor: BlockOffset_2
16501
+ focus: BlockOffset_2
16502
+ }
16503
+ }
16504
16504
  | {
16505
16505
  type: 'insert.blocks'
16506
16506
  blocks: Array<PortableTextBlock>
@@ -16651,15 +16651,6 @@ declare const editorMachine: StateMachine<
16651
16651
  name: string
16652
16652
  }
16653
16653
  }
16654
- | {
16655
- type: 'annotation.toggle'
16656
- annotation: {
16657
- name: string
16658
- value: {
16659
- [prop: string]: unknown
16660
- }
16661
- }
16662
- }
16663
16654
  | {
16664
16655
  type: 'block.set'
16665
16656
  at: [KeyedSegment]
@@ -16685,14 +16676,6 @@ declare const editorMachine: StateMachine<
16685
16676
  type: 'decorator.remove'
16686
16677
  decorator: string
16687
16678
  }
16688
- | {
16689
- type: 'decorator.toggle'
16690
- decorator: string
16691
- offsets?: {
16692
- anchor: BlockOffset_2
16693
- focus: BlockOffset_2
16694
- }
16695
- }
16696
16679
  | {
16697
16680
  type: 'delete'
16698
16681
  selection: NonNullable<EditorSelection>
@@ -16776,6 +16759,23 @@ declare const editorMachine: StateMachine<
16776
16759
  type: 'select'
16777
16760
  selection: EditorSelection
16778
16761
  }
16762
+ | {
16763
+ type: 'annotation.toggle'
16764
+ annotation: {
16765
+ name: string
16766
+ value: {
16767
+ [prop: string]: unknown
16768
+ }
16769
+ }
16770
+ }
16771
+ | {
16772
+ type: 'decorator.toggle'
16773
+ decorator: string
16774
+ offsets?: {
16775
+ anchor: BlockOffset_2
16776
+ focus: BlockOffset_2
16777
+ }
16778
+ }
16779
16779
  | {
16780
16780
  type: 'insert.blocks'
16781
16781
  blocks: Array<PortableTextBlock>
@@ -16994,15 +16994,6 @@ declare const editorMachine: StateMachine<
16994
16994
  name: string
16995
16995
  }
16996
16996
  }
16997
- | {
16998
- type: 'annotation.toggle'
16999
- annotation: {
17000
- name: string
17001
- value: {
17002
- [prop: string]: unknown
17003
- }
17004
- }
17005
- }
17006
16997
  | {
17007
16998
  type: 'block.set'
17008
16999
  at: [KeyedSegment]
@@ -17028,14 +17019,6 @@ declare const editorMachine: StateMachine<
17028
17019
  type: 'decorator.remove'
17029
17020
  decorator: string
17030
17021
  }
17031
- | {
17032
- type: 'decorator.toggle'
17033
- decorator: string
17034
- offsets?: {
17035
- anchor: BlockOffset_2
17036
- focus: BlockOffset_2
17037
- }
17038
- }
17039
17022
  | {
17040
17023
  type: 'delete'
17041
17024
  selection: NonNullable<EditorSelection>
@@ -17119,6 +17102,23 @@ declare const editorMachine: StateMachine<
17119
17102
  type: 'select'
17120
17103
  selection: EditorSelection
17121
17104
  }
17105
+ | {
17106
+ type: 'annotation.toggle'
17107
+ annotation: {
17108
+ name: string
17109
+ value: {
17110
+ [prop: string]: unknown
17111
+ }
17112
+ }
17113
+ }
17114
+ | {
17115
+ type: 'decorator.toggle'
17116
+ decorator: string
17117
+ offsets?: {
17118
+ anchor: BlockOffset_2
17119
+ focus: BlockOffset_2
17120
+ }
17121
+ }
17122
17122
  | {
17123
17123
  type: 'insert.blocks'
17124
17124
  blocks: Array<PortableTextBlock>
@@ -17305,15 +17305,6 @@ declare const editorMachine: StateMachine<
17305
17305
  name: string
17306
17306
  }
17307
17307
  }
17308
- | {
17309
- type: 'annotation.toggle'
17310
- annotation: {
17311
- name: string
17312
- value: {
17313
- [prop: string]: unknown
17314
- }
17315
- }
17316
- }
17317
17308
  | {
17318
17309
  type: 'block.set'
17319
17310
  at: [KeyedSegment]
@@ -17339,14 +17330,6 @@ declare const editorMachine: StateMachine<
17339
17330
  type: 'decorator.remove'
17340
17331
  decorator: string
17341
17332
  }
17342
- | {
17343
- type: 'decorator.toggle'
17344
- decorator: string
17345
- offsets?: {
17346
- anchor: BlockOffset_2
17347
- focus: BlockOffset_2
17348
- }
17349
- }
17350
17333
  | {
17351
17334
  type: 'delete'
17352
17335
  selection: NonNullable<EditorSelection>
@@ -17430,6 +17413,23 @@ declare const editorMachine: StateMachine<
17430
17413
  type: 'select'
17431
17414
  selection: EditorSelection
17432
17415
  }
17416
+ | {
17417
+ type: 'annotation.toggle'
17418
+ annotation: {
17419
+ name: string
17420
+ value: {
17421
+ [prop: string]: unknown
17422
+ }
17423
+ }
17424
+ }
17425
+ | {
17426
+ type: 'decorator.toggle'
17427
+ decorator: string
17428
+ offsets?: {
17429
+ anchor: BlockOffset_2
17430
+ focus: BlockOffset_2
17431
+ }
17432
+ }
17433
17433
  | {
17434
17434
  type: 'insert.blocks'
17435
17435
  blocks: Array<PortableTextBlock>
@@ -17633,15 +17633,6 @@ declare const editorMachine: StateMachine<
17633
17633
  name: string
17634
17634
  }
17635
17635
  }
17636
- | {
17637
- type: 'annotation.toggle'
17638
- annotation: {
17639
- name: string
17640
- value: {
17641
- [prop: string]: unknown
17642
- }
17643
- }
17644
- }
17645
17636
  | {
17646
17637
  type: 'block.set'
17647
17638
  at: [KeyedSegment]
@@ -17667,14 +17658,6 @@ declare const editorMachine: StateMachine<
17667
17658
  type: 'decorator.remove'
17668
17659
  decorator: string
17669
17660
  }
17670
- | {
17671
- type: 'decorator.toggle'
17672
- decorator: string
17673
- offsets?: {
17674
- anchor: BlockOffset_2
17675
- focus: BlockOffset_2
17676
- }
17677
- }
17678
17661
  | {
17679
17662
  type: 'delete'
17680
17663
  selection: NonNullable<EditorSelection>
@@ -17758,6 +17741,23 @@ declare const editorMachine: StateMachine<
17758
17741
  type: 'select'
17759
17742
  selection: EditorSelection
17760
17743
  }
17744
+ | {
17745
+ type: 'annotation.toggle'
17746
+ annotation: {
17747
+ name: string
17748
+ value: {
17749
+ [prop: string]: unknown
17750
+ }
17751
+ }
17752
+ }
17753
+ | {
17754
+ type: 'decorator.toggle'
17755
+ decorator: string
17756
+ offsets?: {
17757
+ anchor: BlockOffset_2
17758
+ focus: BlockOffset_2
17759
+ }
17760
+ }
17761
17761
  | {
17762
17762
  type: 'insert.blocks'
17763
17763
  blocks: Array<PortableTextBlock>
@@ -17944,15 +17944,6 @@ declare const editorMachine: StateMachine<
17944
17944
  name: string
17945
17945
  }
17946
17946
  }
17947
- | {
17948
- type: 'annotation.toggle'
17949
- annotation: {
17950
- name: string
17951
- value: {
17952
- [prop: string]: unknown
17953
- }
17954
- }
17955
- }
17956
17947
  | {
17957
17948
  type: 'block.set'
17958
17949
  at: [KeyedSegment]
@@ -17978,14 +17969,6 @@ declare const editorMachine: StateMachine<
17978
17969
  type: 'decorator.remove'
17979
17970
  decorator: string
17980
17971
  }
17981
- | {
17982
- type: 'decorator.toggle'
17983
- decorator: string
17984
- offsets?: {
17985
- anchor: BlockOffset_2
17986
- focus: BlockOffset_2
17987
- }
17988
- }
17989
17972
  | {
17990
17973
  type: 'delete'
17991
17974
  selection: NonNullable<EditorSelection>
@@ -18069,6 +18052,23 @@ declare const editorMachine: StateMachine<
18069
18052
  type: 'select'
18070
18053
  selection: EditorSelection
18071
18054
  }
18055
+ | {
18056
+ type: 'annotation.toggle'
18057
+ annotation: {
18058
+ name: string
18059
+ value: {
18060
+ [prop: string]: unknown
18061
+ }
18062
+ }
18063
+ }
18064
+ | {
18065
+ type: 'decorator.toggle'
18066
+ decorator: string
18067
+ offsets?: {
18068
+ anchor: BlockOffset_2
18069
+ focus: BlockOffset_2
18070
+ }
18071
+ }
18072
18072
  | {
18073
18073
  type: 'insert.blocks'
18074
18074
  blocks: Array<PortableTextBlock>
@@ -18452,6 +18452,8 @@ declare type ExternalBehaviorEvent =
18452
18452
  | PickFromUnion<
18453
18453
  InternalBehaviorEvent,
18454
18454
  'type',
18455
+ | 'annotation.toggle'
18456
+ | 'decorator.toggle'
18455
18457
  | 'insert.blocks'
18456
18458
  | 'list item.add'
18457
18459
  | 'list item.remove'
@@ -18542,6 +18544,23 @@ declare type InputBehaviorEvent = {
18542
18544
  declare type InsertPlacement = 'auto' | 'after' | 'before'
18543
18545
 
18544
18546
  declare type InternalBehaviorEvent =
18547
+ | {
18548
+ type: InternalBehaviorEventType<'annotation', 'toggle'>
18549
+ annotation: {
18550
+ name: string
18551
+ value: {
18552
+ [prop: string]: unknown
18553
+ }
18554
+ }
18555
+ }
18556
+ | {
18557
+ type: InternalBehaviorEventType<'decorator', 'toggle'>
18558
+ decorator: string
18559
+ offsets?: {
18560
+ anchor: BlockOffset
18561
+ focus: BlockOffset
18562
+ }
18563
+ }
18545
18564
  | {
18546
18565
  type: InternalBehaviorEventType<'deserialize'>
18547
18566
  originEvent:
@@ -18646,6 +18665,8 @@ declare type InternalBehaviorEvent =
18646
18665
  * Internal events
18647
18666
  **************************************/
18648
18667
  declare type InternalBehaviorEventNamespace =
18668
+ | 'annotation'
18669
+ | 'decorator'
18649
18670
  | 'deserialize'
18650
18671
  | 'deserialization'
18651
18672
  | 'list item'
@@ -18997,15 +19018,6 @@ declare type SyntheticBehaviorEvent =
18997
19018
  name: string
18998
19019
  }
18999
19020
  }
19000
- | {
19001
- type: SyntheticBehaviorEventType<'annotation', 'toggle'>
19002
- annotation: {
19003
- name: string
19004
- value: {
19005
- [prop: string]: unknown
19006
- }
19007
- }
19008
- }
19009
19021
  | {
19010
19022
  type: SyntheticBehaviorEventType<'block', 'set'>
19011
19023
  at: [KeyedSegment]
@@ -19031,14 +19043,6 @@ declare type SyntheticBehaviorEvent =
19031
19043
  type: SyntheticBehaviorEventType<'decorator', 'remove'>
19032
19044
  decorator: string
19033
19045
  }
19034
- | {
19035
- type: SyntheticBehaviorEventType<'decorator', 'toggle'>
19036
- decorator: string
19037
- offsets?: {
19038
- anchor: BlockOffset
19039
- focus: BlockOffset
19040
- }
19041
- }
19042
19046
  | {
19043
19047
  type: SyntheticBehaviorEventType<'delete'>
19044
19048
  selection: NonNullable<EditorSelection>