@runic-artifex/angular 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 CHANGED
@@ -137,14 +137,14 @@ For example, a navigation command whose departure guard awaits a dialog's
137
137
  answer never completes while the answer waits behind it. Order such commands
138
138
  by dispatch instead: start the next one once the previous one has been sent,
139
139
  as the Notes example's
140
- [`WindowOperations.runDispatched`](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.0/examples/notes-view-first/Angular/src/app/window-operations.ts)
140
+ [`WindowOperations.runDispatched`](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/examples/notes-view-first/Angular/src/app/window-operations.ts)
141
141
  does for its navigation commands.
142
142
 
143
143
  ## Operations
144
144
 
145
145
  `injectOperation(start, options?)` observes a generated `start<Command>()` operation
146
146
  through the framework-neutral
147
- [operation controller](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.0/packages/web/views#operation-feedback-and-latest-selection)
147
+ [operation controller](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#operation-feedback-and-latest-selection)
148
148
  for the lifetime of the injection context:
149
149
 
150
150
  ```ts
@@ -181,7 +181,7 @@ const offline = error instanceof BridgeError && error.kind === "disconnected";
181
181
  ```
182
182
 
183
183
  `instanceof` holds for errors from every copy of the package on the page.
184
- [Errors and diagnostics](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.0/packages/web/views#errors-and-diagnostics)
184
+ [Errors and diagnostics](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#errors-and-diagnostics)
185
185
  lists the kinds. Any other value, such as an exception that your own connect
186
186
  function or command callback throws, arrives unchanged.
187
187
 
@@ -232,10 +232,10 @@ application's own dialog.
232
232
  departure before that is answered by the ViewModel's .NET fallback handler, or
233
233
  fails closed without one.
234
234
 
235
- The [ReactiveUI leave confirmation](https://github.com/Runic-Artifex/runic-sdk/blob/v0.9.0/packages/dotnet/Runic.Application.Views.ReactiveUI/README.md#leave-confirmation-in-a-web-view)
235
+ 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)
236
236
  has the .NET side and which View answers which departure. In a frontend test,
237
237
  the generated mock's `interactions.<name>.request(input)` resolves with the
238
- registered handler's answer; see the [Testing guide](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.0/packages/web/views#testing).
238
+ registered handler's answer; see the [Testing guide](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#testing).
239
239
 
240
240
  ## Collection viewports (experimental)
241
241
 
@@ -243,7 +243,7 @@ registered handler's answer; see the [Testing guide](https://github.com/Runic-Ar
243
243
  `@runic-artifex/angular/experimental` like the `@runic-artifex/views/experimental`
244
244
  controller it wraps, follows a fixed-row-height scroll
245
245
  container and returns a signal with its
246
- [`collectionViewport`](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.0/packages/web/views#collectionviewportoptions-experimental)
246
+ [`collectionViewport`](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#collectionviewportoptions-experimental)
247
247
  range. Pass the container as a signal, such as a `viewChild`, and the options as
248
248
  a function or signal, then send the range to the ViewModel from an effect:
249
249
 
@@ -49,10 +49,10 @@ export class ViewOutlet {
49
49
  });
50
50
  });
51
51
  }
52
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ViewOutlet, deps: [], target: i0.ɵɵFactoryTarget.Component });
53
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: ViewOutlet, isStandalone: true, selector: "runic-view-outlet", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, registry: { classPropertyName: "registry", publicName: "registry", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "mount", first: true, predicate: ["mount"], descendants: true, read: ViewContainerRef, isSignal: true }], ngImport: i0, template: "\n <ng-container #mount />\n @if (!content()) { <ng-content /> }\n @if (error(); as issue) { <p role=\"alert\">{{ issue }}</p> }\n ", isInline: true });
52
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ViewOutlet, deps: [], target: i0.ɵɵFactoryTarget.Component });
53
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.3", type: ViewOutlet, isStandalone: true, selector: "runic-view-outlet", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, registry: { classPropertyName: "registry", publicName: "registry", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "mount", first: true, predicate: ["mount"], descendants: true, read: ViewContainerRef, isSignal: true }], ngImport: i0, template: "\n <ng-container #mount />\n @if (!content()) { <ng-content /> }\n @if (error(); as issue) { <p role=\"alert\">{{ issue }}</p> }\n ", isInline: true });
54
54
  }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ViewOutlet, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ViewOutlet, decorators: [{
56
56
  type: Component,
57
57
  args: [{ selector: "runic-view-outlet", standalone: true, template: outletTemplate }]
58
58
  }], ctorParameters: () => [], propDecorators: { content: [{ type: i0.Input, args: [{ isSignal: true, alias: "content", required: false }] }], registry: [{ type: i0.Input, args: [{ isSignal: true, alias: "registry", required: true }] }], mount: [{ type: i0.ViewChild, args: ["mount", { ...{ read: ViewContainerRef }, isSignal: true }] }] } });
