@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.
@@ -516,15 +516,6 @@ declare const editorMachine: StateMachine<
516
516
  name: string
517
517
  }
518
518
  }
519
- | {
520
- type: 'annotation.toggle'
521
- annotation: {
522
- name: string
523
- value: {
524
- [prop: string]: unknown
525
- }
526
- }
527
- }
528
519
  | {
529
520
  type: 'block.set'
530
521
  at: [KeyedSegment]
@@ -550,14 +541,6 @@ declare const editorMachine: StateMachine<
550
541
  type: 'decorator.remove'
551
542
  decorator: string
552
543
  }
553
- | {
554
- type: 'decorator.toggle'
555
- decorator: string
556
- offsets?: {
557
- anchor: BlockOffset_2
558
- focus: BlockOffset_2
559
- }
560
- }
561
544
  | {
562
545
  type: 'delete'
563
546
  selection: NonNullable<EditorSelection>
@@ -641,6 +624,23 @@ declare const editorMachine: StateMachine<
641
624
  type: 'select'
642
625
  selection: EditorSelection
643
626
  }
627
+ | {
628
+ type: 'annotation.toggle'
629
+ annotation: {
630
+ name: string
631
+ value: {
632
+ [prop: string]: unknown
633
+ }
634
+ }
635
+ }
636
+ | {
637
+ type: 'decorator.toggle'
638
+ decorator: string
639
+ offsets?: {
640
+ anchor: BlockOffset_2
641
+ focus: BlockOffset_2
642
+ }
643
+ }
644
644
  | {
645
645
  type: 'insert.blocks'
646
646
  blocks: Array<PortableTextBlock>
@@ -911,15 +911,6 @@ declare const editorMachine: StateMachine<
911
911
  name: string
912
912
  }
913
913
  }
914
- | {
915
- type: 'annotation.toggle'
916
- annotation: {
917
- name: string
918
- value: {
919
- [prop: string]: unknown
920
- }
921
- }
922
- }
923
914
  | {
924
915
  type: 'block.set'
925
916
  at: [KeyedSegment]
@@ -945,14 +936,6 @@ declare const editorMachine: StateMachine<
945
936
  type: 'decorator.remove'
946
937
  decorator: string
947
938
  }
948
- | {
949
- type: 'decorator.toggle'
950
- decorator: string
951
- offsets?: {
952
- anchor: BlockOffset_2
953
- focus: BlockOffset_2
954
- }
955
- }
956
939
  | {
957
940
  type: 'delete'
958
941
  selection: NonNullable<EditorSelection>
@@ -1036,6 +1019,23 @@ declare const editorMachine: StateMachine<
1036
1019
  type: 'select'
1037
1020
  selection: EditorSelection
1038
1021
  }
1022
+ | {
1023
+ type: 'annotation.toggle'
1024
+ annotation: {
1025
+ name: string
1026
+ value: {
1027
+ [prop: string]: unknown
1028
+ }
1029
+ }
1030
+ }
1031
+ | {
1032
+ type: 'decorator.toggle'
1033
+ decorator: string
1034
+ offsets?: {
1035
+ anchor: BlockOffset_2
1036
+ focus: BlockOffset_2
1037
+ }
1038
+ }
1039
1039
  | {
1040
1040
  type: 'insert.blocks'
1041
1041
  blocks: Array<PortableTextBlock>
@@ -1195,15 +1195,6 @@ declare const editorMachine: StateMachine<
1195
1195
  name: string
1196
1196
  }
1197
1197
  }
1198
- | {
1199
- type: 'annotation.toggle'
1200
- annotation: {
1201
- name: string
1202
- value: {
1203
- [prop: string]: unknown
1204
- }
1205
- }
1206
- }
1207
1198
  | {
1208
1199
  type: 'block.set'
1209
1200
  at: [KeyedSegment]
@@ -1229,14 +1220,6 @@ declare const editorMachine: StateMachine<
1229
1220
  type: 'decorator.remove'
1230
1221
  decorator: string
1231
1222
  }
1232
- | {
1233
- type: 'decorator.toggle'
1234
- decorator: string
1235
- offsets?: {
1236
- anchor: BlockOffset_2
1237
- focus: BlockOffset_2
1238
- }
1239
- }
1240
1223
  | {
1241
1224
  type: 'delete'
1242
1225
  selection: NonNullable<EditorSelection>
@@ -1320,6 +1303,23 @@ declare const editorMachine: StateMachine<
1320
1303
  type: 'select'
1321
1304
  selection: EditorSelection
1322
1305
  }
1306
+ | {
1307
+ type: 'annotation.toggle'
1308
+ annotation: {
1309
+ name: string
1310
+ value: {
1311
+ [prop: string]: unknown
1312
+ }
1313
+ }
1314
+ }
1315
+ | {
1316
+ type: 'decorator.toggle'
1317
+ decorator: string
1318
+ offsets?: {
1319
+ anchor: BlockOffset_2
1320
+ focus: BlockOffset_2
1321
+ }
1322
+ }
1323
1323
  | {
1324
1324
  type: 'insert.blocks'
1325
1325
  blocks: Array<PortableTextBlock>
@@ -1513,15 +1513,6 @@ declare const editorMachine: StateMachine<
1513
1513
  name: string
1514
1514
  }
1515
1515
  }
1516
- | {
1517
- type: 'annotation.toggle'
1518
- annotation: {
1519
- name: string
1520
- value: {
1521
- [prop: string]: unknown
1522
- }
1523
- }
1524
- }
1525
1516
  | {
1526
1517
  type: 'block.set'
1527
1518
  at: [KeyedSegment]
@@ -1547,14 +1538,6 @@ declare const editorMachine: StateMachine<
1547
1538
  type: 'decorator.remove'
1548
1539
  decorator: string
1549
1540
  }
1550
- | {
1551
- type: 'decorator.toggle'
1552
- decorator: string
1553
- offsets?: {
1554
- anchor: BlockOffset_2
1555
- focus: BlockOffset_2
1556
- }
1557
- }
1558
1541
  | {
1559
1542
  type: 'delete'
1560
1543
  selection: NonNullable<EditorSelection>
@@ -1638,6 +1621,23 @@ declare const editorMachine: StateMachine<
1638
1621
  type: 'select'
1639
1622
  selection: EditorSelection
1640
1623
  }
1624
+ | {
1625
+ type: 'annotation.toggle'
1626
+ annotation: {
1627
+ name: string
1628
+ value: {
1629
+ [prop: string]: unknown
1630
+ }
1631
+ }
1632
+ }
1633
+ | {
1634
+ type: 'decorator.toggle'
1635
+ decorator: string
1636
+ offsets?: {
1637
+ anchor: BlockOffset_2
1638
+ focus: BlockOffset_2
1639
+ }
1640
+ }
1641
1641
  | {
1642
1642
  type: 'insert.blocks'
1643
1643
  blocks: Array<PortableTextBlock>
@@ -1859,15 +1859,6 @@ declare const editorMachine: StateMachine<
1859
1859
  name: string
1860
1860
  }
1861
1861
  }
1862
- | {
1863
- type: 'annotation.toggle'
1864
- annotation: {
1865
- name: string
1866
- value: {
1867
- [prop: string]: unknown
1868
- }
1869
- }
1870
- }
1871
1862
  | {
1872
1863
  type: 'block.set'
1873
1864
  at: [KeyedSegment]
@@ -1893,14 +1884,6 @@ declare const editorMachine: StateMachine<
1893
1884
  type: 'decorator.remove'
1894
1885
  decorator: string
1895
1886
  }
1896
- | {
1897
- type: 'decorator.toggle'
1898
- decorator: string
1899
- offsets?: {
1900
- anchor: BlockOffset_2
1901
- focus: BlockOffset_2
1902
- }
1903
- }
1904
1887
  | {
1905
1888
  type: 'delete'
1906
1889
  selection: NonNullable<EditorSelection>
@@ -1984,6 +1967,23 @@ declare const editorMachine: StateMachine<
1984
1967
  type: 'select'
1985
1968
  selection: EditorSelection
1986
1969
  }
1970
+ | {
1971
+ type: 'annotation.toggle'
1972
+ annotation: {
1973
+ name: string
1974
+ value: {
1975
+ [prop: string]: unknown
1976
+ }
1977
+ }
1978
+ }
1979
+ | {
1980
+ type: 'decorator.toggle'
1981
+ decorator: string
1982
+ offsets?: {
1983
+ anchor: BlockOffset_2
1984
+ focus: BlockOffset_2
1985
+ }
1986
+ }
1987
1987
  | {
1988
1988
  type: 'insert.blocks'
1989
1989
  blocks: Array<PortableTextBlock>
@@ -2175,15 +2175,6 @@ declare const editorMachine: StateMachine<
2175
2175
  name: string
2176
2176
  }
2177
2177
  }
2178
- | {
2179
- type: 'annotation.toggle'
2180
- annotation: {
2181
- name: string
2182
- value: {
2183
- [prop: string]: unknown
2184
- }
2185
- }
2186
- }
2187
2178
  | {
2188
2179
  type: 'block.set'
2189
2180
  at: [KeyedSegment]
@@ -2209,14 +2200,6 @@ declare const editorMachine: StateMachine<
2209
2200
  type: 'decorator.remove'
2210
2201
  decorator: string
2211
2202
  }
2212
- | {
2213
- type: 'decorator.toggle'
2214
- decorator: string
2215
- offsets?: {
2216
- anchor: BlockOffset_2
2217
- focus: BlockOffset_2
2218
- }
2219
- }
2220
2203
  | {
2221
2204
  type: 'delete'
2222
2205
  selection: NonNullable<EditorSelection>
@@ -2300,6 +2283,23 @@ declare const editorMachine: StateMachine<
2300
2283
  type: 'select'
2301
2284
  selection: EditorSelection
2302
2285
  }
2286
+ | {
2287
+ type: 'annotation.toggle'
2288
+ annotation: {
2289
+ name: string
2290
+ value: {
2291
+ [prop: string]: unknown
2292
+ }
2293
+ }
2294
+ }
2295
+ | {
2296
+ type: 'decorator.toggle'
2297
+ decorator: string
2298
+ offsets?: {
2299
+ anchor: BlockOffset_2
2300
+ focus: BlockOffset_2
2301
+ }
2302
+ }
2303
2303
  | {
2304
2304
  type: 'insert.blocks'
2305
2305
  blocks: Array<PortableTextBlock>
@@ -2427,15 +2427,6 @@ declare const editorMachine: StateMachine<
2427
2427
  name: string
2428
2428
  }
2429
2429
  }
2430
- | {
2431
- type: 'annotation.toggle'
2432
- annotation: {
2433
- name: string
2434
- value: {
2435
- [prop: string]: unknown
2436
- }
2437
- }
2438
- }
2439
2430
  | {
2440
2431
  type: 'block.set'
2441
2432
  at: [KeyedSegment]
@@ -2461,14 +2452,6 @@ declare const editorMachine: StateMachine<
2461
2452
  type: 'decorator.remove'
2462
2453
  decorator: string
2463
2454
  }
2464
- | {
2465
- type: 'decorator.toggle'
2466
- decorator: string
2467
- offsets?: {
2468
- anchor: BlockOffset_2
2469
- focus: BlockOffset_2
2470
- }
2471
- }
2472
2455
  | {
2473
2456
  type: 'delete'
2474
2457
  selection: NonNullable<EditorSelection>
@@ -2552,6 +2535,23 @@ declare const editorMachine: StateMachine<
2552
2535
  type: 'select'
2553
2536
  selection: EditorSelection
2554
2537
  }
2538
+ | {
2539
+ type: 'annotation.toggle'
2540
+ annotation: {
2541
+ name: string
2542
+ value: {
2543
+ [prop: string]: unknown
2544
+ }
2545
+ }
2546
+ }
2547
+ | {
2548
+ type: 'decorator.toggle'
2549
+ decorator: string
2550
+ offsets?: {
2551
+ anchor: BlockOffset_2
2552
+ focus: BlockOffset_2
2553
+ }
2554
+ }
2555
2555
  | {
2556
2556
  type: 'insert.blocks'
2557
2557
  blocks: Array<PortableTextBlock>
@@ -2743,15 +2743,6 @@ declare const editorMachine: StateMachine<
2743
2743
  name: string
2744
2744
  }
2745
2745
  }
2746
- | {
2747
- type: 'annotation.toggle'
2748
- annotation: {
2749
- name: string
2750
- value: {
2751
- [prop: string]: unknown
2752
- }
2753
- }
2754
- }
2755
2746
  | {
2756
2747
  type: 'block.set'
2757
2748
  at: [KeyedSegment]
@@ -2777,14 +2768,6 @@ declare const editorMachine: StateMachine<
2777
2768
  type: 'decorator.remove'
2778
2769
  decorator: string
2779
2770
  }
2780
- | {
2781
- type: 'decorator.toggle'
2782
- decorator: string
2783
- offsets?: {
2784
- anchor: BlockOffset_2
2785
- focus: BlockOffset_2
2786
- }
2787
- }
2788
2771
  | {
2789
2772
  type: 'delete'
2790
2773
  selection: NonNullable<EditorSelection>
@@ -2869,7 +2852,24 @@ declare const editorMachine: StateMachine<
2869
2852
  selection: EditorSelection
2870
2853
  }
