angular-three-postprocessing 4.2.1 → 4.2.2
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.
|
@@ -42,15 +42,15 @@ class NgtpEffectBlendMode {
|
|
|
42
42
|
/** Reference to the parent NgtpEffect directive, if available */
|
|
43
43
|
this.effect = inject(NgtpEffect, { optional: true });
|
|
44
44
|
}
|
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
46
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpEffectBlendMode, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
46
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: NgtpEffectBlendMode, isStandalone: true, selector: "ngtp-effect-blend-mode", ngImport: i0, template: `
|
|
47
47
|
@if (effect) {
|
|
48
48
|
<ngt-value [rawValue]="effect.blendFunction()" attach="blendMode.blendFunction" />
|
|
49
49
|
<ngt-value [rawValue]="effect.opacity()" attach="blendMode.opacity.value" />
|
|
50
50
|
}
|
|
51
51
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpEffectBlendMode, decorators: [{
|
|
54
54
|
type: Component,
|
|
55
55
|
args: [{
|
|
56
56
|
selector: 'ngtp-effect-blend-mode',
|
|
@@ -88,22 +88,22 @@ class NgtpEffect {
|
|
|
88
88
|
* The blend function used to combine this effect with the scene.
|
|
89
89
|
* @see BlendFunction from postprocessing library
|
|
90
90
|
*/
|
|
91
|
-
this.blendFunction = input(this.defaultEffectOptions?.blendFunction, ...(ngDevMode ? [{ debugName: "blendFunction" }] : []));
|
|
91
|
+
this.blendFunction = input(this.defaultEffectOptions?.blendFunction, ...(ngDevMode ? [{ debugName: "blendFunction" }] : /* istanbul ignore next */ []));
|
|
92
92
|
/**
|
|
93
93
|
* The opacity of the effect.
|
|
94
94
|
* @default undefined (uses effect's default)
|
|
95
95
|
*/
|
|
96
|
-
this.opacity = input(this.defaultEffectOptions?.opacity, ...(ngDevMode ? [{ debugName: "opacity" }] : []));
|
|
96
|
+
this.opacity = input(this.defaultEffectOptions?.opacity, ...(ngDevMode ? [{ debugName: "opacity" }] : /* istanbul ignore next */ []));
|
|
97
97
|
this.store = injectStore();
|
|
98
98
|
/** The current camera from the store */
|
|
99
99
|
this.camera = this.store.camera;
|
|
100
100
|
/** Function to invalidate the render loop, triggering a re-render */
|
|
101
101
|
this.invalidate = this.store.invalidate;
|
|
102
102
|
}
|
|
103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
104
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
103
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpEffect, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
104
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.9", type: NgtpEffect, isStandalone: true, inputs: { blendFunction: { classPropertyName: "blendFunction", publicName: "blendFunction", isSignal: true, isRequired: false, transformFunction: null }, opacity: { classPropertyName: "opacity", publicName: "opacity", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
105
105
|
}
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpEffect, decorators: [{
|
|
107
107
|
type: Directive
|
|
108
108
|
}], propDecorators: { blendFunction: [{ type: i0.Input, args: [{ isSignal: true, alias: "blendFunction", required: false }] }], opacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "opacity", required: false }] }] } });
|
|
109
109
|
|
|
@@ -153,7 +153,7 @@ class NgtpEffectComposer {
|
|
|
153
153
|
* Configuration options for the effect composer.
|
|
154
154
|
* @see NgtpEffectComposerOptions
|
|
155
155
|
*/
|
|
156
|
-
this.options = input(defaultOptions$6, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$6) });
|
|
156
|
+
this.options = input(defaultOptions$6, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultOptions$6) });
|
|
157
157
|
this.store = injectStore();
|
|
158
158
|
this.depthBuffer = pick(this.options, 'depthBuffer');
|
|
159
159
|
this.stencilBuffer = pick(this.options, 'stencilBuffer');
|
|
@@ -167,12 +167,12 @@ class NgtpEffectComposer {
|
|
|
167
167
|
* The scene used for rendering effects.
|
|
168
168
|
* Uses custom scene from options if provided, otherwise uses the store's scene.
|
|
169
169
|
*/
|
|
170
|
-
this.scene = computed(() => this.options().scene ?? this.store.scene(), ...(ngDevMode ? [{ debugName: "scene" }] : []));
|
|
170
|
+
this.scene = computed(() => this.options().scene ?? this.store.scene(), ...(ngDevMode ? [{ debugName: "scene" }] : /* istanbul ignore next */ []));
|
|
171
171
|
/**
|
|
172
172
|
* The camera used for rendering effects.
|
|
173
173
|
* Uses custom camera from options if provided, otherwise uses the store's camera.
|
|
174
174
|
*/
|
|
175
|
-
this.camera = computed(() => this.options().camera ?? this.store.camera(), ...(ngDevMode ? [{ debugName: "camera" }] : []));
|
|
175
|
+
this.camera = computed(() => this.options().camera ?? this.store.camera(), ...(ngDevMode ? [{ debugName: "camera" }] : /* istanbul ignore next */ []));
|
|
176
176
|
this.groupRef = viewChild.required('group');
|
|
177
177
|
/**
|
|
178
178
|
* Computed render priority based on whether the composer is enabled.
|
|
@@ -183,7 +183,7 @@ class NgtpEffectComposer {
|
|
|
183
183
|
if (!enabled)
|
|
184
184
|
return 0;
|
|
185
185
|
return this.renderPriority();
|
|
186
|
-
}, ...(ngDevMode ? [{ debugName: "priority" }] : []));
|
|
186
|
+
}, ...(ngDevMode ? [{ debugName: "priority" }] : /* istanbul ignore next */ []));
|
|
187
187
|
/**
|
|
188
188
|
* Creates and configures the effect composer with render pass, normal pass,
|
|
189
189
|
* and depth downsampling pass based on options.
|
|
@@ -224,7 +224,7 @@ class NgtpEffectComposer {
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
return { composer, normalPass, downSamplingPass };
|
|
227
|
-
}, ...(ngDevMode ? [{ debugName: "composerData" }] : []));
|
|
227
|
+
}, ...(ngDevMode ? [{ debugName: "composerData" }] : /* istanbul ignore next */ []));
|
|
228
228
|
/**
|
|
229
229
|
* The underlying postprocessing EffectComposer instance.
|
|
230
230
|
* Can be used to access the composer directly for advanced use cases.
|
|
@@ -317,14 +317,14 @@ class NgtpEffectComposer {
|
|
|
317
317
|
}
|
|
318
318
|
}, { priority: this.priority });
|
|
319
319
|
}
|
|
320
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
321
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
320
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpEffectComposer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
321
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpEffectComposer, isStandalone: true, selector: "ngtp-effect-composer", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "groupRef", first: true, predicate: ["group"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
322
322
|
<ngt-group #group>
|
|
323
323
|
<ng-content />
|
|
324
324
|
</ngt-group>
|
|
325
325
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
326
326
|
}
|
|
327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpEffectComposer, decorators: [{
|
|
328
328
|
type: Component,
|
|
329
329
|
args: [{
|
|
330
330
|
selector: 'ngtp-effect-composer',
|
|
@@ -476,20 +476,20 @@ class NgtpASCII {
|
|
|
476
476
|
* Configuration options for the ASCII effect.
|
|
477
477
|
* @see ASCIIEffectOptions
|
|
478
478
|
*/
|
|
479
|
-
this.options = input(defaultOptions$5, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$5) });
|
|
479
|
+
this.options = input(defaultOptions$5, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultOptions$5) });
|
|
480
480
|
/** The underlying ASCIIEffect instance */
|
|
481
|
-
this.effect = computed(() => new ASCIIEffect(this.options()), ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
481
|
+
this.effect = computed(() => new ASCIIEffect(this.options()), ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
482
482
|
effect((onCleanup) => {
|
|
483
483
|
const effect = this.effect();
|
|
484
484
|
onCleanup(() => effect.dispose());
|
|
485
485
|
});
|
|
486
486
|
}
|
|
487
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
488
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
487
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpASCII, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
488
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpASCII, isStandalone: true, selector: "ngtp-ascii", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
489
489
|
<ngt-primitive *args="[effect()]" />
|
|
490
490
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
491
491
|
}
|
|
492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpASCII, decorators: [{
|
|
493
493
|
type: Component,
|
|
494
494
|
args: [{
|
|
495
495
|
selector: 'ngtp-ascii',
|
|
@@ -509,7 +509,7 @@ const defaultOptions$4 = {
|
|
|
509
509
|
};
|
|
510
510
|
class NgtpAutofocus {
|
|
511
511
|
constructor() {
|
|
512
|
-
this.options = input(defaultOptions$4, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$4) });
|
|
512
|
+
this.options = input(defaultOptions$4, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultOptions$4) });
|
|
513
513
|
this.effectComposer = inject(NgtpEffectComposer);
|
|
514
514
|
this.store = injectStore();
|
|
515
515
|
this.hitpoint = new THREE.Vector3(0, 0, 0);
|
|
@@ -517,8 +517,8 @@ class NgtpAutofocus {
|
|
|
517
517
|
this.depthPickingPass = new DepthPickingPass();
|
|
518
518
|
this.copyPass = new CopyPass();
|
|
519
519
|
this.debugSize = pick(this.options, 'debug');
|
|
520
|
-
this.hitpointMeshRef = viewChild('hitpointMesh', ...(ngDevMode ? [{ debugName: "hitpointMeshRef" }] : []));
|
|
521
|
-
this.targetMeshRef = viewChild('targetMesh', ...(ngDevMode ? [{ debugName: "targetMeshRef" }] : []));
|
|
520
|
+
this.hitpointMeshRef = viewChild('hitpointMesh', ...(ngDevMode ? [{ debugName: "hitpointMeshRef" }] : /* istanbul ignore next */ []));
|
|
521
|
+
this.targetMeshRef = viewChild('targetMesh', ...(ngDevMode ? [{ debugName: "targetMeshRef" }] : /* istanbul ignore next */ []));
|
|
522
522
|
this.target = vector3(this.options, 'target', true);
|
|
523
523
|
this.dofEffect = computed(() => {
|
|
524
524
|
const [camera, options] = [this.effectComposer.camera(), this.options()];
|
|
@@ -526,7 +526,7 @@ class NgtpAutofocus {
|
|
|
526
526
|
const dof = new DepthOfFieldEffect(camera, dofOptions);
|
|
527
527
|
dof.target = new THREE.Vector3().copy(this.hitpoint);
|
|
528
528
|
return dof;
|
|
529
|
-
}, ...(ngDevMode ? [{ debugName: "dofEffect" }] : []));
|
|
529
|
+
}, ...(ngDevMode ? [{ debugName: "dofEffect" }] : /* istanbul ignore next */ []));
|
|
530
530
|
// add passes to composer
|
|
531
531
|
effect((onCleanup) => {
|
|
532
532
|
const composer = this.effectComposer.effectComposer();
|
|
@@ -587,8 +587,8 @@ class NgtpAutofocus {
|
|
|
587
587
|
targetMesh.position.copy(dof.target);
|
|
588
588
|
});
|
|
589
589
|
}
|
|
590
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
591
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
590
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpAutofocus, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
591
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: NgtpAutofocus, isStandalone: true, selector: "ngtp-autofocus", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "hitpointMeshRef", first: true, predicate: ["hitpointMesh"], descendants: true, isSignal: true }, { propertyName: "targetMeshRef", first: true, predicate: ["targetMesh"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
592
592
|
<ngt-primitive *args="[dofEffect()]" [dispose]="null" />
|
|
593
593
|
@if (debugSize(); as debugSize) {
|
|
594
594
|
<ngt-mesh #hitpointMesh>
|
|
@@ -607,7 +607,7 @@ class NgtpAutofocus {
|
|
|
607
607
|
}
|
|
608
608
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
609
609
|
}
|
|
610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpAutofocus, decorators: [{
|
|
611
611
|
type: Component,
|
|
612
612
|
args: [{
|
|
613
613
|
selector: 'ngtp-autofocus',
|
|
@@ -666,21 +666,21 @@ class NgtpBloom {
|
|
|
666
666
|
* Accepts all BloomEffectOptions except blendFunction (use the blendFunction input instead).
|
|
667
667
|
* @see BloomEffectOptions from postprocessing library
|
|
668
668
|
*/
|
|
669
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
669
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
670
670
|
/** Reference to the host NgtpEffect directive */
|
|
671
671
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
672
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
672
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
673
673
|
extend({ BloomEffect });
|
|
674
674
|
}
|
|
675
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
676
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
675
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpBloom, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
676
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpBloom, isStandalone: true, selector: "ngtp-bloom", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideDefaultEffectOptions({ blendFunction: BlendFunction.ADD })], viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
677
677
|
<ngt-bloom-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
678
678
|
<ngtp-effect-blend-mode />
|
|
679
679
|
<ng-content />
|
|
680
680
|
</ngt-bloom-effect>
|
|
681
681
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
682
682
|
}
|
|
683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpBloom, decorators: [{
|
|
684
684
|
type: Component,
|
|
685
685
|
args: [{
|
|
686
686
|
selector: 'ngtp-bloom',
|
|
@@ -717,21 +717,21 @@ class NgtpBrightnessContrast {
|
|
|
717
717
|
* Configuration options for the brightness/contrast effect.
|
|
718
718
|
* @see BrightnessEffectOptions
|
|
719
719
|
*/
|
|
720
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
720
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
721
721
|
/** Reference to the host NgtpEffect directive */
|
|
722
722
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
723
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
723
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
724
724
|
extend({ BrightnessContrastEffect });
|
|
725
725
|
}
|
|
726
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
727
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
726
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpBrightnessContrast, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
727
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpBrightnessContrast, isStandalone: true, selector: "ngtp-brightness-contrast", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
728
728
|
<ngt-brightness-contrast-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
729
729
|
<ngtp-effect-blend-mode />
|
|
730
730
|
<ng-content />
|
|
731
731
|
</ngt-brightness-contrast-effect>
|
|
732
732
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
733
733
|
}
|
|
734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpBrightnessContrast, decorators: [{
|
|
735
735
|
type: Component,
|
|
736
736
|
args: [{
|
|
737
737
|
selector: 'ngtp-brightness-contrast',
|
|
@@ -767,21 +767,21 @@ class NgtpChromaticAberration {
|
|
|
767
767
|
* Configuration options for the chromatic aberration effect.
|
|
768
768
|
* @see ChromaticAberrationEffectOptions
|
|
769
769
|
*/
|
|
770
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
770
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
771
771
|
/** Reference to the host NgtpEffect directive */
|
|
772
772
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
773
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
773
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
774
774
|
extend({ ChromaticAberrationEffect });
|
|
775
775
|
}
|
|
776
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
777
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
776
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpChromaticAberration, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
777
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpChromaticAberration, isStandalone: true, selector: "ngtp-chromatic-aberration", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
778
778
|
<ngt-chromatic-aberration-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
779
779
|
<ngtp-effect-blend-mode />
|
|
780
780
|
<ng-content />
|
|
781
781
|
</ngt-chromatic-aberration-effect>
|
|
782
782
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
783
783
|
}
|
|
784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpChromaticAberration, decorators: [{
|
|
785
785
|
type: Component,
|
|
786
786
|
args: [{
|
|
787
787
|
selector: 'ngtp-chromatic-aberration',
|
|
@@ -825,18 +825,18 @@ class NgtpColorAverage {
|
|
|
825
825
|
* Configuration options for the color average effect.
|
|
826
826
|
* @default { blendFunction: BlendFunction.NORMAL }
|
|
827
827
|
*/
|
|
828
|
-
this.options = input({ blendFunction: BlendFunction.NORMAL }, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs({ blendFunction: BlendFunction.NORMAL }) });
|
|
829
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
828
|
+
this.options = input({ blendFunction: BlendFunction.NORMAL }, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs({ blendFunction: BlendFunction.NORMAL }) });
|
|
829
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
830
830
|
extend({ ColorAverageEffect });
|
|
831
831
|
}
|
|
832
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
833
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
832
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpColorAverage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
833
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpColorAverage, isStandalone: true, selector: "ngtp-color-average", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
834
834
|
<ngt-color-average-effect #effect *args="[options().blendFunction]">
|
|
835
835
|
<ng-content />
|
|
836
836
|
</ngt-color-average-effect>
|
|
837
837
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
838
838
|
}
|
|
839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpColorAverage, decorators: [{
|
|
840
840
|
type: Component,
|
|
841
841
|
args: [{
|
|
842
842
|
selector: 'ngtp-color-average',
|
|
@@ -870,21 +870,21 @@ class NgtpColorDepth {
|
|
|
870
870
|
* Configuration options for the color depth effect.
|
|
871
871
|
* @see ColorDepthEffectOptions
|
|
872
872
|
*/
|
|
873
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
873
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
874
874
|
/** Reference to the host NgtpEffect directive */
|
|
875
875
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
876
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
876
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
877
877
|
extend({ ColorDepthEffect });
|
|
878
878
|
}
|
|
879
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
880
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
879
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpColorDepth, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
880
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpColorDepth, isStandalone: true, selector: "ngtp-color-depth", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
881
881
|
<ngt-color-depth-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
882
882
|
<ngtp-effect-blend-mode />
|
|
883
883
|
<ng-content />
|
|
884
884
|
</ngt-color-depth-effect>
|
|
885
885
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
886
886
|
}
|
|
887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpColorDepth, decorators: [{
|
|
888
888
|
type: Component,
|
|
889
889
|
args: [{
|
|
890
890
|
selector: 'ngtp-color-depth',
|
|
@@ -920,21 +920,21 @@ class NgtpDepth {
|
|
|
920
920
|
* Configuration options for the depth effect.
|
|
921
921
|
* @see DepthEffectOptions
|
|
922
922
|
*/
|
|
923
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
923
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
924
924
|
/** Reference to the host NgtpEffect directive */
|
|
925
925
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
926
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
926
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
927
927
|
extend({ DepthEffect });
|
|
928
928
|
}
|
|
929
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
930
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
929
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpDepth, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
930
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpDepth, isStandalone: true, selector: "ngtp-depth", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
931
931
|
<ngt-depth-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
932
932
|
<ngtp-effect-blend-mode />
|
|
933
933
|
<ng-content />
|
|
934
934
|
</ngt-depth-effect>
|
|
935
935
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
936
936
|
}
|
|
937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpDepth, decorators: [{
|
|
938
938
|
type: Component,
|
|
939
939
|
args: [{
|
|
940
940
|
selector: 'ngtp-depth',
|
|
@@ -979,7 +979,7 @@ class NgtpDepthOfField {
|
|
|
979
979
|
* Configuration options for the depth of field effect.
|
|
980
980
|
* @see DOFOptions
|
|
981
981
|
*/
|
|
982
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
982
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
983
983
|
this.effectComposer = inject(NgtpEffectComposer);
|
|
984
984
|
/**
|
|
985
985
|
* Creates the DepthOfFieldEffect instance with the configured options.
|
|
@@ -1000,18 +1000,18 @@ class NgtpDepthOfField {
|
|
|
1000
1000
|
const maskPass = effect['maskPass'];
|
|
1001
1001
|
maskPass.maskFunction = MaskFunction.MULTIPLY_RGB_SET_ALPHA;
|
|
1002
1002
|
return effect;
|
|
1003
|
-
}, ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
1003
|
+
}, ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
1004
1004
|
effect((onCleanup) => {
|
|
1005
1005
|
const depthOfFieldEffect = this.effect();
|
|
1006
1006
|
onCleanup(() => depthOfFieldEffect.dispose());
|
|
1007
1007
|
});
|
|
1008
1008
|
}
|
|
1009
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1010
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
1009
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpDepthOfField, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1010
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpDepthOfField, isStandalone: true, selector: "ngtp-depth-of-field", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
1011
1011
|
<ngt-primitive *args="[effect()]" />
|
|
1012
1012
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1013
1013
|
}
|
|
1014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpDepthOfField, decorators: [{
|
|
1015
1015
|
type: Component,
|
|
1016
1016
|
args: [{
|
|
1017
1017
|
selector: 'ngtp-depth-of-field',
|
|
@@ -1043,21 +1043,21 @@ class NgtpDotScreen {
|
|
|
1043
1043
|
* Configuration options for the dot screen effect.
|
|
1044
1044
|
* @see DotScreenEffectOptions
|
|
1045
1045
|
*/
|
|
1046
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
1046
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
1047
1047
|
/** Reference to the host NgtpEffect directive */
|
|
1048
1048
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
1049
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
1049
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
1050
1050
|
extend({ DotScreenEffect });
|
|
1051
1051
|
}
|
|
1052
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1053
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
1052
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpDotScreen, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1053
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpDotScreen, isStandalone: true, selector: "ngtp-dot-screen", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
1054
1054
|
<ngt-dot-screen-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
1055
1055
|
<ngtp-effect-blend-mode />
|
|
1056
1056
|
<ng-content />
|
|
1057
1057
|
</ngt-dot-screen-effect>
|
|
1058
1058
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1059
1059
|
}
|
|
1060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpDotScreen, decorators: [{
|
|
1061
1061
|
type: Component,
|
|
1062
1062
|
args: [{
|
|
1063
1063
|
selector: 'ngtp-dot-screen',
|
|
@@ -1094,21 +1094,21 @@ class NgtpFXAA {
|
|
|
1094
1094
|
* Configuration options for the FXAA effect.
|
|
1095
1095
|
* @see FXAAEffectOptions
|
|
1096
1096
|
*/
|
|
1097
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
1097
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
1098
1098
|
/** Reference to the host NgtpEffect directive */
|
|
1099
1099
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
1100
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
1100
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
1101
1101
|
extend({ FXAAEffect });
|
|
1102
1102
|
}
|
|
1103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1104
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
1103
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpFXAA, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1104
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpFXAA, isStandalone: true, selector: "ngtp-fxaa", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
1105
1105
|
<ngt-fXAA-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
1106
1106
|
<ngtp-effect-blend-mode />
|
|
1107
1107
|
<ng-content />
|
|
1108
1108
|
</ngt-fXAA-effect>
|
|
1109
1109
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1110
1110
|
}
|
|
1111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpFXAA, decorators: [{
|
|
1112
1112
|
type: Component,
|
|
1113
1113
|
args: [{
|
|
1114
1114
|
selector: 'ngtp-fxaa',
|
|
@@ -1154,7 +1154,7 @@ class NgtpGlitch {
|
|
|
1154
1154
|
* @default { active: true }
|
|
1155
1155
|
* @see GlitchOptions
|
|
1156
1156
|
*/
|
|
1157
|
-
this.options = input({ active: true }, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs({ active: true }) });
|
|
1157
|
+
this.options = input({ active: true }, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs({ active: true }) });
|
|
1158
1158
|
this.active = pick(this.options, 'active');
|
|
1159
1159
|
this.mode = pick(this.options, 'mode');
|
|
1160
1160
|
this.ratio = pick(this.options, 'ratio');
|
|
@@ -1181,7 +1181,7 @@ class NgtpGlitch {
|
|
|
1181
1181
|
duration: this.duration(),
|
|
1182
1182
|
chromaticAberrationOffset: this.chromaticAberrationOffset(),
|
|
1183
1183
|
strength: this.strength(),
|
|
1184
|
-
}), ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
1184
|
+
}), ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
1185
1185
|
effect(() => {
|
|
1186
1186
|
const [glitchEffect, invalidate, mode, active] = [
|
|
1187
1187
|
this.effect(),
|
|
@@ -1197,12 +1197,12 @@ class NgtpGlitch {
|
|
|
1197
1197
|
onCleanup(() => effect.dispose());
|
|
1198
1198
|
});
|
|
1199
1199
|
}
|
|
1200
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1201
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
1200
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpGlitch, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1201
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpGlitch, isStandalone: true, selector: "ngtp-glitch", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
1202
1202
|
<ngt-primitive *args="[effect()]" />
|
|
1203
1203
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1204
1204
|
}
|
|
1205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpGlitch, decorators: [{
|
|
1206
1206
|
type: Component,
|
|
1207
1207
|
args: [{
|
|
1208
1208
|
selector: 'ngtp-glitch',
|
|
@@ -1241,7 +1241,7 @@ class NgtpGodRays {
|
|
|
1241
1241
|
* Must include a `sun` property with the light source reference.
|
|
1242
1242
|
* @see GodRaysOptions
|
|
1243
1243
|
*/
|
|
1244
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
1244
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
1245
1245
|
this.effectComposer = inject(NgtpEffectComposer);
|
|
1246
1246
|
this.effectOptions = omit(this.options, ['sun']);
|
|
1247
1247
|
this.sun = pick(this.options, 'sun');
|
|
@@ -1254,7 +1254,7 @@ class NgtpGodRays {
|
|
|
1254
1254
|
if (typeof sun === 'function')
|
|
1255
1255
|
return resolveRef(sun());
|
|
1256
1256
|
return resolveRef(sun);
|
|
1257
|
-
}, ...(ngDevMode ? [{ debugName: "sunElement" }] : []));
|
|
1257
|
+
}, ...(ngDevMode ? [{ debugName: "sunElement" }] : /* istanbul ignore next */ []));
|
|
1258
1258
|
/**
|
|
1259
1259
|
* The underlying GodRaysEffect instance.
|
|
1260
1260
|
* Created with the camera, sun element, and configured options.
|
|
@@ -1262,7 +1262,7 @@ class NgtpGodRays {
|
|
|
1262
1262
|
this.effect = computed(() => {
|
|
1263
1263
|
const [camera, sunElement, options] = [this.effectComposer.camera(), this.sunElement(), this.effectOptions()];
|
|
1264
1264
|
return new GodRaysEffect(camera, sunElement, options);
|
|
1265
|
-
}, ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
1265
|
+
}, ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
1266
1266
|
effect(() => {
|
|
1267
1267
|
const sunElement = this.sunElement();
|
|
1268
1268
|
if (!sunElement)
|
|
@@ -1275,12 +1275,12 @@ class NgtpGodRays {
|
|
|
1275
1275
|
onCleanup(() => effect.dispose());
|
|
1276
1276
|
});
|
|
1277
1277
|
}
|
|
1278
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1279
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
1278
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpGodRays, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1279
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpGodRays, isStandalone: true, selector: "ngtp-god-rays", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
1280
1280
|
<ngt-primitive *args="[effect()]" />
|
|
1281
1281
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1282
1282
|
}
|
|
1283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpGodRays, decorators: [{
|
|
1284
1284
|
type: Component,
|
|
1285
1285
|
args: [{
|
|
1286
1286
|
selector: 'ngtp-god-rays',
|
|
@@ -1312,11 +1312,11 @@ class NgtpGrid {
|
|
|
1312
1312
|
* Configuration options for the grid effect.
|
|
1313
1313
|
* @see GridOptions
|
|
1314
1314
|
*/
|
|
1315
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
1315
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
1316
1316
|
this.effectOptions = omit(this.options, ['size']);
|
|
1317
1317
|
this.size = pick(this.options, 'size');
|
|
1318
1318
|
/** The underlying GridEffect instance */
|
|
1319
|
-
this.effect = computed(() => new GridEffect(this.effectOptions()), ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
1319
|
+
this.effect = computed(() => new GridEffect(this.effectOptions()), ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
1320
1320
|
effect(() => {
|
|
1321
1321
|
const [size, effect] = [this.size(), this.effect()];
|
|
1322
1322
|
if (size) {
|
|
@@ -1328,12 +1328,12 @@ class NgtpGrid {
|
|
|
1328
1328
|
onCleanup(() => effect.dispose());
|
|
1329
1329
|
});
|
|
1330
1330
|
}
|
|
1331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1332
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
1331
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpGrid, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1332
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpGrid, isStandalone: true, selector: "ngtp-grid", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
1333
1333
|
<ngt-primitive *args="[effect()]" />
|
|
1334
1334
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1335
1335
|
}
|
|
1336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpGrid, decorators: [{
|
|
1337
1337
|
type: Component,
|
|
1338
1338
|
args: [{
|
|
1339
1339
|
selector: 'ngtp-grid',
|
|
@@ -1365,21 +1365,21 @@ class NgtpHueSaturation {
|
|
|
1365
1365
|
* Configuration options for the hue/saturation effect.
|
|
1366
1366
|
* @see HueSaturationEffectOptions
|
|
1367
1367
|
*/
|
|
1368
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
1368
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
1369
1369
|
/** Reference to the host NgtpEffect directive */
|
|
1370
1370
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
1371
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
1371
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
1372
1372
|
extend({ HueSaturationEffect });
|
|
1373
1373
|
}
|
|
1374
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1375
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
1374
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpHueSaturation, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1375
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpHueSaturation, isStandalone: true, selector: "ngtp-hue-saturation", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
1376
1376
|
<ngt-hue-saturation-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
1377
1377
|
<ngtp-effect-blend-mode />
|
|
1378
1378
|
<ng-content />
|
|
1379
1379
|
</ngt-hue-saturation-effect>
|
|
1380
1380
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1381
1381
|
}
|
|
1382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpHueSaturation, decorators: [{
|
|
1383
1383
|
type: Component,
|
|
1384
1384
|
args: [{
|
|
1385
1385
|
selector: 'ngtp-hue-saturation',
|
|
@@ -1892,7 +1892,7 @@ class NgtpLensFlare {
|
|
|
1892
1892
|
* Configuration options for the lens flare effect.
|
|
1893
1893
|
* @see LensFlareOptions
|
|
1894
1894
|
*/
|
|
1895
|
-
this.options = input(defaultOptions$3, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$3) });
|
|
1895
|
+
this.options = input(defaultOptions$3, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultOptions$3) });
|
|
1896
1896
|
this.store = injectStore();
|
|
1897
1897
|
this.effectComposer = inject(NgtpEffectComposer);
|
|
1898
1898
|
this.effectOptions = omit(this.options, ['position', 'followMouse', 'smoothTime']);
|
|
@@ -1902,7 +1902,7 @@ class NgtpLensFlare {
|
|
|
1902
1902
|
/** Cached vector for 2D mouse/raycaster coordinates */
|
|
1903
1903
|
this.mouse2d = new THREE.Vector2();
|
|
1904
1904
|
/** The underlying LensFlareEffect instance */
|
|
1905
|
-
this.effect = computed(() => new LensFlareEffect(this.effectOptions()), ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
1905
|
+
this.effect = computed(() => new LensFlareEffect(this.effectOptions()), ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
1906
1906
|
effect(() => {
|
|
1907
1907
|
const [lensFlareEffect, width, height] = [
|
|
1908
1908
|
this.effect(),
|
|
@@ -1976,12 +1976,12 @@ class NgtpLensFlare {
|
|
|
1976
1976
|
easing.damp(uOpacity, 'value', target, smoothTime, delta);
|
|
1977
1977
|
});
|
|
1978
1978
|
}
|
|
1979
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
1980
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
1979
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpLensFlare, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1980
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpLensFlare, isStandalone: true, selector: "ngtp-lens-flare", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
1981
1981
|
<ngt-primitive *args="[effect()]" [parameters]="{ dispose: null }" />
|
|
1982
1982
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1983
1983
|
}
|
|
1984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
1984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpLensFlare, decorators: [{
|
|
1985
1985
|
type: Component,
|
|
1986
1986
|
args: [{
|
|
1987
1987
|
selector: 'ngtp-lens-flare',
|
|
@@ -2019,7 +2019,7 @@ class NgtpLUT {
|
|
|
2019
2019
|
* Must include a `lut` texture.
|
|
2020
2020
|
* @see LUTOptions
|
|
2021
2021
|
*/
|
|
2022
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
2022
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
2023
2023
|
this.lut = pick(this.options, 'lut');
|
|
2024
2024
|
this.tetrahedralInterpolation = pick(this.options, 'tetrahedralInterpolation');
|
|
2025
2025
|
this.store = injectStore();
|
|
@@ -2027,7 +2027,7 @@ class NgtpLUT {
|
|
|
2027
2027
|
this.effect = computed(() => {
|
|
2028
2028
|
const { lut, ...options } = this.options();
|
|
2029
2029
|
return new LUT3DEffect(lut, options);
|
|
2030
|
-
}, ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
2030
|
+
}, ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
2031
2031
|
effect(() => {
|
|
2032
2032
|
const [effect, lut, tetrahedralInterpolation, invalidate] = [
|
|
2033
2033
|
this.effect(),
|
|
@@ -2046,12 +2046,12 @@ class NgtpLUT {
|
|
|
2046
2046
|
onCleanup(() => effect.dispose());
|
|
2047
2047
|
});
|
|
2048
2048
|
}
|
|
2049
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2050
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
2049
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpLUT, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2050
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpLUT, isStandalone: true, selector: "ngtp-lut", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2051
2051
|
<ngt-primitive *args="[effect()]" [dispose]="null" />
|
|
2052
2052
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2053
2053
|
}
|
|
2054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpLUT, decorators: [{
|
|
2055
2055
|
type: Component,
|
|
2056
2056
|
args: [{
|
|
2057
2057
|
selector: 'ngtp-lut',
|
|
@@ -2083,21 +2083,21 @@ class NgtpNoise {
|
|
|
2083
2083
|
* Configuration options for the noise effect.
|
|
2084
2084
|
* @see NoiseEffectOptions
|
|
2085
2085
|
*/
|
|
2086
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
2086
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
2087
2087
|
/** Reference to the host NgtpEffect directive */
|
|
2088
2088
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
2089
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
2089
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
2090
2090
|
extend({ NoiseEffect });
|
|
2091
2091
|
}
|
|
2092
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2093
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
2092
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpNoise, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2093
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpNoise, isStandalone: true, selector: "ngtp-noise", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideDefaultEffectOptions({ blendFunction: BlendFunction.COLOR_DODGE })], viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
2094
2094
|
<ngt-noise-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
2095
2095
|
<ngtp-effect-blend-mode />
|
|
2096
2096
|
<ng-content />
|
|
2097
2097
|
</ngt-noise-effect>
|
|
2098
2098
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2099
2099
|
}
|
|
2100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpNoise, decorators: [{
|
|
2101
2101
|
type: Component,
|
|
2102
2102
|
args: [{
|
|
2103
2103
|
selector: 'ngtp-noise',
|
|
@@ -2151,7 +2151,7 @@ class NgtpOutline {
|
|
|
2151
2151
|
* Configuration options for the outline effect.
|
|
2152
2152
|
* @see NgtpOutlineOptions
|
|
2153
2153
|
*/
|
|
2154
|
-
this.options = input(defaultOptions$2, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$2) });
|
|
2154
|
+
this.options = input(defaultOptions$2, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultOptions$2) });
|
|
2155
2155
|
this.selectionApi = inject(NgtSelectionApi, { optional: true });
|
|
2156
2156
|
this.effectComposer = inject(NgtpEffectComposer);
|
|
2157
2157
|
this.store = injectStore();
|
|
@@ -2216,7 +2216,7 @@ class NgtpOutline {
|
|
|
2216
2216
|
xRay,
|
|
2217
2217
|
...restOptions,
|
|
2218
2218
|
});
|
|
2219
|
-
}, ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
2219
|
+
}, ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
2220
2220
|
effect((onCleanup) => {
|
|
2221
2221
|
const effect = this.effect();
|
|
2222
2222
|
onCleanup(() => effect.dispose());
|
|
@@ -2282,12 +2282,12 @@ class NgtpOutline {
|
|
|
2282
2282
|
invalidate();
|
|
2283
2283
|
};
|
|
2284
2284
|
}
|
|
2285
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2286
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
2285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpOutline, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2286
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpOutline, isStandalone: true, selector: "ngtp-outline", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2287
2287
|
<ngt-primitive *args="[effect()]" />
|
|
2288
2288
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2289
2289
|
}
|
|
2290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpOutline, decorators: [{
|
|
2291
2291
|
type: Component,
|
|
2292
2292
|
args: [{
|
|
2293
2293
|
selector: 'ngtp-outline',
|
|
@@ -2320,21 +2320,21 @@ class NgtpPixelation {
|
|
|
2320
2320
|
* @default { granularity: 5 }
|
|
2321
2321
|
* @see PixelationOptions
|
|
2322
2322
|
*/
|
|
2323
|
-
this.options = input({ granularity: 5 }, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs({ granularity: 5 }) });
|
|
2323
|
+
this.options = input({ granularity: 5 }, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs({ granularity: 5 }) });
|
|
2324
2324
|
this.granularity = pick(this.options, 'granularity');
|
|
2325
2325
|
/** The underlying PixelationEffect instance */
|
|
2326
|
-
this.effect = computed(() => new PixelationEffect(this.granularity()), ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
2326
|
+
this.effect = computed(() => new PixelationEffect(this.granularity()), ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
2327
2327
|
effect((onCleanup) => {
|
|
2328
2328
|
const effect = this.effect();
|
|
2329
2329
|
onCleanup(() => effect.dispose());
|
|
2330
2330
|
});
|
|
2331
2331
|
}
|
|
2332
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2333
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
2332
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpPixelation, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2333
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpPixelation, isStandalone: true, selector: "ngtp-pixelation", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2334
2334
|
<ngt-primitive *args="[effect()]" />
|
|
2335
2335
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2336
2336
|
}
|
|
2337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpPixelation, decorators: [{
|
|
2338
2338
|
type: Component,
|
|
2339
2339
|
args: [{
|
|
2340
2340
|
selector: 'ngtp-pixelation',
|
|
@@ -2437,19 +2437,19 @@ class RampEffect extends Effect {
|
|
|
2437
2437
|
extend({ RampEffect });
|
|
2438
2438
|
class NgtpRamp {
|
|
2439
2439
|
constructor() {
|
|
2440
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
2440
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
2441
2441
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
2442
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
2442
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
2443
2443
|
}
|
|
2444
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2445
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
2444
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpRamp, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2445
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpRamp, isStandalone: true, selector: "ngtp-ramp", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
2446
2446
|
<ngt-ramp-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
2447
2447
|
<ngtp-effect-blend-mode />
|
|
2448
2448
|
<ng-content />
|
|
2449
2449
|
</ngt-ramp-effect>
|
|
2450
2450
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2451
2451
|
}
|
|
2452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpRamp, decorators: [{
|
|
2453
2453
|
type: Component,
|
|
2454
2454
|
args: [{
|
|
2455
2455
|
selector: 'ngtp-ramp',
|
|
@@ -2489,21 +2489,21 @@ class NgtpScanline {
|
|
|
2489
2489
|
* @default { density: 1.25 }
|
|
2490
2490
|
* @see ScanlineEffectOptions
|
|
2491
2491
|
*/
|
|
2492
|
-
this.options = input(defaultOptions$1, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions$1) });
|
|
2492
|
+
this.options = input(defaultOptions$1, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultOptions$1) });
|
|
2493
2493
|
/** Reference to the host NgtpEffect directive */
|
|
2494
2494
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
2495
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
2495
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
2496
2496
|
extend({ ScanlineEffect });
|
|
2497
2497
|
}
|
|
2498
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2499
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
2498
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpScanline, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2499
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpScanline, isStandalone: true, selector: "ngtp-scanline", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideDefaultEffectOptions({ blendFunction: BlendFunction.OVERLAY })], viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
2500
2500
|
<ngt-scanline-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
2501
2501
|
<ngtp-effect-blend-mode />
|
|
2502
2502
|
<ng-content />
|
|
2503
2503
|
</ngt-scanline-effect>
|
|
2504
2504
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2505
2505
|
}
|
|
2506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpScanline, decorators: [{
|
|
2507
2507
|
type: Component,
|
|
2508
2508
|
args: [{
|
|
2509
2509
|
selector: 'ngtp-scanline',
|
|
@@ -2553,19 +2553,19 @@ class NgtpSelectiveBloom {
|
|
|
2553
2553
|
* Light sources that should be included in the bloom calculation.
|
|
2554
2554
|
* Required for proper selective bloom rendering.
|
|
2555
2555
|
*/
|
|
2556
|
-
this.lights = input.required(...(ngDevMode ? [{ debugName: "lights" }] : []));
|
|
2556
|
+
this.lights = input.required(...(ngDevMode ? [{ debugName: "lights" }] : /* istanbul ignore next */ []));
|
|
2557
2557
|
/**
|
|
2558
2558
|
* Objects to apply bloom to.
|
|
2559
2559
|
* Can be a single object, array of objects, or ElementRefs.
|
|
2560
2560
|
* Not needed if using NgtSelectionApi.
|
|
2561
2561
|
* @default []
|
|
2562
2562
|
*/
|
|
2563
|
-
this.selection = input([], ...(ngDevMode ? [{ debugName: "selection" }] : []));
|
|
2563
|
+
this.selection = input([], ...(ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []));
|
|
2564
2564
|
/**
|
|
2565
2565
|
* Configuration options for the selective bloom effect.
|
|
2566
2566
|
* @see SelectiveBloomOptions
|
|
2567
2567
|
*/
|
|
2568
|
-
this.options = input(defaultOptions, { ...(ngDevMode ? { debugName: "options" } : {}), transform: mergeInputs(defaultOptions) });
|
|
2568
|
+
this.options = input(defaultOptions, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), transform: mergeInputs(defaultOptions) });
|
|
2569
2569
|
this.blendFunction = pick(this.options, 'blendFunction');
|
|
2570
2570
|
this.luminanceThreshold = pick(this.options, 'luminanceThreshold');
|
|
2571
2571
|
this.luminanceSmoothing = pick(this.options, 'luminanceSmoothing');
|
|
@@ -2585,19 +2585,19 @@ class NgtpSelectiveBloom {
|
|
|
2585
2585
|
this.store = injectStore();
|
|
2586
2586
|
this.effectComposer = inject(NgtpEffectComposer);
|
|
2587
2587
|
this.selectionApi = inject(NgtSelectionApi, { optional: true });
|
|
2588
|
-
this.resolvedLights = computed(() => this.lights().map((light) => resolveRef(light)), ...(ngDevMode ? [{ debugName: "resolvedLights" }] : []));
|
|
2588
|
+
this.resolvedLights = computed(() => this.lights().map((light) => resolveRef(light)), ...(ngDevMode ? [{ debugName: "resolvedLights" }] : /* istanbul ignore next */ []));
|
|
2589
2589
|
this.resolvedSelected = computed(() => {
|
|
2590
2590
|
const selection = this.selection();
|
|
2591
2591
|
if (!selection)
|
|
2592
2592
|
return [];
|
|
2593
2593
|
const array = Array.isArray(selection) ? selection : [selection];
|
|
2594
2594
|
return array.map((selected) => resolveRef(selected));
|
|
2595
|
-
}, ...(ngDevMode ? [{ debugName: "resolvedSelected" }] : []));
|
|
2595
|
+
}, ...(ngDevMode ? [{ debugName: "resolvedSelected" }] : /* istanbul ignore next */ []));
|
|
2596
2596
|
this.resolvedNgtSelected = computed(() => {
|
|
2597
2597
|
if (!this.selectionApi || !this.selectionApi.enabled)
|
|
2598
2598
|
return [];
|
|
2599
2599
|
return this.selectionApi.selected().map((selected) => resolveRef(selected));
|
|
2600
|
-
}, ...(ngDevMode ? [{ debugName: "resolvedNgtSelected" }] : []));
|
|
2600
|
+
}, ...(ngDevMode ? [{ debugName: "resolvedNgtSelected" }] : /* istanbul ignore next */ []));
|
|
2601
2601
|
/**
|
|
2602
2602
|
* The underlying SelectiveBloomEffect instance.
|
|
2603
2603
|
* Created with the scene, camera, and configured options.
|
|
@@ -2621,7 +2621,7 @@ class NgtpSelectiveBloom {
|
|
|
2621
2621
|
effect.inverted = this.inverted();
|
|
2622
2622
|
effect.ignoreBackground = this.ignoreBackground();
|
|
2623
2623
|
return effect;
|
|
2624
|
-
}, ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
2624
|
+
}, ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
2625
2625
|
effect((onCleanup) => {
|
|
2626
2626
|
// skip input selection altogether if NgtSelection is used
|
|
2627
2627
|
if (this.selectionApi)
|
|
@@ -2689,12 +2689,12 @@ class NgtpSelectiveBloom {
|
|
|
2689
2689
|
removeLight(effect, light) {
|
|
2690
2690
|
light.layers.disable(effect.selection.layer);
|
|
2691
2691
|
}
|
|
2692
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2693
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
2692
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpSelectiveBloom, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2693
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpSelectiveBloom, isStandalone: true, selector: "ngtp-selective-bloom", inputs: { lights: { classPropertyName: "lights", publicName: "lights", isSignal: true, isRequired: true, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2694
2694
|
<ngt-primitive *args="[effect()]" [dispose]="null" />
|
|
2695
2695
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2696
2696
|
}
|
|
2697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpSelectiveBloom, decorators: [{
|
|
2698
2698
|
type: Component,
|
|
2699
2699
|
args: [{
|
|
2700
2700
|
selector: 'ngtp-selective-bloom',
|
|
@@ -2726,21 +2726,21 @@ class NgtpSepia {
|
|
|
2726
2726
|
* Configuration options for the sepia effect.
|
|
2727
2727
|
* @see SepiaEffectOptions
|
|
2728
2728
|
*/
|
|
2729
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
2729
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
2730
2730
|
/** Reference to the host NgtpEffect directive */
|
|
2731
2731
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
2732
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
2732
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
2733
2733
|
extend({ SepiaEffect });
|
|
2734
2734
|
}
|
|
2735
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2736
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
2735
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpSepia, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2736
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpSepia, isStandalone: true, selector: "ngtp-sepia", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
2737
2737
|
<ngt-sepia-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
2738
2738
|
<ngtp-effect-blend-mode />
|
|
2739
2739
|
<ng-content />
|
|
2740
2740
|
</ngt-sepia-effect>
|
|
2741
2741
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2742
2742
|
}
|
|
2743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpSepia, decorators: [{
|
|
2744
2744
|
type: Component,
|
|
2745
2745
|
args: [{
|
|
2746
2746
|
selector: 'ngtp-sepia',
|
|
@@ -2778,21 +2778,21 @@ class NgtpShockWave {
|
|
|
2778
2778
|
* Configuration options for the shock wave effect.
|
|
2779
2779
|
* @see ShockWaveEffectOptions
|
|
2780
2780
|
*/
|
|
2781
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
2781
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
2782
2782
|
/** Reference to the host NgtpEffect directive */
|
|
2783
2783
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
2784
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
2784
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
2785
2785
|
extend({ ShockWaveEffect });
|
|
2786
2786
|
}
|
|
2787
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2788
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
2787
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpShockWave, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2788
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpShockWave, isStandalone: true, selector: "ngtp-shock-wave", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
2789
2789
|
<ngt-shock-wave-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
2790
2790
|
<ngtp-effect-blend-mode />
|
|
2791
2791
|
<ng-content />
|
|
2792
2792
|
</ngt-shock-wave-effect>
|
|
2793
2793
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2794
2794
|
}
|
|
2795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2795
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpShockWave, decorators: [{
|
|
2796
2796
|
type: Component,
|
|
2797
2797
|
args: [{
|
|
2798
2798
|
selector: 'ngtp-shock-wave',
|
|
@@ -2837,21 +2837,21 @@ class NgtpSMAA {
|
|
|
2837
2837
|
* Configuration options for the SMAA effect.
|
|
2838
2838
|
* @see SMAAEffectOptions
|
|
2839
2839
|
*/
|
|
2840
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
2840
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
2841
2841
|
/** Reference to the host NgtpEffect directive */
|
|
2842
2842
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
2843
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
2843
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
2844
2844
|
extend({ SMAAEffect });
|
|
2845
2845
|
}
|
|
2846
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2847
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
2846
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpSMAA, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2847
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpSMAA, isStandalone: true, selector: "ngtp-smaa", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
2848
2848
|
<ngt-sMAA-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
2849
2849
|
<ngtp-effect-blend-mode />
|
|
2850
2850
|
<ng-content />
|
|
2851
2851
|
</ngt-sMAA-effect>
|
|
2852
2852
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2853
2853
|
}
|
|
2854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpSMAA, decorators: [{
|
|
2855
2855
|
type: Component,
|
|
2856
2856
|
args: [{
|
|
2857
2857
|
selector: 'ngtp-smaa',
|
|
@@ -2870,7 +2870,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
2870
2870
|
|
|
2871
2871
|
class NgtpSSAO {
|
|
2872
2872
|
constructor() {
|
|
2873
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
2873
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
2874
2874
|
this.effectComposer = inject(NgtpEffectComposer);
|
|
2875
2875
|
this.effect = computed(() => {
|
|
2876
2876
|
const [normalPass, downSamplingPass] = [
|
|
@@ -2901,7 +2901,7 @@ class NgtpSSAO {
|
|
|
2901
2901
|
depthAwareUpsampling: true,
|
|
2902
2902
|
...options,
|
|
2903
2903
|
});
|
|
2904
|
-
}, ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
2904
|
+
}, ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
2905
2905
|
effect((onCleanup) => {
|
|
2906
2906
|
const ssaoEffect = this.effect();
|
|
2907
2907
|
if (!ssaoEffect)
|
|
@@ -2909,12 +2909,12 @@ class NgtpSSAO {
|
|
|
2909
2909
|
onCleanup(() => ssaoEffect.dispose());
|
|
2910
2910
|
});
|
|
2911
2911
|
}
|
|
2912
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2913
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
2912
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpSSAO, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2913
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpSSAO, isStandalone: true, selector: "ngtp-ssao", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2914
2914
|
<ngt-primitive *args="[effect()]" [dispose]="null" />
|
|
2915
2915
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2916
2916
|
}
|
|
2917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpSSAO, decorators: [{
|
|
2918
2918
|
type: Component,
|
|
2919
2919
|
args: [{
|
|
2920
2920
|
selector: 'ngtp-ssao',
|
|
@@ -2929,7 +2929,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
2929
2929
|
|
|
2930
2930
|
class NgtpTexture {
|
|
2931
2931
|
constructor() {
|
|
2932
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
2932
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
2933
2933
|
this.textureSrc = pick(this.options, 'textureSrc');
|
|
2934
2934
|
this.texture = pick(this.options, 'texture');
|
|
2935
2935
|
this.opacity = pick(this.options, 'opacity');
|
|
@@ -2947,7 +2947,7 @@ class NgtpTexture {
|
|
|
2947
2947
|
if (!t)
|
|
2948
2948
|
return null;
|
|
2949
2949
|
return new TextureEffect({ ...options, texture: t });
|
|
2950
|
-
}, ...(ngDevMode ? [{ debugName: "effect" }] : []));
|
|
2950
|
+
}, ...(ngDevMode ? [{ debugName: "effect" }] : /* istanbul ignore next */ []));
|
|
2951
2951
|
effect(() => {
|
|
2952
2952
|
const effect = this.effect();
|
|
2953
2953
|
if (!effect)
|
|
@@ -2977,12 +2977,12 @@ class NgtpTexture {
|
|
|
2977
2977
|
onCleanup(() => effect.dispose());
|
|
2978
2978
|
});
|
|
2979
2979
|
}
|
|
2980
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
2981
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
2980
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpTexture, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2981
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NgtpTexture, isStandalone: true, selector: "ngtp-texture", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2982
2982
|
<ngt-primitive *args="[effect()]" [dispose]="null" />
|
|
2983
2983
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2984
2984
|
}
|
|
2985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
2985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpTexture, decorators: [{
|
|
2986
2986
|
type: Component,
|
|
2987
2987
|
args: [{
|
|
2988
2988
|
selector: 'ngtp-texture',
|
|
@@ -3019,21 +3019,21 @@ class NgtpTiltShift {
|
|
|
3019
3019
|
* Configuration options for the tilt-shift effect.
|
|
3020
3020
|
* @see TiltShiftEffectOptions
|
|
3021
3021
|
*/
|
|
3022
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
3022
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
3023
3023
|
/** Reference to the host NgtpEffect directive */
|
|
3024
3024
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
3025
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
3025
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
3026
3026
|
extend({ TiltShiftEffect });
|
|
3027
3027
|
}
|
|
3028
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
3029
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
3028
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpTiltShift, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3029
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpTiltShift, isStandalone: true, selector: "ngtp-tilt-shift", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideDefaultEffectOptions({ blendFunction: BlendFunction.ADD })], viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
3030
3030
|
<ngt-tilt-shift-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
3031
3031
|
<ngtp-effect-blend-mode />
|
|
3032
3032
|
<ng-content />
|
|
3033
3033
|
</ngt-tilt-shift-effect>
|
|
3034
3034
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3035
3035
|
}
|
|
3036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
3036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpTiltShift, decorators: [{
|
|
3037
3037
|
type: Component,
|
|
3038
3038
|
args: [{
|
|
3039
3039
|
selector: 'ngtp-tilt-shift',
|
|
@@ -3187,20 +3187,20 @@ class NgtpTiltShift2 {
|
|
|
3187
3187
|
* Configuration options for the tilt-shift effect.
|
|
3188
3188
|
* @see TiltShift2EffectOptions
|
|
3189
3189
|
*/
|
|
3190
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
3190
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
3191
3191
|
/** Reference to the host NgtpEffect directive */
|
|
3192
3192
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
3193
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
3193
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
3194
3194
|
}
|
|
3195
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
3196
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
3195
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpTiltShift2, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3196
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpTiltShift2, isStandalone: true, selector: "ngtp-tilt-shift2", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideDefaultEffectOptions({ blendFunction: BlendFunction.NORMAL })], viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
3197
3197
|
<ngt-tilt-shift2-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
3198
3198
|
<ngtp-effect-blend-mode />
|
|
3199
3199
|
<ng-content />
|
|
3200
3200
|
</ngt-tilt-shift2-effect>
|
|
3201
3201
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3202
3202
|
}
|
|
3203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
3203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpTiltShift2, decorators: [{
|
|
3204
3204
|
type: Component,
|
|
3205
3205
|
args: [{
|
|
3206
3206
|
selector: 'ngtp-tilt-shift2',
|
|
@@ -3241,21 +3241,21 @@ class NgtpToneMapping {
|
|
|
3241
3241
|
* Configuration options for the tone mapping effect.
|
|
3242
3242
|
* @see ToneMappingEffectOptions
|
|
3243
3243
|
*/
|
|
3244
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
3244
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
3245
3245
|
/** Reference to the host NgtpEffect directive */
|
|
3246
3246
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
3247
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
3247
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
3248
3248
|
extend({ ToneMappingEffect });
|
|
3249
3249
|
}
|
|
3250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
3251
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
3250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpToneMapping, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3251
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpToneMapping, isStandalone: true, selector: "ngtp-tone-mapping", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
3252
3252
|
<ngt-tone-mapping-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
3253
3253
|
<ngtp-effect-blend-mode />
|
|
3254
3254
|
<ng-content />
|
|
3255
3255
|
</ngt-tone-mapping-effect>
|
|
3256
3256
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3257
3257
|
}
|
|
3258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
3258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpToneMapping, decorators: [{
|
|
3259
3259
|
type: Component,
|
|
3260
3260
|
args: [{
|
|
3261
3261
|
selector: 'ngtp-tone-mapping',
|
|
@@ -3292,21 +3292,21 @@ class NgtpVignette {
|
|
|
3292
3292
|
* Configuration options for the vignette effect.
|
|
3293
3293
|
* @see VignetteEffectOptions
|
|
3294
3294
|
*/
|
|
3295
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
3295
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
3296
3296
|
/** Reference to the host NgtpEffect directive */
|
|
3297
3297
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
3298
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
3298
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
3299
3299
|
extend({ VignetteEffect });
|
|
3300
3300
|
}
|
|
3301
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
3302
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
3301
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpVignette, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3302
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpVignette, isStandalone: true, selector: "ngtp-vignette", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
3303
3303
|
<ngt-vignette-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
3304
3304
|
<ngtp-effect-blend-mode />
|
|
3305
3305
|
<ng-content />
|
|
3306
3306
|
</ngt-vignette-effect>
|
|
3307
3307
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3308
3308
|
}
|
|
3309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
3309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpVignette, decorators: [{
|
|
3310
3310
|
type: Component,
|
|
3311
3311
|
args: [{
|
|
3312
3312
|
selector: 'ngtp-vignette',
|
|
@@ -3388,21 +3388,21 @@ class NgtpWater {
|
|
|
3388
3388
|
* Configuration options for the water effect.
|
|
3389
3389
|
* @see WaterEffectOptions
|
|
3390
3390
|
*/
|
|
3391
|
-
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
3391
|
+
this.options = input({}, ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
|
|
3392
3392
|
/** Reference to the host NgtpEffect directive */
|
|
3393
3393
|
this.hostEffect = inject(NgtpEffect, { host: true });
|
|
3394
|
-
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
3394
|
+
this.effectRef = viewChild('effect', ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
3395
3395
|
extend({ WaterEffect });
|
|
3396
3396
|
}
|
|
3397
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
3398
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.
|
|
3397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpWater, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3398
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.9", type: NgtpWater, isStandalone: true, selector: "ngtp-water", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideDefaultEffectOptions({ blendFunction: BlendFunction.NORMAL })], viewQueries: [{ propertyName: "effectRef", first: true, predicate: ["effect"], descendants: true, isSignal: true }], hostDirectives: [{ directive: NgtpEffect, inputs: ["blendFunction", "blendFunction", "opacity", "opacity"] }], ngImport: i0, template: `
|
|
3399
3399
|
<ngt-water-effect #effect *args="[options()]" [camera]="hostEffect.camera()">
|
|
3400
3400
|
<ngtp-effect-blend-mode />
|
|
3401
3401
|
<ng-content />
|
|
3402
3402
|
</ngt-water-effect>
|
|
3403
3403
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgtArgs, selector: "ng-template[args]", inputs: ["args"] }, { kind: "component", type: NgtpEffectBlendMode, selector: "ngtp-effect-blend-mode" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3404
3404
|
}
|
|
3405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
3405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NgtpWater, decorators: [{
|
|
3406
3406
|
type: Component,
|
|
3407
3407
|
args: [{
|
|
3408
3408
|
selector: 'ngtp-water',
|