angular-three-soba 1.9.3 → 1.11.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.
- package/abstractions/index.d.ts +1 -0
- package/abstractions/lib/edges/edges.d.ts +18 -0
- package/cameras/index.d.ts +1 -0
- package/cameras/lib/camera/camera-content.d.ts +1 -1
- package/cameras/lib/cube-camera/cube-camera.d.ts +27 -0
- package/esm2020/abstractions/index.mjs +2 -1
- package/esm2020/abstractions/lib/billboard/billboard.mjs +3 -3
- package/esm2020/abstractions/lib/catmull-rom-line/catmull-rom-line.mjs +3 -3
- package/esm2020/abstractions/lib/cubic-bezier-line/cubic-bezier-line.mjs +3 -3
- package/esm2020/abstractions/lib/edges/edges.mjs +95 -0
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-helper.mjs +6 -6
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.mjs +3 -3
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.mjs +6 -6
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-inputs.mjs +3 -3
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube.mjs +3 -3
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.mjs +6 -6
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport.mjs +3 -3
- package/esm2020/abstractions/lib/line/line-input.mjs +3 -3
- package/esm2020/abstractions/lib/line/line.mjs +3 -3
- package/esm2020/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.mjs +3 -3
- package/esm2020/abstractions/lib/text/text.mjs +3 -3
- package/esm2020/abstractions/lib/text-3d/text-3d.mjs +3 -3
- package/esm2020/cameras/index.mjs +2 -1
- package/esm2020/cameras/lib/camera/camera-content.mjs +4 -4
- package/esm2020/cameras/lib/camera/camera.mjs +3 -3
- package/esm2020/cameras/lib/cube-camera/cube-camera.mjs +130 -0
- package/esm2020/cameras/lib/orthographic-camera/orthographic-camera.mjs +3 -3
- package/esm2020/cameras/lib/perspective-camera/perspective-camera.mjs +3 -3
- package/esm2020/controls/lib/orbit-controls/orbit-controls.mjs +3 -3
- package/esm2020/loaders/lib/loader/loader.mjs +3 -3
- package/esm2020/materials/index.mjs +3 -1
- package/esm2020/materials/lib/mesh-distort-material/mesh-distort-material.mjs +3 -3
- package/esm2020/materials/lib/mesh-reflector-material/mesh-reflector-material.mjs +3 -3
- package/esm2020/materials/lib/mesh-refraction-material/mesh-refraction-material.mjs +157 -0
- package/esm2020/materials/lib/mesh-transmission-material/mesh-transmission-material.mjs +240 -0
- package/esm2020/materials/lib/mesh-wobble-material/mesh-wobble-material.mjs +3 -3
- package/esm2020/misc/lib/bake-shadows/bake-shadows.mjs +3 -3
- package/esm2020/misc/lib/fbo/fbo.mjs +5 -4
- package/esm2020/performance/lib/adaptive/adaptive-dpr.mjs +3 -3
- package/esm2020/performance/lib/adaptive/adaptive-events.mjs +3 -3
- package/esm2020/performance/lib/detailed/detailed.mjs +3 -3
- package/esm2020/performance/lib/stats/stats.mjs +3 -3
- package/esm2020/shaders/index.mjs +6 -1
- package/esm2020/shaders/lib/caustics-material/caustics-material.mjs +128 -0
- package/esm2020/shaders/lib/caustics-projection-material/caustics-projection-material.mjs +33 -0
- package/esm2020/shaders/lib/discard-material/discard-material.mjs +3 -0
- package/esm2020/shaders/lib/mesh-refraction-material/mesh-refraction-material.mjs +169 -0
- package/esm2020/shaders/lib/mesh-transmission-material/mesh-transmission-material.mjs +268 -0
- package/esm2020/staging/index.mjs +2 -1
- package/esm2020/staging/lib/accumulative-shadows/accumulative-shadows.mjs +6 -6
- package/esm2020/staging/lib/accumulative-shadows/progressive-light-map.mjs +2 -3
- package/esm2020/staging/lib/accumulative-shadows/randomized-lights.mjs +6 -6
- package/esm2020/staging/lib/bounds/bounds.mjs +3 -3
- package/esm2020/staging/lib/camera-shake/camera-shake.mjs +3 -3
- package/esm2020/staging/lib/caustics/caustics.mjs +364 -0
- package/esm2020/staging/lib/center/center.mjs +3 -3
- package/esm2020/staging/lib/cloud/cloud.mjs +3 -3
- package/esm2020/staging/lib/contact-shadows/contact-shadows.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-cube.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-ground.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-inputs.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-map.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-portal.mjs +3 -3
- package/esm2020/staging/lib/environment/environment.mjs +6 -6
- package/esm2020/staging/lib/float/float.mjs +3 -3
- package/esm2020/staging/lib/sky/sky.mjs +3 -3
- package/esm2020/staging/lib/sparkles/sparkles.mjs +3 -3
- package/esm2020/staging/lib/spot-light/shadow-mesh-input.mjs +3 -3
- package/esm2020/staging/lib/spot-light/spot-light-input.mjs +3 -3
- package/esm2020/staging/lib/spot-light/spot-light-shadow-no-shader.mjs +3 -3
- package/esm2020/staging/lib/spot-light/spot-light-shadow-shader.mjs +3 -3
- package/esm2020/staging/lib/spot-light/spot-light-shadow.mjs +3 -3
- package/esm2020/staging/lib/spot-light/spot-light.mjs +3 -3
- package/esm2020/staging/lib/spot-light/volumetric-mesh.mjs +3 -3
- package/esm2020/staging/lib/stage/stage.mjs +6 -6
- package/esm2020/staging/lib/stars/stars.mjs +3 -3
- package/fesm2015/angular-three-soba-abstractions.mjs +145 -56
- package/fesm2015/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2015/angular-three-soba-cameras.mjs +139 -16
- package/fesm2015/angular-three-soba-cameras.mjs.map +1 -1
- package/fesm2015/angular-three-soba-controls.mjs +3 -3
- package/fesm2015/angular-three-soba-loaders.mjs +3 -3
- package/fesm2015/angular-three-soba-materials.mjs +398 -11
- package/fesm2015/angular-three-soba-materials.mjs.map +1 -1
- package/fesm2015/angular-three-soba-misc.mjs +7 -6
- package/fesm2015/angular-three-soba-misc.mjs.map +1 -1
- package/fesm2015/angular-three-soba-performance.mjs +12 -12
- package/fesm2015/angular-three-soba-shaders.mjs +619 -31
- package/fesm2015/angular-three-soba-shaders.mjs.map +1 -1
- package/fesm2015/angular-three-soba-staging.mjs +450 -96
- package/fesm2015/angular-three-soba-staging.mjs.map +1 -1
- package/fesm2020/angular-three-soba-abstractions.mjs +145 -56
- package/fesm2020/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2020/angular-three-soba-cameras.mjs +139 -16
- package/fesm2020/angular-three-soba-cameras.mjs.map +1 -1
- package/fesm2020/angular-three-soba-controls.mjs +3 -3
- package/fesm2020/angular-three-soba-loaders.mjs +3 -3
- package/fesm2020/angular-three-soba-materials.mjs +396 -11
- package/fesm2020/angular-three-soba-materials.mjs.map +1 -1
- package/fesm2020/angular-three-soba-misc.mjs +7 -6
- package/fesm2020/angular-three-soba-misc.mjs.map +1 -1
- package/fesm2020/angular-three-soba-performance.mjs +12 -12
- package/fesm2020/angular-three-soba-shaders.mjs +625 -34
- package/fesm2020/angular-three-soba-shaders.mjs.map +1 -1
- package/fesm2020/angular-three-soba-staging.mjs +449 -96
- package/fesm2020/angular-three-soba-staging.mjs.map +1 -1
- package/materials/index.d.ts +2 -0
- package/materials/lib/mesh-refraction-material/mesh-refraction-material.d.ts +28 -0
- package/materials/lib/mesh-transmission-material/mesh-transmission-material.d.ts +47 -0
- package/misc/lib/fbo/fbo.d.ts +8 -6
- package/package.json +4 -3
- package/plugin/package.json +1 -1
- package/shaders/index.d.ts +5 -0
- package/shaders/lib/caustics-material/caustics-material.d.ts +4 -0
- package/shaders/lib/caustics-projection-material/caustics-projection-material.d.ts +4 -0
- package/shaders/lib/discard-material/discard-material.d.ts +3 -0
- package/shaders/lib/mesh-refraction-material/mesh-refraction-material.d.ts +4 -0
- package/shaders/lib/mesh-transmission-material/mesh-transmission-material.d.ts +25 -0
- package/staging/index.d.ts +1 -0
- package/staging/lib/caustics/caustics.d.ts +48 -0
- package/staging/lib/environment/environment-cube.d.ts +1 -1
- package/staging/lib/environment/environment-ground.d.ts +1 -1
- package/staging/lib/environment/utils.d.ts +1 -1
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Directive, inject, InjectionToken, EventEmitter, TemplateRef, Output, ContentChild } from '@angular/core';
|
|
3
3
|
import { extend, NgtRxStore, injectNgtRef, NgtStore, startWithUndefined, NgtArgs, NgtPortal, NgtPortalContent, NgtRepeat, NgtPush } from 'angular-three';
|
|
4
4
|
import * as THREE from 'three';
|
|
5
|
-
import { Group, CatmullRomCurve3, Vector3, Quaternion, Object3D, Matrix4, Mesh, BoxGeometry, MeshBasicMaterial, MeshLambertMaterial, CanvasTexture, AmbientLight, PointLight, Sprite, SpriteMaterial } from 'three';
|
|
5
|
+
import { Group, CatmullRomCurve3, LineSegments, LineBasicMaterial, Vector3, Quaternion, Object3D, Matrix4, Mesh, BoxGeometry, MeshBasicMaterial, MeshLambertMaterial, CanvasTexture, AmbientLight, PointLight, Sprite, SpriteMaterial } from 'three';
|
|
6
6
|
import { combineLatest, map, switchMap, of } from 'rxjs';
|
|
7
7
|
import { LineMaterial, LineSegmentsGeometry, LineGeometry, LineSegments2, Line2, TextGeometry, FontLoader } from 'three-stdlib';
|
|
8
8
|
import { NgIf, NgTemplateOutlet, DOCUMENT, NgFor } from '@angular/common';
|
|
@@ -50,13 +50,13 @@ class NgtsBillboard extends NgtRxStore {
|
|
|
50
50
|
object.rotation.z = prevRotation.z;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
NgtsBillboard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
54
|
-
NgtsBillboard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
53
|
+
NgtsBillboard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsBillboard, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
NgtsBillboard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsBillboard, isStandalone: true, selector: "ngts-billboard", inputs: { billboardRef: "billboardRef", follow: "follow", lockX: "lockX", lockY: "lockY", lockZ: "lockZ" }, usesInheritance: true, ngImport: i0, template: `
|
|
55
55
|
<ngt-group ngtCompound [ref]="billboardRef" (beforeRender)="onBeforeRender($any($event))">
|
|
56
56
|
<ng-content />
|
|
57
57
|
</ngt-group>
|
|
58
58
|
`, isInline: true });
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsBillboard, decorators: [{
|
|
60
60
|
type: Component,
|
|
61
61
|
args: [{
|
|
62
62
|
selector: 'ngts-billboard',
|
|
@@ -122,9 +122,9 @@ class NgtsLineInput extends NgtRxStore {
|
|
|
122
122
|
this.set({ color: 'black' });
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
NgtsLineInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
126
|
-
NgtsLineInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
125
|
+
NgtsLineInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsLineInput, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
126
|
+
NgtsLineInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0", type: NgtsLineInput, inputs: { vertexColors: "vertexColors", lineWidth: "lineWidth", alphaToCoverage: "alphaToCoverage", color: "color", dashed: "dashed", dashScale: "dashScale", dashSize: "dashSize", dashOffset: "dashOffset", gapSize: "gapSize", resolution: "resolution", wireframe: "wireframe", worldUnits: "worldUnits" }, usesInheritance: true, ngImport: i0 });
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsLineInput, decorators: [{
|
|
128
128
|
type: Directive
|
|
129
129
|
}], propDecorators: { vertexColors: [{
|
|
130
130
|
type: Input
|
|
@@ -210,8 +210,8 @@ class NgtsLine extends NgtsLineInput {
|
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
NgtsLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
214
|
-
NgtsLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
213
|
+
NgtsLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsLine, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
214
|
+
NgtsLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsLine, isStandalone: true, selector: "ngts-line[points]", inputs: { lineRef: "lineRef", points: "points", segments: "segments" }, usesInheritance: true, ngImport: i0, template: `
|
|
215
215
|
<ngt-primitive *args="[line]" [ref]="lineRef" ngtCompound>
|
|
216
216
|
<ngt-primitive
|
|
217
217
|
*args="[get('lineGeometry')]"
|
|
@@ -236,7 +236,7 @@ NgtsLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
|
236
236
|
/>
|
|
237
237
|
</ngt-primitive>
|
|
238
238
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsLine, decorators: [{
|
|
240
240
|
type: Component,
|
|
241
241
|
args: [{
|
|
242
242
|
selector: 'ngts-line[points]',
|
|
@@ -329,8 +329,8 @@ class NgtsCatmullRomLine extends NgtsLineInput {
|
|
|
329
329
|
})));
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
|
-
NgtsCatmullRomLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
333
|
-
NgtsCatmullRomLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
332
|
+
NgtsCatmullRomLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsCatmullRomLine, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
333
|
+
NgtsCatmullRomLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsCatmullRomLine, isStandalone: true, selector: "ngts-catmull-rom-line[points]", inputs: { lineRef: "lineRef", points: "points", closed: "closed", curveType: "curveType", tension: "tension", segments: "segments" }, usesInheritance: true, ngImport: i0, template: `
|
|
334
334
|
<ngts-line
|
|
335
335
|
[lineRef]="lineRef"
|
|
336
336
|
[points]="get('segmentedPoints')"
|
|
@@ -348,7 +348,7 @@ NgtsCatmullRomLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
348
348
|
[worldUnits]="get('worldUnits')"
|
|
349
349
|
/>
|
|
350
350
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line[points]", inputs: ["lineRef", "points", "segments"] }] });
|
|
351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsCatmullRomLine, decorators: [{
|
|
352
352
|
type: Component,
|
|
353
353
|
args: [{
|
|
354
354
|
selector: 'ngts-catmull-rom-line[points]',
|
|
@@ -420,8 +420,8 @@ class NgtsCubicBezierLine extends NgtsLineInput {
|
|
|
420
420
|
}));
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
NgtsCubicBezierLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
424
|
-
NgtsCubicBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
423
|
+
NgtsCubicBezierLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsCubicBezierLine, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
424
|
+
NgtsCubicBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsCubicBezierLine, isStandalone: true, selector: "ngts-cubic-bezier-line[start][end][midA][midB]", inputs: { lineRef: "lineRef", start: "start", end: "end", midA: "midA", midB: "midB", segments: "segments" }, usesInheritance: true, ngImport: i0, template: `
|
|
425
425
|
<ngts-line
|
|
426
426
|
[lineRef]="lineRef"
|
|
427
427
|
[points]="get('points')"
|
|
@@ -439,7 +439,7 @@ NgtsCubicBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
439
439
|
[worldUnits]="get('worldUnits')"
|
|
440
440
|
/>
|
|
441
441
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line[points]", inputs: ["lineRef", "points", "segments"] }] });
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsCubicBezierLine, decorators: [{
|
|
443
443
|
type: Component,
|
|
444
444
|
args: [{
|
|
445
445
|
selector: 'ngts-cubic-bezier-line[start][end][midA][midB]',
|
|
@@ -479,6 +479,95 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
|
|
|
479
479
|
type: Input
|
|
480
480
|
}] } });
|
|
481
481
|
|
|
482
|
+
extend({ LineSegments, LineBasicMaterial });
|
|
483
|
+
class NgtsEdges extends NgtRxStore {
|
|
484
|
+
constructor() {
|
|
485
|
+
super(...arguments);
|
|
486
|
+
this.edgesRef = injectNgtRef();
|
|
487
|
+
this.withChildren = false;
|
|
488
|
+
this.noop = () => null;
|
|
489
|
+
}
|
|
490
|
+
set threshold(threshold) {
|
|
491
|
+
this.set({ threshold });
|
|
492
|
+
}
|
|
493
|
+
set color(color) {
|
|
494
|
+
this.set({ color });
|
|
495
|
+
}
|
|
496
|
+
set geometry(geometry) {
|
|
497
|
+
this.set({ geometry });
|
|
498
|
+
}
|
|
499
|
+
set userData(userData) {
|
|
500
|
+
this.set({ userData });
|
|
501
|
+
}
|
|
502
|
+
initialize() {
|
|
503
|
+
super.initialize();
|
|
504
|
+
this.set({
|
|
505
|
+
threshold: 15,
|
|
506
|
+
color: 'black',
|
|
507
|
+
userData: {},
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
ngOnInit() {
|
|
511
|
+
this.setupGeometry();
|
|
512
|
+
}
|
|
513
|
+
setupGeometry() {
|
|
514
|
+
this.hold(this.edgesRef.$, (segments) => {
|
|
515
|
+
const parent = segments.parent;
|
|
516
|
+
if (parent) {
|
|
517
|
+
const geom = this.get('geometry') || parent.geometry;
|
|
518
|
+
const threshold = this.get('threshold');
|
|
519
|
+
if (geom !== segments.userData['currentGeom'] || threshold !== segments.userData['currentThreshold']) {
|
|
520
|
+
segments.userData['currentGeom'] = geom;
|
|
521
|
+
segments.userData['currentThreshold'] = threshold;
|
|
522
|
+
segments.geometry = new THREE.EdgesGeometry(geom, threshold);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
NgtsEdges.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsEdges, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
529
|
+
NgtsEdges.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsEdges, isStandalone: true, selector: "ngts-edges", inputs: { edgesRef: "edgesRef", threshold: "threshold", color: "color", geometry: "geometry", userData: "userData", withChildren: "withChildren" }, usesInheritance: true, ngImport: i0, template: `
|
|
530
|
+
<ngt-line-segments [ref]="edgesRef" [raycast]="noop" ngtCompound>
|
|
531
|
+
<ng-container *ngIf="withChildren; else noChildren">
|
|
532
|
+
<ng-content />
|
|
533
|
+
</ng-container>
|
|
534
|
+
<ng-template #noChildren>
|
|
535
|
+
<ngt-line-basic-material [color]="color" />
|
|
536
|
+
</ng-template>
|
|
537
|
+
</ngt-line-segments>
|
|
538
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsEdges, decorators: [{
|
|
540
|
+
type: Component,
|
|
541
|
+
args: [{
|
|
542
|
+
selector: 'ngts-edges',
|
|
543
|
+
standalone: true,
|
|
544
|
+
template: `
|
|
545
|
+
<ngt-line-segments [ref]="edgesRef" [raycast]="noop" ngtCompound>
|
|
546
|
+
<ng-container *ngIf="withChildren; else noChildren">
|
|
547
|
+
<ng-content />
|
|
548
|
+
</ng-container>
|
|
549
|
+
<ng-template #noChildren>
|
|
550
|
+
<ngt-line-basic-material [color]="color" />
|
|
551
|
+
</ng-template>
|
|
552
|
+
</ngt-line-segments>
|
|
553
|
+
`,
|
|
554
|
+
imports: [NgIf],
|
|
555
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
556
|
+
}]
|
|
557
|
+
}], propDecorators: { edgesRef: [{
|
|
558
|
+
type: Input
|
|
559
|
+
}], threshold: [{
|
|
560
|
+
type: Input
|
|
561
|
+
}], color: [{
|
|
562
|
+
type: Input
|
|
563
|
+
}], geometry: [{
|
|
564
|
+
type: Input
|
|
565
|
+
}], userData: [{
|
|
566
|
+
type: Input
|
|
567
|
+
}], withChildren: [{
|
|
568
|
+
type: Input
|
|
569
|
+
}] } });
|
|
570
|
+
|
|
482
571
|
const isOrbitControls = (controls) => {
|
|
483
572
|
return 'minPolarAngle' in controls;
|
|
484
573
|
};
|
|
@@ -506,9 +595,9 @@ function gizmoHelperApiFactory(gizmo) {
|
|
|
506
595
|
extend({ Group });
|
|
507
596
|
class NgtsGizmoHelperContent {
|
|
508
597
|
}
|
|
509
|
-
NgtsGizmoHelperContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
510
|
-
NgtsGizmoHelperContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
598
|
+
NgtsGizmoHelperContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoHelperContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
599
|
+
NgtsGizmoHelperContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0", type: NgtsGizmoHelperContent, isStandalone: true, selector: "ng-template[ngtsGizmoHelperContent]", ngImport: i0 });
|
|
600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoHelperContent, decorators: [{
|
|
512
601
|
type: Directive,
|
|
513
602
|
args: [{
|
|
514
603
|
selector: 'ng-template[ngtsGizmoHelperContent]',
|
|
@@ -616,8 +705,8 @@ class NgtsGizmoHelper extends NgtRxStore {
|
|
|
616
705
|
});
|
|
617
706
|
}
|
|
618
707
|
}
|
|
619
|
-
NgtsGizmoHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
620
|
-
NgtsGizmoHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
708
|
+
NgtsGizmoHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoHelper, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
709
|
+
NgtsGizmoHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsGizmoHelper, isStandalone: true, selector: "ngts-gizmo-helper", inputs: { alignment: "alignment", margin: "margin", renderPriority: "renderPriority", autoClear: "autoClear" }, outputs: { updated: "updated" }, providers: [{ provide: NGTS_GIZMO_HELPER_API, useFactory: gizmoHelperApiFactory, deps: [NgtsGizmoHelper] }], queries: [{ propertyName: "gizmoHelperContent", first: true, predicate: NgtsGizmoHelperContent, descendants: true, read: TemplateRef, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
621
710
|
<ngt-portal [renderPriority]="get('renderPriority')">
|
|
622
711
|
<ng-template ngtPortalContent>
|
|
623
712
|
<ngts-orthographic-camera
|
|
@@ -635,7 +724,7 @@ NgtsGizmoHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
635
724
|
</ng-template>
|
|
636
725
|
</ngt-portal>
|
|
637
726
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtPortal, selector: "ngt-portal", inputs: ["container", "state", "autoRender", "autoRenderPriority"], outputs: ["beforeRender"] }, { kind: "directive", type: NgtPortalContent, selector: "ng-template[ngtPortalContent]" }, { kind: "component", type: NgtsOrthographicCamera, selector: "ngts-orthographic-camera", inputs: ["left", "right", "top", "bottom"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoHelper, decorators: [{
|
|
639
728
|
type: Component,
|
|
640
729
|
args: [{
|
|
641
730
|
selector: 'ngts-gizmo-helper',
|
|
@@ -731,9 +820,9 @@ class NgtsGizmoViewcubeInputs extends NgtRxStore {
|
|
|
731
820
|
this.set({ clickEmitter });
|
|
732
821
|
}
|
|
733
822
|
}
|
|
734
|
-
NgtsGizmoViewcubeInputs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
735
|
-
NgtsGizmoViewcubeInputs.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
823
|
+
NgtsGizmoViewcubeInputs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewcubeInputs, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
824
|
+
NgtsGizmoViewcubeInputs.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0", type: NgtsGizmoViewcubeInputs, inputs: { opacity: "opacity", hoverColor: "hoverColor", textColor: "textColor", strokeColor: "strokeColor", faces: "faces", clickEmitter: "clickEmitter" }, usesInheritance: true, ngImport: i0 });
|
|
825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewcubeInputs, decorators: [{
|
|
737
826
|
type: Directive
|
|
738
827
|
}], propDecorators: { opacity: [{
|
|
739
828
|
type: Input
|
|
@@ -784,8 +873,8 @@ class NgtsGizmoViewcubeEdgeCube extends NgtsGizmoViewcubeInputs {
|
|
|
784
873
|
}
|
|
785
874
|
}
|
|
786
875
|
}
|
|
787
|
-
NgtsGizmoViewcubeEdgeCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
788
|
-
NgtsGizmoViewcubeEdgeCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
876
|
+
NgtsGizmoViewcubeEdgeCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewcubeEdgeCube, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
877
|
+
NgtsGizmoViewcubeEdgeCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsGizmoViewcubeEdgeCube, isStandalone: true, selector: "ngts-gizmo-viewcube-edge-cube[dimensions][position]", inputs: { dimensions: "dimensions", position: "position" }, usesInheritance: true, ngImport: i0, template: `
|
|
789
878
|
<ngt-mesh
|
|
790
879
|
[scale]="1.01"
|
|
791
880
|
[position]="get('position')"
|
|
@@ -802,7 +891,7 @@ NgtsGizmoViewcubeEdgeCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
802
891
|
/>
|
|
803
892
|
</ngt-mesh>
|
|
804
893
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
805
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewcubeEdgeCube, decorators: [{
|
|
806
895
|
type: Component,
|
|
807
896
|
args: [{
|
|
808
897
|
selector: 'ngts-gizmo-viewcube-edge-cube[dimensions][position]',
|
|
@@ -879,8 +968,8 @@ class NgtsGizmoViewcubeFaceMaterial extends NgtsGizmoViewcubeInputs {
|
|
|
879
968
|
}));
|
|
880
969
|
}
|
|
881
970
|
}
|
|
882
|
-
NgtsGizmoViewcubeFaceMaterial.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
883
|
-
NgtsGizmoViewcubeFaceMaterial.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
971
|
+
NgtsGizmoViewcubeFaceMaterial.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewcubeFaceMaterial, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
972
|
+
NgtsGizmoViewcubeFaceMaterial.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsGizmoViewcubeFaceMaterial, isStandalone: true, selector: "ngts-gizmo-viewcube-face-material[hover][index]", inputs: { index: "index", hover: "hover", font: "font", color: "color" }, usesInheritance: true, ngImport: i0, template: `
|
|
884
973
|
<ngt-mesh-lambert-material
|
|
885
974
|
[attach]="['material', get('index')]"
|
|
886
975
|
[map]="get('texture')"
|
|
@@ -892,7 +981,7 @@ NgtsGizmoViewcubeFaceMaterial.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
892
981
|
<ngt-value [rawValue]="store.get('gl').capabilities.getMaxAnisotropy() || 1" attach="map.anisotrophy" />
|
|
893
982
|
</ngt-mesh-lambert-material>
|
|
894
983
|
`, isInline: true });
|
|
895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewcubeFaceMaterial, decorators: [{
|
|
896
985
|
type: Component,
|
|
897
986
|
args: [{
|
|
898
987
|
selector: 'ngts-gizmo-viewcube-face-material[hover][index]',
|
|
@@ -950,8 +1039,8 @@ class NgtsGizmoViewcubeFaceCube extends NgtsGizmoViewcubeInputs {
|
|
|
950
1039
|
}
|
|
951
1040
|
}
|
|
952
1041
|
}
|
|
953
|
-
NgtsGizmoViewcubeFaceCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
954
|
-
NgtsGizmoViewcubeFaceCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
1042
|
+
NgtsGizmoViewcubeFaceCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewcubeFaceCube, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1043
|
+
NgtsGizmoViewcubeFaceCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsGizmoViewcubeFaceCube, isStandalone: true, selector: "ngts-gizmo-viewcube-face-cube", inputs: { font: "font", color: "color" }, usesInheritance: true, ngImport: i0, template: `
|
|
955
1044
|
<ngt-mesh
|
|
956
1045
|
(pointermove)="onPointerMove($any($event))"
|
|
957
1046
|
(pointerout)="onPointerOut($any($event))"
|
|
@@ -972,7 +1061,7 @@ NgtsGizmoViewcubeFaceCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
972
1061
|
/>
|
|
973
1062
|
</ngt-mesh>
|
|
974
1063
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsGizmoViewcubeFaceMaterial, selector: "ngts-gizmo-viewcube-face-material[hover][index]", inputs: ["index", "hover", "font", "color"] }, { kind: "directive", type: NgtRepeat, selector: "[ngFor][ngForRepeat]", inputs: ["ngForRepeat"] }] });
|
|
975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewcubeFaceCube, decorators: [{
|
|
976
1065
|
type: Component,
|
|
977
1066
|
args: [{
|
|
978
1067
|
selector: 'ngts-gizmo-viewcube-face-cube',
|
|
@@ -1024,8 +1113,8 @@ class NgtsGizmoViewcube extends NgtsGizmoViewcubeInputs {
|
|
|
1024
1113
|
this.set({ color });
|
|
1025
1114
|
}
|
|
1026
1115
|
}
|
|
1027
|
-
NgtsGizmoViewcube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1028
|
-
NgtsGizmoViewcube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
1116
|
+
NgtsGizmoViewcube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewcube, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1117
|
+
NgtsGizmoViewcube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsGizmoViewcube, isStandalone: true, selector: "ngts-gizmo-viewcube", inputs: { font: "font", color: "color" }, outputs: { clicked: "clicked" }, usesInheritance: true, ngImport: i0, template: `
|
|
1029
1118
|
<ngt-group [scale]="60">
|
|
1030
1119
|
<ngts-gizmo-viewcube-face-cube
|
|
1031
1120
|
[font]="get('font')"
|
|
@@ -1070,7 +1159,7 @@ NgtsGizmoViewcube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
1070
1159
|
<ngt-point-light [position]="10" [intensity]="0.5" />
|
|
1071
1160
|
</ngt-group>
|
|
1072
1161
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsGizmoViewcubeEdgeCube, selector: "ngts-gizmo-viewcube-edge-cube[dimensions][position]", inputs: ["dimensions", "position"] }, { kind: "component", type: NgtsGizmoViewcubeFaceCube, selector: "ngts-gizmo-viewcube-face-cube", inputs: ["font", "color"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewcube, decorators: [{
|
|
1074
1163
|
type: Component,
|
|
1075
1164
|
args: [{
|
|
1076
1165
|
selector: 'ngts-gizmo-viewcube',
|
|
@@ -1147,8 +1236,8 @@ class NgtsGizmoViewportAxis extends NgtRxStore {
|
|
|
1147
1236
|
this.set({ scale: [0.8, 0.05, 0.05] });
|
|
1148
1237
|
}
|
|
1149
1238
|
}
|
|
1150
|
-
NgtsGizmoViewportAxis.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1151
|
-
NgtsGizmoViewportAxis.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
1239
|
+
NgtsGizmoViewportAxis.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewportAxis, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1240
|
+
NgtsGizmoViewportAxis.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsGizmoViewportAxis, isStandalone: true, selector: "ngts-gizmo-viewport-axis[color][rotation]", inputs: { color: "color", rotation: "rotation", scale: "scale" }, usesInheritance: true, ngImport: i0, template: `
|
|
1152
1241
|
<ngt-group [rotation]="get('rotation')">
|
|
1153
1242
|
<ngt-mesh [position]="[0.4, 0, 0]">
|
|
1154
1243
|
<ngt-box-geometry *args="get('scale')" />
|
|
@@ -1156,7 +1245,7 @@ NgtsGizmoViewportAxis.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1156
1245
|
</ngt-mesh>
|
|
1157
1246
|
</ngt-group>
|
|
1158
1247
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
1159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewportAxis, decorators: [{
|
|
1160
1249
|
type: Component,
|
|
1161
1250
|
args: [{
|
|
1162
1251
|
selector: 'ngts-gizmo-viewport-axis[color][rotation]',
|
|
@@ -1257,8 +1346,8 @@ class NgtsGizmoViewportAxisHead extends NgtRxStore {
|
|
|
1257
1346
|
}
|
|
1258
1347
|
}
|
|
1259
1348
|
}
|
|
1260
|
-
NgtsGizmoViewportAxisHead.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1261
|
-
NgtsGizmoViewportAxisHead.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
1349
|
+
NgtsGizmoViewportAxisHead.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewportAxisHead, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1350
|
+
NgtsGizmoViewportAxisHead.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsGizmoViewportAxisHead, isStandalone: true, selector: "ngts-gizmo-viewport-axis-head", inputs: { arcStyle: "arcStyle", label: "label", labelColor: "labelColor", axisHeadScale: "axisHeadScale", disabled: "disabled", font: "font", clickEmitter: "clickEmitter" }, usesInheritance: true, ngImport: i0, template: `
|
|
1262
1351
|
<ngt-sprite
|
|
1263
1352
|
ngtCompound
|
|
1264
1353
|
[scale]="get('scale')"
|
|
@@ -1276,7 +1365,7 @@ NgtsGizmoViewportAxisHead.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
1276
1365
|
</ngt-sprite-material>
|
|
1277
1366
|
</ngt-sprite>
|
|
1278
1367
|
`, isInline: true });
|
|
1279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewportAxisHead, decorators: [{
|
|
1280
1369
|
type: Component,
|
|
1281
1370
|
args: [{
|
|
1282
1371
|
selector: 'ngts-gizmo-viewport-axis-head',
|
|
@@ -1370,8 +1459,8 @@ class NgtsGizmoViewport extends NgtRxStore {
|
|
|
1370
1459
|
}
|
|
1371
1460
|
}
|
|
1372
1461
|
}
|
|
1373
|
-
NgtsGizmoViewport.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1374
|
-
NgtsGizmoViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
1462
|
+
NgtsGizmoViewport.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewport, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1463
|
+
NgtsGizmoViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsGizmoViewport, isStandalone: true, selector: "ngts-gizmo-viewport", inputs: { axisColors: "axisColors", axisScale: "axisScale", labels: "labels", axisHeadScale: "axisHeadScale", labelColor: "labelColor", hideNegativeAxes: "hideNegativeAxes", hideAxisHeads: "hideAxisHeads", disabled: "disabled", font: "font" }, outputs: { clicked: "clicked" }, usesInheritance: true, ngImport: i0, template: `
|
|
1375
1464
|
<ngt-group ngtCompound [scale]="40">
|
|
1376
1465
|
<ngts-gizmo-viewport-axis
|
|
1377
1466
|
[color]="get('axisColors')[0]"
|
|
@@ -1459,7 +1548,7 @@ NgtsGizmoViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
1459
1548
|
<ngt-point-light position="10" intensity="0.5"></ngt-point-light>
|
|
1460
1549
|
</ngt-group>
|
|
1461
1550
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsGizmoViewportAxis, selector: "ngts-gizmo-viewport-axis[color][rotation]", inputs: ["color", "rotation", "scale"] }, { kind: "component", type: NgtsGizmoViewportAxisHead, selector: "ngts-gizmo-viewport-axis-head", inputs: ["arcStyle", "label", "labelColor", "axisHeadScale", "disabled", "font", "clickEmitter"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsGizmoViewport, decorators: [{
|
|
1463
1552
|
type: Component,
|
|
1464
1553
|
args: [{
|
|
1465
1554
|
selector: 'ngts-gizmo-viewport',
|
|
@@ -1640,8 +1729,8 @@ class NgtsQuadraticBezierLine extends NgtsLineInput {
|
|
|
1640
1729
|
return this.curve.getPoints(segments);
|
|
1641
1730
|
}
|
|
1642
1731
|
}
|
|
1643
|
-
NgtsQuadraticBezierLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1644
|
-
NgtsQuadraticBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
1732
|
+
NgtsQuadraticBezierLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsQuadraticBezierLine, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1733
|
+
NgtsQuadraticBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsQuadraticBezierLine, isStandalone: true, selector: "ngts-quadratic-bezier-line", inputs: { lineRef: "lineRef", start: "start", end: "end", mid: "mid", segments: "segments" }, usesInheritance: true, ngImport: i0, template: `
|
|
1645
1734
|
<ngts-line
|
|
1646
1735
|
[lineRef]="lineRef"
|
|
1647
1736
|
[points]="get('points')"
|
|
@@ -1659,7 +1748,7 @@ NgtsQuadraticBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
1659
1748
|
[worldUnits]="get('worldUnits')"
|
|
1660
1749
|
/>
|
|
1661
1750
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line[points]", inputs: ["lineRef", "points", "segments"] }] });
|
|
1662
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsQuadraticBezierLine, decorators: [{
|
|
1663
1752
|
type: Component,
|
|
1664
1753
|
args: [{
|
|
1665
1754
|
selector: 'ngts-quadratic-bezier-line',
|
|
@@ -1788,14 +1877,14 @@ class NgtsText3D extends NgtRxStore {
|
|
|
1788
1877
|
});
|
|
1789
1878
|
}
|
|
1790
1879
|
}
|
|
1791
|
-
NgtsText3D.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1792
|
-
NgtsText3D.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
1880
|
+
NgtsText3D.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsText3D, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1881
|
+
NgtsText3D.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsText3D, isStandalone: true, selector: "ngts-text-3d[font]", inputs: { font: "font", text: "text", bevelEnabled: "bevelEnabled", bevelOffset: "bevelOffset", bevelSize: "bevelSize", bevelThickness: "bevelThickness", curveSegments: "curveSegments", bevelSegments: "bevelSegments", height: "height", size: "size", lineHeight: "lineHeight", letterSpacing: "letterSpacing" }, usesInheritance: true, ngImport: i0, template: `
|
|
1793
1882
|
<ngt-mesh ngtCompound>
|
|
1794
1883
|
<ngt-text-geometry *args="geometryArgs$ | ngtPush : null" />
|
|
1795
1884
|
<ng-content />
|
|
1796
1885
|
</ngt-mesh>
|
|
1797
1886
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }, { kind: "pipe", type: NgtPush, name: "ngtPush" }] });
|
|
1798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsText3D, decorators: [{
|
|
1799
1888
|
type: Component,
|
|
1800
1889
|
args: [{
|
|
1801
1890
|
selector: 'ngts-text-3d[font]',
|
|
@@ -1887,8 +1976,8 @@ class NgtsText extends NgtRxStore {
|
|
|
1887
1976
|
});
|
|
1888
1977
|
}
|
|
1889
1978
|
}
|
|
1890
|
-
NgtsText.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1891
|
-
NgtsText.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
1979
|
+
NgtsText.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsText, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1980
|
+
NgtsText.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.0", type: NgtsText, isStandalone: true, selector: "ngts-text[text]", inputs: { textRef: "textRef", text: "text", characters: "characters", font: "font", anchorX: "anchorX", anchorY: "anchorY" }, outputs: { sync: "sync" }, providers: [RxActionFactory], usesInheritance: true, ngImport: i0, template: `
|
|
1892
1981
|
<ng-container>
|
|
1893
1982
|
<ngt-primitive
|
|
1894
1983
|
ngtCompound
|
|
@@ -1903,7 +1992,7 @@ NgtsText.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
|
1903
1992
|
</ngt-primitive>
|
|
1904
1993
|
</ng-container>
|
|
1905
1994
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
1906
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: NgtsText, decorators: [{
|
|
1907
1996
|
type: Component,
|
|
1908
1997
|
args: [{
|
|
1909
1998
|
selector: 'ngts-text[text]',
|
|
@@ -1947,5 +2036,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
|
|
|
1947
2036
|
* Generated bundle index. Do not edit.
|
|
1948
2037
|
*/
|
|
1949
2038
|
|
|
1950
|
-
export { NGTS_GIZMO_HELPER_API, NgtsBillboard, NgtsCatmullRomLine, NgtsCubicBezierLine, NgtsGizmoHelper, NgtsGizmoHelperContent, NgtsGizmoViewcube, NgtsGizmoViewport, NgtsLine, NgtsQuadraticBezierLine, NgtsText, NgtsText3D };
|
|
2039
|
+
export { NGTS_GIZMO_HELPER_API, NgtsBillboard, NgtsCatmullRomLine, NgtsCubicBezierLine, NgtsEdges, NgtsGizmoHelper, NgtsGizmoHelperContent, NgtsGizmoViewcube, NgtsGizmoViewport, NgtsLine, NgtsQuadraticBezierLine, NgtsText, NgtsText3D };
|
|
1951
2040
|
//# sourceMappingURL=angular-three-soba-abstractions.mjs.map
|