angular-three-soba 4.0.0 → 4.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-three-soba",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -121,7 +121,7 @@ declare class NgtsLine {
121
121
  * Configuration options for the line appearance and behavior.
122
122
  */
123
123
  options: _angular_core.InputSignalWithTransform<NgtsLineOptions, "" | Partial<NgtsLineOptions>>;
124
- protected parameters: _angular_core.Signal<Omit<NgtsLineOptions, "vertexColors" | "color" | "dashed" | "linewidth" | "lineWidth" | "segments">>;
124
+ protected parameters: _angular_core.Signal<Omit<NgtsLineOptions, "color" | "dashed" | "linewidth" | "vertexColors" | "lineWidth" | "segments">>;
125
125
  /**
126
126
  * Reference to the underlying Line2 or LineSegments2 Three.js object.
127
127
  */
@@ -313,10 +313,43 @@ declare class NgtsCatmullRomLine {
313
313
  }[T]) => void)>)) | undefined;
314
314
  dispose?: (((() => void) | Readonly<() => void> | null) & (((() => void) & (() => void)) | Readonly<(() => void) & (() => void)>)) | undefined;
315
315
  parameters?: ((Partial<three_stdlib.Line2> | Readonly<Partial<three_stdlib.Line2>>) & (Partial<three_stdlib.LineMaterial> | Readonly<Partial<three_stdlib.LineMaterial>>)) | undefined;
316
+ geometry?: three_stdlib.LineGeometry | Readonly<three_stdlib.LineGeometry | undefined>;
317
+ material?: three_stdlib.LineMaterial | Readonly<three_stdlib.LineMaterial | undefined>;
318
+ isLine2?: true | undefined;
319
+ isLineSegments2?: true | undefined;
320
+ computeLineDistances?: (() => three_stdlib.Line2) | Readonly<(() => three_stdlib.Line2) | undefined>;
321
+ isMesh?: true | undefined;
322
+ morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
323
+ morphTargetDictionary?: {
324
+ [key: string]: number;
325
+ } | Readonly<{
326
+ [key: string]: number;
327
+ } | undefined>;
328
+ count?: Readonly<number | undefined>;
329
+ updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
330
+ getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
316
331
  color?: THREE.ColorRepresentation | undefined;
