angular-three-soba 4.0.0-next.115 → 4.0.0-next.116

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.
Files changed (38) hide show
  1. package/fesm2022/angular-three-soba-abstractions.mjs +64 -64
  2. package/fesm2022/angular-three-soba-abstractions.mjs.map +1 -1
  3. package/fesm2022/angular-three-soba-cameras.mjs +21 -21
  4. package/fesm2022/angular-three-soba-cameras.mjs.map +1 -1
  5. package/fesm2022/angular-three-soba-controls.mjs +31 -31
  6. package/fesm2022/angular-three-soba-controls.mjs.map +1 -1
  7. package/fesm2022/angular-three-soba-gizmos.mjs +104 -97
  8. package/fesm2022/angular-three-soba-gizmos.mjs.map +1 -1
  9. package/fesm2022/angular-three-soba-loaders.mjs +5 -5
  10. package/fesm2022/angular-three-soba-loaders.mjs.map +1 -1
  11. package/fesm2022/angular-three-soba-materials.mjs +47 -43
  12. package/fesm2022/angular-three-soba-materials.mjs.map +1 -1
  13. package/fesm2022/angular-three-soba-misc.mjs +40 -43
  14. package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
  15. package/fesm2022/angular-three-soba-performances.mjs +49 -49
  16. package/fesm2022/angular-three-soba-performances.mjs.map +1 -1
  17. package/fesm2022/angular-three-soba-shaders.mjs.map +1 -1
  18. package/fesm2022/angular-three-soba-staging.mjs +183 -180
  19. package/fesm2022/angular-three-soba-staging.mjs.map +1 -1
  20. package/fesm2022/angular-three-soba-stats.mjs +5 -5
  21. package/fesm2022/angular-three-soba-stats.mjs.map +1 -1
  22. package/fesm2022/angular-three-soba-vanilla-exports.mjs +1 -1
  23. package/fesm2022/angular-three-soba-vanilla-exports.mjs.map +1 -1
  24. package/fesm2022/angular-three-soba.mjs.map +1 -1
  25. package/package.json +17 -17
  26. package/{abstractions/index.d.ts → types/angular-three-soba-abstractions.d.ts} +4 -12
  27. package/{cameras/index.d.ts → types/angular-three-soba-cameras.d.ts} +3 -3
  28. package/{gizmos/index.d.ts → types/angular-three-soba-gizmos.d.ts} +7 -2
  29. package/{loaders/index.d.ts → types/angular-three-soba-loaders.d.ts} +1 -1
  30. package/{materials/index.d.ts → types/angular-three-soba-materials.d.ts} +9 -9
  31. package/{misc/index.d.ts → types/angular-three-soba-misc.d.ts} +2 -2
  32. package/{performances/index.d.ts → types/angular-three-soba-performances.d.ts} +5 -5
  33. package/{shaders/index.d.ts → types/angular-three-soba-shaders.d.ts} +2 -2
  34. package/{staging/index.d.ts → types/angular-three-soba-staging.d.ts} +28 -23
  35. package/{vanilla-exports/index.d.ts → types/angular-three-soba-vanilla-exports.d.ts} +1 -1
  36. /package/{controls/index.d.ts → types/angular-three-soba-controls.d.ts} +0 -0
  37. /package/{stats/index.d.ts → types/angular-three-soba-stats.d.ts} +0 -0
  38. /package/{index.d.ts → types/angular-three-soba.d.ts} +0 -0
@@ -19,7 +19,7 @@ const defaultOptions$b = {
19
19
  };
20
20
  class NgtsBillboard {
21
21
  constructor() {
22
- this.options = input(defaultOptions$b, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions$b) }] : [{ transform: mergeInputs(defaultOptions$b) }]));
22
+ this.options = input(defaultOptions$b, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$b) });
23
23
  this.parameters = omit(this.options, ['follow', 'lockX', 'lockY', 'lockZ']);
24
24
  this.groupRef = viewChild.required('group');
25
25
  this.innerRef = viewChild.required('inner');
@@ -49,8 +49,8 @@ class NgtsBillboard {
49
49
  inner.rotation.z = prevRotation.z;
50
50
  });
51
51
  }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsBillboard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
53
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsBillboard, isStandalone: true, selector: "ngts-billboard", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "groupRef", first: true, predicate: ["group"], descendants: true, isSignal: true }, { propertyName: "innerRef", first: true, predicate: ["inner"], descendants: true, isSignal: true }], ngImport: i0, template: `
52
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsBillboard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
53
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsBillboard, isStandalone: true, selector: "ngts-billboard", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "groupRef", first: true, predicate: ["group"], descendants: true, isSignal: true }, { propertyName: "innerRef", first: true, predicate: ["inner"], descendants: true, isSignal: true }], ngImport: i0, template: `
54
54
  <ngt-group #group [parameters]="parameters()">
