angular-three-soba 4.2.1 → 4.2.2

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.
@@ -30,7 +30,7 @@ class NgtsAdaptiveDpr {
30
30
  * This can provide a retro aesthetic or indicate to users that performance mode is active.
31
31
  * @default false
32
32
  */
33
- this.pixelated = input(false, { ...(ngDevMode ? { debugName: "pixelated" } : {}), transform: booleanAttribute });
33
+ this.pixelated = input(false, { ...(ngDevMode ? { debugName: "pixelated" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
34
34
  const store = injectStore();
35
35
  effect(() => {
36
36
  const [current, pixelated, domElement, setDpr, initialDpr] = [
@@ -58,10 +58,10 @@ class NgtsAdaptiveDpr {
58
58
  domElement.style.imageRendering = 'auto';
59
59
  });
60
60
  }
61
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsAdaptiveDpr, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
62
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.6", type: NgtsAdaptiveDpr, isStandalone: true, selector: "ngts-adaptive-dpr", inputs: { pixelated: { classPropertyName: "pixelated", publicName: "pixelated", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
61
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsAdaptiveDpr, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
62
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.9", type: NgtsAdaptiveDpr, isStandalone: true, selector: "ngts-adaptive-dpr", inputs: { pixelated: { classPropertyName: "pixelated", publicName: "pixelated", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
63
63
  }
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsAdaptiveDpr, decorators: [{
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsAdaptiveDpr, decorators: [{
65
65
  type: Directive,
66
66
  args: [{ selector: 'ngts-adaptive-dpr' }]
67
67
  }], ctorParameters: () => [], propDecorators: { pixelated: [{ type: i0.Input, args: [{ isSignal: true, alias: "pixelated", required: false }] }] } });
@@ -93,10 +93,10 @@ class NgtsAdaptiveEvents {
93
93
  store.snapshot.setEvents({ enabled: currentEnabled });
94
94
  });
95
95
  }
96
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsAdaptiveEvents, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
97
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.6", type: NgtsAdaptiveEvents, isStandalone: true, selector: "ngts-adaptive-events", ngImport: i0 }); }
96
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsAdaptiveEvents, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
97
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: NgtsAdaptiveEvents, isStandalone: true, selector: "ngts-adaptive-events", ngImport: i0 }); }
98
98
  }
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsAdaptiveEvents, decorators: [{
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsAdaptiveEvents, decorators: [{
100
100
  type: Directive,
101
101
  args: [{ selector: 'ngts-adaptive-events' }]
102
102
  }], ctorParameters: () => [] });
@@ -134,7 +134,7 @@ class NgtsBVH {
134
134
  /**
135
135
  * Configuration options for BVH construction and raycasting behavior.
136
136
  */
137
- this.options = input(defaultOptions$2, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$2) });
137
+ this.options = input(defaultOptions$2, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultOptions$2) });
138
138
  /** @internal */
