angular-three-soba 1.6.0-beta.0 → 1.7.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/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/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/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-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-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-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-staging.mjs +130 -145
- package/fesm2020/angular-three-soba-staging.mjs.map +1 -1
- package/package.json +1 -1
- package/plugin/package.json +1 -1
- 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
|
|
@@ -789,8 +784,8 @@ class NgtsGizmoViewcubeEdgeCube extends NgtsGizmoViewcubeInputs {
|
|
|
789
784
|
}
|
|
790
785
|
}
|
|
791
786
|
}
|
|
792
|
-
NgtsGizmoViewcubeEdgeCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
793
|
-
NgtsGizmoViewcubeEdgeCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
787
|
+
NgtsGizmoViewcubeEdgeCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeEdgeCube, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
788
|
+
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: `
|
|
794
789
|
<ngt-mesh
|
|
795
790
|
[scale]="1.01"
|
|
796
791
|
[position]="get('position')"
|
|
@@ -807,7 +802,7 @@ NgtsGizmoViewcubeEdgeCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
807
802
|
/>
|
|
808
803
|
</ngt-mesh>
|
|
809
804
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeEdgeCube, decorators: [{
|
|
811
806
|
type: Component,
|
|
812
807
|
args: [{
|
|
813
808
|
selector: 'ngts-gizmo-viewcube-edge-cube[dimensions][position]',
|
|
@@ -884,8 +879,8 @@ class NgtsGizmoViewcubeFaceMaterial extends NgtsGizmoViewcubeInputs {
|
|
|
884
879
|
}));
|
|
885
880
|
}
|
|
886
881
|
}
|
|
887
|
-
NgtsGizmoViewcubeFaceMaterial.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
888
|
-
NgtsGizmoViewcubeFaceMaterial.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
882
|
+
NgtsGizmoViewcubeFaceMaterial.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeFaceMaterial, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
883
|
+
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: `
|
|
889
884
|
<ngt-mesh-lambert-material
|
|
890
885
|
[attach]="['material', get('index')]"
|
|
891
886
|
[map]="get('texture')"
|
|
@@ -897,7 +892,7 @@ NgtsGizmoViewcubeFaceMaterial.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
897
892
|
<ngt-value [rawValue]="store.get('gl').capabilities.getMaxAnisotropy() || 1" attach="map.anisotrophy" />
|
|
898
893
|
</ngt-mesh-lambert-material>
|
|
899
894
|
`, isInline: true });
|
|
900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeFaceMaterial, decorators: [{
|
|
901
896
|
type: Component,
|
|
902
897
|
args: [{
|
|
903
898
|
selector: 'ngts-gizmo-viewcube-face-material[hover][index]',
|
|
@@ -955,8 +950,8 @@ class NgtsGizmoViewcubeFaceCube extends NgtsGizmoViewcubeInputs {
|
|
|
955
950
|
}
|
|
956
951
|
}
|
|
957
952
|
}
|
|
958
|
-
NgtsGizmoViewcubeFaceCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
959
|
-
NgtsGizmoViewcubeFaceCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
953
|
+
NgtsGizmoViewcubeFaceCube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeFaceCube, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
954
|
+
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: `
|
|
960
955
|
<ngt-mesh
|
|
961
956
|
(pointermove)="onPointerMove($any($event))"
|
|
962
957
|
(pointerout)="onPointerOut($any($event))"
|
|
@@ -977,7 +972,7 @@ NgtsGizmoViewcubeFaceCube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
977
972
|
/>
|
|
978
973
|
</ngt-mesh>
|
|
979
974
|
`, 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"] }] });
|
|
980
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcubeFaceCube, decorators: [{
|
|
981
976
|
type: Component,
|
|
982
977
|
args: [{
|
|
983
978
|
selector: 'ngts-gizmo-viewcube-face-cube',
|
|
@@ -1029,8 +1024,8 @@ class NgtsGizmoViewcube extends NgtsGizmoViewcubeInputs {
|
|
|
1029
1024
|
this.set({ color });
|
|
1030
1025
|
}
|
|
1031
1026
|
}
|
|
1032
|
-
NgtsGizmoViewcube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1033
|
-
NgtsGizmoViewcube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1027
|
+
NgtsGizmoViewcube.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcube, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1028
|
+
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: `
|
|
1034
1029
|
<ngt-group [scale]="60">
|
|
1035
1030
|
<ngts-gizmo-viewcube-face-cube
|
|
1036
1031
|
[font]="get('font')"
|
|
@@ -1075,7 +1070,7 @@ NgtsGizmoViewcube.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
1075
1070
|
<ngt-point-light [position]="10" [intensity]="0.5" />
|
|
1076
1071
|
</ngt-group>
|
|
1077
1072
|
`, 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"] }] });
|
|
1078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewcube, decorators: [{
|
|
1079
1074
|
type: Component,
|
|
1080
1075
|
args: [{
|
|
1081
1076
|
selector: 'ngts-gizmo-viewcube',
|
|
@@ -1152,8 +1147,8 @@ class NgtsGizmoViewportAxis extends NgtRxStore {
|
|
|
1152
1147
|
this.set({ scale: [0.8, 0.05, 0.05] });
|
|
1153
1148
|
}
|
|
1154
1149
|
}
|
|
1155
|
-
NgtsGizmoViewportAxis.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1156
|
-
NgtsGizmoViewportAxis.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1150
|
+
NgtsGizmoViewportAxis.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewportAxis, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1151
|
+
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: `
|
|
1157
1152
|
<ngt-group [rotation]="get('rotation')">
|
|
1158
1153
|
<ngt-mesh [position]="[0.4, 0, 0]">
|
|
1159
1154
|
<ngt-box-geometry *args="get('scale')" />
|
|
@@ -1161,7 +1156,7 @@ NgtsGizmoViewportAxis.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1161
1156
|
</ngt-mesh>
|
|
1162
1157
|
</ngt-group>
|
|
1163
1158
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
1164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewportAxis, decorators: [{
|
|
1165
1160
|
type: Component,
|
|
1166
1161
|
args: [{
|
|
1167
1162
|
selector: 'ngts-gizmo-viewport-axis[color][rotation]',
|
|
@@ -1262,8 +1257,8 @@ class NgtsGizmoViewportAxisHead extends NgtRxStore {
|
|
|
1262
1257
|
}
|
|
1263
1258
|
}
|
|
1264
1259
|
}
|
|
1265
|
-
NgtsGizmoViewportAxisHead.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1266
|
-
NgtsGizmoViewportAxisHead.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1260
|
+
NgtsGizmoViewportAxisHead.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewportAxisHead, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1261
|
+
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: `
|
|
1267
1262
|
<ngt-sprite
|
|
1268
1263
|
ngtCompound
|
|
1269
1264
|
[scale]="get('scale')"
|
|
@@ -1281,7 +1276,7 @@ NgtsGizmoViewportAxisHead.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
1281
1276
|
</ngt-sprite-material>
|
|
1282
1277
|
</ngt-sprite>
|
|
1283
1278
|
`, isInline: true });
|
|
1284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewportAxisHead, decorators: [{
|
|
1285
1280
|
type: Component,
|
|
1286
1281
|
args: [{
|
|
1287
1282
|
selector: 'ngts-gizmo-viewport-axis-head',
|
|
@@ -1375,8 +1370,8 @@ class NgtsGizmoViewport extends NgtRxStore {
|
|
|
1375
1370
|
}
|
|
1376
1371
|
}
|
|
1377
1372
|
}
|
|
1378
|
-
NgtsGizmoViewport.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1379
|
-
NgtsGizmoViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1373
|
+
NgtsGizmoViewport.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewport, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1374
|
+
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: `
|
|
1380
1375
|
<ngt-group ngtCompound [scale]="40">
|
|
1381
1376
|
<ngts-gizmo-viewport-axis
|
|
1382
1377
|
[color]="get('axisColors')[0]"
|
|
@@ -1464,7 +1459,7 @@ NgtsGizmoViewport.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
1464
1459
|
<ngt-point-light position="10" intensity="0.5"></ngt-point-light>
|
|
1465
1460
|
</ngt-group>
|
|
1466
1461
|
`, 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"] }] });
|
|
1467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsGizmoViewport, decorators: [{
|
|
1468
1463
|
type: Component,
|
|
1469
1464
|
args: [{
|
|
1470
1465
|
selector: 'ngts-gizmo-viewport',
|
|
@@ -1645,8 +1640,8 @@ class NgtsQuadraticBezierLine extends NgtsLineInput {
|
|
|
1645
1640
|
return this.curve.getPoints(segments);
|
|
1646
1641
|
}
|
|
1647
1642
|
}
|
|
1648
|
-
NgtsQuadraticBezierLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1649
|
-
NgtsQuadraticBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1643
|
+
NgtsQuadraticBezierLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsQuadraticBezierLine, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1644
|
+
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: `
|
|
1650
1645
|
<ngts-line
|
|
1651
1646
|
[lineRef]="lineRef"
|
|
1652
1647
|
[points]="get('points')"
|
|
@@ -1664,7 +1659,7 @@ NgtsQuadraticBezierLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
1664
1659
|
[worldUnits]="get('worldUnits')"
|
|
1665
1660
|
/>
|
|
1666
1661
|
`, isInline: true, dependencies: [{ kind: "component", type: NgtsLine, selector: "ngts-line[points]", inputs: ["lineRef", "points", "segments"] }] });
|
|
1667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsQuadraticBezierLine, decorators: [{
|
|
1668
1663
|
type: Component,
|
|
1669
1664
|
args: [{
|
|
1670
1665
|
selector: 'ngts-quadratic-bezier-line',
|
|
@@ -1793,14 +1788,14 @@ class NgtsText3D extends NgtRxStore {
|
|
|
1793
1788
|
});
|
|
1794
1789
|
}
|
|
1795
1790
|
}
|
|
1796
|
-
NgtsText3D.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1797
|
-
NgtsText3D.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1791
|
+
NgtsText3D.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsText3D, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1792
|
+
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: `
|
|
1798
1793
|
<ngt-mesh ngtCompound>
|
|
1799
1794
|
<ngt-text-geometry *args="geometryArgs$ | ngtPush : null" />
|
|
1800
1795
|
<ng-content />
|
|
1801
1796
|
</ngt-mesh>
|
|
1802
1797
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }, { kind: "pipe", type: NgtPush, name: "ngtPush" }] });
|
|
1803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsText3D, decorators: [{
|
|
1804
1799
|
type: Component,
|
|
1805
1800
|
args: [{
|
|
1806
1801
|
selector: 'ngts-text-3d[font]',
|
|
@@ -1892,12 +1887,13 @@ class NgtsText extends NgtRxStore {
|
|
|
1892
1887
|
});
|
|
1893
1888
|
}
|
|
1894
1889
|
}
|
|
1895
|
-
NgtsText.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.
|
|
1896
|
-
NgtsText.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.
|
|
1897
|
-
<ng-container
|
|
1890
|
+
NgtsText.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsText, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1891
|
+
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: `
|
|
1892
|
+
<ng-container>
|
|
1898
1893
|
<ngt-primitive
|
|
1899
1894
|
ngtCompound
|
|
1900
|
-
*
|
|
1895
|
+
*args="[troikaText]"
|
|
1896
|
+
[ref]="textRef"
|
|
1901
1897
|
[text]="get('text')"
|
|
1902
1898
|
[anchorX]="get('anchorX')"
|
|
1903
1899
|
[anchorY]="get('anchorY')"
|
|
@@ -1906,17 +1902,18 @@ NgtsText.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
|
1906
1902
|
<ng-content />
|
|
1907
1903
|
</ngt-primitive>
|
|
1908
1904
|
</ng-container>
|
|
1909
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }
|
|
1910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.
|
|
1905
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "[args]", inputs: ["args"] }] });
|
|
1906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NgtsText, decorators: [{
|
|
1911
1907
|
type: Component,
|
|
1912
1908
|
args: [{
|
|
1913
1909
|
selector: 'ngts-text[text]',
|
|
1914
1910
|
standalone: true,
|
|
1915
1911
|
template: `
|
|
1916
|
-
<ng-container
|
|
1912
|
+
<ng-container>
|
|
1917
1913
|
<ngt-primitive
|
|
1918
1914
|
ngtCompound
|
|
1919
|
-
*
|
|
1915
|
+
*args="[troikaText]"
|
|
1916
|
+
[ref]="textRef"
|
|
1920
1917
|
[text]="get('text')"
|
|
1921
1918
|
[anchorX]="get('anchorX')"
|
|
1922
1919
|
[anchorY]="get('anchorY')"
|
|
@@ -1926,7 +1923,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
1926
1923
|
</ngt-primitive>
|
|
1927
1924
|
</ng-container>
|
|
1928
1925
|
`,
|
|
1929
|
-
imports: [NgtArgs
|
|
1926
|
+
imports: [NgtArgs],
|
|
1930
1927
|
providers: [RxActionFactory],
|
|
1931
1928
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1932
1929
|
}]
|