@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.
@@ -447,15 +447,6 @@ declare const editorMachine: StateMachine<
447
447
  name: string
448
448
  }
449
449
  }
450
- | {
451
- type: 'annotation.toggle'
452
- annotation: {
453
- name: string
454
- value: {
455
- [prop: string]: unknown
456
- }
457
- }
458
- }
459
450
  | {
460
451
  type: 'block.set'
461
452
  at: [KeyedSegment]
@@ -481,14 +472,6 @@ declare const editorMachine: StateMachine<
481
472
  type: 'decorator.remove'
482
473
  decorator: string
483
474
  }
484
- | {
485
- type: 'decorator.toggle'
486
- decorator: string
487
- offsets?: {
488
- anchor: BlockOffset_2
489
- focus: BlockOffset_2
490
- }
491
- }
492
475
  | {
493
476
  type: 'delete'
494
477
  selection: NonNullable<EditorSelection>
@@ -572,6 +555,23 @@ declare const editorMachine: StateMachine<
572
555
  type: 'select'
573
556
  selection: EditorSelection
574
557
  }
558
+ | {
559
+ type: 'annotation.toggle'
560
+ annotation: {
561
+ name: string
562
+ value: {
563
+ [prop: string]: unknown
564
+ }
565
+ }
566
+ }
567
+ | {
568
+ type: 'decorator.toggle'
569
+ decorator: string
570
+ offsets?: {
571
+ anchor: BlockOffset_2
572
+ focus: BlockOffset_2
573
+ }
574
+ }
575
575
  | {
576
576
  type: 'insert.blocks'
577
577
  blocks: Array<PortableTextBlock>
@@ -842,15 +842,6 @@ declare const editorMachine: StateMachine<
842
842
  name: string
843
843
  }
844
844
  }
845
- | {
846
- type: 'annotation.toggle'
847
- annotation: {
848
- name: string
849
- value: {
850
- [prop: string]: unknown
851
- }
852
- }
853
- }
854
845
  | {
855
846
  type: 'block.set'
856
847
  at: [KeyedSegment]
@@ -876,14 +867,6 @@ declare const editorMachine: StateMachine<
876
867
  type: 'decorator.remove'
877
868
  decorator: string
878
869
  }
879
- | {
880
- type: 'decorator.toggle'
881
- decorator: string
882
- offsets?: {
883
- anchor: BlockOffset_2
884
- focus: BlockOffset_2
885
- }
886
- }
887
870
  | {
888
871
  type: 'delete'
889
872
  selection: NonNullable<EditorSelection>
@@ -967,6 +950,23 @@ declare const editorMachine: StateMachine<
967
950
  type: 'select'
968
951
  selection: EditorSelection
969
952
  }
953
+ | {
954
+ type: 'annotation.toggle'
955
+ annotation: {
956
+ name: string
957
+ value: {
958
+ [prop: string]: unknown
959
+ }
960
+ }
961
+ }
962
+ | {
963
+ type: 'decorator.toggle'
964
+ decorator: string
965
+ offsets?: {
966
+ anchor: BlockOffset_2
967
+ focus: BlockOffset_2
968
+ }
969
+ }
970
970
  | {
971
971
  type: 'insert.blocks'
972
972
  blocks: Array<PortableTextBlock>
@@ -1126,15 +1126,6 @@ declare const editorMachine: StateMachine<
1126
1126
  name: string
1127
1127
  }
1128
1128
  }
1129
- | {
1130
- type: 'annotation.toggle'
1131
- annotation: {
1132
- name: string
1133
- value: {
1134
- [prop: string]: unknown
1135
- }
1136
- }
1137
- }
1138
1129
  | {
1139
1130
  type: 'block.set'
1140
1131
  at: [KeyedSegment]
@@ -1160,14 +1151,6 @@ declare const editorMachine: StateMachine<
1160
1151
  type: 'decorator.remove'
1161
1152
  decorator: string
1162
1153
  }
1163
- | {
1164
- type: 'decorator.toggle'
1165
- decorator: string
1166
- offsets?: {
1167
- anchor: BlockOffset_2
1168
- focus: BlockOffset_2
1169
- }
1170
- }
1171
1154
  | {
1172
1155
  type: 'delete'
1173
1156
  selection: NonNullable<EditorSelection>
@@ -1251,6 +1234,23 @@ declare const editorMachine: StateMachine<
1251
1234
  type: 'select'
1252
1235
  selection: EditorSelection
1253
1236
  }
1237
+ | {
1238
+ type: 'annotation.toggle'
1239
+ annotation: {
1240
+ name: string
1241
+ value: {
1242
+ [prop: string]: unknown
1243
+ }
1244
+ }
1245
+ }
1246
+ | {
1247
+ type: 'decorator.toggle'
1248
+ decorator: string
1249
+ offsets?: {
1250
+ anchor: BlockOffset_2
1251
+ focus: BlockOffset_2
1252
+ }
1253
+ }
1254
1254
  | {
1255
1255
  type: 'insert.blocks'
1256
1256
  blocks: Array<PortableTextBlock>
@@ -1444,15 +1444,6 @@ declare const editorMachine: StateMachine<
1444
1444
  name: string
1445
1445
  }
1446
1446
  }
1447
- | {
1448
- type: 'annotation.toggle'
1449
- annotation: {
1450
- name: string
1451
- value: {
1452
- [prop: string]: unknown
1453
- }
1454
- }
1455
- }
1456
1447
  | {
1457
1448
  type: 'block.set'
1458
1449
  at: [KeyedSegment]
@@ -1478,14 +1469,6 @@ declare const editorMachine: StateMachine<
1478
1469
  type: 'decorator.remove'
1479
1470
  decorator: string
1480
1471
  }
1481
- | {
1482
- type: 'decorator.toggle'
1483
- decorator: string
1484
- offsets?: {
1485
- anchor: BlockOffset_2
1486
- focus: BlockOffset_2
1487
- }
1488
- }
1489
1472
  | {
1490
1473
  type: 'delete'
1491
1474
  selection: NonNullable<EditorSelection>
@@ -1569,6 +1552,23 @@ declare const editorMachine: StateMachine<
1569
1552
  type: 'select'
1570
1553
  selection: EditorSelection
1571
1554
  }
1555
+ | {
1556
+ type: 'annotation.toggle'
1557
+ annotation: {
1558
+ name: string
1559
+ value: {
1560
+ [prop: string]: unknown
1561
+ }
1562
+ }
1563
+ }
1564
+ | {
1565
+ type: 'decorator.toggle'
1566
+ decorator: string
1567
+ offsets?: {
1568
+ anchor: BlockOffset_2
1569
+ focus: BlockOffset_2
1570
+ }
1571
+ }
1572
1572
  | {
1573
1573
  type: 'insert.blocks'
1574
1574
  blocks: Array<PortableTextBlock>
@@ -1790,15 +1790,6 @@ declare const editorMachine: StateMachine<
1790
1790
  name: string
1791
1791
  }
1792
1792
  }
1793
- | {
1794
- type: 'annotation.toggle'
1795
- annotation: {
1796
- name: string
1797
- value: {
1798
- [prop: string]: unknown
1799
- }
1800
- }
1801
- }
1802
1793
  | {
1803
1794
  type: 'block.set'
1804
1795
  at: [KeyedSegment]
@@ -1824,14 +1815,6 @@ declare const editorMachine: StateMachine<
1824
1815
  type: 'decorator.remove'
1825
1816
  decorator: string
1826
1817
  }
1827
- | {
1828
- type: 'decorator.toggle'
1829
- decorator: string
1830
- offsets?: {
1831
- anchor: BlockOffset_2
1832
- focus: BlockOffset_2
1833
- }
1834
- }
1835
1818
  | {
1836
1819
  type: 'delete'
1837
1820
  selection: NonNullable<EditorSelection>
@@ -1915,6 +1898,23 @@ declare const editorMachine: StateMachine<
1915
1898
  type: 'select'
1916
1899
  selection: EditorSelection
1917
1900
  }
1901
+ | {
1902
+ type: 'annotation.toggle'
1903
+ annotation: {
1904
+ name: string
1905
+ value: {
1906
+ [prop: string]: unknown
1907
+ }
1908
+ }
1909
+ }
1910
+ | {
1911
+ type: 'decorator.toggle'
1912
+ decorator: string
1913
+ offsets?: {
1914
+ anchor: BlockOffset_2
1915
+ focus: BlockOffset_2
1916
+ }
1917
+ }
1918
1918
  | {
1919
1919
  type: 'insert.blocks'
1920
1920
  blocks: Array<PortableTextBlock>
@@ -2106,15 +2106,6 @@ declare const editorMachine: StateMachine<
2106
2106
  name: string
2107
2107
  }
2108
2108
  }
2109
- | {
2110
- type: 'annotation.toggle'
2111
- annotation: {
2112
- name: string
2113
- value: {
2114
- [prop: string]: unknown
2115
- }
2116
- }
2117
- }
2118
2109
  | {
2119
2110
  type: 'block.set'
2120
2111
  at: [KeyedSegment]
@@ -2140,14 +2131,6 @@ declare const editorMachine: StateMachine<
2140
2131
  type: 'decorator.remove'
2141
2132
  decorator: string
2142
2133
  }
2143
- | {
2144
- type: 'decorator.toggle'
2145
- decorator: string
2146
- offsets?: {
2147
- anchor: BlockOffset_2
2148
- focus: BlockOffset_2
2149
- }
2150
- }
2151
2134
  | {
2152
2135
  type: 'delete'
2153
2136
  selection: NonNullable<EditorSelection>
@@ -2231,6 +2214,23 @@ declare const editorMachine: StateMachine<
2231
2214
  type: 'select'
2232
2215
  selection: EditorSelection
2233
2216
  }
2217
+ | {
2218
+ type: 'annotation.toggle'
2219
+ annotation: {
2220
+ name: string
2221
+ value: {
2222
+ [prop: string]: unknown
2223
+ }
2224
+ }
2225
+ }
2226
+ | {
2227
+ type: 'decorator.toggle'
2228
+ decorator: string
2229
+ offsets?: {
2230
+ anchor: BlockOffset_2
2231
+ focus: BlockOffset_2
2232
+ }
2233
+ }
2234
2234
  | {
2235
2235
  type: 'insert.blocks'
2236
2236
  blocks: Array<PortableTextBlock>
@@ -2358,15 +2358,6 @@ declare const editorMachine: StateMachine<
2358
2358
  name: string
2359
2359
  }
2360
2360
  }
2361
- | {
2362
- type: 'annotation.toggle'
2363
- annotation: {
2364
- name: string
2365
- value: {
2366
- [prop: string]: unknown
2367
- }
2368
- }
2369
- }
2370
2361
  | {
2371
2362
  type: 'block.set'
2372
2363
  at: [KeyedSegment]
@@ -2392,14 +2383,6 @@ declare const editorMachine: StateMachine<
2392
2383
  type: 'decorator.remove'
2393
2384
  decorator: string
2394
2385
  }
2395
- | {
2396
- type: 'decorator.toggle'
2397
- decorator: string
2398
- offsets?: {
2399
- anchor: BlockOffset_2
2400
- focus: BlockOffset_2
2401
- }
2402
- }
2403
2386
  | {
2404
2387
  type: 'delete'
2405
2388
  selection: NonNullable<EditorSelection>
@@ -2483,6 +2466,23 @@ declare const editorMachine: StateMachine<
2483
2466
  type: 'select'
2484
2467
  selection: EditorSelection
2485
2468
  }
2469
+ | {
2470
+ type: 'annotation.toggle'
2471
+ annotation: {
2472
+ name: string
2473
+ value: {
2474
+ [prop: string]: unknown
2475
+ }
2476
+ }
2477
+ }
2478
+ | {
2479
+ type: 'decorator.toggle'
2480
+ decorator: string
2481
+ offsets?: {
2482
+ anchor: BlockOffset_2
2483
+ focus: BlockOffset_2
2484
+ }
2485
+ }
2486
2486
  | {
2487
2487
  type: 'insert.blocks'
2488
2488
  blocks: Array<PortableTextBlock>
@@ -2674,15 +2674,6 @@ declare const editorMachine: StateMachine<
2674
2674
  name: string
2675
2675
  }
2676
2676
  }
2677
- | {
2678
- type: 'annotation.toggle'
2679
- annotation: {
2680
- name: string
2681
- value: {
2682
- [prop: string]: unknown
2683
- }
2684
- }
2685
- }
2686
2677
  | {
2687
2678
  type: 'block.set'
2688
2679
  at: [KeyedSegment]
@@ -2708,14 +2699,6 @@ declare const editorMachine: StateMachine<
2708
2699
  type: 'decorator.remove'
2709
2700
  decorator: string
2710
2701
  }
2711
- | {
2712
- type: 'decorator.toggle'
2713
- decorator: string
2714
- offsets?: {
2715
- anchor: BlockOffset_2
2716
- focus: BlockOffset_2
2717
- }
2718
- }
2719
2702
  | {
2720
2703
  type: 'delete'
2721
2704
  selection: NonNullable<EditorSelection>
@@ -2800,7 +2783,24 @@ declare const editorMachine: StateMachine<
2800
2783
  selection: EditorSelection
2801
2784
  }
2802
2785
  | {
2803
- type: 'insert.blocks'
2786
+ type: 'annotation.toggle'
2787
+ annotation: {
2788
+ name: string
2789
+ value: {
2790
+ [prop: string]: unknown
2791
+ }
2792
+ }
2793
+ }
2794
+ | {
2795
+ type: 'decorator.toggle'
2796
+ decorator: string
2797
+ offsets?: {
2798
+ anchor: BlockOffset_2
2799
+ focus: BlockOffset_2
2800
+ }
2801
+ }
2802
+ | {
2803
+ type: 'insert.blocks'
2804
2804
  blocks: Array<PortableTextBlock>
2805
2805
  placement: InsertPlacement_2
2806
2806
  }
@@ -2929,15 +2929,6 @@ declare const editorMachine: StateMachine<
2929
2929
  name: string
2930
2930
  }
2931
2931
  }
2932
- | {
2933
- type: 'annotation.toggle'
2934
- annotation: {
2935
- name: string
2936
- value: {
2937
- [prop: string]: unknown
2938
- }
2939
- }
2940
- }
2941
2932
  | {
2942
2933
  type: 'block.set'
2943
2934
  at: [KeyedSegment]
@@ -2963,14 +2954,6 @@ declare const editorMachine: StateMachine<
2963
2954
  type: 'decorator.remove'
2964
2955
  decorator: string
2965
2956
  }
2966
- | {
2967
- type: 'decorator.toggle'
2968
- decorator: string
2969
- offsets?: {
2970
- anchor: BlockOffset_2
2971
- focus: BlockOffset_2
2972
- }
2973
- }
2974
2957
  | {
2975
2958
  type: 'delete'
2976
2959
  selection: NonNullable<EditorSelection>
@@ -3054,6 +3037,23 @@ declare const editorMachine: StateMachine<
3054
3037
  type: 'select'
3055
3038
  selection: EditorSelection
3056
3039
  }
3040
+ | {
3041
+ type: 'annotation.toggle'
3042
+ annotation: {
3043
+ name: string
3044
+ value: {
3045
+ [prop: string]: unknown
3046
+ }
3047
+ }
3048
+ }
3049
+ | {
3050
+ type: 'decorator.toggle'
3051
+ decorator: string
3052
+ offsets?: {
3053
+ anchor: BlockOffset_2
3054
+ focus: BlockOffset_2
3055
+ }
3056
+ }
3057
3057
  | {
3058
3058
  type: 'insert.blocks'
3059
3059
  blocks: Array<PortableTextBlock>
@@ -3245,15 +3245,6 @@ declare const editorMachine: StateMachine<
3245
3245
  name: string
3246
3246
  }
3247
3247
  }
3248
- | {
3249
- type: 'annotation.toggle'
3250
- annotation: {
3251
- name: string
3252
- value: {
3253
- [prop: string]: unknown
3254
- }
3255
- }
3256
- }
3257
3248
  | {
3258
3249
  type: 'block.set'
3259
3250
  at: [KeyedSegment]
@@ -3279,14 +3270,6 @@ declare const editorMachine: StateMachine<
3279
3270
  type: 'decorator.remove'
3280
3271
  decorator: string
3281
3272
  }
3282
- | {
3283
- type: 'decorator.toggle'
3284
- decorator: string
3285
- offsets?: {
3286
- anchor: BlockOffset_2
3287
- focus: BlockOffset_2
3288
- }
3289
- }
3290
3273
  | {
3291
3274
  type: 'delete'
3292
3275
  selection: NonNullable<EditorSelection>
@@ -3370,6 +3353,23 @@ declare const editorMachine: StateMachine<
3370
3353
  type: 'select'
3371
3354
  selection: EditorSelection
3372
3355
  }
3356
+ | {
3357
+ type: 'annotation.toggle'
3358
+ annotation: {
3359
+ name: string
3360
+ value: {
3361
+ [prop: string]: unknown
3362
+ }
3363
+ }
3364
+ }
3365
+ | {
3366
+ type: 'decorator.toggle'
3367
+ decorator: string
3368
+ offsets?: {
3369
+ anchor: BlockOffset_2
3370
+ focus: BlockOffset_2
3371
+ }
3372
+ }
3373
3373
  | {
3374
3374
  type: 'insert.blocks'
3375
3375
  blocks: Array<PortableTextBlock>
@@ -3499,15 +3499,6 @@ declare const editorMachine: StateMachine<
3499
3499
  name: string
3500
3500
  }
3501
3501
  }
3502
- | {
3503
- type: 'annotation.toggle'
3504
- annotation: {
3505
- name: string
3506
- value: {
3507
- [prop: string]: unknown
3508
- }
3509
- }
3510
- }
3511
3502
  | {
3512
3503
  type: 'block.set'
3513
3504
  at: [KeyedSegment]
@@ -3533,14 +3524,6 @@ declare const editorMachine: StateMachine<
3533
3524
  type: 'decorator.remove'
3534
3525
  decorator: string
3535
3526
  }
3536
- | {
3537
- type: 'decorator.toggle'
3538
- decorator: string
3539
- offsets?: {
3540
- anchor: BlockOffset_2
3541
- focus: BlockOffset_2
3542
- }
3543
- }
3544
3527
  | {
3545
3528
  type: 'delete'
3546
3529
  selection: NonNullable<EditorSelection>
@@ -3624,6 +3607,23 @@ declare const editorMachine: StateMachine<
3624
3607
  type: 'select'
3625
3608
  selection: EditorSelection
3626
3609
  }
3610
+ | {
3611
+ type: 'annotation.toggle'
3612
+ annotation: {
3613
+ name: string
3614
+ value: {
3615
+ [prop: string]: unknown
3616
+ }
3617
+ }
3618
+ }
3619
+ | {
3620
+ type: 'decorator.toggle'
3621
+ decorator: string
3622
+ offsets?: {
3623
+ anchor: BlockOffset_2
3624
+ focus: BlockOffset_2
3625
+ }
3626
+ }
3627
3627
  | {
3628
3628
  type: 'insert.blocks'
3629
3629
  blocks: Array<PortableTextBlock>
@@ -3815,15 +3815,6 @@ declare const editorMachine: StateMachine<
3815
3815
  name: string
3816
3816
  }
3817
3817
  }
3818
- | {
3819
- type: 'annotation.toggle'
3820
- annotation: {
3821
- name: string
3822
- value: {
3823
- [prop: string]: unknown
3824
- }
3825
- }
3826
- }
3827
3818
  | {
3828
3819
  type: 'block.set'
3829
3820
  at: [KeyedSegment]
@@ -3849,14 +3840,6 @@ declare const editorMachine: StateMachine<
3849
3840
  type: 'decorator.remove'
3850
3841
  decorator: string
3851
3842
  }
3852
- | {
3853
- type: 'decorator.toggle'
3854
- decorator: string
3855
- offsets?: {
3856
- anchor: BlockOffset_2
3857
- focus: BlockOffset_2
3858
- }
3859
- }
3860
3843
  | {
3861
3844
  type: 'delete'
3862
3845
  selection: NonNullable<EditorSelection>
@@ -3940,6 +3923,23 @@ declare const editorMachine: StateMachine<
3940
3923
  type: 'select'
3941
3924
  selection: EditorSelection
3942
3925
  }
3926
+ | {
3927
+ type: 'annotation.toggle'
3928
+ annotation: {
3929
+ name: string
3930
+ value: {
3931
+ [prop: string]: unknown
3932
+ }
3933
+ }
3934
+ }
3935
+ | {
3936
+ type: 'decorator.toggle'
3937
+ decorator: string
3938
+ offsets?: {
3939
+ anchor: BlockOffset_2
3940
+ focus: BlockOffset_2
3941
+ }
3942
+ }
3943
3943
  | {
3944
3944
  type: 'insert.blocks'
3945
3945
  blocks: Array<PortableTextBlock>
@@ -4068,15 +4068,6 @@ declare const editorMachine: StateMachine<
4068
4068
  name: string
4069
4069
  }
4070
4070
  }
4071
- | {
4072
- type: 'annotation.toggle'
4073
- annotation: {
4074
- name: string
4075
- value: {
4076
- [prop: string]: unknown
4077
- }
4078
- }
4079
- }
4080
4071
  | {
4081
4072
  type: 'block.set'
4082
4073
  at: [KeyedSegment]
@@ -4102,14 +4093,6 @@ declare const editorMachine: StateMachine<
4102
4093
  type: 'decorator.remove'
4103
4094
  decorator: string
4104
4095
  }
4105
- | {
4106
- type: 'decorator.toggle'
4107
- decorator: string
4108
- offsets?: {
4109
- anchor: BlockOffset_2
4110
- focus: BlockOffset_2
4111
- }
4112
- }
4113
4096
  | {
4114
4097
  type: 'delete'
4115
4098
  selection: NonNullable<EditorSelection>
@@ -4193,6 +4176,23 @@ declare const editorMachine: StateMachine<
4193
4176
  type: 'select'
4194
4177
  selection: EditorSelection
4195
4178
  }
4179
+ | {
4180
+ type: 'annotation.toggle'
4181
+ annotation: {
4182
+ name: string
4183
+ value: {
4184
+ [prop: string]: unknown
4185
+ }
4186
+ }
4187
+ }
4188
+ | {
4189
+ type: 'decorator.toggle'
4190
+ decorator: string
4191
+ offsets?: {
4192
+ anchor: BlockOffset_2
4193
+ focus: BlockOffset_2
4194
+ }
4195
+ }
4196
4196
  | {
4197
4197
  type: 'insert.blocks'
4198
4198
  blocks: Array<PortableTextBlock>
@@ -4384,15 +4384,6 @@ declare const editorMachine: StateMachine<
4384
4384
  name: string
4385
4385
  }
4386
4386
  }
4387
- | {
4388
- type: 'annotation.toggle'
4389
- annotation: {
4390
- name: string
4391
- value: {
4392
- [prop: string]: unknown
4393
- }
4394
- }
4395
- }
4396
4387
  | {
4397
4388
  type: 'block.set'
4398
4389
  at: [KeyedSegment]
@@ -4418,14 +4409,6 @@ declare const editorMachine: StateMachine<
4418
4409
  type: 'decorator.remove'
4419
4410
  decorator: string
4420
4411
  }
4421
- | {
4422
- type: 'decorator.toggle'
4423
- decorator: string
4424
- offsets?: {
4425
- anchor: BlockOffset_2
4426
- focus: BlockOffset_2
4427
- }
4428
- }
4429
4412
  | {
4430
4413
  type: 'delete'
4431
4414
  selection: NonNullable<EditorSelection>
@@ -4509,6 +4492,23 @@ declare const editorMachine: StateMachine<
4509
4492
  type: 'select'
4510
4493
  selection: EditorSelection
4511
4494
  }
4495
+ | {
4496
+ type: 'annotation.toggle'
4497
+ annotation: {
4498
+ name: string
4499
+ value: {
4500
+ [prop: string]: unknown
4501
+ }
4502
+ }
4503
+ }
4504
+ | {
4505
+ type: 'decorator.toggle'
4506
+ decorator: string
4507
+ offsets?: {
4508
+ anchor: BlockOffset_2
4509
+ focus: BlockOffset_2
4510
+ }
4511
+ }
4512
4512
  | {
4513
4513
  type: 'insert.blocks'
4514
4514
  blocks: Array<PortableTextBlock>
@@ -4638,15 +4638,6 @@ declare const editorMachine: StateMachine<
4638
4638
  name: string
4639
4639
  }
4640
4640
  }
4641
- | {
4642
- type: 'annotation.toggle'
4643
- annotation: {
4644
- name: string
4645
- value: {
4646
- [prop: string]: unknown
4647
- }
4648
- }
4649
- }
4650
4641
  | {
4651
4642
  type: 'block.set'
4652
4643
  at: [KeyedSegment]
@@ -4672,14 +4663,6 @@ declare const editorMachine: StateMachine<
4672
4663
  type: 'decorator.remove'
4673
4664
  decorator: string
4674
4665
  }
4675
- | {
4676
- type: 'decorator.toggle'
4677
- decorator: string
4678
- offsets?: {
4679
- anchor: BlockOffset_2
4680
- focus: BlockOffset_2
4681
- }
4682
- }
4683
4666
  | {
4684
4667
  type: 'delete'
4685
4668
  selection: NonNullable<EditorSelection>
@@ -4763,6 +4746,23 @@ declare const editorMachine: StateMachine<
4763
4746
  type: 'select'
4764
4747
  selection: EditorSelection
4765
4748
  }
4749
+ | {
4750
+ type: 'annotation.toggle'
4751
+ annotation: {
4752
+ name: string
4753
+ value: {
4754
+ [prop: string]: unknown
4755
+ }
4756
+ }
4757
+ }
4758
+ | {
4759
+ type: 'decorator.toggle'
4760
+ decorator: string
4761
+ offsets?: {
4762
+ anchor: BlockOffset_2
4763
+ focus: BlockOffset_2
4764
+ }
4765
+ }
4766
4766
  | {
4767
4767
  type: 'insert.blocks'
4768
4768
  blocks: Array<PortableTextBlock>
@@ -4976,15 +4976,6 @@ declare const editorMachine: StateMachine<
4976
4976
  name: string
4977
4977
  }
4978
4978
  }
4979
- | {
4980
- type: 'annotation.toggle'
4981
- annotation: {
4982
- name: string
4983
- value: {
4984
- [prop: string]: unknown
4985
- }
4986
- }
4987
- }
4988
4979
  | {
4989
4980
  type: 'block.set'
4990
4981
  at: [KeyedSegment]
@@ -5010,14 +5001,6 @@ declare const editorMachine: StateMachine<
5010
5001
  type: 'decorator.remove'
5011
5002
  decorator: string
5012
5003
  }