2871
2854
  | {
2872
- type: 'insert.blocks'
2855
+ type: 'annotation.toggle'
2856
+ annotation: {
2857
+ name: string
2858
+ value: {
2859
+ [prop: string]: unknown
2860
+ }
2861
+ }
2862
+ }
2863
+ | {
2864
+ type: 'decorator.toggle'
2865
+ decorator: string
2866
+ offsets?: {
2867
+ anchor: BlockOffset_2
2868
+ focus: BlockOffset_2
2869
+ }
2870
+ }
2871
+ | {
2872
+ type: 'insert.blocks'
2873
2873
  blocks: Array<PortableTextBlock>
2874
2874
  placement: InsertPlacement_2
2875
2875
  }
@@ -2998,15 +2998,6 @@ declare const editorMachine: StateMachine<
2998
2998
  name: string
2999
2999
  }
3000
3000
  }
3001
- | {
3002
- type: 'annotation.toggle'
3003
- annotation: {
3004
- name: string
3005
- value: {
3006
- [prop: string]: unknown
3007
- }
3008
- }
3009
- }
3010
3001
  | {
3011
3002
  type: 'block.set'
3012
3003
  at: [KeyedSegment]
@@ -3032,14 +3023,6 @@ declare const editorMachine: StateMachine<
3032
3023
  type: 'decorator.remove'
3033
3024
  decorator: string
3034
3025
  }
3035
- | {
3036
- type: 'decorator.toggle'
3037
- decorator: string
3038
- offsets?: {
3039
- anchor: BlockOffset_2
3040
- focus: BlockOffset_2
3041
- }
3042
- }
3043
3026
  | {
3044
3027
  type: 'delete'
3045
3028
  selection: NonNullable<EditorSelection>
@@ -3123,6 +3106,23 @@ declare const editorMachine: StateMachine<
3123
3106
  type: 'select'
3124
3107
  selection: EditorSelection
3125
3108
  }
3109
+ | {
3110
+ type: 'annotation.toggle'
3111
+ annotation: {
3112
+ name: string
3113
+ value: {
3114
+ [prop: string]: unknown
3115
+ }
3116
+ }
3117
+ }
3118
+ | {
3119
+ type: 'decorator.toggle'
3120
+ decorator: string
3121
+ offsets?: {
3122
+ anchor: BlockOffset_2
3123
+ focus: BlockOffset_2
3124
+ }
3125
+ }
3126
3126
  | {
3127
3127
  type: 'insert.blocks'
3128
3128
  blocks: Array<PortableTextBlock>
@@ -3314,15 +3314,6 @@ declare const editorMachine: StateMachine<
3314
3314
  name: string
3315
3315
  }
3316
3316
  }
3317
- | {
3318
- type: 'annotation.toggle'
3319
- annotation: {
3320
- name: string
3321
- value: {
3322
- [prop: string]: unknown
3323
- }
3324
- }
3325
- }
3326
3317
  | {
3327
3318
  type: 'block.set'
3328
3319
  at: [KeyedSegment]
@@ -3348,14 +3339,6 @@ declare const editorMachine: StateMachine<
3348
3339
  type: 'decorator.remove'
3349
3340
  decorator: string
3350
3341
  }
3351
- | {
3352
- type: 'decorator.toggle'
3353
- decorator: string
3354
- offsets?: {
3355
- anchor: BlockOffset_2
3356
- focus: BlockOffset_2
3357
- }
3358
- }
3359
3342
  | {
3360
3343
  type: 'delete'
3361
3344
  selection: NonNullable<EditorSelection>
@@ -3439,6 +3422,23 @@ declare const editorMachine: StateMachine<
3439
3422
  type: 'select'
3440
3423
  selection: EditorSelection
3441
3424
  }
3425
+ | {
3426
+ type: 'annotation.toggle'
3427
+ annotation: {
3428
+ name: string
3429
+ value: {
3430
+ [prop: string]: unknown
3431
+ }
3432
+ }
3433
+ }
3434
+ | {
3435
+ type: 'decorator.toggle'
3436
+ decorator: string
3437
+ offsets?: {
3438
+ anchor: BlockOffset_2
3439
+ focus: BlockOffset_2
3440
+ }
3441
+ }
3442
3442
  | {
3443
3443
  type: 'insert.blocks'
3444
3444
  blocks: Array<PortableTextBlock>
@@ -3568,15 +3568,6 @@ declare const editorMachine: StateMachine<
3568
3568
  name: string
3569
3569
  }
3570
3570
  }
3571
- | {
3572
- type: 'annotation.toggle'
3573
- annotation: {
3574
- name: string
3575
- value: {
3576
- [prop: string]: unknown
3577
- }
3578
- }
3579
- }
3580
3571
  | {
3581
3572
  type: 'block.set'
3582
3573
  at: [KeyedSegment]
@@ -3602,14 +3593,6 @@ declare const editorMachine: StateMachine<
3602
3593
  type: 'decorator.remove'
3603
3594
  decorator: string
3604
3595
  }
3605
- | {
3606
- type: 'decorator.toggle'
3607
- decorator: string
3608
- offsets?: {
3609
- anchor: BlockOffset_2
3610
- focus: BlockOffset_2
3611
- }
3612
- }
3613
3596
  | {
3614
3597
  type: 'delete'
3615
3598
  selection: NonNullable<EditorSelection>
@@ -3693,6 +3676,23 @@ declare const editorMachine: StateMachine<
3693
3676
  type: 'select'
3694
3677
  selection: EditorSelection
3695
3678
  }
3679
+ | {
3680
+ type: 'annotation.toggle'
3681
+ annotation: {
3682
+ name: string
3683
+ value: {
3684
+ [prop: string]: unknown
3685
+ }
3686
+ }
3687
+ }
3688
+ | {
3689
+ type: 'decorator.toggle'
3690
+ decorator: string
3691
+ offsets?: {
3692
+ anchor: BlockOffset_2
3693
+ focus: BlockOffset_2
3694
+ }
3695
+ }
3696
3696
  | {
3697
3697
  type: 'insert.blocks'
3698
3698
  blocks: Array<PortableTextBlock>
@@ -3884,15 +3884,6 @@ declare const editorMachine: StateMachine<
3884
3884
  name: string
3885
3885
  }
3886
3886
  }
3887
- | {
3888
- type: 'annotation.toggle'
3889
- annotation: {
3890
- name: string
3891
- value: {
3892
- [prop: string]: unknown
3893
- }
3894
- }
3895
- }
3896
3887
  | {
3897
3888
  type: 'block.set'
3898
3889
  at: [KeyedSegment]
@@ -3918,14 +3909,6 @@ declare const editorMachine: StateMachine<
3918
3909
  type: 'decorator.remove'
3919
3910
  decorator: string
3920
3911
  }
3921
- | {
3922
- type: 'decorator.toggle'
3923
- decorator: string
3924
- offsets?: {
3925
- anchor: BlockOffset_2
3926
- focus: BlockOffset_2
3927
- }
3928
- }
3929
3912
  | {
3930
3913
  type: 'delete'
3931
3914
  selection: NonNullable<EditorSelection>
@@ -4009,6 +3992,23 @@ declare const editorMachine: StateMachine<
4009
3992
  type: 'select'
4010
3993
  selection: EditorSelection
4011
3994
  }
3995
+ | {
3996
+ type: 'annotation.toggle'
3997
+ annotation: {
3998
+ name: string
3999
+ value: {
4000
+ [prop: string]: unknown
4001
+ }
4002
+ }
4003
+ }
4004
+ | {
4005
+ type: 'decorator.toggle'
4006
+ decorator: string
4007
+ offsets?: {
4008
+ anchor: BlockOffset_2
4009
+ focus: BlockOffset_2
4010
+ }
4011
+ }
4012
4012
  | {
4013
4013
  type: 'insert.blocks'
4014
4014
  blocks: Array<PortableTextBlock>
@@ -4137,15 +4137,6 @@ declare const editorMachine: StateMachine<
4137
4137
  name: string
4138
4138
  }
4139
4139
  }
4140
- | {
4141
- type: 'annotation.toggle'
4142
- annotation: {
4143
- name: string
4144
- value: {
4145
- [prop: string]: unknown
4146
- }
4147
- }
4148
- }
4149
4140
  | {
4150
4141
  type: 'block.set'
4151
4142
  at: [KeyedSegment]
@@ -4171,14 +4162,6 @@ declare const editorMachine: StateMachine<
4171
4162
  type: 'decorator.remove'
4172
4163
  decorator: string
4173
4164
  }
4174
- | {
4175
- type: 'decorator.toggle'
4176
- decorator: string
4177
- offsets?: {
4178
- anchor: BlockOffset_2
4179
- focus: BlockOffset_2
4180
- }
4181
- }
4182
4165
  | {
4183
4166
  type: 'delete'
4184
4167
  selection: NonNullable<EditorSelection>
@@ -4262,6 +4245,23 @@ declare const editorMachine: StateMachine<
4262
4245
  type: 'select'
4263
4246
  selection: EditorSelection
4264
4247
  }
4248
+ | {
4249
+ type: 'annotation.toggle'
4250
+ annotation: {
4251
+ name: string
4252
+ value: {
4253
+ [prop: string]: unknown
4254
+ }
4255
+ }
4256
+ }
4257
+ | {
4258
+ type: 'decorator.toggle'
4259
+ decorator: string
4260
+ offsets?: {
4261
+ anchor: BlockOffset_2
4262
+ focus: BlockOffset_2
4263
+ }
4264
+ }
4265
4265
  | {
4266
4266
  type: 'insert.blocks'
4267
4267
  blocks: Array<PortableTextBlock>
@@ -4453,15 +4453,6 @@ declare const editorMachine: StateMachine<
4453
4453
  name: string
4454
4454
  }
4455
4455
  }
4456
- | {
4457
- type: 'annotation.toggle'
4458
- annotation: {
4459
- name: string
4460
- value: {
4461
- [prop: string]: unknown
4462
- }
4463
- }
4464
- }
4465
4456
  | {
4466
4457
  type: 'block.set'
4467
4458
  at: [KeyedSegment]
@@ -4487,14 +4478,6 @@ declare const editorMachine: StateMachine<
4487
4478
  type: 'decorator.remove'
4488
4479
  decorator: string
4489
4480
  }
4490
- | {
4491
- type: 'decorator.toggle'
4492
- decorator: string
4493
- offsets?: {
4494
- anchor: BlockOffset_2
4495
- focus: BlockOffset_2
4496
- }
4497
- }
4498
4481
  | {
4499
4482
  type: 'delete'
4500
4483
  selection: NonNullable<EditorSelection>
@@ -4578,6 +4561,23 @@ declare const editorMachine: StateMachine<
4578
4561
  type: 'select'
4579
4562
  selection: EditorSelection
4580
4563
  }
4564
+ | {
4565
+ type: 'annotation.toggle'
4566
+ annotation: {
4567
+ name: string
4568
+ value: {
4569
+ [prop: string]: unknown
4570
+ }
4571
+ }
4572
+ }
4573
+ | {
4574
+ type: 'decorator.toggle'
4575
+ decorator: string
4576
+ offsets?: {
4577
+ anchor: BlockOffset_2
4578
+ focus: BlockOffset_2
4579
+ }
4580
+ }
4581
4581
  | {
4582
4582
  type: 'insert.blocks'
4583
4583
  blocks: Array<PortableTextBlock>
@@ -4707,15 +4707,6 @@ declare const editorMachine: StateMachine<
4707
4707
  name: string
4708
4708
  }
4709
4709
  }
4710
- | {
4711
- type: 'annotation.toggle'
4712
- annotation: {
4713
- name: string
4714
- value: {
4715
- [prop: string]: unknown
4716
- }
4717
- }
4718
- }
4719
4710
  | {
4720
4711
  type: 'block.set'
4721
4712
  at: [KeyedSegment]
@@ -4741,14 +4732,6 @@ declare const editorMachine: StateMachine<
4741
4732
  type: 'decorator.remove'
4742
4733
  decorator: string
4743
4734
  }
4744
- | {
4745
- type: 'decorator.toggle'
4746
- decorator: string
4747
- offsets?: {
4748
- anchor: BlockOffset_2
4749
- focus: BlockOffset_2
4750
- }
4751
- }
4752
4735
  | {
4753
4736
  type: 'delete'
4754
4737
  selection: NonNullable<EditorSelection>
@@ -4832,6 +4815,23 @@ declare const editorMachine: StateMachine<
4832
4815
  type: 'select'
4833
4816
  selection: EditorSelection
4834
4817
  }
4818
+ | {
4819
+ type: 'annotation.toggle'
4820
+ annotation: {
4821
+ name: string
4822
+ value: {
4823
+ [prop: string]: unknown
4824
+ }
4825
+ }
4826
+ }
4827
+ | {
4828
+ type: 'decorator.toggle'
4829
+ decorator: string
4830
+ offsets?: {
4831
+ anchor: BlockOffset_2
4832
+ focus: BlockOffset_2
4833
+ }
4834
+ }
4835
4835
  | {
4836
4836
  type: 'insert.blocks'
4837
4837
  blocks: Array<PortableTextBlock>
@@ -5045,15 +5045,6 @@ declare const editorMachine: StateMachine<
5045
5045
  name: string
5046
5046
  }
5047
5047
  }
