angular-three-soba 1.6.0 → 1.8.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/assets/distort.vert.glsl +1 -0
- package/esm2020/abstractions/lib/billboard/billboard.mjs +8 -9
- 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/gizmo-helper/gizmo-helper.mjs +12 -12
- 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 +53 -57
- package/esm2020/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.mjs +3 -3
- package/esm2020/abstractions/lib/text/text.mjs +13 -11
- package/esm2020/abstractions/lib/text-3d/text-3d.mjs +3 -3
- package/esm2020/cameras/lib/camera/camera-content.mjs +3 -3
- package/esm2020/cameras/lib/camera/camera.mjs +3 -3
- package/esm2020/cameras/lib/orthographic-camera/orthographic-camera.mjs +9 -9
- package/esm2020/cameras/lib/perspective-camera/perspective-camera.mjs +9 -9
- package/esm2020/controls/lib/orbit-controls/orbit-controls.mjs +3 -3
- package/esm2020/loaders/lib/loader/loader.mjs +3 -3
- package/esm2020/materials/angular-three-soba-materials.mjs +5 -0
- package/esm2020/materials/index.mjs +4 -0
- package/esm2020/materials/lib/mesh-distort-material/mesh-distort-material.mjs +74 -0
- package/esm2020/materials/lib/mesh-reflector-material/mesh-reflector-material.mjs +328 -0
- package/esm2020/materials/lib/mesh-wobble-material/mesh-wobble-material.mjs +67 -0
- package/esm2020/misc/lib/bake-shadows/bake-shadows.mjs +3 -3
- 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 +8 -9
- package/esm2020/performance/lib/stats/stats.mjs +3 -3
- package/esm2020/shaders/index.mjs +6 -1
- package/esm2020/shaders/lib/blur-pass/blur-pass.mjs +61 -0
- package/esm2020/shaders/lib/convolution-material/convolution-material.mjs +94 -0
- package/esm2020/shaders/lib/mesh-distort-material/mesh-distort-material.mjs +55 -0
- package/esm2020/shaders/lib/mesh-reflector-material/mesh-reflector-material.mjs +223 -0
- package/esm2020/shaders/lib/mesh-wobble-material/mesh-wobble-material.mjs +37 -0
- package/esm2020/staging/lib/accumulative-shadows/accumulative-shadows.mjs +14 -14
- package/esm2020/staging/lib/accumulative-shadows/randomized-lights.mjs +12 -12
- package/esm2020/staging/lib/bounds/bounds.mjs +8 -9
- package/esm2020/staging/lib/camera-shake/camera-shake.mjs +3 -3
- package/esm2020/staging/lib/center/center.mjs +12 -13
- package/esm2020/staging/lib/cloud/cloud.mjs +9 -9
- package/esm2020/staging/lib/contact-shadows/contact-shadows.mjs +11 -15
- 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 +9 -13
- package/esm2020/staging/lib/environment/environment.mjs +6 -6
- package/esm2020/staging/lib/float/float.mjs +8 -9
- package/esm2020/staging/lib/sky/sky.mjs +21 -25
- package/esm2020/staging/lib/sparkles/sparkles.mjs +11 -11
- package/esm2020/staging/lib/stage/stage.mjs +6 -6
- package/esm2020/staging/lib/stars/stars.mjs +9 -9
- package/fesm2015/angular-three-soba-abstractions.mjs +118 -121
- package/fesm2015/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2015/angular-three-soba-cameras.mjs +21 -21
- 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 +468 -0
- package/fesm2015/angular-three-soba-materials.mjs.map +1 -0
- package/fesm2015/angular-three-soba-misc.mjs +3 -3
- package/fesm2015/angular-three-soba-performance.mjs +16 -17
- package/fesm2015/angular-three-soba-performance.mjs.map +1 -1
- package/fesm2015/angular-three-soba-shaders.mjs +467 -1
- package/fesm2015/angular-three-soba-shaders.mjs.map +1 -1
- package/fesm2015/angular-three-soba-staging.mjs +130 -145
- package/fesm2015/angular-three-soba-staging.mjs.map +1 -1
- package/fesm2020/angular-three-soba-abstractions.mjs +118 -121
- package/fesm2020/angular-three-soba-abstractions.mjs.map +1 -1
- package/fesm2020/angular-three-soba-cameras.mjs +21 -21
- 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 +468 -0
- package/fesm2020/angular-three-soba-materials.mjs.map +1 -0
- package/fesm2020/angular-three-soba-misc.mjs +3 -3
- package/fesm2020/angular-three-soba-performance.mjs +16 -17
- package/fesm2020/angular-three-soba-performance.mjs.map +1 -1
- package/fesm2020/angular-three-soba-shaders.mjs +466 -1
- package/fesm2020/angular-three-soba-shaders.mjs.map +1 -1
- package/fesm2020/angular-three-soba-staging.mjs +130 -145
- package/fesm2020/angular-three-soba-staging.mjs.map +1 -1
- package/materials/README.md +3 -0
- package/materials/index.d.ts +3 -0
- package/materials/lib/mesh-distort-material/mesh-distort-material.d.ts +19 -0
- package/materials/lib/mesh-reflector-material/mesh-reflector-material.d.ts +41 -0
- package/materials/lib/mesh-wobble-material/mesh-wobble-material.d.ts +14 -0
- package/package.json +39 -28
- package/plugin/package.json +1 -1
- package/shaders/index.d.ts +5 -0
- package/shaders/lib/blur-pass/blur-pass.d.ts +23 -0
- package/shaders/lib/convolution-material/convolution-material.d.ts +7 -0
- package/shaders/lib/mesh-distort-material/mesh-distort-material.d.ts +144 -0
- package/shaders/lib/mesh-reflector-material/mesh-reflector-material.d.ts +50 -0
- package/shaders/lib/mesh-wobble-material/mesh-wobble-material.d.ts +15 -0
- package/staging/lib/stage/stage.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
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
|
-
import { extend, NgtRxStore, injectNgtRef,
|
|
3
|
+
import { extend, NgtRxStore, injectNgtRef, NgtStore, startWithUndefined, NgtArgs, NgtPortal, NgtPortalContent, NgtRepeat, NgtPush } from 'angular-three';
|
|
4
4
|
import * as THREE from 'three';
|
|
5
5
|
import { Group, CatmullRomCurve3, Vector3, Quaternion, Object3D, Matrix4, Mesh, BoxGeometry, MeshBasicMaterial, MeshLambertMaterial, CanvasTexture, AmbientLight, PointLight, Sprite, SpriteMaterial } from 'three';
|
|
6
6
|
import { combineLatest, map, switchMap, of } from 'rxjs';
|
|
@@ -50,23 +50,22 @@ class NgtsBillboard extends NgtRxStore {
|
|
|
50
50
|
event.object.rotation.z = prevRotation.z;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
NgtsBillboard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
54
|
-
NgtsBillboard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
55
|
-
<ngt-group ngtCompound
|
|
53
|
+
NgtsBillboard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsBillboard, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
NgtsBillboard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsBillboard, isStandalone: true, selector: "ngts-billboard", inputs: { billboardRef: "billboardRef", follow: "follow", lockX: "lockX", lockY: "lockY", lockZ: "lockZ" }, usesInheritance: true, ngImport: i0, template: `
|
|
55
|
+
<ngt-group ngtCompound [ref]="billboardRef" (beforeRender)="onBeforeRender($any($event))">
|
|
56
56
|
<ng-content />
|
|
57
57
|
</ngt-group>
|
|
58
|
-
`, isInline: true
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
58
|
+
`, isInline: true });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsBillboard, decorators: [{
|
|
60
60
|
type: Component,
|
|
61
61
|
args: [{
|
|
62
62
|
selector: 'ngts-billboard',
|
|
63
63
|
standalone: true,
|
|
64
64
|
template: `
|
|
65
|
-
<ngt-group ngtCompound
|
|
65
|
+
<ngt-group ngtCompound [ref]="billboardRef" (beforeRender)="onBeforeRender($any($event))">
|
|
66
66
|
<ng-content />
|
|
67
67
|
</ngt-group>
|
|
68
68
|
`,
|
|
69
|
-
imports: [NgtRef],
|
|
70
69
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
71
70
|
}]
|
|
72
71
|
}], propDecorators: { billboardRef: [{
|
|
@@ -123,9 +122,9 @@ class NgtsLineInput extends NgtRxStore {
|
|
|
123
122
|
this.set({ color: 'black' });
|
|
124
123
|
}
|
|
125
124
|
}
|
|
126
|
-
NgtsLineInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
127
|
-
NgtsLineInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
125
|
+
NgtsLineInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsLineInput, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
126
|
+
NgtsLineInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", 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.1.4", ngImport: i0, type: NgtsLineInput, decorators: [{
|
|
129
128
|
type: Directive
|
|
130
129
|
}], propDecorators: { vertexColors: [{
|
|
131
130
|
type: Input
|
|
@@ -211,67 +210,63 @@ class NgtsLine extends NgtsLineInput {
|
|
|
211
210
|
});
|
|
212
211
|
}
|
|
213
212
|
}
|
|
214
|
-
NgtsLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
215
|
-
NgtsLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
216
|
-
<
|
|
217
|
-
<ngt-primitive
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }, { kind: "directive", type: NgtRef, selector: "[ref]", inputs: ["ref"] }] });
|
|
242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NgtsLine, decorators: [{
|
|
213
|
+
NgtsLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsLine, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
214
|
+
NgtsLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsLine, isStandalone: true, selector: "ngts-line[points]", inputs: { lineRef: "lineRef", points: "points", segments: "segments" }, usesInheritance: true, ngImport: i0, template: `
|
|
215
|
+
<ngt-primitive *args="[line]" [ref]="lineRef" ngtCompound>
|
|
216
|
+
<ngt-primitive
|
|
217
|
+
*args="[get('lineGeometry')]"
|
|
218
|
+
attach="geometry"
|
|
219
|
+
(afterAttach)="onAfterAttach($any($event))"
|
|
220
|
+
/>
|
|
221
|
+
<ngt-primitive
|
|
222
|
+
*args="[lineMaterial]"
|
|
223
|
+
attach="material"
|
|
224
|
+
[color]="get('color')"
|
|
225
|
+
[vertexColors]="Boolean(get('vertexColors'))"
|
|
226
|
+
[resolution]="get('materialResolution')"
|
|
227
|
+
[linewidth]="get('lineWidth')"
|
|
228
|
+
[alphaToCoverage]="get('alphaToCoverage')"
|
|
229
|
+
[dashed]="get('dashed')"
|
|
230
|
+
[dashScale]="get('dashScale') ?? lineMaterial.dashScale"
|
|
231
|
+
[dashSize]="get('dashSize') ?? lineMaterial.dashSize"
|
|
232
|
+
[dashOffset]="get('dashOffset') ?? lineMaterial.dashOffset"
|
|
233
|
+
[gapSize]="get('gapSize') ?? lineMaterial.gapSize"
|
|
234
|
+
[wireframe]="get('wireframe') ?? lineMaterial.wireframe"
|
|
235
|
+
[worldUnits]="get('worldUnits')"
|
|
236
|
+
/>
|
|
237
|
+
</ngt-primitive>
|
|
238
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsLine, decorators: [{
|
|
243
240
|
type: Component,
|
|
244
241
|
args: [{
|
|
245
242
|
selector: 'ngts-line[points]',
|
|
246
243
|
standalone: true,
|
|
247
244
|
template: `
|
|
248
|
-
<
|
|
249
|
-
<ngt-primitive
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
</ngt-primitive>
|
|
272
|
-
</ng-container>
|
|
245
|
+
<ngt-primitive *args="[line]" [ref]="lineRef" ngtCompound>
|
|
246
|
+
<ngt-primitive
|
|
247
|
+
*args="[get('lineGeometry')]"
|
|
248
|
+
attach="geometry"
|
|
249
|
+
(afterAttach)="onAfterAttach($any($event))"
|
|
250
|
+
/>
|
|
251
|
+
<ngt-primitive
|
|
252
|
+
*args="[lineMaterial]"
|
|
253
|
+
attach="material"
|
|
254
|
+
[color]="get('color')"
|
|
255
|
+
[vertexColors]="Boolean(get('vertexColors'))"
|
|
256
|
+
[resolution]="get('materialResolution')"
|
|
257
|
+
[linewidth]="get('lineWidth')"
|
|
258
|
+
[alphaToCoverage]="get('alphaToCoverage')"
|
|
259
|
+
[dashed]="get('dashed')"
|
|
260
|
+
[dashScale]="get('dashScale') ?? lineMaterial.dashScale"
|
|
261
|
+
[dashSize]="get('dashSize') ?? lineMaterial.dashSize"
|
|
262
|
+
[dashOffset]="get('dashOffset') ?? lineMaterial.dashOffset"
|
|
263
|
+
[gapSize]="get('gapSize') ?? lineMaterial.gapSize"
|
|
264
|
+
[wireframe]="get('wireframe') ?? lineMaterial.wireframe"
|
|
265
|
+
[worldUnits]="get('worldUnits')"
|
|
266
|
+
/>
|
|
267
|
+
</ngt-primitive>
|
|
273
268
|
`,
|
|
274
|
-
imports: [NgtArgs
|
|
269
|
+
imports: [NgtArgs],
|
|
275
270
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
276
271
|
}]
|
|
277
272
|
}], propDecorators: { lineRef: [{
|
|
@@ -334,8 +329,8 @@ class NgtsCatmullRomLine extends NgtsLineInput {
|
|
|
334
329
|
})));
|
|
335
330
|
}
|
|
336
331
|
}
|
|
337
|
-
NgtsCatmullRomLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
338
|
-
NgtsCatmullRomLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
332
|
+
NgtsCatmullRomLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsCatmullRomLine, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
333
|
+
NgtsCatmullRomLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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: `
|
|
339
334
|
<ngts-line
|
|
340
335
|
[lineRef]="lineRef"
|
|
341
336
|
[points]="get('segmentedPoints')"
|
|
@@ -353,7 +348,7 @@ NgtsCatmullRomLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
353
348
|
[worldUnits]="get('worldUnits')"
|
|
354
349
|
/>
|
|
355
350
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line[points]", inputs: ["lineRef", "points", "segments"] }] });
|
|
356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsCatmullRomLine, decorators: [{
|
|
357
352
|
type: Component,
|
|
358
353
|
args: [{
|
|
359
354
|
selector: 'ngts-catmull-rom-line[points]',
|
|
@@ -425,8 +420,8 @@ class NgtsCubicBezierLine extends NgtsLineInput {
|
|
|
425
420
|
}));
|
|
426
421
|
}
|
|
427
422
|
}
|
|
428
|
-
NgtsCubicBezierLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
429
|
-
NgtsCubicBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
423
|
+
NgtsCubicBezierLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsCubicBezierLine, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
424
|
+
NgtsCubicBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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: `
|
|
430
425
|
<ngts-line
|
|
431
426
|
[lineRef]="lineRef"
|
|
432
427
|
[points]="get('points')"
|
|
@@ -444,7 +439,7 @@ NgtsCubicBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
444
439
|
[worldUnits]="get('worldUnits')"
|
|
445
440
|
/>
|
|
446
441
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line[points]", inputs: ["lineRef", "points", "segments"] }] });
|
|
447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsCubicBezierLine, decorators: [{
|
|
448
443
|
type: Component,
|
|
449
444
|
args: [{
|
|
450
445
|
selector: 'ngts-cubic-bezier-line[start][end][midA][midB]',
|
|
@@ -511,9 +506,9 @@ function gizmoHelperApiFactory(gizmo) {
|
|
|
511
506
|
extend({ Group });
|
|
512
507
|
class NgtsGizmoHelperContent {
|
|
513
508
|
}
|
|
514
|
-
NgtsGizmoHelperContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
515
|
-
NgtsGizmoHelperContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
516
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
509
|
+
NgtsGizmoHelperContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoHelperContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
510
|
+
NgtsGizmoHelperContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: NgtsGizmoHelperContent, isStandalone: true, selector: "ng-template[ngtsGizmoHelperContent]", ngImport: i0 });
|
|
511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoHelperContent, decorators: [{
|
|
517
512
|
type: Directive,
|
|
518
513
|
args: [{
|
|
519
514
|
selector: 'ng-template[ngtsGizmoHelperContent]',
|
|
@@ -621,8 +616,8 @@ class NgtsGizmoHelper extends NgtRxStore {
|
|
|
621
616
|
});
|
|
622
617
|
}
|
|
623
618
|
}
|
|
624
|
-
NgtsGizmoHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
625
|
-
NgtsGizmoHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
619
|
+
NgtsGizmoHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoHelper, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
620
|
+
NgtsGizmoHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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: `
|
|
626
621
|
<ngt-portal [renderPriority]="get('renderPriority')">
|
|
627
622
|
<ng-template ngtPortalContent>
|
|
628
623
|
<ngts-orthographic-camera
|
|
@@ -631,7 +626,7 @@ NgtsGizmoHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
631
626
|
[position]="[0, 0, 200]"
|
|
632
627
|
/>
|
|
633
628
|
<ngt-group
|
|
634
|
-
|
|
629
|
+
[ref]="gizmoRef"
|
|
635
630
|
[position]="get('gizmoPosition')"
|
|
636
631
|
(beforeRender)="onBeforeRender($any($event).state.delta)"
|
|
637
632
|
>
|
|
@@ -639,8 +634,8 @@ NgtsGizmoHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
639
634
|
</ngt-group>
|
|
640
635
|
</ng-template>
|
|
641
636
|
</ngt-portal>
|
|
642
|
-
`, 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: "
|
|
643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
637
|
+
`, 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.1.4", ngImport: i0, type: NgtsGizmoHelper, decorators: [{
|
|
644
639
|
type: Component,
|
|
645
640
|
args: [{
|
|
646
641
|
selector: 'ngts-gizmo-helper',
|
|
@@ -654,7 +649,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
654
649
|
[position]="[0, 0, 200]"
|
|
655
650
|
/>
|
|
656
651
|
<ngt-group
|
|
657
|
-
|
|
652
|
+
[ref]="gizmoRef"
|
|
658
653
|
[position]="get('gizmoPosition')"
|
|
659
654
|
(beforeRender)="onBeforeRender($any($event).state.delta)"
|
|
660
655
|
>
|
|
@@ -663,7 +658,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
663
658
|
</ng-template>
|
|
664
659
|
</ngt-portal>
|
|
665
660
|
`,
|
|
666
|
-
imports: [NgtPortal, NgtPortalContent,
|
|
661
|
+
imports: [NgtPortal, NgtPortalContent, NgtsOrthographicCamera, NgTemplateOutlet],
|
|
667
662
|
providers: [{ provide: NGTS_GIZMO_HELPER_API, useFactory: gizmoHelperApiFactory, deps: [NgtsGizmoHelper] }],
|
|
668
663
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
669
664
|
}]
|
|
@@ -736,9 +731,9 @@ class NgtsGizmoViewcubeInputs extends NgtRxStore {
|
|
|
736
731
|
this.set({ clickEmitter });
|
|
737
732
|
}
|
|
738
733
|
}
|
|
739
|
-
NgtsGizmoViewcubeInputs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
740
|
-
NgtsGizmoViewcubeInputs.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.
|
|
741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
734
|
+
NgtsGizmoViewcubeInputs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeInputs, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
735
|
+
NgtsGizmoViewcubeInputs.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: NgtsGizmoViewcubeInputs, inputs: { opacity: "opacity", hoverColor: "hoverColor", textColor: "textColor", strokeColor: "strokeColor", faces: "faces", clickEmitter: "clickEmitter" }, usesInheritance: true, ngImport: i0 });
|
|
736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeInputs, decorators: [{
|
|
742
737
|
type: Directive
|
|
743
738
|
}], propDecorators: { opacity: [{
|
|
744
739
|
type: Input
|
|
@@ -790,8 +785,8 @@ class NgtsGizmoViewcubeEdgeCube extends NgtsGizmoViewcubeInputs {
|
|
|
790
785
|
}
|
|
791
786
|
}
|
|
792
787
|
}
|
|
793
|
-
NgtsGizmoViewcubeEdgeCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
794
|
-
NgtsGizmoViewcubeEdgeCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
788
|
+
NgtsGizmoViewcubeEdgeCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeEdgeCube, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
789
|
+
NgtsGizmoViewcubeEdgeCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsGizmoViewcubeEdgeCube, isStandalone: true, selector: "ngts-gizmo-viewcube-edge-cube[dimensions][position]", inputs: { dimensions: "dimensions", position: "position" }, usesInheritance: true, ngImport: i0, template: `
|
|
795
790
|
<ngt-mesh
|
|
796
791
|
[scale]="1.01"
|
|
797
792
|
[position]="get('position')"
|
|
@@ -808,7 +803,7 @@ NgtsGizmoViewcubeEdgeCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
808
803
|
/>
|
|
809
804
|
</ngt-mesh>
|
|
810
805
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeEdgeCube, decorators: [{
|
|
812
807
|
type: Component,
|
|
813
808
|
args: [{
|
|
814
809
|
selector: 'ngts-gizmo-viewcube-edge-cube[dimensions][position]',
|
|
@@ -885,8 +880,8 @@ class NgtsGizmoViewcubeFaceMaterial extends NgtsGizmoViewcubeInputs {
|
|
|
885
880
|
}));
|
|
886
881
|
}
|
|
887
882
|
}
|
|
888
|
-
NgtsGizmoViewcubeFaceMaterial.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
889
|
-
NgtsGizmoViewcubeFaceMaterial.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
883
|
+
NgtsGizmoViewcubeFaceMaterial.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeFaceMaterial, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
884
|
+
NgtsGizmoViewcubeFaceMaterial.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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: `
|
|
890
885
|
<ngt-mesh-lambert-material
|
|
891
886
|
[attach]="['material', get('index')]"
|
|
892
887
|
[map]="get('texture')"
|
|
@@ -898,7 +893,7 @@ NgtsGizmoViewcubeFaceMaterial.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
898
893
|
<ngt-value [rawValue]="store.get('gl').capabilities.getMaxAnisotropy() || 1" attach="map.anisotrophy" />
|
|
899
894
|
</ngt-mesh-lambert-material>
|
|
900
895
|
`, isInline: true });
|
|
901
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeFaceMaterial, decorators: [{
|
|
902
897
|
type: Component,
|
|
903
898
|
args: [{
|
|
904
899
|
selector: 'ngts-gizmo-viewcube-face-material[hover][index]',
|
|
@@ -957,8 +952,8 @@ class NgtsGizmoViewcubeFaceCube extends NgtsGizmoViewcubeInputs {
|
|
|
957
952
|
}
|
|
958
953
|
}
|
|
959
954
|
}
|
|
960
|
-
NgtsGizmoViewcubeFaceCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
961
|
-
NgtsGizmoViewcubeFaceCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
955
|
+
NgtsGizmoViewcubeFaceCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeFaceCube, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
956
|
+
NgtsGizmoViewcubeFaceCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsGizmoViewcubeFaceCube, isStandalone: true, selector: "ngts-gizmo-viewcube-face-cube", inputs: { font: "font", color: "color" }, usesInheritance: true, ngImport: i0, template: `
|
|
962
957
|
<ngt-mesh
|
|
963
958
|
(pointermove)="onPointerMove($any($event))"
|
|
964
959
|
(pointerout)="onPointerOut($any($event))"
|
|
@@ -979,7 +974,7 @@ NgtsGizmoViewcubeFaceCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
979
974
|
/>
|
|
980
975
|
</ngt-mesh>
|
|
981
976
|
`, 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"] }] });
|
|
982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeFaceCube, decorators: [{
|
|
983
978
|
type: Component,
|
|
984
979
|
args: [{
|
|
985
980
|
selector: 'ngts-gizmo-viewcube-face-cube',
|
|
@@ -1031,8 +1026,8 @@ class NgtsGizmoViewcube extends NgtsGizmoViewcubeInputs {
|
|
|
1031
1026
|
this.set({ color });
|
|
1032
1027
|
}
|
|
1033
1028
|
}
|
|
1034
|
-
NgtsGizmoViewcube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1035
|
-
NgtsGizmoViewcube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1029
|
+
NgtsGizmoViewcube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcube, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1030
|
+
NgtsGizmoViewcube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsGizmoViewcube, isStandalone: true, selector: "ngts-gizmo-viewcube", inputs: { font: "font", color: "color" }, outputs: { clicked: "clicked" }, usesInheritance: true, ngImport: i0, template: `
|
|
1036
1031
|
<ngt-group [scale]="60">
|
|
1037
1032
|
<ngts-gizmo-viewcube-face-cube
|
|
1038
1033
|
[font]="get('font')"
|
|
@@ -1077,7 +1072,7 @@ NgtsGizmoViewcube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
1077
1072
|
<ngt-point-light [position]="10" [intensity]="0.5" />
|
|
1078
1073
|
</ngt-group>
|
|
1079
1074
|
`, 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"] }] });
|
|
1080
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcube, decorators: [{
|
|
1081
1076
|
type: Component,
|
|
1082
1077
|
args: [{
|
|
1083
1078
|
selector: 'ngts-gizmo-viewcube',
|
|
@@ -1154,8 +1149,8 @@ class NgtsGizmoViewportAxis extends NgtRxStore {
|
|
|
1154
1149
|
this.set({ scale: [0.8, 0.05, 0.05] });
|
|
1155
1150
|
}
|
|
1156
1151
|
}
|
|
1157
|
-
NgtsGizmoViewportAxis.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1158
|
-
NgtsGizmoViewportAxis.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1152
|
+
NgtsGizmoViewportAxis.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewportAxis, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1153
|
+
NgtsGizmoViewportAxis.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: NgtsGizmoViewportAxis, isStandalone: true, selector: "ngts-gizmo-viewport-axis[color][rotation]", inputs: { color: "color", rotation: "rotation", scale: "scale" }, usesInheritance: true, ngImport: i0, template: `
|
|
1159
1154
|
<ngt-group [rotation]="get('rotation')">
|
|
1160
1155
|
<ngt-mesh [position]="[0.4, 0, 0]">
|
|
1161
1156
|
<ngt-box-geometry *args="get('scale')" />
|
|
@@ -1163,7 +1158,7 @@ NgtsGizmoViewportAxis.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1163
1158
|
</ngt-mesh>
|
|
1164
1159
|
</ngt-group>
|
|
1165
1160
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
1166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewportAxis, decorators: [{
|
|
1167
1162
|
type: Component,
|
|
1168
1163
|
args: [{
|
|
1169
1164
|
selector: 'ngts-gizmo-viewport-axis[color][rotation]',
|
|
@@ -1265,8 +1260,8 @@ class NgtsGizmoViewportAxisHead extends NgtRxStore {
|
|
|
1265
1260
|
}
|
|
1266
1261
|
}
|
|
1267
1262
|
}
|
|
1268
|
-
NgtsGizmoViewportAxisHead.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1269
|
-
NgtsGizmoViewportAxisHead.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1263
|
+
NgtsGizmoViewportAxisHead.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewportAxisHead, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1264
|
+
NgtsGizmoViewportAxisHead.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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: `
|
|
1270
1265
|
<ngt-sprite
|
|
1271
1266
|
ngtCompound
|
|
1272
1267
|
[scale]="get('scale')"
|
|
@@ -1284,7 +1279,7 @@ NgtsGizmoViewportAxisHead.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
1284
1279
|
</ngt-sprite-material>
|
|
1285
1280
|
</ngt-sprite>
|
|
1286
1281
|
`, isInline: true });
|
|
1287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewportAxisHead, decorators: [{
|
|
1288
1283
|
type: Component,
|
|
1289
1284
|
args: [{
|
|
1290
1285
|
selector: 'ngts-gizmo-viewport-axis-head',
|
|
@@ -1378,8 +1373,8 @@ class NgtsGizmoViewport extends NgtRxStore {
|
|
|
1378
1373
|
}
|
|
1379
1374
|
}
|
|
1380
1375
|
}
|
|
1381
|
-
NgtsGizmoViewport.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1382
|
-
NgtsGizmoViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1376
|
+
NgtsGizmoViewport.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewport, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1377
|
+
NgtsGizmoViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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: `
|
|
1383
1378
|
<ngt-group ngtCompound [scale]="40">
|
|
1384
1379
|
<ngts-gizmo-viewport-axis
|
|
1385
1380
|
[color]="get('axisColors')[0]"
|
|
@@ -1467,7 +1462,7 @@ NgtsGizmoViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
1467
1462
|
<ngt-point-light position="10" intensity="0.5"></ngt-point-light>
|
|
1468
1463
|
</ngt-group>
|
|
1469
1464
|
`, 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"] }] });
|
|
1470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewport, decorators: [{
|
|
1471
1466
|
type: Component,
|
|
1472
1467
|
args: [{
|
|
1473
1468
|
selector: 'ngts-gizmo-viewport',
|
|
@@ -1648,8 +1643,8 @@ class NgtsQuadraticBezierLine extends NgtsLineInput {
|
|
|
1648
1643
|
return this.curve.getPoints(segments);
|
|
1649
1644
|
}
|
|
1650
1645
|
}
|
|
1651
|
-
NgtsQuadraticBezierLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1652
|
-
NgtsQuadraticBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1646
|
+
NgtsQuadraticBezierLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsQuadraticBezierLine, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1647
|
+
NgtsQuadraticBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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: `
|
|
1653
1648
|
<ngts-line
|
|
1654
1649
|
[lineRef]="lineRef"
|
|
1655
1650
|
[points]="get('points')"
|
|
@@ -1667,7 +1662,7 @@ NgtsQuadraticBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
1667
1662
|
[worldUnits]="get('worldUnits')"
|
|
1668
1663
|
/>
|
|
1669
1664
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line[points]", inputs: ["lineRef", "points", "segments"] }] });
|
|
1670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsQuadraticBezierLine, decorators: [{
|
|
1671
1666
|
type: Component,
|
|
1672
1667
|
args: [{
|
|
1673
1668
|
selector: 'ngts-quadratic-bezier-line',
|
|
@@ -1796,14 +1791,14 @@ class NgtsText3D extends NgtRxStore {
|
|
|
1796
1791
|
});
|
|
1797
1792
|
}
|
|
1798
1793
|
}
|
|
1799
|
-
NgtsText3D.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1800
|
-
NgtsText3D.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1794
|
+
NgtsText3D.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsText3D, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1795
|
+
NgtsText3D.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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: `
|
|
1801
1796
|
<ngt-mesh ngtCompound>
|
|
1802
1797
|
<ngt-text-geometry *args="geometryArgs$ | ngtPush : null" />
|
|
1803
1798
|
<ng-content />
|
|
1804
1799
|
</ngt-mesh>
|
|
1805
1800
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }, { kind: "pipe", type: NgtPush, name: "ngtPush" }] });
|
|
1806
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsText3D, decorators: [{
|
|
1807
1802
|
type: Component,
|
|
1808
1803
|
args: [{
|
|
1809
1804
|
selector: 'ngts-text-3d[font]',
|
|
@@ -1895,12 +1890,13 @@ class NgtsText extends NgtRxStore {
|
|
|
1895
1890
|
});
|
|
1896
1891
|
}
|
|
1897
1892
|
}
|
|
1898
|
-
NgtsText.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1899
|
-
NgtsText.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1900
|
-
<ng-container
|
|
1893
|
+
NgtsText.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsText, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1894
|
+
NgtsText.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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: `
|
|
1895
|
+
<ng-container>
|
|
1901
1896
|
<ngt-primitive
|
|
1902
1897
|
ngtCompound
|
|
1903
|
-
*
|
|
1898
|
+
*args="[troikaText]"
|
|
1899
|
+
[ref]="textRef"
|
|
1904
1900
|
[text]="get('text')"
|
|
1905
1901
|
[anchorX]="get('anchorX')"
|
|
1906
1902
|
[anchorY]="get('anchorY')"
|
|
@@ -1909,17 +1905,18 @@ NgtsText.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
|
1909
1905
|
<ng-content />
|
|
1910
1906
|
</ngt-primitive>
|
|
1911
1907
|
</ng-container>
|
|
1912
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }
|
|
1913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1908
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
1909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsText, decorators: [{
|
|
1914
1910
|
type: Component,
|
|
1915
1911
|
args: [{
|
|
1916
1912
|
selector: 'ngts-text[text]',
|
|
1917
1913
|
standalone: true,
|
|
1918
1914
|
template: `
|
|
1919
|
-
<ng-container
|
|
1915
|
+
<ng-container>
|
|
1920
1916
|
<ngt-primitive
|
|
1921
1917
|
ngtCompound
|
|
1922
|
-
*
|
|
1918
|
+
*args="[troikaText]"
|
|
1919
|
+
[ref]="textRef"
|
|
1923
1920
|
[text]="get('text')"
|
|
1924
1921
|
[anchorX]="get('anchorX')"
|
|
1925
1922
|
[anchorY]="get('anchorY')"
|
|
@@ -1929,7 +1926,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
1929
1926
|
</ngt-primitive>
|
|
1930
1927
|
</ng-container>
|
|
1931
1928
|
`,
|
|
1932
|
-
imports: [NgtArgs
|
|
1929
|
+
imports: [NgtArgs],
|
|
1933
1930
|
providers: [RxActionFactory],
|
|
1934
1931
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1935
1932
|
}]
|