angular-three 1.9.13 → 1.9.15
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/README.md +2 -0
- package/esm2020/lib/canvas.mjs +3 -3
- package/esm2020/lib/directives/args.mjs +3 -3
- package/esm2020/lib/directives/common.mjs +3 -3
- package/esm2020/lib/directives/parent.mjs +3 -3
- package/esm2020/lib/directives/repeat.mjs +3 -3
- package/esm2020/lib/pipes/push.mjs +3 -3
- package/esm2020/lib/portal.mjs +9 -9
- package/esm2020/lib/renderer/renderer.mjs +25 -21
- package/esm2020/lib/renderer/utils.mjs +2 -2
- package/esm2020/lib/routed-scene.mjs +3 -3
- package/esm2020/lib/stores/rx-store.mjs +3 -3
- package/esm2020/lib/stores/store.mjs +5 -5
- package/fesm2015/angular-three.mjs +65 -58
- package/fesm2015/angular-three.mjs.map +1 -1
- package/fesm2020/angular-three.mjs +62 -58
- package/fesm2020/angular-three.mjs.map +1 -1
- package/package.json +3 -3
- package/plugin/package.json +4 -1
|
@@ -581,9 +581,9 @@ class NgtRxStore extends RxState {
|
|
|
581
581
|
this.hold($, () => void requestAnimationFrame(() => void safeDetectChanges(cdr)));
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
NgtRxStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
585
|
-
NgtRxStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
584
|
+
NgtRxStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtRxStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
585
|
+
NgtRxStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtRxStore });
|
|
586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtRxStore, decorators: [{
|
|
587
587
|
type: Injectable
|
|
588
588
|
}], ctorParameters: function () { return []; } });
|
|
589
589
|
|
|
@@ -799,7 +799,7 @@ class NgtStore extends NgtRxStore {
|
|
|
799
799
|
camera.lookAt(0, 0, 0);
|
|
800
800
|
}
|
|
801
801
|
// update projection matrix after applyprops
|
|
802
|
-
camera.updateProjectionMatrix();
|
|
802
|
+
camera.updateProjectionMatrix?.();
|
|
803
803
|
}
|
|
804
804
|
if (!is.instance(camera))
|
|
805
805
|
camera = prepare(camera, { store: this });
|
|
@@ -954,9 +954,9 @@ class NgtStore extends NgtRxStore {
|
|
|
954
954
|
this.hold(this.select(), () => invalidate(this));
|
|
955
955
|
}
|
|
956
956
|
}
|
|
957
|
-
NgtStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
958
|
-
NgtStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
957
|
+
NgtStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtStore, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
958
|
+
NgtStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtStore });
|
|
959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtStore, decorators: [{
|
|
960
960
|
type: Injectable
|
|
961
961
|
}] });
|
|
962
962
|
function computeInitialSize(canvas, defaultSize) {
|
|
@@ -1007,9 +1007,9 @@ class NgtCommonDirective {
|
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
|
-
NgtCommonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1011
|
-
NgtCommonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1010
|
+
NgtCommonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtCommonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1011
|
+
NgtCommonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: NgtCommonDirective, ngImport: i0 });
|
|
1012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtCommonDirective, decorators: [{
|
|
1013
1013
|
type: Directive
|
|
1014
1014
|
}], ctorParameters: function () { return []; } });
|
|
1015
1015
|
|
|
@@ -1036,9 +1036,9 @@ class NgtArgs extends NgtCommonDirective {
|
|
|
1036
1036
|
return !this.injected && !!this.injectedArgs.length;
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
|
-
NgtArgs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1040
|
-
NgtArgs.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1039
|
+
NgtArgs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtArgs, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1040
|
+
NgtArgs.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: NgtArgs, isStandalone: true, selector: "[args]", inputs: { args: "args" }, usesInheritance: true, ngImport: i0 });
|
|
1041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtArgs, decorators: [{
|
|
1042
1042
|
type: Directive,
|
|
1043
1043
|
args: [{ selector: '[args]', standalone: true }]
|
|
1044
1044
|
}], propDecorators: { args: [{
|
|
@@ -1068,9 +1068,9 @@ class NgtParent extends NgtCommonDirective {
|
|
|
1068
1068
|
return !this.injected && !!this.injectedParent;
|
|
1069
1069
|
}
|
|
1070
1070
|
}
|
|
1071
|
-
NgtParent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1072
|
-
NgtParent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1071
|
+
NgtParent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtParent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1072
|
+
NgtParent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: NgtParent, isStandalone: true, selector: "[parent]", inputs: { parent: "parent" }, usesInheritance: true, ngImport: i0 });
|
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtParent, decorators: [{
|
|
1074
1074
|
type: Directive,
|
|
1075
1075
|
args: [{ selector: '[parent]', standalone: true }]
|
|
1076
1076
|
}], propDecorators: { parent: [{
|
|
@@ -1565,7 +1565,7 @@ function processThreeEvent(instance, priority, eventName, callback, cdr, targetC
|
|
|
1565
1565
|
if (eventName === SPECIAL_EVENTS.AFTER_UPDATE || eventName === SPECIAL_EVENTS.AFTER_ATTACH) {
|
|
1566
1566
|
let emitter = lS[eventName];
|
|
1567
1567
|
if (!emitter)
|
|
1568
|
-
emitter = new EventEmitter();
|
|
1568
|
+
emitter = lS[eventName] = new EventEmitter();
|
|
1569
1569
|
const sub = emitter.subscribe(callback);
|
|
1570
1570
|
return sub.unsubscribe.bind(sub);
|
|
1571
1571
|
}
|
|
@@ -2009,9 +2009,9 @@ class NgtRendererFactory {
|
|
|
2009
2009
|
return renderer;
|
|
2010
2010
|
}
|
|
2011
2011
|
}
|
|
2012
|
-
NgtRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2013
|
-
NgtRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
2014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2012
|
+
NgtRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtRendererFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2013
|
+
NgtRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtRendererFactory });
|
|
2014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtRendererFactory, decorators: [{
|
|
2015
2015
|
type: Injectable
|
|
2016
2016
|
}] });
|
|
2017
2017
|
/**
|
|
@@ -2089,6 +2089,7 @@ class NgtRenderer {
|
|
|
2089
2089
|
const instance = prepare(new threeTarget(...injectedArgs), { store, args: injectedArgs });
|
|
2090
2090
|
const node = this.store.createNode('three', instance);
|
|
2091
2091
|
const localState = getLocalState(instance);
|
|
2092
|
+
// auto-attach for geometry and material
|
|
2092
2093
|
if (is.geometry(instance)) {
|
|
2093
2094
|
localState.attach = ['geometry'];
|
|
2094
2095
|
}
|
|
@@ -2192,6 +2193,7 @@ class NgtRenderer {
|
|
|
2192
2193
|
// if child is three but haven't been attached to a parent yet
|
|
2193
2194
|
(cRS[0 /* NgtRendererClassId.type */] === 'three' && !getLocalState(newChild).parent) ||
|
|
2194
2195
|
// or both parent and child are DOM elements
|
|
2196
|
+
// or they are compound AND haven't had a THREE instance yet
|
|
2195
2197
|
((pRS[0 /* NgtRendererClassId.type */] === 'dom' ||
|
|
2196
2198
|
(pRS[0 /* NgtRendererClassId.type */] === 'compound' && !pRS[7 /* NgtRendererClassId.compounded */])) &&
|
|
2197
2199
|
(cRS[0 /* NgtRendererClassId.type */] === 'dom' ||
|
|
@@ -2265,10 +2267,7 @@ class NgtRenderer {
|
|
|
2265
2267
|
}
|
|
2266
2268
|
if (rS[7 /* NgtRendererClassId.compounded */].__ngt_renderer__[5 /* NgtRendererClassId.compound */]) {
|
|
2267
2269
|
Object.assign(rS[7 /* NgtRendererClassId.compounded */].__ngt_renderer__[5 /* NgtRendererClassId.compound */], {
|
|
2268
|
-
props: {
|
|
2269
|
-
...rS[7 /* NgtRendererClassId.compounded */].__ngt_renderer__[5 /* NgtRendererClassId.compound */],
|
|
2270
|
-
[name]: value,
|
|
2271
|
-
},
|
|
2270
|
+
props: Object.assign(rS[7 /* NgtRendererClassId.compounded */].__ngt_renderer__[5 /* NgtRendererClassId.compound */], { [name]: value }),
|
|
2272
2271
|
});
|
|
2273
2272
|
}
|
|
2274
2273
|
this.setProperty(rS[7 /* NgtRendererClassId.compounded */], name, value);
|
|
@@ -2280,13 +2279,30 @@ class NgtRenderer {
|
|
|
2280
2279
|
listen(target, eventName, callback) {
|
|
2281
2280
|
const rS = target.__ngt_renderer__;
|
|
2282
2281
|
const targetCdr = rS?.[14 /* NgtRendererClassId.injectorFactory */]?.().get(ChangeDetectorRef, null);
|
|
2283
|
-
|
|
2282
|
+
if (rS[0 /* NgtRendererClassId.type */] === 'three' ||
|
|
2283
|
+
(rS[0 /* NgtRendererClassId.type */] === 'compound' && rS[7 /* NgtRendererClassId.compounded */])) {
|
|
2284
|
+
const instance = rS[7 /* NgtRendererClassId.compounded */] || target;
|
|
2285
|
+
const priority = getLocalState(target).priority;
|
|
2286
|
+
return processThreeEvent(instance, priority || 0, eventName, callback, this.store.rootCdr, targetCdr);
|
|
2287
|
+
}
|
|
2288
|
+
if (rS[0 /* NgtRendererClassId.type */] === 'compound' && !rS[7 /* NgtRendererClassId.compounded */]) {
|
|
2289
|
+
this.store.queueOperation(target, [
|
|
2290
|
+
'op',
|
|
2291
|
+
() => this.store.queueOperation(target, ['cleanUp', this.listen(target, eventName, callback)]),
|
|
2292
|
+
]);
|
|
2293
|
+
}
|
|
2294
|
+
// setup a new callback with CDR so that it will trigger change detection properly
|
|
2284
2295
|
const callbackWithCdr = (event) => {
|
|
2285
2296
|
const value = callback(event);
|
|
2286
2297
|
safeDetectChanges(targetCdr);
|
|
2287
2298
|
safeDetectChanges(this.store.rootCdr);
|
|
2288
2299
|
return value;
|
|
2289
2300
|
};
|
|
2301
|
+
// if the target doesn't have __ngt_renderer__, we delegate
|
|
2302
|
+
if (!rS) {
|
|
2303
|
+
return this.delegate.listen(target, eventName, callbackWithCdr);
|
|
2304
|
+
}
|
|
2305
|
+
// if target is DOM node, then we pass that to delegate Renderer
|
|
2290
2306
|
if (this.store.isDOM(target)) {
|
|
2291
2307
|
return this.delegate.listen(target, eventName, callbackWithCdr);
|
|
2292
2308
|
}
|
|
@@ -2302,18 +2318,6 @@ class NgtRenderer {
|
|
|
2302
2318
|
: target['ownerDocument'];
|
|
2303
2319
|
return this.delegate.listen(eventTarget, event, callbackWithCdr);
|
|
2304
2320
|
}
|
|
2305
|
-
if (rS[0 /* NgtRendererClassId.type */] === 'three' ||
|
|
2306
|
-
(rS[0 /* NgtRendererClassId.type */] === 'compound' && rS[7 /* NgtRendererClassId.compounded */])) {
|
|
2307
|
-
const instance = rS[7 /* NgtRendererClassId.compounded */] || target;
|
|
2308
|
-
const priority = getLocalState(target).priority;
|
|
2309
|
-
return processThreeEvent(instance, priority || 0, eventName, callback, this.store.rootCdr, targetCdr);
|
|
2310
|
-
}
|
|
2311
|
-
if (rS[0 /* NgtRendererClassId.type */] === 'compound' && !rS[7 /* NgtRendererClassId.compounded */]) {
|
|
2312
|
-
this.store.queueOperation(target, [
|
|
2313
|
-
'op',
|
|
2314
|
-
() => this.store.queueOperation(target, ['cleanUp', this.listen(target, eventName, callback)]),
|
|
2315
|
-
]);
|
|
2316
|
-
}
|
|
2317
2321
|
return () => { };
|
|
2318
2322
|
}
|
|
2319
2323
|
get data() {
|
|
@@ -2567,13 +2571,13 @@ class NgtCanvas extends NgtRxStore {
|
|
|
2567
2571
|
safeDetectChanges(this.cdr);
|
|
2568
2572
|
}
|
|
2569
2573
|
}
|
|
2570
|
-
NgtCanvas.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2571
|
-
NgtCanvas.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
2574
|
+
NgtCanvas.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtCanvas, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2575
|
+
NgtCanvas.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: NgtCanvas, isStandalone: true, selector: "ngt-canvas", inputs: { sceneGraph: "sceneGraph", sceneGraphInputs: "sceneGraphInputs", compoundPrefixes: "compoundPrefixes", linear: "linear", legacy: "legacy", flat: "flat", orthographic: "orthographic", frameloop: "frameloop", dpr: "dpr", raycaster: "raycaster", shadows: "shadows", camera: "camera", gl: "gl", eventSource: "eventSource", eventPrefix: "eventPrefix", lookAt: "lookAt", performance: "performance" }, outputs: { created: "created", pointerMissed: "pointerMissed" }, host: { properties: { "class.ngt-canvas": "this.hbClass", "style.pointerEvents": "this.hbPointerEvents" } }, providers: [NgtStore, provideNgxResizeOptions({ emitInZone: false })], viewQueries: [{ propertyName: "glCanvas", first: true, predicate: ["glCanvas"], descendants: true, static: true }, { propertyName: "glAnchor", first: true, predicate: ["glCanvas"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
2572
2576
|
<div (ngxResize)="onResize($event)" style="height: 100%; width: 100%;">
|
|
2573
2577
|
<canvas #glCanvas style="display: block;"></canvas>
|
|
2574
2578
|
</div>
|
|
2575
2579
|
`, isInline: true, styles: [":host{display:block;position:relative;width:100%;height:100%;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgxResize, selector: "[ngxResize]", inputs: ["ngxResizeOptions"], outputs: ["ngxResize"] }] });
|
|
2576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtCanvas, decorators: [{
|
|
2577
2581
|
type: Component,
|
|
2578
2582
|
args: [{ selector: 'ngt-canvas', standalone: true, template: `
|
|
2579
2583
|
<div (ngxResize)="onResize($event)" style="height: 100%; width: 100%;">
|
|
@@ -2768,9 +2772,9 @@ class NgtRepeat extends NgForOf {
|
|
|
2768
2772
|
this.ngForOf = Number.isInteger(count) ? Array.from({ length: count }, (_, i) => i) : [];
|
|
2769
2773
|
}
|
|
2770
2774
|
}
|
|
2771
|
-
NgtRepeat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2772
|
-
NgtRepeat.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
2773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2775
|
+
NgtRepeat.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtRepeat, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2776
|
+
NgtRepeat.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: NgtRepeat, isStandalone: true, selector: "[ngFor][ngForRepeat]", inputs: { ngForRepeat: "ngForRepeat" }, usesInheritance: true, ngImport: i0 });
|
|
2777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtRepeat, decorators: [{
|
|
2774
2778
|
type: Directive,
|
|
2775
2779
|
args: [{ selector: '[ngFor][ngForRepeat]', standalone: true }]
|
|
2776
2780
|
}], propDecorators: { ngForRepeat: [{
|
|
@@ -2815,9 +2819,9 @@ class NgtPush {
|
|
|
2815
2819
|
this.obj = undefined;
|
|
2816
2820
|
}
|
|
2817
2821
|
}
|
|
2818
|
-
NgtPush.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2819
|
-
NgtPush.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
2820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2822
|
+
NgtPush.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtPush, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2823
|
+
NgtPush.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: NgtPush, isStandalone: true, name: "ngtPush", pure: false });
|
|
2824
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtPush, decorators: [{
|
|
2821
2825
|
type: Pipe,
|
|
2822
2826
|
args: [{ name: 'ngtPush', pure: false, standalone: true }]
|
|
2823
2827
|
}] });
|
|
@@ -2866,9 +2870,9 @@ class NgtPortalBeforeRender {
|
|
|
2866
2870
|
this.subscription?.();
|
|
2867
2871
|
}
|
|
2868
2872
|
}
|
|
2869
|
-
NgtPortalBeforeRender.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2870
|
-
NgtPortalBeforeRender.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
2871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2873
|
+
NgtPortalBeforeRender.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtPortalBeforeRender, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2874
|
+
NgtPortalBeforeRender.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: NgtPortalBeforeRender, isStandalone: true, selector: "[ngtPortalBeforeRender]", inputs: { renderPriority: "renderPriority", parentScene: "parentScene", parentCamera: "parentCamera" }, outputs: { beforeRender: "beforeRender" }, ngImport: i0 });
|
|
2875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtPortalBeforeRender, decorators: [{
|
|
2872
2876
|
type: Directive,
|
|
2873
2877
|
args: [{ selector: '[ngtPortalBeforeRender]', standalone: true }]
|
|
2874
2878
|
}], propDecorators: { renderPriority: [{
|
|
@@ -2889,9 +2893,9 @@ class NgtPortalContent {
|
|
|
2889
2893
|
}
|
|
2890
2894
|
}
|
|
2891
2895
|
}
|
|
2892
|
-
NgtPortalContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
2893
|
-
NgtPortalContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
2894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
2896
|
+
NgtPortalContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtPortalContent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ViewContainerRef, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2897
|
+
NgtPortalContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: NgtPortalContent, isStandalone: true, selector: "ng-template[ngtPortalContent]", ngImport: i0 });
|
|
2898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtPortalContent, decorators: [{
|
|
2895
2899
|
type: Directive,
|
|
2896
2900
|
args: [{ selector: 'ng-template[ngtPortalContent]', standalone: true }]
|
|
2897
2901
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ViewContainerRef, decorators: [{
|
|
@@ -2998,8 +3002,8 @@ class NgtPortal extends NgtRxStore {
|
|
|
2998
3002
|
};
|
|
2999
3003
|
}
|
|
3000
3004
|
}
|
|
3001
|
-
NgtPortal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
3002
|
-
NgtPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
3005
|
+
NgtPortal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtPortal, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3006
|
+
NgtPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: NgtPortal, isStandalone: true, selector: "ngt-portal", inputs: { container: "container", state: "state", autoRender: "autoRender", autoRenderPriority: "autoRenderPriority" }, outputs: { beforeRender: "beforeRender" }, providers: [NgtStore], queries: [{ propertyName: "portalContentTemplate", first: true, predicate: NgtPortalContent, descendants: true, read: TemplateRef, static: true }], viewQueries: [{ propertyName: "portalContentAnchor", first: true, predicate: ["portalContentAnchor"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
3003
3007
|
<ng-container #portalContentAnchor>
|
|
3004
3008
|
<ng-container
|
|
3005
3009
|
*ngIf="autoRender && portalContentRendered"
|
|
@@ -3011,7 +3015,7 @@ NgtPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15
|
|
|
3011
3015
|
/>
|
|
3012
3016
|
</ng-container>
|
|
3013
3017
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgtPortalBeforeRender, selector: "[ngtPortalBeforeRender]", inputs: ["renderPriority", "parentScene", "parentCamera"], outputs: ["beforeRender"] }] });
|
|
3014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
3018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtPortal, decorators: [{
|
|
3015
3019
|
type: Component,
|
|
3016
3020
|
args: [{
|
|
3017
3021
|
selector: 'ngt-portal',
|
|
@@ -3058,9 +3062,9 @@ class NgtRoutedScene {
|
|
|
3058
3062
|
}
|
|
3059
3063
|
}
|
|
3060
3064
|
NgtRoutedScene.isRoutedScene = true;
|
|
3061
|
-
NgtRoutedScene.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
3062
|
-
NgtRoutedScene.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.
|
|
3063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
3065
|
+
NgtRoutedScene.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtRoutedScene, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
3066
|
+
NgtRoutedScene.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: NgtRoutedScene, isStandalone: true, selector: "ngt-routed-scene", ngImport: i0, template: `<router-outlet />`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
3067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NgtRoutedScene, decorators: [{
|
|
3064
3068
|
type: Component,
|
|
3065
3069
|
args: [{
|
|
3066
3070
|
standalone: true,
|