5048
- | {
5049
- type: 'annotation.toggle'
5050
- annotation: {
5051
- name: string
5052
- value: {
5053
- [prop: string]: unknown
5054
- }
5055
- }
5056
- }
5057
5048
  | {
5058
5049
  type: 'block.set'
5059
5050
  at: [KeyedSegment]
@@ -5079,14 +5070,6 @@ declare const editorMachine: StateMachine<
5079
5070
  type: 'decorator.remove'
5080
5071
  decorator: string
5081
5072
  }
5082
- | {
5083
- type: 'decorator.toggle'
5084
- decorator: string
5085
- offsets?: {
5086
- anchor: BlockOffset_2
5087
- focus: BlockOffset_2
5088
- }
5089
- }
5090
5073
  | {
5091
5074
  type: 'delete'
5092
5075
  selection: NonNullable<EditorSelection>
@@ -5170,6 +5153,23 @@ declare const editorMachine: StateMachine<
5170
5153
  type: 'select'
5171
5154
  selection: EditorSelection
5172
5155
  }
5156
+ | {
5157
+ type: 'annotation.toggle'
5158
+ annotation: {
5159
+ name: string
5160
+ value: {
5161
+ [prop: string]: unknown
5162
+ }
5163
+ }
5164
+ }
5165
+ | {
5166
+ type: 'decorator.toggle'
5167
+ decorator: string
5168
+ offsets?: {
5169
+ anchor: BlockOffset_2
5170
+ focus: BlockOffset_2
5171
+ }
5172
+ }
5173
5173
  | {
5174
5174
  type: 'insert.blocks'
5175
5175
  blocks: Array<PortableTextBlock>
@@ -5361,15 +5361,6 @@ declare const editorMachine: StateMachine<
5361
5361
  name: string
5362
5362
  }
5363
5363
  }
5364
- | {
5365
- type: 'annotation.toggle'
5366
- annotation: {
5367
- name: string
5368
- value: {
5369
- [prop: string]: unknown
5370
- }
5371
- }
5372
- }
5373
5364
  | {
5374
5365
  type: 'block.set'
5375
5366
  at: [KeyedSegment]
@@ -5395,14 +5386,6 @@ declare const editorMachine: StateMachine<
5395
5386
  type: 'decorator.remove'
5396
5387
  decorator: string
5397
5388
  }
5398
- | {
5399
- type: 'decorator.toggle'
5400
- decorator: string
5401
- offsets?: {
5402
- anchor: BlockOffset_2
5403
- focus: BlockOffset_2
5404
- }
5405
- }
5406
5389
  | {
5407
5390
  type: 'delete'
5408
5391
  selection: NonNullable<EditorSelection>
@@ -5486,6 +5469,23 @@ declare const editorMachine: StateMachine<
5486
5469
  type: 'select'
5487
5470
  selection: EditorSelection
5488
5471
  }
5472
+ | {
5473
+ type: 'annotation.toggle'
5474
+ annotation: {
5475
+ name: string
5476
+ value: {
5477
+ [prop: string]: unknown
5478
+ }
5479
+ }
5480
+ }
5481
+ | {
5482
+ type: 'decorator.toggle'
5483
+ decorator: string
5484
+ offsets?: {
5485
+ anchor: BlockOffset_2
5486
+ focus: BlockOffset_2
5487
+ }
5488
+ }
5489
5489
  | {
5490
5490
  type: 'insert.blocks'
5491
5491
  blocks: Array<PortableTextBlock>
@@ -5615,15 +5615,6 @@ declare const editorMachine: StateMachine<
5615
5615
  name: string
5616
5616
  }
5617
5617
  }
5618
- | {
5619
- type: 'annotation.toggle'
5620
- annotation: {
5621
- name: string
5622
- value: {
5623
- [prop: string]: unknown
5624
- }
5625
- }
5626
- }
5627
5618
  | {
5628
5619
  type: 'block.set'
5629
5620
  at: [KeyedSegment]
@@ -5649,14 +5640,6 @@ declare const editorMachine: StateMachine<
5649
5640
  type: 'decorator.remove'
5650
5641
  decorator: string
5651
5642
  }
5652
- | {
5653
- type: 'decorator.toggle'
5654
- decorator: string
5655
- offsets?: {
5656
- anchor: BlockOffset_2
5657
- focus: BlockOffset_2
5658
- }
5659
- }
5660
5643
  | {
5661
5644
  type: 'delete'
5662
5645
  selection: NonNullable<EditorSelection>
@@ -5740,6 +5723,23 @@ declare const editorMachine: StateMachine<
5740
5723
  type: 'select'
5741
5724
  selection: EditorSelection
5742
5725
  }
5726
+ | {
5727
+ type: 'annotation.toggle'
5728
+ annotation: {
5729
+ name: string
5730
+ value: {
5731
+ [prop: string]: unknown
5732
+ }
5733
+ }
5734
+ }
5735
+ | {
5736
+ type: 'decorator.toggle'
5737
+ decorator: string
5738
+ offsets?: {
5739
+ anchor: BlockOffset_2
5740
+ focus: BlockOffset_2
5741
+ }
5742
+ }
5743
5743
  | {
5744
5744
  type: 'insert.blocks'
5745
5745
  blocks: Array<PortableTextBlock>
@@ -5931,15 +5931,6 @@ declare const editorMachine: StateMachine<
5931
5931
  name: string
5932
5932
  }
5933
5933
  }
5934
- | {
5935
- type: 'annotation.toggle'
5936
- annotation: {
5937
- name: string
5938
- value: {
5939
- [prop: string]: unknown
5940
- }
5941
- }
5942
- }
5943
5934
  | {
5944
5935
  type: 'block.set'
5945
5936
  at: [KeyedSegment]
@@ -5965,14 +5956,6 @@ declare const editorMachine: StateMachine<
5965
5956
  type: 'decorator.remove'
5966
5957
  decorator: string
5967
5958
  }
5968
- | {
5969
- type: 'decorator.toggle'
5970
- decorator: string
5971
- offsets?: {
5972
- anchor: BlockOffset_2
5973
- focus: BlockOffset_2
5974
- }
5975
- }
5976
5959
  | {
5977
5960
  type: 'delete'
5978
5961
  selection: NonNullable<EditorSelection>
@@ -6056,6 +6039,23 @@ declare const editorMachine: StateMachine<
6056
6039
  type: 'select'
6057
6040
  selection: EditorSelection
6058
6041
  }
6042
+ | {
6043
+ type: 'annotation.toggle'
6044
+ annotation: {
6045
+ name: string
6046
+ value: {
6047
+ [prop: string]: unknown
6048
+ }
6049
+ }
6050
+ }
6051
+ | {
6052
+ type: 'decorator.toggle'
6053
+ decorator: string
6054
+ offsets?: {
6055
+ anchor: BlockOffset_2
6056
+ focus: BlockOffset_2
6057
+ }
6058
+ }
6059
6059
  | {
6060
6060
  type: 'insert.blocks'
6061
6061
  blocks: Array<PortableTextBlock>
@@ -6183,15 +6183,6 @@ declare const editorMachine: StateMachine<
6183
6183
  name: string
6184
6184
  }
6185
6185
  }
6186
- | {
6187
- type: 'annotation.toggle'
6188
- annotation: {
6189
- name: string
6190
- value: {
6191
- [prop: string]: unknown
6192
- }
6193
- }
6194
- }
6195
6186
  | {
6196
6187
  type: 'block.set'
6197
6188
  at: [KeyedSegment]
@@ -6217,14 +6208,6 @@ declare const editorMachine: StateMachine<
6217
6208
  type: 'decorator.remove'
6218
6209
  decorator: string
6219
6210
  }
6220
- | {
6221
- type: 'decorator.toggle'
6222
- decorator: string
6223
- offsets?: {
6224
- anchor: BlockOffset_2
6225
- focus: BlockOffset_2
6226
- }
6227
- }
6228
6211
  | {
6229
6212
  type: 'delete'
6230
6213
  selection: NonNullable<EditorSelection>
@@ -6308,6 +6291,23 @@ declare const editorMachine: StateMachine<
6308
6291
  type: 'select'
6309
6292
  selection: EditorSelection
6310
6293
  }
6294
+ | {
6295
+ type: 'annotation.toggle'
6296
+ annotation: {
6297
+ name: string
6298
+ value: {
6299
+ [prop: string]: unknown
6300
+ }
6301
+ }
6302
+ }
6303
+ | {
6304
+ type: 'decorator.toggle'
6305
+ decorator: string
6306
+ offsets?: {
6307
+ anchor: BlockOffset_2
6308
+ focus: BlockOffset_2
6309
+ }
6310
+ }
6311
6311
  | {
6312
6312
  type: 'insert.blocks'
6313
6313
  blocks: Array<PortableTextBlock>
@@ -6499,15 +6499,6 @@ declare const editorMachine: StateMachine<
6499
6499
  name: string
6500
6500
  }
6501
6501
  }
6502
- | {
6503
- type: 'annotation.toggle'
6504
- annotation: {
6505
- name: string
6506
- value: {
6507
- [prop: string]: unknown
6508
- }
6509
- }
6510
- }
6511
6502
  | {
6512
6503
  type: 'block.set'
6513
6504
  at: [KeyedSegment]
@@ -6533,14 +6524,6 @@ declare const editorMachine: StateMachine<
6533
6524
  type: 'decorator.remove'
6534
6525
  decorator: string
6535
6526
  }
6536
- | {
6537
- type: 'decorator.toggle'
6538
- decorator: string
6539
- offsets?: {
6540
- anchor: BlockOffset_2
6541
- focus: BlockOffset_2
6542
- }
6543
- }
6544
6527
  | {
6545
6528
  type: 'delete'
6546
6529
  selection: NonNullable<EditorSelection>
@@ -6624,6 +6607,23 @@ declare const editorMachine: StateMachine<
6624
6607
  type: 'select'
6625
6608
  selection: EditorSelection
6626
6609
  }
6610
+ | {
6611
+ type: 'annotation.toggle'
6612
+ annotation: {
6613
+ name: string
6614
+ value: {
6615
+ [prop: string]: unknown
6616
+ }
6617
+ }
6618
+ }
6619
+ | {
6620
+ type: 'decorator.toggle'
6621
+ decorator: string
6622
+ offsets?: {
6623
+ anchor: BlockOffset_2
6624
+ focus: BlockOffset_2
6625
+ }
6626
+ }
6627
6627
  | {
6628
6628
  type: 'insert.blocks'
6629
6629
  blocks: Array<PortableTextBlock>
@@ -6752,15 +6752,6 @@ declare const editorMachine: StateMachine<
6752
6752
  name: string
6753
6753
  }
6754
6754
  }
6755
- | {
6756
- type: 'annotation.toggle'
6757
- annotation: {
6758
- name: string
6759
- value: {
6760
- [prop: string]: unknown
6761
- }
6762
- }
6763
- }
6764
6755
  | {
6765
6756
  type: 'block.set'
6766
6757
  at: [KeyedSegment]
@@ -6786,14 +6777,6 @@ declare const editorMachine: StateMachine<
6786
6777
  type: 'decorator.remove'
6787
6778
  decorator: string
6788
6779
  }
6789
- | {
6790
- type: 'decorator.toggle'
6791
- decorator: string
6792
- offsets?: {
6793
- anchor: BlockOffset_2
6794
- focus: BlockOffset_2
6795
- }
6796
- }
6797
6780
  | {
6798
6781
  type: 'delete'
6799
6782
  selection: NonNullable<EditorSelection>
@@ -6877,6 +6860,23 @@ declare const editorMachine: StateMachine<
6877
6860
  type: 'select'
6878
6861
  selection: EditorSelection
6879
6862
  }
6863
+ | {
6864
+ type: 'annotation.toggle'
6865
+ annotation: {
6866
+ name: string
6867
+ value: {
6868
+ [prop: string]: unknown
6869
+ }
6870
+ }
6871
+ }
6872
+ | {
6873
+ type: 'decorator.toggle'
6874
+ decorator: string
6875
+ offsets?: {
6876
+ anchor: BlockOffset_2
6877
+ focus: BlockOffset_2
6878
+ }
6879
+ }
6880
6880
  | {
6881
6881
  type: 'insert.blocks'
6882
6882
  blocks: Array<PortableTextBlock>
@@ -7068,15 +7068,6 @@ declare const editorMachine: StateMachine<
7068
7068
  name: string
7069
7069
  }
7070
7070
  }
7071
- | {
7072
- type: 'annotation.toggle'
7073
- annotation: {
7074
- name: string
7075
- value: {
7076
- [prop: string]: unknown
7077
- }
7078
- }
7079
- }
7080
7071
  | {
7081
7072
  type: 'block.set'
7082
7073
  at: [KeyedSegment]
@@ -7102,14 +7093,6 @@ declare const editorMachine: StateMachine<
7102
7093
  type: 'decorator.remove'
7103
7094
  decorator: string
7104
7095
  }
7105
- | {
7106
- type: 'decorator.toggle'
7107
- decorator: string
7108
- offsets?: {
7109
- anchor: BlockOffset_2
7110
- focus: BlockOffset_2
7111
- }
7112
- }
7113
7096
  | {
7114
7097
  type: 'delete'
7115
7098
  selection: NonNullable<EditorSelection>
@@ -7194,7 +7177,24 @@ declare const editorMachine: StateMachine<
7194
7177
  selection: EditorSelection
7195
7178
  }