5013
- | {
5014
- type: 'decorator.toggle'
5015
- decorator: string
5016
- offsets?: {
5017
- anchor: BlockOffset_2
5018
- focus: BlockOffset_2
5019
- }
5020
- }
5021
5004
  | {
5022
5005
  type: 'delete'
5023
5006
  selection: NonNullable<EditorSelection>
@@ -5101,6 +5084,23 @@ declare const editorMachine: StateMachine<
5101
5084
  type: 'select'
5102
5085
  selection: EditorSelection
5103
5086
  }
5087
+ | {
5088
+ type: 'annotation.toggle'
5089
+ annotation: {
5090
+ name: string
5091
+ value: {
5092
+ [prop: string]: unknown
5093
+ }
5094
+ }
5095
+ }
5096
+ | {
5097
+ type: 'decorator.toggle'
5098
+ decorator: string
5099
+ offsets?: {
5100
+ anchor: BlockOffset_2
5101
+ focus: BlockOffset_2
5102
+ }
5103
+ }
5104
5104
  | {
5105
5105
  type: 'insert.blocks'
5106
5106
  blocks: Array<PortableTextBlock>
@@ -5292,15 +5292,6 @@ declare const editorMachine: StateMachine<
5292
5292
  name: string
5293
5293
  }
5294
5294
  }
5295
- | {
5296
- type: 'annotation.toggle'
5297
- annotation: {
5298
- name: string
5299
- value: {
5300
- [prop: string]: unknown
5301
- }
5302
- }
5303
- }
5304
5295
  | {
5305
5296
  type: 'block.set'
5306
5297
  at: [KeyedSegment]
@@ -5326,14 +5317,6 @@ declare const editorMachine: StateMachine<
5326
5317
  type: 'decorator.remove'
5327
5318
  decorator: string
5328
5319
  }
5329
- | {
5330
- type: 'decorator.toggle'
5331
- decorator: string
5332
- offsets?: {
5333
- anchor: BlockOffset_2
5334
- focus: BlockOffset_2
5335
- }
5336
- }
5337
5320
  | {
5338
5321
  type: 'delete'
5339
5322
  selection: NonNullable<EditorSelection>
@@ -5417,6 +5400,23 @@ declare const editorMachine: StateMachine<
5417
5400
  type: 'select'
5418
5401
  selection: EditorSelection
5419
5402
  }
5403
+ | {
5404
+ type: 'annotation.toggle'
5405
+ annotation: {
5406
+ name: string
5407
+ value: {
5408
+ [prop: string]: unknown
5409
+ }
5410
+ }
5411
+ }
5412
+ | {
5413
+ type: 'decorator.toggle'
5414
+ decorator: string
5415
+ offsets?: {
5416
+ anchor: BlockOffset_2
5417
+ focus: BlockOffset_2
5418
+ }
5419
+ }
5420
5420
  | {
5421
5421
  type: 'insert.blocks'
5422
5422
  blocks: Array<PortableTextBlock>
@@ -5546,15 +5546,6 @@ declare const editorMachine: StateMachine<
5546
5546
  name: string
5547
5547
  }
5548
5548
  }
5549
- | {
5550
- type: 'annotation.toggle'
5551
- annotation: {
5552
- name: string
5553
- value: {
5554
- [prop: string]: unknown
5555
- }
5556
- }
5557
- }
5558
5549
  | {
5559
5550
  type: 'block.set'
5560
5551
  at: [KeyedSegment]
@@ -5580,14 +5571,6 @@ declare const editorMachine: StateMachine<
5580
5571
  type: 'decorator.remove'
5581
5572
  decorator: string
5582
5573
  }
5583
- | {
5584
- type: 'decorator.toggle'
5585
- decorator: string
5586
- offsets?: {
5587
- anchor: BlockOffset_2
5588
- focus: BlockOffset_2
5589
- }
5590
- }
5591
5574
  | {
5592
5575
  type: 'delete'
5593
5576
  selection: NonNullable<EditorSelection>
@@ -5671,6 +5654,23 @@ declare const editorMachine: StateMachine<
5671
5654
  type: 'select'
5672
5655
  selection: EditorSelection
5673
5656
  }
5657
+ | {
5658
+ type: 'annotation.toggle'
5659
+ annotation: {
5660
+ name: string
5661
+ value: {
5662
+ [prop: string]: unknown
5663
+ }
5664
+ }
5665
+ }
5666
+ | {
5667
+ type: 'decorator.toggle'
5668
+ decorator: string
5669
+ offsets?: {
5670
+ anchor: BlockOffset_2
5671
+ focus: BlockOffset_2
5672
+ }
5673
+ }
5674
5674
  | {
5675
5675
  type: 'insert.blocks'
5676
5676
  blocks: Array<PortableTextBlock>
@@ -5862,15 +5862,6 @@ declare const editorMachine: StateMachine<
5862
5862
  name: string
5863
5863
  }
5864
5864
  }
5865
- | {
5866
- type: 'annotation.toggle'
5867
- annotation: {
5868
- name: string
5869
- value: {
5870
- [prop: string]: unknown
5871
- }
5872
- }
5873
- }
5874
5865
  | {
5875
5866
  type: 'block.set'
5876
5867
  at: [KeyedSegment]
@@ -5896,14 +5887,6 @@ declare const editorMachine: StateMachine<
5896
5887
  type: 'decorator.remove'
5897
5888
  decorator: string
5898
5889
  }
5899
- | {
5900
- type: 'decorator.toggle'
5901
- decorator: string
5902
- offsets?: {
5903
- anchor: BlockOffset_2
5904
- focus: BlockOffset_2
5905
- }
5906
- }
5907
5890
  | {
5908
5891
  type: 'delete'
5909
5892
  selection: NonNullable<EditorSelection>
@@ -5987,6 +5970,23 @@ declare const editorMachine: StateMachine<
5987
5970
  type: 'select'
5988
5971
  selection: EditorSelection
5989
5972
  }
5973
+ | {
5974
+ type: 'annotation.toggle'
5975
+ annotation: {
5976
+ name: string
5977
+ value: {
5978
+ [prop: string]: unknown
5979
+ }
5980
+ }
5981
+ }
5982
+ | {
5983
+ type: 'decorator.toggle'
5984
+ decorator: string
5985
+ offsets?: {
5986
+ anchor: BlockOffset_2
5987
+ focus: BlockOffset_2
5988
+ }
5989
+ }
5990
5990
  | {
5991
5991
  type: 'insert.blocks'
5992
5992
  blocks: Array<PortableTextBlock>
@@ -6114,15 +6114,6 @@ declare const editorMachine: StateMachine<
6114
6114
  name: string
6115
6115
  }
6116
6116
  }
6117
- | {
6118
- type: 'annotation.toggle'
6119
- annotation: {
6120
- name: string
6121
- value: {
6122
- [prop: string]: unknown
6123
- }
6124
- }
6125
- }
6126
6117
  | {
6127
6118
  type: 'block.set'
6128
6119
  at: [KeyedSegment]
@@ -6148,14 +6139,6 @@ declare const editorMachine: StateMachine<
6148
6139
  type: 'decorator.remove'
6149
6140
  decorator: string
6150
6141
  }
6151
- | {
6152
- type: 'decorator.toggle'
6153
- decorator: string
6154
- offsets?: {
6155
- anchor: BlockOffset_2
6156
- focus: BlockOffset_2
6157
- }
6158
- }
6159
6142
  | {
6160
6143
  type: 'delete'
6161
6144
  selection: NonNullable<EditorSelection>
@@ -6239,6 +6222,23 @@ declare const editorMachine: StateMachine<
6239
6222
  type: 'select'
6240
6223
  selection: EditorSelection
6241
6224
  }
6225
+ | {
6226
+ type: 'annotation.toggle'
6227
+ annotation: {
6228
+ name: string
6229
+ value: {
6230
+ [prop: string]: unknown
6231
+ }
6232
+ }
6233
+ }
6234
+ | {
6235
+ type: 'decorator.toggle'
6236
+ decorator: string
6237
+ offsets?: {
6238
+ anchor: BlockOffset_2
6239
+ focus: BlockOffset_2
6240
+ }
6241
+ }
6242
6242
  | {
6243
6243
  type: 'insert.blocks'
6244
6244
  blocks: Array<PortableTextBlock>
@@ -6430,15 +6430,6 @@ declare const editorMachine: StateMachine<
6430
6430
  name: string
6431
6431
  }
6432
6432
  }
6433
- | {
6434
- type: 'annotation.toggle'
6435
- annotation: {
6436
- name: string
6437
- value: {
6438
- [prop: string]: unknown
6439
- }
6440
- }
6441
- }
6442
6433
  | {
6443
6434
  type: 'block.set'
6444
6435
  at: [KeyedSegment]
@@ -6464,14 +6455,6 @@ declare const editorMachine: StateMachine<
6464
6455
  type: 'decorator.remove'
6465
6456
  decorator: string
6466
6457
  }
6467
- | {
6468
- type: 'decorator.toggle'
6469
- decorator: string
6470
- offsets?: {
6471
- anchor: BlockOffset_2
6472
- focus: BlockOffset_2
6473
- }
6474
- }
6475
6458
  | {
6476
6459
  type: 'delete'
6477
6460
  selection: NonNullable<EditorSelection>
@@ -6555,6 +6538,23 @@ declare const editorMachine: StateMachine<
6555
6538
  type: 'select'
6556
6539
  selection: EditorSelection
6557
6540
  }
6541
+ | {
6542
+ type: 'annotation.toggle'
6543
+ annotation: {
6544
+ name: string
6545
+ value: {
6546
+ [prop: string]: unknown
6547
+ }
6548
+ }
6549
+ }
6550
+ | {
6551
+ type: 'decorator.toggle'
6552
+ decorator: string
6553
+ offsets?: {
6554
+ anchor: BlockOffset_2
6555
+ focus: BlockOffset_2
6556
+ }
6557
+ }
6558
6558
  | {
6559
6559
  type: 'insert.blocks'
6560
6560
  blocks: Array<PortableTextBlock>
@@ -6683,15 +6683,6 @@ declare const editorMachine: StateMachine<
6683
6683
  name: string
6684
6684
  }
6685
6685
  }
6686
- | {
6687
- type: 'annotation.toggle'
6688
- annotation: {
6689
- name: string
6690
- value: {
6691
- [prop: string]: unknown
6692
- }
6693
- }
6694
- }
6695
6686
  | {
6696
6687
  type: 'block.set'
6697
6688
  at: [KeyedSegment]
@@ -6717,14 +6708,6 @@ declare const editorMachine: StateMachine<
6717
6708
  type: 'decorator.remove'
6718
6709
  decorator: string
6719
6710
  }
6720
- | {
6721
- type: 'decorator.toggle'
6722
- decorator: string
6723
- offsets?: {
6724
- anchor: BlockOffset_2
6725
- focus: BlockOffset_2
6726
- }
6727
- }
6728
6711
  | {
6729
6712
  type: 'delete'
6730
6713
  selection: NonNullable<EditorSelection>
@@ -6808,6 +6791,23 @@ declare const editorMachine: StateMachine<
6808
6791
  type: 'select'
6809
6792
  selection: EditorSelection
6810
6793
  }
6794
+ | {
6795
+ type: 'annotation.toggle'
6796
+ annotation: {
6797
+ name: string
6798
+ value: {
6799
+ [prop: string]: unknown
6800
+ }
6801
+ }
6802
+ }
6803
+ | {
6804
+ type: 'decorator.toggle'
6805
+ decorator: string
6806
+ offsets?: {
6807
+ anchor: BlockOffset_2
6808
+ focus: BlockOffset_2
6809
+ }
6810
+ }
6811
6811
  | {
6812
6812
  type: 'insert.blocks'
6813
6813
  blocks: Array<PortableTextBlock>
@@ -6999,15 +6999,6 @@ declare const editorMachine: StateMachine<
6999
6999
  name: string
7000
7000
  }
7001
7001
  }
7002
- | {
7003
- type: 'annotation.toggle'
7004
- annotation: {
7005
- name: string
7006
- value: {
7007
- [prop: string]: unknown
7008
- }
7009
- }
7010
- }
7011
7002
  | {
7012
7003
  type: 'block.set'
7013
7004
  at: [KeyedSegment]
@@ -7033,14 +7024,6 @@ declare const editorMachine: StateMachine<
7033
7024
  type: 'decorator.remove'
7034
7025
  decorator: string
7035
7026
  }
7036
- | {
7037
- type: 'decorator.toggle'
7038
- decorator: string
7039
- offsets?: {
7040
- anchor: BlockOffset_2
7041
- focus: BlockOffset_2
7042
- }
7043
- }
7044
7027
  | {
7045
7028
  type: 'delete'
7046
7029
  selection: NonNullable<EditorSelection>
@@ -7125,7 +7108,24 @@ declare const editorMachine: StateMachine<
7125
7108
  selection: EditorSelection
7126
7109
  }
