Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@angular-three/controls

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular-three/controls - npm Package Compare versions

Comparing version 1.0.0-beta.10 to 1.0.0-beta.11

24

bundles/angular-three-controls.umd.js

@@ -339,7 +339,9 @@ (function (global, factory) {

_this._controls = new OrbitControls.OrbitControls(camera, renderer.domElement);
run(function () {
_this.ready.emit(_this.controls);
});
_this.zonelessReady.emit(_this.controls);
_this.participate(_this.controls);
if (_this.controls) {
run(function () {
_this.ready.emit(_this.controls);
});
_this.zonelessReady.emit(_this.controls);
_this.participate(_this.controls);
}
}

@@ -410,7 +412,9 @@ }), operators.takeUntil(_this.destroyed))

_this._controls = new FlyControls.FlyControls(camera, renderer.domElement);
run(function () {
_this.ready.emit(_this.controls);
});
_this.zonelessReady.emit(_this.controls);
_this.participate(_this.controls);
if (_this.controls) {
run(function () {
_this.ready.emit(_this.controls);
});
_this.zonelessReady.emit(_this.controls);
_this.participate(_this.controls);
}
}

@@ -417,0 +421,0 @@ }), operators.takeUntil(_this.destroyed))

@@ -15,3 +15,3 @@ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular-three/core"),require("@angular/core"),require("rxjs/operators"),require("three/examples/jsm/controls/OrbitControls"),require("@angular/common"),require("three/examples/jsm/controls/FlyControls")):"function"==typeof define&&define.amd?define("@angular-three/controls",["exports","@angular-three/core","@angular/core","rxjs/operators","three/examples/jsm/controls/OrbitControls","@angular/common","three/examples/jsm/controls/FlyControls"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self)["angular-three"]=e["angular-three"]||{},e["angular-three"].controls={}),e["@angular-three/core"],e.ng.core,e.rxjs.operators,e["three/examples/jsm/controls/OrbitControls"],e.ng.common,e["three/examples/jsm/controls/FlyControls"])}(this,(function(e,t,r,o,n,s,a){"use strict";

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}Object.create;Object.create;var l=function(e){function s(t,o,n,s){var a=e.call(this,n,t)||this;return a.ngZone=t,a.canvasStore=o,a.animationStore=n,a.destroyed=s,a.ready=new r.EventEmitter,a.zonelessReady=new r.EventEmitter,a}return c(s,e),s.prototype.ngOnInit=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.canvasStore.active$.pipe(t.runOutsideAngular(e.ngZone,(function(t,r){var o=e.canvasStore.getImperativeState(),s=o.camera,a=o.renderer;t&&s&&a&&(e._controls=new n.OrbitControls(s,a.domElement),r((function(){e.ready.emit(e.controls)})),e.zonelessReady.emit(e.controls),e.participate(e.controls))})),o.takeUntil(e.destroyed)).subscribe()}))},Object.defineProperty(s.prototype,"controls",{get:function(){return this._controls},enumerable:!1,configurable:!0}),s}(t.AnimationLoopParticipant);l.decorators=[{type:r.Directive,args:[{selector:"ngt-orbitControls",exportAs:"ngtOrbitControls",providers:[t.DestroyedService]}]}],l.ctorParameters=function(){return[{type:r.NgZone},{type:t.CanvasStore,decorators:[{type:r.SkipSelf}]},{type:t.AnimationStore,decorators:[{type:r.SkipSelf}]},{type:t.DestroyedService}]},l.propDecorators={ready:[{type:r.Output}],zonelessReady:[{type:r.Output}]};var u=function(){};u.decorators=[{type:r.NgModule,args:[{declarations:[l],imports:[s.CommonModule],exports:[l]}]}];var p=function(e){function n(t,o,n,s){var a=e.call(this,n,t)||this;return a.ngZone=t,a.canvasStore=o,a.animationStore=n,a.destroyed=s,a.ready=new r.EventEmitter,a.zonelessReady=new r.EventEmitter,a}return c(n,e),n.prototype.ngOnInit=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.canvasStore.active$.pipe(t.runOutsideAngular(e.ngZone,(function(t,r){var o=e.canvasStore.getImperativeState(),n=o.camera,s=o.renderer;t&&n&&s&&(e._controls=new a.FlyControls(n,s.domElement),r((function(){e.ready.emit(e.controls)})),e.zonelessReady.emit(e.controls),e.participate(e.controls))})),o.takeUntil(e.destroyed)).subscribe()}))},Object.defineProperty(n.prototype,"controls",{get:function(){return this._controls},enumerable:!1,configurable:!0}),n}(t.AnimationLoopParticipant);p.decorators=[{type:r.Directive,args:[{selector:"ngt-flyControls",exportAs:"ngtFlyControls",providers:[t.DestroyedService]}]}],p.ctorParameters=function(){return[{type:r.NgZone},{type:t.CanvasStore,decorators:[{type:r.SkipSelf}]},{type:t.AnimationStore,decorators:[{type:r.SkipSelf}]},{type:t.DestroyedService}]},p.propDecorators={ready:[{type:r.Output}],zonelessReady:[{type:r.Output}]};var y=function(){};y.decorators=[{type:r.NgModule,args:[{declarations:[p],imports:[s.CommonModule],exports:[p]}]}],e.FlyControlsDirective=p,e.OrbitControlsDirective=l,e.ThreeFlyControlsModule=y,e.ThreeOrbitControlsModule=u,Object.defineProperty(e,"__esModule",{value:!0})}));
***************************************************************************** */var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}Object.create;Object.create;var l=function(e){function s(t,o,n,s){var a=e.call(this,n,t)||this;return a.ngZone=t,a.canvasStore=o,a.animationStore=n,a.destroyed=s,a.ready=new r.EventEmitter,a.zonelessReady=new r.EventEmitter,a}return c(s,e),s.prototype.ngOnInit=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.canvasStore.active$.pipe(t.runOutsideAngular(e.ngZone,(function(t,r){var o=e.canvasStore.getImperativeState(),s=o.camera,a=o.renderer;t&&s&&a&&(e._controls=new n.OrbitControls(s,a.domElement),e.controls&&(r((function(){e.ready.emit(e.controls)})),e.zonelessReady.emit(e.controls),e.participate(e.controls)))})),o.takeUntil(e.destroyed)).subscribe()}))},Object.defineProperty(s.prototype,"controls",{get:function(){return this._controls},enumerable:!1,configurable:!0}),s}(t.AnimationLoopParticipant);l.decorators=[{type:r.Directive,args:[{selector:"ngt-orbitControls",exportAs:"ngtOrbitControls",providers:[t.DestroyedService]}]}],l.ctorParameters=function(){return[{type:r.NgZone},{type:t.CanvasStore,decorators:[{type:r.SkipSelf}]},{type:t.AnimationStore,decorators:[{type:r.SkipSelf}]},{type:t.DestroyedService}]},l.propDecorators={ready:[{type:r.Output}],zonelessReady:[{type:r.Output}]};var u=function(){};u.decorators=[{type:r.NgModule,args:[{declarations:[l],imports:[s.CommonModule],exports:[l]}]}];var p=function(e){function n(t,o,n,s){var a=e.call(this,n,t)||this;return a.ngZone=t,a.canvasStore=o,a.animationStore=n,a.destroyed=s,a.ready=new r.EventEmitter,a.zonelessReady=new r.EventEmitter,a}return c(n,e),n.prototype.ngOnInit=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.canvasStore.active$.pipe(t.runOutsideAngular(e.ngZone,(function(t,r){var o=e.canvasStore.getImperativeState(),n=o.camera,s=o.renderer;t&&n&&s&&(e._controls=new a.FlyControls(n,s.domElement),e.controls&&(r((function(){e.ready.emit(e.controls)})),e.zonelessReady.emit(e.controls),e.participate(e.controls)))})),o.takeUntil(e.destroyed)).subscribe()}))},Object.defineProperty(n.prototype,"controls",{get:function(){return this._controls},enumerable:!1,configurable:!0}),n}(t.AnimationLoopParticipant);p.decorators=[{type:r.Directive,args:[{selector:"ngt-flyControls",exportAs:"ngtFlyControls",providers:[t.DestroyedService]}]}],p.ctorParameters=function(){return[{type:r.NgZone},{type:t.CanvasStore,decorators:[{type:r.SkipSelf}]},{type:t.AnimationStore,decorators:[{type:r.SkipSelf}]},{type:t.DestroyedService}]},p.propDecorators={ready:[{type:r.Output}],zonelessReady:[{type:r.Output}]};var y=function(){};y.decorators=[{type:r.NgModule,args:[{declarations:[p],imports:[s.CommonModule],exports:[p]}]}],e.FlyControlsDirective=p,e.OrbitControlsDirective=l,e.ThreeFlyControlsModule=y,e.ThreeOrbitControlsModule=u,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=angular-three-controls.umd.min.js.map