55
55
  <ngt-group #inner>
56
56
  <ng-content />
@@ -58,7 +58,7 @@ class NgtsBillboard {
58
58
  </ngt-group>
59
59
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
60
60
  }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsBillboard, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsBillboard, decorators: [{
62
62
  type: Component,
63
63
  args: [{
64
64
  selector: 'ngts-billboard',
@@ -72,7 +72,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
72
72
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
73
73
  changeDetection: ChangeDetectionStrategy.OnPush,
74
74
  }]
75
- }], ctorParameters: () => [] });
75
+ }], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], groupRef: [{ type: i0.ViewChild, args: ['group', { isSignal: true }] }], innerRef: [{ type: i0.ViewChild, args: ['inner', { isSignal: true }] }] } });
76
76
 
77
77
  const defaultOptions$a = {
78
78
  lineWidth: 1,
@@ -86,7 +86,7 @@ class NgtsLine {
86
86
  }
87
87
  constructor() {
88
88
  this.points = input.required(...(ngDevMode ? [{ debugName: "points" }] : []));
89
- this.options = input(defaultOptions$a, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions$a) }] : [{ transform: mergeInputs(defaultOptions$a) }]));
89
+ this.options = input(defaultOptions$a, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$a) });
90
90
  this.parameters = omit(this.options, [
91
91
  'color',
92
92
  'vertexColors',
@@ -154,8 +154,8 @@ class NgtsLine {
154
154
  });
155
155
  });
156
156
  }
157
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
158
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsLine, isStandalone: true, selector: "ngts-line", inputs: { points: { classPropertyName: "points", publicName: "points", isSignal: true, isRequired: true, transformFunction: null }, 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: `
157
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
158
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsLine, isStandalone: true, selector: "ngts-line", inputs: { points: { classPropertyName: "points", publicName: "points", isSignal: true, isRequired: true, transformFunction: null }, 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: `
159
159
  <ngt-primitive *args="[line2()]" #line [parameters]="parameters()">
160
160
  <ngt-primitive *args="[lineGeometry()]" attach="geometry" (attached)="onGeometryAttached($any($event))" />
161
161
  <ngt-primitive
@@ -173,7 +173,7 @@ class NgtsLine {
173
173
  </ngt-primitive>
174
174
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
175
175
  }
176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsLine, decorators: [{
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsLine, decorators: [{
177
177
  type: Component,
178
178
  args: [{
179
179
  selector: 'ngts-line',
@@ -198,7 +198,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
198
198
  changeDetection: ChangeDetectionStrategy.OnPush,
199
199
  imports: [NgtArgs],
200
200
  }]
201
- }], ctorParameters: () => [] });
201
+ }], ctorParameters: () => [], propDecorators: { points: [{ type: i0.Input, args: [{ isSignal: true, alias: "points", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], lineRef: [{ type: i0.ViewChild, args: ['line', { isSignal: true }] }] } });
202
202
 
203
203
  const defaultOptions$9 = {
204
204
  curveType: 'centripetal',
@@ -210,7 +210,7 @@ const defaultOptions$9 = {
210
210
  class NgtsCatmullRomLine {
211
211
  constructor() {
212
212
  this.points = input.required(...(ngDevMode ? [{ debugName: "points" }] : []));
213
- this.options = input(defaultOptions$9, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions$9) }] : [{ transform: mergeInputs(defaultOptions$9) }]));
213
+ this.options = input(defaultOptions$9, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$9) });
214
214
  this.parameters = omit(this.options, ['curveType', 'tension', 'segments', 'closed', 'vertexColors']);
215
215
  this.line = viewChild.required(NgtsLine);
216
216
  this.closed = pick(this.options, 'closed');
@@ -248,14 +248,14 @@ class NgtsCatmullRomLine {
248
248
  }, ...(ngDevMode ? [{ debugName: "interpolatedVertexColors" }] : []));
249
249
  this.lineOptions = computed(() => ({ ...this.parameters(), vertexColors: this.interpolatedVertexColors() }), ...(ngDevMode ? [{ debugName: "lineOptions" }] : []));
250
250
  }