7127
7110
  | {
7128
- type: 'insert.blocks'
7111
+ type: 'annotation.toggle'
7112
+ annotation: {
7113
+ name: string
7114
+ value: {
7115
+ [prop: string]: unknown
7116
+ }
7117
+ }
7118
+ }
7119
+ | {
7120
+ type: 'decorator.toggle'
7121
+ decorator: string
7122
+ offsets?: {
7123
+ anchor: BlockOffset_2
7124
+ focus: BlockOffset_2
7125
+ }
7126
+ }
7127
+ | {
7128
+ type: 'insert.blocks'
7129
7129
  blocks: Array<PortableTextBlock>
7130
7130
  placement: InsertPlacement_2
7131
7131
  }
@@ -7255,15 +7255,6 @@ declare const editorMachine: StateMachine<
7255
7255
  name: string
7256
7256
  }
7257
7257
  }
7258
- | {
7259
- type: 'annotation.toggle'
7260
- annotation: {
7261
- name: string
7262
- value: {
7263
- [prop: string]: unknown
7264
- }
7265
- }
7266
- }
7267
7258
  | {
7268
7259
  type: 'block.set'
7269
7260
  at: [KeyedSegment]
@@ -7289,14 +7280,6 @@ declare const editorMachine: StateMachine<
7289
7280
  type: 'decorator.remove'
7290
7281
  decorator: string
7291
7282
  }
7292
- | {
7293
- type: 'decorator.toggle'
7294
- decorator: string
7295
- offsets?: {
7296
- anchor: BlockOffset_2
7297
- focus: BlockOffset_2
7298
- }
7299
- }
7300
7283
  | {
7301
7284
  type: 'delete'
7302
7285
  selection: NonNullable<EditorSelection>
@@ -7380,6 +7363,23 @@ declare const editorMachine: StateMachine<
7380
7363
  type: 'select'
7381
7364
  selection: EditorSelection
7382
7365
  }
7366
+ | {
7367
+ type: 'annotation.toggle'
7368
+ annotation: {
7369
+ name: string
7370
+ value: {
7371
+ [prop: string]: unknown
7372
+ }
7373
+ }
7374
+ }
7375
+ | {
7376
+ type: 'decorator.toggle'
7377
+ decorator: string
7378
+ offsets?: {
7379
+ anchor: BlockOffset_2
7380
+ focus: BlockOffset_2
7381
+ }
7382
+ }
7383
7383
  | {
7384
7384
  type: 'insert.blocks'
7385
7385
  blocks: Array<PortableTextBlock>
@@ -7571,15 +7571,6 @@ declare const editorMachine: StateMachine<
7571
7571
  name: string
7572
7572
  }
7573
7573
  }
7574
- | {
7575
- type: 'annotation.toggle'
7576
- annotation: {
7577
- name: string
7578
- value: {
7579
- [prop: string]: unknown
7580
- }
7581
- }
7582
- }
7583
7574
  | {
7584
7575
  type: 'block.set'
7585
7576
  at: [KeyedSegment]
@@ -7605,14 +7596,6 @@ declare const editorMachine: StateMachine<
7605
7596
  type: 'decorator.remove'
7606
7597
  decorator: string
7607
7598
  }
7608
- | {
7609
- type: 'decorator.toggle'
7610
- decorator: string
7611
- offsets?: {
7612
- anchor: BlockOffset_2
7613
- focus: BlockOffset_2
7614
- }
7615
- }
7616
7599
  | {
7617
7600
  type: 'delete'
7618
7601
  selection: NonNullable<EditorSelection>
@@ -7696,6 +7679,23 @@ declare const editorMachine: StateMachine<
7696
7679
  type: 'select'
7697
7680
  selection: EditorSelection
7698
7681
  }
7682
+ | {
7683
+ type: 'annotation.toggle'
7684
+ annotation: {
7685
+ name: string
7686
+ value: {
7687
+ [prop: string]: unknown
7688
+ }
7689
+ }
7690
+ }
7691
+ | {
7692
+ type: 'decorator.toggle'
7693
+ decorator: string
7694
+ offsets?: {
7695
+ anchor: BlockOffset_2
7696
+ focus: BlockOffset_2
7697
+ }
7698
+ }
7699
7699
  | {
7700
7700
  type: 'insert.blocks'
7701
7701
  blocks: Array<PortableTextBlock>
@@ -7827,15 +7827,6 @@ declare const editorMachine: StateMachine<
7827
7827
  name: string
7828
7828
  }
7829
7829
  }
7830
- | {
7831
- type: 'annotation.toggle'
7832
- annotation: {
7833
- name: string
7834
- value: {
7835
- [prop: string]: unknown
7836
- }
7837
- }
7838
- }
7839
7830
  | {
7840
7831
  type: 'block.set'
7841
7832
  at: [KeyedSegment]
@@ -7861,14 +7852,6 @@ declare const editorMachine: StateMachine<
7861
7852
  type: 'decorator.remove'
7862
7853
  decorator: string
7863
7854
  }
7864
- | {
7865
- type: 'decorator.toggle'
7866
- decorator: string
7867
- offsets?: {
7868
- anchor: BlockOffset_2
7869
- focus: BlockOffset_2
7870
- }
7871
- }
7872
7855
  | {
7873
7856
  type: 'delete'
7874
7857
  selection: NonNullable<EditorSelection>
@@ -7952,6 +7935,23 @@ declare const editorMachine: StateMachine<
7952
7935
  type: 'select'
7953
7936
  selection: EditorSelection
7954
7937
  }
7938
+ | {
7939
+ type: 'annotation.toggle'
7940
+ annotation: {
7941
+ name: string
7942
+ value: {
7943
+ [prop: string]: unknown
7944
+ }
7945
+ }
7946
+ }
7947
+ | {
7948
+ type: 'decorator.toggle'
7949
+ decorator: string
7950
+ offsets?: {
7951
+ anchor: BlockOffset_2
7952
+ focus: BlockOffset_2
7953
+ }
7954
+ }
7955
7955
  | {
7956
7956
  type: 'insert.blocks'
7957
7957
  blocks: Array<PortableTextBlock>
@@ -8170,15 +8170,6 @@ declare const editorMachine: StateMachine<
8170
8170
  name: string
8171
8171
  }
8172
8172
  }
8173
- | {
8174
- type: 'annotation.toggle'
8175
- annotation: {
8176
- name: string
8177
- value: {
8178
- [prop: string]: unknown
8179
- }
8180
- }
8181
- }
8182
8173
  | {
8183
8174
  type: 'block.set'
8184
8175
  at: [KeyedSegment]
@@ -8204,14 +8195,6 @@ declare const editorMachine: StateMachine<
8204
8195
  type: 'decorator.remove'
8205
8196
  decorator: string
8206
8197
  }
8207
- | {
8208
- type: 'decorator.toggle'
8209
- decorator: string
8210
- offsets?: {
8211
- anchor: BlockOffset_2
8212
- focus: BlockOffset_2
8213
- }
8214
- }
8215
8198
  | {
8216
8199
  type: 'delete'
8217
8200
  selection: NonNullable<EditorSelection>
@@ -8295,6 +8278,23 @@ declare const editorMachine: StateMachine<
8295
8278
  type: 'select'
8296
8279
  selection: EditorSelection
8297
8280
  }
8281
+ | {
8282
+ type: 'annotation.toggle'
8283
+ annotation: {
8284
+ name: string
8285
+ value: {
8286
+ [prop: string]: unknown
8287
+ }
8288
+ }
8289
+ }
8290
+ | {
8291
+ type: 'decorator.toggle'
8292
+ decorator: string
8293
+ offsets?: {
8294
+ anchor: BlockOffset_2
8295
+ focus: BlockOffset_2
8296
+ }
8297
+ }
8298
8298
  | {
8299
8299
  type: 'insert.blocks'
8300
8300
  blocks: Array<PortableTextBlock>
@@ -8510,15 +8510,6 @@ declare const editorMachine: StateMachine<
8510
8510
  name: string
8511
8511
  }
8512
8512
  }
8513
- | {
8514
- type: 'annotation.toggle'
8515
- annotation: {
8516
- name: string
8517
- value: {
8518
- [prop: string]: unknown
8519
- }
8520
- }
8521
- }
8522
8513
  | {
8523
8514
  type: 'block.set'
8524
8515
  at: [KeyedSegment]
@@ -8544,14 +8535,6 @@ declare const editorMachine: StateMachine<
8544
8535
  type: 'decorator.remove'
8545
8536
  decorator: string
8546
8537
  }
8547
- | {
8548
- type: 'decorator.toggle'
8549
- decorator: string
8550
- offsets?: {
8551
- anchor: BlockOffset_2
8552
- focus: BlockOffset_2
8553
- }
8554
- }
8555
8538
  | {
8556
8539
  type: 'delete'
8557
8540
  selection: NonNullable<EditorSelection>
@@ -8635,6 +8618,23 @@ declare const editorMachine: StateMachine<
8635
8618
  type: 'select'
8636
8619
  selection: EditorSelection
8637
8620
  }
8621
+ | {
8622
+ type: 'annotation.toggle'
8623
+ annotation: {
8624
+ name: string
8625
+ value: {
8626
+ [prop: string]: unknown
8627
+ }
8628
+ }
8629
+ }
8630
+ | {
8631
+ type: 'decorator.toggle'
8632
+ decorator: string
8633
+ offsets?: {
8634
+ anchor: BlockOffset_2
8635
+ focus: BlockOffset_2
8636
+ }
8637
+ }
8638
8638
  | {
8639
8639
  type: 'insert.blocks'
8640
8640
  blocks: Array<PortableTextBlock>
@@ -9019,15 +9019,6 @@ declare const editorMachine: StateMachine<
9019
9019
  name: string
9020
9020
  }
9021
9021
  }
9022
- | {
9023
- type: 'annotation.toggle'
9024
- annotation: {
9025
- name: string
9026
- value: {
9027
- [prop: string]: unknown
9028
- }
9029
- }
9030
- }
9031
9022
  | {
9032
9023
  type: 'block.set'
9033
9024
  at: [KeyedSegment]
@@ -9053,14 +9044,6 @@ declare const editorMachine: StateMachine<
9053
9044
  type: 'decorator.remove'
9054
9045
  decorator: string
9055
9046
  }
9056
- | {
9057
- type: 'decorator.toggle'
9058
- decorator: string
9059
- offsets?: {
9060
- anchor: BlockOffset_2
9061
- focus: BlockOffset_2
9062
- }
9063
- }
9064
9047
  | {
9065
9048
  type: 'delete'
9066
9049
  selection: NonNullable<EditorSelection>
@@ -9144,6 +9127,23 @@ declare const editorMachine: StateMachine<
9144
9127
  type: 'select'
9145
9128
  selection: EditorSelection
9146
9129
  }
9130
+ | {
9131
+ type: 'annotation.toggle'
9132
+ annotation: {
9133
+ name: string
9134
+ value: {
9135
+ [prop: string]: unknown
9136
+ }
9137
+ }
9138
+ }
9139
+ | {
9140
+ type: 'decorator.toggle'
9141
+ decorator: string
9142
+ offsets?: {
9143
+ anchor: BlockOffset_2
9144
+ focus: BlockOffset_2
9145
+ }
9146
+ }
9147
9147
  | {
9148
9148
  type: 'insert.blocks'
9149
9149
  blocks: Array<PortableTextBlock>
@@ -9335,15 +9335,6 @@ declare const editorMachine: StateMachine<
9335
9335
  name: string
9336
9336
  }
9337
9337
  }
9338
- | {
9339
- type: 'annotation.toggle'
9340
- annotation: {
9341
- name: string
9342
- value: {
9343
- [prop: string]: unknown
9344
- }
9345
- }
9346
- }
9347
9338
  | {
9348
9339
  type: 'block.set'
9349
9340
  at: [KeyedSegment]
@@ -9369,14 +9360,6 @@ declare const editorMachine: StateMachine<
9369
9360
  type: 'decorator.remove'
9370
9361
  decorator: string
9371
9362
  }
9372
- | {
9373
- type: 'decorator.toggle'
9374
- decorator: string
9375
- offsets?: {
9376
- anchor: BlockOffset_2
9377
- focus: BlockOffset_2
9378
- }
9379
- }
9380
9363
  | {
9381
9364
  type: 'delete'
9382
9365
  selection: NonNullable<EditorSelection>
@@ -9460,6 +9443,23 @@ declare const editorMachine: StateMachine<
9460
9443
  type: 'select'
9461
9444
  selection: EditorSelection
9462
9445
  }
9446
+ | {
9447
+ type: 'annotation.toggle'
9448
+ annotation: {
9449
+ name: string
9450
+ value: {
9451
+ [prop: string]: unknown
9452
+ }
9453
+ }
9454
+ }
9455
+ | {
9456
+ type: 'decorator.toggle'
9457
+ decorator: string
9458
+ offsets?: {
9459
+ anchor: BlockOffset_2
9460
+ focus: BlockOffset_2
9461
+ }
9462
+ }
9463
9463
  | {
9464
9464
  type: 'insert.blocks'
9465
9465
  blocks: Array<PortableTextBlock>
@@ -9594,15 +9594,6 @@ declare const editorMachine: StateMachine<
9594
9594
  name: string
9595
9595
  }
9596
9596
  }
9597
- | {
9598
- type: 'annotation.toggle'
9599
- annotation: {
9600
- name: string
9601
- value: {
9602
- [prop: string]: unknown
9603
- }
9604
- }
9605
- }
9606
9597
  | {
9607
9598
  type: 'block.set'
9608
9599
  at: [KeyedSegment]
@@ -9628,14 +9619,6 @@ declare const editorMachine: StateMachine<
9628
9619
  type: 'decorator.remove'
9629
9620
  decorator: string
9630
9621
  }