7196
7179
  | {
7197
- type: 'insert.blocks'
7180
+ type: 'annotation.toggle'
7181
+ annotation: {
7182
+ name: string
7183
+ value: {
7184
+ [prop: string]: unknown
7185
+ }
7186
+ }
7187
+ }
7188
+ | {
7189
+ type: 'decorator.toggle'
7190
+ decorator: string
7191
+ offsets?: {
7192
+ anchor: BlockOffset_2
7193
+ focus: BlockOffset_2
7194
+ }
7195
+ }
7196
+ | {
7197
+ type: 'insert.blocks'
7198
7198
  blocks: Array<PortableTextBlock>
7199
7199
  placement: InsertPlacement_2
7200
7200
  }
@@ -7324,15 +7324,6 @@ declare const editorMachine: StateMachine<
7324
7324
  name: string
7325
7325
  }
7326
7326
  }
7327
- | {
7328
- type: 'annotation.toggle'
7329
- annotation: {
7330
- name: string
7331
- value: {
7332
- [prop: string]: unknown
7333
- }
7334
- }
7335
- }
7336
7327
  | {
7337
7328
  type: 'block.set'
7338
7329
  at: [KeyedSegment]
@@ -7358,14 +7349,6 @@ declare const editorMachine: StateMachine<
7358
7349
  type: 'decorator.remove'
7359
7350
  decorator: string
7360
7351
  }
7361
- | {
7362
- type: 'decorator.toggle'
7363
- decorator: string
7364
- offsets?: {
7365
- anchor: BlockOffset_2
7366
- focus: BlockOffset_2
7367
- }
7368
- }
7369
7352
  | {
7370
7353
  type: 'delete'
7371
7354
  selection: NonNullable<EditorSelection>
@@ -7449,6 +7432,23 @@ declare const editorMachine: StateMachine<
7449
7432
  type: 'select'
7450
7433
  selection: EditorSelection
7451
7434
  }
7435
+ | {
7436
+ type: 'annotation.toggle'
7437
+ annotation: {
7438
+ name: string
7439
+ value: {
7440
+ [prop: string]: unknown
7441
+ }
7442
+ }
7443
+ }
7444
+ | {
7445
+ type: 'decorator.toggle'
7446
+ decorator: string
7447
+ offsets?: {
7448
+ anchor: BlockOffset_2
7449
+ focus: BlockOffset_2
7450
+ }
7451
+ }
7452
7452
  | {
7453
7453
  type: 'insert.blocks'
7454
7454
  blocks: Array<PortableTextBlock>
@@ -7640,15 +7640,6 @@ declare const editorMachine: StateMachine<
7640
7640
  name: string
7641
7641
  }
7642
7642
  }
7643
- | {
7644
- type: 'annotation.toggle'
7645
- annotation: {
7646
- name: string
7647
- value: {
7648
- [prop: string]: unknown
7649
- }
7650
- }
7651
- }
7652
7643
  | {
7653
7644
  type: 'block.set'
7654
7645
  at: [KeyedSegment]
@@ -7674,14 +7665,6 @@ declare const editorMachine: StateMachine<
7674
7665
  type: 'decorator.remove'
7675
7666
  decorator: string
7676
7667
  }
7677
- | {
7678
- type: 'decorator.toggle'
7679
- decorator: string
7680
- offsets?: {
7681
- anchor: BlockOffset_2
7682
- focus: BlockOffset_2
7683
- }
7684
- }
7685
7668
  | {
7686
7669
  type: 'delete'
7687
7670
  selection: NonNullable<EditorSelection>
@@ -7765,6 +7748,23 @@ declare const editorMachine: StateMachine<
7765
7748
  type: 'select'
7766
7749
  selection: EditorSelection
7767
7750
  }
7751
+ | {
7752
+ type: 'annotation.toggle'
7753
+ annotation: {
7754
+ name: string
7755
+ value: {
7756
+ [prop: string]: unknown
7757
+ }
7758
+ }
7759
+ }
7760
+ | {
7761
+ type: 'decorator.toggle'
7762
+ decorator: string
7763
+ offsets?: {
7764
+ anchor: BlockOffset_2
7765
+ focus: BlockOffset_2
7766
+ }
7767
+ }
7768
7768
  | {
7769
7769
  type: 'insert.blocks'
7770
7770
  blocks: Array<PortableTextBlock>
@@ -7896,15 +7896,6 @@ declare const editorMachine: StateMachine<
7896
7896
  name: string
7897
7897
  }
7898
7898
  }
7899
- | {
7900
- type: 'annotation.toggle'
7901
- annotation: {
7902
- name: string
7903
- value: {
7904
- [prop: string]: unknown
7905
- }
7906
- }
7907
- }
7908
7899
  | {
7909
7900
  type: 'block.set'
7910
7901
  at: [KeyedSegment]
@@ -7930,14 +7921,6 @@ declare const editorMachine: StateMachine<
7930
7921
  type: 'decorator.remove'
7931
7922
  decorator: string
7932
7923
  }
7933
- | {
7934
- type: 'decorator.toggle'
7935
- decorator: string
7936
- offsets?: {
7937
- anchor: BlockOffset_2
7938
- focus: BlockOffset_2
7939
- }
7940
- }
7941
7924
  | {
7942
7925
  type: 'delete'
7943
7926
  selection: NonNullable<EditorSelection>
@@ -8021,6 +8004,23 @@ declare const editorMachine: StateMachine<
8021
8004
  type: 'select'
8022
8005
  selection: EditorSelection
8023
8006
  }
8007
+ | {
8008
+ type: 'annotation.toggle'
8009
+ annotation: {
8010
+ name: string
8011
+ value: {
8012
+ [prop: string]: unknown
8013
+ }
8014
+ }
8015
+ }
8016
+ | {
8017
+ type: 'decorator.toggle'
8018
+ decorator: string
8019
+ offsets?: {
8020
+ anchor: BlockOffset_2
8021
+ focus: BlockOffset_2
8022
+ }
8023
+ }
8024
8024
  | {
8025
8025
  type: 'insert.blocks'
8026
8026
  blocks: Array<PortableTextBlock>
@@ -8239,15 +8239,6 @@ declare const editorMachine: StateMachine<
8239
8239
  name: string
8240
8240
  }
8241
8241
  }
8242
- | {
8243
- type: 'annotation.toggle'
8244
- annotation: {
8245
- name: string
8246
- value: {
8247
- [prop: string]: unknown
8248
- }
8249
- }
8250
- }
8251
8242
  | {
8252
8243
  type: 'block.set'
8253
8244
  at: [KeyedSegment]
@@ -8273,14 +8264,6 @@ declare const editorMachine: StateMachine<
8273
8264
  type: 'decorator.remove'
8274
8265
  decorator: string
8275
8266
  }
8276
- | {
8277
- type: 'decorator.toggle'
8278
- decorator: string
8279
- offsets?: {
8280
- anchor: BlockOffset_2
8281
- focus: BlockOffset_2
8282
- }
8283
- }
8284
8267
  | {
8285
8268
  type: 'delete'
8286
8269
  selection: NonNullable<EditorSelection>
@@ -8364,6 +8347,23 @@ declare const editorMachine: StateMachine<
8364
8347
  type: 'select'
8365
8348
  selection: EditorSelection
8366
8349
  }
8350
+ | {
8351
+ type: 'annotation.toggle'
8352
+ annotation: {
8353
+ name: string
8354
+ value: {
8355
+ [prop: string]: unknown
8356
+ }
8357
+ }
8358
+ }
8359
+ | {
8360
+ type: 'decorator.toggle'
8361
+ decorator: string
8362
+ offsets?: {
8363
+ anchor: BlockOffset_2
8364
+ focus: BlockOffset_2
8365
+ }
8366
+ }
8367
8367
  | {
8368
8368
  type: 'insert.blocks'
8369
8369
  blocks: Array<PortableTextBlock>
@@ -8579,15 +8579,6 @@ declare const editorMachine: StateMachine<
8579
8579
  name: string
8580
8580
  }
8581
8581
  }
8582
- | {
8583
- type: 'annotation.toggle'
8584
- annotation: {
8585
- name: string
8586
- value: {
8587
- [prop: string]: unknown
8588
- }
8589
- }
8590
- }
8591
8582
  | {
8592
8583
  type: 'block.set'
8593
8584
  at: [KeyedSegment]
@@ -8613,14 +8604,6 @@ declare const editorMachine: StateMachine<
8613
8604
  type: 'decorator.remove'
8614
8605
  decorator: string
8615
8606
  }
8616
- | {
8617
- type: 'decorator.toggle'
8618
- decorator: string
8619
- offsets?: {
8620
- anchor: BlockOffset_2
8621
- focus: BlockOffset_2
8622
- }
8623
- }
8624
8607
  | {
8625
8608
  type: 'delete'
8626
8609
  selection: NonNullable<EditorSelection>
@@ -8704,6 +8687,23 @@ declare const editorMachine: StateMachine<
8704
8687
  type: 'select'
8705
8688
  selection: EditorSelection
8706
8689
  }
8690
+ | {
8691
+ type: 'annotation.toggle'
8692
+ annotation: {
8693
+ name: string
8694
+ value: {
8695
+ [prop: string]: unknown
8696
+ }
8697
+ }
8698
+ }
8699
+ | {
8700
+ type: 'decorator.toggle'
8701
+ decorator: string
8702
+ offsets?: {
8703
+ anchor: BlockOffset_2
8704
+ focus: BlockOffset_2
8705
+ }
8706
+ }
8707
8707
  | {
8708
8708
  type: 'insert.blocks'
8709
8709
  blocks: Array<PortableTextBlock>
@@ -9088,15 +9088,6 @@ declare const editorMachine: StateMachine<
9088
9088
  name: string
9089
9089
  }
9090
9090
  }
9091
- | {
9092
- type: 'annotation.toggle'
9093
- annotation: {
9094
- name: string
9095
- value: {
9096
- [prop: string]: unknown
9097
- }
9098
- }
9099
- }
9100
9091
  | {
9101
9092
  type: 'block.set'
9102
9093
  at: [KeyedSegment]
@@ -9122,14 +9113,6 @@ declare const editorMachine: StateMachine<
9122
9113
  type: 'decorator.remove'
9123
9114
  decorator: string
9124
9115
  }
9125
- | {
9126
- type: 'decorator.toggle'
9127
- decorator: string
9128
- offsets?: {
9129
- anchor: BlockOffset_2
9130
- focus: BlockOffset_2
9131
- }
9132
- }
9133
9116
  | {
9134
9117
  type: 'delete'
9135
9118
  selection: NonNullable<EditorSelection>
@@ -9213,6 +9196,23 @@ declare const editorMachine: StateMachine<
9213
9196
  type: 'select'
9214
9197
  selection: EditorSelection
9215
9198
  }
9199
+ | {
9200
+ type: 'annotation.toggle'
9201
+ annotation: {
9202
+ name: string
9203
+ value: {
9204
+ [prop: string]: unknown
9205
+ }
9206
+ }
9207
+ }
9208
+ | {
9209
+ type: 'decorator.toggle'
9210
+ decorator: string
9211
+ offsets?: {
9212
+ anchor: BlockOffset_2
9213
+ focus: BlockOffset_2
9214
+ }
9215
+ }
9216
9216
  | {
9217
9217
  type: 'insert.blocks'
9218
9218
  blocks: Array<PortableTextBlock>
@@ -9404,15 +9404,6 @@ declare const editorMachine: StateMachine<
9404
9404
  name: string
9405
9405
  }
9406
9406
  }
9407
- | {
9408
- type: 'annotation.toggle'
9409
- annotation: {
9410
- name: string
9411
- value: {
9412
- [prop: string]: unknown
9413
- }
9414
- }
9415
- }
9416
9407
  | {
9417
9408
  type: 'block.set'
9418
9409
  at: [KeyedSegment]
@@ -9438,14 +9429,6 @@ declare const editorMachine: StateMachine<
9438
9429
  type: 'decorator.remove'
9439
9430
  decorator: string
9440
9431
  }
9441
- | {
9442
- type: 'decorator.toggle'
9443
- decorator: string
9444
- offsets?: {
9445
- anchor: BlockOffset_2
9446
- focus: BlockOffset_2
9447
- }
9448
- }
9449
9432
  | {
9450
9433
  type: 'delete'
9451
9434
  selection: NonNullable<EditorSelection>
@@ -9529,6 +9512,23 @@ declare const editorMachine: StateMachine<
9529
9512
  type: 'select'
9530
9513
  selection: EditorSelection
9531
9514
  }
9515
+ | {
9516
+ type: 'annotation.toggle'
9517
+ annotation: {
9518
+ name: string
9519
+ value: {
9520
+ [prop: string]: unknown
9521
+ }
9522
+ }
9523
+ }
9524
+ | {
9525
+ type: 'decorator.toggle'
9526
+ decorator: string
9527
+ offsets?: {
9528
+ anchor: BlockOffset_2
9529
+ focus: BlockOffset_2
9530
+ }
9531
+ }
9532
9532
  | {
9533
9533
  type: 'insert.blocks'
9534
9534
  blocks: Array<PortableTextBlock>
@@ -9663,15 +9663,6 @@ declare const editorMachine: StateMachine<
9663
9663
  name: string
9664
9664
  }
9665
9665
  }
9666
- | {
9667
- type: 'annotation.toggle'
9668
- annotation: {
9669
- name: string
9670
- value: {
9671
- [prop: string]: unknown
9672
- }
9673
- }
9674
- }
9675
9666
  | {
9676
9667
  type: 'block.set'
9677
9668
  at: [KeyedSegment]
@@ -9697,14 +9688,6 @@ declare const editorMachine: StateMachine<
9697
9688
  type: 'decorator.remove'
9698
9689
  decorator: string
9699
9690
  }
9700
- | {
9701
- type: 'decorator.toggle'
9702
- decorator: string
9703
- offsets?: {
9704
- anchor: BlockOffset_2
9705
- focus: BlockOffset_2
9706
- }
9707
- }
9708
9691
  | {
9709
9692
  type: 'delete'
9710
9693
  selection: NonNullable<EditorSelection>
@@ -9788,6 +9771,23 @@ declare const editorMachine: StateMachine<
9788
9771
  type: 'select'
9789
9772
  selection: EditorSelection
9790
9773
  }
9774
+ | {
9775
+ type: 'annotation.toggle'
9776
+ annotation: {
9777
+ name: string
9778
+ value: {
9779
+ [prop: string]: unknown
9780
+ }
9781
+ }
9782
+ }
9783
+ | {
9784
+ type: 'decorator.toggle'
9785
+ decorator: string
9786
+ offsets?: {
9787
+ anchor: BlockOffset_2
9788
+ focus: BlockOffset_2
9789
+ }
9790
+ }
9791
9791
  | {
9792
9792
  type: 'insert.blocks'
9793
9793
  blocks: Array<PortableTextBlock>
@@ -9979,15 +9979,6 @@ declare const editorMachine: StateMachine<
9979
9979
  name: string
9980
9980
  }
9981
9981
  }
9982
- | {
9983
- type: 'annotation.toggle'
9984
- annotation: {
9985
- name: string
9986
- value: {
9987
- [prop: string]: unknown
9988
- }
9989
- }
9990
- }
9991
9982
  | {
9992
9983
  type: 'block.set'
9993
9984
  at: [KeyedSegment]
@@ -10013,14 +10004,6 @@ declare const editorMachine: StateMachine<
10013
10004
  type: 'decorator.remove'
10014
10005
  decorator: string
10015
10006
  }
10016
- | {
10017
- type: 'decorator.toggle'
10018
- decorator: string
10019
- offsets?: {
10020
- anchor: BlockOffset_2
10021
- focus: BlockOffset_2
10022
- }
10023
- }
10024
10007
  | {
10025
10008
  type: 'delete'
10026
10009
  selection: NonNullable<EditorSelection>
@@ -10104,6 +10087,23 @@ declare const editorMachine: StateMachine<
10104
10087
  type: 'select'
10105
10088
  selection: EditorSelection
10106
10089
  }
10090
+ | {
10091
+ type: 'annotation.toggle'
10092
+ annotation: {
10093
+ name: string
10094
+ value: {
10095
+ [prop: string]: unknown
10096
+ }
10097
+ }
10098
+ }
10099
+ | {
10100
+ type: 'decorator.toggle'
10101
+ decorator: string
10102
+ offsets?: {
10103
+ anchor: BlockOffset_2
10104
+ focus: BlockOffset_2
10105
+ }
10106
+ }
10107
10107
  | {
10108
10108
  type: 'insert.blocks'
10109
10109
  blocks: Array<PortableTextBlock>
@@ -10231,15 +10231,6 @@ declare const editorMachine: StateMachine<
10231
10231
  name: string
10232
10232
  }
10233
10233
  }
10234
- | {
10235
- type: 'annotation.toggle'
10236
- annotation: {
10237
- name: string
10238
- value: {
10239
- [prop: string]: unknown
10240
- }
10241
- }
10242
- }
10243
10234
  | {
10244
10235
  type: 'block.set'
10245
10236
  at: [KeyedSegment]
@@ -10265,14 +10256,6 @@ declare const editorMachine: StateMachine<
10265
10256
  type: 'decorator.remove'
10266
10257
  decorator: string
10267
10258
  }
10268
- | {
10269
- type: 'decorator.toggle'
10270
- decorator: string
10271
- offsets?: {
10272
- anchor: BlockOffset_2
10273
- focus: BlockOffset_2
10274
- }
10275
- }
10276
10259
  | {
10277
10260
  type: 'delete'
10278
10261
  selection: NonNullable<EditorSelection>
@@ -10356,6 +10339,23 @@ declare const editorMachine: StateMachine<
10356
10339
  type: 'select'
10357
10340
  selection: EditorSelection
10358
10341
  }
10342
+ | {
10343
+ type: 'annotation.toggle'
10344
+ annotation: {
10345
+ name: string
10346
+ value: {
10347
+ [prop: string]: unknown
10348
+ }
10349
+ }
10350
+ }
10351
+ | {
10352
+ type: 'decorator.toggle'
10353
+ decorator: string
10354
+ offsets?: {
10355
+ anchor: BlockOffset_2
10356
+ focus: BlockOffset_2
10357
+ }
10358
+ }
10359
10359
  | {
10360
10360
  type: 'insert.blocks'
10361
10361
  blocks: Array<PortableTextBlock>
@@ -10547,15 +10547,6 @@ declare const editorMachine: StateMachine<
10547
10547
  name: string
10548
10548
  }
10549
10549
  }
10550
- | {
10551
- type: 'annotation.toggle'
10552
- annotation: {
10553
- name: string
10554
- value: {
10555
- [prop: string]: unknown
10556
- }
10557
- }
10558
- }
10559
10550
  | {
10560
10551
  type: 'block.set'
10561
10552
  at: [KeyedSegment]
@@ -10581,14 +10572,6 @@ declare const editorMachine: StateMachine<
10581
10572
  type: 'decorator.remove'
10582
10573
  decorator: string
10583
10574
  }
10584
- | {
10585
- type: 'decorator.toggle'
10586
- decorator: string
10587
- offsets?: {
10588
- anchor: BlockOffset_2
10589
- focus: BlockOffset_2
10590
- }
10591
- }
10592
10575
  | {
10593
10576
  type: 'delete'
10594
10577
  selection: NonNullable<EditorSelection>
@@ -10672,6 +10655,23 @@ declare const editorMachine: StateMachine<
10672
10655
  type: 'select'
10673
10656
  selection: EditorSelection
10674
10657
  }
10658
+ | {
10659
+ type: 'annotation.toggle'
10660
+ annotation: {
10661
+ name: string
10662
+ value: {
10663
+ [prop: string]: unknown
10664
+ }
10665
+ }
10666
+ }
10667
+ | {
10668
+ type: 'decorator.toggle'
10669
+ decorator: string
10670
+ offsets?: {
10671
+ anchor: BlockOffset_2
10672
+ focus: BlockOffset_2
10673
+ }
10674
+ }
10675
10675
  | {
10676
10676
  type: 'insert.blocks'
10677
10677
  blocks: Array<PortableTextBlock>
@@ -10799,15 +10799,6 @@ declare const editorMachine: StateMachine<
10799
10799
  name: string
10800
10800
  }
10801
10801
  }
10802
- | {
10803
- type: 'annotation.toggle'
10804
- annotation: {
10805
- name: string
10806
- value: {
10807
- [prop: string]: unknown
10808
- }
10809
- }
10810
- }
10811
10802
  | {
10812
10803
  type: 'block.set'
10813
10804
  at: [KeyedSegment]
@@ -10833,14 +10824,6 @@ declare const editorMachine: StateMachine<
10833
10824
  type: 'decorator.remove'
10834
10825
  decorator: string
10835
10826
  }
10836
- | {
10837
- type: 'decorator.toggle'
10838
- decorator: string
10839
- offsets?: {
10840
- anchor: BlockOffset_2
10841
- focus: BlockOffset_2
10842
- }
10843
- }
10844
10827
  | {
10845
10828
  type: 'delete'
10846
10829
  selection: NonNullable<EditorSelection>
@@ -10924,6 +10907,23 @@ declare const editorMachine: StateMachine<
10924
10907
  type: 'select'
10925
10908
  selection: EditorSelection
10926
10909
  }
10910
+ | {
10911
+ type: 'annotation.toggle'
10912
+ annotation: {
10913
+ name: string
10914
+ value: {
10915
+ [prop: string]: unknown
10916
+ }
10917
+ }
10918
+ }
10919
+ | {
10920
+ type: 'decorator.toggle'
10921
+ decorator: string
10922
+ offsets?: {
10923
+ anchor: BlockOffset_2
10924
+ focus: BlockOffset_2
10925
+ }
10926
+ }
10927
10927
  | {
10928
10928
  type: 'insert.blocks'
10929
10929
  blocks: Array<PortableTextBlock>
@@ -11115,15 +11115,6 @@ declare const editorMachine: StateMachine<
11115
11115
  name: string
11116
11116
  }
11117
11117
  }
11118
- | {
11119
- type: 'annotation.toggle'
11120
- annotation: {
11121
- name: string
11122
- value: {
11123
- [prop: string]: unknown
11124
- }
11125
- }
11126
- }
11127
11118
  | {
11128
11119
  type: 'block.set'
11129
11120
  at: [KeyedSegment]
@@ -11149,14 +11140,6 @@ declare const editorMachine: StateMachine<
11149
11140
  type: 'decorator.remove'
11150
11141
  decorator: string
11151
11142
  }
11152
- | {
11153
- type: 'decorator.toggle'
11154
- decorator: string
11155
- offsets?: {
11156
- anchor: BlockOffset_2
11157
- focus: BlockOffset_2
11158
- }
11159
- }
11160
11143
  | {
11161
11144
  type: 'delete'
11162
11145
  selection: NonNullable<EditorSelection>
@@ -11240,6 +11223,23 @@ declare const editorMachine: StateMachine<
11240
11223
  type: 'select'
11241
11224
  selection: EditorSelection
11242
11225
  }
11226
+ | {
11227
+ type: 'annotation.toggle'
11228
+ annotation: {
11229
+ name: string
11230
+ value: {
11231
+ [prop: string]: unknown
11232
+ }
11233
+ }
11234
+ }
11235
+ | {
11236
+ type: 'decorator.toggle'
11237
+ decorator: string
11238
+ offsets?: {
11239
+ anchor: BlockOffset_2
11240
+ focus: BlockOffset_2
11241
+ }
11242
+ }
11243
11243
  | {
11244
11244
  type: 'insert.blocks'
11245
11245
  blocks: Array<PortableTextBlock>
@@ -11384,15 +11384,6 @@ declare const editorMachine: StateMachine<
11384
11384
  name: string
11385
11385
  }
11386
11386
  }
11387
- | {
11388
- type: 'annotation.toggle'
11389
- annotation: {
11390
- name: string
11391
- value: {
11392
- [prop: string]: unknown
11393
- }
11394
- }
11395
- }
11396
11387
  | {
11397
11388
  type: 'block.set'
11398
11389
  at: [KeyedSegment]
@@ -11418,14 +11409,6 @@ declare const editorMachine: StateMachine<
11418
11409
  type: 'decorator.remove'
11419
11410
  decorator: string
11420
11411
  }
11421
- | {
11422
- type: 'decorator.toggle'
11423
- decorator: string
11424
- offsets?: {
11425
- anchor: BlockOffset_2
11426
- focus: BlockOffset_2
11427
- }
11428
- }
11429
11412
  | {
11430
11413
  type: 'delete'
11431
11414
  selection: NonNullable<EditorSelection>
@@ -11509,6 +11492,23 @@ declare const editorMachine: StateMachine<
11509
11492
  type: 'select'
11510
11493
  selection: EditorSelection
11511
11494
  }
11495
+ | {
11496
+ type: 'annotation.toggle'
11497
+ annotation: {
11498
+ name: string
11499
+ value: {
11500
+ [prop: string]: unknown
11501
+ }
11502
+ }
11503
+ }
11504
+ | {
11505
+ type: 'decorator.toggle'
11506
+ decorator: string
11507
+ offsets?: {
11508
+ anchor: BlockOffset_2
11509
+ focus: BlockOffset_2
11510
+ }
11511
+ }
11512
11512
  | {
11513
11513
  type: 'insert.blocks'
11514
11514
  blocks: Array<PortableTextBlock>
@@ -11700,15 +11700,6 @@ declare const editorMachine: StateMachine<
11700
11700
  name: string
11701
11701
  }
11702
11702
  }
11703
- | {
11704
- type: 'annotation.toggle'
11705
- annotation: {
11706
- name: string
11707
- value: {
11708
- [prop: string]: unknown
11709
- }
11710
- }
11711
- }
11712
11703
  | {
11713
11704
  type: 'block.set'
11714
11705
  at: [KeyedSegment]
@@ -11734,14 +11725,6 @@ declare const editorMachine: StateMachine<
11734
11725
  type: 'decorator.remove'
11735
11726
  decorator: string
11736
11727
  }
11737
- | {
11738
- type: 'decorator.toggle'
11739
- decorator: string
11740
- offsets?: {
11741
- anchor: BlockOffset_2
11742
- focus: BlockOffset_2
11743
- }
11744
- }
11745
11728
  | {
11746
11729
  type: 'delete'
11747
11730
  selection: NonNullable<EditorSelection>
@@ -11826,7 +11809,24 @@ declare const editorMachine: StateMachine<
11826
11809
  selection: EditorSelection
11827
11810
  }
11828
11811
  | {
11829
- type: 'insert.blocks'
11812
+ type: 'annotation.toggle'
11813
+ annotation: {
11814
+ name: string
11815
+ value: {
11816
+ [prop: string]: unknown
11817
+ }
11818
+ }
11819
+ }
11820
+ | {
11821
+ type: 'decorator.toggle'
11822
+ decorator: string
11823
+ offsets?: {
11824
+ anchor: BlockOffset_2
11825
+ focus: BlockOffset_2
11826
+ }
11827
+ }
11828
+ | {
11829
+ type: 'insert.blocks'
11830
11830
  blocks: Array<PortableTextBlock>
11831
11831
  placement: InsertPlacement_2
11832
11832
  }