251
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsCatmullRomLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
252
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsCatmullRomLine, isStandalone: true, selector: "ngts-catmull-rom-line", inputs: { points: { classPropertyName: "points", publicName: "points", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
251
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsCatmullRomLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
252
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsCatmullRomLine, isStandalone: true, selector: "ngts-catmull-rom-line", inputs: { points: { classPropertyName: "points", publicName: "points", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
253
253
  <ngts-line [points]="segmentedPoints()" [options]="lineOptions()">
254
254
  <ng-content />
255
255
  </ngts-line>
256
256
  `, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
257
257
  }
258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsCatmullRomLine, decorators: [{
258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsCatmullRomLine, decorators: [{
259
259
  type: Component,
260
260
  args: [{
261
261
  selector: 'ngts-catmull-rom-line',
@@ -267,7 +267,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
267
267
  changeDetection: ChangeDetectionStrategy.OnPush,
268
268
  imports: [NgtsLine],
269
269
  }]
270
- }] });
270
+ }], propDecorators: { points: [{ type: i0.Input, args: [{ isSignal: true, alias: "points", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], line: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgtsLine), { isSignal: true }] }] } });
271
271
 
272
272
  const defaultOptions$8 = {
273
273
  lineWidth: 1,
@@ -279,7 +279,7 @@ class NgtsCubicBezierLine {
279
279
  this.end = input.required(...(ngDevMode ? [{ debugName: "end" }] : []));
280
280
  this.midA = input.required(...(ngDevMode ? [{ debugName: "midA" }] : []));
281
281
  this.midB = input.required(...(ngDevMode ? [{ debugName: "midB" }] : []));
282
- this.options = input(defaultOptions$8, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions$8) }] : [{ transform: mergeInputs(defaultOptions$8) }]));
282
+ this.options = input(defaultOptions$8, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$8) });
283
283
  this.parameters = omit(this.options, ['segments']);
284
284
  this.line = viewChild.required(NgtsLine);
285
285
  this.segments = pick(this.options, 'segments');
@@ -298,14 +298,14 @@ class NgtsCubicBezierLine {
298
298
  return new THREE.CubicBezierCurve3(startV, midAV, midBV, endV).getPoints(segments);
299
299
  }, ...(ngDevMode ? [{ debugName: "points" }] : []));
300
300
  }
301
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsCubicBezierLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
302
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsCubicBezierLine, isStandalone: true, selector: "ngts-cubic-bezier-line", inputs: { start: { classPropertyName: "start", publicName: "start", isSignal: true, isRequired: true, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: true, transformFunction: null }, midA: { classPropertyName: "midA", publicName: "midA", isSignal: true, isRequired: true, transformFunction: null }, midB: { classPropertyName: "midB", publicName: "midB", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
301
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsCubicBezierLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
302
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsCubicBezierLine, isStandalone: true, selector: "ngts-cubic-bezier-line", inputs: { start: { classPropertyName: "start", publicName: "start", isSignal: true, isRequired: true, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: true, transformFunction: null }, midA: { classPropertyName: "midA", publicName: "midA", isSignal: true, isRequired: true, transformFunction: null }, midB: { classPropertyName: "midB", publicName: "midB", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
303
303
  <ngts-line [points]="points()" [options]="parameters()">
304
304
  <ng-content />
305
305
  </ngts-line>
306
306
  `, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
307
307
  }
308
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsCubicBezierLine, decorators: [{
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsCubicBezierLine, decorators: [{
309
309
  type: Component,
310
310
  args: [{
311
311
  selector: 'ngts-cubic-bezier-line',
@@ -317,7 +317,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
317
317
  changeDetection: ChangeDetectionStrategy.OnPush,
318
318
  imports: [NgtsLine],
319
319
  }]
320
- }] });
320
+ }], propDecorators: { start: [{ type: i0.Input, args: [{ isSignal: true, alias: "start", required: true }] }], end: [{ type: i0.Input, args: [{ isSignal: true, alias: "end", required: true }] }], midA: [{ type: i0.Input, args: [{ isSignal: true, alias: "midA", required: true }] }], midB: [{ type: i0.Input, args: [{ isSignal: true, alias: "midB", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], line: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgtsLine), { isSignal: true }] }] } });
321
321
 
322
322
  const defaultOptions$7 = {
323
323
  lineWidth: 1,
@@ -325,7 +325,7 @@ const defaultOptions$7 = {
325
325
  };
326
326
  class NgtsEdges {
327
327
  constructor() {
328
- this.options = input(defaultOptions$7, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions$7) }] : [{ transform: mergeInputs(defaultOptions$7) }]));
328
+ this.options = input(defaultOptions$7, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$7) });
329
329
  this.parameters = omit(this.options, ['threshold', 'geometry']);