332
+ dashed?: boolean | undefined | undefined;
333
+ dashScale?: number | undefined | undefined;
334
+ dashSize?: number | undefined | undefined;
335
+ dashOffset?: number | undefined | undefined;
336
+ gapSize?: number | undefined | undefined;
337
+ opacity?: number | undefined;
338
+ isLineMaterial?: true | undefined;
339
+ linewidth?: number | undefined | undefined;
340
+ resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
341
+ alphaToCoverage?: boolean | undefined | undefined;
342
+ worldUnits?: boolean | undefined | undefined;
343
+ isShaderMaterial?: Readonly<boolean | undefined>;
344
+ setValues?: ((values?: THREE.ShaderMaterialParameters) => void) | Readonly<((values?: THREE.ShaderMaterialParameters) => void) | undefined>;
345
+ defines?: Record<string, unknown> | Readonly<Record<string, unknown> | undefined>;
346
+ isMaterial?: Readonly<boolean | undefined>;
347
+ version?: Readonly<number | undefined>;
348
+ onBeforeCompile?: ((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
349
+ customProgramCacheKey?: (() => string) | Readonly<(() => string) | undefined>;
350
+ needsUpdate?: Readonly<boolean | undefined>;
317
351
  blending?: 0 | 1 | 2 | 3 | 4 | 5 | undefined;
318
352
  side?: 0 | 1 | 2 | undefined;
319
- opacity?: number | undefined;
320
353
  transparent?: boolean | undefined;
321
354
  alphaHash?: boolean | undefined;
322
355
  blendSrc?: 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | undefined;
@@ -348,45 +381,11 @@ declare class NgtsCatmullRomLine {
348
381
  polygonOffsetFactor?: number | undefined;
349
382
  polygonOffsetUnits?: number | undefined;
350
383
  dithering?: boolean | undefined;
351
- alphaToCoverage?: boolean | undefined | undefined;
352
384
  premultipliedAlpha?: boolean | undefined;
353
385
  forceSinglePass?: boolean | undefined;
354
386
  allowOverride?: boolean | undefined;
355
387
  toneMapped?: boolean | undefined;
356
388
  alphaTest?: number | undefined;
357
- dashed?: boolean | undefined | undefined;
358
- dashScale?: number | undefined | undefined;
359
- dashSize?: number | undefined | undefined;
360
- dashOffset?: number | undefined | undefined;
361
- gapSize?: number | undefined | undefined;
362
- linewidth?: number | undefined | undefined;
363
- resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
364
- wireframe?: boolean | undefined | undefined;
365
- worldUnits?: boolean | undefined | undefined;
366
- geometry?: three_stdlib.LineGeometry | Readonly<three_stdlib.LineGeometry | undefined>;
367
- material?: three_stdlib.LineMaterial | Readonly<three_stdlib.LineMaterial | undefined>;
368
- isLine2?: true | undefined;
369
- isLineSegments2?: true | undefined;
370
- computeLineDistances?: (() => three_stdlib.Line2) | Readonly<(() => three_stdlib.Line2) | undefined>;
371
- isMesh?: true | undefined;
372
- morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
373
- morphTargetDictionary?: {
374
- [key: string]: number;
375
- } | Readonly<{
376
- [key: string]: number;
377
- } | undefined>;
378
- count?: Readonly<number | undefined>;
379
- updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
380
- getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
381
- isLineMaterial?: true | undefined;
382
- isShaderMaterial?: Readonly<boolean | undefined>;
383
- setValues?: ((values?: THREE.ShaderMaterialParameters) => void) | Readonly<((values?: THREE.ShaderMaterialParameters) => void) | undefined>;
384
- defines?: Record<string, unknown> | Readonly<Record<string, unknown> | undefined>;
385
- isMaterial?: Readonly<boolean | undefined>;
386
- version?: Readonly<number | undefined>;
387
- onBeforeCompile?: ((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
388
- customProgramCacheKey?: (() => string) | Readonly<(() => string) | undefined>;
389
- needsUpdate?: Readonly<boolean | undefined>;
390
389
  uniforms?: {
391
390
  [uniform: string]: THREE.IUniform<any>;
392
391
  } | Readonly<{
@@ -395,6 +394,7 @@ declare class NgtsCatmullRomLine {
395
394
  uniformsGroups?: THREE.UniformsGroup[] | Readonly<THREE.UniformsGroup[] | undefined>;
396
395
  vertexShader?: Readonly<string | undefined>;
397
396
  fragmentShader?: Readonly<string | undefined>;
397
+ wireframe?: boolean | undefined | undefined;
398
398
  wireframeLinewidth?: Readonly<number | undefined>;
399
399
  fog?: Readonly<boolean | undefined>;
400
400
  lights?: Readonly<boolean | undefined>;
@@ -610,10 +610,42 @@ declare class NgtsEdges {
610
610
  dispose?: (((() => void) | Readonly<() => void> | null) & (((() => void) & (() => void)) | Readonly<(() => void) & (() => void)>)) | undefined;
611
611
  parameters?: ((Partial<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>> | Readonly<Partial<THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>>>) & ((Partial<three_stdlib.Line2> | Readonly<Partial<three_stdlib.Line2>>) & (Partial<three_stdlib.LineMaterial> | Readonly<Partial<three_stdlib.LineMaterial>>))) | undefined;
612
612
  __ngt_args__?: (([geometry?: THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap> | undefined, material?: THREE.Material | THREE.Material[] | undefined] | readonly [geometry?: THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap> | undefined, material?: THREE.Material | THREE.Material[] | undefined]) & (([geometry?: three_stdlib.LineGeometry | undefined, material?: three_stdlib.LineMaterial | undefined] | readonly [geometry?: three_stdlib.LineGeometry | undefined, material?: three_stdlib.LineMaterial | undefined]) & ([parameters?: LineMaterialParameters | undefined] | readonly [parameters?: LineMaterialParameters | undefined]))) | undefined;
613
+ material?: ((THREE.Material | THREE.Material[] | Readonly<THREE.Material> | readonly THREE.Material[]) & (three_stdlib.LineMaterial | Readonly<three_stdlib.LineMaterial>)) | undefined;
614
+ isLine2?: true | undefined;
615
+ isLineSegments2?: true | undefined;
616
+ computeLineDistances?: (() => three_stdlib.Line2) | Readonly<(() => three_stdlib.Line2) | undefined>;
617
+ isMesh?: true | undefined;
618
+ morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
619
+ morphTargetDictionary?: {
620
+ [key: string]: number;
621
+ } | Readonly<{
622
+ [key: string]: number;
623
+ } | undefined>;
624
+ count?: Readonly<number | undefined>;
625
+ updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
626
+ getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
613
627
  color?: THREE.ColorRepresentation | undefined;
628
+ dashed?: boolean | undefined | undefined;
629
+ dashScale?: number | undefined | undefined;
630
+ dashSize?: number | undefined | undefined;
631
+ dashOffset?: number | undefined | undefined;
632
+ gapSize?: number | undefined | undefined;
633
+ opacity?: number | undefined;
634
+ isLineMaterial?: true | undefined;
635
+ linewidth?: number | undefined | undefined;
636
+ resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
637
+ alphaToCoverage?: boolean | undefined | undefined;
638
+ worldUnits?: boolean | undefined | undefined;
639
+ isShaderMaterial?: Readonly<boolean | undefined>;
640
+ setValues?: ((values?: THREE.ShaderMaterialParameters) => void) | Readonly<((values?: THREE.ShaderMaterialParameters) => void) | undefined>;
641
+ defines?: Record<string, unknown> | Readonly<Record<string, unknown> | undefined>;
642
+ isMaterial?: Readonly<boolean | undefined>;
643
+ version?: Readonly<number | undefined>;
644
+ onBeforeCompile?: ((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
645
+ customProgramCacheKey?: (() => string) | Readonly<(() => string) | undefined>;
646
+ needsUpdate?: Readonly<boolean | undefined>;
614
647
  blending?: 0 | 1 | 2 | 3 | 4 | 5 | undefined;
615
648
  side?: 0 | 1 | 2 | undefined;
616
- opacity?: number | undefined;
617
649
  transparent?: boolean | undefined;
618
650
  alphaHash?: boolean | undefined;
619
651
  blendSrc?: 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | undefined;
@@ -645,44 +677,11 @@ declare class NgtsEdges {
645
677
  polygonOffsetFactor?: number | undefined;
646
678
  polygonOffsetUnits?: number | undefined;
647
679
  dithering?: boolean | undefined;
648
- alphaToCoverage?: boolean | undefined | undefined;
649
680
  premultipliedAlpha?: boolean | undefined;
650
681
  forceSinglePass?: boolean | undefined;
651
682
  allowOverride?: boolean | undefined;
652
683
  toneMapped?: boolean | undefined;
653
684
  alphaTest?: number | undefined;
654
- dashed?: boolean | undefined | undefined;
655
- dashScale?: number | undefined | undefined;
656
- dashSize?: number | undefined | undefined;
657
- dashOffset?: number | undefined | undefined;
658
- gapSize?: number | undefined | undefined;
659
- linewidth?: number | undefined | undefined;
660
- resolution?: (THREE.Vector2 & (number | THREE.Vector2 | [x: number, y: number] | Readonly<THREE.Vector2> | readonly [x: number, y: number])) | undefined;
661
- wireframe?: boolean | undefined | undefined;
662
- worldUnits?: boolean | undefined | undefined;
663
- material?: ((THREE.Material | THREE.Material[] | Readonly<THREE.Material> | readonly THREE.Material[]) & (three_stdlib.LineMaterial | Readonly<three_stdlib.LineMaterial>)) | undefined;
664
- isLine2?: true | undefined;
665
- isLineSegments2?: true | undefined;
666
- computeLineDistances?: (() => three_stdlib.Line2) | Readonly<(() => three_stdlib.Line2) | undefined>;
667
- isMesh?: true | undefined;
668
- morphTargetInfluences?: number[] | Readonly<number[] | undefined>;
669
- morphTargetDictionary?: {
670
- [key: string]: number;
671
- } | Readonly<{
672
- [key: string]: number;
673
- } | undefined>;
674
- count?: Readonly<number | undefined>;
675
- updateMorphTargets?: (() => void) | Readonly<(() => void) | undefined>;
676
- getVertexPosition?: ((index: number, target: THREE.Vector3) => THREE.Vector3) | Readonly<((index: number, target: THREE.Vector3) => THREE.Vector3) | undefined>;
677
- isLineMaterial?: true | undefined;
678
- isShaderMaterial?: Readonly<boolean | undefined>;
679
- setValues?: ((values?: THREE.ShaderMaterialParameters) => void) | Readonly<((values?: THREE.ShaderMaterialParameters) => void) | undefined>;
680
- defines?: Record<string, unknown> | Readonly<Record<string, unknown> | undefined>;
681
- isMaterial?: Readonly<boolean | undefined>;
682
- version?: Readonly<number | undefined>;
683
- onBeforeCompile?: ((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | Readonly<((parameters: THREE.WebGLProgramParametersWithUniforms, renderer: THREE.WebGLRenderer) => void) | undefined>;
684
- customProgramCacheKey?: (() => string) | Readonly<(() => string) | undefined>;
685
- needsUpdate?: Readonly<boolean | undefined>;
686
685
  uniforms?: {
687
686
  [uniform: string]: THREE.IUniform<any>;
688
687
  } | Readonly<{
@@ -691,6 +690,7 @@ declare class NgtsEdges {
691
690
  uniformsGroups?: THREE.UniformsGroup[] | Readonly<THREE.UniformsGroup[] | undefined>;
692
691
  vertexShader?: Readonly<string | undefined>;
693
692
  fragmentShader?: Readonly<string | undefined>;
693
+ wireframe?: boolean | undefined | undefined;
694
694
  wireframeLinewidth?: Readonly<number | undefined>;
695
695
  fog?: Readonly<boolean | undefined>;
696
696
  lights?: Readonly<boolean | undefined>;
@@ -1338,7 +1338,7 @@ declare class NgtsText {
1338
1338
  * Configuration options for text appearance and behavior.
1339
1339
  */
1340
1340
  options: _angular_core.InputSignalWithTransform<NgtsTextOptions, "" | Partial<NgtsTextOptions>>;
1341
- protected parameters: _angular_core.Signal<Omit<NgtsTextOptions, "font" | "fontSize" | "sdfGlyphSize" | "anchorX" | "anchorY" | "characters">>;
1341
+ protected parameters: _angular_core.Signal<Omit<NgtsTextOptions, "characters" | "fontSize" | "font" | "anchorX" | "anchorY" | "sdfGlyphSize">>;
1342
1342
  /**
1343
1343
  * Emitted when the text has been synced and is ready for rendering.
1344
1344
  * Returns the Troika Text mesh instance.
@@ -195,7 +195,7 @@ declare class NgtsMeshPortalMaterial {
195
195
  * Configuration options for the portal material.
196
196
  */
197
197
  options: _angular_core.InputSignalWithTransform<NgtsMeshPortalMaterialOptions, "" | Partial<NgtsMeshPortalMaterialOptions>>;
198
- protected parameters: _angular_core.Signal<Omit<NgtsMeshPortalMaterialOptions, "resolution" | "blur" | "worldUnits" | "eventPriority" | "renderPriority" | "events">>;
198
+ protected parameters: _angular_core.Signal<Omit<NgtsMeshPortalMaterialOptions, "resolution" | "blur" | "events" | "worldUnits" | "eventPriority" | "renderPriority">>;
199
199
  protected blur: _angular_core.Signal<number>;
200
200
  protected eventPriority: _angular_core.Signal<number>;
201
201
  protected renderPriority: _angular_core.Signal<number>;
@@ -418,7 +418,7 @@ declare class NgtsMeshRefractionMaterial {
418
418
  * Configuration options for the refraction material.
419
419
  */
420
420
  options: _angular_core.InputSignalWithTransform<NgtsMeshRefractionMaterialOptions, "" | Partial<NgtsMeshRefractionMaterialOptions>>;
421
- protected parameters: _angular_core.Signal<Omit<NgtsMeshRefractionMaterialOptions, "fastChroma" | "aberrationStrength">>;
421
+ protected parameters: _angular_core.Signal<Omit<NgtsMeshRefractionMaterialOptions, "aberrationStrength" | "fastChroma">>;
422
422
  private fastChroma;
423
423
  protected aberrationStrength: _angular_core.Signal<number>;
424
424
  /** Reference to the underlying MeshRefractionMaterial element. */