9631
- | {
9632
- type: 'decorator.toggle'
9633
- decorator: string
9634
- offsets?: {
9635
- anchor: BlockOffset_2
9636
- focus: BlockOffset_2
9637
- }
9638
- }
9639
9622
  | {
9640
9623
  type: 'delete'
9641
9624
  selection: NonNullable<EditorSelection>
@@ -9719,6 +9702,23 @@ declare const editorMachine: StateMachine<
9719
9702
  type: 'select'
9720
9703
  selection: EditorSelection
9721
9704
  }
9705
+ | {
9706
+ type: 'annotation.toggle'
9707
+ annotation: {
9708
+ name: string
9709
+ value: {
9710
+ [prop: string]: unknown
9711
+ }
9712
+ }
9713
+ }
9714
+ | {
9715
+ type: 'decorator.toggle'
9716
+ decorator: string
9717
+ offsets?: {
9718
+ anchor: BlockOffset_2
9719
+ focus: BlockOffset_2
9720
+ }
9721
+ }
9722
9722
  | {
9723
9723
  type: 'insert.blocks'
9724
9724
  blocks: Array<PortableTextBlock>
@@ -9910,15 +9910,6 @@ declare const editorMachine: StateMachine<
9910
9910
  name: string
9911
9911
  }
9912
9912
  }
9913
- | {
9914
- type: 'annotation.toggle'
9915
- annotation: {
9916
- name: string
9917
- value: {
9918
- [prop: string]: unknown
9919
- }
9920
- }
9921
- }
9922
9913
  | {
9923
9914
  type: 'block.set'
9924
9915
  at: [KeyedSegment]
@@ -9944,14 +9935,6 @@ declare const editorMachine: StateMachine<
9944
9935
  type: 'decorator.remove'
9945
9936
  decorator: string
9946
9937
  }
9947
- | {
9948
- type: 'decorator.toggle'
9949
- decorator: string
9950
- offsets?: {
9951
- anchor: BlockOffset_2
9952
- focus: BlockOffset_2
9953
- }
9954
- }
9955
9938
  | {
9956
9939
  type: 'delete'
9957
9940
  selection: NonNullable<EditorSelection>
@@ -10035,6 +10018,23 @@ declare const editorMachine: StateMachine<
10035
10018
  type: 'select'
10036
10019
  selection: EditorSelection
10037
10020
  }
10021
+ | {
10022
+ type: 'annotation.toggle'
10023
+ annotation: {
10024
+ name: string
10025
+ value: {
10026
+ [prop: string]: unknown
10027
+ }
10028
+ }
10029
+ }
10030
+ | {
10031
+ type: 'decorator.toggle'
10032
+ decorator: string
10033
+ offsets?: {
10034
+ anchor: BlockOffset_2
10035
+ focus: BlockOffset_2
10036
+ }
10037
+ }
10038
10038
  | {
10039
10039
  type: 'insert.blocks'
10040
10040
  blocks: Array<PortableTextBlock>
@@ -10162,15 +10162,6 @@ declare const editorMachine: StateMachine<
10162
10162
  name: string
10163
10163
  }
10164
10164
  }
10165
- | {
10166
- type: 'annotation.toggle'
10167
- annotation: {
10168
- name: string
10169
- value: {
10170
- [prop: string]: unknown
10171
- }
10172
- }
10173
- }
10174
10165
  | {
10175
10166
  type: 'block.set'
10176
10167
  at: [KeyedSegment]
@@ -10196,14 +10187,6 @@ declare const editorMachine: StateMachine<
10196
10187
  type: 'decorator.remove'
10197
10188
  decorator: string
10198
10189
  }
10199
- | {
10200
- type: 'decorator.toggle'
10201
- decorator: string
10202
- offsets?: {
10203
- anchor: BlockOffset_2
10204
- focus: BlockOffset_2
10205
- }
10206
- }
10207
10190
  | {
10208
10191
  type: 'delete'
10209
10192
  selection: NonNullable<EditorSelection>
@@ -10287,6 +10270,23 @@ declare const editorMachine: StateMachine<
10287
10270
  type: 'select'
10288
10271
  selection: EditorSelection
10289
10272
  }
10273
+ | {
10274
+ type: 'annotation.toggle'
10275
+ annotation: {
10276
+ name: string
10277
+ value: {
10278
+ [prop: string]: unknown
10279
+ }
10280
+ }
10281
+ }
10282
+ | {
10283
+ type: 'decorator.toggle'
10284
+ decorator: string
10285
+ offsets?: {
10286
+ anchor: BlockOffset_2
10287
+ focus: BlockOffset_2
10288
+ }
10289
+ }
10290
10290
  | {
10291
10291
  type: 'insert.blocks'
10292
10292
  blocks: Array<PortableTextBlock>
@@ -10478,15 +10478,6 @@ declare const editorMachine: StateMachine<
10478
10478
  name: string
10479
10479
  }
10480
10480
  }
10481
- | {
10482
- type: 'annotation.toggle'
10483
- annotation: {
10484
- name: string
10485
- value: {
10486
- [prop: string]: unknown
10487
- }
10488
- }
10489
- }
10490
10481
  | {
10491
10482
  type: 'block.set'
10492
10483
  at: [KeyedSegment]
@@ -10512,14 +10503,6 @@ declare const editorMachine: StateMachine<
10512
10503
  type: 'decorator.remove'
10513
10504
  decorator: string
10514
10505
  }
10515
- | {
10516
- type: 'decorator.toggle'
10517
- decorator: string
10518
- offsets?: {
10519
- anchor: BlockOffset_2
10520
- focus: BlockOffset_2
10521
- }
10522
- }
10523
10506
  | {
10524
10507
  type: 'delete'
10525
10508
  selection: NonNullable<EditorSelection>
@@ -10603,6 +10586,23 @@ declare const editorMachine: StateMachine<
10603
10586
  type: 'select'
10604
10587
  selection: EditorSelection
10605
10588
  }
10589
+ | {
10590
+ type: 'annotation.toggle'
10591
+ annotation: {
10592
+ name: string
10593
+ value: {
10594
+ [prop: string]: unknown
10595
+ }
10596
+ }
10597
+ }
10598
+ | {
10599
+ type: 'decorator.toggle'
10600
+ decorator: string
10601
+ offsets?: {
10602
+ anchor: BlockOffset_2
10603
+ focus: BlockOffset_2
10604
+ }
10605
+ }
10606
10606
  | {
10607
10607
  type: 'insert.blocks'
10608
10608
  blocks: Array<PortableTextBlock>
@@ -10730,15 +10730,6 @@ declare const editorMachine: StateMachine<
10730
10730
  name: string
10731
10731
  }
10732
10732
  }
10733
- | {
10734
- type: 'annotation.toggle'
10735
- annotation: {
10736
- name: string
10737
- value: {
10738
- [prop: string]: unknown
10739
- }
10740
- }
10741
- }
10742
10733
  | {
10743
10734
  type: 'block.set'
10744
10735
  at: [KeyedSegment]
@@ -10764,14 +10755,6 @@ declare const editorMachine: StateMachine<
10764
10755
  type: 'decorator.remove'
10765
10756
  decorator: string
10766
10757
  }
10767
- | {
10768
- type: 'decorator.toggle'
10769
- decorator: string
10770
- offsets?: {
10771
- anchor: BlockOffset_2
10772
- focus: BlockOffset_2
10773
- }
10774
- }
10775
10758
  | {
10776
10759
  type: 'delete'
10777
10760
  selection: NonNullable<EditorSelection>
@@ -10855,6 +10838,23 @@ declare const editorMachine: StateMachine<
10855
10838
  type: 'select'
10856
10839
  selection: EditorSelection
10857
10840
  }
10841
+ | {
10842
+ type: 'annotation.toggle'
10843
+ annotation: {
10844
+ name: string
10845
+ value: {
10846
+ [prop: string]: unknown
10847
+ }
10848
+ }
10849
+ }
10850
+ | {
10851
+ type: 'decorator.toggle'
10852
+ decorator: string
10853
+ offsets?: {
10854
+ anchor: BlockOffset_2
10855
+ focus: BlockOffset_2
10856
+ }
10857
+ }
10858
10858
  | {
10859
10859
  type: 'insert.blocks'
10860
10860
  blocks: Array<PortableTextBlock>
@@ -11046,15 +11046,6 @@ declare const editorMachine: StateMachine<
11046
11046
  name: string
11047
11047
  }
11048
11048
  }
11049
- | {
11050
- type: 'annotation.toggle'
11051
- annotation: {
11052
- name: string
11053
- value: {
11054
- [prop: string]: unknown
11055
- }
11056
- }
11057
- }
11058
11049
  | {
11059
11050
  type: 'block.set'
11060
11051
  at: [KeyedSegment]
@@ -11080,14 +11071,6 @@ declare const editorMachine: StateMachine<
11080
11071
  type: 'decorator.remove'
11081
11072
  decorator: string
11082
11073
  }
11083
- | {
11084
- type: 'decorator.toggle'
11085
- decorator: string
11086
- offsets?: {
11087
- anchor: BlockOffset_2
11088
- focus: BlockOffset_2
11089
- }
11090
- }
11091
11074
  | {
11092
11075
  type: 'delete'
11093
11076
  selection: NonNullable<EditorSelection>
@@ -11171,6 +11154,23 @@ declare const editorMachine: StateMachine<
11171
11154
  type: 'select'
11172
11155
  selection: EditorSelection
11173
11156
  }
11157
+ | {
11158
+ type: 'annotation.toggle'
11159
+ annotation: {
11160
+ name: string
11161
+ value: {
11162
+ [prop: string]: unknown
11163
+ }
11164
+ }
11165
+ }
11166
+ | {
11167
+ type: 'decorator.toggle'
11168
+ decorator: string
11169
+ offsets?: {
11170
+ anchor: BlockOffset_2
11171
+ focus: BlockOffset_2
11172
+ }
11173
+ }
11174
11174
  | {
11175
11175
  type: 'insert.blocks'
11176
11176
  blocks: Array<PortableTextBlock>
@@ -11315,15 +11315,6 @@ declare const editorMachine: StateMachine<
11315
11315
  name: string
11316
11316
  }
11317
11317
  }
11318
- | {
11319
- type: 'annotation.toggle'
11320
- annotation: {
11321
- name: string
11322
- value: {
11323
- [prop: string]: unknown
11324
- }
11325
- }
11326
- }
11327
11318
  | {
11328
11319
  type: 'block.set'
11329
11320
  at: [KeyedSegment]
@@ -11349,14 +11340,6 @@ declare const editorMachine: StateMachine<
11349
11340
  type: 'decorator.remove'
11350
11341
  decorator: string
11351
11342
  }
11352
- | {
11353
- type: 'decorator.toggle'
11354
- decorator: string
11355
- offsets?: {
11356
- anchor: BlockOffset_2
11357
- focus: BlockOffset_2
11358
- }
11359
- }
11360
11343
  | {
11361
11344
  type: 'delete'
11362
11345
  selection: NonNullable<EditorSelection>
@@ -11440,6 +11423,23 @@ declare const editorMachine: StateMachine<
11440
11423
  type: 'select'
11441
11424
  selection: EditorSelection
11442
11425
  }
11426
+ | {
11427
+ type: 'annotation.toggle'
11428
+ annotation: {
11429
+ name: string
11430
+ value: {
11431
+ [prop: string]: unknown
11432
+ }
11433
+ }
11434
+ }
11435
+ | {
11436
+ type: 'decorator.toggle'
11437
+ decorator: string
11438
+ offsets?: {
11439
+ anchor: BlockOffset_2
11440
+ focus: BlockOffset_2
11441
+ }
11442
+ }
11443
11443
  | {
11444
11444
  type: 'insert.blocks'
11445
11445
  blocks: Array<PortableTextBlock>
@@ -11631,15 +11631,6 @@ declare const editorMachine: StateMachine<
11631
11631
  name: string
11632
11632
  }
11633
11633
  }
11634
- | {
11635
- type: 'annotation.toggle'
11636
- annotation: {
11637
- name: string
11638
- value: {
11639
- [prop: string]: unknown
11640
- }
11641
- }
11642
- }
11643
11634
  | {
11644
11635
  type: 'block.set'
11645
11636
  at: [KeyedSegment]
@@ -11665,14 +11656,6 @@ declare const editorMachine: StateMachine<
11665
11656
  type: 'decorator.remove'
11666
11657
  decorator: string
11667
11658
  }
11668
- | {
11669
- type: 'decorator.toggle'
11670
- decorator: string
11671
- offsets?: {
11672
- anchor: BlockOffset_2
11673
- focus: BlockOffset_2
11674
- }
11675
- }
11676
11659
  | {
11677
11660
  type: 'delete'
11678
11661
  selection: NonNullable<EditorSelection>
@@ -11757,7 +11740,24 @@ declare const editorMachine: StateMachine<
11757
11740
  selection: EditorSelection
11758
11741
  }
11759
11742
  | {
11760
- type: 'insert.blocks'
11743
+ type: 'annotation.toggle'
11744
+ annotation: {
11745
+ name: string
11746
+ value: {
11747
+ [prop: string]: unknown
11748
+ }
11749
+ }
11750
+ }
11751
+ | {
11752
+ type: 'decorator.toggle'
11753
+ decorator: string
11754
+ offsets?: {
11755
+ anchor: BlockOffset_2
11756
+ focus: BlockOffset_2
11757
+ }
11758
+ }
11759
+ | {
11760
+ type: 'insert.blocks'
11761
11761
  blocks: Array<PortableTextBlock>
11762
11762
  placement: InsertPlacement_2
11763
11763
  }