330
330
  this.lineOptions = computed(() => ({ ...this.parameters(), segments: true, raycast: () => null }), ...(ngDevMode ? [{ debugName: "lineOptions" }] : []));
331
331
  this.tmpPoints = [0, 0, 0, 1, 0, 0];
@@ -356,14 +356,14 @@ class NgtsEdges {
356
356
  line.computeLineDistances();
357
357
  });
358
358
  }
359
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsEdges, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
360
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsEdges, isStandalone: true, selector: "ngts-edges", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
359
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsEdges, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
360
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsEdges, isStandalone: true, selector: "ngts-edges", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
361
361
  <ngts-line [points]="tmpPoints" [options]="lineOptions()">
362
362
  <ng-content />
363
363
  </ngts-line>
364
364
  `, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
365
365
  }
366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsEdges, decorators: [{
366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsEdges, decorators: [{
367
367
  type: Component,
368
368
  args: [{
369
369
  selector: 'ngts-edges',
@@ -375,7 +375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
375
375
  imports: [NgtsLine],
376
376
  changeDetection: ChangeDetectionStrategy.OnPush,
377
377
  }]
378
- }], ctorParameters: () => [] });
378
+ }], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], line: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgtsLine), { isSignal: true }] }] } });
379
379
 
380
380
  const defaultOptions$6 = {
381
381
  size: 1024,
@@ -389,7 +389,7 @@ class NgtsGradientTexture {
389
389
  this.attach = input('map', ...(ngDevMode ? [{ debugName: "attach" }] : []));
390
390
  this.stops = input.required(...(ngDevMode ? [{ debugName: "stops" }] : []));
391
391
  this.colors = input.required(...(ngDevMode ? [{ debugName: "colors" }] : []));
392
- this.options = input(defaultOptions$6, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions$6) }] : [{ transform: mergeInputs(defaultOptions$6) }]));
392
+ this.options = input(defaultOptions$6, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$6) });
393
393
  this.parameters = omit(this.options, ['size', 'width', 'type', 'innerCircleRadius', 'outerCircleRadius']);
394
394
  this.document = inject(DOCUMENT);
395
395
  this.store = injectStore();
@@ -429,8 +429,8 @@ class NgtsGradientTexture {
429
429
  }, ...(ngDevMode ? [{ debugName: "canvas" }] : []));
430
430
  extend({ CanvasTexture });
431
431
  }
432
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsGradientTexture, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
433
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.7", type: NgtsGradientTexture, isStandalone: true, selector: "ngts-gradient-texture", inputs: { attach: { classPropertyName: "attach", publicName: "attach", isSignal: true, isRequired: false, transformFunction: null }, stops: { classPropertyName: "stops", publicName: "stops", isSignal: true, isRequired: true, transformFunction: null }, colors: { classPropertyName: "colors", publicName: "colors", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
432
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsGradientTexture, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
433
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: NgtsGradientTexture, isStandalone: true, selector: "ngts-gradient-texture", inputs: { attach: { classPropertyName: "attach", publicName: "attach", isSignal: true, isRequired: false, transformFunction: null }, stops: { classPropertyName: "stops", publicName: "stops", isSignal: true, isRequired: true, transformFunction: null }, colors: { classPropertyName: "colors", publicName: "colors", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
434
434
  <ngt-canvas-texture
435
435
  *args="[canvas()]"
436
436
  [attach]="attach()"
@@ -441,7 +441,7 @@ class NgtsGradientTexture {
441
441
  </ngt-canvas-texture>
442
442
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
443
443
  }
444
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsGradientTexture, decorators: [{
444
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsGradientTexture, decorators: [{
445
445
  type: Component,
446
446
  args: [{
447
447
  selector: 'ngts-gradient-texture',
@@ -459,7 +459,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
459
459
  changeDetection: ChangeDetectionStrategy.OnPush,
460
460
  imports: [NgtArgs],
461
461
  }]
462
- }], ctorParameters: () => [] });
462
+ }], ctorParameters: () => [], propDecorators: { attach: [{ type: i0.Input, args: [{ isSignal: true, alias: "attach", required: false }] }], stops: [{ type: i0.Input, args: [{ isSignal: true, alias: "stops", required: true }] }], colors: [{ type: i0.Input, args: [{ isSignal: true, alias: "colors", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }] } });
463
463
 
464
464
  const defaultOptions$5 = {
465
465
  planeArgs: [],
@@ -478,7 +478,7 @@ const defaultOptions$5 = {
478
478
  };
479
479
  class NgtsGrid {
480
480
  constructor() {
481
- this.options = input(defaultOptions$5, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions$5) }] : [{ transform: mergeInputs(defaultOptions$5) }]));
481
+ this.options = input(defaultOptions$5, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$5) });
482
482
  this.parameters = omit(this.options, [
483
483
  'planeArgs',
484
484
  'cellSize',
@@ -550,8 +550,8 @@ class NgtsGrid {
550
550
  worldPlanePosition.value.set(0, 0, 0).applyMatrix4(mesh.matrixWorld);
551
551
  });
552
552
  }
553
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsGrid, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
554
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsGrid, isStandalone: true, selector: "ngts-grid", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "meshRef", first: true, predicate: ["mesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
553
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsGrid, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
554
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsGrid, isStandalone: true, selector: "ngts-grid", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "meshRef", first: true, predicate: ["mesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
555
555
  <ngt-mesh #mesh [frustumCulled]="false" [parameters]="parameters()">
556
556
  <ngt-plane-geometry *args="planeArgs()" />
557
557
  <ngt-grid-material transparent [side]="side()" [parameters]="uniforms()" extensions.derivatives />
@@ -559,7 +559,7 @@ class NgtsGrid {
559
559
  </ngt-mesh>
560
560
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
561
561
  }
562
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsGrid, decorators: [{
562
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsGrid, decorators: [{
563
563
  type: Component,
564
564
  args: [{
565
565
  selector: 'ngts-grid',
@@ -574,7 +574,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
574
574
  changeDetection: ChangeDetectionStrategy.OnPush,
575
575
  imports: [NgtArgs],
576
576
  }]
577
- }], ctorParameters: () => [] });
577
+ }], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], meshRef: [{ type: i0.ViewChild, args: ['mesh', { isSignal: true }] }] } });
578
578
 
579
579
  function helper(object, helperConstructor, { injector, args = () => [], } = {}) {
580
580
  return assertInjector(helper, injector, () => {
@@ -631,12 +631,12 @@ class NgtsHelper {
631
631
  this.helper = helper(this.parent, this.type, { args: this.options });
632
632
  extend({ Object3D });
633
633
  }
634
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsHelper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
635
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsHelper, isStandalone: true, selector: "ngts-helper", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "helperRef", first: true, predicate: ["helper"], descendants: true, isSignal: true }], ngImport: i0, template: `
634
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsHelper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
635
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsHelper, isStandalone: true, selector: "ngts-helper", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "helperRef", first: true, predicate: ["helper"], descendants: true, isSignal: true }], ngImport: i0, template: `
636
636
  <ngt-object3D #helper />
637
637
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
638
638
  }
639
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsHelper, decorators: [{
639
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsHelper, decorators: [{
640
640
  type: Component,
641
641
  args: [{
642
642
  selector: 'ngts-helper',
@@ -646,7 +646,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
646
646
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
647
647
  changeDetection: ChangeDetectionStrategy.OnPush,
648
648
  }]
649
- }], ctorParameters: () => [] });
649
+ }], ctorParameters: () => [], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], helperRef: [{ type: i0.ViewChild, args: ['helper', { isSignal: true }] }] } });
650
650
 
651
651
  const defaultOptions$4 = {
652
652
  height: 1,
@@ -656,7 +656,7 @@ class NgtsPrismGeometry {
656
656
  constructor() {
657
657
  this.attach = input('geometry', ...(ngDevMode ? [{ debugName: "attach" }] : []));
658
658
  this.vertices = input.required(...(ngDevMode ? [{ debugName: "vertices" }] : []));
659
- this.options = input(defaultOptions$4, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions$4) }] : [{ transform: mergeInputs(defaultOptions$4) }]));
659
+ this.options = input(defaultOptions$4, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$4) });
660
660
  this.parameters = computed(() => ({ ...this.options(), depth: this.options().height }), ...(ngDevMode ? [{ debugName: "parameters" }] : []));
661
661
  this.shape = computed(() => {
662
662
  const vertices = this.vertices();
@@ -666,14 +666,14 @@ class NgtsPrismGeometry {
666
666
  this.geometryRef = viewChild('geometry', ...(ngDevMode ? [{ debugName: "geometryRef" }] : []));
667
667
  extend({ ExtrudeGeometry });
668
668
  }
669
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsPrismGeometry, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
670
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsPrismGeometry, isStandalone: true, selector: "ngts-prism-geometry", inputs: { attach: { classPropertyName: "attach", publicName: "attach", isSignal: true, isRequired: false, transformFunction: null }, vertices: { classPropertyName: "vertices", publicName: "vertices", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "geometryRef", first: true, predicate: ["geometry"], descendants: true, isSignal: true }], ngImport: i0, template: `
669
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsPrismGeometry, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
670
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsPrismGeometry, isStandalone: true, selector: "ngts-prism-geometry", inputs: { attach: { classPropertyName: "attach", publicName: "attach", isSignal: true, isRequired: false, transformFunction: null }, vertices: { classPropertyName: "vertices", publicName: "vertices", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "geometryRef", first: true, predicate: ["geometry"], descendants: true, isSignal: true }], ngImport: i0, template: `
671
671
  <ngt-extrude-geometry #geometry *args="[shape(), parameters()]" [attach]="attach()">
672
672
  <ng-content />
673
673
  </ngt-extrude-geometry>
674
674
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
675
675
  }
676
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsPrismGeometry, decorators: [{
676
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsPrismGeometry, decorators: [{
677
677
  type: Component,
678
678
  args: [{
679
679
  selector: 'ngts-prism-geometry',
@@ -686,7 +686,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
686
686
  changeDetection: ChangeDetectionStrategy.OnPush,
687
687
  imports: [NgtArgs],
688
688
  }]
689
- }], ctorParameters: () => [] });
689
+ }], ctorParameters: () => [], propDecorators: { attach: [{ type: i0.Input, args: [{ isSignal: true, alias: "attach", required: false }] }], vertices: [{ type: i0.Input, args: [{ isSignal: true, alias: "vertices", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], geometryRef: [{ type: i0.ViewChild, args: ['geometry', { isSignal: true }] }] } });
690
690
 
691
691
  const defaultOptions$3 = {
692
692
  lineWidth: 1,
@@ -697,7 +697,7 @@ class NgtsQuadraticBezierLine {
697
697
  this.start = input([0, 0, 0], ...(ngDevMode ? [{ debugName: "start" }] : []));
698
698
  this.end = input([0, 0, 0], ...(ngDevMode ? [{ debugName: "end" }] : []));
699
699
  this.mid = input(...(ngDevMode ? [undefined, { debugName: "mid" }] : []));
700
- this.options = input(defaultOptions$3, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions$3) }] : [{ transform: mergeInputs(defaultOptions$3) }]));
700
+ this.options = input(defaultOptions$3, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$3) });
701
701
  this.parameters = omit(this.options, ['segments']);
702
702
  this.segments = pick(this.options, 'segments');
703
703
  this.line = viewChild.required(NgtsLine);
@@ -733,14 +733,14 @@ class NgtsQuadraticBezierLine {
733
733
  }
734
734
  return this.curve.getPoints(segments);
735
735
  }
736
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsQuadraticBezierLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
737
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsQuadraticBezierLine, isStandalone: true, selector: "ngts-quadratic-bezier-line", inputs: { start: { classPropertyName: "start", publicName: "start", isSignal: true, isRequired: false, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: false, transformFunction: null }, mid: { classPropertyName: "mid", publicName: "mid", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
736
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsQuadraticBezierLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
737
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsQuadraticBezierLine, isStandalone: true, selector: "ngts-quadratic-bezier-line", inputs: { start: { classPropertyName: "start", publicName: "start", isSignal: true, isRequired: false, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: false, transformFunction: null }, mid: { classPropertyName: "mid", publicName: "mid", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "line", first: true, predicate: NgtsLine, descendants: true, isSignal: true }], ngImport: i0, template: `
738
738
  <ngts-line [points]="points()" [options]="parameters()">
