@runic-artifex/vue 0.7.0-preview.6 → 0.7.0-preview.8
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 +58 -1
- package/dist/index.d.ts +23 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -43,6 +43,36 @@ Returns shallow refs `{ state, client, error, pending }` and `retry()`:
|
|
|
43
43
|
- `pending` is true while a reference connects. `error` holds a failed
|
|
44
44
|
connection; `retry()` connects again.
|
|
45
45
|
|
|
46
|
+
### Read-only state and `v-model`
|
|
47
|
+
|
|
48
|
+
As in any MVVM View, the ViewModel's C# setters decide what the page may set.
|
|
49
|
+
Read state one way from `state`. A property with a public C# setter also gets a
|
|
50
|
+
`set<Property>` client method; wrap it in a writable `computed` to use
|
|
51
|
+
`v-model`. Status with a `private set`, such as `IsDirty` or `Error`, has no
|
|
52
|
+
setter and is only rendered:
|
|
53
|
+
|
|
54
|
+
```vue
|
|
55
|
+
<script setup lang="ts">
|
|
56
|
+
// C#: public partial int Count { get; private set; } public partial int Step { get; set; }
|
|
57
|
+
import { computed } from "vue";
|
|
58
|
+
import { useCommand, useView } from "@runic-artifex/vue";
|
|
59
|
+
import type { CounterPageReference } from "./generated/counter.js";
|
|
60
|
+
|
|
61
|
+
const props = defineProps<{ page: CounterPageReference }>();
|
|
62
|
+
const { state, client } = useView(() => props.page);
|
|
63
|
+
const setStep = useCommand((value: number) => client.value?.setStep(value));
|
|
64
|
+
const step = computed({ get: () => state.value?.step ?? 1, set: value => void setStep.run(value) });
|
|
65
|
+
</script>
|
|
66
|
+
|
|
67
|
+
<template>
|
|
68
|
+
<p>{{ state?.count ?? "…" }}</p>
|
|
69
|
+
<select v-model.number="step">
|
|
70
|
+
<option :value="1">1</option>
|
|
71
|
+
<option :value="5">5</option>
|
|
72
|
+
</select>
|
|
73
|
+
</template>
|
|
74
|
+
```
|
|
75
|
+
|
|
46
76
|
## `ViewOutlet`
|
|
47
77
|
|
|
48
78
|
Renders the component registered for a generated reference's `kind` and
|
|
@@ -88,10 +118,37 @@ from the outcome, while `error` keeps unexpected failures. Starting a run and
|
|
|
88
118
|
`reset()` clear both, and a run superseded by a later run or by `reset()` sets
|
|
89
119
|
neither.
|
|
90
120
|
|
|
121
|
+
## `useOperation(start, options?)`
|
|
122
|
+
|
|
123
|
+
Observes a generated `start<Command>()` operation through the framework-neutral
|
|
124
|
+
[operation controller](https://github.com/Runic-Artifex/runic-sdk/tree/v0.7.0-preview.8/packages/web/views#operation-feedback-and-latest-selection)
|
|
125
|
+
and returns a reactive object; read its state from the object rather than destructuring it:
|
|
126
|
+
|
|
127
|
+
```vue
|
|
128
|
+
<script setup lang="ts">
|
|
129
|
+
const push = useOperation((remote: string) => client.value?.startPush(remote));
|
|
130
|
+
</script>
|
|
131
|
+
|
|
132
|
+
<template>
|
|
133
|
+
<button :disabled="!client || push.pending" @click="push.run('origin')">Push</button>
|
|
134
|
+
<button v-if="push.pending" :disabled="push.cancellationRequested" @click="push.cancel()">Cancel</button>
|
|
135
|
+
<p v-if="push.cancelled" role="status">Push cancelled.</p>
|
|
136
|
+
<p v-if="push.error !== undefined" role="alert">{{ String(push.error) }}</p>
|
|
137
|
+
</template>
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
The result has `pending`, `admitting`, `operation`, `status`, `outcome`, `failure`,
|
|
141
|
+
`error`, `cancelled`, `cancellationRequested`, `cancelling`, `cancellation` and
|
|
142
|
+
`cancelError`, with `run(...args)`, `cancel()` and `reset()`, which never reject. A
|
|
143
|
+
run that ends with a `cancelled` status sets `cancelled` and resolves to `undefined`
|
|
144
|
+
without an `error`; `failed` and `timedOut` statuses are still `error`. `pending`
|
|
145
|
+
stays true after a Cancel response until the operation reaches its terminal status.
|
|
146
|
+
Disposing the effect scope settles run promises without cancelling accepted work.
|
|
147
|
+
|
|
91
148
|
## `useCollectionViewport(options)`
|
|
92
149
|
|
|
93
150
|
Follows a fixed-row-height scroll container and returns `{ viewport, attach }`.
|
|
94
|
-
`viewport` is a shallow ref with the [`collectionViewport`](https://github.com/Runic-Artifex/runic-sdk/tree/
|
|
151
|
+
`viewport` is a shallow ref with the [`collectionViewport`](https://github.com/Runic-Artifex/runic-sdk/tree/v0.7.0-preview.8/packages/web/views#collectionviewportoptions)
|
|
95
152
|
range; `attach` is a function ref for the container. Pass a getter for the
|
|
96
153
|
options and watch the range to send it to the ViewModel:
|
|
97
154
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Component, type ComponentPublicInstance, type MaybeRefOrGetter, type Ref } from "vue";
|
|
2
|
-
import { type BridgeOutcomeFailure, type CollectionViewport, type CollectionViewportOptions, type ViewClient, type ViewReference, type ViewSource } from "@runic-artifex/views";
|
|
2
|
+
import { type BridgeOperation, type BridgeOutcomeFailure, type OperationController, type OperationControllerOptions, type OperationState, type CollectionViewport, type CollectionViewportOptions, type ViewClient, type ViewReference, type ViewSource } from "@runic-artifex/views";
|
|
3
3
|
export type { CollectionViewport, CollectionViewportOptions, ViewClient, ViewConnector, ViewReference, ViewSource } from "@runic-artifex/views";
|
|
4
4
|
export interface ViewHandle<TClient extends ViewClient> {
|
|
5
5
|
/** The latest state, or undefined until the client connects. */
|
|
@@ -24,10 +24,13 @@ export interface ViewHandle<TClient extends ViewClient> {
|
|
|
24
24
|
* `{ connect: connectWorkspace }` object does not reconnect.
|
|
25
25
|
*/
|
|
26
26
|
export declare function useView<TClient extends ViewClient>(source: MaybeRefOrGetter<ViewSource<TClient>>): ViewHandle<TClient>;
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
/**
|
|
28
|
+
* A build-known map checks each generated reference kind against its component's `page` prop. A nullable
|
|
29
|
+
* reference, such as a region slot's `State["main"]`, checks its non-null kinds.
|
|
30
|
+
*/
|
|
31
|
+
export type ViewRegistry<R extends ViewReference | null | undefined> = {
|
|
32
|
+
readonly [K in NonNullable<R>["kind"]]: Component<{
|
|
33
|
+
page: Extract<NonNullable<R>, {
|
|
31
34
|
readonly kind: K;
|
|
32
35
|
}>;
|
|
33
36
|
}>;
|
|
@@ -93,6 +96,21 @@ export interface CommandHandle<TArgs extends readonly unknown[], TResult, TFailu
|
|
|
93
96
|
* ```
|
|
94
97
|
*/
|
|
95
98
|
export declare function useCommand<TArgs extends readonly unknown[], TReturn>(command: (...args: TArgs) => TReturn): CommandHandle<TArgs, Awaited<TReturn>>;
|
|
99
|
+
export interface OperationHandle<TArgs extends readonly unknown[], TResult, TFailure = never> extends OperationState<TResult, TFailure>, Pick<OperationController<TArgs, TResult, TFailure>, "run" | "cancel" | "reset"> {
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Tracks Start admission, pending work, cancellation and terminal feedback of a
|
|
103
|
+
* generated `start<Command>()` operation. The result is a reactive object; do not
|
|
104
|
+
* destructure its state. A run that ends `cancelled` sets `cancelled`, not `error`.
|
|
105
|
+
* Scope disposal settles run promises without cancelling accepted work.
|
|
106
|
+
*
|
|
107
|
+
* ```vue
|
|
108
|
+
* const push = useOperation((remote: string) => client.value?.startPush(remote));
|
|
109
|
+
* <button :disabled="push.pending" @click="push.run('origin')">Push</button>
|
|
110
|
+
* <p v-if="push.cancelled" role="status">Push cancelled.</p>
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
export declare function useOperation<TArgs extends readonly unknown[], TResult, TFailure = never>(start: (...args: TArgs) => BridgeOperation<TResult, TFailure> | undefined | PromiseLike<BridgeOperation<TResult, TFailure> | undefined>, options?: OperationControllerOptions<TResult, TFailure>): OperationHandle<TArgs, TResult, TFailure>;
|
|
96
114
|
export interface CollectionViewportHandle {
|
|
97
115
|
/** The rows to request and the sizes to render. */
|
|
98
116
|
readonly viewport: Readonly<Ref<CollectionViewport>>;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,GAAG,EAGT,MAAM,KAAK,CAAC;AACb,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,GAAG,EAGT,MAAM,KAAK,CAAC;AACb,OAAO,EAML,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEhJ,MAAM,WAAW,UAAU,CAAC,OAAO,SAAS,UAAU;IACpD,gEAAgE;IAChE,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC;IAC/D,yEAAyE;IACzE,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC;IACpD,sCAAsC;IACtC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACvC,4CAA4C;IAC5C,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACzC,kDAAkD;IAClD,KAAK,IA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wB,CAiBpH"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, getCurrentScope, h, onScopeDispose, shallowReactive, shallowRef, toValue, watch, } from "vue";
|
|
2
|
-
import { createCollectionViewportController, createCommandController, createViewController, viewSourceIdentity, } from "@runic-artifex/views";
|
|
2
|
+
import { createCollectionViewportController, createCommandController, createOperationController, createViewController, viewSourceIdentity, } from "@runic-artifex/views";
|
|
3
3
|
/**
|
|
4
4
|
* Connects a generated View reference while the current effect scope (for
|
|
5
5
|
* example a component) is active and exposes its state as shallow refs. A
|
|
@@ -80,6 +80,28 @@ export function useCommand(command) {
|
|
|
80
80
|
onScopeDispose(() => controller.dispose());
|
|
81
81
|
return handle;
|
|
82
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Tracks Start admission, pending work, cancellation and terminal feedback of a
|
|
85
|
+
* generated `start<Command>()` operation. The result is a reactive object; do not
|
|
86
|
+
* destructure its state. A run that ends `cancelled` sets `cancelled`, not `error`.
|
|
87
|
+
* Scope disposal settles run promises without cancelling accepted work.
|
|
88
|
+
*
|
|
89
|
+
* ```vue
|
|
90
|
+
* const push = useOperation((remote: string) => client.value?.startPush(remote));
|
|
91
|
+
* <button :disabled="push.pending" @click="push.run('origin')">Push</button>
|
|
92
|
+
* <p v-if="push.cancelled" role="status">Push cancelled.</p>
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
export function useOperation(start, options = {}) {
|
|
96
|
+
const controller = createOperationController(start, options);
|
|
97
|
+
const handle = shallowReactive({
|
|
98
|
+
...controller.current, run: controller.run, cancel: controller.cancel, reset: controller.reset,
|
|
99
|
+
});
|
|
100
|
+
controller.subscribe(() => { Object.assign(handle, controller.current); });
|
|
101
|
+
if (getCurrentScope())
|
|
102
|
+
onScopeDispose(() => controller.dispose());
|
|
103
|
+
return handle;
|
|
104
|
+
}
|
|
83
105
|
/**
|
|
84
106
|
* Follows a fixed-row-height scroll container and returns the rows to request
|
|
85
107
|
* from .NET. Pass a getter such as `() => ({ totalCount: state.value?.totalCount ?? 0, rowHeight: 32 })`
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,eAAe,EACf,CAAC,EACD,cAAc,EACd,eAAe,EACf,UAAU,EACV,OAAO,EACP,KAAK,GAON,MAAM,KAAK,CAAC;AACb,OAAO,EACL,kCAAkC,EAClC,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,eAAe,EACf,CAAC,EACD,cAAc,EACd,eAAe,EACf,UAAU,EACV,OAAO,EACP,KAAK,GAON,MAAM,KAAK,CAAC;AACb,OAAO,EACL,kCAAkC,EAClC,uBAAuB,EACvB,yBAAyB,EACzB,oBAAoB,EACpB,kBAAkB,GAWnB,MAAM,sBAAsB,CAAC;AAiB9B;;;;;;;;;GASG;AACH,MAAM,UAAU,OAAO,CAA6B,MAA6C;IAC/F,MAAM,UAAU,GAAG,oBAAoB,EAAW,CAAC;IACnD,MAAM,KAAK,GAAG,UAAU,EAAmC,CAAC;IAC5D,MAAM,MAAM,GAAG,UAAU,EAAuB,CAAC;IACjD,MAAM,KAAK,GAAG,UAAU,EAAW,CAAC;IACpC,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IAClC,MAAM,IAAI,GAAG,GAAG,EAAE;QAChB,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;QACnC,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC5B,MAAM,CAAC,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC;QAC9B,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC5B,OAAO,CAAC,KAA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CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC;IAChG,CAAC,CAAC,CAAC;IACH,IAAI,eAAe,EAAE;QAAE,cAAc,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC;IAClE,OAAO;QACL,QAAQ;QACR,MAAM,CAAC,OAAO;YACZ,UAAU,CAAC,MAAM,CAAC,OAAO,WAAW,KAAK,WAAW,IAAI,OAAO,YAAY,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QAC3G,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runic-artifex/vue",
|
|
3
|
-
"version": "0.7.0-preview.
|
|
3
|
+
"version": "0.7.0-preview.8",
|
|
4
4
|
"description": "Vue composables for generated Runic Views clients",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"vue": ">=3.5.0 <4",
|
|
32
|
-
"@runic-artifex/views": "0.7.0-preview.
|
|
32
|
+
"@runic-artifex/views": "0.7.0-preview.8"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@runic-artifex/views": "0.7.0-preview.
|
|
35
|
+
"@runic-artifex/views": "0.7.0-preview.8",
|
|
36
36
|
"happy-dom": "20.14.5",
|
|
37
37
|
"typescript": "6.0.3",
|
|
38
38
|
"vitest": "5.0.3",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"url": "git+https://github.com/Runic-Artifex/runic-sdk.git",
|
|
51
51
|
"directory": "packages/web/vue"
|
|
52
52
|
},
|
|
53
|
-
"homepage": "https://github.com/Runic-Artifex/runic-sdk/tree/
|
|
53
|
+
"homepage": "https://github.com/Runic-Artifex/runic-sdk/tree/v0.7.0-preview.8/packages/web/vue#readme",
|
|
54
54
|
"bugs": {
|
|
55
55
|
"url": "https://github.com/Runic-Artifex/runic-sdk/issues"
|
|
56
56
|
},
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"views",
|
|
61
61
|
"vue"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "39655f2c894d611c794fe7378ef5a953ab082118"
|
|
64
64
|
}
|