139
139
  this.parameters = omit(this.options, [
140
140
  'enabled',
@@ -159,7 +159,7 @@ class NgtsBVH {
159
159
  this.maxDepth = pick(this.options, 'maxDepth');
160
160
  this.maxLeafTris = pick(this.options, 'maxLeafTris');
161
161
  this.indirect = pick(this.options, 'indirect');
162
- this.reset = signal(Math.random(), ...(ngDevMode ? [{ debugName: "reset" }] : []));
162
+ this.reset = signal(Math.random(), ...(ngDevMode ? [{ debugName: "reset" }] : /* istanbul ignore next */ []));
163
163
  this.retryMap = new Map();
164
164
  this.MAX_RETRIES = 3;
165
165
  extend({ Group });
@@ -226,14 +226,14 @@ class NgtsBVH {
226
226
  this.retryMap.clear();
227
227
  });
228
228
  }
229
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsBVH, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
230
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.1.6", type: NgtsBVH, isStandalone: true, selector: "ngts-bvh", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "groupRef", first: true, predicate: ["group"], descendants: true, isSignal: true }], ngImport: i0, template: `
229
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsBVH, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
230
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtsBVH, isStandalone: true, selector: "ngts-bvh", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "groupRef", first: true, predicate: ["group"], descendants: true, isSignal: true }], ngImport: i0, template: `
231
231
  <ngt-group #group [parameters]="parameters()">
232
232
  <ng-content />
233
233
  </ngt-group>
234
234
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
235
235
  }
236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsBVH, decorators: [{
236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsBVH, decorators: [{
237
237
  type: Component,
238
238
  args: [{
239
239
  selector: 'ngts-bvh',
@@ -273,11 +273,11 @@ class NgtsDetailed {
273
273
  * The first distance corresponds to the first child (highest detail),
274
274
  * and subsequent distances correspond to lower detail children.
275
275
  */
276
- this.distances = input.required(...(ngDevMode ? [{ debugName: "distances" }] : []));
276
+ this.distances = input.required(...(ngDevMode ? [{ debugName: "distances" }] : /* istanbul ignore next */ []));
277
277
  /**
278
278
  * Configuration options for the LOD behavior.
279
279
  */
280
- this.options = input(defaultOptions$1, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$1) });
280
+ this.options = input(defaultOptions$1, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultOptions$1) });
281
281
  /** @internal */
282
282
  this.parameters = omit(this.options, ['hysteresis']);
283
283
  /**
@@ -301,14 +301,14 @@ class NgtsDetailed {
301
301
  this.lodRef().nativeElement.update(camera);
302
302
  });
303
303
  }
304
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsDetailed, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
305
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.1.6", type: NgtsDetailed, isStandalone: true, selector: "ngts-detailed", inputs: { distances: { classPropertyName: "distances", publicName: "distances", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "lodRef", first: true, predicate: ["lod"], descendants: true, isSignal: true }], ngImport: i0, template: `
304
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsDetailed, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
305
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtsDetailed, isStandalone: true, selector: "ngts-detailed", inputs: { distances: { classPropertyName: "distances", publicName: "distances", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "lodRef", first: true, predicate: ["lod"], descendants: true, isSignal: true }], ngImport: i0, template: `
306
306
  <ngt-lOD #lod [parameters]="parameters()">
307
307
  <ng-content />
308
308
  </ngt-lOD>
309
309
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
310
310
  }
311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsDetailed, decorators: [{
311
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsDetailed, decorators: [{
312
312
  type: Component,
313
313
  args: [{
314
314
  selector: 'ngts-detailed',
@@ -419,7 +419,7 @@ class NgtsInstance {
419
419
  /**
420
420
  * Options passed to the underlying PositionMesh, including position, rotation, scale, and color.
421
421
  */
422
- this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
422
+ this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
423
423
  /** @internal */
424
424
  this.instances = inject(NgtsInstances);
425
425
  /**
@@ -432,14 +432,14 @@ class NgtsInstance {
432
432
  onCleanup(() => cleanup());
433
433
  });
434
434
  }
435
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsInstance, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
436
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.1.6", type: NgtsInstance, isStandalone: true, selector: "ngts-instance", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "positionMeshRef", first: true, predicate: ["positionMesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
435
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsInstance, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
436
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtsInstance, isStandalone: true, selector: "ngts-instance", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "positionMeshRef", first: true, predicate: ["positionMesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
437
437
  <ngt-position-mesh #positionMesh [instance]="instances.instancedMeshRef()" [parameters]="options()">
438
438
  <ng-content />
439
439
  </ngt-position-mesh>
440
440
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
441
441
  }
442
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsInstance, decorators: [{
442
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsInstance, decorators: [{
443
443
  type: Component,
444
444
  args: [{
445
445
  selector: 'ngts-instance',
@@ -484,7 +484,7 @@ class NgtsInstances {
484
484
  /**
485
485
  * Configuration options for the instanced rendering.
486
486
  */
487
- this.options = input(defaultOptions, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions) });
487
+ this.options = input(defaultOptions, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultOptions) });
488
488
  /** @internal */
489
489
  this.parameters = omit(this.options, ['limit', 'frames', 'range']);
490
490
  /**
@@ -501,7 +501,7 @@ class NgtsInstances {
501
501
  }
502
502
  const colors = new Float32Array([...Array.from({ length: limit * 3 }, () => 1)]);
503
503
  return { matrices, colors };
504
- }, ...(ngDevMode ? [{ debugName: "buffers" }] : []));
504
+ }, ...(ngDevMode ? [{ debugName: "buffers" }] : /* istanbul ignore next */ []));
505
505
  /**
506
506
  * Array of registered instance references. Used internally to track all instances.
507
507
  */
@@ -560,8 +560,8 @@ class NgtsInstances {
560
560
  this.instances = this.instances.filter((i) => i !== ref);
561
561
  };
562
562
  }
563
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsInstances, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
564
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.1.6", type: NgtsInstances, isStandalone: true, selector: "ngts-instances", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "instancedMeshRef", first: true, predicate: ["instancedMesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
563
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsInstances, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
564
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtsInstances, isStandalone: true, selector: "ngts-instances", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "instancedMeshRef", first: true, predicate: ["instancedMesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
565
565
  <ngt-instanced-mesh
566
566
  #instancedMesh
567
567
  [userData]="{ instances }"
@@ -587,7 +587,7 @@ class NgtsInstances {
587
587
  </ngt-instanced-mesh>
588
588
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
589
589
  }
590
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsInstances, decorators: [{
590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsInstances, decorators: [{
591
591
  type: Component,
592
592
  args: [{
593
593
  selector: 'ngts-instances',
@@ -633,13 +633,13 @@ const _v2 = new Vector3();
633
633
  */
634
634
  class NgtsLODLevel {
635
635
  constructor() {
636
- this.lodLevel = input(defaultLodLevelOptions, { ...(ngDevMode ? { debugName: "lodLevel" } : {}), transform: mergeInputs(defaultLodLevelOptions) });
636
+ this.lodLevel = input(defaultLodLevelOptions, { ...(ngDevMode ? { debugName: "lodLevel" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultLodLevelOptions) });
637
637
  this.template = inject(TemplateRef);
638
638
  }
639
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsLODLevel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
640
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.6", type: NgtsLODLevel, isStandalone: true, selector: "ng-template[lodLevel]", inputs: { lodLevel: { classPropertyName: "lodLevel", publicName: "lodLevel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
639
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsLODLevel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
640
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.9", type: NgtsLODLevel, isStandalone: true, selector: "ng-template[lodLevel]", inputs: { lodLevel: { classPropertyName: "lodLevel", publicName: "lodLevel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
641
641
  }
642
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsLODLevel, decorators: [{
642
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsLODLevel, decorators: [{
643
643
  type: Directive,
644
644
  args: [{
645
645
  selector: 'ng-template[lodLevel]',
@@ -667,11 +667,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
667
667
  */
668
668
  class NgtsLODImpl {
669
669
  constructor() {
670
- this.maxDistance = input(...(ngDevMode ? [undefined, { debugName: "maxDistance" }] : []));
670
+ this.maxDistance = input(...(ngDevMode ? [undefined, { debugName: "maxDistance" }] : /* istanbul ignore next */ []));
671
671
  this.store = injectStore();
672
672
  this.container = inject(ElementRef);
673
- this.levels = contentChildren(NgtsLODLevel, ...(ngDevMode ? [{ debugName: "levels" }] : []));
674
- this.level = signal(undefined, ...(ngDevMode ? [{ debugName: "level" }] : []));
673
+ this.levels = contentChildren(NgtsLODLevel, ...(ngDevMode ? [{ debugName: "levels" }] : /* istanbul ignore next */ []));
674
+ this.level = signal(undefined, ...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
675
675
  beforeRender(() => {
676
676
  const levels = this.levels();
677
677
  const currentLevel = this.level();
@@ -707,12 +707,12 @@ class NgtsLODImpl {
707
707
  }
708
708
  });
709
709
  }
710
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsLODImpl, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
711
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.1.6", type: NgtsLODImpl, isStandalone: true, selector: "[lod]", inputs: { maxDistance: { classPropertyName: "maxDistance", publicName: "maxDistance", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "levels", predicate: NgtsLODLevel, isSignal: true }], ngImport: i0, template: `
710
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsLODImpl, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
711
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtsLODImpl, isStandalone: true, selector: "[lod]", inputs: { maxDistance: { classPropertyName: "maxDistance", publicName: "maxDistance", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "levels", predicate: NgtsLODLevel, isSignal: true }], ngImport: i0, template: `
712
712
  <ng-container [ngTemplateOutlet]="level()?.template" />
713
713
  `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
