@runic-artifex/vue 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -133,7 +133,7 @@ neither.
|
|
|
133
133
|
## `useOperation(start, options?)`
|
|
134
134
|
|
|
135
135
|
Observes a generated `start<Command>()` operation through the framework-neutral
|
|
136
|
-
[operation controller](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.
|
|
136
|
+
[operation controller](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#operation-feedback-and-latest-selection)
|
|
137
137
|
and returns each state field as a shallow ref, with `run`, `cancel` and `reset`:
|
|
138
138
|
|
|
139
139
|
```vue
|
|
@@ -172,7 +172,7 @@ const offline = error.value instanceof BridgeError && error.value.kind === "disc
|
|
|
172
172
|
```
|
|
173
173
|
|
|
174
174
|
`instanceof` holds for errors from every copy of the package on the page.
|
|
175
|
-
[Errors and diagnostics](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.
|
|
175
|
+
[Errors and diagnostics](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#errors-and-diagnostics)
|
|
176
176
|
lists the kinds. Any other value, such as an exception that your own connect
|
|
177
177
|
function or command callback throws, arrives unchanged.
|
|
178
178
|
|
|
@@ -219,10 +219,10 @@ application's own dialog.
|
|
|
219
219
|
departure before that is answered by the ViewModel's .NET fallback handler, or
|
|
220
220
|
fails closed without one.
|
|
221
221
|
|
|
222
|
-
The [ReactiveUI leave confirmation](https://github.com/Runic-Artifex/runic-sdk/blob/v0.9.
|
|
222
|
+
The [ReactiveUI leave confirmation](https://github.com/Runic-Artifex/runic-sdk/blob/v0.9.1/packages/dotnet/Runic.Application.Views.ReactiveUI/README.md#leave-confirmation-in-a-web-view)
|
|
223
223
|
has the .NET side and which View answers which departure. In a frontend test,
|
|
224
224
|
the generated mock's `interactions.<name>.request(input)` resolves with the
|
|
225
|
-
registered handler's answer; see the [Testing guide](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.
|
|
225
|
+
registered handler's answer; see the [Testing guide](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#testing).
|
|
226
226
|
|
|
227
227
|
## `useCollectionViewport(options)` (experimental)
|
|
228
228
|
|
|
@@ -230,7 +230,7 @@ Exported from `@runic-artifex/vue/experimental`, like the
|
|
|
230
230
|
`@runic-artifex/views/experimental` controller it wraps.
|
|
231
231
|
|
|
232
232
|
Follows a fixed-row-height scroll container and returns `{ viewport, attach }`.
|
|
233
|
-
`viewport` is a shallow ref with the [`collectionViewport`](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.
|
|
233
|
+
`viewport` is a shallow ref with the [`collectionViewport`](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#collectionviewportoptions-experimental)
|
|
234
234
|
range; `attach` is a function ref for the container. Bind it to a native element
|
|
235
235
|
such as a `<div>`: a component instance (`:ref="attach"` on a component) or a
|
|
236
236
|
non-HTML element detaches the viewport, and development builds warn. Pass a getter for the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runic-artifex/vue",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Vue composables for generated Runic Views clients",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"vue": ">=3.5.30 <4",
|
|
38
|
-
"@runic-artifex/views": "0.9.
|
|
38
|
+
"@runic-artifex/views": "0.9.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@runic-artifex/views": "0.9.
|
|
41
|
+
"@runic-artifex/views": "0.9.1",
|
|
42
42
|
"happy-dom": "20.14.5",
|
|
43
43
|
"typescript": "6.0.3",
|
|
44
44
|
"vitest": "5.0.3",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"url": "git+https://github.com/Runic-Artifex/runic-sdk.git",
|
|
54
54
|
"directory": "packages/web/vue"
|
|
55
55
|
},
|
|
56
|
-
"homepage": "https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.
|
|
56
|
+
"homepage": "https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/vue#readme",
|
|
57
57
|
"bugs": {
|
|
58
58
|
"url": "https://github.com/Runic-Artifex/runic-sdk/issues"
|
|
59
59
|
},
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"views",
|
|
64
64
|
"vue"
|
|
65
65
|
],
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "7df2f00a9800c180e266ca545d4d6a03bf78dc89"
|
|
67
67
|
}
|