@@ -11966,15 +11966,6 @@ declare const editorMachine: StateMachine<
11966
11966
  name: string
11967
11967
  }
11968
11968
  }
11969
- | {
11970
- type: 'annotation.toggle'
11971
- annotation: {
11972
- name: string
11973
- value: {
11974
- [prop: string]: unknown
11975
- }
11976
- }
11977
- }
11978
11969
  | {
11979
11970
  type: 'block.set'
11980
11971
  at: [KeyedSegment]
@@ -12000,14 +11991,6 @@ declare const editorMachine: StateMachine<
12000
11991
  type: 'decorator.remove'
12001
11992
  decorator: string
12002
11993
  }
12003
- | {
12004
- type: 'decorator.toggle'
12005
- decorator: string
12006
- offsets?: {
12007
- anchor: BlockOffset_2
12008
- focus: BlockOffset_2
12009
- }
12010
- }
12011
11994
  | {
12012
11995
  type: 'delete'
12013
11996
  selection: NonNullable<EditorSelection>
@@ -12091,6 +12074,23 @@ declare const editorMachine: StateMachine<
12091
12074
  type: 'select'
12092
12075
  selection: EditorSelection
12093
12076
  }
12077
+ | {
12078
+ type: 'annotation.toggle'
12079
+ annotation: {
12080
+ name: string
12081
+ value: {
12082
+ [prop: string]: unknown
12083
+ }
12084
+ }
12085
+ }
12086
+ | {
12087
+ type: 'decorator.toggle'
12088
+ decorator: string
12089
+ offsets?: {
12090
+ anchor: BlockOffset_2
12091
+ focus: BlockOffset_2
12092
+ }
12093
+ }
12094
12094
  | {
12095
12095
  type: 'insert.blocks'
12096
12096
  blocks: Array<PortableTextBlock>
@@ -12282,15 +12282,6 @@ declare const editorMachine: StateMachine<
12282
12282
  name: string
12283
12283
  }
12284
12284
  }
12285
- | {
12286
- type: 'annotation.toggle'
12287
- annotation: {
12288
- name: string
12289
- value: {
12290
- [prop: string]: unknown
12291
- }
12292
- }
12293
- }
12294
12285
  | {
12295
12286
  type: 'block.set'
12296
12287
  at: [KeyedSegment]
@@ -12316,14 +12307,6 @@ declare const editorMachine: StateMachine<
12316
12307
  type: 'decorator.remove'
12317
12308
  decorator: string
12318
12309
  }
12319
- | {
12320
- type: 'decorator.toggle'
12321
- decorator: string
12322
- offsets?: {
12323
- anchor: BlockOffset_2
12324
- focus: BlockOffset_2
12325
- }
12326
- }
12327
12310
  | {
12328
12311
  type: 'delete'
12329
12312
  selection: NonNullable<EditorSelection>
@@ -12407,6 +12390,23 @@ declare const editorMachine: StateMachine<
12407
12390
  type: 'select'
12408
12391
  selection: EditorSelection
12409
12392
  }
12393
+ | {
12394
+ type: 'annotation.toggle'
12395
+ annotation: {
12396
+ name: string
12397
+ value: {
12398
+ [prop: string]: unknown
12399
+ }
12400
+ }
12401
+ }
12402
+ | {
12403
+ type: 'decorator.toggle'
12404
+ decorator: string
12405
+ offsets?: {
12406
+ anchor: BlockOffset_2
12407
+ focus: BlockOffset_2
12408
+ }
12409
+ }
12410
12410
  | {
12411
12411
  type: 'insert.blocks'
12412
12412
  blocks: Array<PortableTextBlock>
@@ -12534,15 +12534,6 @@ declare const editorMachine: StateMachine<
12534
12534
  name: string
12535
12535
  }
12536
12536
  }
12537
- | {
12538
- type: 'annotation.toggle'
12539
- annotation: {
12540
- name: string
12541
- value: {
12542
- [prop: string]: unknown
12543
- }
12544
- }
12545
- }
12546
12537
  | {
12547
12538
  type: 'block.set'
12548
12539
  at: [KeyedSegment]
@@ -12568,14 +12559,6 @@ declare const editorMachine: StateMachine<
12568
12559
  type: 'decorator.remove'
12569
12560
  decorator: string
12570
12561
  }
12571
- | {
12572
- type: 'decorator.toggle'
12573
- decorator: string
12574
- offsets?: {
12575
- anchor: BlockOffset_2
12576
- focus: BlockOffset_2
12577
- }
12578
- }
12579
12562
  | {
12580
12563
  type: 'delete'
12581
12564
  selection: NonNullable<EditorSelection>
@@ -12659,6 +12642,23 @@ declare const editorMachine: StateMachine<
12659
12642
  type: 'select'
12660
12643
  selection: EditorSelection
12661
12644
  }
12645
+ | {
12646
+ type: 'annotation.toggle'
12647
+ annotation: {
12648
+ name: string
12649
+ value: {
12650
+ [prop: string]: unknown
12651
+ }
12652
+ }
12653
+ }
12654
+ | {
12655
+ type: 'decorator.toggle'
12656
+ decorator: string
12657
+ offsets?: {
12658
+ anchor: BlockOffset_2
12659
+ focus: BlockOffset_2
12660
+ }
12661
+ }
12662
12662
  | {
12663
12663
  type: 'insert.blocks'
12664
12664
  blocks: Array<PortableTextBlock>
@@ -12850,15 +12850,6 @@ declare const editorMachine: StateMachine<
12850
12850
  name: string
12851
12851
  }
12852
12852
  }
12853
- | {
12854
- type: 'annotation.toggle'
12855
- annotation: {
12856
- name: string
12857
- value: {
12858
- [prop: string]: unknown
12859
- }
12860
- }
12861
- }
12862
12853
  | {
12863
12854
  type: 'block.set'
12864
12855
  at: [KeyedSegment]
@@ -12884,14 +12875,6 @@ declare const editorMachine: StateMachine<
12884
12875
  type: 'decorator.remove'
12885
12876
  decorator: string
12886
12877
  }
12887
- | {
12888
- type: 'decorator.toggle'
12889
- decorator: string
12890
- offsets?: {
12891
- anchor: BlockOffset_2
12892
- focus: BlockOffset_2
12893
- }
12894
- }
12895
12878
  | {
12896
12879
  type: 'delete'
12897
12880
  selection: NonNullable<EditorSelection>
@@ -12975,6 +12958,23 @@ declare const editorMachine: StateMachine<
12975
12958
  type: 'select'
12976
12959
  selection: EditorSelection
12977
12960
  }
12961
+ | {
12962
+ type: 'annotation.toggle'
12963
+ annotation: {
12964
+ name: string
12965
+ value: {
12966
+ [prop: string]: unknown
12967
+ }
12968
+ }
12969
+ }
12970
+ | {
12971
+ type: 'decorator.toggle'
12972
+ decorator: string
12973
+ offsets?: {
12974
+ anchor: BlockOffset_2
12975
+ focus: BlockOffset_2
12976
+ }
12977
+ }
12978
12978
  | {
12979
12979
  type: 'insert.blocks'
12980
12980
  blocks: Array<PortableTextBlock>
@@ -13105,15 +13105,6 @@ declare const editorMachine: StateMachine<
13105
13105
  name: string
13106
13106
  }
13107
13107
  }
13108
- | {
13109
- type: 'annotation.toggle'
13110
- annotation: {
13111
- name: string
13112
- value: {
13113
- [prop: string]: unknown
13114
- }
13115
- }
13116
- }
13117
13108
  | {
13118
13109
  type: 'block.set'
13119
13110
  at: [KeyedSegment]
@@ -13139,14 +13130,6 @@ declare const editorMachine: StateMachine<
13139
13130
  type: 'decorator.remove'
13140
13131
  decorator: string
13141
13132
  }
13142
- | {
13143
- type: 'decorator.toggle'
13144
- decorator: string
13145
- offsets?: {
13146
- anchor: BlockOffset_2
13147
- focus: BlockOffset_2
13148
- }
13149
- }
13150
13133
  | {
13151
13134
  type: 'delete'
13152
13135
  selection: NonNullable<EditorSelection>
@@ -13230,6 +13213,23 @@ declare const editorMachine: StateMachine<
13230
13213
  type: 'select'
13231
13214
  selection: EditorSelection
13232
13215
  }
13216
+ | {
13217
+ type: 'annotation.toggle'
13218
+ annotation: {
13219
+ name: string
13220
+ value: {
13221
+ [prop: string]: unknown
13222
+ }
13223
+ }
13224
+ }
13225
+ | {
13226
+ type: 'decorator.toggle'
13227
+ decorator: string
13228
+ offsets?: {
13229
+ anchor: BlockOffset_2
13230
+ focus: BlockOffset_2
13231
+ }
13232
+ }
13233
13233
  | {
13234
13234
  type: 'insert.blocks'
13235
13235
  blocks: Array<PortableTextBlock>
@@ -13421,15 +13421,6 @@ declare const editorMachine: StateMachine<
13421
13421
  name: string
13422
13422
  }
13423
13423
  }
13424
- | {
13425
- type: 'annotation.toggle'
13426
- annotation: {
13427
- name: string
13428
- value: {
13429
- [prop: string]: unknown
13430
- }
13431
- }
13432
- }
13433
13424
  | {
13434
13425
  type: 'block.set'
13435
13426
  at: [KeyedSegment]
@@ -13455,14 +13446,6 @@ declare const editorMachine: StateMachine<
13455
13446
  type: 'decorator.remove'
13456
13447
  decorator: string
13457
13448
  }
13458
- | {
13459
- type: 'decorator.toggle'
13460
- decorator: string
13461
- offsets?: {
13462
- anchor: BlockOffset_2
13463
- focus: BlockOffset_2
13464
- }
13465
- }
13466
13449
  | {
13467
13450
  type: 'delete'
13468
13451
  selection: NonNullable<EditorSelection>
@@ -13546,6 +13529,23 @@ declare const editorMachine: StateMachine<
13546
13529
  type: 'select'
13547
13530
  selection: EditorSelection
13548
13531
  }
13532
+ | {
13533
+ type: 'annotation.toggle'
13534
+ annotation: {
13535
+ name: string
13536
+ value: {
13537
+ [prop: string]: unknown
13538
+ }
13539
+ }
13540
+ }
13541
+ | {
13542
+ type: 'decorator.toggle'
13543
+ decorator: string
13544
+ offsets?: {
13545
+ anchor: BlockOffset_2
13546
+ focus: BlockOffset_2
13547
+ }
13548
+ }
13549
13549
  | {
13550
13550
  type: 'insert.blocks'
13551
13551
  blocks: Array<PortableTextBlock>
@@ -13721,15 +13721,6 @@ declare const editorMachine: StateMachine<
13721
13721
  name: string
13722
13722
  }
13723
13723
  }
13724
- | {
13725
- type: 'annotation.toggle'
13726
- annotation: {
13727
- name: string
13728
- value: {
13729
- [prop: string]: unknown
13730
- }
13731
- }
13732
- }
13733
13724
  | {
13734
13725
  type: 'block.set'
13735
13726
  at: [KeyedSegment]
@@ -13755,14 +13746,6 @@ declare const editorMachine: StateMachine<
13755
13746
  type: 'decorator.remove'
13756
13747
  decorator: string
13757
13748
  }
13758
- | {
13759
- type: 'decorator.toggle'
13760
- decorator: string
13761
- offsets?: {
13762
- anchor: BlockOffset_2
13763
- focus: BlockOffset_2
13764
- }
13765
- }
13766
13749
  | {
13767
13750
  type: 'delete'
13768
13751
  selection: NonNullable<EditorSelection>
@@ -13846,6 +13829,23 @@ declare const editorMachine: StateMachine<
13846
13829
  type: 'select'
13847
13830
  selection: EditorSelection
13848
13831
  }
13832
+ | {
13833
+ type: 'annotation.toggle'
13834
+ annotation: {
13835
+ name: string
13836
+ value: {
13837
+ [prop: string]: unknown
13838
+ }
13839
+ }
13840
+ }
13841
+ | {
13842
+ type: 'decorator.toggle'
13843
+ decorator: string
13844
+ offsets?: {
13845
+ anchor: BlockOffset_2
13846
+ focus: BlockOffset_2
13847
+ }
13848
+ }
13849
13849
  | {
13850
13850
  type: 'insert.blocks'
13851
13851
  blocks: Array<PortableTextBlock>
@@ -14037,15 +14037,6 @@ declare const editorMachine: StateMachine<
14037
14037
  name: string
14038
14038
  }
14039
14039
  }
14040
- | {
14041
- type: 'annotation.toggle'
14042
- annotation: {
14043
- name: string
14044
- value: {
14045
- [prop: string]: unknown
14046
- }
14047
- }
14048
- }
14049
14040
  | {
14050
14041
  type: 'block.set'
14051
14042
  at: [KeyedSegment]
@@ -14071,14 +14062,6 @@ declare const editorMachine: StateMachine<
14071
14062
  type: 'decorator.remove'
14072
14063
  decorator: string
14073
14064
  }