@@ -11897,15 +11897,6 @@ declare const editorMachine: StateMachine<
11897
11897
  name: string
11898
11898
  }
11899
11899
  }
11900
- | {
11901
- type: 'annotation.toggle'
11902
- annotation: {
11903
- name: string
11904
- value: {
11905
- [prop: string]: unknown
11906
- }
11907
- }
11908
- }
11909
11900
  | {
11910
11901
  type: 'block.set'
11911
11902
  at: [KeyedSegment]
@@ -11931,14 +11922,6 @@ declare const editorMachine: StateMachine<
11931
11922
  type: 'decorator.remove'
11932
11923
  decorator: string
11933
11924
  }
11934
- | {
11935
- type: 'decorator.toggle'
11936
- decorator: string
11937
- offsets?: {
11938
- anchor: BlockOffset_2
11939
- focus: BlockOffset_2
11940
- }
11941
- }
11942
11925
  | {
11943
11926
  type: 'delete'
11944
11927
  selection: NonNullable<EditorSelection>
@@ -12022,6 +12005,23 @@ declare const editorMachine: StateMachine<
12022
12005
  type: 'select'
12023
12006
  selection: EditorSelection
12024
12007
  }
12008
+ | {
12009
+ type: 'annotation.toggle'
12010
+ annotation: {
12011
+ name: string
12012
+ value: {
12013
+ [prop: string]: unknown
12014
+ }
12015
+ }
12016
+ }
12017
+ | {
12018
+ type: 'decorator.toggle'
12019
+ decorator: string
12020
+ offsets?: {
12021
+ anchor: BlockOffset_2
12022
+ focus: BlockOffset_2
12023
+ }
12024
+ }
12025
12025
  | {
12026
12026
  type: 'insert.blocks'
12027
12027
  blocks: Array<PortableTextBlock>
@@ -12213,15 +12213,6 @@ declare const editorMachine: StateMachine<
12213
12213
  name: string
12214
12214
  }
12215
12215
  }
12216
- | {
12217
- type: 'annotation.toggle'
12218
- annotation: {
12219
- name: string
12220
- value: {
12221
- [prop: string]: unknown
12222
- }
12223
- }
12224
- }
12225
12216
  | {
12226
12217
  type: 'block.set'
12227
12218
  at: [KeyedSegment]
@@ -12247,14 +12238,6 @@ declare const editorMachine: StateMachine<
12247
12238
  type: 'decorator.remove'
12248
12239
  decorator: string
12249
12240
  }
12250
- | {
12251
- type: 'decorator.toggle'
12252
- decorator: string
12253
- offsets?: {
12254
- anchor: BlockOffset_2
12255
- focus: BlockOffset_2
12256
- }
12257
- }
12258
12241
  | {
12259
12242
  type: 'delete'
12260
12243
  selection: NonNullable<EditorSelection>
@@ -12338,6 +12321,23 @@ declare const editorMachine: StateMachine<
12338
12321
  type: 'select'
12339
12322
  selection: EditorSelection
12340
12323
  }
12324
+ | {
12325
+ type: 'annotation.toggle'
12326
+ annotation: {
12327
+ name: string
12328
+ value: {
12329
+ [prop: string]: unknown
12330
+ }
12331
+ }
12332
+ }
12333
+ | {
12334
+ type: 'decorator.toggle'
12335
+ decorator: string
12336
+ offsets?: {
12337
+ anchor: BlockOffset_2
12338
+ focus: BlockOffset_2
12339
+ }
12340
+ }
12341
12341
  | {
12342
12342
  type: 'insert.blocks'
12343
12343
  blocks: Array<PortableTextBlock>
@@ -12465,15 +12465,6 @@ declare const editorMachine: StateMachine<
12465
12465
  name: string
12466
12466
  }
12467
12467
  }
12468
- | {
12469
- type: 'annotation.toggle'
12470
- annotation: {
12471
- name: string
12472
- value: {
12473
- [prop: string]: unknown
12474
- }
12475
- }
12476
- }
12477
12468
  | {
12478
12469
  type: 'block.set'
12479
12470
  at: [KeyedSegment]
@@ -12499,14 +12490,6 @@ declare const editorMachine: StateMachine<
12499
12490
  type: 'decorator.remove'
12500
12491
  decorator: string
12501
12492
  }
12502
- | {
12503
- type: 'decorator.toggle'
12504
- decorator: string
12505
- offsets?: {
12506
- anchor: BlockOffset_2
12507
- focus: BlockOffset_2
12508
- }
12509
- }
12510
12493
  | {
12511
12494
  type: 'delete'
12512
12495
  selection: NonNullable<EditorSelection>
@@ -12590,6 +12573,23 @@ declare const editorMachine: StateMachine<
12590
12573
  type: 'select'
12591
12574
  selection: EditorSelection
12592
12575
  }
12576
+ | {
12577
+ type: 'annotation.toggle'
12578
+ annotation: {
12579
+ name: string
12580
+ value: {
12581
+ [prop: string]: unknown
12582
+ }
12583
+ }
12584
+ }
12585
+ | {
12586
+ type: 'decorator.toggle'
12587
+ decorator: string
12588
+ offsets?: {
12589
+ anchor: BlockOffset_2
12590
+ focus: BlockOffset_2
12591
+ }
12592
+ }
12593
12593
  | {
12594
12594
  type: 'insert.blocks'
12595
12595
  blocks: Array<PortableTextBlock>
@@ -12781,15 +12781,6 @@ declare const editorMachine: StateMachine<
12781
12781
  name: string
12782
12782
  }
12783
12783
  }
12784
- | {
12785
- type: 'annotation.toggle'
12786
- annotation: {
12787
- name: string
12788
- value: {
12789
- [prop: string]: unknown
12790
- }
12791
- }
12792
- }
12793
12784
  | {
12794
12785
  type: 'block.set'
12795
12786
  at: [KeyedSegment]
@@ -12815,14 +12806,6 @@ declare const editorMachine: StateMachine<
12815
12806
  type: 'decorator.remove'
12816
12807
  decorator: string
12817
12808
  }
12818
- | {
12819
- type: 'decorator.toggle'
12820
- decorator: string
12821
- offsets?: {
12822
- anchor: BlockOffset_2
12823
- focus: BlockOffset_2
12824
- }
12825
- }
12826
12809
  | {
12827
12810
  type: 'delete'
12828
12811
  selection: NonNullable<EditorSelection>
@@ -12906,6 +12889,23 @@ declare const editorMachine: StateMachine<
12906
12889
  type: 'select'
12907
12890
  selection: EditorSelection
12908
12891
  }
12892
+ | {
12893
+ type: 'annotation.toggle'
12894
+ annotation: {
12895
+ name: string
12896
+ value: {
12897
+ [prop: string]: unknown
12898
+ }
12899
+ }
12900
+ }
12901
+ | {
12902
+ type: 'decorator.toggle'
12903
+ decorator: string
12904
+ offsets?: {
12905
+ anchor: BlockOffset_2
12906
+ focus: BlockOffset_2
12907
+ }
12908
+ }
12909
12909
  | {
12910
12910
  type: 'insert.blocks'
12911
12911
  blocks: Array<PortableTextBlock>
@@ -13036,15 +13036,6 @@ declare const editorMachine: StateMachine<
13036
13036
  name: string
13037
13037
  }
13038
13038
  }
13039
- | {
13040
- type: 'annotation.toggle'
13041
- annotation: {
13042
- name: string
13043
- value: {
13044
- [prop: string]: unknown
13045
- }
13046
- }
13047
- }
13048
13039
  | {
13049
13040
  type: 'block.set'
13050
13041
  at: [KeyedSegment]
@@ -13070,14 +13061,6 @@ declare const editorMachine: StateMachine<
13070
13061
  type: 'decorator.remove'
13071
13062
  decorator: string
13072
13063
  }
13073
- | {
13074
- type: 'decorator.toggle'
13075
- decorator: string
13076
- offsets?: {
13077
- anchor: BlockOffset_2
13078
- focus: BlockOffset_2
13079
- }
13080
- }
13081
13064
  | {
13082
13065
  type: 'delete'
13083
13066
  selection: NonNullable<EditorSelection>
@@ -13161,6 +13144,23 @@ declare const editorMachine: StateMachine<
13161
13144
  type: 'select'
13162
13145
  selection: EditorSelection
13163
13146
  }
13147
+ | {
13148
+ type: 'annotation.toggle'
13149
+ annotation: {
13150
+ name: string
13151
+ value: {
13152
+ [prop: string]: unknown
13153
+ }
13154
+ }
13155
+ }
13156
+ | {
13157
+ type: 'decorator.toggle'
13158
+ decorator: string
13159
+ offsets?: {
13160
+ anchor: BlockOffset_2
13161
+ focus: BlockOffset_2
13162
+ }
13163
+ }
13164
13164
  | {
13165
13165
  type: 'insert.blocks'
13166
13166
  blocks: Array<PortableTextBlock>
@@ -13352,15 +13352,6 @@ declare const editorMachine: StateMachine<
13352
13352
  name: string
13353
13353
  }
13354
13354
  }
13355
- | {
13356
- type: 'annotation.toggle'
13357
- annotation: {
13358
- name: string
13359
- value: {
13360
- [prop: string]: unknown
13361
- }
13362
- }
13363
- }
13364
13355
  | {
13365
13356
  type: 'block.set'
13366
13357
  at: [KeyedSegment]
@@ -13386,14 +13377,6 @@ declare const editorMachine: StateMachine<
13386
13377
  type: 'decorator.remove'
13387
13378
  decorator: string
13388
13379
  }
13389
- | {
13390
- type: 'decorator.toggle'
13391
- decorator: string
13392
- offsets?: {
13393
- anchor: BlockOffset_2
13394
- focus: BlockOffset_2
13395
- }
13396
- }
13397
13380
  | {
13398
13381
  type: 'delete'
13399
13382
  selection: NonNullable<EditorSelection>
@@ -13477,6 +13460,23 @@ declare const editorMachine: StateMachine<
13477
13460
  type: 'select'
13478
13461
  selection: EditorSelection
13479
13462
  }
13463
+ | {
13464
+ type: 'annotation.toggle'
13465
+ annotation: {
13466
+ name: string
13467
+ value: {
13468
+ [prop: string]: unknown
13469
+ }
13470
+ }
13471
+ }
13472
+ | {
13473
+ type: 'decorator.toggle'
13474
+ decorator: string
13475
+ offsets?: {
13476
+ anchor: BlockOffset_2
13477
+ focus: BlockOffset_2
13478
+ }
13479
+ }
13480
13480
  | {
13481
13481
  type: 'insert.blocks'
13482
13482
  blocks: Array<PortableTextBlock>
@@ -13652,15 +13652,6 @@ declare const editorMachine: StateMachine<
13652
13652
  name: string
13653
13653
  }
13654
13654
  }
13655
- | {
13656
- type: 'annotation.toggle'
13657
- annotation: {
13658
- name: string
13659
- value: {
13660
- [prop: string]: unknown
13661
- }
13662
- }
13663
- }
13664
13655
  | {
13665
13656
  type: 'block.set'
13666
13657
  at: [KeyedSegment]
@@ -13686,14 +13677,6 @@ declare const editorMachine: StateMachine<
13686
13677
  type: 'decorator.remove'
13687
13678
  decorator: string
13688
13679
  }
13689
- | {
13690
- type: 'decorator.toggle'
13691
- decorator: string
13692
- offsets?: {
13693
- anchor: BlockOffset_2
13694
- focus: BlockOffset_2
13695
- }
13696
- }
13697
13680
  | {
13698
13681
  type: 'delete'
13699
13682
  selection: NonNullable<EditorSelection>
@@ -13777,6 +13760,23 @@ declare const editorMachine: StateMachine<
13777
13760
  type: 'select'
13778
13761
  selection: EditorSelection
13779
13762
  }
13763
+ | {
13764
+ type: 'annotation.toggle'
13765
+ annotation: {
13766
+ name: string
13767
+ value: {
13768
+ [prop: string]: unknown
13769
+ }
13770
+ }
13771
+ }
13772
+ | {
13773
+ type: 'decorator.toggle'
13774
+ decorator: string
13775
+ offsets?: {
13776
+ anchor: BlockOffset_2
13777
+ focus: BlockOffset_2
13778
+ }
13779
+ }
13780
13780
  | {
13781
13781
  type: 'insert.blocks'
13782
13782
  blocks: Array<PortableTextBlock>
@@ -13968,15 +13968,6 @@ declare const editorMachine: StateMachine<
13968
13968
  name: string
13969
13969
  }
13970
13970
  }
13971
- | {
13972
- type: 'annotation.toggle'
13973
- annotation: {
13974
- name: string
13975
- value: {
13976
- [prop: string]: unknown
13977
- }
13978
- }
13979
- }
13980
13971
  | {
13981
13972
  type: 'block.set'
13982
13973
  at: [KeyedSegment]
@@ -14002,14 +13993,6 @@ declare const editorMachine: StateMachine<
14002
13993
  type: 'decorator.remove'
14003
13994
  decorator: string
14004
13995
  }