@@ -22,7 +22,9 @@ import { AnimationLoopParticipant, AnimationStore, CanvasStore, DestroyedService, runOutsideAngular, } from '@angular-three/core';

this._controls = new FlyControls(camera, renderer.domElement);
run(() => {
this.ready.emit(this.controls);
});
this.zonelessReady.emit(this.controls);
this.participate(this.controls);
if (this.controls) {
run(() => {
this.ready.emit(this.controls);
});
this.zonelessReady.emit(this.controls);
this.participate(this.controls);
}
}

@@ -29,0 +31,0 @@ }), takeUntil(this.destroyed))

@@ -22,7 +22,9 @@ import { AnimationLoopParticipant, AnimationStore, CanvasStore, DestroyedService, runOutsideAngular, } from '@angular-three/core';

this._controls = new OrbitControls(camera, renderer.domElement);
run(() => {
this.ready.emit(this.controls);
});
this.zonelessReady.emit(this.controls);
this.participate(this.controls);
if (this.controls) {
run(() => {
this.ready.emit(this.controls);
});
this.zonelessReady.emit(this.controls);
this.participate(this.controls);
}
}

@@ -29,0 +31,0 @@ }), takeUntil(this.destroyed))

@@ -25,7 +25,9 @@ import { AnimationLoopParticipant, runOutsideAngular, DestroyedService, CanvasStore, AnimationStore } from '@angular-three/core';