14074
- | {
14075
- type: 'decorator.toggle'
14076
- decorator: string
14077
- offsets?: {
14078
- anchor: BlockOffset_2
14079
- focus: BlockOffset_2
14080
- }
14081
- }
14082
14065
  | {
14083
14066
  type: 'delete'
14084
14067
  selection: NonNullable<EditorSelection>
@@ -14162,6 +14145,23 @@ declare const editorMachine: StateMachine<
14162
14145
  type: 'select'
14163
14146
  selection: EditorSelection
14164
14147
  }
14148
+ | {
14149
+ type: 'annotation.toggle'
14150
+ annotation: {
14151
+ name: string
14152
+ value: {
14153
+ [prop: string]: unknown
14154
+ }
14155
+ }
14156
+ }
14157
+ | {
14158
+ type: 'decorator.toggle'
14159
+ decorator: string
14160
+ offsets?: {
14161
+ anchor: BlockOffset_2
14162
+ focus: BlockOffset_2
14163
+ }
14164
+ }
14165
14165
  | {
14166
14166
  type: 'insert.blocks'
14167
14167
  blocks: Array<PortableTextBlock>
@@ -14298,15 +14298,6 @@ declare const editorMachine: StateMachine<
14298
14298
  name: string
14299
14299
  }
14300
14300
  }
14301
- | {
14302
- type: 'annotation.toggle'
14303
- annotation: {
14304
- name: string
14305
- value: {
14306
- [prop: string]: unknown
14307
- }
14308
- }
14309
- }
14310
14301
  | {
14311
14302
  type: 'block.set'
14312
14303
  at: [KeyedSegment]
@@ -14332,14 +14323,6 @@ declare const editorMachine: StateMachine<
14332
14323
  type: 'decorator.remove'
14333
14324
  decorator: string
14334
14325
  }
14335
- | {
14336
- type: 'decorator.toggle'
14337
- decorator: string
14338
- offsets?: {
14339
- anchor: BlockOffset_2
14340
- focus: BlockOffset_2
14341
- }
14342
- }
14343
14326
  | {
14344
14327
  type: 'delete'
14345
14328
  selection: NonNullable<EditorSelection>
@@ -14423,6 +14406,23 @@ declare const editorMachine: StateMachine<
14423
14406
  type: 'select'
14424
14407
  selection: EditorSelection
14425
14408
  }
14409
+ | {
14410
+ type: 'annotation.toggle'
14411
+ annotation: {
14412
+ name: string
14413
+ value: {
14414
+ [prop: string]: unknown
14415
+ }
14416
+ }
14417
+ }
14418
+ | {
14419
+ type: 'decorator.toggle'
14420
+ decorator: string
14421
+ offsets?: {
14422
+ anchor: BlockOffset_2
14423
+ focus: BlockOffset_2
14424
+ }
14425
+ }
14426
14426
  | {
14427
14427
  type: 'insert.blocks'
14428
14428
  blocks: Array<PortableTextBlock>
@@ -14614,15 +14614,6 @@ declare const editorMachine: StateMachine<
14614
14614
  name: string
14615
14615
  }
14616
14616
  }
14617
- | {
14618
- type: 'annotation.toggle'
14619
- annotation: {
14620
- name: string
14621
- value: {
14622
- [prop: string]: unknown
14623
- }
14624
- }
14625
- }
14626
14617
  | {
14627
14618
  type: 'block.set'
14628
14619
  at: [KeyedSegment]
@@ -14648,14 +14639,6 @@ declare const editorMachine: StateMachine<
14648
14639
  type: 'decorator.remove'
14649
14640
  decorator: string
14650
14641
  }
14651
- | {
14652
- type: 'decorator.toggle'
14653
- decorator: string
14654
- offsets?: {
14655
- anchor: BlockOffset_2
14656
- focus: BlockOffset_2
14657
- }
14658
- }
14659
14642
  | {
14660
14643
  type: 'delete'
14661
14644
  selection: NonNullable<EditorSelection>
@@ -14739,6 +14722,23 @@ declare const editorMachine: StateMachine<
14739
14722
  type: 'select'
14740
14723
  selection: EditorSelection
14741
14724
  }
14725
+ | {
14726
+ type: 'annotation.toggle'
14727
+ annotation: {
14728
+ name: string
14729
+ value: {
14730
+ [prop: string]: unknown
14731
+ }
14732
+ }
14733
+ }
14734
+ | {
14735
+ type: 'decorator.toggle'
14736
+ decorator: string
14737
+ offsets?: {
14738
+ anchor: BlockOffset_2
14739
+ focus: BlockOffset_2
14740
+ }
14741
+ }
14742
14742
  | {
14743
14743
  type: 'insert.blocks'
14744
14744
  blocks: Array<PortableTextBlock>
@@ -14876,15 +14876,6 @@ declare const editorMachine: StateMachine<
14876
14876
  name: string
14877
14877
  }
14878
14878
  }
14879
- | {
14880
- type: 'annotation.toggle'
14881
- annotation: {
14882
- name: string
14883
- value: {
14884
- [prop: string]: unknown
14885
- }
14886
- }
14887
- }
14888
14879
  | {
14889
14880
  type: 'block.set'
14890
14881
  at: [KeyedSegment]
@@ -14910,14 +14901,6 @@ declare const editorMachine: StateMachine<
14910
14901
  type: 'decorator.remove'
14911
14902
  decorator: string
14912
14903
  }
14913
- | {
14914
- type: 'decorator.toggle'
14915
- decorator: string
14916
- offsets?: {
14917
- anchor: BlockOffset_2
14918
- focus: BlockOffset_2
14919
- }
14920
- }
14921
14904
  | {
14922
14905
  type: 'delete'
14923
14906
  selection: NonNullable<EditorSelection>
@@ -15001,6 +14984,23 @@ declare const editorMachine: StateMachine<
15001
14984
  type: 'select'
15002
14985
  selection: EditorSelection
15003
14986
  }
14987
+ | {
14988
+ type: 'annotation.toggle'
14989
+ annotation: {
14990
+ name: string
14991
+ value: {
14992
+ [prop: string]: unknown
14993
+ }
14994
+ }
14995
+ }
14996
+ | {
14997
+ type: 'decorator.toggle'
14998
+ decorator: string
14999
+ offsets?: {
15000
+ anchor: BlockOffset_2
15001
+ focus: BlockOffset_2
15002
+ }
15003
+ }
15004
15004
  | {
15005
15005
  type: 'insert.blocks'
15006
15006
  blocks: Array<PortableTextBlock>
@@ -15192,15 +15192,6 @@ declare const editorMachine: StateMachine<
15192
15192
  name: string
15193
15193
  }
15194
15194
  }
15195
- | {
15196
- type: 'annotation.toggle'
15197
- annotation: {
15198
- name: string
15199
- value: {
15200
- [prop: string]: unknown
15201
- }
15202
- }
15203
- }
15204
15195
  | {
15205
15196
  type: 'block.set'
15206
15197
  at: [KeyedSegment]
@@ -15226,14 +15217,6 @@ declare const editorMachine: StateMachine<
15226
15217
  type: 'decorator.remove'
15227
15218
  decorator: string
15228
15219
  }
15229
- | {
15230
- type: 'decorator.toggle'
15231
- decorator: string
15232
- offsets?: {
15233
- anchor: BlockOffset_2
15234
- focus: BlockOffset_2
15235
- }
15236
- }
15237
15220
  | {
15238
15221
  type: 'delete'
15239
15222
  selection: NonNullable<EditorSelection>
@@ -15317,6 +15300,23 @@ declare const editorMachine: StateMachine<
15317
15300
  type: 'select'
15318
15301
  selection: EditorSelection
15319
15302
  }
15303
+ | {
15304
+ type: 'annotation.toggle'
15305
+ annotation: {
15306
+ name: string
15307
+ value: {
15308
+ [prop: string]: unknown
15309
+ }
15310
+ }
15311
+ }
15312
+ | {
15313
+ type: 'decorator.toggle'
15314
+ decorator: string
15315
+ offsets?: {
15316
+ anchor: BlockOffset_2
15317
+ focus: BlockOffset_2
15318
+ }
15319
+ }
15320
15320
  | {
15321
15321
  type: 'insert.blocks'
15322
15322
  blocks: Array<PortableTextBlock>
@@ -15445,15 +15445,6 @@ declare const editorMachine: StateMachine<
15445
15445
  name: string
15446
15446
  }
15447
15447
  }
15448
- | {
15449
- type: 'annotation.toggle'
15450
- annotation: {
15451
- name: string
15452
- value: {
15453
- [prop: string]: unknown
15454
- }
15455
- }
15456
- }
15457
15448
  | {
15458
15449
  type: 'block.set'
15459
15450
  at: [KeyedSegment]
@@ -15479,14 +15470,6 @@ declare const editorMachine: StateMachine<
15479
15470
  type: 'decorator.remove'
15480
15471
  decorator: string
15481
15472
  }
15482
- | {
15483
- type: 'decorator.toggle'
15484
- decorator: string
15485
- offsets?: {
15486
- anchor: BlockOffset_2
15487
- focus: BlockOffset_2
15488
- }
15489
- }
15490
15473
  | {
15491
15474
  type: 'delete'
15492
15475
  selection: NonNullable<EditorSelection>
@@ -15570,6 +15553,23 @@ declare const editorMachine: StateMachine<
15570
15553
  type: 'select'
15571
15554
  selection: EditorSelection
15572
15555
  }
15556
+ | {
15557
+ type: 'annotation.toggle'
15558
+ annotation: {
15559
+ name: string
15560
+ value: {
15561
+ [prop: string]: unknown
15562
+ }
15563
+ }
15564
+ }
15565
+ | {
15566
+ type: 'decorator.toggle'
15567
+ decorator: string
15568
+ offsets?: {
15569
+ anchor: BlockOffset_2
15570
+ focus: BlockOffset_2
15571
+ }
15572
+ }
15573
15573
  | {
15574
15574
  type: 'insert.blocks'
15575
15575
  blocks: Array<PortableTextBlock>
@@ -15761,15 +15761,6 @@ declare const editorMachine: StateMachine<
15761
15761
  name: string
15762
15762
  }
15763
15763
  }
15764
- | {
15765
- type: 'annotation.toggle'
15766
- annotation: {
15767
- name: string
15768
- value: {
15769
- [prop: string]: unknown
15770
- }
15771
- }
15772
- }
15773
15764
  | {
15774
15765
  type: 'block.set'
15775
15766
  at: [KeyedSegment]
@@ -15795,14 +15786,6 @@ declare const editorMachine: StateMachine<
15795
15786
  type: 'decorator.remove'
15796
15787
  decorator: string
15797
15788
  }
15798
- | {
15799
- type: 'decorator.toggle'
15800
- decorator: string
15801
- offsets?: {
15802
- anchor: BlockOffset_2
15803
- focus: BlockOffset_2
15804
- }
15805
- }
15806
15789
  | {
15807
15790
  type: 'delete'
15808
15791
  selection: NonNullable<EditorSelection>
@@ -15886,6 +15869,23 @@ declare const editorMachine: StateMachine<
15886
15869
  type: 'select'
15887
15870
  selection: EditorSelection
15888
15871
  }
15872
+ | {
15873
+ type: 'annotation.toggle'
15874
+ annotation: {
15875
+ name: string
15876
+ value: {
15877
+ [prop: string]: unknown
15878
+ }
15879
+ }
15880
+ }
15881
+ | {
15882
+ type: 'decorator.toggle'
15883
+ decorator: string
15884
+ offsets?: {
15885
+ anchor: BlockOffset_2
15886
+ focus: BlockOffset_2
15887
+ }
15888
+ }
15889
15889
  | {
15890
15890
  type: 'insert.blocks'
15891
15891
  blocks: Array<PortableTextBlock>
@@ -16035,15 +16035,6 @@ declare const editorMachine: StateMachine<
16035
16035
  name: string
16036
16036
  }
16037
16037
  }
16038
- | {
16039
- type: 'annotation.toggle'
16040
- annotation: {
16041
- name: string
16042
- value: {
16043
- [prop: string]: unknown
16044
- }
16045
- }
16046
- }
16047
16038
  | {
16048
16039
  type: 'block.set'
16049
16040
  at: [KeyedSegment]
@@ -16065,17 +16056,9 @@ declare const editorMachine: StateMachine<
16065
16056
  focus: BlockOffset_2
16066
16057
  }
16067
16058
  }
16068
- | {
16069
- type: 'decorator.remove'
16070
- decorator: string
16071
- }
16072
- | {
16073
- type: 'decorator.toggle'
16074
- decorator: string
16075
- offsets?: {
16076
- anchor: BlockOffset_2
16077
- focus: BlockOffset_2
16078
- }
16059
+ | {
16060
+ type: 'decorator.remove'
16061
+ decorator: string
16079
16062
  }
16080
16063
  | {
16081
16064
  type: 'delete'
@@ -16160,6 +16143,23 @@ declare const editorMachine: StateMachine<
16160
16143
  type: 'select'
16161
16144
  selection: EditorSelection
16162
16145
  }
16146
+ | {
16147
+ type: 'annotation.toggle'
16148
+ annotation: {
16149
+ name: string
16150
+ value: {
16151
+ [prop: string]: unknown
16152
+ }
16153
+ }
16154
+ }
16155
+ | {
16156
+ type: 'decorator.toggle'
16157
+ decorator: string
16158
+ offsets?: {
16159
+ anchor: BlockOffset_2
16160
+ focus: BlockOffset_2
16161
+ }
16162
+ }
16163
16163
  | {
16164
16164
  type: 'insert.blocks'
16165
16165
  blocks: Array<PortableTextBlock>
@@ -16351,15 +16351,6 @@ declare const editorMachine: StateMachine<
16351
16351
  name: string
16352
16352
  }
16353
16353
  }
