@portabletext/editor 1.49.4 → 1.49.5

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.
@@ -3769,6 +3769,8 @@ declare const editorMachine: StateMachine<
3769
3769
  }
3770
3770
  readonly states: {
3771
3771
  readonly 'determine initial edit mode': {
3772
+ readonly entry: readonly [() => void]
3773
+ readonly exit: readonly [() => void]
3772
3774
  readonly on: {
3773
3775
  readonly 'done syncing value': readonly [
3774
3776
  {
@@ -3808,6 +3810,8 @@ declare const editorMachine: StateMachine<
3808
3810
  }
3809
3811
  }
3810
3812
  readonly 'read only': {
3813
+ readonly entry: readonly [() => void]
3814
+ readonly exit: readonly [() => void]
3811
3815
  readonly on: {
3812
3816
  readonly 'update readOnly': {
3813
3817
  readonly guard: ({
@@ -4046,6 +4050,8 @@ declare const editorMachine: StateMachine<
4046
4050
  readonly initial: 'idle'
4047
4051
  readonly states: {
4048
4052
  readonly 'idle': {
4053
+ readonly entry: readonly [() => void]
4054
+ readonly exit: readonly [() => void]
4049
4055
  readonly on: {
4050
4056
  readonly dragstart: {
4051
4057
  readonly actions: readonly [
@@ -4217,6 +4223,8 @@ declare const editorMachine: StateMachine<
4217
4223
  readonly initial: 'checking if busy'
4218
4224
  readonly states: {
4219
4225
  readonly 'checking if busy': {
4226
+ readonly entry: readonly [() => void]
4227
+ readonly exit: readonly [() => void]
4220
4228
  readonly always: readonly [
4221
4229
  {
4222
4230
  readonly guard: 'slate is busy'
@@ -4229,6 +4237,8 @@ declare const editorMachine: StateMachine<
4229
4237
  ]
4230
4238
  }
4231
4239
  readonly 'busy': {
4240
+ readonly entry: readonly [() => void]
4241
+ readonly exit: readonly [() => void]
4232
4242
  readonly after: {
4233
4243
  readonly 10: {
4234
4244
  readonly target: 'checking if busy'
@@ -4238,7 +4248,9 @@ declare const editorMachine: StateMachine<
4238
4248
  }
4239
4249
  }
4240
4250
  readonly 'dragging internally': {
4251
+ readonly entry: readonly [() => void]
4241
4252
  readonly exit: readonly [
4253
+ () => void,
4242
4254
  ({
4243
4255
  context,
4244
4256
  }: ActionArgs<
@@ -4810,7 +4822,9 @@ declare const editorMachine: StateMachine<
4810
4822
  readonly initial: 'setting up'
4811
4823
  readonly states: {
4812
4824
  readonly 'setting up': {
4825
+ readonly entry: readonly [() => void]
4813
4826
  readonly exit: readonly [
4827
+ () => void,
4814
4828
  'emit ready',
4815
4829
  'emit pending incoming patches',
4816
4830
  'clear pending incoming patches',
@@ -4837,6 +4851,8 @@ declare const editorMachine: StateMachine<
4837
4851
  readonly initial: 'idle'
4838
4852
  readonly states: {
4839
4853
  readonly 'idle': {
4854
+ readonly entry: readonly [() => void]
4855
+ readonly exit: readonly [() => void]
4840
4856
  readonly on: {
4841
4857
  readonly 'patches': {
4842
4858
  readonly actions: readonly [
@@ -5051,7 +5067,9 @@ declare const editorMachine: StateMachine<
5051
5067
  }
5052
5068
  }
5053
5069
  readonly 'syncing value': {
5070
+ readonly entry: readonly [() => void]
5054
5071
  readonly exit: readonly [
5072
+ () => void,
5055
5073
  'emit pending incoming patches',
5056
5074
  'clear pending incoming patches',
5057
5075
  ]
@@ -5073,6 +5091,8 @@ declare const editorMachine: StateMachine<
5073
5091
  readonly initial: 'idle'
5074
5092
  readonly states: {
5075
5093
  readonly idle: {
5094
+ readonly entry: readonly [() => void]
5095
+ readonly exit: readonly [() => void]
5076
5096
  readonly on: {
5077
5097
  readonly 'normalizing': {
5078
5098
  readonly target: 'normalizing'
@@ -5088,6 +5108,8 @@ declare const editorMachine: StateMachine<
5088
5108
  }
5089
5109
  }
5090
5110
  readonly normalizing: {
5111
+ readonly entry: readonly [() => void]
5112
+ readonly exit: readonly [() => void]
5091
5113
  readonly on: {
5092
5114
  readonly 'done normalizing': {
5093
5115
  readonly target: 'idle'
@@ -5104,9 +5126,11 @@ declare const editorMachine: StateMachine<
5104
5126
  }
5105
5127
  readonly dirty: {
5106
5128
  readonly entry: readonly [
5129
+ () => void,
5107
5130
  'emit pending events',
5108
5131
  'clear pending events',
5109
5132
  ]
5133
+ readonly exit: readonly [() => void]
5110
5134
  readonly on: {
5111
5135
  readonly 'internal.patch': {
5112
5136
  readonly actions: 'emit patch event'
@@ -3769,6 +3769,8 @@ declare const editorMachine: StateMachine<
3769
3769
  }
3770
3770
  readonly states: {
3771
3771
  readonly 'determine initial edit mode': {
3772
+ readonly entry: readonly [() => void]
3773
+ readonly exit: readonly [() => void]
3772
3774
  readonly on: {
3773
3775
  readonly 'done syncing value': readonly [
3774
3776
  {
@@ -3808,6 +3810,8 @@ declare const editorMachine: StateMachine<
3808
3810
  }
3809
3811
  }
3810
3812
  readonly 'read only': {
3813
+ readonly entry: readonly [() => void]
3814
+ readonly exit: readonly [() => void]
3811
3815
  readonly on: {
3812
3816
  readonly 'update readOnly': {
3813
3817
  readonly guard: ({
@@ -4046,6 +4050,8 @@ declare const editorMachine: StateMachine<
4046
4050
  readonly initial: 'idle'
4047
4051
  readonly states: {
4048
4052
  readonly 'idle': {
4053
+ readonly entry: readonly [() => void]
4054
+ readonly exit: readonly [() => void]
4049
4055
  readonly on: {
4050
4056
  readonly dragstart: {
4051
4057
  readonly actions: readonly [
@@ -4217,6 +4223,8 @@ declare const editorMachine: StateMachine<
4217
4223
  readonly initial: 'checking if busy'
4218
4224
  readonly states: {
4219
4225
  readonly 'checking if busy': {
4226
+ readonly entry: readonly [() => void]
4227
+ readonly exit: readonly [() => void]
4220
4228
  readonly always: readonly [
4221
4229
  {
4222
4230
  readonly guard: 'slate is busy'
@@ -4229,6 +4237,8 @@ declare const editorMachine: StateMachine<
4229
4237
  ]
4230
4238
  }
4231
4239
  readonly 'busy': {
4240
+ readonly entry: readonly [() => void]
4241
+ readonly exit: readonly [() => void]
4232
4242
  readonly after: {
4233
4243
  readonly 10: {
4234
4244
  readonly target: 'checking if busy'
@@ -4238,7 +4248,9 @@ declare const editorMachine: StateMachine<
4238
4248
  }
4239
4249
  }
4240
4250
  readonly 'dragging internally': {
4251
+ readonly entry: readonly [() => void]
4241
4252
  readonly exit: readonly [
4253
+ () => void,
4242
4254
  ({
4243
4255
  context,
4244
4256
  }: ActionArgs<
@@ -4810,7 +4822,9 @@ declare const editorMachine: StateMachine<
4810
4822
  readonly initial: 'setting up'
4811
4823
  readonly states: {
4812
4824
  readonly 'setting up': {
4825
+ readonly entry: readonly [() => void]
4813
4826
  readonly exit: readonly [
4827
+ () => void,
4814
4828
  'emit ready',
4815
4829
  'emit pending incoming patches',
4816
4830
  'clear pending incoming patches',
@@ -4837,6 +4851,8 @@ declare const editorMachine: StateMachine<
4837
4851
  readonly initial: 'idle'
4838
4852
  readonly states: {
4839
4853
  readonly 'idle': {
4854
+ readonly entry: readonly [() => void]
4855
+ readonly exit: readonly [() => void]
4840
4856
  readonly on: {
4841
4857
  readonly 'patches': {
4842
4858
  readonly actions: readonly [
@@ -5051,7 +5067,9 @@ declare const editorMachine: StateMachine<
5051
5067
  }
5052
5068
  }
5053
5069
  readonly 'syncing value': {
5070
+ readonly entry: readonly [() => void]
5054
5071
  readonly exit: readonly [
5072
+ () => void,
5055
5073
  'emit pending incoming patches',
5056
5074
  'clear pending incoming patches',
5057
5075
  ]
@@ -5073,6 +5091,8 @@ declare const editorMachine: StateMachine<
5073
5091
  readonly initial: 'idle'
5074
5092
  readonly states: {
5075
5093
  readonly idle: {
5094
+ readonly entry: readonly [() => void]
5095
+ readonly exit: readonly [() => void]
5076
5096
  readonly on: {
5077
5097
  readonly 'normalizing': {
5078
5098
  readonly target: 'normalizing'
@@ -5088,6 +5108,8 @@ declare const editorMachine: StateMachine<
5088
5108
  }
5089
5109
  }
5090
5110
  readonly normalizing: {
5111
+ readonly entry: readonly [() => void]
5112
+ readonly exit: readonly [() => void]
5091
5113
  readonly on: {
5092
5114
  readonly 'done normalizing': {
5093
5115
  readonly target: 'idle'
@@ -5104,9 +5126,11 @@ declare const editorMachine: StateMachine<
5104
5126
  }
5105
5127
  readonly dirty: {
5106
5128
  readonly entry: readonly [
5129
+ () => void,
5107
5130
  'emit pending events',
5108
5131
  'clear pending events',
5109
5132
  ]
5133
+ readonly exit: readonly [() => void]
5110
5134
  readonly on: {
5111
5135
  readonly 'internal.patch': {
5112
5136
  readonly actions: 'emit patch event'