739
739
  <ng-content />
740
740
  </ngts-line>
741
741
  `, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
742
742
  }
743
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsQuadraticBezierLine, decorators: [{
743
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsQuadraticBezierLine, decorators: [{
744
744
  type: Component,
745
745
  args: [{
746
746
  selector: 'ngts-quadratic-bezier-line',
@@ -752,7 +752,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
752
752
  changeDetection: ChangeDetectionStrategy.OnPush,
753
753
  imports: [NgtsLine],
754
754
  }]
755
- }] });
755
+ }], propDecorators: { start: [{ type: i0.Input, args: [{ isSignal: true, alias: "start", required: false }] }], end: [{ type: i0.Input, args: [{ isSignal: true, alias: "end", required: false }] }], mid: [{ type: i0.Input, args: [{ isSignal: true, alias: "mid", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], line: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgtsLine), { isSignal: true }] }] } });
756
756
 
757
757
  const eps = 0.00001;
758
758
  function createShape(width, height, radius0) {
@@ -776,7 +776,7 @@ const defaultOptions$2 = {
776
776
  };
777
777
  class NgtsRoundedBox {
778
778
  constructor() {
779
- this.options = input(defaultOptions$2, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions$2) }] : [{ transform: mergeInputs(defaultOptions$2) }]));
779
+ this.options = input(defaultOptions$2, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$2) });
780
780
  this.parameters = omit(this.options, [
781
781
  'width',
782
782
  'height',
@@ -830,15 +830,15 @@ class NgtsRoundedBox {
830
830
  toCreasedNormals(geometry, untracked(this.creaseAngle));
831
831
  });
832
832
  }
833
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsRoundedBox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
834
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsRoundedBox, isStandalone: true, selector: "ngts-rounded-box", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "meshRef", first: true, predicate: ["mesh"], descendants: true, isSignal: true }, { propertyName: "geometryRef", first: true, predicate: ["geometry"], descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.NgtObjectEvents, outputs: ["click", "click", "dblclick", "dblclick", "contextmenu", "contextmenu", "pointerup", "pointerup", "pointerdown", "pointerdown", "pointerover", "pointerover", "pointerout", "pointerout", "pointerenter", "pointerenter", "pointerleave", "pointerleave", "pointermove", "pointermove", "pointermissed", "pointermissed", "pointercancel", "pointercancel", "wheel", "wheel"] }], ngImport: i0, template: `
833
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsRoundedBox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
834
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsRoundedBox, isStandalone: true, selector: "ngts-rounded-box", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "meshRef", first: true, predicate: ["mesh"], descendants: true, isSignal: true }, { propertyName: "geometryRef", first: true, predicate: ["geometry"], descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.NgtObjectEvents, outputs: ["click", "click", "dblclick", "dblclick", "contextmenu", "contextmenu", "pointerup", "pointerup", "pointerdown", "pointerdown", "pointerover", "pointerover", "pointerout", "pointerout", "pointerenter", "pointerenter", "pointerleave", "pointerleave", "pointermove", "pointermove", "pointermissed", "pointermissed", "pointercancel", "pointercancel", "wheel", "wheel"] }], ngImport: i0, template: `
835
835
  <ngt-mesh #mesh [parameters]="parameters()">
836
836
  <ngt-extrude-geometry #geometry *args="[shape(), geometryParameters()]" />
837
837
  <ng-content />
838
838
  </ngt-mesh>
839
839
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
840
840
  }
841
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsRoundedBox, decorators: [{
841
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsRoundedBox, decorators: [{
842
842
  type: Component,
843
843
  args: [{
844
844
  selector: 'ngts-rounded-box',
@@ -872,7 +872,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
872
872
  },
873
873
  ],
874
874
  }]
875
- }], ctorParameters: () => [] });
875
+ }], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], meshRef: [{ type: i0.ViewChild, args: ['mesh', { isSignal: true }] }], geometryRef: [{ type: i0.ViewChild, args: ['geometry', { isSignal: true }] }] } });
876
876
 
877
877
  const defaultOptions$1 = {
878
878
  sdfGlyphSize: 64,
@@ -883,7 +883,7 @@ const defaultOptions$1 = {
883
883
  class NgtsText {
884
884
  constructor() {
885
885
  this.text = input.required(...(ngDevMode ? [{ debugName: "text" }] : []));
886
- this.options = input(defaultOptions$1, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions$1) }] : [{ transform: mergeInputs(defaultOptions$1) }]));
886
+ this.options = input(defaultOptions$1, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$1) });
887
887
  this.parameters = omit(this.options, ['font', 'fontSize', 'sdfGlyphSize', 'anchorX', 'anchorY', 'characters']);
888
888
  this.synced = output();
889
889
  this.objectEvents = inject(NgtObjectEvents, { host: true });
@@ -917,8 +917,8 @@ class NgtsText {
917
917
  });
918
918
  });
919
919
  }
920
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsText, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
921
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsText, isStandalone: true, selector: "ngts-text", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { synced: "synced" }, viewQueries: [{ propertyName: "textPrimitiveRef", first: true, predicate: ["textPrimitive"], descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.NgtObjectEvents, outputs: ["click", "click", "dblclick", "dblclick", "contextmenu", "contextmenu", "pointerup", "pointerup", "pointerdown", "pointerdown", "pointerover", "pointerover", "pointerout", "pointerout", "pointerenter", "pointerenter", "pointerleave", "pointerleave", "pointermove", "pointermove", "pointermissed", "pointermissed", "pointercancel", "pointercancel", "wheel", "wheel"] }], ngImport: i0, template: `
920
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsText, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
921
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsText, isStandalone: true, selector: "ngts-text", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { synced: "synced" }, viewQueries: [{ propertyName: "textPrimitiveRef", first: true, predicate: ["textPrimitive"], descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.NgtObjectEvents, outputs: ["click", "click", "dblclick", "dblclick", "contextmenu", "contextmenu", "pointerup", "pointerup", "pointerdown", "pointerdown", "pointerover", "pointerover", "pointerout", "pointerout", "pointerenter", "pointerenter", "pointerleave", "pointerleave", "pointermove", "pointermove", "pointermissed", "pointermissed", "pointercancel", "pointercancel", "wheel", "wheel"] }], ngImport: i0, template: `
922
922
  <ngt-primitive
923
923
  #textPrimitive
924
924
  *args="[troikaMesh]"
@@ -934,7 +934,7 @@ class NgtsText {
934
934
  </ngt-primitive>
935
935
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
936
936
  }
937
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsText, decorators: [{
937
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsText, decorators: [{
938
938
  type: Component,
939
939
  args: [{
940
940
  selector: 'ngts-text',
@@ -977,7 +977,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
977
977
  },
978
978
  ],
979
979
  }]
980
- }], ctorParameters: () => [] });
980
+ }], ctorParameters: () => [], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], synced: [{ type: i0.Output, args: ["synced"] }], textPrimitiveRef: [{ type: i0.ViewChild, args: ['textPrimitive', { isSignal: true }] }] } });
981
981
 
982
982
  const defaultOptions = {
983
983
  letterSpacing: 0,
@@ -995,7 +995,7 @@ class NgtsText3D {
995
995
  constructor() {
996
996
  this.font = input.required(...(ngDevMode ? [{ debugName: "font" }] : []));
997
997
  this.text = input.required(...(ngDevMode ? [{ debugName: "text" }] : []));
998
- this.options = input(defaultOptions, ...(ngDevMode ? [{ debugName: "options", transform: mergeInputs(defaultOptions) }] : [{ transform: mergeInputs(defaultOptions) }]));
998
+ this.options = input(defaultOptions, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions) });
999
999
  this.parameters = omit(this.options, [
1000
1000
  'letterSpacing',
1001
1001
  'lineHeight',
@@ -1048,15 +1048,15 @@ class NgtsText3D {
1048
1048
  }
1049
1049
  });
1050
1050
  }
1051
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsText3D, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1052
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: NgtsText3D, isStandalone: true, selector: "ngts-text-3d,ngts-text-3D", inputs: { font: { classPropertyName: "font", publicName: "font", isSignal: true, isRequired: true, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "meshRef", first: true, predicate: ["mesh"], descendants: true, isSignal: true }, { propertyName: "textGeometryRef", first: true, predicate: ["textGeometry"], descendants: true, isSignal: true }], ngImport: i0, template: `
1051
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsText3D, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1052
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.0.6", type: NgtsText3D, isStandalone: true, selector: "ngts-text-3d,ngts-text-3D", inputs: { font: { classPropertyName: "font", publicName: "font", isSignal: true, isRequired: true, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "meshRef", first: true, predicate: ["mesh"], descendants: true, isSignal: true }, { propertyName: "textGeometryRef", first: true, predicate: ["textGeometry"], descendants: true, isSignal: true }], ngImport: i0, template: `
1053
1053
  <ngt-mesh #mesh [parameters]="parameters()">
1054
1054
  <ngt-text-geometry #textGeometry *args="textArgs()" />
1055
1055
  <ng-content />
1056
1056
  </ngt-mesh>
1057
1057
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1058
1058
  }
1059
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NgtsText3D, decorators: [{
1059
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgtsText3D, decorators: [{
1060
1060
  type: Component,
1061
1061
  args: [{
1062
1062
  selector: 'ngts-text-3d,ngts-text-3D',
@@ -1070,7 +1070,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
1070
1070
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
1071
1071
  changeDetection: ChangeDetectionStrategy.OnPush,
1072
1072
  }]
1073
- }], ctorParameters: () => [] });
1073
+ }], ctorParameters: () => [], propDecorators: { font: [{ type: i0.Input, args: [{ isSignal: true, alias: "font", required: true }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], meshRef: [{ type: i0.ViewChild, args: ['mesh', { isSignal: true }] }], textGeometryRef: [{ type: i0.ViewChild, args: ['textGeometry', { isSignal: true }] }] } });
1074
1074
 
1075
1075
  /**
1076
1076
  * Generated bundle index. Do not edit.