@portabletext/editor 1.48.10 → 1.48.11
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/editor-provider.cjs +776 -122
- package/lib/_chunks-cjs/editor-provider.cjs.map +1 -1
- package/lib/_chunks-cjs/selector.get-focus-inline-object.cjs +2 -2
- package/lib/_chunks-cjs/selector.get-focus-inline-object.cjs.map +1 -1
- package/lib/_chunks-cjs/selector.get-text-before.cjs +2 -2
- package/lib/_chunks-cjs/selector.get-text-before.cjs.map +1 -1
- package/lib/_chunks-cjs/selector.is-selecting-entire-blocks.cjs +464 -19
- package/lib/_chunks-cjs/selector.is-selecting-entire-blocks.cjs.map +1 -1
- package/lib/_chunks-cjs/util.selection-point-to-block-offset.cjs +9 -1
- package/lib/_chunks-cjs/util.selection-point-to-block-offset.cjs.map +1 -1
- package/lib/_chunks-cjs/util.slice-blocks.cjs +2 -2
- package/lib/_chunks-es/editor-provider.js +670 -18
- package/lib/_chunks-es/editor-provider.js.map +1 -1
- package/lib/_chunks-es/selector.get-focus-inline-object.js +1 -1
- package/lib/_chunks-es/selector.get-text-before.js +1 -1
- package/lib/_chunks-es/selector.is-selecting-entire-blocks.js +448 -3
- package/lib/_chunks-es/selector.is-selecting-entire-blocks.js.map +1 -1
- package/lib/_chunks-es/util.selection-point-to-block-offset.js +9 -1
- package/lib/_chunks-es/util.selection-point-to-block-offset.js.map +1 -1
- package/lib/_chunks-es/util.slice-blocks.js +2 -2
- package/lib/behaviors/index.cjs +27 -377
- package/lib/behaviors/index.cjs.map +1 -1
- package/lib/behaviors/index.d.cts +2863 -13243
- package/lib/behaviors/index.d.ts +2863 -13243
- package/lib/behaviors/index.js +22 -377
- package/lib/behaviors/index.js.map +1 -1
- package/lib/index.cjs +17 -17
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +2563 -110
- package/lib/index.d.ts +2563 -110
- package/lib/index.js +4 -5
- package/lib/index.js.map +1 -1
- package/lib/plugins/index.cjs +347 -30
- package/lib/plugins/index.cjs.map +1 -1
- package/lib/plugins/index.d.cts +2563 -111
- package/lib/plugins/index.d.ts +2563 -111
- package/lib/plugins/index.js +324 -8
- package/lib/plugins/index.js.map +1 -1
- package/lib/selectors/index.cjs +29 -29
- package/lib/selectors/index.cjs.map +1 -1
- package/lib/selectors/index.d.cts +2562 -103
- package/lib/selectors/index.d.ts +2562 -103
- package/lib/selectors/index.js +2 -3
- package/lib/selectors/index.js.map +1 -1
- package/lib/utils/index.cjs +5 -5
- package/lib/utils/index.cjs.map +1 -1
- package/lib/utils/index.d.cts +2563 -105
- package/lib/utils/index.d.ts +2563 -105
- package/lib/utils/index.js +2 -3
- package/lib/utils/index.js.map +1 -1
- package/package.json +3 -3
- package/src/behaviors/behavior.emoji-picker.ts +0 -6
- package/src/behaviors/behavior.markdown.ts +0 -48
- package/src/behaviors/index.ts +0 -15
- package/src/editor/create-editor.ts +0 -3
- package/src/editor/editor-machine.ts +1 -13
- package/src/internal-utils/__tests__/operationToPatches.test.ts +0 -2
- package/src/internal-utils/__tests__/patchToOperations.test.ts +0 -2
- package/src/plugins/plugin.core.tsx +1 -1
- package/lib/_chunks-cjs/behavior.core.cjs +0 -700
- package/lib/_chunks-cjs/behavior.core.cjs.map +0 -1
- package/lib/_chunks-cjs/behavior.markdown.cjs +0 -321
- package/lib/_chunks-cjs/behavior.markdown.cjs.map +0 -1
- package/lib/_chunks-cjs/selector.is-overlapping-selection.cjs +0 -449
- package/lib/_chunks-cjs/selector.is-overlapping-selection.cjs.map +0 -1
- package/lib/_chunks-cjs/util.get-selection-start-point.cjs +0 -10
- package/lib/_chunks-cjs/util.get-selection-start-point.cjs.map +0 -1
- package/lib/_chunks-es/behavior.core.js +0 -703
- package/lib/_chunks-es/behavior.core.js.map +0 -1
- package/lib/_chunks-es/behavior.markdown.js +0 -325
- package/lib/_chunks-es/behavior.markdown.js.map +0 -1
- package/lib/_chunks-es/selector.is-overlapping-selection.js +0 -451
- package/lib/_chunks-es/selector.is-overlapping-selection.js.map +0 -1
- package/lib/_chunks-es/util.get-selection-start-point.js +0 -11
- package/lib/_chunks-es/util.get-selection-start-point.js.map +0 -1
- package/src/behaviors/behavior.code-editor.ts +0 -77
- package/src/behaviors/behavior.links.ts +0 -84
- package/src/internal-utils/looks-like-url.test.ts +0 -19
- package/src/internal-utils/looks-like-url.ts +0 -15
package/lib/index.d.cts
CHANGED
|
@@ -5,7 +5,6 @@ import type {
|
|
|
5
5
|
BlockDecoratorDefinition,
|
|
6
6
|
BlockListDefinition,
|
|
7
7
|
BlockStyleDefinition,
|
|
8
|
-
KeyedSegment,
|
|
9
8
|
ObjectSchemaType,
|
|
10
9
|
Path,
|
|
11
10
|
PortableTextListBlock,
|
|
@@ -13,6 +12,7 @@ import type {
|
|
|
13
12
|
TypedObject,
|
|
14
13
|
} from '@sanity/types'
|
|
15
14
|
import {
|
|
15
|
+
KeyedSegment,
|
|
16
16
|
PortableTextBlock,
|
|
17
17
|
PortableTextChild,
|
|
18
18
|
PortableTextSpan,
|
|
@@ -37,8 +37,8 @@ import {
|
|
|
37
37
|
TextareaHTMLAttributes,
|
|
38
38
|
} from 'react'
|
|
39
39
|
import type {Observable, Subject} from 'rxjs'
|
|
40
|
-
import {Descendant} from 'slate'
|
|
41
|
-
import type {Operation
|
|
40
|
+
import {Descendant, TextUnit} from 'slate'
|
|
41
|
+
import type {Operation} from 'slate'
|
|
42
42
|
import type {DOMNode} from 'slate-dom'
|
|
43
43
|
import type {ReactEditor} from 'slate-react'
|
|
44
44
|
import {
|
|
@@ -63,6 +63,22 @@ import {
|
|
|
63
63
|
} from 'xstate'
|
|
64
64
|
import type {EventObject, Snapshot} from 'xstate'
|
|
65
65
|
import {GuardArgs} from 'xstate/guards'
|
|
66
|
+
import {BlockOffset as BlockOffset_2} from '..'
|
|
67
|
+
import {
|
|
68
|
+
CustomBehaviorEvent as CustomBehaviorEvent_2,
|
|
69
|
+
NativeBehaviorEvent as NativeBehaviorEvent_2,
|
|
70
|
+
} from '../behaviors'
|
|
71
|
+
import {
|
|
72
|
+
InputBehaviorEvent as InputBehaviorEvent_2,
|
|
73
|
+
InsertPlacement as InsertPlacement_2,
|
|
74
|
+
MouseBehaviorEvent as MouseBehaviorEvent_2,
|
|
75
|
+
} from '../behaviors/behavior.types.event'
|
|
76
|
+
import {MIMEType as MIMEType_2} from '../internal-utils/mime-type'
|
|
77
|
+
import {
|
|
78
|
+
PickFromUnion as PickFromUnion_2,
|
|
79
|
+
StrictExtract as StrictExtract_2,
|
|
80
|
+
} from '../type-utils'
|
|
81
|
+
import {BlockWithOptionalKey as BlockWithOptionalKey_2} from '../types/block-with-optional-key'
|
|
66
82
|
import {Editor as Editor_2} from './create-editor'
|
|
67
83
|
|
|
68
84
|
declare type AbstractBehaviorEvent =
|
|
@@ -768,7 +784,6 @@ export declare type EditorConfig = {
|
|
|
768
784
|
/**
|
|
769
785
|
* @beta
|
|
770
786
|
*/
|
|
771
|
-
behaviors?: Array<Behavior>
|
|
772
787
|
keyGenerator?: () => string
|
|
773
788
|
/**
|
|
774
789
|
* @deprecated Will be removed in the next major version
|
|
@@ -908,10 +923,6 @@ declare const editorMachine: StateMachine<
|
|
|
908
923
|
type: 'update schema'
|
|
909
924
|
schema: EditorSchema
|
|
910
925
|
}
|
|
911
|
-
| {
|
|
912
|
-
type: 'update behaviors'
|
|
913
|
-
behaviors: Array<Behavior>
|
|
914
|
-
}
|
|
915
926
|
| {
|
|
916
927
|
type: 'update key generator'
|
|
917
928
|
keyGenerator: () => string
|
|
@@ -1030,10 +1041,6 @@ declare const editorMachine: StateMachine<
|
|
|
1030
1041
|
type: 'remove behavior from context'
|
|
1031
1042
|
params: NonReducibleUnknown
|
|
1032
1043
|
}
|
|
1033
|
-
'assign behaviors': {
|
|
1034
|
-
type: 'assign behaviors'
|
|
1035
|
-
params: NonReducibleUnknown
|
|
1036
|
-
}
|
|
1037
1044
|
'assign schema': {
|
|
1038
1045
|
type: 'assign schema'
|
|
1039
1046
|
params: NonReducibleUnknown
|
|
@@ -1128,7 +1135,6 @@ declare const editorMachine: StateMachine<
|
|
|
1128
1135
|
},
|
|
1129
1136
|
'dragging internally',
|
|
1130
1137
|
{
|
|
1131
|
-
behaviors?: Array<Behavior>
|
|
1132
1138
|
converters?: Array<Converter>
|
|
1133
1139
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
1134
1140
|
keyGenerator: () => string
|
|
@@ -1214,7 +1220,6 @@ declare const editorMachine: StateMachine<
|
|
|
1214
1220
|
): ActorRefFromLogic<TLogic>
|
|
1215
1221
|
}
|
|
1216
1222
|
input: {
|
|
1217
|
-
behaviors?: Array<Behavior>
|
|
1218
1223
|
converters?: Array<Converter>
|
|
1219
1224
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
1220
1225
|
keyGenerator: () => string
|
|
@@ -1262,10 +1267,6 @@ declare const editorMachine: StateMachine<
|
|
|
1262
1267
|
type: 'update schema'
|
|
1263
1268
|
schema: EditorSchema
|
|
1264
1269
|
}
|
|
1265
|
-
| {
|
|
1266
|
-
type: 'update behaviors'
|
|
1267
|
-
behaviors: Array<Behavior>
|
|
1268
|
-
}
|
|
1269
1270
|
| {
|
|
1270
1271
|
type: 'update key generator'
|
|
1271
1272
|
keyGenerator: () => string
|
|
@@ -1399,10 +1400,6 @@ declare const editorMachine: StateMachine<
|
|
|
1399
1400
|
type: 'update schema'
|
|
1400
1401
|
schema: EditorSchema
|
|
1401
1402
|
}
|
|
1402
|
-
| {
|
|
1403
|
-
type: 'update behaviors'
|
|
1404
|
-
behaviors: Array<Behavior>
|
|
1405
|
-
}
|
|
1406
1403
|
| {
|
|
1407
1404
|
type: 'update key generator'
|
|
1408
1405
|
keyGenerator: () => string
|
|
@@ -1513,7 +1510,2550 @@ declare const editorMachine: StateMachine<
|
|
|
1513
1510
|
AnyEventObject
|
|
1514
1511
|
>
|
|
1515
1512
|
}) => {
|
|
1516
|
-
behaviors: Set<
|
|
1513
|
+
behaviors: Set<
|
|
1514
|
+
Behavior<
|
|
1515
|
+
| 'serialize'
|
|
1516
|
+
| 'clipboard.copy'
|
|
1517
|
+
| 'clipboard.cut'
|
|
1518
|
+
| 'drag.dragstart'
|
|
1519
|
+
| 'serialization.failure'
|
|
1520
|
+
| 'serialization.success'
|
|
1521
|
+
| 'deserialize'
|
|
1522
|
+
| 'deserialization.failure'
|
|
1523
|
+
| 'deserialization.success'
|
|
1524
|
+
| 'split'
|
|
1525
|
+
| 'delete'
|
|
1526
|
+
| 'select'
|
|
1527
|
+
| '*'
|
|
1528
|
+
| 'annotation.add'
|
|
1529
|
+
| 'annotation.remove'
|
|
1530
|
+
| 'block.set'
|
|
1531
|
+
| 'block.unset'
|
|
1532
|
+
| 'decorator.add'
|
|
1533
|
+
| 'decorator.remove'
|
|
1534
|
+
| 'delete.backward'
|
|
1535
|
+
| 'delete.block'
|
|
1536
|
+
| 'delete.forward'
|
|
1537
|
+
| 'history.redo'
|
|
1538
|
+
| 'history.undo'
|
|
1539
|
+
| 'insert.inline object'
|
|
1540
|
+
| 'insert.block'
|
|
1541
|
+
| 'insert.span'
|
|
1542
|
+
| 'insert.text'
|
|
1543
|
+
| 'move.backward'
|
|
1544
|
+
| 'move.block'
|
|
1545
|
+
| 'move.forward'
|
|
1546
|
+
| 'annotation.toggle'
|
|
1547
|
+
| 'decorator.toggle'
|
|
1548
|
+
| 'delete.text'
|
|
1549
|
+
| 'insert.blocks'
|
|
1550
|
+
| 'insert.break'
|
|
1551
|
+
| 'insert.soft break'
|
|
1552
|
+
| 'list item.add'
|
|
1553
|
+
| 'list item.remove'
|
|
1554
|
+
| 'list item.toggle'
|
|
1555
|
+
| 'move.block down'
|
|
1556
|
+
| 'move.block up'
|
|
1557
|
+
| 'select.previous block'
|
|
1558
|
+
| 'select.next block'
|
|
1559
|
+
| 'style.add'
|
|
1560
|
+
| 'style.remove'
|
|
1561
|
+
| 'style.toggle'
|
|
1562
|
+
| 'clipboard.paste'
|
|
1563
|
+
| 'drag.drag'
|
|
1564
|
+
| 'drag.dragend'
|
|
1565
|
+
| 'drag.dragenter'
|
|
1566
|
+
| 'drag.dragover'
|
|
1567
|
+
| 'drag.dragleave'
|
|
1568
|
+
| 'drag.drop'
|
|
1569
|
+
| 'input.*'
|
|
1570
|
+
| 'keyboard.keydown'
|
|
1571
|
+
| 'keyboard.keyup'
|
|
1572
|
+
| 'mouse.click'
|
|
1573
|
+
| 'serialize.*'
|
|
1574
|
+
| 'deserialize.*'
|
|
1575
|
+
| 'split.*'
|
|
1576
|
+
| 'block.*'
|
|
1577
|
+
| 'style.*'
|
|
1578
|
+
| 'delete.*'
|
|
1579
|
+
| 'move.*'
|
|
1580
|
+
| 'select.*'
|
|
1581
|
+
| 'history.*'
|
|
1582
|
+
| 'serialization.*'
|
|
1583
|
+
| 'deserialization.*'
|
|
1584
|
+
| 'annotation.*'
|
|
1585
|
+
| 'decorator.*'
|
|
1586
|
+
| 'insert.*'
|
|
1587
|
+
| 'list item.*'
|
|
1588
|
+
| 'clipboard.*'
|
|
1589
|
+
| 'drag.*'
|
|
1590
|
+
| 'keyboard.*'
|
|
1591
|
+
| 'mouse.*'
|
|
1592
|
+
| `custom.${string}`,
|
|
1593
|
+
true,
|
|
1594
|
+
| {
|
|
1595
|
+
type: StrictExtract_2<
|
|
1596
|
+
| 'serialize'
|
|
1597
|
+
| 'serialization.failure'
|
|
1598
|
+
| 'serialization.success'
|
|
1599
|
+
| 'deserialize'
|
|
1600
|
+
| 'deserialization.failure'
|
|
1601
|
+
| 'deserialization.success'
|
|
1602
|
+
| 'split'
|
|
1603
|
+
| 'delete'
|
|
1604
|
+
| 'select'
|
|
1605
|
+
| 'annotation.add'
|
|
1606
|
+
| 'annotation.remove'
|
|
1607
|
+
| 'block.set'
|
|
1608
|
+
| 'block.unset'
|
|
1609
|
+
| 'decorator.add'
|
|
1610
|
+
| 'decorator.remove'
|
|
1611
|
+
| 'delete.backward'
|
|
1612
|
+
| 'delete.block'
|
|
1613
|
+
| 'delete.forward'
|
|
1614
|
+
| 'history.redo'
|
|
1615
|
+
| 'history.undo'
|
|
1616
|
+
| 'insert.inline object'
|
|
1617
|
+
| 'insert.block'
|
|
1618
|
+
| 'insert.span'
|
|
1619
|
+
| 'insert.text'
|
|
1620
|
+
| 'move.backward'
|
|
1621
|
+
| 'move.block'
|
|
1622
|
+
| 'move.forward'
|
|
1623
|
+
| 'annotation.toggle'
|
|
1624
|
+
| 'decorator.toggle'
|
|
1625
|
+
| 'delete.text'
|
|
1626
|
+
| 'insert.blocks'
|
|
1627
|
+
| 'insert.break'
|
|
1628
|
+
| 'insert.soft break'
|
|
1629
|
+
| 'list item.add'
|
|
1630
|
+
| 'list item.remove'
|
|
1631
|
+
| 'list item.toggle'
|
|
1632
|
+
| 'move.block down'
|
|
1633
|
+
| 'move.block up'
|
|
1634
|
+
| 'select.previous block'
|
|
1635
|
+
| 'select.next block'
|
|
1636
|
+
| 'style.add'
|
|
1637
|
+
| 'style.remove'
|
|
1638
|
+
| 'style.toggle',
|
|
1639
|
+
'annotation.add'
|
|
1640
|
+
>
|
|
1641
|
+
annotation: {
|
|
1642
|
+
name: string
|
|
1643
|
+
value: {
|
|
1644
|
+
[prop: string]: unknown
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
| {
|
|
1649
|
+
type: StrictExtract_2<
|
|
1650
|
+
| 'serialize'
|
|
1651
|
+
| 'serialization.failure'
|
|
1652
|
+
| 'serialization.success'
|
|
1653
|
+
| 'deserialize'
|
|
1654
|
+
| 'deserialization.failure'
|
|
1655
|
+
| 'deserialization.success'
|
|
1656
|
+
| 'split'
|
|
1657
|
+
| 'delete'
|
|
1658
|
+
| 'select'
|
|
1659
|
+
| 'annotation.add'
|
|
1660
|
+
| 'annotation.remove'
|
|
1661
|
+
| 'block.set'
|
|
1662
|
+
| 'block.unset'
|
|
1663
|
+
| 'decorator.add'
|
|
1664
|
+
| 'decorator.remove'
|
|
1665
|
+
| 'delete.backward'
|
|
1666
|
+
| 'delete.block'
|
|
1667
|
+
| 'delete.forward'
|
|
1668
|
+
| 'history.redo'
|
|
1669
|
+
| 'history.undo'
|
|
1670
|
+
| 'insert.inline object'
|
|
1671
|
+
| 'insert.block'
|
|
1672
|
+
| 'insert.span'
|
|
1673
|
+
| 'insert.text'
|
|
1674
|
+
| 'move.backward'
|
|
1675
|
+
| 'move.block'
|
|
1676
|
+
| 'move.forward'
|
|
1677
|
+
| 'annotation.toggle'
|
|
1678
|
+
| 'decorator.toggle'
|
|
1679
|
+
| 'delete.text'
|
|
1680
|
+
| 'insert.blocks'
|
|
1681
|
+
| 'insert.break'
|
|
1682
|
+
| 'insert.soft break'
|
|
1683
|
+
| 'list item.add'
|
|
1684
|
+
| 'list item.remove'
|
|
1685
|
+
| 'list item.toggle'
|
|
1686
|
+
| 'move.block down'
|
|
1687
|
+
| 'move.block up'
|
|
1688
|
+
| 'select.previous block'
|
|
1689
|
+
| 'select.next block'
|
|
1690
|
+
| 'style.add'
|
|
1691
|
+
| 'style.remove'
|
|
1692
|
+
| 'style.toggle',
|
|
1693
|
+
'annotation.remove'
|
|
1694
|
+
>
|
|
1695
|
+
annotation: {
|
|
1696
|
+
name: string
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
| {
|
|
1700
|
+
type: StrictExtract_2<
|
|
1701
|
+
| 'serialize'
|
|
1702
|
+
| 'serialization.failure'
|
|
1703
|
+
| 'serialization.success'
|
|
1704
|
+
| 'deserialize'
|
|
1705
|
+
| 'deserialization.failure'
|
|
1706
|
+
| 'deserialization.success'
|
|
1707
|
+
| 'split'
|
|
1708
|
+
| 'delete'
|
|
1709
|
+
| 'select'
|
|
1710
|
+
| 'annotation.add'
|
|
1711
|
+
| 'annotation.remove'
|
|
1712
|
+
| 'block.set'
|
|
1713
|
+
| 'block.unset'
|
|
1714
|
+
| 'decorator.add'
|
|
1715
|
+
| 'decorator.remove'
|
|
1716
|
+
| 'delete.backward'
|
|
1717
|
+
| 'delete.block'
|
|
1718
|
+
| 'delete.forward'
|
|
1719
|
+
| 'history.redo'
|
|
1720
|
+
| 'history.undo'
|
|
1721
|
+
| 'insert.inline object'
|
|
1722
|
+
| 'insert.block'
|
|
1723
|
+
| 'insert.span'
|
|
1724
|
+
| 'insert.text'
|
|
1725
|
+
| 'move.backward'
|
|
1726
|
+
| 'move.block'
|
|
1727
|
+
| 'move.forward'
|
|
1728
|
+
| 'annotation.toggle'
|
|
1729
|
+
| 'decorator.toggle'
|
|
1730
|
+
| 'delete.text'
|
|
1731
|
+
| 'insert.blocks'
|
|
1732
|
+
| 'insert.break'
|
|
1733
|
+
| 'insert.soft break'
|
|
1734
|
+
| 'list item.add'
|
|
1735
|
+
| 'list item.remove'
|
|
1736
|
+
| 'list item.toggle'
|
|
1737
|
+
| 'move.block down'
|
|
1738
|
+
| 'move.block up'
|
|
1739
|
+
| 'select.previous block'
|
|
1740
|
+
| 'select.next block'
|
|
1741
|
+
| 'style.add'
|
|
1742
|
+
| 'style.remove'
|
|
1743
|
+
| 'style.toggle',
|
|
1744
|
+
'block.set'
|
|
1745
|
+
>
|
|
1746
|
+
at: [KeyedSegment]
|
|
1747
|
+
props: Record<string, unknown>
|
|
1748
|
+
}
|
|
1749
|
+
| {
|
|
1750
|
+
type: StrictExtract_2<
|
|
1751
|
+
| 'serialize'
|
|
1752
|
+
| 'serialization.failure'
|
|
1753
|
+
| 'serialization.success'
|
|
1754
|
+
| 'deserialize'
|
|
1755
|
+
| 'deserialization.failure'
|
|
1756
|
+
| 'deserialization.success'
|
|
1757
|
+
| 'split'
|
|
1758
|
+
| 'delete'
|
|
1759
|
+
| 'select'
|
|
1760
|
+
| 'annotation.add'
|
|
1761
|
+
| 'annotation.remove'
|
|
1762
|
+
| 'block.set'
|
|
1763
|
+
| 'block.unset'
|
|
1764
|
+
| 'decorator.add'
|
|
1765
|
+
| 'decorator.remove'
|
|
1766
|
+
| 'delete.backward'
|
|
1767
|
+
| 'delete.block'
|
|
1768
|
+
| 'delete.forward'
|
|
1769
|
+
| 'history.redo'
|
|
1770
|
+
| 'history.undo'
|
|
1771
|
+
| 'insert.inline object'
|
|
1772
|
+
| 'insert.block'
|
|
1773
|
+
| 'insert.span'
|
|
1774
|
+
| 'insert.text'
|
|
1775
|
+
| 'move.backward'
|
|
1776
|
+
| 'move.block'
|
|
1777
|
+
| 'move.forward'
|
|
1778
|
+
| 'annotation.toggle'
|
|
1779
|
+
| 'decorator.toggle'
|
|
1780
|
+
| 'delete.text'
|
|
1781
|
+
| 'insert.blocks'
|
|
1782
|
+
| 'insert.break'
|
|
1783
|
+
| 'insert.soft break'
|
|
1784
|
+
| 'list item.add'
|
|
1785
|
+
| 'list item.remove'
|
|
1786
|
+
| 'list item.toggle'
|
|
1787
|
+
| 'move.block down'
|
|
1788
|
+
| 'move.block up'
|
|
1789
|
+
| 'select.previous block'
|
|
1790
|
+
| 'select.next block'
|
|
1791
|
+
| 'style.add'
|
|
1792
|
+
| 'style.remove'
|
|
1793
|
+
| 'style.toggle',
|
|
1794
|
+
'block.unset'
|
|
1795
|
+
>
|
|
1796
|
+
at: [KeyedSegment]
|
|
1797
|
+
props: Array<string>
|
|
1798
|
+
}
|
|
1799
|
+
| {
|
|
1800
|
+
type: StrictExtract_2<
|
|
1801
|
+
| 'serialize'
|
|
1802
|
+
| 'serialization.failure'
|
|
1803
|
+
| 'serialization.success'
|
|
1804
|
+
| 'deserialize'
|
|
1805
|
+
| 'deserialization.failure'
|
|
1806
|
+
| 'deserialization.success'
|
|
1807
|
+
| 'split'
|
|
1808
|
+
| 'delete'
|
|
1809
|
+
| 'select'
|
|
1810
|
+
| 'annotation.add'
|
|
1811
|
+
| 'annotation.remove'
|
|
1812
|
+
| 'block.set'
|
|
1813
|
+
| 'block.unset'
|
|
1814
|
+
| 'decorator.add'
|
|
1815
|
+
| 'decorator.remove'
|
|
1816
|
+
| 'delete.backward'
|
|
1817
|
+
| 'delete.block'
|
|
1818
|
+
| 'delete.forward'
|
|
1819
|
+
| 'history.redo'
|
|
1820
|
+
| 'history.undo'
|
|
1821
|
+
| 'insert.inline object'
|
|
1822
|
+
| 'insert.block'
|
|
1823
|
+
| 'insert.span'
|
|
1824
|
+
| 'insert.text'
|
|
1825
|
+
| 'move.backward'
|
|
1826
|
+
| 'move.block'
|
|
1827
|
+
| 'move.forward'
|
|
1828
|
+
| 'annotation.toggle'
|
|
1829
|
+
| 'decorator.toggle'
|
|
1830
|
+
| 'delete.text'
|
|
1831
|
+
| 'insert.blocks'
|
|
1832
|
+
| 'insert.break'
|
|
1833
|
+
| 'insert.soft break'
|
|
1834
|
+
| 'list item.add'
|
|
1835
|
+
| 'list item.remove'
|
|
1836
|
+
| 'list item.toggle'
|
|
1837
|
+
| 'move.block down'
|
|
1838
|
+
| 'move.block up'
|
|
1839
|
+
| 'select.previous block'
|
|
1840
|
+
| 'select.next block'
|
|
1841
|
+
| 'style.add'
|
|
1842
|
+
| 'style.remove'
|
|
1843
|
+
| 'style.toggle',
|
|
1844
|
+
'decorator.add'
|
|
1845
|
+
>
|
|
1846
|
+
decorator: string
|
|
1847
|
+
at?: {
|
|
1848
|
+
anchor: BlockOffset_2
|
|
1849
|
+
focus: BlockOffset_2
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
| {
|
|
1853
|
+
type: StrictExtract_2<
|
|
1854
|
+
| 'serialize'
|
|
1855
|
+
| 'serialization.failure'
|
|
1856
|
+
| 'serialization.success'
|
|
1857
|
+
| 'deserialize'
|
|
1858
|
+
| 'deserialization.failure'
|
|
1859
|
+
| 'deserialization.success'
|
|
1860
|
+
| 'split'
|
|
1861
|
+
| 'delete'
|
|
1862
|
+
| 'select'
|
|
1863
|
+
| 'annotation.add'
|
|
1864
|
+
| 'annotation.remove'
|
|
1865
|
+
| 'block.set'
|
|
1866
|
+
| 'block.unset'
|
|
1867
|
+
| 'decorator.add'
|
|
1868
|
+
| 'decorator.remove'
|
|
1869
|
+
| 'delete.backward'
|
|
1870
|
+
| 'delete.block'
|
|
1871
|
+
| 'delete.forward'
|
|
1872
|
+
| 'history.redo'
|
|
1873
|
+
| 'history.undo'
|
|
1874
|
+
| 'insert.inline object'
|
|
1875
|
+
| 'insert.block'
|
|
1876
|
+
| 'insert.span'
|
|
1877
|
+
| 'insert.text'
|
|
1878
|
+
| 'move.backward'
|
|
1879
|
+
| 'move.block'
|
|
1880
|
+
| 'move.forward'
|
|
1881
|
+
| 'annotation.toggle'
|
|
1882
|
+
| 'decorator.toggle'
|
|
1883
|
+
| 'delete.text'
|
|
1884
|
+
| 'insert.blocks'
|
|
1885
|
+
| 'insert.break'
|
|
1886
|
+
| 'insert.soft break'
|
|
1887
|
+
| 'list item.add'
|
|
1888
|
+
| 'list item.remove'
|
|
1889
|
+
| 'list item.toggle'
|
|
1890
|
+
| 'move.block down'
|
|
1891
|
+
| 'move.block up'
|
|
1892
|
+
| 'select.previous block'
|
|
1893
|
+
| 'select.next block'
|
|
1894
|
+
| 'style.add'
|
|
1895
|
+
| 'style.remove'
|
|
1896
|
+
| 'style.toggle',
|
|
1897
|
+
'decorator.remove'
|
|
1898
|
+
>
|
|
1899
|
+
decorator: string
|
|
1900
|
+
}
|
|
1901
|
+
| {
|
|
1902
|
+
type: StrictExtract_2<
|
|
1903
|
+
| 'serialize'
|
|
1904
|
+
| 'serialization.failure'
|
|
1905
|
+
| 'serialization.success'
|
|
1906
|
+
| 'deserialize'
|
|
1907
|
+
| 'deserialization.failure'
|
|
1908
|
+
| 'deserialization.success'
|
|
1909
|
+
| 'split'
|
|
1910
|
+
| 'delete'
|
|
1911
|
+
| 'select'
|
|
1912
|
+
| 'annotation.add'
|
|
1913
|
+
| 'annotation.remove'
|
|
1914
|
+
| 'block.set'
|
|
1915
|
+
| 'block.unset'
|
|
1916
|
+
| 'decorator.add'
|
|
1917
|
+
| 'decorator.remove'
|
|
1918
|
+
| 'delete.backward'
|
|
1919
|
+
| 'delete.block'
|
|
1920
|
+
| 'delete.forward'
|
|
1921
|
+
| 'history.redo'
|
|
1922
|
+
| 'history.undo'
|
|
1923
|
+
| 'insert.inline object'
|
|
1924
|
+
| 'insert.block'
|
|
1925
|
+
| 'insert.span'
|
|
1926
|
+
| 'insert.text'
|
|
1927
|
+
| 'move.backward'
|
|
1928
|
+
| 'move.block'
|
|
1929
|
+
| 'move.forward'
|
|
1930
|
+
| 'annotation.toggle'
|
|
1931
|
+
| 'decorator.toggle'
|
|
1932
|
+
| 'delete.text'
|
|
1933
|
+
| 'insert.blocks'
|
|
1934
|
+
| 'insert.break'
|
|
1935
|
+
| 'insert.soft break'
|
|
1936
|
+
| 'list item.add'
|
|
1937
|
+
| 'list item.remove'
|
|
1938
|
+
| 'list item.toggle'
|
|
1939
|
+
| 'move.block down'
|
|
1940
|
+
| 'move.block up'
|
|
1941
|
+
| 'select.previous block'
|
|
1942
|
+
| 'select.next block'
|
|
1943
|
+
| 'style.add'
|
|
1944
|
+
| 'style.remove'
|
|
1945
|
+
| 'style.toggle',
|
|
1946
|
+
'delete'
|
|
1947
|
+
>
|
|
1948
|
+
at: NonNullable<EditorSelection>
|
|
1949
|
+
}
|
|
1950
|
+
| {
|
|
1951
|
+
type: StrictExtract_2<
|
|
1952
|
+
| 'serialize'
|
|
1953
|
+
| 'serialization.failure'
|
|
1954
|
+
| 'serialization.success'
|
|
1955
|
+
| 'deserialize'
|
|
1956
|
+
| 'deserialization.failure'
|
|
1957
|
+
| 'deserialization.success'
|
|
1958
|
+
| 'split'
|
|
1959
|
+
| 'delete'
|
|
1960
|
+
| 'select'
|
|
1961
|
+
| 'annotation.add'
|
|
1962
|
+
| 'annotation.remove'
|
|
1963
|
+
| 'block.set'
|
|
1964
|
+
| 'block.unset'
|
|
1965
|
+
| 'decorator.add'
|
|
1966
|
+
| 'decorator.remove'
|
|
1967
|
+
| 'delete.backward'
|
|
1968
|
+
| 'delete.block'
|
|
1969
|
+
| 'delete.forward'
|
|
1970
|
+
| 'history.redo'
|
|
1971
|
+
| 'history.undo'
|
|
1972
|
+
| 'insert.inline object'
|
|
1973
|
+
| 'insert.block'
|
|
1974
|
+
| 'insert.span'
|
|
1975
|
+
| 'insert.text'
|
|
1976
|
+
| 'move.backward'
|
|
1977
|
+
| 'move.block'
|
|
1978
|
+
| 'move.forward'
|
|
1979
|
+
| 'annotation.toggle'
|
|
1980
|
+
| 'decorator.toggle'
|
|
1981
|
+
| 'delete.text'
|
|
1982
|
+
| 'insert.blocks'
|
|
1983
|
+
| 'insert.break'
|
|
1984
|
+
| 'insert.soft break'
|
|
1985
|
+
| 'list item.add'
|
|
1986
|
+
| 'list item.remove'
|
|
1987
|
+
| 'list item.toggle'
|
|
1988
|
+
| 'move.block down'
|
|
1989
|
+
| 'move.block up'
|
|
1990
|
+
| 'select.previous block'
|
|
1991
|
+
| 'select.next block'
|
|
1992
|
+
| 'style.add'
|
|
1993
|
+
| 'style.remove'
|
|
1994
|
+
| 'style.toggle',
|
|
1995
|
+
'delete.backward'
|
|
1996
|
+
>
|
|
1997
|
+
unit: TextUnit
|
|
1998
|
+
}
|
|
1999
|
+
| {
|
|
2000
|
+
type: StrictExtract_2<
|
|
2001
|
+
| 'serialize'
|
|
2002
|
+
| 'serialization.failure'
|
|
2003
|
+
| 'serialization.success'
|
|
2004
|
+
| 'deserialize'
|
|
2005
|
+
| 'deserialization.failure'
|
|
2006
|
+
| 'deserialization.success'
|
|
2007
|
+
| 'split'
|
|
2008
|
+
| 'delete'
|
|
2009
|
+
| 'select'
|
|
2010
|
+
| 'annotation.add'
|
|
2011
|
+
| 'annotation.remove'
|
|
2012
|
+
| 'block.set'
|
|
2013
|
+
| 'block.unset'
|
|
2014
|
+
| 'decorator.add'
|
|
2015
|
+
| 'decorator.remove'
|
|
2016
|
+
| 'delete.backward'
|
|
2017
|
+
| 'delete.block'
|
|
2018
|
+
| 'delete.forward'
|
|
2019
|
+
| 'history.redo'
|
|
2020
|
+
| 'history.undo'
|
|
2021
|
+
| 'insert.inline object'
|
|
2022
|
+
| 'insert.block'
|
|
2023
|
+
| 'insert.span'
|
|
2024
|
+
| 'insert.text'
|
|
2025
|
+
| 'move.backward'
|
|
2026
|
+
| 'move.block'
|
|
2027
|
+
| 'move.forward'
|
|
2028
|
+
| 'annotation.toggle'
|
|
2029
|
+
| 'decorator.toggle'
|
|
2030
|
+
| 'delete.text'
|
|
2031
|
+
| 'insert.blocks'
|
|
2032
|
+
| 'insert.break'
|
|
2033
|
+
| 'insert.soft break'
|
|
2034
|
+
| 'list item.add'
|
|
2035
|
+
| 'list item.remove'
|
|
2036
|
+
| 'list item.toggle'
|
|
2037
|
+
| 'move.block down'
|
|
2038
|
+
| 'move.block up'
|
|
2039
|
+
| 'select.previous block'
|
|
2040
|
+
| 'select.next block'
|
|
2041
|
+
| 'style.add'
|
|
2042
|
+
| 'style.remove'
|
|
2043
|
+
| 'style.toggle',
|
|
2044
|
+
'delete.block'
|
|
2045
|
+
>
|
|
2046
|
+
at: [KeyedSegment]
|
|
2047
|
+
}
|
|
2048
|
+
| {
|
|
2049
|
+
type: StrictExtract_2<
|
|
2050
|
+
| 'serialize'
|
|
2051
|
+
| 'serialization.failure'
|
|
2052
|
+
| 'serialization.success'
|
|
2053
|
+
| 'deserialize'
|
|
2054
|
+
| 'deserialization.failure'
|
|
2055
|
+
| 'deserialization.success'
|
|
2056
|
+
| 'split'
|
|
2057
|
+
| 'delete'
|
|
2058
|
+
| 'select'
|
|
2059
|
+
| 'annotation.add'
|
|
2060
|
+
| 'annotation.remove'
|
|
2061
|
+
| 'block.set'
|
|
2062
|
+
| 'block.unset'
|
|
2063
|
+
| 'decorator.add'
|
|
2064
|
+
| 'decorator.remove'
|
|
2065
|
+
| 'delete.backward'
|
|
2066
|
+
| 'delete.block'
|
|
2067
|
+
| 'delete.forward'
|
|
2068
|
+
| 'history.redo'
|
|
2069
|
+
| 'history.undo'
|
|
2070
|
+
| 'insert.inline object'
|
|
2071
|
+
| 'insert.block'
|
|
2072
|
+
| 'insert.span'
|
|
2073
|
+
| 'insert.text'
|
|
2074
|
+
| 'move.backward'
|
|
2075
|
+
| 'move.block'
|
|
2076
|
+
| 'move.forward'
|
|
2077
|
+
| 'annotation.toggle'
|
|
2078
|
+
| 'decorator.toggle'
|
|
2079
|
+
| 'delete.text'
|
|
2080
|
+
| 'insert.blocks'
|
|
2081
|
+
| 'insert.break'
|
|
2082
|
+
| 'insert.soft break'
|
|
2083
|
+
| 'list item.add'
|
|
2084
|
+
| 'list item.remove'
|
|
2085
|
+
| 'list item.toggle'
|
|
2086
|
+
| 'move.block down'
|
|
2087
|
+
| 'move.block up'
|
|
2088
|
+
| 'select.previous block'
|
|
2089
|
+
| 'select.next block'
|
|
2090
|
+
| 'style.add'
|
|
2091
|
+
| 'style.remove'
|
|
2092
|
+
| 'style.toggle',
|
|
2093
|
+
'delete.forward'
|
|
2094
|
+
>
|
|
2095
|
+
unit: TextUnit
|
|
2096
|
+
}
|
|
2097
|
+
| {
|
|
2098
|
+
type: StrictExtract_2<
|
|
2099
|
+
| 'serialize'
|
|
2100
|
+
| 'serialization.failure'
|
|
2101
|
+
| 'serialization.success'
|
|
2102
|
+
| 'deserialize'
|
|
2103
|
+
| 'deserialization.failure'
|
|
2104
|
+
| 'deserialization.success'
|
|
2105
|
+
| 'split'
|
|
2106
|
+
| 'delete'
|
|
2107
|
+
| 'select'
|
|
2108
|
+
| 'annotation.add'
|
|
2109
|
+
| 'annotation.remove'
|
|
2110
|
+
| 'block.set'
|
|
2111
|
+
| 'block.unset'
|
|
2112
|
+
| 'decorator.add'
|
|
2113
|
+
| 'decorator.remove'
|
|
2114
|
+
| 'delete.backward'
|
|
2115
|
+
| 'delete.block'
|
|
2116
|
+
| 'delete.forward'
|
|
2117
|
+
| 'history.redo'
|
|
2118
|
+
| 'history.undo'
|
|
2119
|
+
| 'insert.inline object'
|
|
2120
|
+
| 'insert.block'
|
|
2121
|
+
| 'insert.span'
|
|
2122
|
+
| 'insert.text'
|
|
2123
|
+
| 'move.backward'
|
|
2124
|
+
| 'move.block'
|
|
2125
|
+
| 'move.forward'
|
|
2126
|
+
| 'annotation.toggle'
|
|
2127
|
+
| 'decorator.toggle'
|
|
2128
|
+
| 'delete.text'
|
|
2129
|
+
| 'insert.blocks'
|
|
2130
|
+
| 'insert.break'
|
|
2131
|
+
| 'insert.soft break'
|
|
2132
|
+
| 'list item.add'
|
|
2133
|
+
| 'list item.remove'
|
|
2134
|
+
| 'list item.toggle'
|
|
2135
|
+
| 'move.block down'
|
|
2136
|
+
| 'move.block up'
|
|
2137
|
+
| 'select.previous block'
|
|
2138
|
+
| 'select.next block'
|
|
2139
|
+
| 'style.add'
|
|
2140
|
+
| 'style.remove'
|
|
2141
|
+
| 'style.toggle',
|
|
2142
|
+
'history.redo'
|
|
2143
|
+
>
|
|
2144
|
+
}
|
|
2145
|
+
| {
|
|
2146
|
+
type: StrictExtract_2<
|
|
2147
|
+
| 'serialize'
|
|
2148
|
+
| 'serialization.failure'
|
|
2149
|
+
| 'serialization.success'
|
|
2150
|
+
| 'deserialize'
|
|
2151
|
+
| 'deserialization.failure'
|
|
2152
|
+
| 'deserialization.success'
|
|
2153
|
+
| 'split'
|
|
2154
|
+
| 'delete'
|
|
2155
|
+
| 'select'
|
|
2156
|
+
| 'annotation.add'
|
|
2157
|
+
| 'annotation.remove'
|
|
2158
|
+
| 'block.set'
|
|
2159
|
+
| 'block.unset'
|
|
2160
|
+
| 'decorator.add'
|
|
2161
|
+
| 'decorator.remove'
|
|
2162
|
+
| 'delete.backward'
|
|
2163
|
+
| 'delete.block'
|
|
2164
|
+
| 'delete.forward'
|
|
2165
|
+
| 'history.redo'
|
|
2166
|
+
| 'history.undo'
|
|
2167
|
+
| 'insert.inline object'
|
|
2168
|
+
| 'insert.block'
|
|
2169
|
+
| 'insert.span'
|
|
2170
|
+
| 'insert.text'
|
|
2171
|
+
| 'move.backward'
|
|
2172
|
+
| 'move.block'
|
|
2173
|
+
| 'move.forward'
|
|
2174
|
+
| 'annotation.toggle'
|
|
2175
|
+
| 'decorator.toggle'
|
|
2176
|
+
| 'delete.text'
|
|
2177
|
+
| 'insert.blocks'
|
|
2178
|
+
| 'insert.break'
|
|
2179
|
+
| 'insert.soft break'
|
|
2180
|
+
| 'list item.add'
|
|
2181
|
+
| 'list item.remove'
|
|
2182
|
+
| 'list item.toggle'
|
|
2183
|
+
| 'move.block down'
|
|
2184
|
+
| 'move.block up'
|
|
2185
|
+
| 'select.previous block'
|
|
2186
|
+
| 'select.next block'
|
|
2187
|
+
| 'style.add'
|
|
2188
|
+
| 'style.remove'
|
|
2189
|
+
| 'style.toggle',
|
|
2190
|
+
'history.undo'
|
|
2191
|
+
>
|
|
2192
|
+
}
|
|
2193
|
+
| {
|
|
2194
|
+
type: StrictExtract_2<
|
|
2195
|
+
| 'serialize'
|
|
2196
|
+
| 'serialization.failure'
|
|
2197
|
+
| 'serialization.success'
|
|
2198
|
+
| 'deserialize'
|
|
2199
|
+
| 'deserialization.failure'
|
|
2200
|
+
| 'deserialization.success'
|
|
2201
|
+
| 'split'
|
|
2202
|
+
| 'delete'
|
|
2203
|
+
| 'select'
|
|
2204
|
+
| 'annotation.add'
|
|
2205
|
+
| 'annotation.remove'
|
|
2206
|
+
| 'block.set'
|
|
2207
|
+
| 'block.unset'
|
|
2208
|
+
| 'decorator.add'
|
|
2209
|
+
| 'decorator.remove'
|
|
2210
|
+
| 'delete.backward'
|
|
2211
|
+
| 'delete.block'
|
|
2212
|
+
| 'delete.forward'
|
|
2213
|
+
| 'history.redo'
|
|
2214
|
+
| 'history.undo'
|
|
2215
|
+
| 'insert.inline object'
|
|
2216
|
+
| 'insert.block'
|
|
2217
|
+
| 'insert.span'
|
|
2218
|
+
| 'insert.text'
|
|
2219
|
+
| 'move.backward'
|
|
2220
|
+
| 'move.block'
|
|
2221
|
+
| 'move.forward'
|
|
2222
|
+
| 'annotation.toggle'
|
|
2223
|
+
| 'decorator.toggle'
|
|
2224
|
+
| 'delete.text'
|
|
2225
|
+
| 'insert.blocks'
|
|
2226
|
+
| 'insert.break'
|
|
2227
|
+
| 'insert.soft break'
|
|
2228
|
+
| 'list item.add'
|
|
2229
|
+
| 'list item.remove'
|
|
2230
|
+
| 'list item.toggle'
|
|
2231
|
+
| 'move.block down'
|
|
2232
|
+
| 'move.block up'
|
|
2233
|
+
| 'select.previous block'
|
|
2234
|
+
| 'select.next block'
|
|
2235
|
+
| 'style.add'
|
|
2236
|
+
| 'style.remove'
|
|
2237
|
+
| 'style.toggle',
|
|
2238
|
+
'insert.inline object'
|
|
2239
|
+
>
|
|
2240
|
+
inlineObject: {
|
|
2241
|
+
name: string
|
|
2242
|
+
value?: {
|
|
2243
|
+
[prop: string]: unknown
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
| {
|
|
2248
|
+
type: StrictExtract_2<
|
|
2249
|
+
| 'serialize'
|
|
2250
|
+
| 'serialization.failure'
|
|
2251
|
+
| 'serialization.success'
|
|
2252
|
+
| 'deserialize'
|
|
2253
|
+
| 'deserialization.failure'
|
|
2254
|
+
| 'deserialization.success'
|
|
2255
|
+
| 'split'
|
|
2256
|
+
| 'delete'
|
|
2257
|
+
| 'select'
|
|
2258
|
+
| 'annotation.add'
|
|
2259
|
+
| 'annotation.remove'
|
|
2260
|
+
| 'block.set'
|
|
2261
|
+
| 'block.unset'
|
|
2262
|
+
| 'decorator.add'
|
|
2263
|
+
| 'decorator.remove'
|
|
2264
|
+
| 'delete.backward'
|
|
2265
|
+
| 'delete.block'
|
|
2266
|
+
| 'delete.forward'
|
|
2267
|
+
| 'history.redo'
|
|
2268
|
+
| 'history.undo'
|
|
2269
|
+
| 'insert.inline object'
|
|
2270
|
+
| 'insert.block'
|
|
2271
|
+
| 'insert.span'
|
|
2272
|
+
| 'insert.text'
|
|
2273
|
+
| 'move.backward'
|
|
2274
|
+
| 'move.block'
|
|
2275
|
+
| 'move.forward'
|
|
2276
|
+
| 'annotation.toggle'
|
|
2277
|
+
| 'decorator.toggle'
|
|
2278
|
+
| 'delete.text'
|
|
2279
|
+
| 'insert.blocks'
|
|
2280
|
+
| 'insert.break'
|
|
2281
|
+
| 'insert.soft break'
|
|
2282
|
+
| 'list item.add'
|
|
2283
|
+
| 'list item.remove'
|
|
2284
|
+
| 'list item.toggle'
|
|
2285
|
+
| 'move.block down'
|
|
2286
|
+
| 'move.block up'
|
|
2287
|
+
| 'select.previous block'
|
|
2288
|
+
| 'select.next block'
|
|
2289
|
+
| 'style.add'
|
|
2290
|
+
| 'style.remove'
|
|
2291
|
+
| 'style.toggle',
|
|
2292
|
+
'insert.block'
|
|
2293
|
+
>
|
|
2294
|
+
block: BlockWithOptionalKey_2
|
|
2295
|
+
placement: InsertPlacement_2
|
|
2296
|
+
select?: 'start' | 'end' | 'none'
|
|
2297
|
+
}
|
|
2298
|
+
| {
|
|
2299
|
+
type: StrictExtract_2<
|
|
2300
|
+
| 'serialize'
|
|
2301
|
+
| 'serialization.failure'
|
|
2302
|
+
| 'serialization.success'
|
|
2303
|
+
| 'deserialize'
|
|
2304
|
+
| 'deserialization.failure'
|
|
2305
|
+
| 'deserialization.success'
|
|
2306
|
+
| 'split'
|
|
2307
|
+
| 'delete'
|
|
2308
|
+
| 'select'
|
|
2309
|
+
| 'annotation.add'
|
|
2310
|
+
| 'annotation.remove'
|
|
2311
|
+
| 'block.set'
|
|
2312
|
+
| 'block.unset'
|
|
2313
|
+
| 'decorator.add'
|
|
2314
|
+
| 'decorator.remove'
|
|
2315
|
+
| 'delete.backward'
|
|
2316
|
+
| 'delete.block'
|
|
2317
|
+
| 'delete.forward'
|
|
2318
|
+
| 'history.redo'
|
|
2319
|
+
| 'history.undo'
|
|
2320
|
+
| 'insert.inline object'
|
|
2321
|
+
| 'insert.block'
|
|
2322
|
+
| 'insert.span'
|
|
2323
|
+
| 'insert.text'
|
|
2324
|
+
| 'move.backward'
|
|
2325
|
+
| 'move.block'
|
|
2326
|
+
| 'move.forward'
|
|
2327
|
+
| 'annotation.toggle'
|
|
2328
|
+
| 'decorator.toggle'
|
|
2329
|
+
| 'delete.text'
|
|
2330
|
+
| 'insert.blocks'
|
|
2331
|
+
| 'insert.break'
|
|
2332
|
+
| 'insert.soft break'
|
|
2333
|
+
| 'list item.add'
|
|
2334
|
+
| 'list item.remove'
|
|
2335
|
+
| 'list item.toggle'
|
|
2336
|
+
| 'move.block down'
|
|
2337
|
+
| 'move.block up'
|
|
2338
|
+
| 'select.previous block'
|
|
2339
|
+
| 'select.next block'
|
|
2340
|
+
| 'style.add'
|
|
2341
|
+
| 'style.remove'
|
|
2342
|
+
| 'style.toggle',
|
|
2343
|
+
'insert.span'
|
|
2344
|
+
>
|
|
2345
|
+
text: string
|
|
2346
|
+
annotations?: Array<{
|
|
2347
|
+
name: string
|
|
2348
|
+
value: {
|
|
2349
|
+
[prop: string]: unknown
|
|
2350
|
+
}
|
|
2351
|
+
}>
|
|
2352
|
+
decorators?: Array<string>
|
|
2353
|
+
}
|
|
2354
|
+
| {
|
|
2355
|
+
type: StrictExtract_2<
|
|
2356
|
+
| 'serialize'
|
|
2357
|
+
| 'serialization.failure'
|
|
2358
|
+
| 'serialization.success'
|
|
2359
|
+
| 'deserialize'
|
|
2360
|
+
| 'deserialization.failure'
|
|
2361
|
+
| 'deserialization.success'
|
|
2362
|
+
| 'split'
|
|
2363
|
+
| 'delete'
|
|
2364
|
+
| 'select'
|
|
2365
|
+
| 'annotation.add'
|
|
2366
|
+
| 'annotation.remove'
|
|
2367
|
+
| 'block.set'
|
|
2368
|
+
| 'block.unset'
|
|
2369
|
+
| 'decorator.add'
|
|
2370
|
+
| 'decorator.remove'
|
|
2371
|
+
| 'delete.backward'
|
|
2372
|
+
| 'delete.block'
|
|
2373
|
+
| 'delete.forward'
|
|
2374
|
+
| 'history.redo'
|
|
2375
|
+
| 'history.undo'
|
|
2376
|
+
| 'insert.inline object'
|
|
2377
|
+
| 'insert.block'
|
|
2378
|
+
| 'insert.span'
|
|
2379
|
+
| 'insert.text'
|
|
2380
|
+
| 'move.backward'
|
|
2381
|
+
| 'move.block'
|
|
2382
|
+
| 'move.forward'
|
|
2383
|
+
| 'annotation.toggle'
|
|
2384
|
+
| 'decorator.toggle'
|
|
2385
|
+
| 'delete.text'
|
|
2386
|
+
| 'insert.blocks'
|
|
2387
|
+
| 'insert.break'
|
|
2388
|
+
| 'insert.soft break'
|
|
2389
|
+
| 'list item.add'
|
|
2390
|
+
| 'list item.remove'
|
|
2391
|
+
| 'list item.toggle'
|
|
2392
|
+
| 'move.block down'
|
|
2393
|
+
| 'move.block up'
|
|
2394
|
+
| 'select.previous block'
|
|
2395
|
+
| 'select.next block'
|
|
2396
|
+
| 'style.add'
|
|
2397
|
+
| 'style.remove'
|
|
2398
|
+
| 'style.toggle',
|
|
2399
|
+
'insert.text'
|
|
2400
|
+
>
|
|
2401
|
+
text: string
|
|
2402
|
+
}
|
|
2403
|
+
| {
|
|
2404
|
+
type: StrictExtract_2<
|
|
2405
|
+
| 'serialize'
|
|
2406
|
+
| 'serialization.failure'
|
|
2407
|
+
| 'serialization.success'
|
|
2408
|
+
| 'deserialize'
|
|
2409
|
+
| 'deserialization.failure'
|
|
2410
|
+
| 'deserialization.success'
|
|
2411
|
+
| 'split'
|
|
2412
|
+
| 'delete'
|
|
2413
|
+
| 'select'
|
|
2414
|
+
| 'annotation.add'
|
|
2415
|
+
| 'annotation.remove'
|
|
2416
|
+
| 'block.set'
|
|
2417
|
+
| 'block.unset'
|
|
2418
|
+
| 'decorator.add'
|
|
2419
|
+
| 'decorator.remove'
|
|
2420
|
+
| 'delete.backward'
|
|
2421
|
+
| 'delete.block'
|
|
2422
|
+
| 'delete.forward'
|
|
2423
|
+
| 'history.redo'
|
|
2424
|
+
| 'history.undo'
|
|
2425
|
+
| 'insert.inline object'
|
|
2426
|
+
| 'insert.block'
|
|
2427
|
+
| 'insert.span'
|
|
2428
|
+
| 'insert.text'
|
|
2429
|
+
| 'move.backward'
|
|
2430
|
+
| 'move.block'
|
|
2431
|
+
| 'move.forward'
|
|
2432
|
+
| 'annotation.toggle'
|
|
2433
|
+
| 'decorator.toggle'
|
|
2434
|
+
| 'delete.text'
|
|
2435
|
+
| 'insert.blocks'
|
|
2436
|
+
| 'insert.break'
|
|
2437
|
+
| 'insert.soft break'
|
|
2438
|
+
| 'list item.add'
|
|
2439
|
+
| 'list item.remove'
|
|
2440
|
+
| 'list item.toggle'
|
|
2441
|
+
| 'move.block down'
|
|
2442
|
+
| 'move.block up'
|
|
2443
|
+
| 'select.previous block'
|
|
2444
|
+
| 'select.next block'
|
|
2445
|
+
| 'style.add'
|
|
2446
|
+
| 'style.remove'
|
|
2447
|
+
| 'style.toggle',
|
|
2448
|
+
'move.backward'
|
|
2449
|
+
>
|
|
2450
|
+
distance: number
|
|
2451
|
+
}
|
|
2452
|
+
| {
|
|
2453
|
+
type: StrictExtract_2<
|
|
2454
|
+
| 'serialize'
|
|
2455
|
+
| 'serialization.failure'
|
|
2456
|
+
| 'serialization.success'
|
|
2457
|
+
| 'deserialize'
|
|
2458
|
+
| 'deserialization.failure'
|
|
2459
|
+
| 'deserialization.success'
|
|
2460
|
+
| 'split'
|
|
2461
|
+
| 'delete'
|
|
2462
|
+
| 'select'
|
|
2463
|
+
| 'annotation.add'
|
|
2464
|
+
| 'annotation.remove'
|
|
2465
|
+
| 'block.set'
|
|
2466
|
+
| 'block.unset'
|
|
2467
|
+
| 'decorator.add'
|
|
2468
|
+
| 'decorator.remove'
|
|
2469
|
+
| 'delete.backward'
|
|
2470
|
+
| 'delete.block'
|
|
2471
|
+
| 'delete.forward'
|
|
2472
|
+
| 'history.redo'
|
|
2473
|
+
| 'history.undo'
|
|
2474
|
+
| 'insert.inline object'
|
|
2475
|
+
| 'insert.block'
|
|
2476
|
+
| 'insert.span'
|
|
2477
|
+
| 'insert.text'
|
|
2478
|
+
| 'move.backward'
|
|
2479
|
+
| 'move.block'
|
|
2480
|
+
| 'move.forward'
|
|
2481
|
+
| 'annotation.toggle'
|
|
2482
|
+
| 'decorator.toggle'
|
|
2483
|
+
| 'delete.text'
|
|
2484
|
+
| 'insert.blocks'
|
|
2485
|
+
| 'insert.break'
|
|
2486
|
+
| 'insert.soft break'
|
|
2487
|
+
| 'list item.add'
|
|
2488
|
+
| 'list item.remove'
|
|
2489
|
+
| 'list item.toggle'
|
|
2490
|
+
| 'move.block down'
|
|
2491
|
+
| 'move.block up'
|
|
2492
|
+
| 'select.previous block'
|
|
2493
|
+
| 'select.next block'
|
|
2494
|
+
| 'style.add'
|
|
2495
|
+
| 'style.remove'
|
|
2496
|
+
| 'style.toggle',
|
|
2497
|
+
'move.block'
|
|
2498
|
+
>
|
|
2499
|
+
at: [KeyedSegment]
|
|
2500
|
+
to: [KeyedSegment]
|
|
2501
|
+
}
|
|
2502
|
+
| {
|
|
2503
|
+
type: StrictExtract_2<
|
|
2504
|
+
| 'serialize'
|
|
2505
|
+
| 'serialization.failure'
|
|
2506
|
+
| 'serialization.success'
|
|
2507
|
+
| 'deserialize'
|
|
2508
|
+
| 'deserialization.failure'
|
|
2509
|
+
| 'deserialization.success'
|
|
2510
|
+
| 'split'
|
|
2511
|
+
| 'delete'
|
|
2512
|
+
| 'select'
|
|
2513
|
+
| 'annotation.add'
|
|
2514
|
+
| 'annotation.remove'
|
|
2515
|
+
| 'block.set'
|
|
2516
|
+
| 'block.unset'
|
|
2517
|
+
| 'decorator.add'
|
|
2518
|
+
| 'decorator.remove'
|
|
2519
|
+
| 'delete.backward'
|
|
2520
|
+
| 'delete.block'
|
|
2521
|
+
| 'delete.forward'
|
|
2522
|
+
| 'history.redo'
|
|
2523
|
+
| 'history.undo'
|
|
2524
|
+
| 'insert.inline object'
|
|
2525
|
+
| 'insert.block'
|
|
2526
|
+
| 'insert.span'
|
|
2527
|
+
| 'insert.text'
|
|
2528
|
+
| 'move.backward'
|
|
2529
|
+
| 'move.block'
|
|
2530
|
+
| 'move.forward'
|
|
2531
|
+
| 'annotation.toggle'
|
|
2532
|
+
| 'decorator.toggle'
|
|
2533
|
+
| 'delete.text'
|
|
2534
|
+
| 'insert.blocks'
|
|
2535
|
+
| 'insert.break'
|
|
2536
|
+
| 'insert.soft break'
|
|
2537
|
+
| 'list item.add'
|
|
2538
|
+
| 'list item.remove'
|
|
2539
|
+
| 'list item.toggle'
|
|
2540
|
+
| 'move.block down'
|
|
2541
|
+
| 'move.block up'
|
|
2542
|
+
| 'select.previous block'
|
|
2543
|
+
| 'select.next block'
|
|
2544
|
+
| 'style.add'
|
|
2545
|
+
| 'style.remove'
|
|
2546
|
+
| 'style.toggle',
|
|
2547
|
+
'move.forward'
|
|
2548
|
+
>
|
|
2549
|
+
distance: number
|
|
2550
|
+
}
|
|
2551
|
+
| {
|
|
2552
|
+
type: StrictExtract_2<
|
|
2553
|
+
| 'serialize'
|
|
2554
|
+
| 'serialization.failure'
|
|
2555
|
+
| 'serialization.success'
|
|
2556
|
+
| 'deserialize'
|
|
2557
|
+
| 'deserialization.failure'
|
|
2558
|
+
| 'deserialization.success'
|
|
2559
|
+
| 'split'
|
|
2560
|
+
| 'delete'
|
|
2561
|
+
| 'select'
|
|
2562
|
+
| 'annotation.add'
|
|
2563
|
+
| 'annotation.remove'
|
|
2564
|
+
| 'block.set'
|
|
2565
|
+
| 'block.unset'
|
|
2566
|
+
| 'decorator.add'
|
|
2567
|
+
| 'decorator.remove'
|
|
2568
|
+
| 'delete.backward'
|
|
2569
|
+
| 'delete.block'
|
|
2570
|
+
| 'delete.forward'
|
|
2571
|
+
| 'history.redo'
|
|
2572
|
+
| 'history.undo'
|
|
2573
|
+
| 'insert.inline object'
|
|
2574
|
+
| 'insert.block'
|
|
2575
|
+
| 'insert.span'
|
|
2576
|
+
| 'insert.text'
|
|
2577
|
+
| 'move.backward'
|
|
2578
|
+
| 'move.block'
|
|
2579
|
+
| 'move.forward'
|
|
2580
|
+
| 'annotation.toggle'
|
|
2581
|
+
| 'decorator.toggle'
|
|
2582
|
+
| 'delete.text'
|
|
2583
|
+
| 'insert.blocks'
|
|
2584
|
+
| 'insert.break'
|
|
2585
|
+
| 'insert.soft break'
|
|
2586
|
+
| 'list item.add'
|
|
2587
|
+
| 'list item.remove'
|
|
2588
|
+
| 'list item.toggle'
|
|
2589
|
+
| 'move.block down'
|
|
2590
|
+
| 'move.block up'
|
|
2591
|
+
| 'select.previous block'
|
|
2592
|
+
| 'select.next block'
|
|
2593
|
+
| 'style.add'
|
|
2594
|
+
| 'style.remove'
|
|
2595
|
+
| 'style.toggle',
|
|
2596
|
+
'select'
|
|
2597
|
+
>
|
|
2598
|
+
at: EditorSelection
|
|
2599
|
+
}
|
|
2600
|
+
| {
|
|
2601
|
+
type: StrictExtract_2<
|
|
2602
|
+
| 'serialize'
|
|
2603
|
+
| 'serialization.failure'
|
|
2604
|
+
| 'serialization.success'
|
|
2605
|
+
| 'deserialize'
|
|
2606
|
+
| 'deserialization.failure'
|
|
2607
|
+
| 'deserialization.success'
|
|
2608
|
+
| 'split'
|
|
2609
|
+
| 'delete'
|
|
2610
|
+
| 'select'
|
|
2611
|
+
| 'annotation.add'
|
|
2612
|
+
| 'annotation.remove'
|
|
2613
|
+
| 'block.set'
|
|
2614
|
+
| 'block.unset'
|
|
2615
|
+
| 'decorator.add'
|
|
2616
|
+
| 'decorator.remove'
|
|
2617
|
+
| 'delete.backward'
|
|
2618
|
+
| 'delete.block'
|
|
2619
|
+
| 'delete.forward'
|
|
2620
|
+
| 'history.redo'
|
|
2621
|
+
| 'history.undo'
|
|
2622
|
+
| 'insert.inline object'
|
|
2623
|
+
| 'insert.block'
|
|
2624
|
+
| 'insert.span'
|
|
2625
|
+
| 'insert.text'
|
|
2626
|
+
| 'move.backward'
|
|
2627
|
+
| 'move.block'
|
|
2628
|
+
| 'move.forward'
|
|
2629
|
+
| 'annotation.toggle'
|
|
2630
|
+
| 'decorator.toggle'
|
|
2631
|
+
| 'delete.text'
|
|
2632
|
+
| 'insert.blocks'
|
|
2633
|
+
| 'insert.break'
|
|
2634
|
+
| 'insert.soft break'
|
|
2635
|
+
| 'list item.add'
|
|
2636
|
+
| 'list item.remove'
|
|
2637
|
+
| 'list item.toggle'
|
|
2638
|
+
| 'move.block down'
|
|
2639
|
+
| 'move.block up'
|
|
2640
|
+
| 'select.previous block'
|
|
2641
|
+
| 'select.next block'
|
|
2642
|
+
| 'style.add'
|
|
2643
|
+
| 'style.remove'
|
|
2644
|
+
| 'style.toggle',
|
|
2645
|
+
'annotation.toggle'
|
|
2646
|
+
>
|
|
2647
|
+
annotation: {
|
|
2648
|
+
name: string
|
|
2649
|
+
value: {
|
|
2650
|
+
[prop: string]: unknown
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
| {
|
|
2655
|
+
type: StrictExtract_2<
|
|
2656
|
+
| 'serialize'
|
|
2657
|
+
| 'serialization.failure'
|
|
2658
|
+
| 'serialization.success'
|
|
2659
|
+
| 'deserialize'
|
|
2660
|
+
| 'deserialization.failure'
|
|
2661
|
+
| 'deserialization.success'
|
|
2662
|
+
| 'split'
|
|
2663
|
+
| 'delete'
|
|
2664
|
+
| 'select'
|
|
2665
|
+
| 'annotation.add'
|
|
2666
|
+
| 'annotation.remove'
|
|
2667
|
+
| 'block.set'
|
|
2668
|
+
| 'block.unset'
|
|
2669
|
+
| 'decorator.add'
|
|
2670
|
+
| 'decorator.remove'
|
|
2671
|
+
| 'delete.backward'
|
|
2672
|
+
| 'delete.block'
|
|
2673
|
+
| 'delete.forward'
|
|
2674
|
+
| 'history.redo'
|
|
2675
|
+
| 'history.undo'
|
|
2676
|
+
| 'insert.inline object'
|
|
2677
|
+
| 'insert.block'
|
|
2678
|
+
| 'insert.span'
|
|
2679
|
+
| 'insert.text'
|
|
2680
|
+
| 'move.backward'
|
|
2681
|
+
| 'move.block'
|
|
2682
|
+
| 'move.forward'
|
|
2683
|
+
| 'annotation.toggle'
|
|
2684
|
+
| 'decorator.toggle'
|
|
2685
|
+
| 'delete.text'
|
|
2686
|
+
| 'insert.blocks'
|
|
2687
|
+
| 'insert.break'
|
|
2688
|
+
| 'insert.soft break'
|
|
2689
|
+
| 'list item.add'
|
|
2690
|
+
| 'list item.remove'
|
|
2691
|
+
| 'list item.toggle'
|
|
2692
|
+
| 'move.block down'
|
|
2693
|
+
| 'move.block up'
|
|
2694
|
+
| 'select.previous block'
|
|
2695
|
+
| 'select.next block'
|
|
2696
|
+
| 'style.add'
|
|
2697
|
+
| 'style.remove'
|
|
2698
|
+
| 'style.toggle',
|
|
2699
|
+
'decorator.toggle'
|
|
2700
|
+
>
|
|
2701
|
+
decorator: string
|
|
2702
|
+
at?: {
|
|
2703
|
+
anchor: BlockOffset_2
|
|
2704
|
+
focus: BlockOffset_2
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
| {
|
|
2708
|
+
type: StrictExtract_2<
|
|
2709
|
+
| 'serialize'
|
|
2710
|
+
| 'serialization.failure'
|
|
2711
|
+
| 'serialization.success'
|
|
2712
|
+
| 'deserialize'
|
|
2713
|
+
| 'deserialization.failure'
|
|
2714
|
+
| 'deserialization.success'
|
|
2715
|
+
| 'split'
|
|
2716
|
+
| 'delete'
|
|
2717
|
+
| 'select'
|
|
2718
|
+
| 'annotation.add'
|
|
2719
|
+
| 'annotation.remove'
|
|
2720
|
+
| 'block.set'
|
|
2721
|
+
| 'block.unset'
|
|
2722
|
+
| 'decorator.add'
|
|
2723
|
+
| 'decorator.remove'
|
|
2724
|
+
| 'delete.backward'
|
|
2725
|
+
| 'delete.block'
|
|
2726
|
+
| 'delete.forward'
|
|
2727
|
+
| 'history.redo'
|
|
2728
|
+
| 'history.undo'
|
|
2729
|
+
| 'insert.inline object'
|
|
2730
|
+
| 'insert.block'
|
|
2731
|
+
| 'insert.span'
|
|
2732
|
+
| 'insert.text'
|
|
2733
|
+
| 'move.backward'
|
|
2734
|
+
| 'move.block'
|
|
2735
|
+
| 'move.forward'
|
|
2736
|
+
| 'annotation.toggle'
|
|
2737
|
+
| 'decorator.toggle'
|
|
2738
|
+
| 'delete.text'
|
|
2739
|
+
| 'insert.blocks'
|
|
2740
|
+
| 'insert.break'
|
|
2741
|
+
| 'insert.soft break'
|
|
2742
|
+
| 'list item.add'
|
|
2743
|
+
| 'list item.remove'
|
|
2744
|
+
| 'list item.toggle'
|
|
2745
|
+
| 'move.block down'
|
|
2746
|
+
| 'move.block up'
|
|
2747
|
+
| 'select.previous block'
|
|
2748
|
+
| 'select.next block'
|
|
2749
|
+
| 'style.add'
|
|
2750
|
+
| 'style.remove'
|
|
2751
|
+
| 'style.toggle',
|
|
2752
|
+
'delete.text'
|
|
2753
|
+
>
|
|
2754
|
+
at: {
|
|
2755
|
+
anchor: BlockOffset_2
|
|
2756
|
+
focus: BlockOffset_2
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
| {
|
|
2760
|
+
type: StrictExtract_2<
|
|
2761
|
+
| 'serialize'
|
|
2762
|
+
| 'serialization.failure'
|
|
2763
|
+
| 'serialization.success'
|
|
2764
|
+
| 'deserialize'
|
|
2765
|
+
| 'deserialization.failure'
|
|
2766
|
+
| 'deserialization.success'
|
|
2767
|
+
| 'split'
|
|
2768
|
+
| 'delete'
|
|
2769
|
+
| 'select'
|
|
2770
|
+
| 'annotation.add'
|
|
2771
|
+
| 'annotation.remove'
|
|
2772
|
+
| 'block.set'
|
|
2773
|
+
| 'block.unset'
|
|
2774
|
+
| 'decorator.add'
|
|
2775
|
+
| 'decorator.remove'
|
|
2776
|
+
| 'delete.backward'
|
|
2777
|
+
| 'delete.block'
|
|
2778
|
+
| 'delete.forward'
|
|
2779
|
+
| 'history.redo'
|
|
2780
|
+
| 'history.undo'
|
|
2781
|
+
| 'insert.inline object'
|
|
2782
|
+
| 'insert.block'
|
|
2783
|
+
| 'insert.span'
|
|
2784
|
+
| 'insert.text'
|
|
2785
|
+
| 'move.backward'
|
|
2786
|
+
| 'move.block'
|
|
2787
|
+
| 'move.forward'
|
|
2788
|
+
| 'annotation.toggle'
|
|
2789
|
+
| 'decorator.toggle'
|
|
2790
|
+
| 'delete.text'
|
|
2791
|
+
| 'insert.blocks'
|
|
2792
|
+
| 'insert.break'
|
|
2793
|
+
| 'insert.soft break'
|
|
2794
|
+
| 'list item.add'
|
|
2795
|
+
| 'list item.remove'
|
|
2796
|
+
| 'list item.toggle'
|
|
2797
|
+
| 'move.block down'
|
|
2798
|
+
| 'move.block up'
|
|
2799
|
+
| 'select.previous block'
|
|
2800
|
+
| 'select.next block'
|
|
2801
|
+
| 'style.add'
|
|
2802
|
+
| 'style.remove'
|
|
2803
|
+
| 'style.toggle',
|
|
2804
|
+
'deserialize'
|
|
2805
|
+
>
|
|
2806
|
+
originEvent:
|
|
2807
|
+
| PickFromUnion_2<
|
|
2808
|
+
NativeBehaviorEvent_2,
|
|
2809
|
+
'type',
|
|
2810
|
+
'drag.drop' | 'clipboard.paste'
|
|
2811
|
+
>
|
|
2812
|
+
| InputBehaviorEvent_2
|
|
2813
|
+
}
|
|
2814
|
+
| {
|
|
2815
|
+
type: StrictExtract_2<
|
|
2816
|
+
| 'serialize'
|
|
2817
|
+
| 'serialization.failure'
|
|
2818
|
+
| 'serialization.success'
|
|
2819
|
+
| 'deserialize'
|
|
2820
|
+
| 'deserialization.failure'
|
|
2821
|
+
| 'deserialization.success'
|
|
2822
|
+
| 'split'
|
|
2823
|
+
| 'delete'
|
|
2824
|
+
| 'select'
|
|
2825
|
+
| 'annotation.add'
|
|
2826
|
+
| 'annotation.remove'
|
|
2827
|
+
| 'block.set'
|
|
2828
|
+
| 'block.unset'
|
|
2829
|
+
| 'decorator.add'
|
|
2830
|
+
| 'decorator.remove'
|
|
2831
|
+
| 'delete.backward'
|
|
2832
|
+
| 'delete.block'
|
|
2833
|
+
| 'delete.forward'
|
|
2834
|
+
| 'history.redo'
|
|
2835
|
+
| 'history.undo'
|
|
2836
|
+
| 'insert.inline object'
|
|
2837
|
+
| 'insert.block'
|
|
2838
|
+
| 'insert.span'
|
|
2839
|
+
| 'insert.text'
|
|
2840
|
+
| 'move.backward'
|
|
2841
|
+
| 'move.block'
|
|
2842
|
+
| 'move.forward'
|
|
2843
|
+
| 'annotation.toggle'
|
|
2844
|
+
| 'decorator.toggle'
|
|
2845
|
+
| 'delete.text'
|
|
2846
|
+
| 'insert.blocks'
|
|
2847
|
+
| 'insert.break'
|
|
2848
|
+
| 'insert.soft break'
|
|
2849
|
+
| 'list item.add'
|
|
2850
|
+
| 'list item.remove'
|
|
2851
|
+
| 'list item.toggle'
|
|
2852
|
+
| 'move.block down'
|
|
2853
|
+
| 'move.block up'
|
|
2854
|
+
| 'select.previous block'
|
|
2855
|
+
| 'select.next block'
|
|
2856
|
+
| 'style.add'
|
|
2857
|
+
| 'style.remove'
|
|
2858
|
+
| 'style.toggle',
|
|
2859
|
+
'serialize'
|
|
2860
|
+
>
|
|
2861
|
+
originEvent: PickFromUnion_2<
|
|
2862
|
+
NativeBehaviorEvent_2,
|
|
2863
|
+
'type',
|
|
2864
|
+
'clipboard.copy' | 'clipboard.cut' | 'drag.dragstart'
|
|
2865
|
+
>
|
|
2866
|
+
}
|
|
2867
|
+
| {
|
|
2868
|
+
type: StrictExtract_2<
|
|
2869
|
+
| 'serialize'
|
|
2870
|
+
| 'serialization.failure'
|
|
2871
|
+
| 'serialization.success'
|
|
2872
|
+
| 'deserialize'
|
|
2873
|
+
| 'deserialization.failure'
|
|
2874
|
+
| 'deserialization.success'
|
|
2875
|
+
| 'split'
|
|
2876
|
+
| 'delete'
|
|
2877
|
+
| 'select'
|
|
2878
|
+
| 'annotation.add'
|
|
2879
|
+
| 'annotation.remove'
|
|
2880
|
+
| 'block.set'
|
|
2881
|
+
| 'block.unset'
|
|
2882
|
+
| 'decorator.add'
|
|
2883
|
+
| 'decorator.remove'
|
|
2884
|
+
| 'delete.backward'
|
|
2885
|
+
| 'delete.block'
|
|
2886
|
+
| 'delete.forward'
|
|
2887
|
+
| 'history.redo'
|
|
2888
|
+
| 'history.undo'
|
|
2889
|
+
| 'insert.inline object'
|
|
2890
|
+
| 'insert.block'
|
|
2891
|
+
| 'insert.span'
|
|
2892
|
+
| 'insert.text'
|
|
2893
|
+
| 'move.backward'
|
|
2894
|
+
| 'move.block'
|
|
2895
|
+
| 'move.forward'
|
|
2896
|
+
| 'annotation.toggle'
|
|
2897
|
+
| 'decorator.toggle'
|
|
2898
|
+
| 'delete.text'
|
|
2899
|
+
| 'insert.blocks'
|
|
2900
|
+
| 'insert.break'
|
|
2901
|
+
| 'insert.soft break'
|
|
2902
|
+
| 'list item.add'
|
|
2903
|
+
| 'list item.remove'
|
|
2904
|
+
| 'list item.toggle'
|
|
2905
|
+
| 'move.block down'
|
|
2906
|
+
| 'move.block up'
|
|
2907
|
+
| 'select.previous block'
|
|
2908
|
+
| 'select.next block'
|
|
2909
|
+
| 'style.add'
|
|
2910
|
+
| 'style.remove'
|
|
2911
|
+
| 'style.toggle',
|
|
2912
|
+
'deserialization.success'
|
|
2913
|
+
>
|
|
2914
|
+
mimeType: MIMEType_2
|
|
2915
|
+
data: Array<PortableTextBlock>
|
|
2916
|
+
originEvent:
|
|
2917
|
+
| PickFromUnion_2<
|
|
2918
|
+
NativeBehaviorEvent_2,
|
|
2919
|
+
'type',
|
|
2920
|
+
'drag.drop' | 'clipboard.paste'
|
|
2921
|
+
>
|
|
2922
|
+
| InputBehaviorEvent_2
|
|
2923
|
+
}
|
|
2924
|
+
| {
|
|
2925
|
+
type: StrictExtract_2<
|
|
2926
|
+
| 'serialize'
|
|
2927
|
+
| 'serialization.failure'
|
|
2928
|
+
| 'serialization.success'
|
|
2929
|
+
| 'deserialize'
|
|
2930
|
+
| 'deserialization.failure'
|
|
2931
|
+
| 'deserialization.success'
|
|
2932
|
+
| 'split'
|
|
2933
|
+
| 'delete'
|
|
2934
|
+
| 'select'
|
|
2935
|
+
| 'annotation.add'
|
|
2936
|
+
| 'annotation.remove'
|
|
2937
|
+
| 'block.set'
|
|
2938
|
+
| 'block.unset'
|
|
2939
|
+
| 'decorator.add'
|
|
2940
|
+
| 'decorator.remove'
|
|
2941
|
+
| 'delete.backward'
|
|
2942
|
+
| 'delete.block'
|
|
2943
|
+
| 'delete.forward'
|
|
2944
|
+
| 'history.redo'
|
|
2945
|
+
| 'history.undo'
|
|
2946
|
+
| 'insert.inline object'
|
|
2947
|
+
| 'insert.block'
|
|
2948
|
+
| 'insert.span'
|
|
2949
|
+
| 'insert.text'
|
|
2950
|
+
| 'move.backward'
|
|
2951
|
+
| 'move.block'
|
|
2952
|
+
| 'move.forward'
|
|
2953
|
+
| 'annotation.toggle'
|
|
2954
|
+
| 'decorator.toggle'
|
|
2955
|
+
| 'delete.text'
|
|
2956
|
+
| 'insert.blocks'
|
|
2957
|
+
| 'insert.break'
|
|
2958
|
+
| 'insert.soft break'
|
|
2959
|
+
| 'list item.add'
|
|
2960
|
+
| 'list item.remove'
|
|
2961
|
+
| 'list item.toggle'
|
|
2962
|
+
| 'move.block down'
|
|
2963
|
+
| 'move.block up'
|
|
2964
|
+
| 'select.previous block'
|
|
2965
|
+
| 'select.next block'
|
|
2966
|
+
| 'style.add'
|
|
2967
|
+
| 'style.remove'
|
|
2968
|
+
| 'style.toggle',
|
|
2969
|
+
'deserialization.failure'
|
|
2970
|
+
>
|
|
2971
|
+
mimeType: MIMEType_2
|
|
2972
|
+
reason: string
|
|
2973
|
+
originEvent:
|
|
2974
|
+
| PickFromUnion_2<
|
|
2975
|
+
NativeBehaviorEvent_2,
|
|
2976
|
+
'type',
|
|
2977
|
+
'drag.drop' | 'clipboard.paste'
|
|
2978
|
+
>
|
|
2979
|
+
| InputBehaviorEvent_2
|
|
2980
|
+
}
|
|
2981
|
+
| {
|
|
2982
|
+
type: StrictExtract_2<
|
|
2983
|
+
| 'serialize'
|
|
2984
|
+
| 'serialization.failure'
|
|
2985
|
+
| 'serialization.success'
|
|
2986
|
+
| 'deserialize'
|
|
2987
|
+
| 'deserialization.failure'
|
|
2988
|
+
| 'deserialization.success'
|
|
2989
|
+
| 'split'
|
|
2990
|
+
| 'delete'
|
|
2991
|
+
| 'select'
|
|
2992
|
+
| 'annotation.add'
|
|
2993
|
+
| 'annotation.remove'
|
|
2994
|
+
| 'block.set'
|
|
2995
|
+
| 'block.unset'
|
|
2996
|
+
| 'decorator.add'
|
|
2997
|
+
| 'decorator.remove'
|
|
2998
|
+
| 'delete.backward'
|
|
2999
|
+
| 'delete.block'
|
|
3000
|
+
| 'delete.forward'
|
|
3001
|
+
| 'history.redo'
|
|
3002
|
+
| 'history.undo'
|
|
3003
|
+
| 'insert.inline object'
|
|
3004
|
+
| 'insert.block'
|
|
3005
|
+
| 'insert.span'
|
|
3006
|
+
| 'insert.text'
|
|
3007
|
+
| 'move.backward'
|
|
3008
|
+
| 'move.block'
|
|
3009
|
+
| 'move.forward'
|
|
3010
|
+
| 'annotation.toggle'
|
|
3011
|
+
| 'decorator.toggle'
|
|
3012
|
+
| 'delete.text'
|
|
3013
|
+
| 'insert.blocks'
|
|
3014
|
+
| 'insert.break'
|
|
3015
|
+
| 'insert.soft break'
|
|
3016
|
+
| 'list item.add'
|
|
3017
|
+
| 'list item.remove'
|
|
3018
|
+
| 'list item.toggle'
|
|
3019
|
+
| 'move.block down'
|
|
3020
|
+
| 'move.block up'
|
|
3021
|
+
| 'select.previous block'
|
|
3022
|
+
| 'select.next block'
|
|
3023
|
+
| 'style.add'
|
|
3024
|
+
| 'style.remove'
|
|
3025
|
+
| 'style.toggle',
|
|
3026
|
+
'serialization.success'
|
|
3027
|
+
>
|
|
3028
|
+
mimeType: MIMEType_2
|
|
3029
|
+
data: string
|
|
3030
|
+
originEvent: PickFromUnion_2<
|
|
3031
|
+
NativeBehaviorEvent_2,
|
|
3032
|
+
'type',
|
|
3033
|
+
'clipboard.copy' | 'clipboard.cut' | 'drag.dragstart'
|
|
3034
|
+
>
|
|
3035
|
+
}
|
|
3036
|
+
| {
|
|
3037
|
+
type: StrictExtract_2<
|
|
3038
|
+
| 'serialize'
|
|
3039
|
+
| 'serialization.failure'
|
|
3040
|
+
| 'serialization.success'
|
|
3041
|
+
| 'deserialize'
|
|
3042
|
+
| 'deserialization.failure'
|
|
3043
|
+
| 'deserialization.success'
|
|
3044
|
+
| 'split'
|
|
3045
|
+
| 'delete'
|
|
3046
|
+
| 'select'
|
|
3047
|
+
| 'annotation.add'
|
|
3048
|
+
| 'annotation.remove'
|
|
3049
|
+
| 'block.set'
|
|
3050
|
+
| 'block.unset'
|
|
3051
|
+
| 'decorator.add'
|
|
3052
|
+
| 'decorator.remove'
|
|
3053
|
+
| 'delete.backward'
|
|
3054
|
+
| 'delete.block'
|
|
3055
|
+
| 'delete.forward'
|
|
3056
|
+
| 'history.redo'
|
|
3057
|
+
| 'history.undo'
|
|
3058
|
+
| 'insert.inline object'
|
|
3059
|
+
| 'insert.block'
|
|
3060
|
+
| 'insert.span'
|
|
3061
|
+
| 'insert.text'
|
|
3062
|
+
| 'move.backward'
|
|
3063
|
+
| 'move.block'
|
|
3064
|
+
| 'move.forward'
|
|
3065
|
+
| 'annotation.toggle'
|
|
3066
|
+
| 'decorator.toggle'
|
|
3067
|
+
| 'delete.text'
|
|
3068
|
+
| 'insert.blocks'
|
|
3069
|
+
| 'insert.break'
|
|
3070
|
+
| 'insert.soft break'
|
|
3071
|
+
| 'list item.add'
|
|
3072
|
+
| 'list item.remove'
|
|
3073
|
+
| 'list item.toggle'
|
|
3074
|
+
| 'move.block down'
|
|
3075
|
+
| 'move.block up'
|
|
3076
|
+
| 'select.previous block'
|
|
3077
|
+
| 'select.next block'
|
|
3078
|
+
| 'style.add'
|
|
3079
|
+
| 'style.remove'
|
|
3080
|
+
| 'style.toggle',
|
|
3081
|
+
'serialization.failure'
|
|
3082
|
+
>
|
|
3083
|
+
mimeType: MIMEType_2
|
|
3084
|
+
reason: string
|
|
3085
|
+
originEvent: PickFromUnion_2<
|
|
3086
|
+
NativeBehaviorEvent_2,
|
|
3087
|
+
'type',
|
|
3088
|
+
'clipboard.copy' | 'clipboard.cut' | 'drag.dragstart'
|
|
3089
|
+
>
|
|
3090
|
+
}
|
|
3091
|
+
| {
|
|
3092
|
+
type: StrictExtract_2<
|
|
3093
|
+
| 'serialize'
|
|
3094
|
+
| 'serialization.failure'
|
|
3095
|
+
| 'serialization.success'
|
|
3096
|
+
| 'deserialize'
|
|
3097
|
+
| 'deserialization.failure'
|
|
3098
|
+
| 'deserialization.success'
|
|
3099
|
+
| 'split'
|
|
3100
|
+
| 'delete'
|
|
3101
|
+
| 'select'
|
|
3102
|
+
| 'annotation.add'
|
|
3103
|
+
| 'annotation.remove'
|
|
3104
|
+
| 'block.set'
|
|
3105
|
+
| 'block.unset'
|
|
3106
|
+
| 'decorator.add'
|
|
3107
|
+
| 'decorator.remove'
|
|
3108
|
+
| 'delete.backward'
|
|
3109
|
+
| 'delete.block'
|
|
3110
|
+
| 'delete.forward'
|
|
3111
|
+
| 'history.redo'
|
|
3112
|
+
| 'history.undo'
|
|
3113
|
+
| 'insert.inline object'
|
|
3114
|
+
| 'insert.block'
|
|
3115
|
+
| 'insert.span'
|
|
3116
|
+
| 'insert.text'
|
|
3117
|
+
| 'move.backward'
|
|
3118
|
+
| 'move.block'
|
|
3119
|
+
| 'move.forward'
|
|
3120
|
+
| 'annotation.toggle'
|
|
3121
|
+
| 'decorator.toggle'
|
|
3122
|
+
| 'delete.text'
|
|
3123
|
+
| 'insert.blocks'
|
|
3124
|
+
| 'insert.break'
|
|
3125
|
+
| 'insert.soft break'
|
|
3126
|
+
| 'list item.add'
|
|
3127
|
+
| 'list item.remove'
|
|
3128
|
+
| 'list item.toggle'
|
|
3129
|
+
| 'move.block down'
|
|
3130
|
+
| 'move.block up'
|
|
3131
|
+
| 'select.previous block'
|
|
3132
|
+
| 'select.next block'
|
|
3133
|
+
| 'style.add'
|
|
3134
|
+
| 'style.remove'
|
|
3135
|
+
| 'style.toggle',
|
|
3136
|
+
'insert.blocks'
|
|
3137
|
+
>
|
|
3138
|
+
blocks: Array<BlockWithOptionalKey_2>
|
|
3139
|
+
placement: InsertPlacement_2
|
|
3140
|
+
}
|
|
3141
|
+
| {
|
|
3142
|
+
type: StrictExtract_2<
|
|
3143
|
+
| 'serialize'
|
|
3144
|
+
| 'serialization.failure'
|
|
3145
|
+
| 'serialization.success'
|
|
3146
|
+
| 'deserialize'
|
|
3147
|
+
| 'deserialization.failure'
|
|
3148
|
+
| 'deserialization.success'
|
|
3149
|
+
| 'split'
|
|
3150
|
+
| 'delete'
|
|
3151
|
+
| 'select'
|
|
3152
|
+
| 'annotation.add'
|
|
3153
|
+
| 'annotation.remove'
|
|
3154
|
+
| 'block.set'
|
|
3155
|
+
| 'block.unset'
|
|
3156
|
+
| 'decorator.add'
|
|
3157
|
+
| 'decorator.remove'
|
|
3158
|
+
| 'delete.backward'
|
|
3159
|
+
| 'delete.block'
|
|
3160
|
+
| 'delete.forward'
|
|
3161
|
+
| 'history.redo'
|
|
3162
|
+
| 'history.undo'
|
|
3163
|
+
| 'insert.inline object'
|
|
3164
|
+
| 'insert.block'
|
|
3165
|
+
| 'insert.span'
|
|
3166
|
+
| 'insert.text'
|
|
3167
|
+
| 'move.backward'
|
|
3168
|
+
| 'move.block'
|
|
3169
|
+
| 'move.forward'
|
|
3170
|
+
| 'annotation.toggle'
|
|
3171
|
+
| 'decorator.toggle'
|
|
3172
|
+
| 'delete.text'
|
|
3173
|
+
| 'insert.blocks'
|
|
3174
|
+
| 'insert.break'
|
|
3175
|
+
| 'insert.soft break'
|
|
3176
|
+
| 'list item.add'
|
|
3177
|
+
| 'list item.remove'
|
|
3178
|
+
| 'list item.toggle'
|
|
3179
|
+
| 'move.block down'
|
|
3180
|
+
| 'move.block up'
|
|
3181
|
+
| 'select.previous block'
|
|
3182
|
+
| 'select.next block'
|
|
3183
|
+
| 'style.add'
|
|
3184
|
+
| 'style.remove'
|
|
3185
|
+
| 'style.toggle',
|
|
3186
|
+
'insert.break'
|
|
3187
|
+
>
|
|
3188
|
+
}
|
|
3189
|
+
| {
|
|
3190
|
+
type: StrictExtract_2<
|
|
3191
|
+
| 'serialize'
|
|
3192
|
+
| 'serialization.failure'
|
|
3193
|
+
| 'serialization.success'
|
|
3194
|
+
| 'deserialize'
|
|
3195
|
+
| 'deserialization.failure'
|
|
3196
|
+
| 'deserialization.success'
|
|
3197
|
+
| 'split'
|
|
3198
|
+
| 'delete'
|
|
3199
|
+
| 'select'
|
|
3200
|
+
| 'annotation.add'
|
|
3201
|
+
| 'annotation.remove'
|
|
3202
|
+
| 'block.set'
|
|
3203
|
+
| 'block.unset'
|
|
3204
|
+
| 'decorator.add'
|
|
3205
|
+
| 'decorator.remove'
|
|
3206
|
+
| 'delete.backward'
|
|
3207
|
+
| 'delete.block'
|
|
3208
|
+
| 'delete.forward'
|
|
3209
|
+
| 'history.redo'
|
|
3210
|
+
| 'history.undo'
|
|
3211
|
+
| 'insert.inline object'
|
|
3212
|
+
| 'insert.block'
|
|
3213
|
+
| 'insert.span'
|
|
3214
|
+
| 'insert.text'
|
|
3215
|
+
| 'move.backward'
|
|
3216
|
+
| 'move.block'
|
|
3217
|
+
| 'move.forward'
|
|
3218
|
+
| 'annotation.toggle'
|
|
3219
|
+
| 'decorator.toggle'
|
|
3220
|
+
| 'delete.text'
|
|
3221
|
+
| 'insert.blocks'
|
|
3222
|
+
| 'insert.break'
|
|
3223
|
+
| 'insert.soft break'
|
|
3224
|
+
| 'list item.add'
|
|
3225
|
+
| 'list item.remove'
|
|
3226
|
+
| 'list item.toggle'
|
|
3227
|
+
| 'move.block down'
|
|
3228
|
+
| 'move.block up'
|
|
3229
|
+
| 'select.previous block'
|
|
3230
|
+
| 'select.next block'
|
|
3231
|
+
| 'style.add'
|
|
3232
|
+
| 'style.remove'
|
|
3233
|
+
| 'style.toggle',
|
|
3234
|
+
'insert.soft break'
|
|
3235
|
+
>
|
|
3236
|
+
}
|
|
3237
|
+
| {
|
|
3238
|
+
type: StrictExtract_2<
|
|
3239
|
+
| 'serialize'
|
|
3240
|
+
| 'serialization.failure'
|
|
3241
|
+
| 'serialization.success'
|
|
3242
|
+
| 'deserialize'
|
|
3243
|
+
| 'deserialization.failure'
|
|
3244
|
+
| 'deserialization.success'
|
|
3245
|
+
| 'split'
|
|
3246
|
+
| 'delete'
|
|
3247
|
+
| 'select'
|
|
3248
|
+
| 'annotation.add'
|
|
3249
|
+
| 'annotation.remove'
|
|
3250
|
+
| 'block.set'
|
|
3251
|
+
| 'block.unset'
|
|
3252
|
+
| 'decorator.add'
|
|
3253
|
+
| 'decorator.remove'
|
|
3254
|
+
| 'delete.backward'
|
|
3255
|
+
| 'delete.block'
|
|
3256
|
+
| 'delete.forward'
|
|
3257
|
+
| 'history.redo'
|
|
3258
|
+
| 'history.undo'
|
|
3259
|
+
| 'insert.inline object'
|
|
3260
|
+
| 'insert.block'
|
|
3261
|
+
| 'insert.span'
|
|
3262
|
+
| 'insert.text'
|
|
3263
|
+
| 'move.backward'
|
|
3264
|
+
| 'move.block'
|
|
3265
|
+
| 'move.forward'
|
|
3266
|
+
| 'annotation.toggle'
|
|
3267
|
+
| 'decorator.toggle'
|
|
3268
|
+
| 'delete.text'
|
|
3269
|
+
| 'insert.blocks'
|
|
3270
|
+
| 'insert.break'
|
|
3271
|
+
| 'insert.soft break'
|
|
3272
|
+
| 'list item.add'
|
|
3273
|
+
| 'list item.remove'
|
|
3274
|
+
| 'list item.toggle'
|
|
3275
|
+
| 'move.block down'
|
|
3276
|
+
| 'move.block up'
|
|
3277
|
+
| 'select.previous block'
|
|
3278
|
+
| 'select.next block'
|
|
3279
|
+
| 'style.add'
|
|
3280
|
+
| 'style.remove'
|
|
3281
|
+
| 'style.toggle',
|
|
3282
|
+
'list item.add'
|
|
3283
|
+
>
|
|
3284
|
+
listItem: string
|
|
3285
|
+
}
|
|
3286
|
+
| {
|
|
3287
|
+
type: StrictExtract_2<
|
|
3288
|
+
| 'serialize'
|
|
3289
|
+
| 'serialization.failure'
|
|
3290
|
+
| 'serialization.success'
|
|
3291
|
+
| 'deserialize'
|
|
3292
|
+
| 'deserialization.failure'
|
|
3293
|
+
| 'deserialization.success'
|
|
3294
|
+
| 'split'
|
|
3295
|
+
| 'delete'
|
|
3296
|
+
| 'select'
|
|
3297
|
+
| 'annotation.add'
|
|
3298
|
+
| 'annotation.remove'
|
|
3299
|
+
| 'block.set'
|
|
3300
|
+
| 'block.unset'
|
|
3301
|
+
| 'decorator.add'
|
|
3302
|
+
| 'decorator.remove'
|
|
3303
|
+
| 'delete.backward'
|
|
3304
|
+
| 'delete.block'
|
|
3305
|
+
| 'delete.forward'
|
|
3306
|
+
| 'history.redo'
|
|
3307
|
+
| 'history.undo'
|
|
3308
|
+
| 'insert.inline object'
|
|
3309
|
+
| 'insert.block'
|
|
3310
|
+
| 'insert.span'
|
|
3311
|
+
| 'insert.text'
|
|
3312
|
+
| 'move.backward'
|
|
3313
|
+
| 'move.block'
|
|
3314
|
+
| 'move.forward'
|
|
3315
|
+
| 'annotation.toggle'
|
|
3316
|
+
| 'decorator.toggle'
|
|
3317
|
+
| 'delete.text'
|
|
3318
|
+
| 'insert.blocks'
|
|
3319
|
+
| 'insert.break'
|
|
3320
|
+
| 'insert.soft break'
|
|
3321
|
+
| 'list item.add'
|
|
3322
|
+
| 'list item.remove'
|
|
3323
|
+
| 'list item.toggle'
|
|
3324
|
+
| 'move.block down'
|
|
3325
|
+
| 'move.block up'
|
|
3326
|
+
| 'select.previous block'
|
|
3327
|
+
| 'select.next block'
|
|
3328
|
+
| 'style.add'
|
|
3329
|
+
| 'style.remove'
|
|
3330
|
+
| 'style.toggle',
|
|
3331
|
+
'list item.remove'
|
|
3332
|
+
>
|
|
3333
|
+
listItem: string
|
|
3334
|
+
}
|
|
3335
|
+
| {
|
|
3336
|
+
type: StrictExtract_2<
|
|
3337
|
+
| 'serialize'
|
|
3338
|
+
| 'serialization.failure'
|
|
3339
|
+
| 'serialization.success'
|
|
3340
|
+
| 'deserialize'
|
|
3341
|
+
| 'deserialization.failure'
|
|
3342
|
+
| 'deserialization.success'
|
|
3343
|
+
| 'split'
|
|
3344
|
+
| 'delete'
|
|
3345
|
+
| 'select'
|
|
3346
|
+
| 'annotation.add'
|
|
3347
|
+
| 'annotation.remove'
|
|
3348
|
+
| 'block.set'
|
|
3349
|
+
| 'block.unset'
|
|
3350
|
+
| 'decorator.add'
|
|
3351
|
+
| 'decorator.remove'
|
|
3352
|
+
| 'delete.backward'
|
|
3353
|
+
| 'delete.block'
|
|
3354
|
+
| 'delete.forward'
|
|
3355
|
+
| 'history.redo'
|
|
3356
|
+
| 'history.undo'
|
|
3357
|
+
| 'insert.inline object'
|
|
3358
|
+
| 'insert.block'
|
|
3359
|
+
| 'insert.span'
|
|
3360
|
+
| 'insert.text'
|
|
3361
|
+
| 'move.backward'
|
|
3362
|
+
| 'move.block'
|
|
3363
|
+
| 'move.forward'
|
|
3364
|
+
| 'annotation.toggle'
|
|
3365
|
+
| 'decorator.toggle'
|
|
3366
|
+
| 'delete.text'
|
|
3367
|
+
| 'insert.blocks'
|
|
3368
|
+
| 'insert.break'
|
|
3369
|
+
| 'insert.soft break'
|
|
3370
|
+
| 'list item.add'
|
|
3371
|
+
| 'list item.remove'
|
|
3372
|
+
| 'list item.toggle'
|
|
3373
|
+
| 'move.block down'
|
|
3374
|
+
| 'move.block up'
|
|
3375
|
+
| 'select.previous block'
|
|
3376
|
+
| 'select.next block'
|
|
3377
|
+
| 'style.add'
|
|
3378
|
+
| 'style.remove'
|
|
3379
|
+
| 'style.toggle',
|
|
3380
|
+
'list item.toggle'
|
|
3381
|
+
>
|
|
3382
|
+
listItem: string
|
|
3383
|
+
}
|
|
3384
|
+
| {
|
|
3385
|
+
type: StrictExtract_2<
|
|
3386
|
+
| 'serialize'
|
|
3387
|
+
| 'serialization.failure'
|
|
3388
|
+
| 'serialization.success'
|
|
3389
|
+
| 'deserialize'
|
|
3390
|
+
| 'deserialization.failure'
|
|
3391
|
+
| 'deserialization.success'
|
|
3392
|
+
| 'split'
|
|
3393
|
+
| 'delete'
|
|
3394
|
+
| 'select'
|
|
3395
|
+
| 'annotation.add'
|
|
3396
|
+
| 'annotation.remove'
|
|
3397
|
+
| 'block.set'
|
|
3398
|
+
| 'block.unset'
|
|
3399
|
+
| 'decorator.add'
|
|
3400
|
+
| 'decorator.remove'
|
|
3401
|
+
| 'delete.backward'
|
|
3402
|
+
| 'delete.block'
|
|
3403
|
+
| 'delete.forward'
|
|
3404
|
+
| 'history.redo'
|
|
3405
|
+
| 'history.undo'
|
|
3406
|
+
| 'insert.inline object'
|
|
3407
|
+
| 'insert.block'
|
|
3408
|
+
| 'insert.span'
|
|
3409
|
+
| 'insert.text'
|
|
3410
|
+
| 'move.backward'
|
|
3411
|
+
| 'move.block'
|
|
3412
|
+
| 'move.forward'
|
|
3413
|
+
| 'annotation.toggle'
|
|
3414
|
+
| 'decorator.toggle'
|
|
3415
|
+
| 'delete.text'
|
|
3416
|
+
| 'insert.blocks'
|
|
3417
|
+
| 'insert.break'
|
|
3418
|
+
| 'insert.soft break'
|
|
3419
|
+
| 'list item.add'
|
|
3420
|
+
| 'list item.remove'
|
|
3421
|
+
| 'list item.toggle'
|
|
3422
|
+
| 'move.block down'
|
|
3423
|
+
| 'move.block up'
|
|
3424
|
+
| 'select.previous block'
|
|
3425
|
+
| 'select.next block'
|
|
3426
|
+
| 'style.add'
|
|
3427
|
+
| 'style.remove'
|
|
3428
|
+
| 'style.toggle',
|
|
3429
|
+
'move.block down'
|
|
3430
|
+
>
|
|
3431
|
+
at: [KeyedSegment]
|
|
3432
|
+
}
|
|
3433
|
+
| {
|
|
3434
|
+
type: StrictExtract_2<
|
|
3435
|
+
| 'serialize'
|
|
3436
|
+
| 'serialization.failure'
|
|
3437
|
+
| 'serialization.success'
|
|
3438
|
+
| 'deserialize'
|
|
3439
|
+
| 'deserialization.failure'
|
|
3440
|
+
| 'deserialization.success'
|
|
3441
|
+
| 'split'
|
|
3442
|
+
| 'delete'
|
|
3443
|
+
| 'select'
|
|
3444
|
+
| 'annotation.add'
|
|
3445
|
+
| 'annotation.remove'
|
|
3446
|
+
| 'block.set'
|
|
3447
|
+
| 'block.unset'
|
|
3448
|
+
| 'decorator.add'
|
|
3449
|
+
| 'decorator.remove'
|
|
3450
|
+
| 'delete.backward'
|
|
3451
|
+
| 'delete.block'
|
|
3452
|
+
| 'delete.forward'
|
|
3453
|
+
| 'history.redo'
|
|
3454
|
+
| 'history.undo'
|
|
3455
|
+
| 'insert.inline object'
|
|
3456
|
+
| 'insert.block'
|
|
3457
|
+
| 'insert.span'
|
|
3458
|
+
| 'insert.text'
|
|
3459
|
+
| 'move.backward'
|
|
3460
|
+
| 'move.block'
|
|
3461
|
+
| 'move.forward'
|
|
3462
|
+
| 'annotation.toggle'
|
|
3463
|
+
| 'decorator.toggle'
|
|
3464
|
+
| 'delete.text'
|
|
3465
|
+
| 'insert.blocks'
|
|
3466
|
+
| 'insert.break'
|
|
3467
|
+
| 'insert.soft break'
|
|
3468
|
+
| 'list item.add'
|
|
3469
|
+
| 'list item.remove'
|
|
3470
|
+
| 'list item.toggle'
|
|
3471
|
+
| 'move.block down'
|
|
3472
|
+
| 'move.block up'
|
|
3473
|
+
| 'select.previous block'
|
|
3474
|
+
| 'select.next block'
|
|
3475
|
+
| 'style.add'
|
|
3476
|
+
| 'style.remove'
|
|
3477
|
+
| 'style.toggle',
|
|
3478
|
+
'move.block up'
|
|
3479
|
+
>
|
|
3480
|
+
at: [KeyedSegment]
|
|
3481
|
+
}
|
|
3482
|
+
| {
|
|
3483
|
+
type: StrictExtract_2<
|
|
3484
|
+
| 'serialize'
|
|
3485
|
+
| 'serialization.failure'
|
|
3486
|
+
| 'serialization.success'
|
|
3487
|
+
| 'deserialize'
|
|
3488
|
+
| 'deserialization.failure'
|
|
3489
|
+
| 'deserialization.success'
|
|
3490
|
+
| 'split'
|
|
3491
|
+
| 'delete'
|
|
3492
|
+
| 'select'
|
|
3493
|
+
| 'annotation.add'
|
|
3494
|
+
| 'annotation.remove'
|
|
3495
|
+
| 'block.set'
|
|
3496
|
+
| 'block.unset'
|
|
3497
|
+
| 'decorator.add'
|
|
3498
|
+
| 'decorator.remove'
|
|
3499
|
+
| 'delete.backward'
|
|
3500
|
+
| 'delete.block'
|
|
3501
|
+
| 'delete.forward'
|
|
3502
|
+
| 'history.redo'
|
|
3503
|
+
| 'history.undo'
|
|
3504
|
+
| 'insert.inline object'
|
|
3505
|
+
| 'insert.block'
|
|
3506
|
+
| 'insert.span'
|
|
3507
|
+
| 'insert.text'
|
|
3508
|
+
| 'move.backward'
|
|
3509
|
+
| 'move.block'
|
|
3510
|
+
| 'move.forward'
|
|
3511
|
+
| 'annotation.toggle'
|
|
3512
|
+
| 'decorator.toggle'
|
|
3513
|
+
| 'delete.text'
|
|
3514
|
+
| 'insert.blocks'
|
|
3515
|
+
| 'insert.break'
|
|
3516
|
+
| 'insert.soft break'
|
|
3517
|
+
| 'list item.add'
|
|
3518
|
+
| 'list item.remove'
|
|
3519
|
+
| 'list item.toggle'
|
|
3520
|
+
| 'move.block down'
|
|
3521
|
+
| 'move.block up'
|
|
3522
|
+
| 'select.previous block'
|
|
3523
|
+
| 'select.next block'
|
|
3524
|
+
| 'style.add'
|
|
3525
|
+
| 'style.remove'
|
|
3526
|
+
| 'style.toggle',
|
|
3527
|
+
'select.previous block'
|
|
3528
|
+
>
|
|
3529
|
+
select?: 'start' | 'end'
|
|
3530
|
+
}
|
|
3531
|
+
| {
|
|
3532
|
+
type: StrictExtract_2<
|
|
3533
|
+
| 'serialize'
|
|
3534
|
+
| 'serialization.failure'
|
|
3535
|
+
| 'serialization.success'
|
|
3536
|
+
| 'deserialize'
|
|
3537
|
+
| 'deserialization.failure'
|
|
3538
|
+
| 'deserialization.success'
|
|
3539
|
+
| 'split'
|
|
3540
|
+
| 'delete'
|
|
3541
|
+
| 'select'
|
|
3542
|
+
| 'annotation.add'
|
|
3543
|
+
| 'annotation.remove'
|
|
3544
|
+
| 'block.set'
|
|
3545
|
+
| 'block.unset'
|
|
3546
|
+
| 'decorator.add'
|
|
3547
|
+
| 'decorator.remove'
|
|
3548
|
+
| 'delete.backward'
|
|
3549
|
+
| 'delete.block'
|
|
3550
|
+
| 'delete.forward'
|
|
3551
|
+
| 'history.redo'
|
|
3552
|
+
| 'history.undo'
|
|
3553
|
+
| 'insert.inline object'
|
|
3554
|
+
| 'insert.block'
|
|
3555
|
+
| 'insert.span'
|
|
3556
|
+
| 'insert.text'
|
|
3557
|
+
| 'move.backward'
|
|
3558
|
+
| 'move.block'
|
|
3559
|
+
| 'move.forward'
|
|
3560
|
+
| 'annotation.toggle'
|
|
3561
|
+
| 'decorator.toggle'
|
|
3562
|
+
| 'delete.text'
|
|
3563
|
+
| 'insert.blocks'
|
|
3564
|
+
| 'insert.break'
|
|
3565
|
+
| 'insert.soft break'
|
|
3566
|
+
| 'list item.add'
|
|
3567
|
+
| 'list item.remove'
|
|
3568
|
+
| 'list item.toggle'
|
|
3569
|
+
| 'move.block down'
|
|
3570
|
+
| 'move.block up'
|
|
3571
|
+
| 'select.previous block'
|
|
3572
|
+
| 'select.next block'
|
|
3573
|
+
| 'style.add'
|
|
3574
|
+
| 'style.remove'
|
|
3575
|
+
| 'style.toggle',
|
|
3576
|
+
'select.next block'
|
|
3577
|
+
>
|
|
3578
|
+
select?: 'start' | 'end'
|
|
3579
|
+
}
|
|
3580
|
+
| {
|
|
3581
|
+
type: StrictExtract_2<
|
|
3582
|
+
| 'serialize'
|
|
3583
|
+
| 'serialization.failure'
|
|
3584
|
+
| 'serialization.success'
|
|
3585
|
+
| 'deserialize'
|
|
3586
|
+
| 'deserialization.failure'
|
|
3587
|
+
| 'deserialization.success'
|
|
3588
|
+
| 'split'
|
|
3589
|
+
| 'delete'
|
|
3590
|
+
| 'select'
|
|
3591
|
+
| 'annotation.add'
|
|
3592
|
+
| 'annotation.remove'
|
|
3593
|
+
| 'block.set'
|
|
3594
|
+
| 'block.unset'
|
|
3595
|
+
| 'decorator.add'
|
|
3596
|
+
| 'decorator.remove'
|
|
3597
|
+
| 'delete.backward'
|
|
3598
|
+
| 'delete.block'
|
|
3599
|
+
| 'delete.forward'
|
|
3600
|
+
| 'history.redo'
|
|
3601
|
+
| 'history.undo'
|
|
3602
|
+
| 'insert.inline object'
|
|
3603
|
+
| 'insert.block'
|
|
3604
|
+
| 'insert.span'
|
|
3605
|
+
| 'insert.text'
|
|
3606
|
+
| 'move.backward'
|
|
3607
|
+
| 'move.block'
|
|
3608
|
+
| 'move.forward'
|
|
3609
|
+
| 'annotation.toggle'
|
|
3610
|
+
| 'decorator.toggle'
|
|
3611
|
+
| 'delete.text'
|
|
3612
|
+
| 'insert.blocks'
|
|
3613
|
+
| 'insert.break'
|
|
3614
|
+
| 'insert.soft break'
|
|
3615
|
+
| 'list item.add'
|
|
3616
|
+
| 'list item.remove'
|
|
3617
|
+
| 'list item.toggle'
|
|
3618
|
+
| 'move.block down'
|
|
3619
|
+
| 'move.block up'
|
|
3620
|
+
| 'select.previous block'
|
|
3621
|
+
| 'select.next block'
|
|
3622
|
+
| 'style.add'
|
|
3623
|
+
| 'style.remove'
|
|
3624
|
+
| 'style.toggle',
|
|
3625
|
+
'split'
|
|
3626
|
+
>
|
|
3627
|
+
}
|
|
3628
|
+
| {
|
|
3629
|
+
type: StrictExtract_2<
|
|
3630
|
+
| 'serialize'
|
|
3631
|
+
| 'serialization.failure'
|
|
3632
|
+
| 'serialization.success'
|
|
3633
|
+
| 'deserialize'
|
|
3634
|
+
| 'deserialization.failure'
|
|
3635
|
+
| 'deserialization.success'
|
|
3636
|
+
| 'split'
|
|
3637
|
+
| 'delete'
|
|
3638
|
+
| 'select'
|
|
3639
|
+
| 'annotation.add'
|
|
3640
|
+
| 'annotation.remove'
|
|
3641
|
+
| 'block.set'
|
|
3642
|
+
| 'block.unset'
|
|
3643
|
+
| 'decorator.add'
|
|
3644
|
+
| 'decorator.remove'
|
|
3645
|
+
| 'delete.backward'
|
|
3646
|
+
| 'delete.block'
|
|
3647
|
+
| 'delete.forward'
|
|
3648
|
+
| 'history.redo'
|
|
3649
|
+
| 'history.undo'
|
|
3650
|
+
| 'insert.inline object'
|
|
3651
|
+
| 'insert.block'
|
|
3652
|
+
| 'insert.span'
|
|
3653
|
+
| 'insert.text'
|
|
3654
|
+
| 'move.backward'
|
|
3655
|
+
| 'move.block'
|
|
3656
|
+
| 'move.forward'
|
|
3657
|
+
| 'annotation.toggle'
|
|
3658
|
+
| 'decorator.toggle'
|
|
3659
|
+
| 'delete.text'
|
|
3660
|
+
| 'insert.blocks'
|
|
3661
|
+
| 'insert.break'
|
|
3662
|
+
| 'insert.soft break'
|
|
3663
|
+
| 'list item.add'
|
|
3664
|
+
| 'list item.remove'
|
|
3665
|
+
| 'list item.toggle'
|
|
3666
|
+
| 'move.block down'
|
|
3667
|
+
| 'move.block up'
|
|
3668
|
+
| 'select.previous block'
|
|
3669
|
+
| 'select.next block'
|
|
3670
|
+
| 'style.add'
|
|
3671
|
+
| 'style.remove'
|
|
3672
|
+
| 'style.toggle',
|
|
3673
|
+
'style.add'
|
|
3674
|
+
>
|
|
3675
|
+
style: string
|
|
3676
|
+
}
|
|
3677
|
+
| {
|
|
3678
|
+
type: StrictExtract_2<
|
|
3679
|
+
| 'serialize'
|
|
3680
|
+
| 'serialization.failure'
|
|
3681
|
+
| 'serialization.success'
|
|
3682
|
+
| 'deserialize'
|
|
3683
|
+
| 'deserialization.failure'
|
|
3684
|
+
| 'deserialization.success'
|
|
3685
|
+
| 'split'
|
|
3686
|
+
| 'delete'
|
|
3687
|
+
| 'select'
|
|
3688
|
+
| 'annotation.add'
|
|
3689
|
+
| 'annotation.remove'
|
|
3690
|
+
| 'block.set'
|
|
3691
|
+
| 'block.unset'
|
|
3692
|
+
| 'decorator.add'
|
|
3693
|
+
| 'decorator.remove'
|
|
3694
|
+
| 'delete.backward'
|
|
3695
|
+
| 'delete.block'
|
|
3696
|
+
| 'delete.forward'
|
|
3697
|
+
| 'history.redo'
|
|
3698
|
+
| 'history.undo'
|
|
3699
|
+
| 'insert.inline object'
|
|
3700
|
+
| 'insert.block'
|
|
3701
|
+
| 'insert.span'
|
|
3702
|
+
| 'insert.text'
|
|
3703
|
+
| 'move.backward'
|
|
3704
|
+
| 'move.block'
|
|
3705
|
+
| 'move.forward'
|
|
3706
|
+
| 'annotation.toggle'
|
|
3707
|
+
| 'decorator.toggle'
|
|
3708
|
+
| 'delete.text'
|
|
3709
|
+
| 'insert.blocks'
|
|
3710
|
+
| 'insert.break'
|
|
3711
|
+
| 'insert.soft break'
|
|
3712
|
+
| 'list item.add'
|
|
3713
|
+
| 'list item.remove'
|
|
3714
|
+
| 'list item.toggle'
|
|
3715
|
+
| 'move.block down'
|
|
3716
|
+
| 'move.block up'
|
|
3717
|
+
| 'select.previous block'
|
|
3718
|
+
| 'select.next block'
|
|
3719
|
+
| 'style.add'
|
|
3720
|
+
| 'style.remove'
|
|
3721
|
+
| 'style.toggle',
|
|
3722
|
+
'style.remove'
|
|
3723
|
+
>
|
|
3724
|
+
style: string
|
|
3725
|
+
}
|
|
3726
|
+
| {
|
|
3727
|
+
type: StrictExtract_2<
|
|
3728
|
+
| 'serialize'
|
|
3729
|
+
| 'serialization.failure'
|
|
3730
|
+
| 'serialization.success'
|
|
3731
|
+
| 'deserialize'
|
|
3732
|
+
| 'deserialization.failure'
|
|
3733
|
+
| 'deserialization.success'
|
|
3734
|
+
| 'split'
|
|
3735
|
+
| 'delete'
|
|
3736
|
+
| 'select'
|
|
3737
|
+
| 'annotation.add'
|
|
3738
|
+
| 'annotation.remove'
|
|
3739
|
+
| 'block.set'
|
|
3740
|
+
| 'block.unset'
|
|
3741
|
+
| 'decorator.add'
|
|
3742
|
+
| 'decorator.remove'
|
|
3743
|
+
| 'delete.backward'
|
|
3744
|
+
| 'delete.block'
|
|
3745
|
+
| 'delete.forward'
|
|
3746
|
+
| 'history.redo'
|
|
3747
|
+
| 'history.undo'
|
|
3748
|
+
| 'insert.inline object'
|
|
3749
|
+
| 'insert.block'
|
|
3750
|
+
| 'insert.span'
|
|
3751
|
+
| 'insert.text'
|
|
3752
|
+
| 'move.backward'
|
|
3753
|
+
| 'move.block'
|
|
3754
|
+
| 'move.forward'
|
|
3755
|
+
| 'annotation.toggle'
|
|
3756
|
+
| 'decorator.toggle'
|
|
3757
|
+
| 'delete.text'
|
|
3758
|
+
| 'insert.blocks'
|
|
3759
|
+
| 'insert.break'
|
|
3760
|
+
| 'insert.soft break'
|
|
3761
|
+
| 'list item.add'
|
|
3762
|
+
| 'list item.remove'
|
|
3763
|
+
| 'list item.toggle'
|
|
3764
|
+
| 'move.block down'
|
|
3765
|
+
| 'move.block up'
|
|
3766
|
+
| 'select.previous block'
|
|
3767
|
+
| 'select.next block'
|
|
3768
|
+
| 'style.add'
|
|
3769
|
+
| 'style.remove'
|
|
3770
|
+
| 'style.toggle',
|
|
3771
|
+
'style.toggle'
|
|
3772
|
+
>
|
|
3773
|
+
style: string
|
|
3774
|
+
}
|
|
3775
|
+
| {
|
|
3776
|
+
type: StrictExtract_2<
|
|
3777
|
+
| 'clipboard.copy'
|
|
3778
|
+
| 'clipboard.cut'
|
|
3779
|
+
| 'drag.dragstart'
|
|
3780
|
+
| 'clipboard.paste'
|
|
3781
|
+
| 'drag.drag'
|
|
3782
|
+
| 'drag.dragend'
|
|
3783
|
+
| 'drag.dragenter'
|
|
3784
|
+
| 'drag.dragover'
|
|
3785
|
+
| 'drag.dragleave'
|
|
3786
|
+
| 'drag.drop'
|
|
3787
|
+
| 'input.*'
|
|
3788
|
+
| 'keyboard.keydown'
|
|
3789
|
+
| 'keyboard.keyup'
|
|
3790
|
+
| 'mouse.click',
|
|
3791
|
+
'clipboard.copy'
|
|
3792
|
+
>
|
|
3793
|
+
originEvent: {
|
|
3794
|
+
dataTransfer: DataTransfer
|
|
3795
|
+
}
|
|
3796
|
+
position: Pick<EventPosition, 'selection'>
|
|
3797
|
+
}
|
|
3798
|
+
| {
|
|
3799
|
+
type: StrictExtract_2<
|
|
3800
|
+
| 'clipboard.copy'
|
|
3801
|
+
| 'clipboard.cut'
|
|
3802
|
+
| 'drag.dragstart'
|
|
3803
|
+
| 'clipboard.paste'
|
|
3804
|
+
| 'drag.drag'
|
|
3805
|
+
| 'drag.dragend'
|
|
3806
|
+
| 'drag.dragenter'
|
|
3807
|
+
| 'drag.dragover'
|
|
3808
|
+
| 'drag.dragleave'
|
|
3809
|
+
| 'drag.drop'
|
|
3810
|
+
| 'input.*'
|
|
3811
|
+
| 'keyboard.keydown'
|
|
3812
|
+
| 'keyboard.keyup'
|
|
3813
|
+
| 'mouse.click',
|
|
3814
|
+
'clipboard.cut'
|
|
3815
|
+
>
|
|
3816
|
+
originEvent: {
|
|
3817
|
+
dataTransfer: DataTransfer
|
|
3818
|
+
}
|
|
3819
|
+
position: Pick<EventPosition, 'selection'>
|
|
3820
|
+
}
|
|
3821
|
+
| {
|
|
3822
|
+
type: StrictExtract_2<
|
|
3823
|
+
| 'clipboard.copy'
|
|
3824
|
+
| 'clipboard.cut'
|
|
3825
|
+
| 'drag.dragstart'
|
|
3826
|
+
| 'clipboard.paste'
|
|
3827
|
+
| 'drag.drag'
|
|
3828
|
+
| 'drag.dragend'
|
|
3829
|
+
| 'drag.dragenter'
|
|
3830
|
+
| 'drag.dragover'
|
|
3831
|
+
| 'drag.dragleave'
|
|
3832
|
+
| 'drag.drop'
|
|
3833
|
+
| 'input.*'
|
|
3834
|
+
| 'keyboard.keydown'
|
|
3835
|
+
| 'keyboard.keyup'
|
|
3836
|
+
| 'mouse.click',
|
|
3837
|
+
'clipboard.paste'
|
|
3838
|
+
>
|
|
3839
|
+
originEvent: {
|
|
3840
|
+
dataTransfer: DataTransfer
|
|
3841
|
+
}
|
|
3842
|
+
position: Pick<EventPosition, 'selection'>
|
|
3843
|
+
}
|
|
3844
|
+
| {
|
|
3845
|
+
type: StrictExtract_2<
|
|
3846
|
+
| 'clipboard.copy'
|
|
3847
|
+
| 'clipboard.cut'
|
|
3848
|
+
| 'drag.dragstart'
|
|
3849
|
+
| 'clipboard.paste'
|
|
3850
|
+
| 'drag.drag'
|
|
3851
|
+
| 'drag.dragend'
|
|
3852
|
+
| 'drag.dragenter'
|
|
3853
|
+
| 'drag.dragover'
|
|
3854
|
+
| 'drag.dragleave'
|
|
3855
|
+
| 'drag.drop'
|
|
3856
|
+
| 'input.*'
|
|
3857
|
+
| 'keyboard.keydown'
|
|
3858
|
+
| 'keyboard.keyup'
|
|
3859
|
+
| 'mouse.click',
|
|
3860
|
+
'drag.dragstart'
|
|
3861
|
+
>
|
|
3862
|
+
originEvent: {
|
|
3863
|
+
dataTransfer: DataTransfer
|
|
3864
|
+
}
|
|
3865
|
+
position: Pick<EventPosition, 'selection'>
|
|
3866
|
+
}
|
|
3867
|
+
| {
|
|
3868
|
+
type: StrictExtract_2<
|
|
3869
|
+
| 'clipboard.copy'
|
|
3870
|
+
| 'clipboard.cut'
|
|
3871
|
+
| 'drag.dragstart'
|
|
3872
|
+
| 'clipboard.paste'
|
|
3873
|
+
| 'drag.drag'
|
|
3874
|
+
| 'drag.dragend'
|
|
3875
|
+
| 'drag.dragenter'
|
|
3876
|
+
| 'drag.dragover'
|
|
3877
|
+
| 'drag.dragleave'
|
|
3878
|
+
| 'drag.drop'
|
|
3879
|
+
| 'input.*'
|
|
3880
|
+
| 'keyboard.keydown'
|
|
3881
|
+
| 'keyboard.keyup'
|
|
3882
|
+
| 'mouse.click',
|
|
3883
|
+
'drag.drag'
|
|
3884
|
+
>
|
|
3885
|
+
originEvent: {
|
|
3886
|
+
dataTransfer: DataTransfer
|
|
3887
|
+
}
|
|
3888
|
+
}
|
|
3889
|
+
| {
|
|
3890
|
+
type: StrictExtract_2<
|
|
3891
|
+
| 'clipboard.copy'
|
|
3892
|
+
| 'clipboard.cut'
|
|
3893
|
+
| 'drag.dragstart'
|
|
3894
|
+
| 'clipboard.paste'
|
|
3895
|
+
| 'drag.drag'
|
|
3896
|
+
| 'drag.dragend'
|
|
3897
|
+
| 'drag.dragenter'
|
|
3898
|
+
| 'drag.dragover'
|
|
3899
|
+
| 'drag.dragleave'
|
|
3900
|
+
| 'drag.drop'
|
|
3901
|
+
| 'input.*'
|
|
3902
|
+
| 'keyboard.keydown'
|
|
3903
|
+
| 'keyboard.keyup'
|
|
3904
|
+
| 'mouse.click',
|
|
3905
|
+
'drag.dragend'
|
|
3906
|
+
>
|
|
3907
|
+
originEvent: {
|
|
3908
|
+
dataTransfer: DataTransfer
|
|
3909
|
+
}
|
|
3910
|
+
}
|
|
3911
|
+
| {
|
|
3912
|
+
type: StrictExtract_2<
|
|
3913
|
+
| 'clipboard.copy'
|
|
3914
|
+
| 'clipboard.cut'
|
|
3915
|
+
| 'drag.dragstart'
|
|
3916
|
+
| 'clipboard.paste'
|
|
3917
|
+
| 'drag.drag'
|
|
3918
|
+
| 'drag.dragend'
|
|
3919
|
+
| 'drag.dragenter'
|
|
3920
|
+
| 'drag.dragover'
|
|
3921
|
+
| 'drag.dragleave'
|
|
3922
|
+
| 'drag.drop'
|
|
3923
|
+
| 'input.*'
|
|
3924
|
+
| 'keyboard.keydown'
|
|
3925
|
+
| 'keyboard.keyup'
|
|
3926
|
+
| 'mouse.click',
|
|
3927
|
+
'drag.dragenter'
|
|
3928
|
+
>
|
|
3929
|
+
originEvent: {
|
|
3930
|
+
dataTransfer: DataTransfer
|
|
3931
|
+
}
|
|
3932
|
+
position: EventPosition
|
|
3933
|
+
}
|
|
3934
|
+
| {
|
|
3935
|
+
type: StrictExtract_2<
|
|
3936
|
+
| 'clipboard.copy'
|
|
3937
|
+
| 'clipboard.cut'
|
|
3938
|
+
| 'drag.dragstart'
|
|
3939
|
+
| 'clipboard.paste'
|
|
3940
|
+
| 'drag.drag'
|
|
3941
|
+
| 'drag.dragend'
|
|
3942
|
+
| 'drag.dragenter'
|
|
3943
|
+
| 'drag.dragover'
|
|
3944
|
+
| 'drag.dragleave'
|
|
3945
|
+
| 'drag.drop'
|
|
3946
|
+
| 'input.*'
|
|
3947
|
+
| 'keyboard.keydown'
|
|
3948
|
+
| 'keyboard.keyup'
|
|
3949
|
+
| 'mouse.click',
|
|
3950
|
+
'drag.dragover'
|
|
3951
|
+
>
|
|
3952
|
+
originEvent: {
|
|
3953
|
+
dataTransfer: DataTransfer
|
|
3954
|
+
}
|
|
3955
|
+
position: EventPosition
|
|
3956
|
+
}
|
|
3957
|
+
| {
|
|
3958
|
+
type: StrictExtract_2<
|
|
3959
|
+
| 'clipboard.copy'
|
|
3960
|
+
| 'clipboard.cut'
|
|
3961
|
+
| 'drag.dragstart'
|
|
3962
|
+
| 'clipboard.paste'
|
|
3963
|
+
| 'drag.drag'
|
|
3964
|
+
| 'drag.dragend'
|
|
3965
|
+
| 'drag.dragenter'
|
|
3966
|
+
| 'drag.dragover'
|
|
3967
|
+
| 'drag.dragleave'
|
|
3968
|
+
| 'drag.drop'
|
|
3969
|
+
| 'input.*'
|
|
3970
|
+
| 'keyboard.keydown'
|
|
3971
|
+
| 'keyboard.keyup'
|
|
3972
|
+
| 'mouse.click',
|
|
3973
|
+
'drag.drop'
|
|
3974
|
+
>
|
|
3975
|
+
originEvent: {
|
|
3976
|
+
dataTransfer: DataTransfer
|
|
3977
|
+
}
|
|
3978
|
+
position: EventPosition
|
|
3979
|
+
}
|
|
3980
|
+
| {
|
|
3981
|
+
type: StrictExtract_2<
|
|
3982
|
+
| 'clipboard.copy'
|
|
3983
|
+
| 'clipboard.cut'
|
|
3984
|
+
| 'drag.dragstart'
|
|
3985
|
+
| 'clipboard.paste'
|
|
3986
|
+
| 'drag.drag'
|
|
3987
|
+
| 'drag.dragend'
|
|
3988
|
+
| 'drag.dragenter'
|
|
3989
|
+
| 'drag.dragover'
|
|
3990
|
+
| 'drag.dragleave'
|
|
3991
|
+
| 'drag.drop'
|
|
3992
|
+
| 'input.*'
|
|
3993
|
+
| 'keyboard.keydown'
|
|
3994
|
+
| 'keyboard.keyup'
|
|
3995
|
+
| 'mouse.click',
|
|
3996
|
+
'drag.dragleave'
|
|
3997
|
+
>
|
|
3998
|
+
originEvent: {
|
|
3999
|
+
dataTransfer: DataTransfer
|
|
4000
|
+
}
|
|
4001
|
+
}
|
|
4002
|
+
| InputBehaviorEvent_2
|
|
4003
|
+
| {
|
|
4004
|
+
type: StrictExtract_2<
|
|
4005
|
+
| 'clipboard.copy'
|
|
4006
|
+
| 'clipboard.cut'
|
|
4007
|
+
| 'drag.dragstart'
|
|
4008
|
+
| 'clipboard.paste'
|
|
4009
|
+
| 'drag.drag'
|
|
4010
|
+
| 'drag.dragend'
|
|
4011
|
+
| 'drag.dragenter'
|
|
4012
|
+
| 'drag.dragover'
|
|
4013
|
+
| 'drag.dragleave'
|
|
4014
|
+
| 'drag.drop'
|
|
4015
|
+
| 'input.*'
|
|
4016
|
+
| 'keyboard.keydown'
|
|
4017
|
+
| 'keyboard.keyup'
|
|
4018
|
+
| 'mouse.click',
|
|
4019
|
+
'keyboard.keydown'
|
|
4020
|
+
>
|
|
4021
|
+
originEvent: Pick<
|
|
4022
|
+
KeyboardEvent,
|
|
4023
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
4024
|
+
>
|
|
4025
|
+
}
|
|
4026
|
+
| {
|
|
4027
|
+
type: StrictExtract_2<
|
|
4028
|
+
| 'clipboard.copy'
|
|
4029
|
+
| 'clipboard.cut'
|
|
4030
|
+
| 'drag.dragstart'
|
|
4031
|
+
| 'clipboard.paste'
|
|
4032
|
+
| 'drag.drag'
|
|
4033
|
+
| 'drag.dragend'
|
|
4034
|
+
| 'drag.dragenter'
|
|
4035
|
+
| 'drag.dragover'
|
|
4036
|
+
| 'drag.dragleave'
|
|
4037
|
+
| 'drag.drop'
|
|
4038
|
+
| 'input.*'
|
|
4039
|
+
| 'keyboard.keydown'
|
|
4040
|
+
| 'keyboard.keyup'
|
|
4041
|
+
| 'mouse.click',
|
|
4042
|
+
'keyboard.keyup'
|
|
4043
|
+
>
|
|
4044
|
+
originEvent: Pick<
|
|
4045
|
+
KeyboardEvent,
|
|
4046
|
+
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
4047
|
+
>
|
|
4048
|
+
}
|
|
4049
|
+
| MouseBehaviorEvent_2
|
|
4050
|
+
| CustomBehaviorEvent_2<
|
|
4051
|
+
Record<string, unknown>,
|
|
4052
|
+
string,
|
|
4053
|
+
`custom.${string}`
|
|
4054
|
+
>
|
|
4055
|
+
>
|
|
4056
|
+
>
|
|
1517
4057
|
converters: Set<Converter>
|
|
1518
4058
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
1519
4059
|
keyGenerator: () => string
|
|
@@ -1569,10 +4109,6 @@ declare const editorMachine: StateMachine<
|
|
|
1569
4109
|
type: 'update schema'
|
|
1570
4110
|
schema: EditorSchema
|
|
1571
4111
|
}
|
|
1572
|
-
| {
|
|
1573
|
-
type: 'update behaviors'
|
|
1574
|
-
behaviors: Array<Behavior>
|
|
1575
|
-
}
|
|
1576
4112
|
| {
|
|
1577
4113
|
type: 'update key generator'
|
|
1578
4114
|
keyGenerator: () => string
|
|
@@ -1776,10 +4312,6 @@ declare const editorMachine: StateMachine<
|
|
|
1776
4312
|
type: 'update schema'
|
|
1777
4313
|
schema: EditorSchema
|
|
1778
4314
|
}
|
|
1779
|
-
| {
|
|
1780
|
-
type: 'update behaviors'
|
|
1781
|
-
behaviors: Array<Behavior>
|
|
1782
|
-
}
|
|
1783
4315
|
| {
|
|
1784
4316
|
type: 'update key generator'
|
|
1785
4317
|
keyGenerator: () => string
|
|
@@ -1986,10 +4518,6 @@ declare const editorMachine: StateMachine<
|
|
|
1986
4518
|
type: 'update schema'
|
|
1987
4519
|
schema: EditorSchema
|
|
1988
4520
|
}
|
|
1989
|
-
| {
|
|
1990
|
-
type: 'update behaviors'
|
|
1991
|
-
behaviors: Array<Behavior>
|
|
1992
|
-
}
|
|
1993
4521
|
| {
|
|
1994
4522
|
type: 'update key generator'
|
|
1995
4523
|
keyGenerator: () => string
|
|
@@ -2195,10 +4723,6 @@ declare const editorMachine: StateMachine<
|
|
|
2195
4723
|
type: 'update schema'
|
|
2196
4724
|
schema: EditorSchema
|
|
2197
4725
|
}
|
|
2198
|
-
| {
|
|
2199
|
-
type: 'update behaviors'
|
|
2200
|
-
behaviors: Array<Behavior>
|
|
2201
|
-
}
|
|
2202
4726
|
| {
|
|
2203
4727
|
type: 'update key generator'
|
|
2204
4728
|
keyGenerator: () => string
|
|
@@ -2403,10 +4927,6 @@ declare const editorMachine: StateMachine<
|
|
|
2403
4927
|
type: 'update schema'
|
|
2404
4928
|
schema: EditorSchema
|
|
2405
4929
|
}
|
|
2406
|
-
| {
|
|
2407
|
-
type: 'update behaviors'
|
|
2408
|
-
behaviors: Array<Behavior>
|
|
2409
|
-
}
|
|
2410
4930
|
| {
|
|
2411
4931
|
type: 'update key generator'
|
|
2412
4932
|
keyGenerator: () => string
|
|
@@ -2612,10 +5132,6 @@ declare const editorMachine: StateMachine<
|
|
|
2612
5132
|
type: 'update schema'
|
|
2613
5133
|
schema: EditorSchema
|
|
2614
5134
|
}
|
|
2615
|
-
| {
|
|
2616
|
-
type: 'update behaviors'
|
|
2617
|
-
behaviors: Array<Behavior>
|
|
2618
|
-
}
|
|
2619
5135
|
| {
|
|
2620
5136
|
type: 'update key generator'
|
|
2621
5137
|
keyGenerator: () => string
|
|
@@ -2772,10 +5288,6 @@ declare const editorMachine: StateMachine<
|
|
|
2772
5288
|
type: 'update schema'
|
|
2773
5289
|
schema: EditorSchema
|
|
2774
5290
|
}
|
|
2775
|
-
| {
|
|
2776
|
-
type: 'update behaviors'
|
|
2777
|
-
behaviors: Array<Behavior>
|
|
2778
|
-
}
|
|
2779
5291
|
| {
|
|
2780
5292
|
type: 'update key generator'
|
|
2781
5293
|
keyGenerator: () => string
|
|
@@ -2981,10 +5493,6 @@ declare const editorMachine: StateMachine<
|
|
|
2981
5493
|
type: 'update schema'
|
|
2982
5494
|
schema: EditorSchema
|
|
2983
5495
|
}
|
|
2984
|
-
| {
|
|
2985
|
-
type: 'update behaviors'
|
|
2986
|
-
behaviors: Array<Behavior>
|
|
2987
|
-
}
|
|
2988
5496
|
| {
|
|
2989
5497
|
type: 'update key generator'
|
|
2990
5498
|
keyGenerator: () => string
|
|
@@ -3188,10 +5696,6 @@ declare const editorMachine: StateMachine<
|
|
|
3188
5696
|
type: 'update schema'
|
|
3189
5697
|
schema: EditorSchema
|
|
3190
5698
|
}
|
|
3191
|
-
| {
|
|
3192
|
-
type: 'update behaviors'
|
|
3193
|
-
behaviors: Array<Behavior>
|
|
3194
|
-
}
|
|
3195
5699
|
| {
|
|
3196
5700
|
type: 'update key generator'
|
|
3197
5701
|
keyGenerator: () => string
|
|
@@ -3396,10 +5900,6 @@ declare const editorMachine: StateMachine<
|
|
|
3396
5900
|
type: 'update schema'
|
|
3397
5901
|
schema: EditorSchema
|
|
3398
5902
|
}
|
|
3399
|
-
| {
|
|
3400
|
-
type: 'update behaviors'
|
|
3401
|
-
behaviors: Array<Behavior>
|
|
3402
|
-
}
|
|
3403
5903
|
| {
|
|
3404
5904
|
type: 'update key generator'
|
|
3405
5905
|
keyGenerator: () => string
|
|
@@ -3567,9 +6067,6 @@ declare const editorMachine: StateMachine<
|
|
|
3567
6067
|
readonly 'remove behavior': {
|
|
3568
6068
|
readonly actions: 'remove behavior from context'
|
|
3569
6069
|
}
|
|
3570
|
-
readonly 'update behaviors': {
|
|
3571
|
-
readonly actions: 'assign behaviors'
|
|
3572
|
-
}
|
|
3573
6070
|
readonly 'update key generator': {
|
|
3574
6071
|
readonly actions: ActionFunction<
|
|
3575
6072
|
{
|
|
@@ -3613,10 +6110,6 @@ declare const editorMachine: StateMachine<
|
|
|
3613
6110
|
type: 'update schema'
|
|
3614
6111
|
schema: EditorSchema
|
|
3615
6112
|
}
|
|
3616
|
-
| {
|
|
3617
|
-
type: 'update behaviors'
|
|
3618
|
-
behaviors: Array<Behavior>
|
|
3619
|
-
}
|
|
3620
6113
|
| {
|
|
3621
6114
|
type: 'update key generator'
|
|
3622
6115
|
keyGenerator: () => string
|
|
@@ -3778,10 +6271,6 @@ declare const editorMachine: StateMachine<
|
|
|
3778
6271
|
type: 'update schema'
|
|
3779
6272
|
schema: EditorSchema
|
|
3780
6273
|
}
|
|
3781
|
-
| {
|
|
3782
|
-
type: 'update behaviors'
|
|
3783
|
-
behaviors: Array<Behavior>
|
|
3784
|
-
}
|
|
3785
6274
|
| {
|
|
3786
6275
|
type: 'update key generator'
|
|
3787
6276
|
keyGenerator: () => string
|
|
@@ -3940,10 +6429,6 @@ declare const editorMachine: StateMachine<
|
|
|
3940
6429
|
type: 'update schema'
|
|
3941
6430
|
schema: EditorSchema
|
|
3942
6431
|
}
|
|
3943
|
-
| {
|
|
3944
|
-
type: 'update behaviors'
|
|
3945
|
-
behaviors: Array<Behavior>
|
|
3946
|
-
}
|
|
3947
6432
|
| {
|
|
3948
6433
|
type: 'update key generator'
|
|
3949
6434
|
keyGenerator: () => string
|
|
@@ -4261,10 +6746,6 @@ declare const editorMachine: StateMachine<
|
|
|
4261
6746
|
type: 'update schema'
|
|
4262
6747
|
schema: EditorSchema
|
|
4263
6748
|
}
|
|
4264
|
-
| {
|
|
4265
|
-
type: 'update behaviors'
|
|
4266
|
-
behaviors: Array<Behavior>
|
|
4267
|
-
}
|
|
4268
6749
|
| {
|
|
4269
6750
|
type: 'update key generator'
|
|
4270
6751
|
keyGenerator: () => string
|
|
@@ -4433,10 +6914,6 @@ declare const editorMachine: StateMachine<
|
|
|
4433
6914
|
type: 'update schema'
|
|
4434
6915
|
schema: EditorSchema
|
|
4435
6916
|
}
|
|
4436
|
-
| {
|
|
4437
|
-
type: 'update behaviors'
|
|
4438
|
-
behaviors: Array<Behavior>
|
|
4439
|
-
}
|
|
4440
6917
|
| {
|
|
4441
6918
|
type: 'update key generator'
|
|
4442
6919
|
keyGenerator: () => string
|
|
@@ -4622,10 +7099,6 @@ declare const editorMachine: StateMachine<
|
|
|
4622
7099
|
type: 'update schema'
|
|
4623
7100
|
schema: EditorSchema
|
|
4624
7101
|
}
|
|
4625
|
-
| {
|
|
4626
|
-
type: 'update behaviors'
|
|
4627
|
-
behaviors: Array<Behavior>
|
|
4628
|
-
}
|
|
4629
7102
|
| {
|
|
4630
7103
|
type: 'update key generator'
|
|
4631
7104
|
keyGenerator: () => string
|
|
@@ -4752,10 +7225,6 @@ declare const editorMachine: StateMachine<
|
|
|
4752
7225
|
type: 'update schema'
|
|
4753
7226
|
schema: EditorSchema
|
|
4754
7227
|
}
|
|
4755
|
-
| {
|
|
4756
|
-
type: 'update behaviors'
|
|
4757
|
-
behaviors: Array<Behavior>
|
|
4758
|
-
}
|
|
4759
7228
|
| {
|
|
4760
7229
|
type: 'update key generator'
|
|
4761
7230
|
keyGenerator: () => string
|
|
@@ -4902,10 +7371,6 @@ declare const editorMachine: StateMachine<
|
|
|
4902
7371
|
type: 'update schema'
|
|
4903
7372
|
schema: EditorSchema
|
|
4904
7373
|
}
|
|
4905
|
-
| {
|
|
4906
|
-
type: 'update behaviors'
|
|
4907
|
-
behaviors: Array<Behavior>
|
|
4908
|
-
}
|
|
4909
7374
|
| {
|
|
4910
7375
|
type: 'update key generator'
|
|
4911
7376
|
keyGenerator: () => string
|
|
@@ -5032,10 +7497,6 @@ declare const editorMachine: StateMachine<
|
|
|
5032
7497
|
type: 'update schema'
|
|
5033
7498
|
schema: EditorSchema
|
|
5034
7499
|
}
|
|
5035
|
-
| {
|
|
5036
|
-
type: 'update behaviors'
|
|
5037
|
-
behaviors: Array<Behavior>
|
|
5038
|
-
}
|
|
5039
7500
|
| {
|
|
5040
7501
|
type: 'update key generator'
|
|
5041
7502
|
keyGenerator: () => string
|
|
@@ -5242,10 +7703,6 @@ declare const editorMachine: StateMachine<
|
|
|
5242
7703
|
type: 'update schema'
|
|
5243
7704
|
schema: EditorSchema
|
|
5244
7705
|
}
|
|
5245
|
-
| {
|
|
5246
|
-
type: 'update behaviors'
|
|
5247
|
-
behaviors: Array<Behavior>
|
|
5248
|
-
}
|
|
5249
7706
|
| {
|
|
5250
7707
|
type: 'update key generator'
|
|
5251
7708
|
keyGenerator: () => string
|
|
@@ -5691,10 +8148,6 @@ declare type ExternalEditorEvent =
|
|
|
5691
8148
|
type: 'update schema'
|
|
5692
8149
|
schema: EditorSchema
|
|
5693
8150
|
}
|
|
5694
|
-
| {
|
|
5695
|
-
type: 'update behaviors'
|
|
5696
|
-
behaviors: Array<Behavior>
|
|
5697
|
-
}
|
|
5698
8151
|
| {
|
|
5699
8152
|
type: 'update key generator'
|
|
5700
8153
|
keyGenerator: () => string
|