this._controls = new OrbitControls(camera, renderer.domElement);
run(() => {
this.ready.emit(this.controls);
});
this.zonelessReady.emit(this.controls);
this.participate(this.controls);
if (this.controls) {
run(() => {
this.ready.emit(this.controls);
});
this.zonelessReady.emit(this.controls);
this.participate(this.controls);
}
}

@@ -85,7 +87,9 @@ }), takeUntil(this.destroyed))

this._controls = new FlyControls(camera, renderer.domElement);
run(() => {
this.ready.emit(this.controls);
});
this.zonelessReady.emit(this.controls);
this.participate(this.controls);
if (this.controls) {
run(() => {
this.ready.emit(this.controls);
});
this.zonelessReady.emit(this.controls);
this.participate(this.controls);
}
}

@@ -92,0 +96,0 @@ }), takeUntil(this.destroyed))

{
"name": "@angular-three/controls",
"version": "1.0.0-beta.10",
"version": "1.0.0-beta.11",
"author": {

@@ -25,3 +25,3 @@ "name": "Chau Tran",

"@angular/core": "^11.2.10",
"@angular-three/core": "1.0.0-beta.10",
"@angular-three/core": "1.0.0-beta.11",
"three": "0.127.0",

@@ -28,0 +28,0 @@ "rxjs": "6.6.7",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc