angular-three-soba 2.3.2 → 2.5.0

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 (125) hide show
  1. package/LICENSE +21 -0
  2. package/abstractions/lib/catmull-rom-line.d.ts +32 -32
  3. package/abstractions/lib/edges.d.ts +51 -51
  4. package/abstractions/lib/grid.d.ts +30 -30
  5. package/abstractions/lib/line.d.ts +2 -2
  6. package/abstractions/lib/prism-geometry.d.ts +4 -4
  7. package/abstractions/lib/rounded-box.d.ts +1 -1
  8. package/abstractions/lib/text-3d.d.ts +39 -38
  9. package/abstractions/lib/text.d.ts +1 -1
  10. package/cameras/lib/cube-camera.d.ts +1 -1
  11. package/cameras/lib/orthographic-camera.d.ts +1 -1
  12. package/cameras/lib/perspective-camera.d.ts +1 -1
  13. package/esm2022/abstractions/lib/billboard.mjs +3 -3
  14. package/esm2022/abstractions/lib/catmull-rom-line.mjs +3 -3
  15. package/esm2022/abstractions/lib/cubic-bezier-line.mjs +3 -3
  16. package/esm2022/abstractions/lib/edges.mjs +3 -3
  17. package/esm2022/abstractions/lib/gradient-texture.mjs +3 -3
  18. package/esm2022/abstractions/lib/grid.mjs +3 -3
  19. package/esm2022/abstractions/lib/helper.mjs +3 -3
  20. package/esm2022/abstractions/lib/line.mjs +3 -3
  21. package/esm2022/abstractions/lib/prism-geometry.mjs +3 -3
  22. package/esm2022/abstractions/lib/quadratic-bezier-line.mjs +3 -3
  23. package/esm2022/abstractions/lib/rounded-box.mjs +3 -3
  24. package/esm2022/abstractions/lib/text-3d.mjs +15 -10
  25. package/esm2022/abstractions/lib/text.mjs +3 -3
  26. package/esm2022/cameras/lib/camera-content.mjs +3 -3
  27. package/esm2022/cameras/lib/cube-camera.mjs +3 -3
  28. package/esm2022/cameras/lib/orthographic-camera.mjs +3 -3
  29. package/esm2022/cameras/lib/perspective-camera.mjs +3 -3
  30. package/esm2022/controls/lib/camera-controls.mjs +3 -3
  31. package/esm2022/controls/lib/orbit-controls.mjs +3 -3
  32. package/esm2022/controls/lib/scroll-controls.mjs +9 -9
  33. package/esm2022/gizmos/lib/gizmo-helper/gizmo-helper.mjs +6 -6
  34. package/esm2022/gizmos/lib/gizmo-helper/gizmo-viewcube.mjs +12 -12
  35. package/esm2022/gizmos/lib/gizmo-helper/gizmo-viewport.mjs +9 -9
  36. package/esm2022/gizmos/lib/pivot-controls/axis-arrow.mjs +3 -3
  37. package/esm2022/gizmos/lib/pivot-controls/axis-rotator.mjs +3 -3
  38. package/esm2022/gizmos/lib/pivot-controls/pivot-controls.mjs +3 -3
  39. package/esm2022/gizmos/lib/pivot-controls/plane-slider.mjs +3 -3
  40. package/esm2022/gizmos/lib/pivot-controls/scaling-sphere.mjs +3 -3
  41. package/esm2022/gizmos/lib/transform-controls.mjs +3 -3
  42. package/esm2022/loaders/lib/loader.mjs +3 -3
  43. package/esm2022/materials/lib/custom-shader-material.mjs +3 -3
  44. package/esm2022/materials/lib/mesh-distort-material.mjs +3 -3
  45. package/esm2022/materials/lib/mesh-reflector-material.mjs +3 -3
  46. package/esm2022/materials/lib/mesh-refraction-material.mjs +3 -3
  47. package/esm2022/materials/lib/mesh-transmission-material.mjs +4 -4
  48. package/esm2022/materials/lib/mesh-wobble-material.mjs +3 -3
  49. package/esm2022/materials/lib/point-material.mjs +3 -3
  50. package/esm2022/misc/index.mjs +2 -1
  51. package/esm2022/misc/lib/bake-shadows.mjs +3 -3
  52. package/esm2022/misc/lib/computed-attribute.mjs +3 -3
  53. package/esm2022/misc/lib/decal.mjs +3 -3
  54. package/esm2022/misc/lib/fbo.mjs +3 -3
  55. package/esm2022/misc/lib/html/html-content.mjs +3 -3
  56. package/esm2022/misc/lib/html/html.mjs +3 -3
  57. package/esm2022/misc/lib/intersect.mjs +3 -3
  58. package/esm2022/misc/lib/preload.mjs +58 -0
  59. package/esm2022/misc/lib/sampler.mjs +3 -3
  60. package/esm2022/performances/lib/adaptive-dpr.mjs +3 -3
  61. package/esm2022/performances/lib/adaptive-events.mjs +3 -3
  62. package/esm2022/performances/lib/detailed.mjs +3 -3
  63. package/esm2022/performances/lib/instances/instances.mjs +6 -6
  64. package/esm2022/performances/lib/points/points.mjs +9 -9
  65. package/esm2022/performances/lib/segments/segments.mjs +6 -6
  66. package/esm2022/staging/lib/accumulative-shadows.mjs +3 -3
  67. package/esm2022/staging/lib/backdrop.mjs +3 -3
  68. package/esm2022/staging/lib/bb-anchor.mjs +3 -3
  69. package/esm2022/staging/lib/bounds.mjs +3 -3
  70. package/esm2022/staging/lib/camera-shake.mjs +3 -3
  71. package/esm2022/staging/lib/caustics.mjs +3 -3
  72. package/esm2022/staging/lib/center.mjs +3 -3
  73. package/esm2022/staging/lib/contact-shadows.mjs +3 -3
  74. package/esm2022/staging/lib/environment/environment.mjs +15 -15
  75. package/esm2022/staging/lib/float.mjs +3 -3
  76. package/esm2022/staging/lib/lightformer.mjs +3 -3
  77. package/esm2022/staging/lib/mask.mjs +3 -3
  78. package/esm2022/staging/lib/matcap-texture.mjs +3 -3
  79. package/esm2022/staging/lib/normal-texture.mjs +3 -3
  80. package/esm2022/staging/lib/randomized-lights.mjs +3 -3
  81. package/esm2022/staging/lib/render-texture.mjs +9 -9
  82. package/esm2022/staging/lib/sky.mjs +3 -3
  83. package/esm2022/staging/lib/spot-light.mjs +15 -15
  84. package/esm2022/staging/lib/stage.mjs +6 -6
  85. package/esm2022/stats/lib/stats.mjs +3 -3
  86. package/fesm2022/angular-three-soba-abstractions.mjs +50 -45
  87. package/fesm2022/angular-three-soba-abstractions.mjs.map +1 -1
  88. package/fesm2022/angular-three-soba-cameras.mjs +12 -12
  89. package/fesm2022/angular-three-soba-controls.mjs +15 -15
  90. package/fesm2022/angular-three-soba-gizmos.mjs +45 -45
  91. package/fesm2022/angular-three-soba-loaders.mjs +3 -3
  92. package/fesm2022/angular-three-soba-materials.mjs +21 -21
  93. package/fesm2022/angular-three-soba-materials.mjs.map +1 -1
  94. package/fesm2022/angular-three-soba-misc.mjs +80 -26
  95. package/fesm2022/angular-three-soba-misc.mjs.map +1 -1
  96. package/fesm2022/angular-three-soba-performances.mjs +30 -30
  97. package/fesm2022/angular-three-soba-staging.mjs +90 -90
  98. package/fesm2022/angular-three-soba-stats.mjs +3 -3
  99. package/gizmos/lib/gizmo-helper/gizmo-viewport.d.ts +1 -1
  100. package/gizmos/lib/pivot-controls/axis-arrow.d.ts +1 -1
  101. package/gizmos/lib/pivot-controls/axis-rotator.d.ts +1 -1
  102. package/gizmos/lib/pivot-controls/pivot-controls.d.ts +1 -1
  103. package/gizmos/lib/pivot-controls/plane-slider.d.ts +1 -1
  104. package/gizmos/lib/pivot-controls/scaling-sphere.d.ts +1 -1
  105. package/gizmos/lib/transform-controls.d.ts +2 -2
  106. package/materials/lib/custom-shader-material.d.ts +4 -4
  107. package/materials/lib/mesh-refraction-material.d.ts +2 -2
  108. package/materials/lib/mesh-transmission-material.d.ts +3 -4
  109. package/misc/index.d.ts +1 -0
  110. package/misc/lib/computed-attribute.d.ts +0 -4
  111. package/misc/lib/html/html.d.ts +1 -1
  112. package/misc/lib/preload.d.ts +17 -0
  113. package/package.json +8 -8
  114. package/performances/lib/instances/instances.d.ts +7 -7
  115. package/performances/lib/points/points.d.ts +15 -15
  116. package/performances/lib/segments/segments.d.ts +1 -1
  117. package/shaders/lib/mesh-refraction-material.d.ts +2 -2
  118. package/staging/lib/accumulative-shadows.d.ts +1 -1
  119. package/staging/lib/caustics.d.ts +1 -1
  120. package/staging/lib/center.d.ts +44 -44
  121. package/staging/lib/contact-shadows.d.ts +1 -1
  122. package/staging/lib/lightformer.d.ts +31 -31
  123. package/staging/lib/render-texture.d.ts +1 -1
  124. package/staging/lib/spot-light.d.ts +2 -2
  125. package/staging/lib/stage.d.ts +38 -38
@@ -55,8 +55,8 @@ export class NgtsVolumetricMesh {
55
55
  }
56
56
  });
57
57
  }
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsVolumetricMesh, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", type: NgtsVolumetricMesh, isStandalone: true, selector: "ngts-volumetric-mesh", 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: `
58
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsVolumetricMesh, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsVolumetricMesh, isStandalone: true, selector: "ngts-volumetric-mesh", 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: `
60
60
  <ngt-mesh #mesh [geometry]="geometry()" [raycast]="null">
61
61
  <ngt-primitive *args="[material]" attach="material">
62
62
  <ngt-value attach="uniforms.opacity.value" [rawValue]="opacity()" />
@@ -74,7 +74,7 @@ export class NgtsVolumetricMesh {
74
74
  </ngt-mesh>
75
75
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
76
76
  }
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsVolumetricMesh, decorators: [{
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsVolumetricMesh, decorators: [{
78
78
  type: Component,
79
79
  args: [{
80
80
  selector: 'ngts-volumetric-mesh',
@@ -211,8 +211,8 @@ export class NgtsSpotLightShadowShader {
211
211
  gl.setRenderTarget(null);
212
212
  });
213
213
  }
214
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsSpotLightShadowShader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
215
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", type: NgtsSpotLightShadowShader, isStandalone: true, selector: "ngts-spot-light-shadow-shader", inputs: { shader: { classPropertyName: "shader", publicName: "shader", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "mesh", first: true, predicate: ["mesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
214
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsSpotLightShadowShader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
215
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsSpotLightShadowShader, isStandalone: true, selector: "ngts-spot-light-shadow-shader", inputs: { shader: { classPropertyName: "shader", publicName: "shader", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "mesh", first: true, predicate: ["mesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
216
216
  <ngt-mesh #mesh [scale]="scale()" [castShadow]="true">
217
217
  <ngt-plane-geometry />
218
218
  <ngt-mesh-basic-material
@@ -227,7 +227,7 @@ export class NgtsSpotLightShadowShader {
227
227
  </ngt-mesh>
228
228
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
229
229
  }
230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsSpotLightShadowShader, decorators: [{
230
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsSpotLightShadowShader, decorators: [{
231
231
  type: Component,
232
232
  args: [{
233
233
  selector: 'ngts-spot-light-shadow-shader',
@@ -272,8 +272,8 @@ export class NgtsSpotLightShadowNoShader {
272
272
  extend({ Mesh, PlaneGeometry, MeshBasicMaterial });
273
273
  injectSpotLightCommon(this.spotLight.spotLight, this.mesh, this.width, this.height, this.distance);
274
274
  }
275
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsSpotLightShadowNoShader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
276
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", type: NgtsSpotLightShadowNoShader, isStandalone: true, selector: "ngts-spot-light-shadow-no-shader", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "mesh", first: true, predicate: ["mesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
275
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsSpotLightShadowNoShader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
276
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsSpotLightShadowNoShader, isStandalone: true, selector: "ngts-spot-light-shadow-no-shader", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "mesh", first: true, predicate: ["mesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
277
277
  <ngt-mesh #mesh [scale]="scale()" [castShadow]="true">
278
278
  <ngt-plane-geometry />
279
279
  <ngt-mesh-basic-material
@@ -288,7 +288,7 @@ export class NgtsSpotLightShadowNoShader {
288
288
  </ngt-mesh>
289
289
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
290
290
  }
291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsSpotLightShadowNoShader, decorators: [{
291
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsSpotLightShadowNoShader, decorators: [{
292
292
  type: Component,
293
293
  args: [{
294
294
  selector: 'ngts-spot-light-shadow-no-shader',
@@ -316,8 +316,8 @@ export class NgtsSpotLightShadow {
316
316
  this.shader = input();
317
317
  this.options = input(defaultSpotLightShadowOptions, { transform: mergeInputs(defaultSpotLightShadowOptions) });
318
318
  }
319
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsSpotLightShadow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
320
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.4", type: NgtsSpotLightShadow, isStandalone: true, selector: "ngts-spot-light-shadow", inputs: { shader: { classPropertyName: "shader", publicName: "shader", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
319
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsSpotLightShadow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
320
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: NgtsSpotLightShadow, isStandalone: true, selector: "ngts-spot-light-shadow", inputs: { shader: { classPropertyName: "shader", publicName: "shader", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
321
321
  @if (shader(); as shader) {
322
322
  <ngts-spot-light-shadow-shader [shader]="shader" [options]="options()" />
323
323
  } @else {
@@ -325,7 +325,7 @@ export class NgtsSpotLightShadow {
325
325
  }
326
326
  `, isInline: true, dependencies: [{ kind: "component", type: NgtsSpotLightShadowShader, selector: "ngts-spot-light-shadow-shader", inputs: ["shader", "options"] }, { kind: "component", type: NgtsSpotLightShadowNoShader, selector: "ngts-spot-light-shadow-no-shader", inputs: ["options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
327
327
  }
328
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsSpotLightShadow, decorators: [{
328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsSpotLightShadow, decorators: [{
329
329
  type: Component,
330
330
  args: [{
331
331
  selector: 'ngts-spot-light-shadow',
@@ -388,8 +388,8 @@ export class NgtsSpotLight {
388
388
  this.volumetric = pick(this.options, 'volumetric');
389
389
  extend({ Group, SpotLight });
390
390
  }
391
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsSpotLight, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
392
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.4", type: NgtsSpotLight, isStandalone: true, selector: "ngts-spot-light", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "spotLight", first: true, predicate: ["spotLight"], descendants: true, isSignal: true }], ngImport: i0, template: `
391
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsSpotLight, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
392
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: NgtsSpotLight, isStandalone: true, selector: "ngts-spot-light", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "spotLight", first: true, predicate: ["spotLight"], descendants: true, isSignal: true }], ngImport: i0, template: `
393
393
  <ngt-group>
394
394
  <ngt-spot-light
395
395
  #spotLight
@@ -411,7 +411,7 @@ export class NgtsSpotLight {
411
411
  </ngt-group>
412
412
  `, isInline: true, dependencies: [{ kind: "component", type: NgtsVolumetricMesh, selector: "ngts-volumetric-mesh", inputs: ["options"] }, { kind: "component", type: NgtsHelper, selector: "ngts-helper", inputs: ["type", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
413
413
  }
414
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsSpotLight, decorators: [{
414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsSpotLight, decorators: [{
415
415
  type: Component,
416
416
  args: [{
417
417
  selector: 'ngts-spot-light',
@@ -45,10 +45,10 @@ export class NgtsStageRefit {
45
45
  bounds.refresh().clip().fit();
46
46
  });
47
47
  }
48
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsStageRefit, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
49
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.4", type: NgtsStageRefit, isStandalone: true, selector: "ngts-stage-refit", inputs: { radius: { classPropertyName: "radius", publicName: "radius", isSignal: true, isRequired: true, transformFunction: null }, adjustCamera: { classPropertyName: "adjustCamera", publicName: "adjustCamera", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
48
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsStageRefit, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
49
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.6", type: NgtsStageRefit, isStandalone: true, selector: "ngts-stage-refit", inputs: { radius: { classPropertyName: "radius", publicName: "radius", isSignal: true, isRequired: true, transformFunction: null }, adjustCamera: { classPropertyName: "adjustCamera", publicName: "adjustCamera", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
50
50
  }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsStageRefit, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsStageRefit, decorators: [{
52
52
  type: Directive,
53
53
  args: [{ standalone: true, selector: 'ngts-stage-refit' }]
54
54
  }], ctorParameters: () => [] });
@@ -128,8 +128,8 @@ export class NgtsStage {
128
128
  this.dims.set({ radius: boundingSphere.radius, width, height, depth });
129
129
  this.centered.emit($event);
130
130
  }
131
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsStage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
132
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.4", type: NgtsStage, isStandalone: true, selector: "ngts-stage", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { centered: "centered" }, ngImport: i0, template: `
131
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsStage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
132
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: NgtsStage, isStandalone: true, selector: "ngts-stage", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { centered: "centered" }, ngImport: i0, template: `
133
133
  <ngt-ambient-light [intensity]="intensity() / 3" />
134
134
  <ngt-spot-light
135
135
  [penumbra]="1"
@@ -170,7 +170,7 @@ export class NgtsStage {
170
170
  }
171
171
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtsBounds, selector: "ngts-bounds", inputs: ["options"] }, { kind: "directive", type: NgtsStageRefit, selector: "ngts-stage-refit", inputs: ["radius", "adjustCamera"] }, { kind: "component", type: NgtsCenter, selector: "ngts-center", inputs: ["options"], outputs: ["centered"] }, { kind: "component", type: NgtsContactShadows, selector: "ngts-contact-shadows", inputs: ["options"] }, { kind: "component", type: NgtsAccumulativeShadows, selector: "ngts-accumulative-shadows", inputs: ["options"] }, { kind: "component", type: NgtsEnvironment, selector: "ngts-environment", inputs: ["options"], outputs: ["envSet"] }, { kind: "component", type: NgtsRandomizedLights, selector: "ngts-randomized-lights", inputs: ["options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
172
172
  }
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsStage, decorators: [{
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsStage, decorators: [{
174
174
  type: Component,
175
175
  args: [{
176
176
  selector: 'ngts-stage',
@@ -44,10 +44,10 @@ export class NgtsStats {
44
44
  });
45
45
  });
46
46
  }
47
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsStats, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
48
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.4", type: NgtsStats, isStandalone: true, selector: "ngt-canvas[stats]", inputs: { options: { classPropertyName: "options", publicName: "stats", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsStats, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
48
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.6", type: NgtsStats, isStandalone: true, selector: "ngt-canvas[stats]", inputs: { options: { classPropertyName: "options", publicName: "stats", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
49
49
  }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsStats, decorators: [{
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsStats, decorators: [{
51
51
  type: Directive,
52
52
  args: [{
53
53
  selector: 'ngt-canvas[stats]',
@@ -48,8 +48,8 @@ class NgtsBillboard {
48
48
  group.rotation.z = prevRotation.z;
49
49
  });
50
50
  }
51
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsBillboard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
52
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", 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: `
51
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsBillboard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
52
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.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: `
53
53
  <ngt-group #group [parameters]="parameters()">
54
54
  <ngt-group #inner>
55
55
  <ng-content />
@@ -57,7 +57,7 @@ class NgtsBillboard {
57
57
  </ngt-group>
58
58
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
59
59
  }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsBillboard, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsBillboard, decorators: [{
61
61
  type: Component,
62
62
  args: [{
63
63
  selector: 'ngts-billboard',
@@ -144,8 +144,8 @@ class NgtsLine {
144
144
  });
145
145
  });
146
146
  }
147
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
148
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", 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: `
147
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
148
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.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: `
149
149
  <ngt-primitive *args="[line2()]" #line [parameters]="parameters()">
150
150
  <ngt-primitive *args="[lineGeometry()]" attach="geometry" (attached)="onGeometryAttached($any($event))" />
151
151
  <ngt-primitive
@@ -163,7 +163,7 @@ class NgtsLine {
163
163
  </ngt-primitive>
164
164
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
165
165
  }
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsLine, decorators: [{
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsLine, decorators: [{
167
167
  type: Component,
168
168
  args: [{
169
169
  selector: 'ngts-line',
@@ -239,14 +239,14 @@ class NgtsCatmullRomLine {
239
239
  });
240
240
  this.lineOptions = computed(() => ({ ...this.parameters(), vertexColors: this.interpolatedVertexColors() }));
241
241
  }
242
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsCatmullRomLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
243
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", 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: `
242
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsCatmullRomLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
243
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.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: `
244
244
  <ngts-line [points]="segmentedPoints()" [options]="lineOptions()">
245
245
  <ng-content />
246
246
  </ngts-line>
247
247
  `, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
248
248
  }
249
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsCatmullRomLine, decorators: [{
249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsCatmullRomLine, decorators: [{
250
250
  type: Component,
251
251
  args: [{
252
252
  selector: 'ngts-catmull-rom-line',
@@ -284,14 +284,14 @@ class NgtsCubicBezierLine {
284
284
  return new CubicBezierCurve3(startV, midAV, midBV, endV).getPoints(segments);
285
285
  });
286
286
  }
287
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsCubicBezierLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
288
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", 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: `
287
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsCubicBezierLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
288
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.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: `
289
289
  <ngts-line [points]="points()" [options]="parameters()">
290
290
  <ng-content />
291
291
  </ngts-line>
292
292
  `, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
293
293
  }
294
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsCubicBezierLine, decorators: [{
294
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsCubicBezierLine, decorators: [{
295
295
  type: Component,
296
296
  args: [{
297
297
  selector: 'ngts-cubic-bezier-line',
@@ -344,14 +344,14 @@ class NgtsEdges {
344
344
  line.computeLineDistances();
345
345
  });
346
346
  }
347
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsEdges, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
348
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", 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: `
347
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsEdges, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
348
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.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: `
349
349
  <ngts-line [points]="tmpPoints" [options]="lineOptions()">
350
350
  <ng-content />
351
351
  </ngts-line>
352
352
  `, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
353
353
  }
354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsEdges, decorators: [{
354
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsEdges, decorators: [{
355
355
  type: Component,
356
356
  args: [{
357
357
  selector: 'ngts-edges',
@@ -418,8 +418,8 @@ class NgtsGradientTexture {
418
418
  });
419
419
  extend({ CanvasTexture });
420
420
  }
421
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsGradientTexture, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
422
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.4", 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: `
421
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsGradientTexture, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
422
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.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: `
423
423
  <ngt-canvas-texture
424
424
  *args="[canvas()]"
425
425
  [attach]="attach()"
@@ -430,7 +430,7 @@ class NgtsGradientTexture {
430
430
  </ngt-canvas-texture>
431
431
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
432
432
  }
433
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsGradientTexture, decorators: [{
433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsGradientTexture, decorators: [{
434
434
  type: Component,
435
435
  args: [{
436
436
  selector: 'ngts-gradient-texture',
@@ -517,8 +517,8 @@ class NgtsGrid {
517
517
  worldPlanePosition.value.set(0, 0, 0).applyMatrix4(mesh.matrixWorld);
518
518
  });
519
519
  }
520
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsGrid, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
521
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", 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: `
520
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsGrid, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
521
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.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: `
522
522
  <ngt-mesh #mesh [frustumCulled]="false" [parameters]="parameters()">
523
523
  <ngt-plane-geometry *args="planeArgs()" />
524
524
  <ngt-grid-material [transparent]="true" [side]="side()" [parameters]="uniforms()">
@@ -528,7 +528,7 @@ class NgtsGrid {
528
528
  </ngt-mesh>
529
529
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
530
530
  }
531
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsGrid, decorators: [{
531
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsGrid, decorators: [{
532
532
  type: Component,
533
533
  args: [{
534
534
  selector: 'ngts-grid',
@@ -599,12 +599,12 @@ class NgtsHelper {
599
599
  this.helper = injectHelper(this.parent, this.type, { args: this.options });
600
600
  extend({ Object3D });
601
601
  }
602
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsHelper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
603
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", 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: `
602
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsHelper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
603
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.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: `
604
604
  <ngt-object3D #helper />
605
605
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
606
606
  }
607
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsHelper, decorators: [{
607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsHelper, decorators: [{
608
608
  type: Component,
609
609
  args: [{
610
610
  standalone: true,
@@ -635,14 +635,14 @@ class NgtsPrismGeometry {
635
635
  this.geometryRef = viewChild('geometry');
636
636
  extend({ ExtrudeGeometry });
637
637
  }
638
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsPrismGeometry, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
639
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", 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: `
638
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsPrismGeometry, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
639
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.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: `
640
640
  <ngt-extrude-geometry #geometry *args="[shape(), parameters()]" [attach]="attach()">
641
641
  <ng-content />
642
642
  </ngt-extrude-geometry>
643
643
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
644
644
  }
645
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsPrismGeometry, decorators: [{
645
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsPrismGeometry, decorators: [{
646
646
  type: Component,
647
647
  args: [{
648
648
  selector: 'ngts-prism-geometry',
@@ -703,14 +703,14 @@ class NgtsQuadraticBezierLine {
703
703
  }
704
704
  return this.curve.getPoints(segments);
705
705
  }
706
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsQuadraticBezierLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
707
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", 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: `
706
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsQuadraticBezierLine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
707
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.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: `
708
708
  <ngts-line [points]="points()" [options]="parameters()">
709
709
  <ng-content />
710
710
  </ngts-line>
711
711
  `, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line", inputs: ["points", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
712
712
  }
713
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsQuadraticBezierLine, decorators: [{
713
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsQuadraticBezierLine, decorators: [{
714
714
  type: Component,
715
715
  args: [{
716
716
  selector: 'ngts-quadratic-bezier-line',
@@ -799,15 +799,15 @@ class NgtsRoundedBox {
799
799
  toCreasedNormals(geometry, untracked(this.creaseAngle));
800
800
  });
801
801
  }
802
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsRoundedBox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
803
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", 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 }], ngImport: i0, template: `
802
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsRoundedBox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
803
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.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 }], ngImport: i0, template: `
804
804
  <ngt-mesh #mesh [parameters]="parameters()">
805
805
  <ngt-extrude-geometry #geometry *args="[shape(), params()]" />
806
806
  <ng-content />
807
807
  </ngt-mesh>
808
808
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
809
809
  }
810
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsRoundedBox, decorators: [{
810
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsRoundedBox, decorators: [{
811
811
  type: Component,
812
812
  args: [{
813
813
  selector: 'ngts-rounded-box',
@@ -862,8 +862,8 @@ class NgtsText {
862
862
  });
863
863
  });
864
864
  }
865
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsText, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
866
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.4", 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" }, ngImport: i0, template: `
865
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsText, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
866
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.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" }, ngImport: i0, template: `
867
867
  <ngt-primitive
868
868
  *args="[troikaMesh]"
869
869
  [text]="text()"
@@ -878,7 +878,7 @@ class NgtsText {
878
878
  </ngt-primitive>
879
879
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
880
880
  }
881
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsText, decorators: [{
881
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsText, decorators: [{
882
882
  type: Component,
883
883
  args: [{
884
884
  selector: 'ngts-text',
@@ -933,7 +933,8 @@ class NgtsText3D {
933
933
  'curveSegments',
934
934
  'smooth',
935
935
  ]);
936
- this.meshRef = viewChild('mesh');
936
+ this.meshRef = viewChild.required('mesh');
937
+ this.textGeometryRef = viewChild('textGeometry');
937
938
  this.loadedFont = injectFont(this.font);
938
939
  this.smooth = pick(this.options, 'smooth');
939
940
  this.textOptions = pick(this.options, [
@@ -956,32 +957,36 @@ class NgtsText3D {
956
957
  });
957
958
  extend({ Mesh, TextGeometry });
958
959
  effect(() => {
959
- const [mesh, textArgs] = [this.meshRef()?.nativeElement, this.textArgs()];
960
- if (!textArgs || !mesh)
960
+ const [mesh, textGeometry, textArgs] = [
961
+ this.meshRef()?.nativeElement,
962
+ this.textGeometryRef()?.nativeElement,
963
+ this.textArgs(),
964
+ ];
965
+ if (!textArgs || !textGeometry || !mesh)
961
966
  return;
962
967
  const smooth = this.smooth();
963
968
  if (smooth) {
964
- mesh.geometry = mergeVertices(mesh.geometry, smooth);
969
+ mesh.geometry = mergeVertices(textGeometry, smooth);
965
970
  mesh.geometry.computeVertexNormals();
966
971
  }
967
972
  });
968
973
  }
969
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsText3D, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
970
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.4", type: NgtsText3D, isStandalone: true, selector: "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 }], ngImport: i0, template: `
974
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsText3D, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
975
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: NgtsText3D, isStandalone: true, selector: "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: `
971
976
  <ngt-mesh #mesh [parameters]="parameters()">
972
- <ngt-text-geometry *args="textArgs()" />
977
+ <ngt-text-geometry #textGeometry *args="textArgs()" />
973
978
  <ng-content />
974
979
  </ngt-mesh>
975
980
  `, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
976
981
  }
977
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.4", ngImport: i0, type: NgtsText3D, decorators: [{
982
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: NgtsText3D, decorators: [{
978
983
  type: Component,
979
984
  args: [{
980
985
  selector: 'ngts-text-3d',
981
986
  standalone: true,
982
987
  template: `
983
988
  <ngt-mesh #mesh [parameters]="parameters()">
984
- <ngt-text-geometry *args="textArgs()" />
989
+ <ngt-text-geometry #textGeometry *args="textArgs()" />
985
990
  <ng-content />
986
991
  </ngt-mesh>
987
992
  `,