ngx-json-render 0.7.3 → 0.7.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-json-render",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "Angular renderer for json-render — stream AI-generated JSON specs into real Angular components with signals.",
5
5
  "keywords": [
6
6
  "angular",
@@ -22,8 +22,8 @@
22
22
  "url": "https://github.com/shteynu/ngx-json-render/issues"
23
23
  },
24
24
  "peerDependencies": {
25
- "@angular/common": ">=20.0.0",
26
- "@angular/core": ">=20.0.0",
25
+ "@angular/common": ">=19.0.0",
26
+ "@angular/core": ">=19.0.0",
27
27
  "@json-render/core": ">=0.20.0 <0.22.0",
28
28
  "zod": "^4.0.0"
29
29
  },
@@ -2,7 +2,7 @@ import * as _json_render_core from '@json-render/core';
2
2
  import { ResolvedAction, ActionHandler, ActionBinding, SpecIssue, Spec, Catalog, InferCatalogActions, InferActionParams, StateModel, InferCatalogComponents, UIElement, StateStore, ValidationFunction, ComputedFunction, DirectiveDefinition, ActionConfirm, DirectiveRegistry, ValidationResult, ValidationConfig, JsonPatch, FlatElement } from '@json-render/core';
3
3
  export { ActionBinding, ActionHandler, JsonPatch, Spec, SpecIssue, StateModel, StateStore, UIElement, VisibilityCondition, autoFixSpec, createStateStore, formatSpecIssues, nestedToFlat, validateSpec } from '@json-render/core';
4
4
  import * as _angular_core from '@angular/core';
5
- import { Signal, Type, InjectionToken } from '@angular/core';
5
+ import { Signal, Type, Injector, InjectionToken } from '@angular/core';
6
6
  import * as ngx_json_render from 'ngx-json-render';
7
7
 
8
8
  interface PendingConfirmation {
@@ -547,7 +547,7 @@ declare class JsonRenderer {
547
547
  * one token wide instead of a component contract the renderer would have to
548
548
  * bind to.
549
549
  */
550
- protected readonly confirmInjector: _angular_core.Signal<_angular_core.DestroyableInjector | null>;
550
+ protected readonly confirmInjector: _angular_core.Signal<Injector | null>;
551
551
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<JsonRenderer, never>;
552
552
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<JsonRenderer, "json-render", never, { "spec": { "alias": "spec"; "required": true; "isSignal": true; }; "registry": { "alias": "registry"; "required": true; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "fallback": { "alias": "fallback"; "required": false; "isSignal": true; }; "validate": { "alias": "validate"; "required": false; "isSignal": true; }; "renderLimits": { "alias": "renderLimits"; "required": false; "isSignal": true; }; "catalog": { "alias": "catalog"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "store": { "alias": "store"; "required": false; "isSignal": true; }; "handlers": { "alias": "handlers"; "required": false; "isSignal": true; }; "onAction": { "alias": "onAction"; "required": false; "isSignal": true; }; "navigate": { "alias": "navigate"; "required": false; "isSignal": true; }; "validationFunctions": { "alias": "validationFunctions"; "required": false; "isSignal": true; }; "functions": { "alias": "functions"; "required": false; "isSignal": true; }; "directives": { "alias": "directives"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; }, never, never, true, never>;
553
553
  }
@@ -689,7 +689,7 @@ declare class JrElement {
689
689
  */
690
690
  protected readonly refusal: Signal<"cycle" | "depth" | null>;
691
691
  private readonly renderCtx;
692
- protected readonly outletInjector: _angular_core.DestroyableInjector;
692
+ protected readonly outletInjector: Injector;
693
693
  constructor();
694
694
  /**
695
695
  * Resolve this element against the whole current state and warn, once per