14005
- | {
14006
- type: 'decorator.toggle'
14007
- decorator: string
14008
- offsets?: {
14009
- anchor: BlockOffset_2
14010
- focus: BlockOffset_2
14011
- }
14012
- }
14013
13996
  | {
14014
13997
  type: 'delete'
14015
13998
  selection: NonNullable<EditorSelection>
@@ -14093,6 +14076,23 @@ declare const editorMachine: StateMachine<
14093
14076
  type: 'select'
14094
14077
  selection: EditorSelection
14095
14078
  }
14079
+ | {
14080
+ type: 'annotation.toggle'
14081
+ annotation: {
14082
+ name: string
14083
+ value: {
14084
+ [prop: string]: unknown
14085
+ }
14086
+ }
14087
+ }
14088
+ | {
14089
+ type: 'decorator.toggle'
14090
+ decorator: string
14091
+ offsets?: {
14092
+ anchor: BlockOffset_2
14093
+ focus: BlockOffset_2
14094
+ }
14095
+ }
14096
14096
  | {
14097
14097
  type: 'insert.blocks'
14098
14098
  blocks: Array<PortableTextBlock>
@@ -14229,15 +14229,6 @@ declare const editorMachine: StateMachine<
14229
14229
  name: string
14230
14230
  }
14231
14231
  }
14232
- | {
14233
- type: 'annotation.toggle'
14234
- annotation: {
14235
- name: string
14236
- value: {
14237
- [prop: string]: unknown
14238
- }
14239
- }
14240
- }
14241
14232
  | {
14242
14233
  type: 'block.set'
14243
14234
  at: [KeyedSegment]
@@ -14263,14 +14254,6 @@ declare const editorMachine: StateMachine<
14263
14254
  type: 'decorator.remove'
14264
14255
  decorator: string
14265
14256
  }
14266
- | {
14267
- type: 'decorator.toggle'
14268
- decorator: string
14269
- offsets?: {
14270
- anchor: BlockOffset_2
14271
- focus: BlockOffset_2
14272
- }
14273
- }
14274
14257
  | {
14275
14258
  type: 'delete'
14276
14259
  selection: NonNullable<EditorSelection>
@@ -14354,6 +14337,23 @@ declare const editorMachine: StateMachine<
14354
14337
  type: 'select'
14355
14338
  selection: EditorSelection
14356
14339
  }
14340
+ | {
14341
+ type: 'annotation.toggle'
14342
+ annotation: {
14343
+ name: string
14344
+ value: {
14345
+ [prop: string]: unknown
14346
+ }
14347
+ }
14348
+ }
14349
+ | {
14350
+ type: 'decorator.toggle'
14351
+ decorator: string
14352
+ offsets?: {
14353
+ anchor: BlockOffset_2
14354
+ focus: BlockOffset_2
14355
+ }
14356
+ }
14357
14357
  | {
14358
14358
  type: 'insert.blocks'
14359
14359
  blocks: Array<PortableTextBlock>
@@ -14545,15 +14545,6 @@ declare const editorMachine: StateMachine<
14545
14545
  name: string
14546
14546
  }
14547
14547
  }
14548
- | {
14549
- type: 'annotation.toggle'
14550
- annotation: {
14551
- name: string
14552
- value: {
14553
- [prop: string]: unknown
14554
- }
14555
- }
14556
- }
14557
14548
  | {
14558
14549
  type: 'block.set'
14559
14550
  at: [KeyedSegment]
@@ -14579,14 +14570,6 @@ declare const editorMachine: StateMachine<
14579
14570
  type: 'decorator.remove'
14580
14571
  decorator: string
14581
14572
  }
14582
- | {
14583
- type: 'decorator.toggle'
14584
- decorator: string
14585
- offsets?: {
14586
- anchor: BlockOffset_2
14587
- focus: BlockOffset_2
14588
- }
14589
- }
14590
14573
  | {
14591
14574
  type: 'delete'
14592
14575
  selection: NonNullable<EditorSelection>
@@ -14670,6 +14653,23 @@ declare const editorMachine: StateMachine<
14670
14653
  type: 'select'
14671
14654
  selection: EditorSelection
14672
14655
  }
14656
+ | {
14657
+ type: 'annotation.toggle'
14658
+ annotation: {
14659
+ name: string
14660
+ value: {
14661
+ [prop: string]: unknown
14662
+ }
14663
+ }
14664
+ }
14665
+ | {
14666
+ type: 'decorator.toggle'
14667
+ decorator: string
14668
+ offsets?: {
14669
+ anchor: BlockOffset_2
14670
+ focus: BlockOffset_2
14671
+ }
14672
+ }
14673
14673
  | {
14674
14674
  type: 'insert.blocks'
14675
14675
  blocks: Array<PortableTextBlock>
@@ -14807,15 +14807,6 @@ declare const editorMachine: StateMachine<
14807
14807
  name: string
14808
14808
  }
14809
14809
  }
14810
- | {
14811
- type: 'annotation.toggle'
14812
- annotation: {
14813
- name: string
14814
- value: {
14815
- [prop: string]: unknown
14816
- }
14817
- }
14818
- }
14819
14810
  | {
14820
14811
  type: 'block.set'
14821
14812
  at: [KeyedSegment]
@@ -14841,14 +14832,6 @@ declare const editorMachine: StateMachine<
14841
14832
  type: 'decorator.remove'
14842
14833
  decorator: string
14843
14834
  }
14844
- | {
14845
- type: 'decorator.toggle'
14846
- decorator: string
14847
- offsets?: {
14848
- anchor: BlockOffset_2
14849
- focus: BlockOffset_2
14850
- }
14851
- }
14852
14835
  | {
14853
14836
  type: 'delete'
14854
14837
  selection: NonNullable<EditorSelection>
@@ -14932,6 +14915,23 @@ declare const editorMachine: StateMachine<
14932
14915
  type: 'select'
14933
14916
  selection: EditorSelection
14934
14917
  }
14918
+ | {
14919
+ type: 'annotation.toggle'
14920
+ annotation: {
14921
+ name: string
14922
+ value: {
14923
+ [prop: string]: unknown
14924
+ }
14925
+ }
14926
+ }
14927
+ | {
14928
+ type: 'decorator.toggle'
14929
+ decorator: string
14930
+ offsets?: {
14931
+ anchor: BlockOffset_2
14932
+ focus: BlockOffset_2
14933
+ }
14934
+ }
14935
14935
  | {
14936
14936
  type: 'insert.blocks'
14937
14937
  blocks: Array<PortableTextBlock>
@@ -15123,15 +15123,6 @@ declare const editorMachine: StateMachine<
15123
15123
  name: string
15124
15124
  }
15125
15125
  }
15126
- | {
15127
- type: 'annotation.toggle'
15128
- annotation: {
15129
- name: string
15130
- value: {
15131
- [prop: string]: unknown
15132
- }
15133
- }
15134
- }
15135
15126
  | {
15136
15127
  type: 'block.set'
15137
15128
  at: [KeyedSegment]
@@ -15157,14 +15148,6 @@ declare const editorMachine: StateMachine<
15157
15148
  type: 'decorator.remove'
15158
15149
  decorator: string
15159
15150
  }
15160
- | {
15161
- type: 'decorator.toggle'
15162
- decorator: string
15163
- offsets?: {
15164
- anchor: BlockOffset_2
15165
- focus: BlockOffset_2
15166
- }
15167
- }
15168
15151
  | {
15169
15152
  type: 'delete'
15170
15153
  selection: NonNullable<EditorSelection>
@@ -15248,6 +15231,23 @@ declare const editorMachine: StateMachine<
15248
15231
  type: 'select'
15249
15232
  selection: EditorSelection
15250
15233
  }
15234
+ | {
15235
+ type: 'annotation.toggle'
15236
+ annotation: {
15237
+ name: string
15238
+ value: {
15239
+ [prop: string]: unknown
15240
+ }
15241
+ }
15242
+ }
15243
+ | {
15244
+ type: 'decorator.toggle'
15245
+ decorator: string
15246
+ offsets?: {
15247
+ anchor: BlockOffset_2
15248
+ focus: BlockOffset_2
15249
+ }
15250
+ }
15251
15251
  | {
15252
15252
  type: 'insert.blocks'
15253
15253
  blocks: Array<PortableTextBlock>
@@ -15376,15 +15376,6 @@ declare const editorMachine: StateMachine<
15376
15376
  name: string
15377
15377
  }
15378
15378
  }
15379
- | {
15380
- type: 'annotation.toggle'
15381
- annotation: {
15382
- name: string
15383
- value: {
15384
- [prop: string]: unknown
15385
- }
15386
- }
15387
- }
15388
15379
  | {
15389
15380
  type: 'block.set'
15390
15381
  at: [KeyedSegment]
@@ -15410,14 +15401,6 @@ declare const editorMachine: StateMachine<
15410
15401
  type: 'decorator.remove'
15411
15402
  decorator: string
15412
15403
  }
15413
- | {
15414
- type: 'decorator.toggle'
15415
- decorator: string
15416
- offsets?: {
15417
- anchor: BlockOffset_2
15418
- focus: BlockOffset_2
15419
- }
15420
- }
15421
15404
  | {
15422
15405
  type: 'delete'
15423
15406
  selection: NonNullable<EditorSelection>
@@ -15501,6 +15484,23 @@ declare const editorMachine: StateMachine<
15501
15484
  type: 'select'
15502
15485
  selection: EditorSelection
15503
15486
  }
15487
+ | {
15488
+ type: 'annotation.toggle'
15489
+ annotation: {
15490
+ name: string
15491
+ value: {
15492
+ [prop: string]: unknown
15493
+ }
15494
+ }
15495
+ }
15496
+ | {
15497
+ type: 'decorator.toggle'
15498
+ decorator: string
15499
+ offsets?: {
15500
+ anchor: BlockOffset_2
15501
+ focus: BlockOffset_2
15502
+ }
15503
+ }
15504
15504
  | {
15505
15505
  type: 'insert.blocks'
15506
15506
  blocks: Array<PortableTextBlock>
@@ -15692,15 +15692,6 @@ declare const editorMachine: StateMachine<
15692
15692
  name: string
15693
15693
  }
15694
15694
  }
15695
- | {
15696
- type: 'annotation.toggle'
15697
- annotation: {
15698
- name: string
15699
- value: {
15700
- [prop: string]: unknown
15701
- }
15702
- }
15703
- }
15704
15695
  | {
15705
15696
  type: 'block.set'
15706
15697
  at: [KeyedSegment]
@@ -15726,14 +15717,6 @@ declare const editorMachine: StateMachine<
15726
15717
  type: 'decorator.remove'
15727
15718
  decorator: string
15728
15719
  }
15729
- | {
15730
- type: 'decorator.toggle'
15731
- decorator: string
15732
- offsets?: {
15733
- anchor: BlockOffset_2
15734
- focus: BlockOffset_2
15735
- }
15736
- }
15737
15720
  | {
15738
15721
  type: 'delete'
15739
15722
  selection: NonNullable<EditorSelection>
@@ -15817,6 +15800,23 @@ declare const editorMachine: StateMachine<
15817
15800
  type: 'select'
15818
15801
  selection: EditorSelection
15819
15802
  }
15803
+ | {
15804
+ type: 'annotation.toggle'
15805
+ annotation: {
15806
+ name: string
15807
+ value: {
15808
+ [prop: string]: unknown
15809
+ }
15810
+ }
15811
+ }
15812
+ | {
15813
+ type: 'decorator.toggle'
15814
+ decorator: string
15815
+ offsets?: {
15816
+ anchor: BlockOffset_2
15817
+ focus: BlockOffset_2
15818
+ }
15819
+ }
15820
15820
  | {
15821
15821
  type: 'insert.blocks'
15822
15822
  blocks: Array<PortableTextBlock>
@@ -15966,15 +15966,6 @@ declare const editorMachine: StateMachine<
15966
15966
  name: string
15967
15967
  }
15968
15968
  }
15969
- | {
15970
- type: 'annotation.toggle'
15971
- annotation: {
15972
- name: string
15973
- value: {
15974
- [prop: string]: unknown
15975
- }
15976
- }
15977
- }
15978
15969
  | {
15979
15970
  type: 'block.set'
15980
15971
  at: [KeyedSegment]
@@ -15996,17 +15987,9 @@ declare const editorMachine: StateMachine<
15996
15987
  focus: BlockOffset_2
15997
15988
  }
15998
15989
  }
15999
- | {
16000
- type: 'decorator.remove'
16001
- decorator: string
16002
- }
16003
- | {
16004
- type: 'decorator.toggle'
16005
- decorator: string
16006
- offsets?: {
16007
- anchor: BlockOffset_2
16008
- focus: BlockOffset_2
16009
- }
15990
+ | {
15991
+ type: 'decorator.remove'
15992
+ decorator: string
16010
15993
  }
16011
15994
  | {
16012
15995
  type: 'delete'
@@ -16091,6 +16074,23 @@ declare const editorMachine: StateMachine<
16091
16074
  type: 'select'
16092
16075
  selection: EditorSelection
16093
16076
  }
16077
+ | {
16078
+ type: 'annotation.toggle'
16079
+ annotation: {
16080
+ name: string
16081
+ value: {
16082
+ [prop: string]: unknown
16083
+ }
16084
+ }
16085
+ }
16086
+ | {
16087
+ type: 'decorator.toggle'
16088
+ decorator: string
16089
+ offsets?: {
16090
+ anchor: BlockOffset_2
16091
+ focus: BlockOffset_2
16092
+ }
16093
+ }
16094
16094
  | {
16095
16095
  type: 'insert.blocks'
16096
16096
  blocks: Array<PortableTextBlock>
@@ -16282,15 +16282,6 @@ declare const editorMachine: StateMachine<
16282
16282
  name: string
16283
16283
  }
16284
16284
  }