16354
- | {
16355
- type: 'annotation.toggle'
16356
- annotation: {
16357
- name: string
16358
- value: {
16359
- [prop: string]: unknown
16360
- }
16361
- }
16362
- }
16363
16354
  | {
16364
16355
  type: 'block.set'
16365
16356
  at: [KeyedSegment]
@@ -16385,14 +16376,6 @@ declare const editorMachine: StateMachine<
16385
16376
  type: 'decorator.remove'
16386
16377
  decorator: string
16387
16378
  }
16388
- | {
16389
- type: 'decorator.toggle'
16390
- decorator: string
16391
- offsets?: {
16392
- anchor: BlockOffset_2
16393
- focus: BlockOffset_2
16394
- }
16395
- }
16396
16379
  | {
16397
16380
  type: 'delete'
16398
16381
  selection: NonNullable<EditorSelection>
@@ -16476,6 +16459,23 @@ declare const editorMachine: StateMachine<
16476
16459
  type: 'select'
16477
16460
  selection: EditorSelection
16478
16461
  }
16462
+ | {
16463
+ type: 'annotation.toggle'
16464
+ annotation: {
16465
+ name: string
16466
+ value: {
16467
+ [prop: string]: unknown
16468
+ }
16469
+ }
16470
+ }
16471
+ | {
16472
+ type: 'decorator.toggle'
16473
+ decorator: string
16474
+ offsets?: {
16475
+ anchor: BlockOffset_2
16476
+ focus: BlockOffset_2
16477
+ }
16478
+ }
16479
16479
  | {
16480
16480
  type: 'insert.blocks'
16481
16481
  blocks: Array<PortableTextBlock>
@@ -16626,15 +16626,6 @@ declare const editorMachine: StateMachine<
16626
16626
  name: string
16627
16627
  }
16628
16628
  }
16629
- | {
16630
- type: 'annotation.toggle'
16631
- annotation: {
16632
- name: string
16633
- value: {
16634
- [prop: string]: unknown
16635
- }
16636
- }
16637
- }
16638
16629
  | {
16639
16630
  type: 'block.set'
16640
16631
  at: [KeyedSegment]
@@ -16660,14 +16651,6 @@ declare const editorMachine: StateMachine<
16660
16651
  type: 'decorator.remove'
16661
16652
  decorator: string
16662
16653
  }
16663
- | {
16664
- type: 'decorator.toggle'
16665
- decorator: string
16666
- offsets?: {
16667
- anchor: BlockOffset_2
16668
- focus: BlockOffset_2
16669
- }
16670
- }
16671
16654
  | {
16672
16655
  type: 'delete'
16673
16656
  selection: NonNullable<EditorSelection>
@@ -16751,6 +16734,23 @@ declare const editorMachine: StateMachine<
16751
16734
  type: 'select'
16752
16735
  selection: EditorSelection
16753
16736
  }
16737
+ | {
16738
+ type: 'annotation.toggle'
16739
+ annotation: {
16740
+ name: string
16741
+ value: {
16742
+ [prop: string]: unknown
16743
+ }
16744
+ }
16745
+ }
16746
+ | {
16747
+ type: 'decorator.toggle'
16748
+ decorator: string
16749
+ offsets?: {
16750
+ anchor: BlockOffset_2
16751
+ focus: BlockOffset_2
16752
+ }
16753
+ }
16754
16754
  | {
16755
16755
  type: 'insert.blocks'
16756
16756
  blocks: Array<PortableTextBlock>
@@ -16969,15 +16969,6 @@ declare const editorMachine: StateMachine<
16969
16969
  name: string
16970
16970
  }
16971
16971
  }
16972
- | {
16973
- type: 'annotation.toggle'
16974
- annotation: {
16975
- name: string
16976
- value: {
16977
- [prop: string]: unknown
16978
- }
16979
- }
16980
- }
16981
16972
  | {
16982
16973
  type: 'block.set'
16983
16974
  at: [KeyedSegment]
@@ -17003,14 +16994,6 @@ declare const editorMachine: StateMachine<
17003
16994
  type: 'decorator.remove'
17004
16995
  decorator: string
17005
16996
  }
17006
- | {
17007
- type: 'decorator.toggle'
17008
- decorator: string
17009
- offsets?: {
17010
- anchor: BlockOffset_2
17011
- focus: BlockOffset_2
17012
- }
17013
- }
17014
16997
  | {
17015
16998
  type: 'delete'
17016
16999
  selection: NonNullable<EditorSelection>
@@ -17094,6 +17077,23 @@ declare const editorMachine: StateMachine<
17094
17077
  type: 'select'
17095
17078
  selection: EditorSelection
17096
17079
  }
17080
+ | {
17081
+ type: 'annotation.toggle'
17082
+ annotation: {
17083
+ name: string
17084
+ value: {
17085
+ [prop: string]: unknown
17086
+ }
17087
+ }
17088
+ }
17089
+ | {
17090
+ type: 'decorator.toggle'
17091
+ decorator: string
17092
+ offsets?: {
17093
+ anchor: BlockOffset_2
17094
+ focus: BlockOffset_2
17095
+ }
17096
+ }
17097
17097
  | {
17098
17098
  type: 'insert.blocks'
17099
17099
  blocks: Array<PortableTextBlock>
@@ -17280,15 +17280,6 @@ declare const editorMachine: StateMachine<
17280
17280
  name: string
17281
17281
  }
17282
17282
  }
17283
- | {
17284
- type: 'annotation.toggle'
17285
- annotation: {
17286
- name: string
17287
- value: {
17288
- [prop: string]: unknown
17289
- }
17290
- }
17291
- }
17292
17283
  | {
17293
17284
  type: 'block.set'
17294
17285
  at: [KeyedSegment]
@@ -17314,14 +17305,6 @@ declare const editorMachine: StateMachine<
17314
17305
  type: 'decorator.remove'
17315
17306
  decorator: string
17316
17307
  }
17317
- | {
17318
- type: 'decorator.toggle'
17319
- decorator: string
17320
- offsets?: {
17321
- anchor: BlockOffset_2
17322
- focus: BlockOffset_2
17323
- }
17324
- }
17325
17308
  | {
17326
17309
  type: 'delete'
17327
17310
  selection: NonNullable<EditorSelection>
@@ -17405,6 +17388,23 @@ declare const editorMachine: StateMachine<
17405
17388
  type: 'select'
17406
17389
  selection: EditorSelection
17407
17390
  }
17391
+ | {
17392
+ type: 'annotation.toggle'
17393
+ annotation: {
17394
+ name: string
17395
+ value: {
17396
+ [prop: string]: unknown
17397
+ }
17398
+ }
17399
+ }
17400
+ | {
17401
+ type: 'decorator.toggle'
17402
+ decorator: string
17403
+ offsets?: {
17404
+ anchor: BlockOffset_2
17405
+ focus: BlockOffset_2
17406
+ }
17407
+ }
17408
17408
  | {
17409
17409
  type: 'insert.blocks'
17410
17410
  blocks: Array<PortableTextBlock>
@@ -17608,15 +17608,6 @@ declare const editorMachine: StateMachine<
17608
17608
  name: string
17609
17609
  }
17610
17610
  }
17611
- | {
17612
- type: 'annotation.toggle'
17613
- annotation: {
17614
- name: string
17615
- value: {
17616
- [prop: string]: unknown
17617
- }
17618
- }
17619
- }
17620
17611
  | {
17621
17612
  type: 'block.set'
17622
17613
  at: [KeyedSegment]
@@ -17642,14 +17633,6 @@ declare const editorMachine: StateMachine<
17642
17633
  type: 'decorator.remove'
17643
17634
  decorator: string
17644
17635
  }
17645
- | {
17646
- type: 'decorator.toggle'
17647
- decorator: string
17648
- offsets?: {
17649
- anchor: BlockOffset_2
17650
- focus: BlockOffset_2
17651
- }
17652
- }
17653
17636
  | {
17654
17637
  type: 'delete'
17655
17638
  selection: NonNullable<EditorSelection>
@@ -17733,6 +17716,23 @@ declare const editorMachine: StateMachine<
17733
17716
  type: 'select'
17734
17717
  selection: EditorSelection
17735
17718
  }
17719
+ | {
17720
+ type: 'annotation.toggle'
17721
+ annotation: {
17722
+ name: string
17723
+ value: {
17724
+ [prop: string]: unknown
17725
+ }
17726
+ }
17727
+ }
17728
+ | {
17729
+ type: 'decorator.toggle'
17730
+ decorator: string
17731
+ offsets?: {
17732
+ anchor: BlockOffset_2
17733
+ focus: BlockOffset_2
17734
+ }
17735
+ }
17736
17736
  | {
17737
17737
  type: 'insert.blocks'
17738
17738
  blocks: Array<PortableTextBlock>
@@ -17919,15 +17919,6 @@ declare const editorMachine: StateMachine<
17919
17919
  name: string
17920
17920
  }
17921
17921
  }
17922
- | {
17923
- type: 'annotation.toggle'
17924
- annotation: {
17925
- name: string
17926
- value: {
17927
- [prop: string]: unknown
17928
- }
17929
- }
17930
- }
17931
17922
  | {
17932
17923
  type: 'block.set'
17933
17924
  at: [KeyedSegment]
@@ -17953,14 +17944,6 @@ declare const editorMachine: StateMachine<
17953
17944
  type: 'decorator.remove'
17954
17945
  decorator: string
17955
17946
  }
17956
- | {
17957
- type: 'decorator.toggle'
17958
- decorator: string
17959
- offsets?: {
17960
- anchor: BlockOffset_2
17961
- focus: BlockOffset_2
17962
- }
17963
- }
17964
17947
  | {
17965
17948
  type: 'delete'
17966
17949
  selection: NonNullable<EditorSelection>
@@ -18044,6 +18027,23 @@ declare const editorMachine: StateMachine<
18044
18027
  type: 'select'
18045
18028
  selection: EditorSelection
18046
18029
  }
18030
+ | {
18031
+ type: 'annotation.toggle'
18032
+ annotation: {
18033
+ name: string
18034
+ value: {
18035
+ [prop: string]: unknown
18036
+ }
18037
+ }
18038
+ }
18039
+ | {
18040
+ type: 'decorator.toggle'
18041
+ decorator: string
18042
+ offsets?: {
18043
+ anchor: BlockOffset_2
18044
+ focus: BlockOffset_2
18045
+ }
18046
+ }
18047
18047
  | {
18048
18048
  type: 'insert.blocks'
18049
18049
  blocks: Array<PortableTextBlock>
@@ -18435,6 +18435,23 @@ declare type InputBehaviorEvent = {
18435
18435
  declare type InsertPlacement = 'auto' | 'after' | 'before'
18436
18436
 
18437
18437
  declare type InternalBehaviorEvent =
18438
+ | {
18439
+ type: InternalBehaviorEventType<'annotation', 'toggle'>
18440
+ annotation: {
18441
+ name: string
18442
+ value: {
18443
+ [prop: string]: unknown
18444
+ }
18445
+ }
18446
+ }
18447
+ | {
18448
+ type: InternalBehaviorEventType<'decorator', 'toggle'>
18449
+ decorator: string
18450
+ offsets?: {
18451
+ anchor: BlockOffset
18452
+ focus: BlockOffset
18453
+ }
18454
+ }
18438
18455
  | {
18439
18456
  type: InternalBehaviorEventType<'deserialize'>
18440
18457
  originEvent:
@@ -18539,6 +18556,8 @@ declare type InternalBehaviorEvent =
18539
18556
  * Internal events
18540
18557
  **************************************/
18541
18558
  declare type InternalBehaviorEventNamespace =
18559
+ | 'annotation'
18560
+ | 'decorator'
18542
18561
  | 'deserialize'
18543
18562
  | 'deserialization'
18544
18563
  | 'list item'
@@ -18914,15 +18933,6 @@ declare type SyntheticBehaviorEvent =
18914
18933
  name: string
18915
18934
  }
18916
18935
  }
18917
- | {
18918
- type: SyntheticBehaviorEventType<'annotation', 'toggle'>
18919
- annotation: {
18920
- name: string
18921
- value: {
18922
- [prop: string]: unknown
18923
- }
18924
- }
18925
- }
18926
18936
  | {
18927
18937
  type: SyntheticBehaviorEventType<'block', 'set'>
18928
18938
  at: [KeyedSegment]
@@ -18948,14 +18958,6 @@ declare type SyntheticBehaviorEvent =
18948
18958
  type: SyntheticBehaviorEventType<'decorator', 'remove'>
18949
18959
  decorator: string
18950
18960
  }
18951
- | {
18952
- type: SyntheticBehaviorEventType<'decorator', 'toggle'>
18953
- decorator: string
18954
- offsets?: {
18955
- anchor: BlockOffset
18956
- focus: BlockOffset
18957
- }
18958
- }
18959
18961
  | {
18960
18962
  type: SyntheticBehaviorEventType<'delete'>
18961
18963
  selection: NonNullable<EditorSelection>