714
714
  }
715
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsLODImpl, decorators: [{
715
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsLODImpl, decorators: [{
716
716
  type: Component,
717
717
  args: [{
718
718
  selector: '[lod]',
@@ -817,7 +817,7 @@ class NgtsPoint {
817
817
  /**
818
818
  * Options passed to the underlying PositionPoint, including position, color, and size.
819
819
  */
820
- this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
820
+ this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
821
821
  /**
822
822
  * Reference to the underlying PositionPoint element.
823
823
  */
@@ -830,14 +830,14 @@ class NgtsPoint {
830
830
  onCleanup(() => cleanUp());
831
831
  });
832
832
  }
833
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsPoint, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
834
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.1.6", type: NgtsPoint, isStandalone: true, selector: "ngts-point", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "positionPointRef", first: true, predicate: ["positionPoint"], descendants: true, isSignal: true }], ngImport: i0, template: `
833
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsPoint, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
834
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtsPoint, isStandalone: true, selector: "ngts-point", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "positionPointRef", first: true, predicate: ["positionPoint"], descendants: true, isSignal: true }], ngImport: i0, template: `
835
835
  <ngt-position-point #positionPoint [parameters]="options()" [instance]="points.pointsRef()">
836
836
  <ng-content />
837
837
  </ngt-position-point>
838
838
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
839
839
  }
840
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsPoint, decorators: [{
840
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsPoint, decorators: [{
841
841
  type: Component,
842
842
  args: [{
843
843
  selector: 'ngts-point',
@@ -871,26 +871,26 @@ class NgtsPointsBuffer {
871
871
  * Float32Array containing point positions. Length should be divisible by stride.
872
872
  * For 3D points (stride=3): [x1, y1, z1, x2, y2, z2, ...]
873
873
  */
874
- this.positions = input.required(...(ngDevMode ? [{ debugName: "positions" }] : []));
874
+ this.positions = input.required(...(ngDevMode ? [{ debugName: "positions" }] : /* istanbul ignore next */ []));
875
875
  /**
876
876
  * Optional Float32Array containing RGB color values for each point.
877
877
  * Length should be (positions.length / stride) * 3.
878
878
  */
879
- this.colors = input(...(ngDevMode ? [undefined, { debugName: "colors" }] : []));
879
+ this.colors = input(...(ngDevMode ? [undefined, { debugName: "colors" }] : /* istanbul ignore next */ []));
880
880
  /**
881
881
  * Optional Float32Array containing size values for each point.
882
882
  * Length should be positions.length / stride.
883
883
  */
884
- this.sizes = input(...(ngDevMode ? [undefined, { debugName: "sizes" }] : []));
884
+ this.sizes = input(...(ngDevMode ? [undefined, { debugName: "sizes" }] : /* istanbul ignore next */ []));
885
885
  /**
886
886
  * The number of components per position (2 for 2D, 3 for 3D).
887
887
  * @default 3
888
888
  */
889
- this.stride = input(3, ...(ngDevMode ? [{ debugName: "stride" }] : []));
889
+ this.stride = input(3, ...(ngDevMode ? [{ debugName: "stride" }] : /* istanbul ignore next */ []));
890
890
  /**
891
891
  * Additional options passed to the Points object.
892
892
  */
893
- this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
893
+ this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
894
894
  /**
895
895
  * Reference to the underlying THREE.Points element.
896
896
  */
@@ -910,8 +910,8 @@ class NgtsPointsBuffer {
910
910
  checkUpdate(attributes['size']);
911
911
  });
912
912
  }
913
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsPointsBuffer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
914
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.6", type: NgtsPointsBuffer, isStandalone: true, selector: "ngts-points-buffer", inputs: { positions: { classPropertyName: "positions", publicName: "positions", isSignal: true, isRequired: true, transformFunction: null }, colors: { classPropertyName: "colors", publicName: "colors", isSignal: true, isRequired: false, transformFunction: null }, sizes: { classPropertyName: "sizes", publicName: "sizes", isSignal: true, isRequired: false, transformFunction: null }, stride: { classPropertyName: "stride", publicName: "stride", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "pointsRef", first: true, predicate: ["points"], descendants: true, isSignal: true }], ngImport: i0, template: `
913
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsPointsBuffer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
914
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: NgtsPointsBuffer, isStandalone: true, selector: "ngts-points-buffer", inputs: { positions: { classPropertyName: "positions", publicName: "positions", isSignal: true, isRequired: true, transformFunction: null }, colors: { classPropertyName: "colors", publicName: "colors", isSignal: true, isRequired: false, transformFunction: null }, sizes: { classPropertyName: "sizes", publicName: "sizes", isSignal: true, isRequired: false, transformFunction: null }, stride: { classPropertyName: "stride", publicName: "stride", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "pointsRef", first: true, predicate: ["points"], descendants: true, isSignal: true }], ngImport: i0, template: `
915
915
  <ngt-points #points [parameters]="options()">
916
916
  <ngt-buffer-geometry>
917
917
  <ngt-buffer-attribute
@@ -944,7 +944,7 @@ class NgtsPointsBuffer {
944
944
  </ngt-points>
945
945
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
946
946
  }
947
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsPointsBuffer, decorators: [{
947
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsPointsBuffer, decorators: [{
948
948
  type: Component,
949
949
  args: [{
950
950
  selector: 'ngts-points-buffer',
@@ -1009,7 +1009,7 @@ class NgtsPointsInstances {
1009
1009
  /**
1010
1010
  * Configuration options for the points rendering.
1011
1011
  */
1012
- this.options = input(defaultInstancesOptions, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultInstancesOptions) });
1012
+ this.options = input(defaultInstancesOptions, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultInstancesOptions) });
1013
1013
  /**
1014
1014
  * Computed parameters passed to the underlying Points object.
1015
1015
  */
@@ -1029,7 +1029,7 @@ class NgtsPointsInstances {
1029
1029
  colors: Float32Array.from({ length: limit * 3 }, () => 1),
1030
1030
  sizes: Float32Array.from({ length: limit }, () => 1),
1031
1031
  };
1032
- }, ...(ngDevMode ? [{ debugName: "buffers" }] : []));
1032
+ }, ...(ngDevMode ? [{ debugName: "buffers" }] : /* istanbul ignore next */ []));
1033
1033
  /**
1034
1034
  * Array of registered point references. Used internally to track all points.
1035
1035
  */
@@ -1080,8 +1080,8 @@ class NgtsPointsInstances {
1080
1080
  this.positionPoints = this.positionPoints.filter((p) => p !== ref);
1081
1081
  };
1082
1082
  }
1083
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsPointsInstances, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1084
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.1.6", type: NgtsPointsInstances, isStandalone: true, selector: "ngts-points-instances", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "pointsRef", first: true, predicate: ["points"], descendants: true, isSignal: true }], ngImport: i0, template: `
1083
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsPointsInstances, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1084
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtsPointsInstances, isStandalone: true, selector: "ngts-points-instances", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "pointsRef", first: true, predicate: ["points"], descendants: true, isSignal: true }], ngImport: i0, template: `
1085
1085
  <ngt-points
1086
1086
  #points
1087
1087
  [userData]="{ instances: positionPoints }"
@@ -1116,7 +1116,7 @@ class NgtsPointsInstances {
1116
1116
  </ngt-points>
1117
1117
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1118
1118
  }
1119
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsPointsInstances, decorators: [{
1119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsPointsInstances, decorators: [{
1120
1120
  type: Component,
1121
1121
  args: [{
1122
1122
  selector: 'ngts-points-instances',
@@ -1194,17 +1194,17 @@ class NgtsSegment {
1194
1194
  * The starting point of the line segment.
1195
1195
  * Accepts a Vector3-like value: [x, y, z], {x, y, z}, or THREE.Vector3.
1196
1196
  */
1197
- this.start = input.required(...(ngDevMode ? [{ debugName: "start" }] : []));
1197
+ this.start = input.required(...(ngDevMode ? [{ debugName: "start" }] : /* istanbul ignore next */ []));
1198
1198
  /**
1199
1199
  * The ending point of the line segment.
1200
1200
  * Accepts a Vector3-like value: [x, y, z], {x, y, z}, or THREE.Vector3.
1201
1201
  */
1202
- this.end = input.required(...(ngDevMode ? [{ debugName: "end" }] : []));
1202
+ this.end = input.required(...(ngDevMode ? [{ debugName: "end" }] : /* istanbul ignore next */ []));
1203
1203
  /**
1204
1204
  * The color of the line segment.
1205
1205
  * If not specified, inherits from the parent or defaults to white.
1206
1206
  */
1207
- this.color = input(...(ngDevMode ? [undefined, { debugName: "color" }] : []));
1207
+ this.color = input(...(ngDevMode ? [undefined, { debugName: "color" }] : /* istanbul ignore next */ []));
1208
1208
  /** @internal */
1209
1209
  this.normalizedStart = vector3(this.start);
1210
1210
  /** @internal */
@@ -1220,12 +1220,12 @@ class NgtsSegment {
1220
1220
  onCleanup(() => cleanUp());
1221
1221
  });
1222
1222
  }
1223
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsSegment, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1224
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.1.6", type: NgtsSegment, isStandalone: true, selector: "ngts-segment", inputs: { start: { classPropertyName: "start", publicName: "start", isSignal: true, isRequired: true, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "segmentRef", first: true, predicate: ["segment"], descendants: true, isSignal: true }], ngImport: i0, template: `
1223
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsSegment, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1224
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtsSegment, isStandalone: true, selector: "ngts-segment", inputs: { start: { classPropertyName: "start", publicName: "start", isSignal: true, isRequired: true, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "segmentRef", first: true, predicate: ["segment"], descendants: true, isSignal: true }], ngImport: i0, template: `
1225
1225
  <ngt-segment-object #segment [color]="color()" [start]="normalizedStart()" [end]="normalizedEnd()" />
1226
1226
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1227
1227
  }
1228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsSegment, decorators: [{
1228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsSegment, decorators: [{
1229
1229
  type: Component,
1230
1230
  args: [{
1231
1231
  selector: 'ngts-segment',
@@ -1262,14 +1262,14 @@ class NgtsSegments {
1262
1262
  /**
1263
1263
  * Configuration options for the segments rendering.
1264
1264
  */
1265
- this.options = input(defaultSegmentsOptions, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultSegmentsOptions) });
1265
+ this.options = input(defaultSegmentsOptions, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultSegmentsOptions) });
1266
1266
  this.parameters = omit(this.options, ['limit', 'lineWidth']);
1267
1267
  this.lineWidth = pick(this.options, 'lineWidth');
1268
1268
  this.limit = pick(this.options, 'limit');
1269
1269
  /**
1270
1270
  * Reference to the underlying Line2 element.
1271
1271
  */
1272
- this.lineRef = viewChild('line', ...(ngDevMode ? [{ debugName: "lineRef" }] : []));
1272
+ this.lineRef = viewChild('line', ...(ngDevMode ? [{ debugName: "lineRef" }] : /* istanbul ignore next */ []));
1273
1273
  /**
1274
1274
  * Array of registered segment references. Used internally to track all segments.
1275
1275
  */
@@ -1287,17 +1287,17 @@ class NgtsSegments {
1287
1287
  resolution: this.resolution,
1288
1288
  linewidth: this.lineWidth(),
1289
1289
  ...this.parameters(),
1290
- }), ...(ngDevMode ? [{ debugName: "materialParameters" }] : []));
1290
+ }), ...(ngDevMode ? [{ debugName: "materialParameters" }] : /* istanbul ignore next */ []));
1291
1291
  /** @internal */
1292
1292
  this.positions = computed(() => {
1293
1293
  const limit = this.limit();
1294
1294
  return Array.from({ length: limit * 6 }, () => 0);
1295
- }, ...(ngDevMode ? [{ debugName: "positions" }] : []));
1295
+ }, ...(ngDevMode ? [{ debugName: "positions" }] : /* istanbul ignore next */ []));
1296
1296
  /** @internal */
1297
1297
  this.colors = computed(() => {
1298
1298
  const limit = this.limit();
1299
1299
  return Array.from({ length: limit * 6 }, () => 0);
1300
- }, ...(ngDevMode ? [{ debugName: "colors" }] : []));
1300
+ }, ...(ngDevMode ? [{ debugName: "colors" }] : /* istanbul ignore next */ []));
1301
1301
  beforeRender(() => {
1302
1302
  const [limit, positions, colors] = [this.limit(), this.positions(), this.colors()];
1303
1303
  for (let i = 0; i < limit; i++) {
@@ -1334,8 +1334,8 @@ class NgtsSegments {
1334
1334
  this.segments = this.segments.filter((i) => i !== ref);
1335
1335
  };
1336
1336
  }
1337
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsSegments, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1338
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.1.6", type: NgtsSegments, isStandalone: true, selector: "ngts-segments", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "lineRef", first: true, predicate: ["line"], descendants: true, isSignal: true }], ngImport: i0, template: `
1337
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsSegments, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1338
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtsSegments, isStandalone: true, selector: "ngts-segments", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "lineRef", first: true, predicate: ["line"], descendants: true, isSignal: true }], ngImport: i0, template: `
1339
1339
  <ngt-primitive #line *args="[line]">
1340
1340
  <ngt-primitive *args="[geometry]" attach="geometry" />
1341
1341
  <ngt-primitive *args="[material]" attach="material" [parameters]="materialParameters()" />
@@ -1343,7 +1343,7 @@ class NgtsSegments {
1343
1343
  </ngt-primitive>
1344
1344
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1345
1345
  }
1346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgtsSegments, decorators: [{
1346
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtsSegments, decorators: [{
1347
1347
  type: Component,
1348
1348
  args: [{
1349
1349
  selector: 'ngts-segments',