@portabletext/editor 1.48.9 → 1.48.10
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 +103 -47
- package/lib/_chunks-cjs/editor-provider.cjs.map +1 -1
- package/lib/_chunks-es/editor-provider.js +103 -47
- package/lib/_chunks-es/editor-provider.js.map +1 -1
- package/lib/behaviors/index.d.cts +449 -288
- package/lib/behaviors/index.d.ts +449 -288
- package/lib/index.d.cts +449 -288
- package/lib/index.d.ts +449 -288
- package/lib/plugins/index.d.cts +449 -288
- package/lib/plugins/index.d.ts +449 -288
- package/lib/selectors/index.d.cts +449 -288
- package/lib/selectors/index.d.ts +449 -288
- package/lib/utils/index.d.cts +449 -288
- package/lib/utils/index.d.ts +449 -288
- package/package.json +3 -3
- package/src/editor/editor-machine.ts +104 -39
- package/src/editor/sync-machine.ts +10 -4
package/lib/selectors/index.d.ts
CHANGED
|
@@ -579,6 +579,7 @@ declare const editorMachine: StateMachine<
|
|
|
579
579
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
580
580
|
keyGenerator: () => string
|
|
581
581
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
582
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
582
583
|
schema: EditorSchema
|
|
583
584
|
initialReadOnly: boolean
|
|
584
585
|
maxBlocks: number | undefined
|
|
@@ -592,6 +593,7 @@ declare const editorMachine: StateMachine<
|
|
|
592
593
|
},
|
|
593
594
|
| InternalPatchEvent
|
|
594
595
|
| MutationEvent
|
|
596
|
+
| PatchesEvent
|
|
595
597
|
| {
|
|
596
598
|
type: 'add behavior'
|
|
597
599
|
behavior: Behavior
|
|
@@ -624,7 +626,6 @@ declare const editorMachine: StateMachine<
|
|
|
624
626
|
type: 'update maxBlocks'
|
|
625
627
|
maxBlocks: number | undefined
|
|
626
628
|
}
|
|
627
|
-
| PatchesEvent
|
|
628
629
|
| {
|
|
629
630
|
type: 'blur'
|
|
630
631
|
editor: PortableTextSlateEditor
|
|
@@ -640,7 +641,10 @@ declare const editorMachine: StateMachine<
|
|
|
640
641
|
type: 'done normalizing'
|
|
641
642
|
}
|
|
642
643
|
| {
|
|
643
|
-
type: 'done syncing
|
|
644
|
+
type: 'done syncing value'
|
|
645
|
+
}
|
|
646
|
+
| {
|
|
647
|
+
type: 'syncing value'
|
|
644
648
|
}
|
|
645
649
|
| {
|
|
646
650
|
type: 'behavior event'
|
|
@@ -768,6 +772,18 @@ declare const editorMachine: StateMachine<
|
|
|
768
772
|
type: 'clear pending events'
|
|
769
773
|
params: NonReducibleUnknown
|
|
770
774
|
}
|
|
775
|
+
'defer incoming patches': {
|
|
776
|
+
type: 'defer incoming patches'
|
|
777
|
+
params: NonReducibleUnknown
|
|
778
|
+
}
|
|
779
|
+
'emit pending incoming patches': {
|
|
780
|
+
type: 'emit pending incoming patches'
|
|
781
|
+
params: NonReducibleUnknown
|
|
782
|
+
}
|
|
783
|
+
'clear pending incoming patches': {
|
|
784
|
+
type: 'clear pending incoming patches'
|
|
785
|
+
params: NonReducibleUnknown
|
|
786
|
+
}
|
|
771
787
|
'handle blur': {
|
|
772
788
|
type: 'handle blur'
|
|
773
789
|
params: unknown
|
|
@@ -801,9 +817,15 @@ declare const editorMachine: StateMachine<
|
|
|
801
817
|
}
|
|
802
818
|
'setup':
|
|
803
819
|
| 'setting up'
|
|
804
|
-
| 'dirty'
|
|
805
820
|
| {
|
|
806
|
-
|
|
821
|
+
'set up': {
|
|
822
|
+
'value sync': 'syncing value' | 'idle'
|
|
823
|
+
'writing':
|
|
824
|
+
| 'dirty'
|
|
825
|
+
| {
|
|
826
|
+
pristine: 'normalizing' | 'idle'
|
|
827
|
+
}
|
|
828
|
+
}
|
|
807
829
|
}
|
|
808
830
|
},
|
|
809
831
|
'dragging internally',
|
|
@@ -911,6 +933,7 @@ declare const editorMachine: StateMachine<
|
|
|
911
933
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
912
934
|
keyGenerator: () => string
|
|
913
935
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
936
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
914
937
|
schema: EditorSchema
|
|
915
938
|
initialReadOnly: boolean
|
|
916
939
|
maxBlocks: number | undefined
|
|
@@ -924,6 +947,7 @@ declare const editorMachine: StateMachine<
|
|
|
924
947
|
},
|
|
925
948
|
| InternalPatchEvent
|
|
926
949
|
| MutationEvent
|
|
950
|
+
| PatchesEvent
|
|
927
951
|
| {
|
|
928
952
|
type: 'add behavior'
|
|
929
953
|
behavior: Behavior
|
|
@@ -956,7 +980,6 @@ declare const editorMachine: StateMachine<
|
|
|
956
980
|
type: 'update maxBlocks'
|
|
957
981
|
maxBlocks: number | undefined
|
|
958
982
|
}
|
|
959
|
-
| PatchesEvent
|
|
960
983
|
| {
|
|
961
984
|
type: 'blur'
|
|
962
985
|
editor: PortableTextSlateEditor
|
|
@@ -972,7 +995,10 @@ declare const editorMachine: StateMachine<
|
|
|
972
995
|
type: 'done normalizing'
|
|
973
996
|
}
|
|
974
997
|
| {
|
|
975
|
-
type: 'done syncing
|
|
998
|
+
type: 'done syncing value'
|
|
999
|
+
}
|
|
1000
|
+
| {
|
|
1001
|
+
type: 'syncing value'
|
|
976
1002
|
}
|
|
977
1003
|
| {
|
|
978
1004
|
type: 'behavior event'
|
|
@@ -1058,6 +1084,7 @@ declare const editorMachine: StateMachine<
|
|
|
1058
1084
|
>,
|
|
1059
1085
|
| InternalPatchEvent
|
|
1060
1086
|
| MutationEvent
|
|
1087
|
+
| PatchesEvent
|
|
1061
1088
|
| {
|
|
1062
1089
|
type: 'add behavior'
|
|
1063
1090
|
behavior: Behavior
|
|
@@ -1090,7 +1117,6 @@ declare const editorMachine: StateMachine<
|
|
|
1090
1117
|
type: 'update maxBlocks'
|
|
1091
1118
|
maxBlocks: number | undefined
|
|
1092
1119
|
}
|
|
1093
|
-
| PatchesEvent
|
|
1094
1120
|
| {
|
|
1095
1121
|
type: 'blur'
|
|
1096
1122
|
editor: PortableTextSlateEditor
|
|
@@ -1106,7 +1132,10 @@ declare const editorMachine: StateMachine<
|
|
|
1106
1132
|
type: 'done normalizing'
|
|
1107
1133
|
}
|
|
1108
1134
|
| {
|
|
1109
|
-
type: 'done syncing
|
|
1135
|
+
type: 'done syncing value'
|
|
1136
|
+
}
|
|
1137
|
+
| {
|
|
1138
|
+
type: 'syncing value'
|
|
1110
1139
|
}
|
|
1111
1140
|
| {
|
|
1112
1141
|
type: 'behavior event'
|
|
@@ -1191,6 +1220,7 @@ declare const editorMachine: StateMachine<
|
|
|
1191
1220
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
1192
1221
|
keyGenerator: () => string
|
|
1193
1222
|
pendingEvents: never[]
|
|
1223
|
+
pendingIncomingPatchesEvents: never[]
|
|
1194
1224
|
schema: EditorSchema
|
|
1195
1225
|
selection: null
|
|
1196
1226
|
initialReadOnly: boolean
|
|
@@ -1206,6 +1236,7 @@ declare const editorMachine: StateMachine<
|
|
|
1206
1236
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
1207
1237
|
keyGenerator: () => string
|
|
1208
1238
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
1239
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
1209
1240
|
schema: EditorSchema
|
|
1210
1241
|
initialReadOnly: boolean
|
|
1211
1242
|
maxBlocks: number | undefined
|
|
@@ -1223,6 +1254,7 @@ declare const editorMachine: StateMachine<
|
|
|
1223
1254
|
},
|
|
1224
1255
|
| InternalPatchEvent
|
|
1225
1256
|
| MutationEvent
|
|
1257
|
+
| PatchesEvent
|
|
1226
1258
|
| {
|
|
1227
1259
|
type: 'add behavior'
|
|
1228
1260
|
behavior: Behavior
|
|
@@ -1255,7 +1287,6 @@ declare const editorMachine: StateMachine<
|
|
|
1255
1287
|
type: 'update maxBlocks'
|
|
1256
1288
|
maxBlocks: number | undefined
|
|
1257
1289
|
}
|
|
1258
|
-
| PatchesEvent
|
|
1259
1290
|
| {
|
|
1260
1291
|
type: 'blur'
|
|
1261
1292
|
editor: PortableTextSlateEditor
|
|
@@ -1271,7 +1302,10 @@ declare const editorMachine: StateMachine<
|
|
|
1271
1302
|
type: 'done normalizing'
|
|
1272
1303
|
}
|
|
1273
1304
|
| {
|
|
1274
|
-
type: 'done syncing
|
|
1305
|
+
type: 'done syncing value'
|
|
1306
|
+
}
|
|
1307
|
+
| {
|
|
1308
|
+
type: 'syncing value'
|
|
1275
1309
|
}
|
|
1276
1310
|
| {
|
|
1277
1311
|
type: 'behavior event'
|
|
@@ -1410,6 +1444,7 @@ declare const editorMachine: StateMachine<
|
|
|
1410
1444
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
1411
1445
|
keyGenerator: () => string
|
|
1412
1446
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
1447
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
1413
1448
|
schema: EditorSchema
|
|
1414
1449
|
initialReadOnly: boolean
|
|
1415
1450
|
maxBlocks: number | undefined
|
|
@@ -1426,6 +1461,7 @@ declare const editorMachine: StateMachine<
|
|
|
1426
1461
|
},
|
|
1427
1462
|
| InternalPatchEvent
|
|
1428
1463
|
| MutationEvent
|
|
1464
|
+
| PatchesEvent
|
|
1429
1465
|
| {
|
|
1430
1466
|
type: 'add behavior'
|
|
1431
1467
|
behavior: Behavior
|
|
@@ -1458,7 +1494,6 @@ declare const editorMachine: StateMachine<
|
|
|
1458
1494
|
type: 'update maxBlocks'
|
|
1459
1495
|
maxBlocks: number | undefined
|
|
1460
1496
|
}
|
|
1461
|
-
| PatchesEvent
|
|
1462
1497
|
| {
|
|
1463
1498
|
type: 'blur'
|
|
1464
1499
|
editor: PortableTextSlateEditor
|
|
@@ -1474,7 +1509,10 @@ declare const editorMachine: StateMachine<
|
|
|
1474
1509
|
type: 'done normalizing'
|
|
1475
1510
|
}
|
|
1476
1511
|
| {
|
|
1477
|
-
type: 'done syncing
|
|
1512
|
+
type: 'done syncing value'
|
|
1513
|
+
}
|
|
1514
|
+
| {
|
|
1515
|
+
type: 'syncing value'
|
|
1478
1516
|
}
|
|
1479
1517
|
| {
|
|
1480
1518
|
type: 'behavior event'
|
|
@@ -1613,6 +1651,7 @@ declare const editorMachine: StateMachine<
|
|
|
1613
1651
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
1614
1652
|
keyGenerator: () => string
|
|
1615
1653
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
1654
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
1616
1655
|
schema: EditorSchema
|
|
1617
1656
|
initialReadOnly: boolean
|
|
1618
1657
|
maxBlocks: number | undefined
|
|
@@ -1632,6 +1671,7 @@ declare const editorMachine: StateMachine<
|
|
|
1632
1671
|
},
|
|
1633
1672
|
| InternalPatchEvent
|
|
1634
1673
|
| MutationEvent
|
|
1674
|
+
| PatchesEvent
|
|
1635
1675
|
| {
|
|
1636
1676
|
type: 'add behavior'
|
|
1637
1677
|
behavior: Behavior
|
|
@@ -1664,7 +1704,6 @@ declare const editorMachine: StateMachine<
|
|
|
1664
1704
|
type: 'update maxBlocks'
|
|
1665
1705
|
maxBlocks: number | undefined
|
|
1666
1706
|
}
|
|
1667
|
-
| PatchesEvent
|
|
1668
1707
|
| {
|
|
1669
1708
|
type: 'blur'
|
|
1670
1709
|
editor: PortableTextSlateEditor
|
|
@@ -1680,7 +1719,10 @@ declare const editorMachine: StateMachine<
|
|
|
1680
1719
|
type: 'done normalizing'
|
|
1681
1720
|
}
|
|
1682
1721
|
| {
|
|
1683
|
-
type: 'done syncing
|
|
1722
|
+
type: 'done syncing value'
|
|
1723
|
+
}
|
|
1724
|
+
| {
|
|
1725
|
+
type: 'syncing value'
|
|
1684
1726
|
}
|
|
1685
1727
|
| {
|
|
1686
1728
|
type: 'behavior event'
|
|
@@ -1819,6 +1861,7 @@ declare const editorMachine: StateMachine<
|
|
|
1819
1861
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
1820
1862
|
keyGenerator: () => string
|
|
1821
1863
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
1864
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
1822
1865
|
schema: EditorSchema
|
|
1823
1866
|
initialReadOnly: boolean
|
|
1824
1867
|
maxBlocks: number | undefined
|
|
@@ -1837,6 +1880,7 @@ declare const editorMachine: StateMachine<
|
|
|
1837
1880
|
},
|
|
1838
1881
|
| InternalPatchEvent
|
|
1839
1882
|
| MutationEvent
|
|
1883
|
+
| PatchesEvent
|
|
1840
1884
|
| {
|
|
1841
1885
|
type: 'add behavior'
|
|
1842
1886
|
behavior: Behavior
|
|
@@ -1869,7 +1913,6 @@ declare const editorMachine: StateMachine<
|
|
|
1869
1913
|
type: 'update maxBlocks'
|
|
1870
1914
|
maxBlocks: number | undefined
|
|
1871
1915
|
}
|
|
1872
|
-
| PatchesEvent
|
|
1873
1916
|
| {
|
|
1874
1917
|
type: 'blur'
|
|
1875
1918
|
editor: PortableTextSlateEditor
|
|
@@ -1885,7 +1928,10 @@ declare const editorMachine: StateMachine<
|
|
|
1885
1928
|
type: 'done normalizing'
|
|
1886
1929
|
}
|
|
1887
1930
|
| {
|
|
1888
|
-
type: 'done syncing
|
|
1931
|
+
type: 'done syncing value'
|
|
1932
|
+
}
|
|
1933
|
+
| {
|
|
1934
|
+
type: 'syncing value'
|
|
1889
1935
|
}
|
|
1890
1936
|
| {
|
|
1891
1937
|
type: 'behavior event'
|
|
@@ -2024,6 +2070,7 @@ declare const editorMachine: StateMachine<
|
|
|
2024
2070
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
2025
2071
|
keyGenerator: () => string
|
|
2026
2072
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
2073
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
2027
2074
|
schema: EditorSchema
|
|
2028
2075
|
initialReadOnly: boolean
|
|
2029
2076
|
maxBlocks: number | undefined
|
|
@@ -2041,6 +2088,7 @@ declare const editorMachine: StateMachine<
|
|
|
2041
2088
|
},
|
|
2042
2089
|
| InternalPatchEvent
|
|
2043
2090
|
| MutationEvent
|
|
2091
|
+
| PatchesEvent
|
|
2044
2092
|
| {
|
|
2045
2093
|
type: 'add behavior'
|
|
2046
2094
|
behavior: Behavior
|
|
@@ -2073,7 +2121,6 @@ declare const editorMachine: StateMachine<
|
|
|
2073
2121
|
type: 'update maxBlocks'
|
|
2074
2122
|
maxBlocks: number | undefined
|
|
2075
2123
|
}
|
|
2076
|
-
| PatchesEvent
|
|
2077
2124
|
| {
|
|
2078
2125
|
type: 'blur'
|
|
2079
2126
|
editor: PortableTextSlateEditor
|
|
@@ -2089,7 +2136,10 @@ declare const editorMachine: StateMachine<
|
|
|
2089
2136
|
type: 'done normalizing'
|
|
2090
2137
|
}
|
|
2091
2138
|
| {
|
|
2092
|
-
type: 'done syncing
|
|
2139
|
+
type: 'done syncing value'
|
|
2140
|
+
}
|
|
2141
|
+
| {
|
|
2142
|
+
type: 'syncing value'
|
|
2093
2143
|
}
|
|
2094
2144
|
| {
|
|
2095
2145
|
type: 'behavior event'
|
|
@@ -2229,6 +2279,7 @@ declare const editorMachine: StateMachine<
|
|
|
2229
2279
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
2230
2280
|
keyGenerator: () => string
|
|
2231
2281
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
2282
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
2232
2283
|
schema: EditorSchema
|
|
2233
2284
|
initialReadOnly: boolean
|
|
2234
2285
|
maxBlocks: number | undefined
|
|
@@ -2246,6 +2297,7 @@ declare const editorMachine: StateMachine<
|
|
|
2246
2297
|
},
|
|
2247
2298
|
| InternalPatchEvent
|
|
2248
2299
|
| MutationEvent
|
|
2300
|
+
| PatchesEvent
|
|
2249
2301
|
| {
|
|
2250
2302
|
type: 'add behavior'
|
|
2251
2303
|
behavior: Behavior
|
|
@@ -2278,7 +2330,6 @@ declare const editorMachine: StateMachine<
|
|
|
2278
2330
|
type: 'update maxBlocks'
|
|
2279
2331
|
maxBlocks: number | undefined
|
|
2280
2332
|
}
|
|
2281
|
-
| PatchesEvent
|
|
2282
2333
|
| {
|
|
2283
2334
|
type: 'blur'
|
|
2284
2335
|
editor: PortableTextSlateEditor
|
|
@@ -2294,7 +2345,10 @@ declare const editorMachine: StateMachine<
|
|
|
2294
2345
|
type: 'done normalizing'
|
|
2295
2346
|
}
|
|
2296
2347
|
| {
|
|
2297
|
-
type: 'done syncing
|
|
2348
|
+
type: 'done syncing value'
|
|
2349
|
+
}
|
|
2350
|
+
| {
|
|
2351
|
+
type: 'syncing value'
|
|
2298
2352
|
}
|
|
2299
2353
|
| {
|
|
2300
2354
|
type: 'behavior event'
|
|
@@ -2385,6 +2439,7 @@ declare const editorMachine: StateMachine<
|
|
|
2385
2439
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
2386
2440
|
keyGenerator: () => string
|
|
2387
2441
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
2442
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
2388
2443
|
schema: EditorSchema
|
|
2389
2444
|
initialReadOnly: boolean
|
|
2390
2445
|
maxBlocks: number | undefined
|
|
@@ -2402,6 +2457,7 @@ declare const editorMachine: StateMachine<
|
|
|
2402
2457
|
},
|
|
2403
2458
|
| InternalPatchEvent
|
|
2404
2459
|
| MutationEvent
|
|
2460
|
+
| PatchesEvent
|
|
2405
2461
|
| {
|
|
2406
2462
|
type: 'add behavior'
|
|
2407
2463
|
behavior: Behavior
|
|
@@ -2434,7 +2490,6 @@ declare const editorMachine: StateMachine<
|
|
|
2434
2490
|
type: 'update maxBlocks'
|
|
2435
2491
|
maxBlocks: number | undefined
|
|
2436
2492
|
}
|
|
2437
|
-
| PatchesEvent
|
|
2438
2493
|
| {
|
|
2439
2494
|
type: 'blur'
|
|
2440
2495
|
editor: PortableTextSlateEditor
|
|
@@ -2450,7 +2505,10 @@ declare const editorMachine: StateMachine<
|
|
|
2450
2505
|
type: 'done normalizing'
|
|
2451
2506
|
}
|
|
2452
2507
|
| {
|
|
2453
|
-
type: 'done syncing
|
|
2508
|
+
type: 'done syncing value'
|
|
2509
|
+
}
|
|
2510
|
+
| {
|
|
2511
|
+
type: 'syncing value'
|
|
2454
2512
|
}
|
|
2455
2513
|
| {
|
|
2456
2514
|
type: 'behavior event'
|
|
@@ -2590,6 +2648,7 @@ declare const editorMachine: StateMachine<
|
|
|
2590
2648
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
2591
2649
|
keyGenerator: () => string
|
|
2592
2650
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
2651
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
2593
2652
|
schema: EditorSchema
|
|
2594
2653
|
initialReadOnly: boolean
|
|
2595
2654
|
maxBlocks: number | undefined
|
|
@@ -2607,6 +2666,7 @@ declare const editorMachine: StateMachine<
|
|
|
2607
2666
|
},
|
|
2608
2667
|
| InternalPatchEvent
|
|
2609
2668
|
| MutationEvent
|
|
2669
|
+
| PatchesEvent
|
|
2610
2670
|
| {
|
|
2611
2671
|
type: 'add behavior'
|
|
2612
2672
|
behavior: Behavior
|
|
@@ -2639,7 +2699,6 @@ declare const editorMachine: StateMachine<
|
|
|
2639
2699
|
type: 'update maxBlocks'
|
|
2640
2700
|
maxBlocks: number | undefined
|
|
2641
2701
|
}
|
|
2642
|
-
| PatchesEvent
|
|
2643
2702
|
| {
|
|
2644
2703
|
type: 'blur'
|
|
2645
2704
|
editor: PortableTextSlateEditor
|
|
@@ -2655,7 +2714,10 @@ declare const editorMachine: StateMachine<
|
|
|
2655
2714
|
type: 'done normalizing'
|
|
2656
2715
|
}
|
|
2657
2716
|
| {
|
|
2658
|
-
type: 'done syncing
|
|
2717
|
+
type: 'done syncing value'
|
|
2718
|
+
}
|
|
2719
|
+
| {
|
|
2720
|
+
type: 'syncing value'
|
|
2659
2721
|
}
|
|
2660
2722
|
| {
|
|
2661
2723
|
type: 'behavior event'
|
|
@@ -2794,6 +2856,7 @@ declare const editorMachine: StateMachine<
|
|
|
2794
2856
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
2795
2857
|
keyGenerator: () => string
|
|
2796
2858
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
2859
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
2797
2860
|
schema: EditorSchema
|
|
2798
2861
|
initialReadOnly: boolean
|
|
2799
2862
|
maxBlocks: number | undefined
|
|
@@ -2810,6 +2873,7 @@ declare const editorMachine: StateMachine<
|
|
|
2810
2873
|
},
|
|
2811
2874
|
| InternalPatchEvent
|
|
2812
2875
|
| MutationEvent
|
|
2876
|
+
| PatchesEvent
|
|
2813
2877
|
| {
|
|
2814
2878
|
type: 'add behavior'
|
|
2815
2879
|
behavior: Behavior
|
|
@@ -2842,7 +2906,6 @@ declare const editorMachine: StateMachine<
|
|
|
2842
2906
|
type: 'update maxBlocks'
|
|
2843
2907
|
maxBlocks: number | undefined
|
|
2844
2908
|
}
|
|
2845
|
-
| PatchesEvent
|
|
2846
2909
|
| {
|
|
2847
2910
|
type: 'blur'
|
|
2848
2911
|
editor: PortableTextSlateEditor
|
|
@@ -2858,7 +2921,10 @@ declare const editorMachine: StateMachine<
|
|
|
2858
2921
|
type: 'done normalizing'
|
|
2859
2922
|
}
|
|
2860
2923
|
| {
|
|
2861
|
-
type: 'done syncing
|
|
2924
|
+
type: 'done syncing value'
|
|
2925
|
+
}
|
|
2926
|
+
| {
|
|
2927
|
+
type: 'syncing value'
|
|
2862
2928
|
}
|
|
2863
2929
|
| {
|
|
2864
2930
|
type: 'behavior event'
|
|
@@ -2997,6 +3063,7 @@ declare const editorMachine: StateMachine<
|
|
|
2997
3063
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
2998
3064
|
keyGenerator: () => string
|
|
2999
3065
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
3066
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
3000
3067
|
schema: EditorSchema
|
|
3001
3068
|
initialReadOnly: boolean
|
|
3002
3069
|
maxBlocks: number | undefined
|
|
@@ -3014,6 +3081,7 @@ declare const editorMachine: StateMachine<
|
|
|
3014
3081
|
},
|
|
3015
3082
|
| InternalPatchEvent
|
|
3016
3083
|
| MutationEvent
|
|
3084
|
+
| PatchesEvent
|
|
3017
3085
|
| {
|
|
3018
3086
|
type: 'add behavior'
|
|
3019
3087
|
behavior: Behavior
|
|
@@ -3046,7 +3114,6 @@ declare const editorMachine: StateMachine<
|
|
|
3046
3114
|
type: 'update maxBlocks'
|
|
3047
3115
|
maxBlocks: number | undefined
|
|
3048
3116
|
}
|
|
3049
|
-
| PatchesEvent
|
|
3050
3117
|
| {
|
|
3051
3118
|
type: 'blur'
|
|
3052
3119
|
editor: PortableTextSlateEditor
|
|
@@ -3062,7 +3129,10 @@ declare const editorMachine: StateMachine<
|
|
|
3062
3129
|
type: 'done normalizing'
|
|
3063
3130
|
}
|
|
3064
3131
|
| {
|
|
3065
|
-
type: 'done syncing
|
|
3132
|
+
type: 'done syncing value'
|
|
3133
|
+
}
|
|
3134
|
+
| {
|
|
3135
|
+
type: 'syncing value'
|
|
3066
3136
|
}
|
|
3067
3137
|
| {
|
|
3068
3138
|
type: 'behavior event'
|
|
@@ -3199,207 +3269,6 @@ declare const editorMachine: StateMachine<
|
|
|
3199
3269
|
readonly 'remove behavior': {
|
|
3200
3270
|
readonly actions: 'remove behavior from context'
|
|
3201
3271
|
}
|
|
3202
|
-
readonly 'patches': {
|
|
3203
|
-
readonly actions: ActionFunction<
|
|
3204
|
-
{
|
|
3205
|
-
behaviors: Set<Behavior>
|
|
3206
|
-
converters: Set<Converter>
|
|
3207
|
-
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
3208
|
-
keyGenerator: () => string
|
|
3209
|
-
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
3210
|
-
schema: EditorSchema
|
|
3211
|
-
initialReadOnly: boolean
|
|
3212
|
-
maxBlocks: number | undefined
|
|
3213
|
-
selection: EditorSelection
|
|
3214
|
-
incomingValue: Array<PortableTextBlock> | undefined
|
|
3215
|
-
internalDrag?: {
|
|
3216
|
-
ghost?: HTMLElement
|
|
3217
|
-
origin: Pick<EventPosition, 'selection'>
|
|
3218
|
-
}
|
|
3219
|
-
slateEditor?: PortableTextSlateEditor
|
|
3220
|
-
},
|
|
3221
|
-
PatchesEvent,
|
|
3222
|
-
| InternalPatchEvent
|
|
3223
|
-
| MutationEvent
|
|
3224
|
-
| {
|
|
3225
|
-
type: 'add behavior'
|
|
3226
|
-
behavior: Behavior
|
|
3227
|
-
}
|
|
3228
|
-
| {
|
|
3229
|
-
type: 'remove behavior'
|
|
3230
|
-
behavior: Behavior
|
|
3231
|
-
}
|
|
3232
|
-
| {
|
|
3233
|
-
type: 'update readOnly'
|
|
3234
|
-
readOnly: boolean
|
|
3235
|
-
}
|
|
3236
|
-
| {
|
|
3237
|
-
type: 'update schema'
|
|
3238
|
-
schema: EditorSchema
|
|
3239
|
-
}
|
|
3240
|
-
| {
|
|
3241
|
-
type: 'update behaviors'
|
|
3242
|
-
behaviors: Array<Behavior>
|
|
3243
|
-
}
|
|
3244
|
-
| {
|
|
3245
|
-
type: 'update key generator'
|
|
3246
|
-
keyGenerator: () => string
|
|
3247
|
-
}
|
|
3248
|
-
| {
|
|
3249
|
-
type: 'update value'
|
|
3250
|
-
value: Array<PortableTextBlock> | undefined
|
|
3251
|
-
}
|
|
3252
|
-
| {
|
|
3253
|
-
type: 'update maxBlocks'
|
|
3254
|
-
maxBlocks: number | undefined
|
|
3255
|
-
}
|
|
3256
|
-
| PatchesEvent
|
|
3257
|
-
| {
|
|
3258
|
-
type: 'blur'
|
|
3259
|
-
editor: PortableTextSlateEditor
|
|
3260
|
-
}
|
|
3261
|
-
| {
|
|
3262
|
-
type: 'focus'
|
|
3263
|
-
editor: PortableTextSlateEditor
|
|
3264
|
-
}
|
|
3265
|
-
| {
|
|
3266
|
-
type: 'normalizing'
|
|
3267
|
-
}
|
|
3268
|
-
| {
|
|
3269
|
-
type: 'done normalizing'
|
|
3270
|
-
}
|
|
3271
|
-
| {
|
|
3272
|
-
type: 'done syncing initial value'
|
|
3273
|
-
}
|
|
3274
|
-
| {
|
|
3275
|
-
type: 'behavior event'
|
|
3276
|
-
behaviorEvent: BehaviorEvent
|
|
3277
|
-
editor: PortableTextSlateEditor
|
|
3278
|
-
nativeEvent?: {
|
|
3279
|
-
preventDefault: () => void
|
|
3280
|
-
}
|
|
3281
|
-
}
|
|
3282
|
-
| {
|
|
3283
|
-
type: 'notify.patch'
|
|
3284
|
-
patch: Patch
|
|
3285
|
-
}
|
|
3286
|
-
| {
|
|
3287
|
-
type: 'notify.mutation'
|
|
3288
|
-
patches: Array<Patch>
|
|
3289
|
-
snapshot: Array<PortableTextBlock> | undefined
|
|
3290
|
-
value: Array<PortableTextBlock> | undefined
|
|
3291
|
-
}
|
|
3292
|
-
| {
|
|
3293
|
-
type: 'notify.blurred'
|
|
3294
|
-
event: FocusEvent_2<HTMLDivElement, Element>
|
|
3295
|
-
}
|
|
3296
|
-
| {
|
|
3297
|
-
type: 'notify.done loading'
|
|
3298
|
-
}
|
|
3299
|
-
| {
|
|
3300
|
-
type: 'notify.editable'
|
|
3301
|
-
}
|
|
3302
|
-
| {
|
|
3303
|
-
type: 'notify.error'
|
|
3304
|
-
name: string
|
|
3305
|
-
description: string
|
|
3306
|
-
data: unknown
|
|
3307
|
-
}
|
|
3308
|
-
| {
|
|
3309
|
-
type: 'notify.focused'
|
|
3310
|
-
event: FocusEvent_2<HTMLDivElement, Element>
|
|
3311
|
-
}
|
|
3312
|
-
| {
|
|
3313
|
-
type: 'notify.invalid value'
|
|
3314
|
-
resolution: InvalidValueResolution | null
|
|
3315
|
-
value: Array<PortableTextBlock> | undefined
|
|
3316
|
-
}
|
|
3317
|
-
| {
|
|
3318
|
-
type: 'notify.loading'
|
|
3319
|
-
}
|
|
3320
|
-
| {
|
|
3321
|
-
type: 'notify.read only'
|
|
3322
|
-
}
|
|
3323
|
-
| {
|
|
3324
|
-
type: 'notify.ready'
|
|
3325
|
-
}
|
|
3326
|
-
| {
|
|
3327
|
-
type: 'notify.selection'
|
|
3328
|
-
selection: EditorSelection
|
|
3329
|
-
}
|
|
3330
|
-
| {
|
|
3331
|
-
type: 'notify.value changed'
|
|
3332
|
-
value: Array<PortableTextBlock> | undefined
|
|
3333
|
-
}
|
|
3334
|
-
| {
|
|
3335
|
-
type: 'notify.unset'
|
|
3336
|
-
previousValue: Array<PortableTextBlock>
|
|
3337
|
-
}
|
|
3338
|
-
| {
|
|
3339
|
-
type: 'dragstart'
|
|
3340
|
-
origin: Pick<EventPosition, 'selection'>
|
|
3341
|
-
ghost?: HTMLElement
|
|
3342
|
-
}
|
|
3343
|
-
| {
|
|
3344
|
-
type: 'dragend'
|
|
3345
|
-
}
|
|
3346
|
-
| {
|
|
3347
|
-
type: 'drop'
|
|
3348
|
-
},
|
|
3349
|
-
undefined,
|
|
3350
|
-
never,
|
|
3351
|
-
never,
|
|
3352
|
-
never,
|
|
3353
|
-
never,
|
|
3354
|
-
| PatchEvent
|
|
3355
|
-
| InternalPatchEvent
|
|
3356
|
-
| MutationEvent
|
|
3357
|
-
| PatchesEvent
|
|
3358
|
-
| {
|
|
3359
|
-
type: 'blurred'
|
|
3360
|
-
event: FocusEvent_2<HTMLDivElement, Element>
|
|
3361
|
-
}
|
|
3362
|
-
| {
|
|
3363
|
-
type: 'done loading'
|
|
3364
|
-
}
|
|
3365
|
-
| {
|
|
3366
|
-
type: 'editable'
|
|
3367
|
-
}
|
|
3368
|
-
| {
|
|
3369
|
-
type: 'error'
|
|
3370
|
-
name: string
|
|
3371
|
-
description: string
|
|
3372
|
-
data: unknown
|
|
3373
|
-
}
|
|
3374
|
-
| {
|
|
3375
|
-
type: 'focused'
|
|
3376
|
-
event: FocusEvent_2<HTMLDivElement, Element>
|
|
3377
|
-
}
|
|
3378
|
-
| {
|
|
3379
|
-
type: 'invalid value'
|
|
3380
|
-
resolution: InvalidValueResolution | null
|
|
3381
|
-
value: Array<PortableTextBlock> | undefined
|
|
3382
|
-
}
|
|
3383
|
-
| {
|
|
3384
|
-
type: 'loading'
|
|
3385
|
-
}
|
|
3386
|
-
| {
|
|
3387
|
-
type: 'read only'
|
|
3388
|
-
}
|
|
3389
|
-
| {
|
|
3390
|
-
type: 'ready'
|
|
3391
|
-
}
|
|
3392
|
-
| {
|
|
3393
|
-
type: 'selection'
|
|
3394
|
-
selection: EditorSelection
|
|
3395
|
-
}
|
|
3396
|
-
| {
|
|
3397
|
-
type: 'value changed'
|
|
3398
|
-
value: Array<PortableTextBlock> | undefined
|
|
3399
|
-
}
|
|
3400
|
-
| UnsetEvent
|
|
3401
|
-
>
|
|
3402
|
-
}
|
|
3403
3272
|
readonly 'update behaviors': {
|
|
3404
3273
|
readonly actions: 'assign behaviors'
|
|
3405
3274
|
}
|
|
@@ -3411,6 +3280,7 @@ declare const editorMachine: StateMachine<
|
|
|
3411
3280
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
3412
3281
|
keyGenerator: () => string
|
|
3413
3282
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
3283
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
3414
3284
|
schema: EditorSchema
|
|
3415
3285
|
initialReadOnly: boolean
|
|
3416
3286
|
maxBlocks: number | undefined
|
|
@@ -3428,6 +3298,7 @@ declare const editorMachine: StateMachine<
|
|
|
3428
3298
|
},
|
|
3429
3299
|
| InternalPatchEvent
|
|
3430
3300
|
| MutationEvent
|
|
3301
|
+
| PatchesEvent
|
|
3431
3302
|
| {
|
|
3432
3303
|
type: 'add behavior'
|
|
3433
3304
|
behavior: Behavior
|
|
@@ -3460,7 +3331,6 @@ declare const editorMachine: StateMachine<
|
|
|
3460
3331
|
type: 'update maxBlocks'
|
|
3461
3332
|
maxBlocks: number | undefined
|
|
3462
3333
|
}
|
|
3463
|
-
| PatchesEvent
|
|
3464
3334
|
| {
|
|
3465
3335
|
type: 'blur'
|
|
3466
3336
|
editor: PortableTextSlateEditor
|
|
@@ -3476,7 +3346,10 @@ declare const editorMachine: StateMachine<
|
|
|
3476
3346
|
type: 'done normalizing'
|
|
3477
3347
|
}
|
|
3478
3348
|
| {
|
|
3479
|
-
type: 'done syncing
|
|
3349
|
+
type: 'done syncing value'
|
|
3350
|
+
}
|
|
3351
|
+
| {
|
|
3352
|
+
type: 'syncing value'
|
|
3480
3353
|
}
|
|
3481
3354
|
| {
|
|
3482
3355
|
type: 'behavior event'
|
|
@@ -3572,6 +3445,7 @@ declare const editorMachine: StateMachine<
|
|
|
3572
3445
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
3573
3446
|
keyGenerator: () => string
|
|
3574
3447
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
3448
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
3575
3449
|
schema: EditorSchema
|
|
3576
3450
|
initialReadOnly: boolean
|
|
3577
3451
|
maxBlocks: number | undefined
|
|
@@ -3589,6 +3463,7 @@ declare const editorMachine: StateMachine<
|
|
|
3589
3463
|
},
|
|
3590
3464
|
| InternalPatchEvent
|
|
3591
3465
|
| MutationEvent
|
|
3466
|
+
| PatchesEvent
|
|
3592
3467
|
| {
|
|
3593
3468
|
type: 'add behavior'
|
|
3594
3469
|
behavior: Behavior
|
|
@@ -3621,7 +3496,6 @@ declare const editorMachine: StateMachine<
|
|
|
3621
3496
|
type: 'update maxBlocks'
|
|
3622
3497
|
maxBlocks: number | undefined
|
|
3623
3498
|
}
|
|
3624
|
-
| PatchesEvent
|
|
3625
3499
|
| {
|
|
3626
3500
|
type: 'blur'
|
|
3627
3501
|
editor: PortableTextSlateEditor
|
|
@@ -3637,7 +3511,10 @@ declare const editorMachine: StateMachine<
|
|
|
3637
3511
|
type: 'done normalizing'
|
|
3638
3512
|
}
|
|
3639
3513
|
| {
|
|
3640
|
-
type: 'done syncing
|
|
3514
|
+
type: 'done syncing value'
|
|
3515
|
+
}
|
|
3516
|
+
| {
|
|
3517
|
+
type: 'syncing value'
|
|
3641
3518
|
}
|
|
3642
3519
|
| {
|
|
3643
3520
|
type: 'behavior event'
|
|
@@ -3730,6 +3607,7 @@ declare const editorMachine: StateMachine<
|
|
|
3730
3607
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
3731
3608
|
keyGenerator: () => string
|
|
3732
3609
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
3610
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
3733
3611
|
schema: EditorSchema
|
|
3734
3612
|
initialReadOnly: boolean
|
|
3735
3613
|
maxBlocks: number | undefined
|
|
@@ -3747,6 +3625,7 @@ declare const editorMachine: StateMachine<
|
|
|
3747
3625
|
},
|
|
3748
3626
|
| InternalPatchEvent
|
|
3749
3627
|
| MutationEvent
|
|
3628
|
+
| PatchesEvent
|
|
3750
3629
|
| {
|
|
3751
3630
|
type: 'add behavior'
|
|
3752
3631
|
behavior: Behavior
|
|
@@ -3779,7 +3658,6 @@ declare const editorMachine: StateMachine<
|
|
|
3779
3658
|
type: 'update maxBlocks'
|
|
3780
3659
|
maxBlocks: number | undefined
|
|
3781
3660
|
}
|
|
3782
|
-
| PatchesEvent
|
|
3783
3661
|
| {
|
|
3784
3662
|
type: 'blur'
|
|
3785
3663
|
editor: PortableTextSlateEditor
|
|
@@ -3795,7 +3673,10 @@ declare const editorMachine: StateMachine<
|
|
|
3795
3673
|
type: 'done normalizing'
|
|
3796
3674
|
}
|
|
3797
3675
|
| {
|
|
3798
|
-
type: 'done syncing
|
|
3676
|
+
type: 'done syncing value'
|
|
3677
|
+
}
|
|
3678
|
+
| {
|
|
3679
|
+
type: 'syncing value'
|
|
3799
3680
|
}
|
|
3800
3681
|
| {
|
|
3801
3682
|
type: 'behavior event'
|
|
@@ -3900,6 +3781,7 @@ declare const editorMachine: StateMachine<
|
|
|
3900
3781
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
3901
3782
|
keyGenerator: () => string
|
|
3902
3783
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
3784
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
3903
3785
|
schema: EditorSchema
|
|
3904
3786
|
initialReadOnly: boolean
|
|
3905
3787
|
maxBlocks: number | undefined
|
|
@@ -3925,7 +3807,7 @@ declare const editorMachine: StateMachine<
|
|
|
3925
3807
|
readonly states: {
|
|
3926
3808
|
readonly 'determine initial edit mode': {
|
|
3927
3809
|
readonly on: {
|
|
3928
|
-
readonly 'done syncing
|
|
3810
|
+
readonly 'done syncing value': readonly [
|
|
3929
3811
|
{
|
|
3930
3812
|
readonly target: '#editor.edit mode.read only.read only'
|
|
3931
3813
|
readonly guard: ({
|
|
@@ -3939,6 +3821,7 @@ declare const editorMachine: StateMachine<
|
|
|
3939
3821
|
pendingEvents: Array<
|
|
3940
3822
|
InternalPatchEvent | MutationEvent
|
|
3941
3823
|
>
|
|
3824
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
3942
3825
|
schema: EditorSchema
|
|
3943
3826
|
initialReadOnly: boolean
|
|
3944
3827
|
maxBlocks: number | undefined
|
|
@@ -3951,7 +3834,7 @@ declare const editorMachine: StateMachine<
|
|
|
3951
3834
|
slateEditor?: PortableTextSlateEditor
|
|
3952
3835
|
},
|
|
3953
3836
|
{
|
|
3954
|
-
type: 'done syncing
|
|
3837
|
+
type: 'done syncing value'
|
|
3955
3838
|
}
|
|
3956
3839
|
>) => boolean
|
|
3957
3840
|
},
|
|
@@ -3973,6 +3856,7 @@ declare const editorMachine: StateMachine<
|
|
|
3973
3856
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
3974
3857
|
keyGenerator: () => string
|
|
3975
3858
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
3859
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
3976
3860
|
schema: EditorSchema
|
|
3977
3861
|
initialReadOnly: boolean
|
|
3978
3862
|
maxBlocks: number | undefined
|
|
@@ -4008,6 +3892,7 @@ declare const editorMachine: StateMachine<
|
|
|
4008
3892
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4009
3893
|
keyGenerator: () => string
|
|
4010
3894
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
3895
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
4011
3896
|
schema: EditorSchema
|
|
4012
3897
|
initialReadOnly: boolean
|
|
4013
3898
|
maxBlocks: number | undefined
|
|
@@ -4043,6 +3928,7 @@ declare const editorMachine: StateMachine<
|
|
|
4043
3928
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4044
3929
|
keyGenerator: () => string
|
|
4045
3930
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
3931
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
4046
3932
|
schema: EditorSchema
|
|
4047
3933
|
initialReadOnly: boolean
|
|
4048
3934
|
maxBlocks: number | undefined
|
|
@@ -4060,6 +3946,7 @@ declare const editorMachine: StateMachine<
|
|
|
4060
3946
|
},
|
|
4061
3947
|
| InternalPatchEvent
|
|
4062
3948
|
| MutationEvent
|
|
3949
|
+
| PatchesEvent
|
|
4063
3950
|
| {
|
|
4064
3951
|
type: 'add behavior'
|
|
4065
3952
|
behavior: Behavior
|
|
@@ -4092,7 +3979,6 @@ declare const editorMachine: StateMachine<
|
|
|
4092
3979
|
type: 'update maxBlocks'
|
|
4093
3980
|
maxBlocks: number | undefined
|
|
4094
3981
|
}
|
|
4095
|
-
| PatchesEvent
|
|
4096
3982
|
| {
|
|
4097
3983
|
type: 'blur'
|
|
4098
3984
|
editor: PortableTextSlateEditor
|
|
@@ -4108,7 +3994,10 @@ declare const editorMachine: StateMachine<
|
|
|
4108
3994
|
type: 'done normalizing'
|
|
4109
3995
|
}
|
|
4110
3996
|
| {
|
|
4111
|
-
type: 'done syncing
|
|
3997
|
+
type: 'done syncing value'
|
|
3998
|
+
}
|
|
3999
|
+
| {
|
|
4000
|
+
type: 'syncing value'
|
|
4112
4001
|
}
|
|
4113
4002
|
| {
|
|
4114
4003
|
type: 'behavior event'
|
|
@@ -4210,6 +4099,7 @@ declare const editorMachine: StateMachine<
|
|
|
4210
4099
|
pendingEvents: Array<
|
|
4211
4100
|
InternalPatchEvent | MutationEvent
|
|
4212
4101
|
>
|
|
4102
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
4213
4103
|
schema: EditorSchema
|
|
4214
4104
|
initialReadOnly: boolean
|
|
4215
4105
|
maxBlocks: number | undefined
|
|
@@ -4228,6 +4118,7 @@ declare const editorMachine: StateMachine<
|
|
|
4228
4118
|
},
|
|
4229
4119
|
| InternalPatchEvent
|
|
4230
4120
|
| MutationEvent
|
|
4121
|
+
| PatchesEvent
|
|
4231
4122
|
| {
|
|
4232
4123
|
type: 'add behavior'
|
|
4233
4124
|
behavior: Behavior
|
|
@@ -4260,7 +4151,6 @@ declare const editorMachine: StateMachine<
|
|
|
4260
4151
|
type: 'update maxBlocks'
|
|
4261
4152
|
maxBlocks: number | undefined
|
|
4262
4153
|
}
|
|
4263
|
-
| PatchesEvent
|
|
4264
4154
|
| {
|
|
4265
4155
|
type: 'blur'
|
|
4266
4156
|
editor: PortableTextSlateEditor
|
|
@@ -4276,7 +4166,10 @@ declare const editorMachine: StateMachine<
|
|
|
4276
4166
|
type: 'done normalizing'
|
|
4277
4167
|
}
|
|
4278
4168
|
| {
|
|
4279
|
-
type: 'done syncing
|
|
4169
|
+
type: 'done syncing value'
|
|
4170
|
+
}
|
|
4171
|
+
| {
|
|
4172
|
+
type: 'syncing value'
|
|
4280
4173
|
}
|
|
4281
4174
|
| {
|
|
4282
4175
|
type: 'behavior event'
|
|
@@ -4400,6 +4293,7 @@ declare const editorMachine: StateMachine<
|
|
|
4400
4293
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4401
4294
|
keyGenerator: () => string
|
|
4402
4295
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
4296
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
4403
4297
|
schema: EditorSchema
|
|
4404
4298
|
initialReadOnly: boolean
|
|
4405
4299
|
maxBlocks: number | undefined
|
|
@@ -4413,6 +4307,7 @@ declare const editorMachine: StateMachine<
|
|
|
4413
4307
|
},
|
|
4414
4308
|
| InternalPatchEvent
|
|
4415
4309
|
| MutationEvent
|
|
4310
|
+
| PatchesEvent
|
|
4416
4311
|
| {
|
|
4417
4312
|
type: 'add behavior'
|
|
4418
4313
|
behavior: Behavior
|
|
@@ -4445,7 +4340,6 @@ declare const editorMachine: StateMachine<
|
|
|
4445
4340
|
type: 'update maxBlocks'
|
|
4446
4341
|
maxBlocks: number | undefined
|
|
4447
4342
|
}
|
|
4448
|
-
| PatchesEvent
|
|
4449
4343
|
| {
|
|
4450
4344
|
type: 'blur'
|
|
4451
4345
|
editor: PortableTextSlateEditor
|
|
@@ -4461,7 +4355,10 @@ declare const editorMachine: StateMachine<
|
|
|
4461
4355
|
type: 'done normalizing'
|
|
4462
4356
|
}
|
|
4463
4357
|
| {
|
|
4464
|
-
type: 'done syncing
|
|
4358
|
+
type: 'done syncing value'
|
|
4359
|
+
}
|
|
4360
|
+
| {
|
|
4361
|
+
type: 'syncing value'
|
|
4465
4362
|
}
|
|
4466
4363
|
| {
|
|
4467
4364
|
type: 'behavior event'
|
|
@@ -4540,6 +4437,7 @@ declare const editorMachine: StateMachine<
|
|
|
4540
4437
|
},
|
|
4541
4438
|
| InternalPatchEvent
|
|
4542
4439
|
| MutationEvent
|
|
4440
|
+
| PatchesEvent
|
|
4543
4441
|
| {
|
|
4544
4442
|
type: 'add behavior'
|
|
4545
4443
|
behavior: Behavior
|
|
@@ -4572,7 +4470,6 @@ declare const editorMachine: StateMachine<
|
|
|
4572
4470
|
type: 'update maxBlocks'
|
|
4573
4471
|
maxBlocks: number | undefined
|
|
4574
4472
|
}
|
|
4575
|
-
| PatchesEvent
|
|
4576
4473
|
| {
|
|
4577
4474
|
type: 'blur'
|
|
4578
4475
|
editor: PortableTextSlateEditor
|
|
@@ -4588,7 +4485,10 @@ declare const editorMachine: StateMachine<
|
|
|
4588
4485
|
type: 'done normalizing'
|
|
4589
4486
|
}
|
|
4590
4487
|
| {
|
|
4591
|
-
type: 'done syncing
|
|
4488
|
+
type: 'done syncing value'
|
|
4489
|
+
}
|
|
4490
|
+
| {
|
|
4491
|
+
type: 'syncing value'
|
|
4592
4492
|
}
|
|
4593
4493
|
| {
|
|
4594
4494
|
type: 'behavior event'
|
|
@@ -4673,6 +4573,7 @@ declare const editorMachine: StateMachine<
|
|
|
4673
4573
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4674
4574
|
keyGenerator: () => string
|
|
4675
4575
|
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
4576
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
4676
4577
|
schema: EditorSchema
|
|
4677
4578
|
initialReadOnly: boolean
|
|
4678
4579
|
maxBlocks: number | undefined
|
|
@@ -4686,6 +4587,7 @@ declare const editorMachine: StateMachine<
|
|
|
4686
4587
|
},
|
|
4687
4588
|
| InternalPatchEvent
|
|
4688
4589
|
| MutationEvent
|
|
4590
|
+
| PatchesEvent
|
|
4689
4591
|
| {
|
|
4690
4592
|
type: 'add behavior'
|
|
4691
4593
|
behavior: Behavior
|
|
@@ -4718,7 +4620,6 @@ declare const editorMachine: StateMachine<
|
|
|
4718
4620
|
type: 'update maxBlocks'
|
|
4719
4621
|
maxBlocks: number | undefined
|
|
4720
4622
|
}
|
|
4721
|
-
| PatchesEvent
|
|
4722
4623
|
| {
|
|
4723
4624
|
type: 'blur'
|
|
4724
4625
|
editor: PortableTextSlateEditor
|
|
@@ -4734,7 +4635,10 @@ declare const editorMachine: StateMachine<
|
|
|
4734
4635
|
type: 'done normalizing'
|
|
4735
4636
|
}
|
|
4736
4637
|
| {
|
|
4737
|
-
type: 'done syncing
|
|
4638
|
+
type: 'done syncing value'
|
|
4639
|
+
}
|
|
4640
|
+
| {
|
|
4641
|
+
type: 'syncing value'
|
|
4738
4642
|
}
|
|
4739
4643
|
| {
|
|
4740
4644
|
type: 'behavior event'
|
|
@@ -4813,6 +4717,7 @@ declare const editorMachine: StateMachine<
|
|
|
4813
4717
|
},
|
|
4814
4718
|
| InternalPatchEvent
|
|
4815
4719
|
| MutationEvent
|
|
4720
|
+
| PatchesEvent
|
|
4816
4721
|
| {
|
|
4817
4722
|
type: 'add behavior'
|
|
4818
4723
|
behavior: Behavior
|
|
@@ -4845,7 +4750,6 @@ declare const editorMachine: StateMachine<
|
|
|
4845
4750
|
type: 'update maxBlocks'
|
|
4846
4751
|
maxBlocks: number | undefined
|
|
4847
4752
|
}
|
|
4848
|
-
| PatchesEvent
|
|
4849
4753
|
| {
|
|
4850
4754
|
type: 'blur'
|
|
4851
4755
|
editor: PortableTextSlateEditor
|
|
@@ -4861,7 +4765,10 @@ declare const editorMachine: StateMachine<
|
|
|
4861
4765
|
type: 'done normalizing'
|
|
4862
4766
|
}
|
|
4863
4767
|
| {
|
|
4864
|
-
type: 'done syncing
|
|
4768
|
+
type: 'done syncing value'
|
|
4769
|
+
}
|
|
4770
|
+
| {
|
|
4771
|
+
type: 'syncing value'
|
|
4865
4772
|
}
|
|
4866
4773
|
| {
|
|
4867
4774
|
type: 'behavior event'
|
|
@@ -4964,7 +4871,11 @@ declare const editorMachine: StateMachine<
|
|
|
4964
4871
|
readonly initial: 'setting up'
|
|
4965
4872
|
readonly states: {
|
|
4966
4873
|
readonly 'setting up': {
|
|
4967
|
-
readonly exit: readonly [
|
|
4874
|
+
readonly exit: readonly [
|
|
4875
|
+
'emit ready',
|
|
4876
|
+
'emit pending incoming patches',
|
|
4877
|
+
'clear pending incoming patches',
|
|
4878
|
+
]
|
|
4968
4879
|
readonly on: {
|
|
4969
4880
|
readonly 'internal.patch': {
|
|
4970
4881
|
readonly actions: 'defer event'
|
|
@@ -4972,58 +4883,308 @@ declare const editorMachine: StateMachine<
|
|
|
4972
4883
|
readonly 'mutation': {
|
|
4973
4884
|
readonly actions: 'defer event'
|
|
4974
4885
|
}
|
|
4975
|
-
readonly 'done syncing
|
|
4976
|
-
readonly target: '
|
|
4886
|
+
readonly 'done syncing value': {
|
|
4887
|
+
readonly target: 'set up'
|
|
4888
|
+
}
|
|
4889
|
+
readonly 'patches': {
|
|
4890
|
+
readonly actions: readonly ['defer incoming patches']
|
|
4977
4891
|
}
|
|
4978
4892
|
}
|
|
4979
4893
|
}
|
|
4980
|
-
readonly '
|
|
4981
|
-
readonly
|
|
4894
|
+
readonly 'set up': {
|
|
4895
|
+
readonly type: 'parallel'
|
|
4982
4896
|
readonly states: {
|
|
4983
|
-
readonly
|
|
4984
|
-
readonly
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4897
|
+
readonly 'value sync': {
|
|
4898
|
+
readonly initial: 'idle'
|
|
4899
|
+
readonly states: {
|
|
4900
|
+
readonly 'idle': {
|
|
4901
|
+
readonly on: {
|
|
4902
|
+
readonly 'patches': {
|
|
4903
|
+
readonly actions: readonly [
|
|
4904
|
+
ActionFunction<
|
|
4905
|
+
{
|
|
4906
|
+
behaviors: Set<Behavior>
|
|
4907
|
+
converters: Set<Converter>
|
|
4908
|
+
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4909
|
+
keyGenerator: () => string
|
|
4910
|
+
pendingEvents: Array<
|
|
4911
|
+
InternalPatchEvent | MutationEvent
|
|
4912
|
+
>
|
|
4913
|
+
pendingIncomingPatchesEvents: Array<PatchesEvent>
|
|
4914
|
+
schema: EditorSchema
|
|
4915
|
+
initialReadOnly: boolean
|
|
4916
|
+
maxBlocks: number | undefined
|
|
4917
|
+
selection: EditorSelection
|
|
4918
|
+
incomingValue:
|
|
4919
|
+
| Array<PortableTextBlock>
|
|
4920
|
+
| undefined
|
|
4921
|
+
internalDrag?: {
|
|
4922
|
+
ghost?: HTMLElement
|
|
4923
|
+
origin: Pick<EventPosition, 'selection'>
|
|
4924
|
+
}
|
|
4925
|
+
slateEditor?: PortableTextSlateEditor
|
|
4926
|
+
},
|
|
4927
|
+
PatchesEvent,
|
|
4928
|
+
| InternalPatchEvent
|
|
4929
|
+
| MutationEvent
|
|
4930
|
+
| PatchesEvent
|
|
4931
|
+
| {
|
|
4932
|
+
type: 'add behavior'
|
|
4933
|
+
behavior: Behavior
|
|
4934
|
+
}
|
|
4935
|
+
| {
|
|
4936
|
+
type: 'remove behavior'
|
|
4937
|
+
behavior: Behavior
|
|
4938
|
+
}
|
|
4939
|
+
| {
|
|
4940
|
+
type: 'update readOnly'
|
|
4941
|
+
readOnly: boolean
|
|
4942
|
+
}
|
|
4943
|
+
| {
|
|
4944
|
+
type: 'update schema'
|
|
4945
|
+
schema: EditorSchema
|
|
4946
|
+
}
|
|
4947
|
+
| {
|
|
4948
|
+
type: 'update behaviors'
|
|
4949
|
+
behaviors: Array<Behavior>
|
|
4950
|
+
}
|
|
4951
|
+
| {
|
|
4952
|
+
type: 'update key generator'
|
|
4953
|
+
keyGenerator: () => string
|
|
4954
|
+
}
|
|
4955
|
+
| {
|
|
4956
|
+
type: 'update value'
|
|
4957
|
+
value: Array<PortableTextBlock> | undefined
|
|
4958
|
+
}
|
|
4959
|
+
| {
|
|
4960
|
+
type: 'update maxBlocks'
|
|
4961
|
+
maxBlocks: number | undefined
|
|
4962
|
+
}
|
|
4963
|
+
| {
|
|
4964
|
+
type: 'blur'
|
|
4965
|
+
editor: PortableTextSlateEditor
|
|
4966
|
+
}
|
|
4967
|
+
| {
|
|
4968
|
+
type: 'focus'
|
|
4969
|
+
editor: PortableTextSlateEditor
|
|
4970
|
+
}
|
|
4971
|
+
| {
|
|
4972
|
+
type: 'normalizing'
|
|
4973
|
+
}
|
|
4974
|
+
| {
|
|
4975
|
+
type: 'done normalizing'
|
|
4976
|
+
}
|
|
4977
|
+
| {
|
|
4978
|
+
type: 'done syncing value'
|
|
4979
|
+
}
|
|
4980
|
+
| {
|
|
4981
|
+
type: 'syncing value'
|
|
4982
|
+
}
|
|
4983
|
+
| {
|
|
4984
|
+
type: 'behavior event'
|
|
4985
|
+
behaviorEvent: BehaviorEvent
|
|
4986
|
+
editor: PortableTextSlateEditor
|
|
4987
|
+
nativeEvent?: {
|
|
4988
|
+
preventDefault: () => void
|
|
4989
|
+
}
|
|
4990
|
+
}
|
|
4991
|
+
| {
|
|
4992
|
+
type: 'notify.patch'
|
|
4993
|
+
patch: Patch
|
|
4994
|
+
}
|
|
4995
|
+
| {
|
|
4996
|
+
type: 'notify.mutation'
|
|
4997
|
+
patches: Array<Patch>
|
|
4998
|
+
snapshot: Array<PortableTextBlock> | undefined
|
|
4999
|
+
value: Array<PortableTextBlock> | undefined
|
|
5000
|
+
}
|
|
5001
|
+
| {
|
|
5002
|
+
type: 'notify.blurred'
|
|
5003
|
+
event: FocusEvent_2<HTMLDivElement, Element>
|
|
5004
|
+
}
|
|
5005
|
+
| {
|
|
5006
|
+
type: 'notify.done loading'
|
|
5007
|
+
}
|
|
5008
|
+
| {
|
|
5009
|
+
type: 'notify.editable'
|
|
5010
|
+
}
|
|
5011
|
+
| {
|
|
5012
|
+
type: 'notify.error'
|
|
5013
|
+
name: string
|
|
5014
|
+
description: string
|
|
5015
|
+
data: unknown
|
|
5016
|
+
}
|
|
5017
|
+
| {
|
|
5018
|
+
type: 'notify.focused'
|
|
5019
|
+
event: FocusEvent_2<HTMLDivElement, Element>
|
|
5020
|
+
}
|
|
5021
|
+
| {
|
|
5022
|
+
type: 'notify.invalid value'
|
|
5023
|
+
resolution: InvalidValueResolution | null
|
|
5024
|
+
value: Array<PortableTextBlock> | undefined
|
|
5025
|
+
}
|
|
5026
|
+
| {
|
|
5027
|
+
type: 'notify.loading'
|
|
5028
|
+
}
|
|
5029
|
+
| {
|
|
5030
|
+
type: 'notify.read only'
|
|
5031
|
+
}
|
|
5032
|
+
| {
|
|
5033
|
+
type: 'notify.ready'
|
|
5034
|
+
}
|
|
5035
|
+
| {
|
|
5036
|
+
type: 'notify.selection'
|
|
5037
|
+
selection: EditorSelection
|
|
5038
|
+
}
|
|
5039
|
+
| {
|
|
5040
|
+
type: 'notify.value changed'
|
|
5041
|
+
value: Array<PortableTextBlock> | undefined
|
|
5042
|
+
}
|
|
5043
|
+
| {
|
|
5044
|
+
type: 'notify.unset'
|
|
5045
|
+
previousValue: Array<PortableTextBlock>
|
|
5046
|
+
}
|
|
5047
|
+
| {
|
|
5048
|
+
type: 'dragstart'
|
|
5049
|
+
origin: Pick<EventPosition, 'selection'>
|
|
5050
|
+
ghost?: HTMLElement
|
|
5051
|
+
}
|
|
5052
|
+
| {
|
|
5053
|
+
type: 'dragend'
|
|
5054
|
+
}
|
|
5055
|
+
| {
|
|
5056
|
+
type: 'drop'
|
|
5057
|
+
},
|
|
5058
|
+
undefined,
|
|
5059
|
+
never,
|
|
5060
|
+
never,
|
|
5061
|
+
never,
|
|
5062
|
+
never,
|
|
5063
|
+
| PatchEvent
|
|
5064
|
+
| InternalPatchEvent
|
|
5065
|
+
| MutationEvent
|
|
5066
|
+
| PatchesEvent
|
|
5067
|
+
| {
|
|
5068
|
+
type: 'blurred'
|
|
5069
|
+
event: FocusEvent_2<HTMLDivElement, Element>
|
|
5070
|
+
}
|
|
5071
|
+
| {
|
|
5072
|
+
type: 'done loading'
|
|
5073
|
+
}
|
|
5074
|
+
| {
|
|
5075
|
+
type: 'editable'
|
|
5076
|
+
}
|
|
5077
|
+
| {
|
|
5078
|
+
type: 'error'
|
|
5079
|
+
name: string
|
|
5080
|
+
description: string
|
|
5081
|
+
data: unknown
|
|
5082
|
+
}
|
|
5083
|
+
| {
|
|
5084
|
+
type: 'focused'
|
|
5085
|
+
event: FocusEvent_2<HTMLDivElement, Element>
|
|
5086
|
+
}
|
|
5087
|
+
| {
|
|
5088
|
+
type: 'invalid value'
|
|
5089
|
+
resolution: InvalidValueResolution | null
|
|
5090
|
+
value: Array<PortableTextBlock> | undefined
|
|
5091
|
+
}
|
|
5092
|
+
| {
|
|
5093
|
+
type: 'loading'
|
|
5094
|
+
}
|
|
5095
|
+
| {
|
|
5096
|
+
type: 'read only'
|
|
5097
|
+
}
|
|
5098
|
+
| {
|
|
5099
|
+
type: 'ready'
|
|
5100
|
+
}
|
|
5101
|
+
| {
|
|
5102
|
+
type: 'selection'
|
|
5103
|
+
selection: EditorSelection
|
|
5104
|
+
}
|
|
5105
|
+
| {
|
|
5106
|
+
type: 'value changed'
|
|
5107
|
+
value: Array<PortableTextBlock> | undefined
|
|
5108
|
+
}
|
|
5109
|
+
| UnsetEvent
|
|
5110
|
+
>,
|
|
5111
|
+
]
|
|
5112
|
+
}
|
|
5113
|
+
readonly 'syncing value': {
|
|
5114
|
+
readonly target: 'syncing value'
|
|
5115
|
+
}
|
|
5116
|
+
}
|
|
4991
5117
|
}
|
|
4992
|
-
readonly '
|
|
4993
|
-
readonly
|
|
4994
|
-
|
|
5118
|
+
readonly 'syncing value': {
|
|
5119
|
+
readonly exit: readonly [
|
|
5120
|
+
'emit pending incoming patches',
|
|
5121
|
+
'clear pending incoming patches',
|
|
5122
|
+
]
|
|
5123
|
+
readonly on: {
|
|
5124
|
+
readonly 'patches': {
|
|
5125
|
+
readonly actions: readonly ['defer incoming patches']
|
|
5126
|
+
}
|
|
5127
|
+
readonly 'done syncing value': {
|
|
5128
|
+
readonly target: 'idle'
|
|
5129
|
+
}
|
|
5130
|
+
}
|
|
4995
5131
|
}
|
|
4996
5132
|
}
|
|
4997
5133
|
}
|
|
4998
|
-
readonly
|
|
4999
|
-
readonly
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5134
|
+
readonly 'writing': {
|
|
5135
|
+
readonly initial: 'pristine'
|
|
5136
|
+
readonly states: {
|
|
5137
|
+
readonly pristine: {
|
|
5138
|
+
readonly initial: 'idle'
|
|
5139
|
+
readonly states: {
|
|
5140
|
+
readonly idle: {
|
|
5141
|
+
readonly on: {
|
|
5142
|
+
readonly 'normalizing': {
|
|
5143
|
+
readonly target: 'normalizing'
|
|
5144
|
+
}
|
|
5145
|
+
readonly 'internal.patch': {
|
|
5146
|
+
readonly actions: 'defer event'
|
|
5147
|
+
readonly target: '#editor.setup.set up.writing.dirty'
|
|
5148
|
+
}
|
|
5149
|
+
readonly 'mutation': {
|
|
5150
|
+
readonly actions: 'defer event'
|
|
5151
|
+
readonly target: '#editor.setup.set up.writing.dirty'
|
|
5152
|
+
}
|
|
5153
|
+
}
|
|
5154
|
+
}
|
|
5155
|
+
readonly normalizing: {
|
|
5156
|
+
readonly on: {
|
|
5157
|
+
readonly 'done normalizing': {
|
|
5158
|
+
readonly target: 'idle'
|
|
5159
|
+
}
|
|
5160
|
+
readonly 'internal.patch': {
|
|
5161
|
+
readonly actions: 'defer event'
|
|
5162
|
+
}
|
|
5163
|
+
readonly 'mutation': {
|
|
5164
|
+
readonly actions: 'defer event'
|
|
5165
|
+
}
|
|
5166
|
+
}
|
|
5167
|
+
}
|
|
5168
|
+
}
|
|
5005
5169
|
}
|
|
5006
|
-
readonly
|
|
5007
|
-
readonly
|
|
5170
|
+
readonly dirty: {
|
|
5171
|
+
readonly entry: readonly [
|
|
5172
|
+
'emit pending events',
|
|
5173
|
+
'clear pending events',
|
|
5174
|
+
]
|
|
5175
|
+
readonly on: {
|
|
5176
|
+
readonly 'internal.patch': {
|
|
5177
|
+
readonly actions: 'emit patch event'
|
|
5178
|
+
}
|
|
5179
|
+
readonly 'mutation': {
|
|
5180
|
+
readonly actions: 'emit mutation event'
|
|
5181
|
+
}
|
|
5182
|
+
}
|
|
5008
5183
|
}
|
|
5009
5184
|
}
|
|
5010
5185
|
}
|
|
5011
5186
|
}
|
|
5012
5187
|
}
|
|
5013
|
-
readonly 'dirty': {
|
|
5014
|
-
readonly entry: readonly [
|
|
5015
|
-
'emit pending events',
|
|
5016
|
-
'clear pending events',
|
|
5017
|
-
]
|
|
5018
|
-
readonly on: {
|
|
5019
|
-
readonly 'internal.patch': {
|
|
5020
|
-
readonly actions: 'emit patch event'
|
|
5021
|
-
}
|
|
5022
|
-
readonly 'mutation': {
|
|
5023
|
-
readonly actions: 'emit mutation event'
|
|
5024
|
-
}
|
|
5025
|
-
}
|
|
5026
|
-
}
|
|
5027
5188
|
}
|
|
5028
5189
|
}
|
|
5029
5190
|
}
|