@@ -62,10 +62,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
62
62
  * @deprecated Import `ViewOutlet` instead; this alias is removed in the next preview.
63
63
  */
64
64
  export class RunicViewOutlet extends ViewOutlet {
65
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: RunicViewOutlet, deps: null, target: i0.ɵɵFactoryTarget.Component });
66
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: RunicViewOutlet, isStandalone: true, selector: "runic-view-outlet", usesInheritance: true, ngImport: i0, template: "\n <ng-container #mount />\n @if (!content()) { <ng-content /> }\n @if (error(); as issue) { <p role=\"alert\">{{ issue }}</p> }\n ", isInline: true });
65
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: RunicViewOutlet, deps: null, target: i0.ɵɵFactoryTarget.Component });
66
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.3", type: RunicViewOutlet, isStandalone: true, selector: "runic-view-outlet", usesInheritance: true, ngImport: i0, template: "\n <ng-container #mount />\n @if (!content()) { <ng-content /> }\n @if (error(); as issue) { <p role=\"alert\">{{ issue }}</p> }\n ", isInline: true });
67
67
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: RunicViewOutlet, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: RunicViewOutlet, decorators: [{
69
69
  type: Component,
70
70
  args: [{ selector: "runic-view-outlet", standalone: true, template: outletTemplate }]
71
71
  }] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runic-artifex/angular",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@angular/core": ">=22.0.0 <23",
20
- "@runic-artifex/views": "0.9.0"
20
+ "@runic-artifex/views": "0.9.1"
21
21
  },
22
22
  "description": "Angular outlet and signals for Runic Views",
23
23
  "license": "MIT",
@@ -26,7 +26,7 @@
26
26
  "url": "git+https://github.com/Runic-Artifex/runic-sdk.git",
27
27
  "directory": "packages/web/angular"
28
28
  },
29
- "homepage": "https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.0/packages/web/angular#readme",
29
+ "homepage": "https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/angular#readme",
30
30
  "bugs": {
31
31
  "url": "https://github.com/Runic-Artifex/runic-sdk/issues"
32
32
  },
@@ -50,15 +50,15 @@
50
50
  "pack:check": "bun pm pack --dry-run"
51
51
  },
52
52
  "devDependencies": {
53
- "@runic-artifex/views": "0.9.0",
54
- "@angular/common": "22.2.1",
55
- "@angular/compiler": "22.2.1",
56
- "@angular/compiler-cli": "22.2.1",
57
- "@angular/core": "22.2.1",
58
- "@angular/platform-browser": "22.2.1",
53
+ "@runic-artifex/views": "0.9.1",
54
+ "@angular/common": "22.2.3",
55
+ "@angular/compiler": "22.2.3",
56
+ "@angular/compiler-cli": "22.2.3",
57
+ "@angular/core": "22.2.3",
58
+ "@angular/platform-browser": "22.2.3",
59
59
  "happy-dom": "20.14.5",
60
60
  "typescript": "6.0.3",
61
61
  "vitest": "5.0.3"
62
62
  },
63
- "gitHead": "6793f99c726af8b1d05067108761905aa5e8d0d6"
63
+ "gitHead": "7df2f00a9800c180e266ca545d4d6a03bf78dc89"
64
64
  }