angular-three 3.2.1 → 3.2.3

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/lib/canvas.d.ts CHANGED
@@ -25,23 +25,22 @@ export declare class NgtCanvas {
25
25
  raycaster: import("@angular/core").InputSignal<Partial<Raycaster> | undefined>;
26
26
  scene: import("@angular/core").InputSignal<Scene | Partial<Scene> | undefined>;
27
27
  camera: import("@angular/core").InputSignal<NonNullable<((import("angular-three").NgtCamera | Partial<{
28
- viewport?: import("three").Vector4 | undefined;
29
- attach: string | string[] | import("angular-three").NgtAttachFunction;
30
- parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
31
- add?: ((...object: import("three").Object3D[]) => import("three").Camera) | undefined;
32
- readonly type?: string | undefined;
33
28
  addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").Camera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").Camera, typeof import("three").Camera>, ev: import("angular-three").NgtNodeEventMap<import("three").Camera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
34
29
  removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").Camera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").Camera, typeof import("three").Camera>, ev: import("angular-three").NgtNodeEventMap<import("three").Camera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
35
30
  clone?: ((recursive?: boolean) => import("three").Camera) | undefined;
36
31
  copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").Camera) | undefined;
32
+ add?: ((...object: import("three").Object3D[]) => import("three").Camera) | undefined;
37
33
  applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
38
34
  applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").Camera) | undefined;
35
+ attach: string | string[] | import("angular-three").NgtAttachFunction;
39
36
  __ngt_args__: [];
37
+ readonly type?: string | undefined;
40
38
  toJSON?: ((meta?: import("three").JSONMeta) => import("three").Object3DJSON) | undefined;
41
39
  readonly isObject3D?: true | undefined;
42
40
  readonly id?: number | undefined;
43
41
  uuid?: string | undefined;
44
42
  name?: string | undefined;
43
+ parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
45
44
  children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
46
45
  readonly modelViewMatrix?: import("three").Matrix4 | undefined;
47
46
  readonly normalMatrix?: import("three").Matrix3 | undefined;
@@ -105,6 +104,7 @@ export declare class NgtCanvas {
105
104
  projectionMatrix?: import("three").Matrix4 | undefined;
106
105
  projectionMatrixInverse?: import("three").Matrix4 | undefined;
107
106
  coordinateSystem?: import("three").CoordinateSystem | undefined;
107
+ viewport?: import("three").Vector4 | undefined;
108
108
  position: import("angular-three").NgtVector3;
109
109
  up: import("angular-three").NgtVector3;
110
110
  scale: import("angular-three").NgtVector3;
@@ -115,10 +115,15 @@ export declare class NgtCanvas {
115
115
  dispose: (() => void) | null;
116
116
  raycast: import("three").Object3D["raycast"] | null;
117
117
  } & {
118
- viewport?: import("three").Vector4 | undefined;
119
- attach: string | string[] | import("angular-three").NgtAttachFunction;
120
- parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
118
+ addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").PerspectiveCamera, typeof import("three").PerspectiveCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
119
+ removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").PerspectiveCamera, typeof import("three").PerspectiveCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
120
+ clone?: ((recursive?: boolean) => import("three").PerspectiveCamera) | undefined;
121
+ copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").PerspectiveCamera) | undefined;
121
122
  add?: ((...object: import("three").Object3D[]) => import("three").PerspectiveCamera) | undefined;
123
+ applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
124
+ applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").PerspectiveCamera) | undefined;
125
+ attach: string | string[] | import("angular-three").NgtAttachFunction;
126
+ __ngt_args__: [fov?: number | undefined, aspect?: number | undefined, near?: number | undefined, far?: number | undefined];
122
127
  view?: {
123
128
  enabled: boolean;
124
129
  fullWidth: number;
@@ -129,18 +134,12 @@ export declare class NgtCanvas {
129
134
  height: number;
130
135
  } | null | undefined;
131
136
  readonly type?: string | undefined;
132
- addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").PerspectiveCamera, typeof import("three").PerspectiveCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
133
- removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").PerspectiveCamera, typeof import("three").PerspectiveCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").PerspectiveCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
134
- clone?: ((recursive?: boolean) => import("three").PerspectiveCamera) | undefined;
135
- copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").PerspectiveCamera) | undefined;
136
- applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
137
- applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").PerspectiveCamera) | undefined;
138
- __ngt_args__: [fov?: number | undefined, aspect?: number | undefined, near?: number | undefined, far?: number | undefined];
139
137
  toJSON?: ((meta?: import("three").JSONMeta) => import("three").PerspectiveCameraJSON) | undefined;
140
138
  readonly isObject3D?: true | undefined;
141
139
  readonly id?: number | undefined;
142
140
  uuid?: string | undefined;
143
141
  name?: string | undefined;
142
+ parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
144
143
  children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
145
144
  readonly modelViewMatrix?: import("three").Matrix4 | undefined;
146
145
  readonly normalMatrix?: import("three").Matrix3 | undefined;
@@ -204,6 +203,7 @@ export declare class NgtCanvas {
204
203
  projectionMatrix?: import("three").Matrix4 | undefined;
205
204
  projectionMatrixInverse?: import("three").Matrix4 | undefined;
206
205
  coordinateSystem?: import("three").CoordinateSystem | undefined;
206
+ viewport?: import("three").Vector4 | undefined;
207
207
  readonly isPerspectiveCamera?: true | undefined;
208
208
  zoom?: number | undefined;
209
209
  fov?: number | undefined;
@@ -234,10 +234,15 @@ export declare class NgtCanvas {
234
234
  dispose: (() => void) | null;
235
235
  raycast: import("three").Object3D["raycast"] | null;
236
236
  } & {
237
- viewport?: import("three").Vector4 | undefined;
238
- attach: string | string[] | import("angular-three").NgtAttachFunction;
239
- parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
237
+ addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").OrthographicCamera, typeof import("three").OrthographicCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
238
+ removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").OrthographicCamera, typeof import("three").OrthographicCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
239
+ clone?: ((recursive?: boolean) => import("three").OrthographicCamera) | undefined;
240
+ copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").OrthographicCamera) | undefined;
240
241
  add?: ((...object: import("three").Object3D[]) => import("three").OrthographicCamera) | undefined;
242
+ applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
243
+ applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").OrthographicCamera) | undefined;
244
+ attach: string | string[] | import("angular-three").NgtAttachFunction;
245
+ __ngt_args__: [left?: number | undefined, right?: number | undefined, top?: number | undefined, bottom?: number | undefined, near?: number | undefined, far?: number | undefined];
241
246
  view?: {
242
247
  enabled: boolean;
243
248
  fullWidth: number;
@@ -248,18 +253,12 @@ export declare class NgtCanvas {
248
253
  height: number;
249
254
  } | null | undefined;
250
255
  readonly type?: string | undefined;
251
- addEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").OrthographicCamera, typeof import("three").OrthographicCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
252
- removeEventListener: (<TEventKey extends keyof import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>>(type: TEventKey, listener: (this: import("angular-three").NgtNodeElement<import("three").OrthographicCamera, typeof import("three").OrthographicCamera>, ev: import("angular-three").NgtNodeEventMap<import("three").OrthographicCamera>[TEventKey]) => any) => void) & (<TEventKey extends keyof import("angular-three").NgtAllObject3DEventsMap>(type: TEventKey, listener: (this: any, ev: import("angular-three").NgtAllObject3DEventsMap[TEventKey]) => any) => void);
253
- clone?: ((recursive?: boolean) => import("three").OrthographicCamera) | undefined;
254
- copy?: ((object: import("three").Object3D, recursive?: boolean) => import("three").OrthographicCamera) | undefined;
255
- applyMatrix4?: ((matrix: import("three").Matrix4) => void) | undefined;
256
- applyQuaternion?: ((quaternion: import("three").Quaternion) => import("three").OrthographicCamera) | undefined;
257
- __ngt_args__: [left?: number | undefined, right?: number | undefined, top?: number | undefined, bottom?: number | undefined, near?: number | undefined, far?: number | undefined];
258
256
  toJSON?: ((meta?: import("three").JSONMeta) => import("three").OrthographicCameraJSON) | undefined;
259
257
  readonly isObject3D?: true | undefined;
260
258
  readonly id?: number | undefined;
261
259
  uuid?: string | undefined;
262
260
  name?: string | undefined;
261
+ parent?: import("three").Object3D<import("three").Object3DEventMap> | null | undefined;
263
262
  children?: import("three").Object3D<import("three").Object3DEventMap>[] | undefined;
264
263
  readonly modelViewMatrix?: import("three").Matrix4 | undefined;
265
264
  readonly normalMatrix?: import("three").Matrix3 | undefined;
@@ -323,6 +322,7 @@ export declare class NgtCanvas {
323
322
  projectionMatrix?: import("three").Matrix4 | undefined;
324
323
  projectionMatrixInverse?: import("three").Matrix4 | undefined;
325
324
  coordinateSystem?: import("three").CoordinateSystem | undefined;
325
+ viewport?: import("three").Vector4 | undefined;
326
326
  zoom?: number | undefined;
327
327
  near?: number | undefined;
328
328
  far?: number | undefined;
package/lib/html.d.ts CHANGED
@@ -11,7 +11,7 @@ export declare abstract class NgtHTML {
11
11
  protected store: import("angular-three").NgtSignalStore<import("angular-three").NgtState>;
12
12
  protected destroyRef: DestroyRef;
13
13
  protected host: ElementRef<HTMLElement>;
14
- protected domElement: "gl" | HTMLElement | null;
14
+ protected domElement: HTMLElement | "gl" | null;
15
15
  constructor();
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtHTML, never>;
17
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<NgtHTML, never, never, {}, {}, never, never, true, never>;
package/lib/portal.d.ts CHANGED
@@ -34,7 +34,7 @@ export type NgtPortalInjectableState = Partial<Omit<NgtState, NgtPortalPrivateKe
34
34
  }>;
35
35
  export declare class NgtPortal {
36
36
  container: import("@angular/core").InputSignal<Object3D<import("three").Object3DEventMap>>;
37
- state: import("@angular/core").InputSignal<Partial<Omit<NgtState, "events" | "size" | "viewport" | "invalidate" | "advance" | "setEvents" | "setSize" | "setDpr" | "setFrameloop"> & {
37
+ state: import("@angular/core").InputSignal<Partial<Omit<NgtState, "viewport" | "size" | "setSize" | "events" | "invalidate" | "advance" | "setEvents" | "setDpr" | "setFrameloop"> & {
38
38
  events?: {
39
39
  enabled?: boolean;
40
40
  priority?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-three",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },