@portabletext/editor 1.39.0 → 1.39.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.
- package/lib/_chunks-cjs/behavior.core.cjs +4 -1
- package/lib/_chunks-cjs/behavior.core.cjs.map +1 -1
- package/lib/_chunks-cjs/editor-provider.cjs +37 -52
- package/lib/_chunks-cjs/editor-provider.cjs.map +1 -1
- package/lib/_chunks-cjs/selector.get-text-before.cjs +0 -1
- package/lib/_chunks-cjs/selector.get-text-before.cjs.map +1 -1
- package/lib/_chunks-cjs/selector.is-at-the-start-of-block.cjs +0 -3
- package/lib/_chunks-cjs/selector.is-at-the-start-of-block.cjs.map +1 -1
- package/lib/_chunks-cjs/selector.is-overlapping-selection.cjs +0 -4
- package/lib/_chunks-cjs/selector.is-overlapping-selection.cjs.map +1 -1
- package/lib/_chunks-es/behavior.core.js +5 -2
- package/lib/_chunks-es/behavior.core.js.map +1 -1
- package/lib/_chunks-es/editor-provider.js +41 -56
- package/lib/_chunks-es/editor-provider.js.map +1 -1
- package/lib/_chunks-es/selector.get-text-before.js +1 -2
- package/lib/_chunks-es/selector.get-text-before.js.map +1 -1
- package/lib/_chunks-es/selector.is-at-the-start-of-block.js +1 -4
- package/lib/_chunks-es/selector.is-at-the-start-of-block.js.map +1 -1
- package/lib/_chunks-es/selector.is-overlapping-selection.js +1 -5
- package/lib/_chunks-es/selector.is-overlapping-selection.js.map +1 -1
- package/lib/behaviors/index.d.cts +1134 -801
- package/lib/behaviors/index.d.ts +1134 -801
- package/lib/index.cjs +0 -6
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +902 -627
- package/lib/index.d.ts +902 -627
- package/lib/index.js +0 -6
- package/lib/index.js.map +1 -1
- package/lib/plugins/index.cjs +0 -1
- package/lib/plugins/index.cjs.map +1 -1
- package/lib/plugins/index.d.cts +902 -627
- package/lib/plugins/index.d.ts +902 -627
- package/lib/plugins/index.js +1 -2
- package/lib/plugins/index.js.map +1 -1
- package/lib/selectors/index.d.cts +902 -627
- package/lib/selectors/index.d.ts +902 -627
- package/lib/utils/index.d.cts +902 -627
- package/lib/utils/index.d.ts +902 -627
- package/package.json +5 -5
- package/src/behaviors/behavior.default.ts +23 -4
- package/src/behaviors/behavior.types.ts +62 -26
- package/src/editor/editor-machine.ts +7 -1
- package/src/editor/plugins/create-with-event-listeners.ts +18 -3
package/lib/behaviors/index.d.ts
CHANGED
|
@@ -53,13 +53,17 @@ import {
|
|
|
53
53
|
EditorSelection,
|
|
54
54
|
PortableTextMemberSchemaTypes as PortableTextMemberSchemaTypes_2,
|
|
55
55
|
} from '..'
|
|
56
|
-
import {
|
|
56
|
+
import {
|
|
57
|
+
InputBehaviorEvent as InputBehaviorEvent_3,
|
|
58
|
+
InsertPlacement as InsertPlacement_3,
|
|
59
|
+
} from '../behaviors/behavior.types'
|
|
57
60
|
import {EventPosition} from '../internal-utils/event-position'
|
|
58
61
|
import {MIMEType} from '../internal-utils/mime-type'
|
|
59
62
|
import {PickFromUnion} from '../type-utils'
|
|
60
63
|
import {
|
|
61
64
|
Behavior as Behavior_2,
|
|
62
65
|
CustomBehaviorEvent as CustomBehaviorEvent_2,
|
|
66
|
+
InputBehaviorEvent,
|
|
63
67
|
InsertPlacement,
|
|
64
68
|
MouseBehaviorEvent,
|
|
65
69
|
NativeBehaviorEvent as NativeBehaviorEvent_2,
|
|
@@ -77,11 +81,13 @@ export declare type Behavior<
|
|
|
77
81
|
? ClipboardBehaviorEvent
|
|
78
82
|
: TBehaviorEventType extends 'drag.*'
|
|
79
83
|
? DragBehaviorEvent
|
|
80
|
-
: TBehaviorEventType extends '
|
|
81
|
-
?
|
|
82
|
-
: TBehaviorEventType extends '
|
|
83
|
-
?
|
|
84
|
-
:
|
|
84
|
+
: TBehaviorEventType extends 'input.*'
|
|
85
|
+
? InputBehaviorEvent_2
|
|
86
|
+
: TBehaviorEventType extends 'keyboard.*'
|
|
87
|
+
? KeyboardBehaviorEvent
|
|
88
|
+
: TBehaviorEventType extends 'mouse.*'
|
|
89
|
+
? MouseBehaviorEvent_2
|
|
90
|
+
: PickFromUnion_2<BehaviorEvent, 'type', TBehaviorEventType>,
|
|
85
91
|
> = {
|
|
86
92
|
/**
|
|
87
93
|
* The internal editor event that triggers this behavior.
|
|
@@ -149,6 +155,9 @@ export declare type BehaviorEvent =
|
|
|
149
155
|
| {
|
|
150
156
|
type: 'drag.*'
|
|
151
157
|
}
|
|
158
|
+
| {
|
|
159
|
+
type: 'input.*'
|
|
160
|
+
}
|
|
152
161
|
| {
|
|
153
162
|
type: 'keyboard.*'
|
|
154
163
|
}
|
|
@@ -301,15 +310,16 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
301
310
|
| 'style.remove'
|
|
302
311
|
| 'style.toggle'
|
|
303
312
|
| 'clipboard.paste'
|
|
304
|
-
| 'keyboard.keydown'
|
|
305
|
-
| 'keyboard.keyup'
|
|
306
|
-
| 'mouse.click'
|
|
307
313
|
| 'drag.drag'
|
|
308
314
|
| 'drag.dragend'
|
|
309
315
|
| 'drag.dragenter'
|
|
310
316
|
| 'drag.dragover'
|
|
311
317
|
| 'drag.drop'
|
|
312
318
|
| 'drag.dragleave'
|
|
319
|
+
| 'input.*'
|
|
320
|
+
| 'keyboard.keydown'
|
|
321
|
+
| 'keyboard.keyup'
|
|
322
|
+
| 'mouse.click'
|
|
313
323
|
| 'clipboard.*'
|
|
314
324
|
| 'drag.*'
|
|
315
325
|
| 'keyboard.*'
|
|
@@ -517,22 +527,26 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
517
527
|
mimeType: `${string}/${string}`
|
|
518
528
|
reason: string
|
|
519
529
|
} & {
|
|
520
|
-
originEvent:
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
530
|
+
originEvent:
|
|
531
|
+
| PickFromUnion<
|
|
532
|
+
NativeBehaviorEvent_2,
|
|
533
|
+
'type',
|
|
534
|
+
'drag.drop' | 'clipboard.paste'
|
|
535
|
+
>
|
|
536
|
+
| InputBehaviorEvent
|
|
525
537
|
})
|
|
526
538
|
| ({
|
|
527
539
|
type: 'deserialization.success'
|
|
528
540
|
data: Array<PortableTextBlock>
|
|
529
541
|
mimeType: `${string}/${string}`
|
|
530
542
|
} & {
|
|
531
|
-
originEvent:
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
543
|
+
originEvent:
|
|
544
|
+
| PickFromUnion<
|
|
545
|
+
NativeBehaviorEvent_2,
|
|
546
|
+
'type',
|
|
547
|
+
'drag.drop' | 'clipboard.paste'
|
|
548
|
+
>
|
|
549
|
+
| InputBehaviorEvent
|
|
536
550
|
})
|
|
537
551
|
| {
|
|
538
552
|
type: 'serialization.success'
|
|
@@ -556,11 +570,13 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
556
570
|
}
|
|
557
571
|
| {
|
|
558
572
|
type: 'deserialize'
|
|
559
|
-
originEvent:
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
573
|
+
originEvent:
|
|
574
|
+
| PickFromUnion<
|
|
575
|
+
NativeBehaviorEvent_2,
|
|
576
|
+
'type',
|
|
577
|
+
'drag.drop' | 'clipboard.paste'
|
|
578
|
+
>
|
|
579
|
+
| InputBehaviorEvent
|
|
564
580
|
}
|
|
565
581
|
| {
|
|
566
582
|
type: 'serialize'
|
|
@@ -591,21 +607,6 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
591
607
|
}
|
|
592
608
|
position: EventPosition
|
|
593
609
|
}
|
|
594
|
-
| {
|
|
595
|
-
type: 'keyboard.keydown'
|
|
596
|
-
originEvent: Pick<
|
|
597
|
-
KeyboardEvent,
|
|
598
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
599
|
-
>
|
|
600
|
-
}
|
|
601
|
-
| {
|
|
602
|
-
type: 'keyboard.keyup'
|
|
603
|
-
originEvent: Pick<
|
|
604
|
-
KeyboardEvent,
|
|
605
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
606
|
-
>
|
|
607
|
-
}
|
|
608
|
-
| MouseBehaviorEvent
|
|
609
610
|
| {
|
|
610
611
|
type: 'drag.dragstart'
|
|
611
612
|
originEvent: {
|
|
@@ -652,6 +653,22 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
652
653
|
dataTransfer: DataTransfer
|
|
653
654
|
}
|
|
654
655
|
}
|
|
656
|
+
| InputBehaviorEvent
|
|
657
|
+
| {
|
|
658
|
+
type: 'keyboard.keydown'
|
|
659
|
+
originEvent: Pick<
|
|
660
|
+
KeyboardEvent,
|
|
661
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
662
|
+
>
|
|
663
|
+
}
|
|
664
|
+
| {
|
|
665
|
+
type: 'keyboard.keyup'
|
|
666
|
+
originEvent: Pick<
|
|
667
|
+
KeyboardEvent,
|
|
668
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
669
|
+
>
|
|
670
|
+
}
|
|
671
|
+
| MouseBehaviorEvent
|
|
655
672
|
| CustomBehaviorEvent_2<Record<string, unknown>, string, `custom.${string}`>
|
|
656
673
|
| {
|
|
657
674
|
type: '*'
|
|
@@ -662,6 +679,9 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
662
679
|
| {
|
|
663
680
|
type: 'drag.*'
|
|
664
681
|
}
|
|
682
|
+
| {
|
|
683
|
+
type: 'input.*'
|
|
684
|
+
}
|
|
665
685
|
| {
|
|
666
686
|
type: 'keyboard.*'
|
|
667
687
|
}
|
|
@@ -727,15 +747,16 @@ export declare function createCodeEditorBehaviors(
|
|
|
727
747
|
| 'style.remove'
|
|
728
748
|
| 'style.toggle'
|
|
729
749
|
| 'clipboard.paste'
|
|
730
|
-
| 'keyboard.keydown'
|
|
731
|
-
| 'keyboard.keyup'
|
|
732
|
-
| 'mouse.click'
|
|
733
750
|
| 'drag.drag'
|
|
734
751
|
| 'drag.dragend'
|
|
735
752
|
| 'drag.dragenter'
|
|
736
753
|
| 'drag.dragover'
|
|
737
754
|
| 'drag.drop'
|
|
738
755
|
| 'drag.dragleave'
|
|
756
|
+
| 'input.*'
|
|
757
|
+
| 'keyboard.keydown'
|
|
758
|
+
| 'keyboard.keyup'
|
|
759
|
+
| 'mouse.click'
|
|
739
760
|
| 'clipboard.*'
|
|
740
761
|
| 'drag.*'
|
|
741
762
|
| 'keyboard.*'
|
|
@@ -943,22 +964,26 @@ export declare function createCodeEditorBehaviors(
|
|
|
943
964
|
mimeType: `${string}/${string}`
|
|
944
965
|
reason: string
|
|
945
966
|
} & {
|
|
946
|
-
originEvent:
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
967
|
+
originEvent:
|
|
968
|
+
| PickFromUnion<
|
|
969
|
+
NativeBehaviorEvent_2,
|
|
970
|
+
'type',
|
|
971
|
+
'drag.drop' | 'clipboard.paste'
|
|
972
|
+
>
|
|
973
|
+
| InputBehaviorEvent
|
|
951
974
|
})
|
|
952
975
|
| ({
|
|
953
976
|
type: 'deserialization.success'
|
|
954
977
|
data: Array<PortableTextBlock>
|
|
955
978
|
mimeType: `${string}/${string}`
|
|
956
979
|
} & {
|
|
957
|
-
originEvent:
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
980
|
+
originEvent:
|
|
981
|
+
| PickFromUnion<
|
|
982
|
+
NativeBehaviorEvent_2,
|
|
983
|
+
'type',
|
|
984
|
+
'drag.drop' | 'clipboard.paste'
|
|
985
|
+
>
|
|
986
|
+
| InputBehaviorEvent
|
|
962
987
|
})
|
|
963
988
|
| {
|
|
964
989
|
type: 'serialization.success'
|
|
@@ -982,11 +1007,13 @@ export declare function createCodeEditorBehaviors(
|
|
|
982
1007
|
}
|
|
983
1008
|
| {
|
|
984
1009
|
type: 'deserialize'
|
|
985
|
-
originEvent:
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
1010
|
+
originEvent:
|
|
1011
|
+
| PickFromUnion<
|
|
1012
|
+
NativeBehaviorEvent_2,
|
|
1013
|
+
'type',
|
|
1014
|
+
'drag.drop' | 'clipboard.paste'
|
|
1015
|
+
>
|
|
1016
|
+
| InputBehaviorEvent
|
|
990
1017
|
}
|
|
991
1018
|
| {
|
|
992
1019
|
type: 'serialize'
|
|
@@ -1017,21 +1044,6 @@ export declare function createCodeEditorBehaviors(
|
|
|
1017
1044
|
}
|
|
1018
1045
|
position: EventPosition
|
|
1019
1046
|
}
|
|
1020
|
-
| {
|
|
1021
|
-
type: 'keyboard.keydown'
|
|
1022
|
-
originEvent: Pick<
|
|
1023
|
-
KeyboardEvent,
|
|
1024
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1025
|
-
>
|
|
1026
|
-
}
|
|
1027
|
-
| {
|
|
1028
|
-
type: 'keyboard.keyup'
|
|
1029
|
-
originEvent: Pick<
|
|
1030
|
-
KeyboardEvent,
|
|
1031
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1032
|
-
>
|
|
1033
|
-
}
|
|
1034
|
-
| MouseBehaviorEvent
|
|
1035
1047
|
| {
|
|
1036
1048
|
type: 'drag.dragstart'
|
|
1037
1049
|
originEvent: {
|
|
@@ -1078,6 +1090,22 @@ export declare function createCodeEditorBehaviors(
|
|
|
1078
1090
|
dataTransfer: DataTransfer
|
|
1079
1091
|
}
|
|
1080
1092
|
}
|
|
1093
|
+
| InputBehaviorEvent
|
|
1094
|
+
| {
|
|
1095
|
+
type: 'keyboard.keydown'
|
|
1096
|
+
originEvent: Pick<
|
|
1097
|
+
KeyboardEvent,
|
|
1098
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1099
|
+
>
|
|
1100
|
+
}
|
|
1101
|
+
| {
|
|
1102
|
+
type: 'keyboard.keyup'
|
|
1103
|
+
originEvent: Pick<
|
|
1104
|
+
KeyboardEvent,
|
|
1105
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1106
|
+
>
|
|
1107
|
+
}
|
|
1108
|
+
| MouseBehaviorEvent
|
|
1081
1109
|
| CustomBehaviorEvent_2<Record<string, unknown>, string, `custom.${string}`>
|
|
1082
1110
|
| {
|
|
1083
1111
|
type: '*'
|
|
@@ -1088,6 +1116,9 @@ export declare function createCodeEditorBehaviors(
|
|
|
1088
1116
|
| {
|
|
1089
1117
|
type: 'drag.*'
|
|
1090
1118
|
}
|
|
1119
|
+
| {
|
|
1120
|
+
type: 'input.*'
|
|
1121
|
+
}
|
|
1091
1122
|
| {
|
|
1092
1123
|
type: 'keyboard.*'
|
|
1093
1124
|
}
|
|
@@ -1153,15 +1184,16 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
1153
1184
|
| 'style.remove'
|
|
1154
1185
|
| 'style.toggle'
|
|
1155
1186
|
| 'clipboard.paste'
|
|
1156
|
-
| 'keyboard.keydown'
|
|
1157
|
-
| 'keyboard.keyup'
|
|
1158
|
-
| 'mouse.click'
|
|
1159
1187
|
| 'drag.drag'
|
|
1160
1188
|
| 'drag.dragend'
|
|
1161
1189
|
| 'drag.dragenter'
|
|
1162
1190
|
| 'drag.dragover'
|
|
1163
1191
|
| 'drag.drop'
|
|
1164
1192
|
| 'drag.dragleave'
|
|
1193
|
+
| 'input.*'
|
|
1194
|
+
| 'keyboard.keydown'
|
|
1195
|
+
| 'keyboard.keyup'
|
|
1196
|
+
| 'mouse.click'
|
|
1165
1197
|
| 'clipboard.*'
|
|
1166
1198
|
| 'drag.*'
|
|
1167
1199
|
| 'keyboard.*'
|
|
@@ -1369,22 +1401,26 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
1369
1401
|
mimeType: `${string}/${string}`
|
|
1370
1402
|
reason: string
|
|
1371
1403
|
} & {
|
|
1372
|
-
originEvent:
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1404
|
+
originEvent:
|
|
1405
|
+
| PickFromUnion<
|
|
1406
|
+
NativeBehaviorEvent_2,
|
|
1407
|
+
'type',
|
|
1408
|
+
'drag.drop' | 'clipboard.paste'
|
|
1409
|
+
>
|
|
1410
|
+
| InputBehaviorEvent
|
|
1377
1411
|
})
|
|
1378
1412
|
| ({
|
|
1379
1413
|
type: 'deserialization.success'
|
|
1380
1414
|
data: Array<PortableTextBlock>
|
|
1381
1415
|
mimeType: `${string}/${string}`
|
|
1382
1416
|
} & {
|
|
1383
|
-
originEvent:
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1417
|
+
originEvent:
|
|
1418
|
+
| PickFromUnion<
|
|
1419
|
+
NativeBehaviorEvent_2,
|
|
1420
|
+
'type',
|
|
1421
|
+
'drag.drop' | 'clipboard.paste'
|
|
1422
|
+
>
|
|
1423
|
+
| InputBehaviorEvent
|
|
1388
1424
|
})
|
|
1389
1425
|
| {
|
|
1390
1426
|
type: 'serialization.success'
|
|
@@ -1408,11 +1444,13 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
1408
1444
|
}
|
|
1409
1445
|
| {
|
|
1410
1446
|
type: 'deserialize'
|
|
1411
|
-
originEvent:
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1447
|
+
originEvent:
|
|
1448
|
+
| PickFromUnion<
|
|
1449
|
+
NativeBehaviorEvent_2,
|
|
1450
|
+
'type',
|
|
1451
|
+
'drag.drop' | 'clipboard.paste'
|
|
1452
|
+
>
|
|
1453
|
+
| InputBehaviorEvent
|
|
1416
1454
|
}
|
|
1417
1455
|
| {
|
|
1418
1456
|
type: 'serialize'
|
|
@@ -1443,21 +1481,6 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
1443
1481
|
}
|
|
1444
1482
|
position: EventPosition
|
|
1445
1483
|
}
|
|
1446
|
-
| {
|
|
1447
|
-
type: 'keyboard.keydown'
|
|
1448
|
-
originEvent: Pick<
|
|
1449
|
-
KeyboardEvent,
|
|
1450
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1451
|
-
>
|
|
1452
|
-
}
|
|
1453
|
-
| {
|
|
1454
|
-
type: 'keyboard.keyup'
|
|
1455
|
-
originEvent: Pick<
|
|
1456
|
-
KeyboardEvent,
|
|
1457
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1458
|
-
>
|
|
1459
|
-
}
|
|
1460
|
-
| MouseBehaviorEvent
|
|
1461
1484
|
| {
|
|
1462
1485
|
type: 'drag.dragstart'
|
|
1463
1486
|
originEvent: {
|
|
@@ -1504,6 +1527,22 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
1504
1527
|
dataTransfer: DataTransfer
|
|
1505
1528
|
}
|
|
1506
1529
|
}
|
|
1530
|
+
| InputBehaviorEvent
|
|
1531
|
+
| {
|
|
1532
|
+
type: 'keyboard.keydown'
|
|
1533
|
+
originEvent: Pick<
|
|
1534
|
+
KeyboardEvent,
|
|
1535
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1536
|
+
>
|
|
1537
|
+
}
|
|
1538
|
+
| {
|
|
1539
|
+
type: 'keyboard.keyup'
|
|
1540
|
+
originEvent: Pick<
|
|
1541
|
+
KeyboardEvent,
|
|
1542
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1543
|
+
>
|
|
1544
|
+
}
|
|
1545
|
+
| MouseBehaviorEvent
|
|
1507
1546
|
| CustomBehaviorEvent_2<Record<string, unknown>, string, `custom.${string}`>
|
|
1508
1547
|
| {
|
|
1509
1548
|
type: '*'
|
|
@@ -1514,6 +1553,9 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
1514
1553
|
| {
|
|
1515
1554
|
type: 'drag.*'
|
|
1516
1555
|
}
|
|
1556
|
+
| {
|
|
1557
|
+
type: 'input.*'
|
|
1558
|
+
}
|
|
1517
1559
|
| {
|
|
1518
1560
|
type: 'keyboard.*'
|
|
1519
1561
|
}
|
|
@@ -1579,15 +1621,16 @@ export declare function createLinkBehaviors(
|
|
|
1579
1621
|
| 'style.remove'
|
|
1580
1622
|
| 'style.toggle'
|
|
1581
1623
|
| 'clipboard.paste'
|
|
1582
|
-
| 'keyboard.keydown'
|
|
1583
|
-
| 'keyboard.keyup'
|
|
1584
|
-
| 'mouse.click'
|
|
1585
1624
|
| 'drag.drag'
|
|
1586
1625
|
| 'drag.dragend'
|
|
1587
1626
|
| 'drag.dragenter'
|
|
1588
1627
|
| 'drag.dragover'
|
|
1589
1628
|
| 'drag.drop'
|
|
1590
1629
|
| 'drag.dragleave'
|
|
1630
|
+
| 'input.*'
|
|
1631
|
+
| 'keyboard.keydown'
|
|
1632
|
+
| 'keyboard.keyup'
|
|
1633
|
+
| 'mouse.click'
|
|
1591
1634
|
| 'clipboard.*'
|
|
1592
1635
|
| 'drag.*'
|
|
1593
1636
|
| 'keyboard.*'
|
|
@@ -1795,22 +1838,26 @@ export declare function createLinkBehaviors(
|
|
|
1795
1838
|
mimeType: `${string}/${string}`
|
|
1796
1839
|
reason: string
|
|
1797
1840
|
} & {
|
|
1798
|
-
originEvent:
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1841
|
+
originEvent:
|
|
1842
|
+
| PickFromUnion<
|
|
1843
|
+
NativeBehaviorEvent_2,
|
|
1844
|
+
'type',
|
|
1845
|
+
'drag.drop' | 'clipboard.paste'
|
|
1846
|
+
>
|
|
1847
|
+
| InputBehaviorEvent
|
|
1803
1848
|
})
|
|
1804
1849
|
| ({
|
|
1805
1850
|
type: 'deserialization.success'
|
|
1806
1851
|
data: Array<PortableTextBlock>
|
|
1807
1852
|
mimeType: `${string}/${string}`
|
|
1808
1853
|
} & {
|
|
1809
|
-
originEvent:
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1854
|
+
originEvent:
|
|
1855
|
+
| PickFromUnion<
|
|
1856
|
+
NativeBehaviorEvent_2,
|
|
1857
|
+
'type',
|
|
1858
|
+
'drag.drop' | 'clipboard.paste'
|
|
1859
|
+
>
|
|
1860
|
+
| InputBehaviorEvent
|
|
1814
1861
|
})
|
|
1815
1862
|
| {
|
|
1816
1863
|
type: 'serialization.success'
|
|
@@ -1834,11 +1881,13 @@ export declare function createLinkBehaviors(
|
|
|
1834
1881
|
}
|
|
1835
1882
|
| {
|
|
1836
1883
|
type: 'deserialize'
|
|
1837
|
-
originEvent:
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1884
|
+
originEvent:
|
|
1885
|
+
| PickFromUnion<
|
|
1886
|
+
NativeBehaviorEvent_2,
|
|
1887
|
+
'type',
|
|
1888
|
+
'drag.drop' | 'clipboard.paste'
|
|
1889
|
+
>
|
|
1890
|
+
| InputBehaviorEvent
|
|
1842
1891
|
}
|
|
1843
1892
|
| {
|
|
1844
1893
|
type: 'serialize'
|
|
@@ -1869,21 +1918,6 @@ export declare function createLinkBehaviors(
|
|
|
1869
1918
|
}
|
|
1870
1919
|
position: EventPosition
|
|
1871
1920
|
}
|
|
1872
|
-
| {
|
|
1873
|
-
type: 'keyboard.keydown'
|
|
1874
|
-
originEvent: Pick<
|
|
1875
|
-
KeyboardEvent,
|
|
1876
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1877
|
-
>
|
|
1878
|
-
}
|
|
1879
|
-
| {
|
|
1880
|
-
type: 'keyboard.keyup'
|
|
1881
|
-
originEvent: Pick<
|
|
1882
|
-
KeyboardEvent,
|
|
1883
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1884
|
-
>
|
|
1885
|
-
}
|
|
1886
|
-
| MouseBehaviorEvent
|
|
1887
1921
|
| {
|
|
1888
1922
|
type: 'drag.dragstart'
|
|
1889
1923
|
originEvent: {
|
|
@@ -1930,6 +1964,22 @@ export declare function createLinkBehaviors(
|
|
|
1930
1964
|
dataTransfer: DataTransfer
|
|
1931
1965
|
}
|
|
1932
1966
|
}
|
|
1967
|
+
| InputBehaviorEvent
|
|
1968
|
+
| {
|
|
1969
|
+
type: 'keyboard.keydown'
|
|
1970
|
+
originEvent: Pick<
|
|
1971
|
+
KeyboardEvent,
|
|
1972
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1973
|
+
>
|
|
1974
|
+
}
|
|
1975
|
+
| {
|
|
1976
|
+
type: 'keyboard.keyup'
|
|
1977
|
+
originEvent: Pick<
|
|
1978
|
+
KeyboardEvent,
|
|
1979
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
1980
|
+
>
|
|
1981
|
+
}
|
|
1982
|
+
| MouseBehaviorEvent
|
|
1933
1983
|
| CustomBehaviorEvent_2<Record<string, unknown>, string, `custom.${string}`>
|
|
1934
1984
|
| {
|
|
1935
1985
|
type: '*'
|
|
@@ -1940,6 +1990,9 @@ export declare function createLinkBehaviors(
|
|
|
1940
1990
|
| {
|
|
1941
1991
|
type: 'drag.*'
|
|
1942
1992
|
}
|
|
1993
|
+
| {
|
|
1994
|
+
type: 'input.*'
|
|
1995
|
+
}
|
|
1943
1996
|
| {
|
|
1944
1997
|
type: 'keyboard.*'
|
|
1945
1998
|
}
|
|
@@ -2047,15 +2100,16 @@ export declare function createMarkdownBehaviors(
|
|
|
2047
2100
|
| 'style.remove'
|
|
2048
2101
|
| 'style.toggle'
|
|
2049
2102
|
| 'clipboard.paste'
|
|
2050
|
-
| 'keyboard.keydown'
|
|
2051
|
-
| 'keyboard.keyup'
|
|
2052
|
-
| 'mouse.click'
|
|
2053
2103
|
| 'drag.drag'
|
|
2054
2104
|
| 'drag.dragend'
|
|
2055
2105
|
| 'drag.dragenter'
|
|
2056
2106
|
| 'drag.dragover'
|
|
2057
2107
|
| 'drag.drop'
|
|
2058
2108
|
| 'drag.dragleave'
|
|
2109
|
+
| 'input.*'
|
|
2110
|
+
| 'keyboard.keydown'
|
|
2111
|
+
| 'keyboard.keyup'
|
|
2112
|
+
| 'mouse.click'
|
|
2059
2113
|
| 'clipboard.*'
|
|
2060
2114
|
| 'drag.*'
|
|
2061
2115
|
| 'keyboard.*'
|
|
@@ -2263,22 +2317,26 @@ export declare function createMarkdownBehaviors(
|
|
|
2263
2317
|
mimeType: `${string}/${string}`
|
|
2264
2318
|
reason: string
|
|
2265
2319
|
} & {
|
|
2266
|
-
originEvent:
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2320
|
+
originEvent:
|
|
2321
|
+
| PickFromUnion<
|
|
2322
|
+
NativeBehaviorEvent_2,
|
|
2323
|
+
'type',
|
|
2324
|
+
'drag.drop' | 'clipboard.paste'
|
|
2325
|
+
>
|
|
2326
|
+
| InputBehaviorEvent
|
|
2271
2327
|
})
|
|
2272
2328
|
| ({
|
|
2273
2329
|
type: 'deserialization.success'
|
|
2274
2330
|
data: Array<PortableTextBlock>
|
|
2275
2331
|
mimeType: `${string}/${string}`
|
|
2276
2332
|
} & {
|
|
2277
|
-
originEvent:
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2333
|
+
originEvent:
|
|
2334
|
+
| PickFromUnion<
|
|
2335
|
+
NativeBehaviorEvent_2,
|
|
2336
|
+
'type',
|
|
2337
|
+
'drag.drop' | 'clipboard.paste'
|
|
2338
|
+
>
|
|
2339
|
+
| InputBehaviorEvent
|
|
2282
2340
|
})
|
|
2283
2341
|
| {
|
|
2284
2342
|
type: 'serialization.success'
|
|
@@ -2302,11 +2360,13 @@ export declare function createMarkdownBehaviors(
|
|
|
2302
2360
|
}
|
|
2303
2361
|
| {
|
|
2304
2362
|
type: 'deserialize'
|
|
2305
|
-
originEvent:
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2363
|
+
originEvent:
|
|
2364
|
+
| PickFromUnion<
|
|
2365
|
+
NativeBehaviorEvent_2,
|
|
2366
|
+
'type',
|
|
2367
|
+
'drag.drop' | 'clipboard.paste'
|
|
2368
|
+
>
|
|
2369
|
+
| InputBehaviorEvent
|
|
2310
2370
|
}
|
|
2311
2371
|
| {
|
|
2312
2372
|
type: 'serialize'
|
|
@@ -2337,21 +2397,6 @@ export declare function createMarkdownBehaviors(
|
|
|
2337
2397
|
}
|
|
2338
2398
|
position: EventPosition
|
|
2339
2399
|
}
|
|
2340
|
-
| {
|
|
2341
|
-
type: 'keyboard.keydown'
|
|
2342
|
-
originEvent: Pick<
|
|
2343
|
-
KeyboardEvent,
|
|
2344
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
2345
|
-
>
|
|
2346
|
-
}
|
|
2347
|
-
| {
|
|
2348
|
-
type: 'keyboard.keyup'
|
|
2349
|
-
originEvent: Pick<
|
|
2350
|
-
KeyboardEvent,
|
|
2351
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
2352
|
-
>
|
|
2353
|
-
}
|
|
2354
|
-
| MouseBehaviorEvent
|
|
2355
2400
|
| {
|
|
2356
2401
|
type: 'drag.dragstart'
|
|
2357
2402
|
originEvent: {
|
|
@@ -2398,6 +2443,22 @@ export declare function createMarkdownBehaviors(
|
|
|
2398
2443
|
dataTransfer: DataTransfer
|
|
2399
2444
|
}
|
|
2400
2445
|
}
|
|
2446
|
+
| InputBehaviorEvent
|
|
2447
|
+
| {
|
|
2448
|
+
type: 'keyboard.keydown'
|
|
2449
|
+
originEvent: Pick<
|
|
2450
|
+
KeyboardEvent,
|
|
2451
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
2452
|
+
>
|
|
2453
|
+
}
|
|
2454
|
+
| {
|
|
2455
|
+
type: 'keyboard.keyup'
|
|
2456
|
+
originEvent: Pick<
|
|
2457
|
+
KeyboardEvent,
|
|
2458
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
2459
|
+
>
|
|
2460
|
+
}
|
|
2461
|
+
| MouseBehaviorEvent
|
|
2401
2462
|
| CustomBehaviorEvent_2<Record<string, unknown>, string, `custom.${string}`>
|
|
2402
2463
|
| {
|
|
2403
2464
|
type: '*'
|
|
@@ -2408,6 +2469,9 @@ export declare function createMarkdownBehaviors(
|
|
|
2408
2469
|
| {
|
|
2409
2470
|
type: 'drag.*'
|
|
2410
2471
|
}
|
|
2472
|
+
| {
|
|
2473
|
+
type: 'input.*'
|
|
2474
|
+
}
|
|
2411
2475
|
| {
|
|
2412
2476
|
type: 'keyboard.*'
|
|
2413
2477
|
}
|
|
@@ -2430,11 +2494,13 @@ export declare type CustomBehaviorEvent<
|
|
|
2430
2494
|
declare type DataBehaviorEvent =
|
|
2431
2495
|
| {
|
|
2432
2496
|
type: 'deserialize'
|
|
2433
|
-
originEvent:
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2497
|
+
originEvent:
|
|
2498
|
+
| PickFromUnion_2<
|
|
2499
|
+
NativeBehaviorEvent,
|
|
2500
|
+
'type',
|
|
2501
|
+
'drag.drop' | 'clipboard.paste'
|
|
2502
|
+
>
|
|
2503
|
+
| InputBehaviorEvent_2
|
|
2438
2504
|
}
|
|
2439
2505
|
| {
|
|
2440
2506
|
type: 'serialize'
|
|
@@ -2480,11 +2546,13 @@ export declare function defineBehavior<
|
|
|
2480
2546
|
? ClipboardBehaviorEvent
|
|
2481
2547
|
: TBehaviorEventType extends `drag.*`
|
|
2482
2548
|
? DragBehaviorEvent
|
|
2483
|
-
: TBehaviorEventType extends '
|
|
2484
|
-
?
|
|
2485
|
-
: TBehaviorEventType extends '
|
|
2486
|
-
?
|
|
2487
|
-
:
|
|
2549
|
+
: TBehaviorEventType extends 'input.*'
|
|
2550
|
+
? InputBehaviorEvent_2
|
|
2551
|
+
: TBehaviorEventType extends 'keyboard.*'
|
|
2552
|
+
? KeyboardBehaviorEvent
|
|
2553
|
+
: TBehaviorEventType extends 'mouse.*'
|
|
2554
|
+
? MouseBehaviorEvent_2
|
|
2555
|
+
: PickFromUnion_2<BehaviorEvent, 'type', TBehaviorEventType>
|
|
2488
2556
|
>,
|
|
2489
2557
|
): Behavior
|
|
2490
2558
|
|
|
@@ -2876,22 +2944,26 @@ declare const editorMachine: StateMachine<
|
|
|
2876
2944
|
mimeType: `${string}/${string}`
|
|
2877
2945
|
reason: string
|
|
2878
2946
|
} & {
|
|
2879
|
-
originEvent:
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2947
|
+
originEvent:
|
|
2948
|
+
| PickFromUnion<
|
|
2949
|
+
NativeBehaviorEvent,
|
|
2950
|
+
'type',
|
|
2951
|
+
'drag.drop' | 'clipboard.paste'
|
|
2952
|
+
>
|
|
2953
|
+
| InputBehaviorEvent_3
|
|
2884
2954
|
})
|
|
2885
2955
|
| ({
|
|
2886
2956
|
type: 'deserialization.success'
|
|
2887
2957
|
data: Array<PortableTextBlock>
|
|
2888
2958
|
mimeType: `${string}/${string}`
|
|
2889
2959
|
} & {
|
|
2890
|
-
originEvent:
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2960
|
+
originEvent:
|
|
2961
|
+
| PickFromUnion<
|
|
2962
|
+
NativeBehaviorEvent,
|
|
2963
|
+
'type',
|
|
2964
|
+
'drag.drop' | 'clipboard.paste'
|
|
2965
|
+
>
|
|
2966
|
+
| InputBehaviorEvent_3
|
|
2895
2967
|
})
|
|
2896
2968
|
| {
|
|
2897
2969
|
type: 'serialization.success'
|
|
@@ -3331,22 +3403,26 @@ declare const editorMachine: StateMachine<
|
|
|
3331
3403
|
mimeType: `${string}/${string}`
|
|
3332
3404
|
reason: string
|
|
3333
3405
|
} & {
|
|
3334
|
-
originEvent:
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3406
|
+
originEvent:
|
|
3407
|
+
| PickFromUnion<
|
|
3408
|
+
NativeBehaviorEvent,
|
|
3409
|
+
'type',
|
|
3410
|
+
'drag.drop' | 'clipboard.paste'
|
|
3411
|
+
>
|
|
3412
|
+
| InputBehaviorEvent_3
|
|
3339
3413
|
})
|
|
3340
3414
|
| ({
|
|
3341
3415
|
type: 'deserialization.success'
|
|
3342
3416
|
data: Array<PortableTextBlock>
|
|
3343
3417
|
mimeType: `${string}/${string}`
|
|
3344
3418
|
} & {
|
|
3345
|
-
originEvent:
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3419
|
+
originEvent:
|
|
3420
|
+
| PickFromUnion<
|
|
3421
|
+
NativeBehaviorEvent,
|
|
3422
|
+
'type',
|
|
3423
|
+
'drag.drop' | 'clipboard.paste'
|
|
3424
|
+
>
|
|
3425
|
+
| InputBehaviorEvent_3
|
|
3350
3426
|
})
|
|
3351
3427
|
| {
|
|
3352
3428
|
type: 'serialization.success'
|
|
@@ -3675,22 +3751,26 @@ declare const editorMachine: StateMachine<
|
|
|
3675
3751
|
mimeType: `${string}/${string}`
|
|
3676
3752
|
reason: string
|
|
3677
3753
|
} & {
|
|
3678
|
-
originEvent:
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3754
|
+
originEvent:
|
|
3755
|
+
| PickFromUnion<
|
|
3756
|
+
NativeBehaviorEvent,
|
|
3757
|
+
'type',
|
|
3758
|
+
'drag.drop' | 'clipboard.paste'
|
|
3759
|
+
>
|
|
3760
|
+
| InputBehaviorEvent_3
|
|
3683
3761
|
})
|
|
3684
3762
|
| ({
|
|
3685
3763
|
type: 'deserialization.success'
|
|
3686
3764
|
data: Array<PortableTextBlock>
|
|
3687
3765
|
mimeType: `${string}/${string}`
|
|
3688
3766
|
} & {
|
|
3689
|
-
originEvent:
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3767
|
+
originEvent:
|
|
3768
|
+
| PickFromUnion<
|
|
3769
|
+
NativeBehaviorEvent,
|
|
3770
|
+
'type',
|
|
3771
|
+
'drag.drop' | 'clipboard.paste'
|
|
3772
|
+
>
|
|
3773
|
+
| InputBehaviorEvent_3
|
|
3694
3774
|
})
|
|
3695
3775
|
| {
|
|
3696
3776
|
type: 'serialization.success'
|
|
@@ -4053,22 +4133,26 @@ declare const editorMachine: StateMachine<
|
|
|
4053
4133
|
mimeType: `${string}/${string}`
|
|
4054
4134
|
reason: string
|
|
4055
4135
|
} & {
|
|
4056
|
-
originEvent:
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4136
|
+
originEvent:
|
|
4137
|
+
| PickFromUnion<
|
|
4138
|
+
NativeBehaviorEvent,
|
|
4139
|
+
'type',
|
|
4140
|
+
'drag.drop' | 'clipboard.paste'
|
|
4141
|
+
>
|
|
4142
|
+
| InputBehaviorEvent_3
|
|
4061
4143
|
})
|
|
4062
4144
|
| ({
|
|
4063
4145
|
type: 'deserialization.success'
|
|
4064
4146
|
data: Array<PortableTextBlock>
|
|
4065
4147
|
mimeType: `${string}/${string}`
|
|
4066
4148
|
} & {
|
|
4067
|
-
originEvent:
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4149
|
+
originEvent:
|
|
4150
|
+
| PickFromUnion<
|
|
4151
|
+
NativeBehaviorEvent,
|
|
4152
|
+
'type',
|
|
4153
|
+
'drag.drop' | 'clipboard.paste'
|
|
4154
|
+
>
|
|
4155
|
+
| InputBehaviorEvent_3
|
|
4072
4156
|
})
|
|
4073
4157
|
| {
|
|
4074
4158
|
type: 'serialization.success'
|
|
@@ -4459,22 +4543,26 @@ declare const editorMachine: StateMachine<
|
|
|
4459
4543
|
mimeType: `${string}/${string}`
|
|
4460
4544
|
reason: string
|
|
4461
4545
|
} & {
|
|
4462
|
-
originEvent:
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4546
|
+
originEvent:
|
|
4547
|
+
| PickFromUnion<
|
|
4548
|
+
NativeBehaviorEvent,
|
|
4549
|
+
'type',
|
|
4550
|
+
'drag.drop' | 'clipboard.paste'
|
|
4551
|
+
>
|
|
4552
|
+
| InputBehaviorEvent_3
|
|
4467
4553
|
})
|
|
4468
4554
|
| ({
|
|
4469
4555
|
type: 'deserialization.success'
|
|
4470
4556
|
data: Array<PortableTextBlock>
|
|
4471
4557
|
mimeType: `${string}/${string}`
|
|
4472
4558
|
} & {
|
|
4473
|
-
originEvent:
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4559
|
+
originEvent:
|
|
4560
|
+
| PickFromUnion<
|
|
4561
|
+
NativeBehaviorEvent,
|
|
4562
|
+
'type',
|
|
4563
|
+
'drag.drop' | 'clipboard.paste'
|
|
4564
|
+
>
|
|
4565
|
+
| InputBehaviorEvent_3
|
|
4478
4566
|
})
|
|
4479
4567
|
| {
|
|
4480
4568
|
type: 'serialization.success'
|
|
@@ -4835,22 +4923,26 @@ declare const editorMachine: StateMachine<
|
|
|
4835
4923
|
mimeType: `${string}/${string}`
|
|
4836
4924
|
reason: string
|
|
4837
4925
|
} & {
|
|
4838
|
-
originEvent:
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4926
|
+
originEvent:
|
|
4927
|
+
| PickFromUnion<
|
|
4928
|
+
NativeBehaviorEvent,
|
|
4929
|
+
'type',
|
|
4930
|
+
'drag.drop' | 'clipboard.paste'
|
|
4931
|
+
>
|
|
4932
|
+
| InputBehaviorEvent_3
|
|
4843
4933
|
})
|
|
4844
4934
|
| ({
|
|
4845
4935
|
type: 'deserialization.success'
|
|
4846
4936
|
data: Array<PortableTextBlock>
|
|
4847
4937
|
mimeType: `${string}/${string}`
|
|
4848
4938
|
} & {
|
|
4849
|
-
originEvent:
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4939
|
+
originEvent:
|
|
4940
|
+
| PickFromUnion<
|
|
4941
|
+
NativeBehaviorEvent,
|
|
4942
|
+
'type',
|
|
4943
|
+
'drag.drop' | 'clipboard.paste'
|
|
4944
|
+
>
|
|
4945
|
+
| InputBehaviorEvent_3
|
|
4854
4946
|
})
|
|
4855
4947
|
| {
|
|
4856
4948
|
type: 'serialization.success'
|
|
@@ -5147,22 +5239,26 @@ declare const editorMachine: StateMachine<
|
|
|
5147
5239
|
mimeType: `${string}/${string}`
|
|
5148
5240
|
reason: string
|
|
5149
5241
|
} & {
|
|
5150
|
-
originEvent:
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5242
|
+
originEvent:
|
|
5243
|
+
| PickFromUnion<
|
|
5244
|
+
NativeBehaviorEvent,
|
|
5245
|
+
'type',
|
|
5246
|
+
'drag.drop' | 'clipboard.paste'
|
|
5247
|
+
>
|
|
5248
|
+
| InputBehaviorEvent_3
|
|
5155
5249
|
})
|
|
5156
5250
|
| ({
|
|
5157
5251
|
type: 'deserialization.success'
|
|
5158
5252
|
data: Array<PortableTextBlock>
|
|
5159
5253
|
mimeType: `${string}/${string}`
|
|
5160
5254
|
} & {
|
|
5161
|
-
originEvent:
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5255
|
+
originEvent:
|
|
5256
|
+
| PickFromUnion<
|
|
5257
|
+
NativeBehaviorEvent,
|
|
5258
|
+
'type',
|
|
5259
|
+
'drag.drop' | 'clipboard.paste'
|
|
5260
|
+
>
|
|
5261
|
+
| InputBehaviorEvent_3
|
|
5166
5262
|
})
|
|
5167
5263
|
| {
|
|
5168
5264
|
type: 'serialization.success'
|
|
@@ -5523,22 +5619,26 @@ declare const editorMachine: StateMachine<
|
|
|
5523
5619
|
mimeType: `${string}/${string}`
|
|
5524
5620
|
reason: string
|
|
5525
5621
|
} & {
|
|
5526
|
-
originEvent:
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5622
|
+
originEvent:
|
|
5623
|
+
| PickFromUnion<
|
|
5624
|
+
NativeBehaviorEvent,
|
|
5625
|
+
'type',
|
|
5626
|
+
'drag.drop' | 'clipboard.paste'
|
|
5627
|
+
>
|
|
5628
|
+
| InputBehaviorEvent_3
|
|
5531
5629
|
})
|
|
5532
5630
|
| ({
|
|
5533
5631
|
type: 'deserialization.success'
|
|
5534
5632
|
data: Array<PortableTextBlock>
|
|
5535
5633
|
mimeType: `${string}/${string}`
|
|
5536
5634
|
} & {
|
|
5537
|
-
originEvent:
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5635
|
+
originEvent:
|
|
5636
|
+
| PickFromUnion<
|
|
5637
|
+
NativeBehaviorEvent,
|
|
5638
|
+
'type',
|
|
5639
|
+
'drag.drop' | 'clipboard.paste'
|
|
5640
|
+
>
|
|
5641
|
+
| InputBehaviorEvent_3
|
|
5542
5642
|
})
|
|
5543
5643
|
| {
|
|
5544
5644
|
type: 'serialization.success'
|
|
@@ -5838,22 +5938,26 @@ declare const editorMachine: StateMachine<
|
|
|
5838
5938
|
mimeType: `${string}/${string}`
|
|
5839
5939
|
reason: string
|
|
5840
5940
|
} & {
|
|
5841
|
-
originEvent:
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5941
|
+
originEvent:
|
|
5942
|
+
| PickFromUnion<
|
|
5943
|
+
NativeBehaviorEvent,
|
|
5944
|
+
'type',
|
|
5945
|
+
'drag.drop' | 'clipboard.paste'
|
|
5946
|
+
>
|
|
5947
|
+
| InputBehaviorEvent_3
|
|
5846
5948
|
})
|
|
5847
5949
|
| ({
|
|
5848
5950
|
type: 'deserialization.success'
|
|
5849
5951
|
data: Array<PortableTextBlock>
|
|
5850
5952
|
mimeType: `${string}/${string}`
|
|
5851
5953
|
} & {
|
|
5852
|
-
originEvent:
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5954
|
+
originEvent:
|
|
5955
|
+
| PickFromUnion<
|
|
5956
|
+
NativeBehaviorEvent,
|
|
5957
|
+
'type',
|
|
5958
|
+
'drag.drop' | 'clipboard.paste'
|
|
5959
|
+
>
|
|
5960
|
+
| InputBehaviorEvent_3
|
|
5857
5961
|
})
|
|
5858
5962
|
| {
|
|
5859
5963
|
type: 'serialization.success'
|
|
@@ -6214,22 +6318,26 @@ declare const editorMachine: StateMachine<
|
|
|
6214
6318
|
mimeType: `${string}/${string}`
|
|
6215
6319
|
reason: string
|
|
6216
6320
|
} & {
|
|
6217
|
-
originEvent:
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6321
|
+
originEvent:
|
|
6322
|
+
| PickFromUnion<
|
|
6323
|
+
NativeBehaviorEvent,
|
|
6324
|
+
'type',
|
|
6325
|
+
'drag.drop' | 'clipboard.paste'
|
|
6326
|
+
>
|
|
6327
|
+
| InputBehaviorEvent_3
|
|
6222
6328
|
})
|
|
6223
6329
|
| ({
|
|
6224
6330
|
type: 'deserialization.success'
|
|
6225
6331
|
data: Array<PortableTextBlock>
|
|
6226
6332
|
mimeType: `${string}/${string}`
|
|
6227
6333
|
} & {
|
|
6228
|
-
originEvent:
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6334
|
+
originEvent:
|
|
6335
|
+
| PickFromUnion<
|
|
6336
|
+
NativeBehaviorEvent,
|
|
6337
|
+
'type',
|
|
6338
|
+
'drag.drop' | 'clipboard.paste'
|
|
6339
|
+
>
|
|
6340
|
+
| InputBehaviorEvent_3
|
|
6233
6341
|
})
|
|
6234
6342
|
| {
|
|
6235
6343
|
type: 'serialization.success'
|
|
@@ -6528,22 +6636,26 @@ declare const editorMachine: StateMachine<
|
|
|
6528
6636
|
mimeType: `${string}/${string}`
|
|
6529
6637
|
reason: string
|
|
6530
6638
|
} & {
|
|
6531
|
-
originEvent:
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
|
|
6639
|
+
originEvent:
|
|
6640
|
+
| PickFromUnion<
|
|
6641
|
+
NativeBehaviorEvent,
|
|
6642
|
+
'type',
|
|
6643
|
+
'drag.drop' | 'clipboard.paste'
|
|
6644
|
+
>
|
|
6645
|
+
| InputBehaviorEvent_3
|
|
6536
6646
|
})
|
|
6537
6647
|
| ({
|
|
6538
6648
|
type: 'deserialization.success'
|
|
6539
6649
|
data: Array<PortableTextBlock>
|
|
6540
6650
|
mimeType: `${string}/${string}`
|
|
6541
6651
|
} & {
|
|
6542
|
-
originEvent:
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6652
|
+
originEvent:
|
|
6653
|
+
| PickFromUnion<
|
|
6654
|
+
NativeBehaviorEvent,
|
|
6655
|
+
'type',
|
|
6656
|
+
'drag.drop' | 'clipboard.paste'
|
|
6657
|
+
>
|
|
6658
|
+
| InputBehaviorEvent_3
|
|
6547
6659
|
})
|
|
6548
6660
|
| {
|
|
6549
6661
|
type: 'serialization.success'
|
|
@@ -6902,24 +7014,28 @@ declare const editorMachine: StateMachine<
|
|
|
6902
7014
|
| ({
|
|
6903
7015
|
type: 'deserialization.failure'
|
|
6904
7016
|
mimeType: `${string}/${string}`
|
|
6905
|
-
reason: string
|
|
6906
|
-
} & {
|
|
6907
|
-
originEvent:
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
7017
|
+
reason: string
|
|
7018
|
+
} & {
|
|
7019
|
+
originEvent:
|
|
7020
|
+
| PickFromUnion<
|
|
7021
|
+
NativeBehaviorEvent,
|
|
7022
|
+
'type',
|
|
7023
|
+
'drag.drop' | 'clipboard.paste'
|
|
7024
|
+
>
|
|
7025
|
+
| InputBehaviorEvent_3
|
|
6912
7026
|
})
|
|
6913
7027
|
| ({
|
|
6914
7028
|
type: 'deserialization.success'
|
|
6915
7029
|
data: Array<PortableTextBlock>
|
|
6916
7030
|
mimeType: `${string}/${string}`
|
|
6917
7031
|
} & {
|
|
6918
|
-
originEvent:
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
7032
|
+
originEvent:
|
|
7033
|
+
| PickFromUnion<
|
|
7034
|
+
NativeBehaviorEvent,
|
|
7035
|
+
'type',
|
|
7036
|
+
'drag.drop' | 'clipboard.paste'
|
|
7037
|
+
>
|
|
7038
|
+
| InputBehaviorEvent_3
|
|
6923
7039
|
})
|
|
6924
7040
|
| {
|
|
6925
7041
|
type: 'serialization.success'
|
|
@@ -7217,22 +7333,26 @@ declare const editorMachine: StateMachine<
|
|
|
7217
7333
|
mimeType: `${string}/${string}`
|
|
7218
7334
|
reason: string
|
|
7219
7335
|
} & {
|
|
7220
|
-
originEvent:
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7336
|
+
originEvent:
|
|
7337
|
+
| PickFromUnion<
|
|
7338
|
+
NativeBehaviorEvent,
|
|
7339
|
+
'type',
|
|
7340
|
+
'drag.drop' | 'clipboard.paste'
|
|
7341
|
+
>
|
|
7342
|
+
| InputBehaviorEvent_3
|
|
7225
7343
|
})
|
|
7226
7344
|
| ({
|
|
7227
7345
|
type: 'deserialization.success'
|
|
7228
7346
|
data: Array<PortableTextBlock>
|
|
7229
7347
|
mimeType: `${string}/${string}`
|
|
7230
7348
|
} & {
|
|
7231
|
-
originEvent:
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7349
|
+
originEvent:
|
|
7350
|
+
| PickFromUnion<
|
|
7351
|
+
NativeBehaviorEvent,
|
|
7352
|
+
'type',
|
|
7353
|
+
'drag.drop' | 'clipboard.paste'
|
|
7354
|
+
>
|
|
7355
|
+
| InputBehaviorEvent_3
|
|
7236
7356
|
})
|
|
7237
7357
|
| {
|
|
7238
7358
|
type: 'serialization.success'
|
|
@@ -7593,22 +7713,26 @@ declare const editorMachine: StateMachine<
|
|
|
7593
7713
|
mimeType: `${string}/${string}`
|
|
7594
7714
|
reason: string
|
|
7595
7715
|
} & {
|
|
7596
|
-
originEvent:
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7716
|
+
originEvent:
|
|
7717
|
+
| PickFromUnion<
|
|
7718
|
+
NativeBehaviorEvent,
|
|
7719
|
+
'type',
|
|
7720
|
+
'drag.drop' | 'clipboard.paste'
|
|
7721
|
+
>
|
|
7722
|
+
| InputBehaviorEvent_3
|
|
7601
7723
|
})
|
|
7602
7724
|
| ({
|
|
7603
7725
|
type: 'deserialization.success'
|
|
7604
7726
|
data: Array<PortableTextBlock>
|
|
7605
7727
|
mimeType: `${string}/${string}`
|
|
7606
7728
|
} & {
|
|
7607
|
-
originEvent:
|
|
7608
|
-
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7729
|
+
originEvent:
|
|
7730
|
+
| PickFromUnion<
|
|
7731
|
+
NativeBehaviorEvent,
|
|
7732
|
+
'type',
|
|
7733
|
+
'drag.drop' | 'clipboard.paste'
|
|
7734
|
+
>
|
|
7735
|
+
| InputBehaviorEvent_3
|
|
7612
7736
|
})
|
|
7613
7737
|
| {
|
|
7614
7738
|
type: 'serialization.success'
|
|
@@ -7907,22 +8031,26 @@ declare const editorMachine: StateMachine<
|
|
|
7907
8031
|
mimeType: `${string}/${string}`
|
|
7908
8032
|
reason: string
|
|
7909
8033
|
} & {
|
|
7910
|
-
originEvent:
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
8034
|
+
originEvent:
|
|
8035
|
+
| PickFromUnion<
|
|
8036
|
+
NativeBehaviorEvent,
|
|
8037
|
+
'type',
|
|
8038
|
+
'drag.drop' | 'clipboard.paste'
|
|
8039
|
+
>
|
|
8040
|
+
| InputBehaviorEvent_3
|
|
7915
8041
|
})
|
|
7916
8042
|
| ({
|
|
7917
8043
|
type: 'deserialization.success'
|
|
7918
8044
|
data: Array<PortableTextBlock>
|
|
7919
8045
|
mimeType: `${string}/${string}`
|
|
7920
8046
|
} & {
|
|
7921
|
-
originEvent:
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
8047
|
+
originEvent:
|
|
8048
|
+
| PickFromUnion<
|
|
8049
|
+
NativeBehaviorEvent,
|
|
8050
|
+
'type',
|
|
8051
|
+
'drag.drop' | 'clipboard.paste'
|
|
8052
|
+
>
|
|
8053
|
+
| InputBehaviorEvent_3
|
|
7926
8054
|
})
|
|
7927
8055
|
| {
|
|
7928
8056
|
type: 'serialization.success'
|
|
@@ -8305,22 +8433,26 @@ declare const editorMachine: StateMachine<
|
|
|
8305
8433
|
mimeType: `${string}/${string}`
|
|
8306
8434
|
reason: string
|
|
8307
8435
|
} & {
|
|
8308
|
-
originEvent:
|
|
8309
|
-
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
|
|
8436
|
+
originEvent:
|
|
8437
|
+
| PickFromUnion<
|
|
8438
|
+
NativeBehaviorEvent,
|
|
8439
|
+
'type',
|
|
8440
|
+
'drag.drop' | 'clipboard.paste'
|
|
8441
|
+
>
|
|
8442
|
+
| InputBehaviorEvent_3
|
|
8313
8443
|
})
|
|
8314
8444
|
| ({
|
|
8315
8445
|
type: 'deserialization.success'
|
|
8316
8446
|
data: Array<PortableTextBlock>
|
|
8317
8447
|
mimeType: `${string}/${string}`
|
|
8318
8448
|
} & {
|
|
8319
|
-
originEvent:
|
|
8320
|
-
|
|
8321
|
-
|
|
8322
|
-
|
|
8323
|
-
|
|
8449
|
+
originEvent:
|
|
8450
|
+
| PickFromUnion<
|
|
8451
|
+
NativeBehaviorEvent,
|
|
8452
|
+
'type',
|
|
8453
|
+
'drag.drop' | 'clipboard.paste'
|
|
8454
|
+
>
|
|
8455
|
+
| InputBehaviorEvent_3
|
|
8324
8456
|
})
|
|
8325
8457
|
| {
|
|
8326
8458
|
type: 'serialization.success'
|
|
@@ -8681,22 +8813,26 @@ declare const editorMachine: StateMachine<
|
|
|
8681
8813
|
mimeType: `${string}/${string}`
|
|
8682
8814
|
reason: string
|
|
8683
8815
|
} & {
|
|
8684
|
-
originEvent:
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8816
|
+
originEvent:
|
|
8817
|
+
| PickFromUnion<
|
|
8818
|
+
NativeBehaviorEvent,
|
|
8819
|
+
'type',
|
|
8820
|
+
'drag.drop' | 'clipboard.paste'
|
|
8821
|
+
>
|
|
8822
|
+
| InputBehaviorEvent_3
|
|
8689
8823
|
})
|
|
8690
8824
|
| ({
|
|
8691
8825
|
type: 'deserialization.success'
|
|
8692
8826
|
data: Array<PortableTextBlock>
|
|
8693
8827
|
mimeType: `${string}/${string}`
|
|
8694
8828
|
} & {
|
|
8695
|
-
originEvent:
|
|
8696
|
-
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
|
|
8829
|
+
originEvent:
|
|
8830
|
+
| PickFromUnion<
|
|
8831
|
+
NativeBehaviorEvent,
|
|
8832
|
+
'type',
|
|
8833
|
+
'drag.drop' | 'clipboard.paste'
|
|
8834
|
+
>
|
|
8835
|
+
| InputBehaviorEvent_3
|
|
8700
8836
|
})
|
|
8701
8837
|
| {
|
|
8702
8838
|
type: 'serialization.success'
|
|
@@ -8995,22 +9131,26 @@ declare const editorMachine: StateMachine<
|
|
|
8995
9131
|
mimeType: `${string}/${string}`
|
|
8996
9132
|
reason: string
|
|
8997
9133
|
} & {
|
|
8998
|
-
originEvent:
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9134
|
+
originEvent:
|
|
9135
|
+
| PickFromUnion<
|
|
9136
|
+
NativeBehaviorEvent,
|
|
9137
|
+
'type',
|
|
9138
|
+
'drag.drop' | 'clipboard.paste'
|
|
9139
|
+
>
|
|
9140
|
+
| InputBehaviorEvent_3
|
|
9003
9141
|
})
|
|
9004
9142
|
| ({
|
|
9005
9143
|
type: 'deserialization.success'
|
|
9006
9144
|
data: Array<PortableTextBlock>
|
|
9007
9145
|
mimeType: `${string}/${string}`
|
|
9008
9146
|
} & {
|
|
9009
|
-
originEvent:
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9147
|
+
originEvent:
|
|
9148
|
+
| PickFromUnion<
|
|
9149
|
+
NativeBehaviorEvent,
|
|
9150
|
+
'type',
|
|
9151
|
+
'drag.drop' | 'clipboard.paste'
|
|
9152
|
+
>
|
|
9153
|
+
| InputBehaviorEvent_3
|
|
9014
9154
|
})
|
|
9015
9155
|
| {
|
|
9016
9156
|
type: 'serialization.success'
|
|
@@ -9371,22 +9511,26 @@ declare const editorMachine: StateMachine<
|
|
|
9371
9511
|
mimeType: `${string}/${string}`
|
|
9372
9512
|
reason: string
|
|
9373
9513
|
} & {
|
|
9374
|
-
originEvent:
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
9514
|
+
originEvent:
|
|
9515
|
+
| PickFromUnion<
|
|
9516
|
+
NativeBehaviorEvent,
|
|
9517
|
+
'type',
|
|
9518
|
+
'drag.drop' | 'clipboard.paste'
|
|
9519
|
+
>
|
|
9520
|
+
| InputBehaviorEvent_3
|
|
9379
9521
|
})
|
|
9380
9522
|
| ({
|
|
9381
9523
|
type: 'deserialization.success'
|
|
9382
9524
|
data: Array<PortableTextBlock>
|
|
9383
9525
|
mimeType: `${string}/${string}`
|
|
9384
9526
|
} & {
|
|
9385
|
-
originEvent:
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9389
|
-
|
|
9527
|
+
originEvent:
|
|
9528
|
+
| PickFromUnion<
|
|
9529
|
+
NativeBehaviorEvent,
|
|
9530
|
+
'type',
|
|
9531
|
+
'drag.drop' | 'clipboard.paste'
|
|
9532
|
+
>
|
|
9533
|
+
| InputBehaviorEvent_3
|
|
9390
9534
|
})
|
|
9391
9535
|
| {
|
|
9392
9536
|
type: 'serialization.success'
|
|
@@ -9683,22 +9827,26 @@ declare const editorMachine: StateMachine<
|
|
|
9683
9827
|
mimeType: `${string}/${string}`
|
|
9684
9828
|
reason: string
|
|
9685
9829
|
} & {
|
|
9686
|
-
originEvent:
|
|
9687
|
-
|
|
9688
|
-
|
|
9689
|
-
|
|
9690
|
-
|
|
9830
|
+
originEvent:
|
|
9831
|
+
| PickFromUnion<
|
|
9832
|
+
NativeBehaviorEvent,
|
|
9833
|
+
'type',
|
|
9834
|
+
'drag.drop' | 'clipboard.paste'
|
|
9835
|
+
>
|
|
9836
|
+
| InputBehaviorEvent_3
|
|
9691
9837
|
})
|
|
9692
9838
|
| ({
|
|
9693
9839
|
type: 'deserialization.success'
|
|
9694
9840
|
data: Array<PortableTextBlock>
|
|
9695
9841
|
mimeType: `${string}/${string}`
|
|
9696
9842
|
} & {
|
|
9697
|
-
originEvent:
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
|
|
9843
|
+
originEvent:
|
|
9844
|
+
| PickFromUnion<
|
|
9845
|
+
NativeBehaviorEvent,
|
|
9846
|
+
'type',
|
|
9847
|
+
'drag.drop' | 'clipboard.paste'
|
|
9848
|
+
>
|
|
9849
|
+
| InputBehaviorEvent_3
|
|
9702
9850
|
})
|
|
9703
9851
|
| {
|
|
9704
9852
|
type: 'serialization.success'
|
|
@@ -10059,22 +10207,26 @@ declare const editorMachine: StateMachine<
|
|
|
10059
10207
|
mimeType: `${string}/${string}`
|
|
10060
10208
|
reason: string
|
|
10061
10209
|
} & {
|
|
10062
|
-
originEvent:
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10210
|
+
originEvent:
|
|
10211
|
+
| PickFromUnion<
|
|
10212
|
+
NativeBehaviorEvent,
|
|
10213
|
+
'type',
|
|
10214
|
+
'drag.drop' | 'clipboard.paste'
|
|
10215
|
+
>
|
|
10216
|
+
| InputBehaviorEvent_3
|
|
10067
10217
|
})
|
|
10068
10218
|
| ({
|
|
10069
10219
|
type: 'deserialization.success'
|
|
10070
10220
|
data: Array<PortableTextBlock>
|
|
10071
10221
|
mimeType: `${string}/${string}`
|
|
10072
10222
|
} & {
|
|
10073
|
-
originEvent:
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
|
-
|
|
10223
|
+
originEvent:
|
|
10224
|
+
| PickFromUnion<
|
|
10225
|
+
NativeBehaviorEvent,
|
|
10226
|
+
'type',
|
|
10227
|
+
'drag.drop' | 'clipboard.paste'
|
|
10228
|
+
>
|
|
10229
|
+
| InputBehaviorEvent_3
|
|
10078
10230
|
})
|
|
10079
10231
|
| {
|
|
10080
10232
|
type: 'serialization.success'
|
|
@@ -10372,22 +10524,26 @@ declare const editorMachine: StateMachine<
|
|
|
10372
10524
|
mimeType: `${string}/${string}`
|
|
10373
10525
|
reason: string
|
|
10374
10526
|
} & {
|
|
10375
|
-
originEvent:
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10527
|
+
originEvent:
|
|
10528
|
+
| PickFromUnion<
|
|
10529
|
+
NativeBehaviorEvent,
|
|
10530
|
+
'type',
|
|
10531
|
+
'drag.drop' | 'clipboard.paste'
|
|
10532
|
+
>
|
|
10533
|
+
| InputBehaviorEvent_3
|
|
10380
10534
|
})
|
|
10381
10535
|
| ({
|
|
10382
10536
|
type: 'deserialization.success'
|
|
10383
10537
|
data: Array<PortableTextBlock>
|
|
10384
10538
|
mimeType: `${string}/${string}`
|
|
10385
10539
|
} & {
|
|
10386
|
-
originEvent:
|
|
10387
|
-
|
|
10388
|
-
|
|
10389
|
-
|
|
10390
|
-
|
|
10540
|
+
originEvent:
|
|
10541
|
+
| PickFromUnion<
|
|
10542
|
+
NativeBehaviorEvent,
|
|
10543
|
+
'type',
|
|
10544
|
+
'drag.drop' | 'clipboard.paste'
|
|
10545
|
+
>
|
|
10546
|
+
| InputBehaviorEvent_3
|
|
10391
10547
|
})
|
|
10392
10548
|
| {
|
|
10393
10549
|
type: 'serialization.success'
|
|
@@ -10748,22 +10904,26 @@ declare const editorMachine: StateMachine<
|
|
|
10748
10904
|
mimeType: `${string}/${string}`
|
|
10749
10905
|
reason: string
|
|
10750
10906
|
} & {
|
|
10751
|
-
originEvent:
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10907
|
+
originEvent:
|
|
10908
|
+
| PickFromUnion<
|
|
10909
|
+
NativeBehaviorEvent,
|
|
10910
|
+
'type',
|
|
10911
|
+
'drag.drop' | 'clipboard.paste'
|
|
10912
|
+
>
|
|
10913
|
+
| InputBehaviorEvent_3
|
|
10756
10914
|
})
|
|
10757
10915
|
| ({
|
|
10758
10916
|
type: 'deserialization.success'
|
|
10759
10917
|
data: Array<PortableTextBlock>
|
|
10760
10918
|
mimeType: `${string}/${string}`
|
|
10761
10919
|
} & {
|
|
10762
|
-
originEvent:
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10920
|
+
originEvent:
|
|
10921
|
+
| PickFromUnion<
|
|
10922
|
+
NativeBehaviorEvent,
|
|
10923
|
+
'type',
|
|
10924
|
+
'drag.drop' | 'clipboard.paste'
|
|
10925
|
+
>
|
|
10926
|
+
| InputBehaviorEvent_3
|
|
10767
10927
|
})
|
|
10768
10928
|
| {
|
|
10769
10929
|
type: 'serialization.success'
|
|
@@ -11064,22 +11224,26 @@ declare const editorMachine: StateMachine<
|
|
|
11064
11224
|
mimeType: `${string}/${string}`
|
|
11065
11225
|
reason: string
|
|
11066
11226
|
} & {
|
|
11067
|
-
originEvent:
|
|
11068
|
-
|
|
11069
|
-
|
|
11070
|
-
|
|
11071
|
-
|
|
11227
|
+
originEvent:
|
|
11228
|
+
| PickFromUnion<
|
|
11229
|
+
NativeBehaviorEvent,
|
|
11230
|
+
'type',
|
|
11231
|
+
'drag.drop' | 'clipboard.paste'
|
|
11232
|
+
>
|
|
11233
|
+
| InputBehaviorEvent_3
|
|
11072
11234
|
})
|
|
11073
11235
|
| ({
|
|
11074
11236
|
type: 'deserialization.success'
|
|
11075
11237
|
data: Array<PortableTextBlock>
|
|
11076
11238
|
mimeType: `${string}/${string}`
|
|
11077
11239
|
} & {
|
|
11078
|
-
originEvent:
|
|
11079
|
-
|
|
11080
|
-
|
|
11081
|
-
|
|
11082
|
-
|
|
11240
|
+
originEvent:
|
|
11241
|
+
| PickFromUnion<
|
|
11242
|
+
NativeBehaviorEvent,
|
|
11243
|
+
'type',
|
|
11244
|
+
'drag.drop' | 'clipboard.paste'
|
|
11245
|
+
>
|
|
11246
|
+
| InputBehaviorEvent_3
|
|
11083
11247
|
})
|
|
11084
11248
|
| {
|
|
11085
11249
|
type: 'serialization.success'
|
|
@@ -11440,22 +11604,26 @@ declare const editorMachine: StateMachine<
|
|
|
11440
11604
|
mimeType: `${string}/${string}`
|
|
11441
11605
|
reason: string
|
|
11442
11606
|
} & {
|
|
11443
|
-
originEvent:
|
|
11444
|
-
|
|
11445
|
-
|
|
11446
|
-
|
|
11447
|
-
|
|
11607
|
+
originEvent:
|
|
11608
|
+
| PickFromUnion<
|
|
11609
|
+
NativeBehaviorEvent,
|
|
11610
|
+
'type',
|
|
11611
|
+
'drag.drop' | 'clipboard.paste'
|
|
11612
|
+
>
|
|
11613
|
+
| InputBehaviorEvent_3
|
|
11448
11614
|
})
|
|
11449
11615
|
| ({
|
|
11450
11616
|
type: 'deserialization.success'
|
|
11451
11617
|
data: Array<PortableTextBlock>
|
|
11452
11618
|
mimeType: `${string}/${string}`
|
|
11453
11619
|
} & {
|
|
11454
|
-
originEvent:
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11620
|
+
originEvent:
|
|
11621
|
+
| PickFromUnion<
|
|
11622
|
+
NativeBehaviorEvent,
|
|
11623
|
+
'type',
|
|
11624
|
+
'drag.drop' | 'clipboard.paste'
|
|
11625
|
+
>
|
|
11626
|
+
| InputBehaviorEvent_3
|
|
11459
11627
|
})
|
|
11460
11628
|
| {
|
|
11461
11629
|
type: 'serialization.success'
|
|
@@ -11756,22 +11924,26 @@ declare const editorMachine: StateMachine<
|
|
|
11756
11924
|
mimeType: `${string}/${string}`
|
|
11757
11925
|
reason: string
|
|
11758
11926
|
} & {
|
|
11759
|
-
originEvent:
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11763
|
-
|
|
11927
|
+
originEvent:
|
|
11928
|
+
| PickFromUnion<
|
|
11929
|
+
NativeBehaviorEvent,
|
|
11930
|
+
'type',
|
|
11931
|
+
'drag.drop' | 'clipboard.paste'
|
|
11932
|
+
>
|
|
11933
|
+
| InputBehaviorEvent_3
|
|
11764
11934
|
})
|
|
11765
11935
|
| ({
|
|
11766
11936
|
type: 'deserialization.success'
|
|
11767
11937
|
data: Array<PortableTextBlock>
|
|
11768
11938
|
mimeType: `${string}/${string}`
|
|
11769
11939
|
} & {
|
|
11770
|
-
originEvent:
|
|
11771
|
-
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11940
|
+
originEvent:
|
|
11941
|
+
| PickFromUnion<
|
|
11942
|
+
NativeBehaviorEvent,
|
|
11943
|
+
'type',
|
|
11944
|
+
'drag.drop' | 'clipboard.paste'
|
|
11945
|
+
>
|
|
11946
|
+
| InputBehaviorEvent_3
|
|
11775
11947
|
})
|
|
11776
11948
|
| {
|
|
11777
11949
|
type: 'serialization.success'
|
|
@@ -12159,22 +12331,26 @@ declare const editorMachine: StateMachine<
|
|
|
12159
12331
|
mimeType: `${string}/${string}`
|
|
12160
12332
|
reason: string
|
|
12161
12333
|
} & {
|
|
12162
|
-
originEvent:
|
|
12163
|
-
|
|
12164
|
-
|
|
12165
|
-
|
|
12166
|
-
|
|
12334
|
+
originEvent:
|
|
12335
|
+
| PickFromUnion<
|
|
12336
|
+
NativeBehaviorEvent,
|
|
12337
|
+
'type',
|
|
12338
|
+
'drag.drop' | 'clipboard.paste'
|
|
12339
|
+
>
|
|
12340
|
+
| InputBehaviorEvent_3
|
|
12167
12341
|
})
|
|
12168
12342
|
| ({
|
|
12169
12343
|
type: 'deserialization.success'
|
|
12170
12344
|
data: Array<PortableTextBlock>
|
|
12171
12345
|
mimeType: `${string}/${string}`
|
|
12172
12346
|
} & {
|
|
12173
|
-
originEvent:
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12347
|
+
originEvent:
|
|
12348
|
+
| PickFromUnion<
|
|
12349
|
+
NativeBehaviorEvent,
|
|
12350
|
+
'type',
|
|
12351
|
+
'drag.drop' | 'clipboard.paste'
|
|
12352
|
+
>
|
|
12353
|
+
| InputBehaviorEvent_3
|
|
12178
12354
|
})
|
|
12179
12355
|
| {
|
|
12180
12356
|
type: 'serialization.success'
|
|
@@ -12559,22 +12735,26 @@ declare const editorMachine: StateMachine<
|
|
|
12559
12735
|
mimeType: `${string}/${string}`
|
|
12560
12736
|
reason: string
|
|
12561
12737
|
} & {
|
|
12562
|
-
originEvent:
|
|
12563
|
-
|
|
12564
|
-
|
|
12565
|
-
|
|
12566
|
-
|
|
12738
|
+
originEvent:
|
|
12739
|
+
| PickFromUnion<
|
|
12740
|
+
NativeBehaviorEvent,
|
|
12741
|
+
'type',
|
|
12742
|
+
'drag.drop' | 'clipboard.paste'
|
|
12743
|
+
>
|
|
12744
|
+
| InputBehaviorEvent_3
|
|
12567
12745
|
})
|
|
12568
12746
|
| ({
|
|
12569
12747
|
type: 'deserialization.success'
|
|
12570
12748
|
data: Array<PortableTextBlock>
|
|
12571
12749
|
mimeType: `${string}/${string}`
|
|
12572
12750
|
} & {
|
|
12573
|
-
originEvent:
|
|
12574
|
-
|
|
12575
|
-
|
|
12576
|
-
|
|
12577
|
-
|
|
12751
|
+
originEvent:
|
|
12752
|
+
| PickFromUnion<
|
|
12753
|
+
NativeBehaviorEvent,
|
|
12754
|
+
'type',
|
|
12755
|
+
'drag.drop' | 'clipboard.paste'
|
|
12756
|
+
>
|
|
12757
|
+
| InputBehaviorEvent_3
|
|
12578
12758
|
})
|
|
12579
12759
|
| {
|
|
12580
12760
|
type: 'serialization.success'
|
|
@@ -13128,22 +13308,26 @@ declare const editorMachine: StateMachine<
|
|
|
13128
13308
|
mimeType: `${string}/${string}`
|
|
13129
13309
|
reason: string
|
|
13130
13310
|
} & {
|
|
13131
|
-
originEvent:
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
|
|
13135
|
-
|
|
13311
|
+
originEvent:
|
|
13312
|
+
| PickFromUnion<
|
|
13313
|
+
NativeBehaviorEvent,
|
|
13314
|
+
'type',
|
|
13315
|
+
'drag.drop' | 'clipboard.paste'
|
|
13316
|
+
>
|
|
13317
|
+
| InputBehaviorEvent_3
|
|
13136
13318
|
})
|
|
13137
13319
|
| ({
|
|
13138
13320
|
type: 'deserialization.success'
|
|
13139
13321
|
data: Array<PortableTextBlock>
|
|
13140
13322
|
mimeType: `${string}/${string}`
|
|
13141
13323
|
} & {
|
|
13142
|
-
originEvent:
|
|
13143
|
-
|
|
13144
|
-
|
|
13145
|
-
|
|
13146
|
-
|
|
13324
|
+
originEvent:
|
|
13325
|
+
| PickFromUnion<
|
|
13326
|
+
NativeBehaviorEvent,
|
|
13327
|
+
'type',
|
|
13328
|
+
'drag.drop' | 'clipboard.paste'
|
|
13329
|
+
>
|
|
13330
|
+
| InputBehaviorEvent_3
|
|
13147
13331
|
})
|
|
13148
13332
|
| {
|
|
13149
13333
|
type: 'serialization.success'
|
|
@@ -13504,22 +13688,26 @@ declare const editorMachine: StateMachine<
|
|
|
13504
13688
|
mimeType: `${string}/${string}`
|
|
13505
13689
|
reason: string
|
|
13506
13690
|
} & {
|
|
13507
|
-
originEvent:
|
|
13508
|
-
|
|
13509
|
-
|
|
13510
|
-
|
|
13511
|
-
|
|
13691
|
+
originEvent:
|
|
13692
|
+
| PickFromUnion<
|
|
13693
|
+
NativeBehaviorEvent,
|
|
13694
|
+
'type',
|
|
13695
|
+
'drag.drop' | 'clipboard.paste'
|
|
13696
|
+
>
|
|
13697
|
+
| InputBehaviorEvent_3
|
|
13512
13698
|
})
|
|
13513
13699
|
| ({
|
|
13514
13700
|
type: 'deserialization.success'
|
|
13515
13701
|
data: Array<PortableTextBlock>
|
|
13516
13702
|
mimeType: `${string}/${string}`
|
|
13517
13703
|
} & {
|
|
13518
|
-
originEvent:
|
|
13519
|
-
|
|
13520
|
-
|
|
13521
|
-
|
|
13522
|
-
|
|
13704
|
+
originEvent:
|
|
13705
|
+
| PickFromUnion<
|
|
13706
|
+
NativeBehaviorEvent,
|
|
13707
|
+
'type',
|
|
13708
|
+
'drag.drop' | 'clipboard.paste'
|
|
13709
|
+
>
|
|
13710
|
+
| InputBehaviorEvent_3
|
|
13523
13711
|
})
|
|
13524
13712
|
| {
|
|
13525
13713
|
type: 'serialization.success'
|
|
@@ -13823,22 +14011,26 @@ declare const editorMachine: StateMachine<
|
|
|
13823
14011
|
mimeType: `${string}/${string}`
|
|
13824
14012
|
reason: string
|
|
13825
14013
|
} & {
|
|
13826
|
-
originEvent:
|
|
13827
|
-
|
|
13828
|
-
|
|
13829
|
-
|
|
13830
|
-
|
|
14014
|
+
originEvent:
|
|
14015
|
+
| PickFromUnion<
|
|
14016
|
+
NativeBehaviorEvent,
|
|
14017
|
+
'type',
|
|
14018
|
+
'drag.drop' | 'clipboard.paste'
|
|
14019
|
+
>
|
|
14020
|
+
| InputBehaviorEvent_3
|
|
13831
14021
|
})
|
|
13832
14022
|
| ({
|
|
13833
14023
|
type: 'deserialization.success'
|
|
13834
14024
|
data: Array<PortableTextBlock>
|
|
13835
14025
|
mimeType: `${string}/${string}`
|
|
13836
14026
|
} & {
|
|
13837
|
-
originEvent:
|
|
13838
|
-
|
|
13839
|
-
|
|
13840
|
-
|
|
13841
|
-
|
|
14027
|
+
originEvent:
|
|
14028
|
+
| PickFromUnion<
|
|
14029
|
+
NativeBehaviorEvent,
|
|
14030
|
+
'type',
|
|
14031
|
+
'drag.drop' | 'clipboard.paste'
|
|
14032
|
+
>
|
|
14033
|
+
| InputBehaviorEvent_3
|
|
13842
14034
|
})
|
|
13843
14035
|
| {
|
|
13844
14036
|
type: 'serialization.success'
|
|
@@ -14199,22 +14391,26 @@ declare const editorMachine: StateMachine<
|
|
|
14199
14391
|
mimeType: `${string}/${string}`
|
|
14200
14392
|
reason: string
|
|
14201
14393
|
} & {
|
|
14202
|
-
originEvent:
|
|
14203
|
-
|
|
14204
|
-
|
|
14205
|
-
|
|
14206
|
-
|
|
14394
|
+
originEvent:
|
|
14395
|
+
| PickFromUnion<
|
|
14396
|
+
NativeBehaviorEvent,
|
|
14397
|
+
'type',
|
|
14398
|
+
'drag.drop' | 'clipboard.paste'
|
|
14399
|
+
>
|
|
14400
|
+
| InputBehaviorEvent_3
|
|
14207
14401
|
})
|
|
14208
14402
|
| ({
|
|
14209
14403
|
type: 'deserialization.success'
|
|
14210
14404
|
data: Array<PortableTextBlock>
|
|
14211
14405
|
mimeType: `${string}/${string}`
|
|
14212
14406
|
} & {
|
|
14213
|
-
originEvent:
|
|
14214
|
-
|
|
14215
|
-
|
|
14216
|
-
|
|
14217
|
-
|
|
14407
|
+
originEvent:
|
|
14408
|
+
| PickFromUnion<
|
|
14409
|
+
NativeBehaviorEvent,
|
|
14410
|
+
'type',
|
|
14411
|
+
'drag.drop' | 'clipboard.paste'
|
|
14412
|
+
>
|
|
14413
|
+
| InputBehaviorEvent_3
|
|
14218
14414
|
})
|
|
14219
14415
|
| {
|
|
14220
14416
|
type: 'serialization.success'
|
|
@@ -14511,22 +14707,26 @@ declare const editorMachine: StateMachine<
|
|
|
14511
14707
|
mimeType: `${string}/${string}`
|
|
14512
14708
|
reason: string
|
|
14513
14709
|
} & {
|
|
14514
|
-
originEvent:
|
|
14515
|
-
|
|
14516
|
-
|
|
14517
|
-
|
|
14518
|
-
|
|
14710
|
+
originEvent:
|
|
14711
|
+
| PickFromUnion<
|
|
14712
|
+
NativeBehaviorEvent,
|
|
14713
|
+
'type',
|
|
14714
|
+
'drag.drop' | 'clipboard.paste'
|
|
14715
|
+
>
|
|
14716
|
+
| InputBehaviorEvent_3
|
|
14519
14717
|
})
|
|
14520
14718
|
| ({
|
|
14521
14719
|
type: 'deserialization.success'
|
|
14522
14720
|
data: Array<PortableTextBlock>
|
|
14523
14721
|
mimeType: `${string}/${string}`
|
|
14524
14722
|
} & {
|
|
14525
|
-
originEvent:
|
|
14526
|
-
|
|
14527
|
-
|
|
14528
|
-
|
|
14529
|
-
|
|
14723
|
+
originEvent:
|
|
14724
|
+
| PickFromUnion<
|
|
14725
|
+
NativeBehaviorEvent,
|
|
14726
|
+
'type',
|
|
14727
|
+
'drag.drop' | 'clipboard.paste'
|
|
14728
|
+
>
|
|
14729
|
+
| InputBehaviorEvent_3
|
|
14530
14730
|
})
|
|
14531
14731
|
| {
|
|
14532
14732
|
type: 'serialization.success'
|
|
@@ -14887,22 +15087,26 @@ declare const editorMachine: StateMachine<
|
|
|
14887
15087
|
mimeType: `${string}/${string}`
|
|
14888
15088
|
reason: string
|
|
14889
15089
|
} & {
|
|
14890
|
-
originEvent:
|
|
14891
|
-
|
|
14892
|
-
|
|
14893
|
-
|
|
14894
|
-
|
|
15090
|
+
originEvent:
|
|
15091
|
+
| PickFromUnion<
|
|
15092
|
+
NativeBehaviorEvent,
|
|
15093
|
+
'type',
|
|
15094
|
+
'drag.drop' | 'clipboard.paste'
|
|
15095
|
+
>
|
|
15096
|
+
| InputBehaviorEvent_3
|
|
14895
15097
|
})
|
|
14896
15098
|
| ({
|
|
14897
15099
|
type: 'deserialization.success'
|
|
14898
15100
|
data: Array<PortableTextBlock>
|
|
14899
15101
|
mimeType: `${string}/${string}`
|
|
14900
15102
|
} & {
|
|
14901
|
-
originEvent:
|
|
14902
|
-
|
|
14903
|
-
|
|
14904
|
-
|
|
14905
|
-
|
|
15103
|
+
originEvent:
|
|
15104
|
+
| PickFromUnion<
|
|
15105
|
+
NativeBehaviorEvent,
|
|
15106
|
+
'type',
|
|
15107
|
+
'drag.drop' | 'clipboard.paste'
|
|
15108
|
+
>
|
|
15109
|
+
| InputBehaviorEvent_3
|
|
14906
15110
|
})
|
|
14907
15111
|
| {
|
|
14908
15112
|
type: 'serialization.success'
|
|
@@ -15199,22 +15403,26 @@ declare const editorMachine: StateMachine<
|
|
|
15199
15403
|
mimeType: `${string}/${string}`
|
|
15200
15404
|
reason: string
|
|
15201
15405
|
} & {
|
|
15202
|
-
originEvent:
|
|
15203
|
-
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
|
|
15406
|
+
originEvent:
|
|
15407
|
+
| PickFromUnion<
|
|
15408
|
+
NativeBehaviorEvent,
|
|
15409
|
+
'type',
|
|
15410
|
+
'drag.drop' | 'clipboard.paste'
|
|
15411
|
+
>
|
|
15412
|
+
| InputBehaviorEvent_3
|
|
15207
15413
|
})
|
|
15208
15414
|
| ({
|
|
15209
15415
|
type: 'deserialization.success'
|
|
15210
15416
|
data: Array<PortableTextBlock>
|
|
15211
15417
|
mimeType: `${string}/${string}`
|
|
15212
15418
|
} & {
|
|
15213
|
-
originEvent:
|
|
15214
|
-
|
|
15215
|
-
|
|
15216
|
-
|
|
15217
|
-
|
|
15419
|
+
originEvent:
|
|
15420
|
+
| PickFromUnion<
|
|
15421
|
+
NativeBehaviorEvent,
|
|
15422
|
+
'type',
|
|
15423
|
+
'drag.drop' | 'clipboard.paste'
|
|
15424
|
+
>
|
|
15425
|
+
| InputBehaviorEvent_3
|
|
15218
15426
|
})
|
|
15219
15427
|
| {
|
|
15220
15428
|
type: 'serialization.success'
|
|
@@ -15575,22 +15783,26 @@ declare const editorMachine: StateMachine<
|
|
|
15575
15783
|
mimeType: `${string}/${string}`
|
|
15576
15784
|
reason: string
|
|
15577
15785
|
} & {
|
|
15578
|
-
originEvent:
|
|
15579
|
-
|
|
15580
|
-
|
|
15581
|
-
|
|
15582
|
-
|
|
15786
|
+
originEvent:
|
|
15787
|
+
| PickFromUnion<
|
|
15788
|
+
NativeBehaviorEvent,
|
|
15789
|
+
'type',
|
|
15790
|
+
'drag.drop' | 'clipboard.paste'
|
|
15791
|
+
>
|
|
15792
|
+
| InputBehaviorEvent_3
|
|
15583
15793
|
})
|
|
15584
15794
|
| ({
|
|
15585
15795
|
type: 'deserialization.success'
|
|
15586
15796
|
data: Array<PortableTextBlock>
|
|
15587
15797
|
mimeType: `${string}/${string}`
|
|
15588
15798
|
} & {
|
|
15589
|
-
originEvent:
|
|
15590
|
-
|
|
15591
|
-
|
|
15592
|
-
|
|
15593
|
-
|
|
15799
|
+
originEvent:
|
|
15800
|
+
| PickFromUnion<
|
|
15801
|
+
NativeBehaviorEvent,
|
|
15802
|
+
'type',
|
|
15803
|
+
'drag.drop' | 'clipboard.paste'
|
|
15804
|
+
>
|
|
15805
|
+
| InputBehaviorEvent_3
|
|
15594
15806
|
})
|
|
15595
15807
|
| {
|
|
15596
15808
|
type: 'serialization.success'
|
|
@@ -15900,22 +16112,26 @@ declare const editorMachine: StateMachine<
|
|
|
15900
16112
|
mimeType: `${string}/${string}`
|
|
15901
16113
|
reason: string
|
|
15902
16114
|
} & {
|
|
15903
|
-
originEvent:
|
|
15904
|
-
|
|
15905
|
-
|
|
15906
|
-
|
|
15907
|
-
|
|
16115
|
+
originEvent:
|
|
16116
|
+
| PickFromUnion<
|
|
16117
|
+
NativeBehaviorEvent,
|
|
16118
|
+
'type',
|
|
16119
|
+
'drag.drop' | 'clipboard.paste'
|
|
16120
|
+
>
|
|
16121
|
+
| InputBehaviorEvent_3
|
|
15908
16122
|
})
|
|
15909
16123
|
| ({
|
|
15910
16124
|
type: 'deserialization.success'
|
|
15911
16125
|
data: Array<PortableTextBlock>
|
|
15912
16126
|
mimeType: `${string}/${string}`
|
|
15913
16127
|
} & {
|
|
15914
|
-
originEvent:
|
|
15915
|
-
|
|
15916
|
-
|
|
15917
|
-
|
|
15918
|
-
|
|
16128
|
+
originEvent:
|
|
16129
|
+
| PickFromUnion<
|
|
16130
|
+
NativeBehaviorEvent,
|
|
16131
|
+
'type',
|
|
16132
|
+
'drag.drop' | 'clipboard.paste'
|
|
16133
|
+
>
|
|
16134
|
+
| InputBehaviorEvent_3
|
|
15919
16135
|
})
|
|
15920
16136
|
| {
|
|
15921
16137
|
type: 'serialization.success'
|
|
@@ -16276,22 +16492,26 @@ declare const editorMachine: StateMachine<
|
|
|
16276
16492
|
mimeType: `${string}/${string}`
|
|
16277
16493
|
reason: string
|
|
16278
16494
|
} & {
|
|
16279
|
-
originEvent:
|
|
16280
|
-
|
|
16281
|
-
|
|
16282
|
-
|
|
16283
|
-
|
|
16495
|
+
originEvent:
|
|
16496
|
+
| PickFromUnion<
|
|
16497
|
+
NativeBehaviorEvent,
|
|
16498
|
+
'type',
|
|
16499
|
+
'drag.drop' | 'clipboard.paste'
|
|
16500
|
+
>
|
|
16501
|
+
| InputBehaviorEvent_3
|
|
16284
16502
|
})
|
|
16285
16503
|
| ({
|
|
16286
16504
|
type: 'deserialization.success'
|
|
16287
16505
|
data: Array<PortableTextBlock>
|
|
16288
16506
|
mimeType: `${string}/${string}`
|
|
16289
16507
|
} & {
|
|
16290
|
-
originEvent:
|
|
16291
|
-
|
|
16292
|
-
|
|
16293
|
-
|
|
16294
|
-
|
|
16508
|
+
originEvent:
|
|
16509
|
+
| PickFromUnion<
|
|
16510
|
+
NativeBehaviorEvent,
|
|
16511
|
+
'type',
|
|
16512
|
+
'drag.drop' | 'clipboard.paste'
|
|
16513
|
+
>
|
|
16514
|
+
| InputBehaviorEvent_3
|
|
16295
16515
|
})
|
|
16296
16516
|
| {
|
|
16297
16517
|
type: 'serialization.success'
|
|
@@ -16602,22 +16822,26 @@ declare const editorMachine: StateMachine<
|
|
|
16602
16822
|
mimeType: `${string}/${string}`
|
|
16603
16823
|
reason: string
|
|
16604
16824
|
} & {
|
|
16605
|
-
originEvent:
|
|
16606
|
-
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16825
|
+
originEvent:
|
|
16826
|
+
| PickFromUnion<
|
|
16827
|
+
NativeBehaviorEvent,
|
|
16828
|
+
'type',
|
|
16829
|
+
'drag.drop' | 'clipboard.paste'
|
|
16830
|
+
>
|
|
16831
|
+
| InputBehaviorEvent_3
|
|
16610
16832
|
})
|
|
16611
16833
|
| ({
|
|
16612
16834
|
type: 'deserialization.success'
|
|
16613
16835
|
data: Array<PortableTextBlock>
|
|
16614
16836
|
mimeType: `${string}/${string}`
|
|
16615
16837
|
} & {
|
|
16616
|
-
originEvent:
|
|
16617
|
-
|
|
16618
|
-
|
|
16619
|
-
|
|
16620
|
-
|
|
16838
|
+
originEvent:
|
|
16839
|
+
| PickFromUnion<
|
|
16840
|
+
NativeBehaviorEvent,
|
|
16841
|
+
'type',
|
|
16842
|
+
'drag.drop' | 'clipboard.paste'
|
|
16843
|
+
>
|
|
16844
|
+
| InputBehaviorEvent_3
|
|
16621
16845
|
})
|
|
16622
16846
|
| {
|
|
16623
16847
|
type: 'serialization.success'
|
|
@@ -16976,24 +17200,28 @@ declare const editorMachine: StateMachine<
|
|
|
16976
17200
|
| ({
|
|
16977
17201
|
type: 'deserialization.failure'
|
|
16978
17202
|
mimeType: `${string}/${string}`
|
|
16979
|
-
reason: string
|
|
16980
|
-
} & {
|
|
16981
|
-
originEvent:
|
|
16982
|
-
|
|
16983
|
-
|
|
16984
|
-
|
|
16985
|
-
|
|
17203
|
+
reason: string
|
|
17204
|
+
} & {
|
|
17205
|
+
originEvent:
|
|
17206
|
+
| PickFromUnion<
|
|
17207
|
+
NativeBehaviorEvent,
|
|
17208
|
+
'type',
|
|
17209
|
+
'drag.drop' | 'clipboard.paste'
|
|
17210
|
+
>
|
|
17211
|
+
| InputBehaviorEvent_3
|
|
16986
17212
|
})
|
|
16987
17213
|
| ({
|
|
16988
17214
|
type: 'deserialization.success'
|
|
16989
17215
|
data: Array<PortableTextBlock>
|
|
16990
17216
|
mimeType: `${string}/${string}`
|
|
16991
17217
|
} & {
|
|
16992
|
-
originEvent:
|
|
16993
|
-
|
|
16994
|
-
|
|
16995
|
-
|
|
16996
|
-
|
|
17218
|
+
originEvent:
|
|
17219
|
+
| PickFromUnion<
|
|
17220
|
+
NativeBehaviorEvent,
|
|
17221
|
+
'type',
|
|
17222
|
+
'drag.drop' | 'clipboard.paste'
|
|
17223
|
+
>
|
|
17224
|
+
| InputBehaviorEvent_3
|
|
16997
17225
|
})
|
|
16998
17226
|
| {
|
|
16999
17227
|
type: 'serialization.success'
|
|
@@ -17290,22 +17518,26 @@ declare const editorMachine: StateMachine<
|
|
|
17290
17518
|
mimeType: `${string}/${string}`
|
|
17291
17519
|
reason: string
|
|
17292
17520
|
} & {
|
|
17293
|
-
originEvent:
|
|
17294
|
-
|
|
17295
|
-
|
|
17296
|
-
|
|
17297
|
-
|
|
17521
|
+
originEvent:
|
|
17522
|
+
| PickFromUnion<
|
|
17523
|
+
NativeBehaviorEvent,
|
|
17524
|
+
'type',
|
|
17525
|
+
'drag.drop' | 'clipboard.paste'
|
|
17526
|
+
>
|
|
17527
|
+
| InputBehaviorEvent_3
|
|
17298
17528
|
})
|
|
17299
17529
|
| ({
|
|
17300
17530
|
type: 'deserialization.success'
|
|
17301
17531
|
data: Array<PortableTextBlock>
|
|
17302
17532
|
mimeType: `${string}/${string}`
|
|
17303
17533
|
} & {
|
|
17304
|
-
originEvent:
|
|
17305
|
-
|
|
17306
|
-
|
|
17307
|
-
|
|
17308
|
-
|
|
17534
|
+
originEvent:
|
|
17535
|
+
| PickFromUnion<
|
|
17536
|
+
NativeBehaviorEvent,
|
|
17537
|
+
'type',
|
|
17538
|
+
'drag.drop' | 'clipboard.paste'
|
|
17539
|
+
>
|
|
17540
|
+
| InputBehaviorEvent_3
|
|
17309
17541
|
})
|
|
17310
17542
|
| {
|
|
17311
17543
|
type: 'serialization.success'
|
|
@@ -17666,22 +17898,26 @@ declare const editorMachine: StateMachine<
|
|
|
17666
17898
|
mimeType: `${string}/${string}`
|
|
17667
17899
|
reason: string
|
|
17668
17900
|
} & {
|
|
17669
|
-
originEvent:
|
|
17670
|
-
|
|
17671
|
-
|
|
17672
|
-
|
|
17673
|
-
|
|
17901
|
+
originEvent:
|
|
17902
|
+
| PickFromUnion<
|
|
17903
|
+
NativeBehaviorEvent,
|
|
17904
|
+
'type',
|
|
17905
|
+
'drag.drop' | 'clipboard.paste'
|
|
17906
|
+
>
|
|
17907
|
+
| InputBehaviorEvent_3
|
|
17674
17908
|
})
|
|
17675
17909
|
| ({
|
|
17676
17910
|
type: 'deserialization.success'
|
|
17677
17911
|
data: Array<PortableTextBlock>
|
|
17678
17912
|
mimeType: `${string}/${string}`
|
|
17679
17913
|
} & {
|
|
17680
|
-
originEvent:
|
|
17681
|
-
|
|
17682
|
-
|
|
17683
|
-
|
|
17684
|
-
|
|
17914
|
+
originEvent:
|
|
17915
|
+
| PickFromUnion<
|
|
17916
|
+
NativeBehaviorEvent,
|
|
17917
|
+
'type',
|
|
17918
|
+
'drag.drop' | 'clipboard.paste'
|
|
17919
|
+
>
|
|
17920
|
+
| InputBehaviorEvent_3
|
|
17685
17921
|
})
|
|
17686
17922
|
| {
|
|
17687
17923
|
type: 'serialization.success'
|
|
@@ -17981,22 +18217,26 @@ declare const editorMachine: StateMachine<
|
|
|
17981
18217
|
mimeType: `${string}/${string}`
|
|
17982
18218
|
reason: string
|
|
17983
18219
|
} & {
|
|
17984
|
-
originEvent:
|
|
17985
|
-
|
|
17986
|
-
|
|
17987
|
-
|
|
17988
|
-
|
|
18220
|
+
originEvent:
|
|
18221
|
+
| PickFromUnion<
|
|
18222
|
+
NativeBehaviorEvent,
|
|
18223
|
+
'type',
|
|
18224
|
+
'drag.drop' | 'clipboard.paste'
|
|
18225
|
+
>
|
|
18226
|
+
| InputBehaviorEvent_3
|
|
17989
18227
|
})
|
|
17990
18228
|
| ({
|
|
17991
18229
|
type: 'deserialization.success'
|
|
17992
18230
|
data: Array<PortableTextBlock>
|
|
17993
18231
|
mimeType: `${string}/${string}`
|
|
17994
18232
|
} & {
|
|
17995
|
-
originEvent:
|
|
17996
|
-
|
|
17997
|
-
|
|
17998
|
-
|
|
17999
|
-
|
|
18233
|
+
originEvent:
|
|
18234
|
+
| PickFromUnion<
|
|
18235
|
+
NativeBehaviorEvent,
|
|
18236
|
+
'type',
|
|
18237
|
+
'drag.drop' | 'clipboard.paste'
|
|
18238
|
+
>
|
|
18239
|
+
| InputBehaviorEvent_3
|
|
18000
18240
|
})
|
|
18001
18241
|
| {
|
|
18002
18242
|
type: 'serialization.success'
|
|
@@ -18357,22 +18597,26 @@ declare const editorMachine: StateMachine<
|
|
|
18357
18597
|
mimeType: `${string}/${string}`
|
|
18358
18598
|
reason: string
|
|
18359
18599
|
} & {
|
|
18360
|
-
originEvent:
|
|
18361
|
-
|
|
18362
|
-
|
|
18363
|
-
|
|
18364
|
-
|
|
18600
|
+
originEvent:
|
|
18601
|
+
| PickFromUnion<
|
|
18602
|
+
NativeBehaviorEvent,
|
|
18603
|
+
'type',
|
|
18604
|
+
'drag.drop' | 'clipboard.paste'
|
|
18605
|
+
>
|
|
18606
|
+
| InputBehaviorEvent_3
|
|
18365
18607
|
})
|
|
18366
18608
|
| ({
|
|
18367
18609
|
type: 'deserialization.success'
|
|
18368
18610
|
data: Array<PortableTextBlock>
|
|
18369
18611
|
mimeType: `${string}/${string}`
|
|
18370
18612
|
} & {
|
|
18371
|
-
originEvent:
|
|
18372
|
-
|
|
18373
|
-
|
|
18374
|
-
|
|
18375
|
-
|
|
18613
|
+
originEvent:
|
|
18614
|
+
| PickFromUnion<
|
|
18615
|
+
NativeBehaviorEvent,
|
|
18616
|
+
'type',
|
|
18617
|
+
'drag.drop' | 'clipboard.paste'
|
|
18618
|
+
>
|
|
18619
|
+
| InputBehaviorEvent_3
|
|
18376
18620
|
})
|
|
18377
18621
|
| {
|
|
18378
18622
|
type: 'serialization.success'
|
|
@@ -18725,22 +18969,26 @@ declare const editorMachine: StateMachine<
|
|
|
18725
18969
|
mimeType: `${string}/${string}`
|
|
18726
18970
|
reason: string
|
|
18727
18971
|
} & {
|
|
18728
|
-
originEvent:
|
|
18729
|
-
|
|
18730
|
-
|
|
18731
|
-
|
|
18732
|
-
|
|
18972
|
+
originEvent:
|
|
18973
|
+
| PickFromUnion<
|
|
18974
|
+
NativeBehaviorEvent,
|
|
18975
|
+
'type',
|
|
18976
|
+
'drag.drop' | 'clipboard.paste'
|
|
18977
|
+
>
|
|
18978
|
+
| InputBehaviorEvent_3
|
|
18733
18979
|
})
|
|
18734
18980
|
| ({
|
|
18735
18981
|
type: 'deserialization.success'
|
|
18736
18982
|
data: Array<PortableTextBlock>
|
|
18737
18983
|
mimeType: `${string}/${string}`
|
|
18738
18984
|
} & {
|
|
18739
|
-
originEvent:
|
|
18740
|
-
|
|
18741
|
-
|
|
18742
|
-
|
|
18743
|
-
|
|
18985
|
+
originEvent:
|
|
18986
|
+
| PickFromUnion<
|
|
18987
|
+
NativeBehaviorEvent,
|
|
18988
|
+
'type',
|
|
18989
|
+
'drag.drop' | 'clipboard.paste'
|
|
18990
|
+
>
|
|
18991
|
+
| InputBehaviorEvent_3
|
|
18744
18992
|
})
|
|
18745
18993
|
| {
|
|
18746
18994
|
type: 'serialization.success'
|
|
@@ -19101,22 +19349,26 @@ declare const editorMachine: StateMachine<
|
|
|
19101
19349
|
mimeType: `${string}/${string}`
|
|
19102
19350
|
reason: string
|
|
19103
19351
|
} & {
|
|
19104
|
-
originEvent:
|
|
19105
|
-
|
|
19106
|
-
|
|
19107
|
-
|
|
19108
|
-
|
|
19352
|
+
originEvent:
|
|
19353
|
+
| PickFromUnion<
|
|
19354
|
+
NativeBehaviorEvent,
|
|
19355
|
+
'type',
|
|
19356
|
+
'drag.drop' | 'clipboard.paste'
|
|
19357
|
+
>
|
|
19358
|
+
| InputBehaviorEvent_3
|
|
19109
19359
|
})
|
|
19110
19360
|
| ({
|
|
19111
19361
|
type: 'deserialization.success'
|
|
19112
19362
|
data: Array<PortableTextBlock>
|
|
19113
19363
|
mimeType: `${string}/${string}`
|
|
19114
19364
|
} & {
|
|
19115
|
-
originEvent:
|
|
19116
|
-
|
|
19117
|
-
|
|
19118
|
-
|
|
19119
|
-
|
|
19365
|
+
originEvent:
|
|
19366
|
+
| PickFromUnion<
|
|
19367
|
+
NativeBehaviorEvent,
|
|
19368
|
+
'type',
|
|
19369
|
+
'drag.drop' | 'clipboard.paste'
|
|
19370
|
+
>
|
|
19371
|
+
| InputBehaviorEvent_3
|
|
19120
19372
|
})
|
|
19121
19373
|
| {
|
|
19122
19374
|
type: 'serialization.success'
|
|
@@ -19422,22 +19674,26 @@ declare const editorMachine: StateMachine<
|
|
|
19422
19674
|
mimeType: `${string}/${string}`
|
|
19423
19675
|
reason: string
|
|
19424
19676
|
} & {
|
|
19425
|
-
originEvent:
|
|
19426
|
-
|
|
19427
|
-
|
|
19428
|
-
|
|
19429
|
-
|
|
19677
|
+
originEvent:
|
|
19678
|
+
| PickFromUnion<
|
|
19679
|
+
NativeBehaviorEvent,
|
|
19680
|
+
'type',
|
|
19681
|
+
'drag.drop' | 'clipboard.paste'
|
|
19682
|
+
>
|
|
19683
|
+
| InputBehaviorEvent_3
|
|
19430
19684
|
})
|
|
19431
19685
|
| ({
|
|
19432
19686
|
type: 'deserialization.success'
|
|
19433
19687
|
data: Array<PortableTextBlock>
|
|
19434
19688
|
mimeType: `${string}/${string}`
|
|
19435
19689
|
} & {
|
|
19436
|
-
originEvent:
|
|
19437
|
-
|
|
19438
|
-
|
|
19439
|
-
|
|
19440
|
-
|
|
19690
|
+
originEvent:
|
|
19691
|
+
| PickFromUnion<
|
|
19692
|
+
NativeBehaviorEvent,
|
|
19693
|
+
'type',
|
|
19694
|
+
'drag.drop' | 'clipboard.paste'
|
|
19695
|
+
>
|
|
19696
|
+
| InputBehaviorEvent_3
|
|
19441
19697
|
})
|
|
19442
19698
|
| {
|
|
19443
19699
|
type: 'serialization.success'
|
|
@@ -19798,22 +20054,26 @@ declare const editorMachine: StateMachine<
|
|
|
19798
20054
|
mimeType: `${string}/${string}`
|
|
19799
20055
|
reason: string
|
|
19800
20056
|
} & {
|
|
19801
|
-
originEvent:
|
|
19802
|
-
|
|
19803
|
-
|
|
19804
|
-
|
|
19805
|
-
|
|
20057
|
+
originEvent:
|
|
20058
|
+
| PickFromUnion<
|
|
20059
|
+
NativeBehaviorEvent,
|
|
20060
|
+
'type',
|
|
20061
|
+
'drag.drop' | 'clipboard.paste'
|
|
20062
|
+
>
|
|
20063
|
+
| InputBehaviorEvent_3
|
|
19806
20064
|
})
|
|
19807
20065
|
| ({
|
|
19808
20066
|
type: 'deserialization.success'
|
|
19809
20067
|
data: Array<PortableTextBlock>
|
|
19810
20068
|
mimeType: `${string}/${string}`
|
|
19811
20069
|
} & {
|
|
19812
|
-
originEvent:
|
|
19813
|
-
|
|
19814
|
-
|
|
19815
|
-
|
|
19816
|
-
|
|
20070
|
+
originEvent:
|
|
20071
|
+
| PickFromUnion<
|
|
20072
|
+
NativeBehaviorEvent,
|
|
20073
|
+
'type',
|
|
20074
|
+
'drag.drop' | 'clipboard.paste'
|
|
20075
|
+
>
|
|
20076
|
+
| InputBehaviorEvent_3
|
|
19817
20077
|
})
|
|
19818
20078
|
| {
|
|
19819
20079
|
type: 'serialization.success'
|
|
@@ -20120,22 +20380,26 @@ declare const editorMachine: StateMachine<
|
|
|
20120
20380
|
mimeType: `${string}/${string}`
|
|
20121
20381
|
reason: string
|
|
20122
20382
|
} & {
|
|
20123
|
-
originEvent:
|
|
20124
|
-
|
|
20125
|
-
|
|
20126
|
-
|
|
20127
|
-
|
|
20383
|
+
originEvent:
|
|
20384
|
+
| PickFromUnion<
|
|
20385
|
+
NativeBehaviorEvent,
|
|
20386
|
+
'type',
|
|
20387
|
+
'drag.drop' | 'clipboard.paste'
|
|
20388
|
+
>
|
|
20389
|
+
| InputBehaviorEvent_3
|
|
20128
20390
|
})
|
|
20129
20391
|
| ({
|
|
20130
20392
|
type: 'deserialization.success'
|
|
20131
20393
|
data: Array<PortableTextBlock>
|
|
20132
20394
|
mimeType: `${string}/${string}`
|
|
20133
20395
|
} & {
|
|
20134
|
-
originEvent:
|
|
20135
|
-
|
|
20136
|
-
|
|
20137
|
-
|
|
20138
|
-
|
|
20396
|
+
originEvent:
|
|
20397
|
+
| PickFromUnion<
|
|
20398
|
+
NativeBehaviorEvent,
|
|
20399
|
+
'type',
|
|
20400
|
+
'drag.drop' | 'clipboard.paste'
|
|
20401
|
+
>
|
|
20402
|
+
| InputBehaviorEvent_3
|
|
20139
20403
|
})
|
|
20140
20404
|
| {
|
|
20141
20405
|
type: 'serialization.success'
|
|
@@ -20496,22 +20760,26 @@ declare const editorMachine: StateMachine<
|
|
|
20496
20760
|
mimeType: `${string}/${string}`
|
|
20497
20761
|
reason: string
|
|
20498
20762
|
} & {
|
|
20499
|
-
originEvent:
|
|
20500
|
-
|
|
20501
|
-
|
|
20502
|
-
|
|
20503
|
-
|
|
20763
|
+
originEvent:
|
|
20764
|
+
| PickFromUnion<
|
|
20765
|
+
NativeBehaviorEvent,
|
|
20766
|
+
'type',
|
|
20767
|
+
'drag.drop' | 'clipboard.paste'
|
|
20768
|
+
>
|
|
20769
|
+
| InputBehaviorEvent_3
|
|
20504
20770
|
})
|
|
20505
20771
|
| ({
|
|
20506
20772
|
type: 'deserialization.success'
|
|
20507
20773
|
data: Array<PortableTextBlock>
|
|
20508
20774
|
mimeType: `${string}/${string}`
|
|
20509
20775
|
} & {
|
|
20510
|
-
originEvent:
|
|
20511
|
-
|
|
20512
|
-
|
|
20513
|
-
|
|
20514
|
-
|
|
20776
|
+
originEvent:
|
|
20777
|
+
| PickFromUnion<
|
|
20778
|
+
NativeBehaviorEvent,
|
|
20779
|
+
'type',
|
|
20780
|
+
'drag.drop' | 'clipboard.paste'
|
|
20781
|
+
>
|
|
20782
|
+
| InputBehaviorEvent_3
|
|
20515
20783
|
})
|
|
20516
20784
|
| {
|
|
20517
20785
|
type: 'serialization.success'
|
|
@@ -20809,22 +21077,26 @@ declare const editorMachine: StateMachine<
|
|
|
20809
21077
|
mimeType: `${string}/${string}`
|
|
20810
21078
|
reason: string
|
|
20811
21079
|
} & {
|
|
20812
|
-
originEvent:
|
|
20813
|
-
|
|
20814
|
-
|
|
20815
|
-
|
|
20816
|
-
|
|
21080
|
+
originEvent:
|
|
21081
|
+
| PickFromUnion<
|
|
21082
|
+
NativeBehaviorEvent,
|
|
21083
|
+
'type',
|
|
21084
|
+
'drag.drop' | 'clipboard.paste'
|
|
21085
|
+
>
|
|
21086
|
+
| InputBehaviorEvent_3
|
|
20817
21087
|
})
|
|
20818
21088
|
| ({
|
|
20819
21089
|
type: 'deserialization.success'
|
|
20820
21090
|
data: Array<PortableTextBlock>
|
|
20821
21091
|
mimeType: `${string}/${string}`
|
|
20822
21092
|
} & {
|
|
20823
|
-
originEvent:
|
|
20824
|
-
|
|
20825
|
-
|
|
20826
|
-
|
|
20827
|
-
|
|
21093
|
+
originEvent:
|
|
21094
|
+
| PickFromUnion<
|
|
21095
|
+
NativeBehaviorEvent,
|
|
21096
|
+
'type',
|
|
21097
|
+
'drag.drop' | 'clipboard.paste'
|
|
21098
|
+
>
|
|
21099
|
+
| InputBehaviorEvent_3
|
|
20828
21100
|
})
|
|
20829
21101
|
| {
|
|
20830
21102
|
type: 'serialization.success'
|
|
@@ -21185,22 +21457,26 @@ declare const editorMachine: StateMachine<
|
|
|
21185
21457
|
mimeType: `${string}/${string}`
|
|
21186
21458
|
reason: string
|
|
21187
21459
|
} & {
|
|
21188
|
-
originEvent:
|
|
21189
|
-
|
|
21190
|
-
|
|
21191
|
-
|
|
21192
|
-
|
|
21460
|
+
originEvent:
|
|
21461
|
+
| PickFromUnion<
|
|
21462
|
+
NativeBehaviorEvent,
|
|
21463
|
+
'type',
|
|
21464
|
+
'drag.drop' | 'clipboard.paste'
|
|
21465
|
+
>
|
|
21466
|
+
| InputBehaviorEvent_3
|
|
21193
21467
|
})
|
|
21194
21468
|
| ({
|
|
21195
21469
|
type: 'deserialization.success'
|
|
21196
21470
|
data: Array<PortableTextBlock>
|
|
21197
21471
|
mimeType: `${string}/${string}`
|
|
21198
21472
|
} & {
|
|
21199
|
-
originEvent:
|
|
21200
|
-
|
|
21201
|
-
|
|
21202
|
-
|
|
21203
|
-
|
|
21473
|
+
originEvent:
|
|
21474
|
+
| PickFromUnion<
|
|
21475
|
+
NativeBehaviorEvent,
|
|
21476
|
+
'type',
|
|
21477
|
+
'drag.drop' | 'clipboard.paste'
|
|
21478
|
+
>
|
|
21479
|
+
| InputBehaviorEvent_3
|
|
21204
21480
|
})
|
|
21205
21481
|
| {
|
|
21206
21482
|
type: 'serialization.success'
|
|
@@ -21502,22 +21778,26 @@ declare const editorMachine: StateMachine<
|
|
|
21502
21778
|
mimeType: `${string}/${string}`
|
|
21503
21779
|
reason: string
|
|
21504
21780
|
} & {
|
|
21505
|
-
originEvent:
|
|
21506
|
-
|
|
21507
|
-
|
|
21508
|
-
|
|
21509
|
-
|
|
21781
|
+
originEvent:
|
|
21782
|
+
| PickFromUnion<
|
|
21783
|
+
NativeBehaviorEvent,
|
|
21784
|
+
'type',
|
|
21785
|
+
'drag.drop' | 'clipboard.paste'
|
|
21786
|
+
>
|
|
21787
|
+
| InputBehaviorEvent_3
|
|
21510
21788
|
})
|
|
21511
21789
|
| ({
|
|
21512
21790
|
type: 'deserialization.success'
|
|
21513
21791
|
data: Array<PortableTextBlock>
|
|
21514
21792
|
mimeType: `${string}/${string}`
|
|
21515
21793
|
} & {
|
|
21516
|
-
originEvent:
|
|
21517
|
-
|
|
21518
|
-
|
|
21519
|
-
|
|
21520
|
-
|
|
21794
|
+
originEvent:
|
|
21795
|
+
| PickFromUnion<
|
|
21796
|
+
NativeBehaviorEvent,
|
|
21797
|
+
'type',
|
|
21798
|
+
'drag.drop' | 'clipboard.paste'
|
|
21799
|
+
>
|
|
21800
|
+
| InputBehaviorEvent_3
|
|
21521
21801
|
})
|
|
21522
21802
|
| {
|
|
21523
21803
|
type: 'serialization.success'
|
|
@@ -21878,22 +22158,26 @@ declare const editorMachine: StateMachine<
|
|
|
21878
22158
|
mimeType: `${string}/${string}`
|
|
21879
22159
|
reason: string
|
|
21880
22160
|
} & {
|
|
21881
|
-
originEvent:
|
|
21882
|
-
|
|
21883
|
-
|
|
21884
|
-
|
|
21885
|
-
|
|
22161
|
+
originEvent:
|
|
22162
|
+
| PickFromUnion<
|
|
22163
|
+
NativeBehaviorEvent,
|
|
22164
|
+
'type',
|
|
22165
|
+
'drag.drop' | 'clipboard.paste'
|
|
22166
|
+
>
|
|
22167
|
+
| InputBehaviorEvent_3
|
|
21886
22168
|
})
|
|
21887
22169
|
| ({
|
|
21888
22170
|
type: 'deserialization.success'
|
|
21889
22171
|
data: Array<PortableTextBlock>
|
|
21890
22172
|
mimeType: `${string}/${string}`
|
|
21891
22173
|
} & {
|
|
21892
|
-
originEvent:
|
|
21893
|
-
|
|
21894
|
-
|
|
21895
|
-
|
|
21896
|
-
|
|
22174
|
+
originEvent:
|
|
22175
|
+
| PickFromUnion<
|
|
22176
|
+
NativeBehaviorEvent,
|
|
22177
|
+
'type',
|
|
22178
|
+
'drag.drop' | 'clipboard.paste'
|
|
22179
|
+
>
|
|
22180
|
+
| InputBehaviorEvent_3
|
|
21897
22181
|
})
|
|
21898
22182
|
| {
|
|
21899
22183
|
type: 'serialization.success'
|
|
@@ -22199,22 +22483,26 @@ declare const editorMachine: StateMachine<
|
|
|
22199
22483
|
mimeType: `${string}/${string}`
|
|
22200
22484
|
reason: string
|
|
22201
22485
|
} & {
|
|
22202
|
-
originEvent:
|
|
22203
|
-
|
|
22204
|
-
|
|
22205
|
-
|
|
22206
|
-
|
|
22486
|
+
originEvent:
|
|
22487
|
+
| PickFromUnion<
|
|
22488
|
+
NativeBehaviorEvent,
|
|
22489
|
+
'type',
|
|
22490
|
+
'drag.drop' | 'clipboard.paste'
|
|
22491
|
+
>
|
|
22492
|
+
| InputBehaviorEvent_3
|
|
22207
22493
|
})
|
|
22208
22494
|
| ({
|
|
22209
22495
|
type: 'deserialization.success'
|
|
22210
22496
|
data: Array<PortableTextBlock>
|
|
22211
22497
|
mimeType: `${string}/${string}`
|
|
22212
22498
|
} & {
|
|
22213
|
-
originEvent:
|
|
22214
|
-
|
|
22215
|
-
|
|
22216
|
-
|
|
22217
|
-
|
|
22499
|
+
originEvent:
|
|
22500
|
+
| PickFromUnion<
|
|
22501
|
+
NativeBehaviorEvent,
|
|
22502
|
+
'type',
|
|
22503
|
+
'drag.drop' | 'clipboard.paste'
|
|
22504
|
+
>
|
|
22505
|
+
| InputBehaviorEvent_3
|
|
22218
22506
|
})
|
|
22219
22507
|
| {
|
|
22220
22508
|
type: 'serialization.success'
|
|
@@ -22575,22 +22863,26 @@ declare const editorMachine: StateMachine<
|
|
|
22575
22863
|
mimeType: `${string}/${string}`
|
|
22576
22864
|
reason: string
|
|
22577
22865
|
} & {
|
|
22578
|
-
originEvent:
|
|
22579
|
-
|
|
22580
|
-
|
|
22581
|
-
|
|
22582
|
-
|
|
22866
|
+
originEvent:
|
|
22867
|
+
| PickFromUnion<
|
|
22868
|
+
NativeBehaviorEvent,
|
|
22869
|
+
'type',
|
|
22870
|
+
'drag.drop' | 'clipboard.paste'
|
|
22871
|
+
>
|
|
22872
|
+
| InputBehaviorEvent_3
|
|
22583
22873
|
})
|
|
22584
22874
|
| ({
|
|
22585
22875
|
type: 'deserialization.success'
|
|
22586
22876
|
data: Array<PortableTextBlock>
|
|
22587
22877
|
mimeType: `${string}/${string}`
|
|
22588
22878
|
} & {
|
|
22589
|
-
originEvent:
|
|
22590
|
-
|
|
22591
|
-
|
|
22592
|
-
|
|
22593
|
-
|
|
22879
|
+
originEvent:
|
|
22880
|
+
| PickFromUnion<
|
|
22881
|
+
NativeBehaviorEvent,
|
|
22882
|
+
'type',
|
|
22883
|
+
'drag.drop' | 'clipboard.paste'
|
|
22884
|
+
>
|
|
22885
|
+
| InputBehaviorEvent_3
|
|
22594
22886
|
})
|
|
22595
22887
|
| {
|
|
22596
22888
|
type: 'serialization.success'
|
|
@@ -22910,22 +23202,26 @@ declare const editorMachine: StateMachine<
|
|
|
22910
23202
|
mimeType: `${string}/${string}`
|
|
22911
23203
|
reason: string
|
|
22912
23204
|
} & {
|
|
22913
|
-
originEvent:
|
|
22914
|
-
|
|
22915
|
-
|
|
22916
|
-
|
|
22917
|
-
|
|
23205
|
+
originEvent:
|
|
23206
|
+
| PickFromUnion<
|
|
23207
|
+
NativeBehaviorEvent,
|
|
23208
|
+
'type',
|
|
23209
|
+
'drag.drop' | 'clipboard.paste'
|
|
23210
|
+
>
|
|
23211
|
+
| InputBehaviorEvent_3
|
|
22918
23212
|
})
|
|
22919
23213
|
| ({
|
|
22920
23214
|
type: 'deserialization.success'
|
|
22921
23215
|
data: Array<PortableTextBlock>
|
|
22922
23216
|
mimeType: `${string}/${string}`
|
|
22923
23217
|
} & {
|
|
22924
|
-
originEvent:
|
|
22925
|
-
|
|
22926
|
-
|
|
22927
|
-
|
|
22928
|
-
|
|
23218
|
+
originEvent:
|
|
23219
|
+
| PickFromUnion<
|
|
23220
|
+
NativeBehaviorEvent,
|
|
23221
|
+
'type',
|
|
23222
|
+
'drag.drop' | 'clipboard.paste'
|
|
23223
|
+
>
|
|
23224
|
+
| InputBehaviorEvent_3
|
|
22929
23225
|
})
|
|
22930
23226
|
| {
|
|
22931
23227
|
type: 'serialization.success'
|
|
@@ -23317,22 +23613,26 @@ declare const editorMachine: StateMachine<
|
|
|
23317
23613
|
mimeType: `${string}/${string}`
|
|
23318
23614
|
reason: string
|
|
23319
23615
|
} & {
|
|
23320
|
-
originEvent:
|
|
23321
|
-
|
|
23322
|
-
|
|
23323
|
-
|
|
23324
|
-
|
|
23616
|
+
originEvent:
|
|
23617
|
+
| PickFromUnion<
|
|
23618
|
+
NativeBehaviorEvent,
|
|
23619
|
+
'type',
|
|
23620
|
+
'drag.drop' | 'clipboard.paste'
|
|
23621
|
+
>
|
|
23622
|
+
| InputBehaviorEvent_3
|
|
23325
23623
|
})
|
|
23326
23624
|
| ({
|
|
23327
23625
|
type: 'deserialization.success'
|
|
23328
23626
|
data: Array<PortableTextBlock>
|
|
23329
23627
|
mimeType: `${string}/${string}`
|
|
23330
23628
|
} & {
|
|
23331
|
-
originEvent:
|
|
23332
|
-
|
|
23333
|
-
|
|
23334
|
-
|
|
23335
|
-
|
|
23629
|
+
originEvent:
|
|
23630
|
+
| PickFromUnion<
|
|
23631
|
+
NativeBehaviorEvent,
|
|
23632
|
+
'type',
|
|
23633
|
+
'drag.drop' | 'clipboard.paste'
|
|
23634
|
+
>
|
|
23635
|
+
| InputBehaviorEvent_3
|
|
23336
23636
|
})
|
|
23337
23637
|
| {
|
|
23338
23638
|
type: 'serialization.success'
|
|
@@ -23688,22 +23988,26 @@ declare const editorMachine: StateMachine<
|
|
|
23688
23988
|
mimeType: `${string}/${string}`
|
|
23689
23989
|
reason: string
|
|
23690
23990
|
} & {
|
|
23691
|
-
originEvent:
|
|
23692
|
-
|
|
23693
|
-
|
|
23694
|
-
|
|
23695
|
-
|
|
23991
|
+
originEvent:
|
|
23992
|
+
| PickFromUnion<
|
|
23993
|
+
NativeBehaviorEvent,
|
|
23994
|
+
'type',
|
|
23995
|
+
'drag.drop' | 'clipboard.paste'
|
|
23996
|
+
>
|
|
23997
|
+
| InputBehaviorEvent_3
|
|
23696
23998
|
})
|
|
23697
23999
|
| ({
|
|
23698
24000
|
type: 'deserialization.success'
|
|
23699
24001
|
data: Array<PortableTextBlock>
|
|
23700
24002
|
mimeType: `${string}/${string}`
|
|
23701
24003
|
} & {
|
|
23702
|
-
originEvent:
|
|
23703
|
-
|
|
23704
|
-
|
|
23705
|
-
|
|
23706
|
-
|
|
24004
|
+
originEvent:
|
|
24005
|
+
| PickFromUnion<
|
|
24006
|
+
NativeBehaviorEvent,
|
|
24007
|
+
'type',
|
|
24008
|
+
'drag.drop' | 'clipboard.paste'
|
|
24009
|
+
>
|
|
24010
|
+
| InputBehaviorEvent_3
|
|
23707
24011
|
})
|
|
23708
24012
|
| {
|
|
23709
24013
|
type: 'serialization.success'
|
|
@@ -24076,22 +24380,26 @@ declare const editorMachine: StateMachine<
|
|
|
24076
24380
|
mimeType: `${string}/${string}`
|
|
24077
24381
|
reason: string
|
|
24078
24382
|
} & {
|
|
24079
|
-
originEvent:
|
|
24080
|
-
|
|
24081
|
-
|
|
24082
|
-
|
|
24083
|
-
|
|
24383
|
+
originEvent:
|
|
24384
|
+
| PickFromUnion<
|
|
24385
|
+
NativeBehaviorEvent,
|
|
24386
|
+
'type',
|
|
24387
|
+
'drag.drop' | 'clipboard.paste'
|
|
24388
|
+
>
|
|
24389
|
+
| InputBehaviorEvent_3
|
|
24084
24390
|
})
|
|
24085
24391
|
| ({
|
|
24086
24392
|
type: 'deserialization.success'
|
|
24087
24393
|
data: Array<PortableTextBlock>
|
|
24088
24394
|
mimeType: `${string}/${string}`
|
|
24089
24395
|
} & {
|
|
24090
|
-
originEvent:
|
|
24091
|
-
|
|
24092
|
-
|
|
24093
|
-
|
|
24094
|
-
|
|
24396
|
+
originEvent:
|
|
24397
|
+
| PickFromUnion<
|
|
24398
|
+
NativeBehaviorEvent,
|
|
24399
|
+
'type',
|
|
24400
|
+
'drag.drop' | 'clipboard.paste'
|
|
24401
|
+
>
|
|
24402
|
+
| InputBehaviorEvent_3
|
|
24095
24403
|
})
|
|
24096
24404
|
| {
|
|
24097
24405
|
type: 'serialization.success'
|
|
@@ -24447,22 +24755,26 @@ declare const editorMachine: StateMachine<
|
|
|
24447
24755
|
mimeType: `${string}/${string}`
|
|
24448
24756
|
reason: string
|
|
24449
24757
|
} & {
|
|
24450
|
-
originEvent:
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
|
|
24454
|
-
|
|
24758
|
+
originEvent:
|
|
24759
|
+
| PickFromUnion<
|
|
24760
|
+
NativeBehaviorEvent,
|
|
24761
|
+
'type',
|
|
24762
|
+
'drag.drop' | 'clipboard.paste'
|
|
24763
|
+
>
|
|
24764
|
+
| InputBehaviorEvent_3
|
|
24455
24765
|
})
|
|
24456
24766
|
| ({
|
|
24457
24767
|
type: 'deserialization.success'
|
|
24458
24768
|
data: Array<PortableTextBlock>
|
|
24459
24769
|
mimeType: `${string}/${string}`
|
|
24460
24770
|
} & {
|
|
24461
|
-
originEvent:
|
|
24462
|
-
|
|
24463
|
-
|
|
24464
|
-
|
|
24465
|
-
|
|
24771
|
+
originEvent:
|
|
24772
|
+
| PickFromUnion<
|
|
24773
|
+
NativeBehaviorEvent,
|
|
24774
|
+
'type',
|
|
24775
|
+
'drag.drop' | 'clipboard.paste'
|
|
24776
|
+
>
|
|
24777
|
+
| InputBehaviorEvent_3
|
|
24466
24778
|
})
|
|
24467
24779
|
| {
|
|
24468
24780
|
type: 'serialization.success'
|
|
@@ -24782,6 +25094,24 @@ declare type HistoryItem = {
|
|
|
24782
25094
|
timestamp: Date
|
|
24783
25095
|
}
|
|
24784
25096
|
|
|
25097
|
+
/**
|
|
25098
|
+
* Used to represent native InputEvents that hold a DataTransfer object.
|
|
25099
|
+
*
|
|
25100
|
+
* These can either be one of:
|
|
25101
|
+
*
|
|
25102
|
+
* - insertFromPaste
|
|
25103
|
+
* - insertFromPasteAsQuotation
|
|
25104
|
+
* - insertFromDrop
|
|
25105
|
+
* - insertReplacementText
|
|
25106
|
+
* - insertFromYank
|
|
25107
|
+
*/
|
|
25108
|
+
declare type InputBehaviorEvent_2 = {
|
|
25109
|
+
type: 'input.*'
|
|
25110
|
+
originEvent: {
|
|
25111
|
+
dataTransfer: DataTransfer
|
|
25112
|
+
}
|
|
25113
|
+
}
|
|
25114
|
+
|
|
24785
25115
|
declare type InsertPlacement_2 = 'auto' | 'after' | 'before'
|
|
24786
25116
|
|
|
24787
25117
|
declare type InternalPatchEvent = NamespaceEvent<PatchEvent, 'internal'> & {
|
|
@@ -24902,9 +25232,10 @@ declare type NamespaceEvent<
|
|
|
24902
25232
|
*/
|
|
24903
25233
|
export declare type NativeBehaviorEvent =
|
|
24904
25234
|
| ClipboardBehaviorEvent
|
|
25235
|
+
| DragBehaviorEvent
|
|
25236
|
+
| InputBehaviorEvent_2
|
|
24905
25237
|
| KeyboardBehaviorEvent
|
|
24906
25238
|
| MouseBehaviorEvent_2
|
|
24907
|
-
| DragBehaviorEvent
|
|
24908
25239
|
|
|
24909
25240
|
/**
|
|
24910
25241
|
* @internal
|
|
@@ -25211,11 +25542,13 @@ export declare type SyntheticBehaviorEvent =
|
|
|
25211
25542
|
'type',
|
|
25212
25543
|
'deserialization.failure' | 'deserialization.success'
|
|
25213
25544
|
> & {
|
|
25214
|
-
originEvent:
|
|
25215
|
-
|
|
25216
|
-
|
|
25217
|
-
|
|
25218
|
-
|
|
25545
|
+
originEvent:
|
|
25546
|
+
| PickFromUnion_2<
|
|
25547
|
+
NativeBehaviorEvent,
|
|
25548
|
+
'type',
|
|
25549
|
+
'drag.drop' | 'clipboard.paste'
|
|
25550
|
+
>
|
|
25551
|
+
| InputBehaviorEvent_2
|
|
25219
25552
|
})
|
|
25220
25553
|
| {
|
|
25221
25554
|
type: 'serialization.success'
|