16285
- | {
16286
- type: 'annotation.toggle'
16287
- annotation: {
16288
- name: string
16289
- value: {
16290
- [prop: string]: unknown
16291
- }
16292
- }
16293
- }
16294
16285
  | {
16295
16286
  type: 'block.set'
16296
16287
  at: [KeyedSegment]
@@ -16316,14 +16307,6 @@ declare const editorMachine: StateMachine<
16316
16307
  type: 'decorator.remove'
16317
16308
  decorator: string
16318
16309
  }
16319
- | {
16320
- type: 'decorator.toggle'
16321
- decorator: string
16322
- offsets?: {
16323
- anchor: BlockOffset_2
16324
- focus: BlockOffset_2
16325
- }
16326
- }
16327
16310
  | {
16328
16311
  type: 'delete'
16329
16312
  selection: NonNullable<EditorSelection>
@@ -16407,6 +16390,23 @@ declare const editorMachine: StateMachine<
16407
16390
  type: 'select'
16408
16391
  selection: EditorSelection
16409
16392
  }
16393
+ | {
16394
+ type: 'annotation.toggle'
16395
+ annotation: {
16396
+ name: string
16397
+ value: {
16398
+ [prop: string]: unknown
16399
+ }
16400
+ }
16401
+ }
16402
+ | {
16403
+ type: 'decorator.toggle'
16404
+ decorator: string
16405
+ offsets?: {
16406
+ anchor: BlockOffset_2
16407
+ focus: BlockOffset_2
16408
+ }
16409
+ }
16410
16410
  | {
16411
16411
  type: 'insert.blocks'
16412
16412
  blocks: Array<PortableTextBlock>
@@ -16557,15 +16557,6 @@ declare const editorMachine: StateMachine<
16557
16557
  name: string
16558
16558
  }
16559
16559
  }
16560
- | {
16561
- type: 'annotation.toggle'
16562
- annotation: {
16563
- name: string
16564
- value: {
16565
- [prop: string]: unknown
16566
- }
16567
- }
16568
- }
16569
16560
  | {
16570
16561
  type: 'block.set'
16571
16562
  at: [KeyedSegment]
@@ -16591,14 +16582,6 @@ declare const editorMachine: StateMachine<
16591
16582
  type: 'decorator.remove'
16592
16583
  decorator: string
16593
16584
  }
16594
- | {
16595
- type: 'decorator.toggle'
16596
- decorator: string
16597
- offsets?: {
16598
- anchor: BlockOffset_2
16599
- focus: BlockOffset_2
16600
- }
16601
- }
16602
16585
  | {
16603
16586
  type: 'delete'
16604
16587
  selection: NonNullable<EditorSelection>
@@ -16682,6 +16665,23 @@ declare const editorMachine: StateMachine<
16682
16665
  type: 'select'
16683
16666
  selection: EditorSelection
16684
16667
  }
16668
+ | {
16669
+ type: 'annotation.toggle'
16670
+ annotation: {
16671
+ name: string
16672
+ value: {
16673
+ [prop: string]: unknown
16674
+ }
16675
+ }
16676
+ }
16677
+ | {
16678
+ type: 'decorator.toggle'
16679
+ decorator: string
16680
+ offsets?: {
16681
+ anchor: BlockOffset_2
16682
+ focus: BlockOffset_2
16683
+ }
16684
+ }
16685
16685
  | {
16686
16686
  type: 'insert.blocks'
16687
16687
  blocks: Array<PortableTextBlock>
@@ -16900,15 +16900,6 @@ declare const editorMachine: StateMachine<
16900
16900
  name: string
16901
16901
  }
16902
16902
  }
16903
- | {
16904
- type: 'annotation.toggle'
16905
- annotation: {
16906
- name: string
16907
- value: {
16908
- [prop: string]: unknown
16909
- }
16910
- }
16911
- }
16912
16903
  | {
16913
16904
  type: 'block.set'
16914
16905
  at: [KeyedSegment]
@@ -16934,14 +16925,6 @@ declare const editorMachine: StateMachine<
16934
16925
  type: 'decorator.remove'
16935
16926
  decorator: string
16936
16927
  }
16937
- | {
16938
- type: 'decorator.toggle'
16939
- decorator: string
16940
- offsets?: {
16941
- anchor: BlockOffset_2
16942
- focus: BlockOffset_2
16943
- }
16944
- }
16945
16928
  | {
16946
16929
  type: 'delete'
16947
16930
  selection: NonNullable<EditorSelection>
@@ -17025,6 +17008,23 @@ declare const editorMachine: StateMachine<
17025
17008
  type: 'select'
17026
17009
  selection: EditorSelection
17027
17010
  }
17011
+ | {
17012
+ type: 'annotation.toggle'
17013
+ annotation: {
17014
+ name: string
17015
+ value: {
17016
+ [prop: string]: unknown
17017
+ }
17018
+ }
17019
+ }
17020
+ | {
17021
+ type: 'decorator.toggle'
17022
+ decorator: string
17023
+ offsets?: {
17024
+ anchor: BlockOffset_2
17025
+ focus: BlockOffset_2
17026
+ }
17027
+ }
17028
17028
  | {
17029
17029
  type: 'insert.blocks'
17030
17030
  blocks: Array<PortableTextBlock>
@@ -17211,15 +17211,6 @@ declare const editorMachine: StateMachine<
17211
17211
  name: string
17212
17212
  }
17213
17213
  }
17214
- | {
17215
- type: 'annotation.toggle'
17216
- annotation: {
17217
- name: string
17218
- value: {
17219
- [prop: string]: unknown
17220
- }
17221
- }
17222
- }
17223
17214
  | {
17224
17215
  type: 'block.set'
17225
17216
  at: [KeyedSegment]
@@ -17245,14 +17236,6 @@ declare const editorMachine: StateMachine<
17245
17236
  type: 'decorator.remove'
17246
17237
  decorator: string
17247
17238
  }
17248
- | {
17249
- type: 'decorator.toggle'
17250
- decorator: string
17251
- offsets?: {
17252
- anchor: BlockOffset_2
17253
- focus: BlockOffset_2
17254
- }
17255
- }
17256
17239
  | {
17257
17240
  type: 'delete'
17258
17241
  selection: NonNullable<EditorSelection>
@@ -17336,6 +17319,23 @@ declare const editorMachine: StateMachine<
17336
17319
  type: 'select'
17337
17320
  selection: EditorSelection
17338
17321
  }
17322
+ | {
17323
+ type: 'annotation.toggle'
17324
+ annotation: {
17325
+ name: string
17326
+ value: {
17327
+ [prop: string]: unknown
17328
+ }
17329
+ }
17330
+ }
17331
+ | {
17332
+ type: 'decorator.toggle'
17333
+ decorator: string
17334
+ offsets?: {
17335
+ anchor: BlockOffset_2
17336
+ focus: BlockOffset_2
17337
+ }
17338
+ }
17339
17339
  | {
17340
17340
  type: 'insert.blocks'
17341
17341
  blocks: Array<PortableTextBlock>
@@ -17539,15 +17539,6 @@ declare const editorMachine: StateMachine<
17539
17539
  name: string
17540
17540
  }
17541
17541
  }
17542
- | {
17543
- type: 'annotation.toggle'
17544
- annotation: {
17545
- name: string
17546
- value: {
17547
- [prop: string]: unknown
17548
- }
17549
- }
17550
- }
17551
17542
  | {
17552
17543
  type: 'block.set'
17553
17544
  at: [KeyedSegment]
@@ -17573,14 +17564,6 @@ declare const editorMachine: StateMachine<
17573
17564
  type: 'decorator.remove'
17574
17565
  decorator: string
17575
17566
  }
17576
- | {
17577
- type: 'decorator.toggle'
17578
- decorator: string
17579
- offsets?: {
17580
- anchor: BlockOffset_2
17581
- focus: BlockOffset_2
17582
- }
17583
- }
17584
17567
  | {
17585
17568
  type: 'delete'
17586
17569
  selection: NonNullable<EditorSelection>
@@ -17664,6 +17647,23 @@ declare const editorMachine: StateMachine<
17664
17647
  type: 'select'
17665
17648
  selection: EditorSelection
17666
17649
  }
17650
+ | {
17651
+ type: 'annotation.toggle'
17652
+ annotation: {
17653
+ name: string
17654
+ value: {
17655
+ [prop: string]: unknown
17656
+ }
17657
+ }
17658
+ }
17659
+ | {
17660
+ type: 'decorator.toggle'
17661
+ decorator: string
17662
+ offsets?: {
17663
+ anchor: BlockOffset_2
17664
+ focus: BlockOffset_2
17665
+ }
17666
+ }
17667
17667
  | {
17668
17668
  type: 'insert.blocks'
17669
17669
  blocks: Array<PortableTextBlock>
@@ -17850,15 +17850,6 @@ declare const editorMachine: StateMachine<
17850
17850
  name: string
17851
17851
  }
17852
17852
  }
17853
- | {
17854
- type: 'annotation.toggle'
17855
- annotation: {
17856
- name: string
17857
- value: {
17858
- [prop: string]: unknown
17859
- }
17860
- }
17861
- }
17862
17853
  | {
17863
17854
  type: 'block.set'
17864
17855
  at: [KeyedSegment]
@@ -17884,14 +17875,6 @@ declare const editorMachine: StateMachine<
17884
17875
  type: 'decorator.remove'
17885
17876
  decorator: string
17886
17877
  }
17887
- | {
17888
- type: 'decorator.toggle'
17889
- decorator: string
17890
- offsets?: {
17891
- anchor: BlockOffset_2
17892
- focus: BlockOffset_2
17893
- }
17894
- }
17895
17878
  | {
17896
17879
  type: 'delete'
17897
17880
  selection: NonNullable<EditorSelection>
@@ -17975,6 +17958,23 @@ declare const editorMachine: StateMachine<
17975
17958
  type: 'select'
17976
17959
  selection: EditorSelection
17977
17960
  }
17961
+ | {
17962
+ type: 'annotation.toggle'
17963
+ annotation: {
17964
+ name: string
17965
+ value: {
17966
+ [prop: string]: unknown
17967
+ }
17968
+ }
17969
+ }
17970
+ | {
17971
+ type: 'decorator.toggle'
17972
+ decorator: string
17973
+ offsets?: {
17974
+ anchor: BlockOffset_2
17975
+ focus: BlockOffset_2
17976
+ }
17977
+ }
17978
17978
  | {
17979
17979
  type: 'insert.blocks'
17980
17980
  blocks: Array<PortableTextBlock>
@@ -18645,6 +18645,23 @@ declare type InputBehaviorEvent = {
18645
18645
  declare type InsertPlacement = 'auto' | 'after' | 'before'
18646
18646
 
18647
18647
  declare type InternalBehaviorEvent =
18648
+ | {
18649
+ type: InternalBehaviorEventType<'annotation', 'toggle'>
18650
+ annotation: {
18651
+ name: string
18652
+ value: {
18653
+ [prop: string]: unknown
18654
+ }
18655
+ }
18656
+ }
18657
+ | {
18658
+ type: InternalBehaviorEventType<'decorator', 'toggle'>
18659
+ decorator: string
18660
+ offsets?: {
18661
+ anchor: BlockOffset
18662
+ focus: BlockOffset
18663
+ }
18664
+ }
18648
18665
  | {
18649
18666
  type: InternalBehaviorEventType<'deserialize'>
18650
18667
  originEvent:
@@ -18749,6 +18766,8 @@ declare type InternalBehaviorEvent =
18749
18766
  * Internal events
18750
18767
  **************************************/
18751
18768
  declare type InternalBehaviorEventNamespace =
18769
+ | 'annotation'
18770
+ | 'decorator'
18752
18771
  | 'deserialize'
18753
18772
  | 'deserialization'
18754
18773
  | 'list item'
@@ -19080,15 +19099,6 @@ declare type SyntheticBehaviorEvent =
19080
19099
  name: string
19081
19100
  }
19082
19101
  }
19083
- | {
19084
- type: SyntheticBehaviorEventType<'annotation', 'toggle'>
19085
- annotation: {
19086
- name: string
19087
- value: {
19088
- [prop: string]: unknown
19089
- }
19090
- }
19091
- }
19092
19102
  | {
19093
19103
  type: SyntheticBehaviorEventType<'block', 'set'>
19094
19104
  at: [KeyedSegment]
@@ -19114,14 +19124,6 @@ declare type SyntheticBehaviorEvent =
19114
19124
  type: SyntheticBehaviorEventType<'decorator', 'remove'>
19115
19125
  decorator: string
19116
19126
  }
19117
- | {
19118
- type: SyntheticBehaviorEventType<'decorator', 'toggle'>
19119
- decorator: string
19120
- offsets?: {
19121
- anchor: BlockOffset
19122
- focus: BlockOffset
19123
- }
19124
- }
19125
19127
  | {
19126
19128
  type: SyntheticBehaviorEventType<'delete'>
19127
19129
  selection: NonNullable<EditorSelection>