@quick-threejs/reactive 0.1.19 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.d.mts +7 -3
- package/dist/main.d.ts +7 -3
- package/dist/main.js +7 -7
- package/dist/main.js.map +1 -1
- package/dist/main.mjs +3 -3
- package/dist/main.mjs.map +1 -1
- package/dist/{main.worker-Dms3WqJl.d.mts → main.worker-CJCIoHnh.d.mts} +8 -5
- package/dist/{main.worker-Dms3WqJl.d.ts → main.worker-CJCIoHnh.d.ts} +8 -5
- package/dist/main.worker.d.mts +6 -2
- package/dist/main.worker.d.ts +6 -2
- package/dist/main.worker.js +3 -3
- package/dist/main.worker.js.map +1 -1
- package/dist/main.worker.mjs +1 -1
- package/dist/main.worker.mjs.map +1 -1
- package/package.json +1 -1
package/dist/main.d.mts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { R as RegisterPropsModel, a as RegisterModule } from './main.worker-
|
|
2
|
-
export { d as AppLifecycleState, A as AppModule, j as AppProxyEventHandlersModel, e as CoreModuleMessageEvent, C as CoreModuleMessageEventData, D as DefaultCameraType, K as KEYBOARD_EVENT_CODES, k as LaunchAppProps, g as LoadedResourceItem, L as LoaderModule, M as Module, O as OffscreenCanvasWithStyle, P as PROXY_EVENT_LISTENERS, i as ProgressedResource, f as ProxyEvent, r as ProxyEventHandlersImplementation, m as ProxyEventHandlersModel, q as ProxyEventListenerKeys, t as ProxyEventObservablesImplementation, n as ProxyEventObservablesModel, s as ProxyEventSubjectsImplementation, o as ProxyEventSubjectsModel, c as RegisterLifecycleState, p as RegisterProxyEventHandlersModel, h as Resource, S as StepPayload, b as appModule, l as loaderModule } from './main.worker-
|
|
1
|
+
import { R as RegisterPropsModel, a as RegisterModule } from './main.worker-CJCIoHnh.mjs';
|
|
2
|
+
export { d as AppLifecycleState, A as AppModule, j as AppProxyEventHandlersModel, e as CoreModuleMessageEvent, C as CoreModuleMessageEventData, D as DefaultCameraType, K as KEYBOARD_EVENT_CODES, k as LaunchAppProps, g as LoadedResourceItem, L as LoaderModule, M as Module, O as OffscreenCanvasWithStyle, P as PROXY_EVENT_LISTENERS, i as ProgressedResource, f as ProxyEvent, r as ProxyEventHandlersImplementation, m as ProxyEventHandlersModel, q as ProxyEventListenerKeys, t as ProxyEventObservablesImplementation, n as ProxyEventObservablesModel, s as ProxyEventSubjectsImplementation, o as ProxyEventSubjectsModel, c as RegisterLifecycleState, p as RegisterProxyEventHandlersModel, h as Resource, S as StepPayload, b as appModule, l as loaderModule } from './main.worker-CJCIoHnh.mjs';
|
|
3
3
|
import { SerializerImplementation } from 'threads';
|
|
4
4
|
import '@quick-threejs/utils';
|
|
5
5
|
import 'rxjs';
|
|
6
6
|
import 'three';
|
|
7
|
-
import 'three/examples/jsm/
|
|
7
|
+
import 'three/examples/jsm/controls/OrbitControls.js';
|
|
8
|
+
import 'three/examples/jsm/controls/OrbitControls';
|
|
8
9
|
import 'three/examples/jsm/libs/lil-gui.module.min';
|
|
9
10
|
import 'threads/dist/types/master';
|
|
10
11
|
import 'three/examples/jsm/libs/lil-gui.module.min.js';
|
|
11
12
|
import 'stats.js';
|
|
13
|
+
import 'three/examples/jsm/loaders/GLTFLoader.js';
|
|
14
|
+
import 'three/examples/jsm/loaders/GLTFLoader';
|
|
15
|
+
import 'three/examples/jsm/loaders/DRACOLoader.js';
|
|
12
16
|
|
|
13
17
|
declare const object3DSerializer: SerializerImplementation;
|
|
14
18
|
|
package/dist/main.d.ts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { R as RegisterPropsModel, a as RegisterModule } from './main.worker-
|
|
2
|
-
export { d as AppLifecycleState, A as AppModule, j as AppProxyEventHandlersModel, e as CoreModuleMessageEvent, C as CoreModuleMessageEventData, D as DefaultCameraType, K as KEYBOARD_EVENT_CODES, k as LaunchAppProps, g as LoadedResourceItem, L as LoaderModule, M as Module, O as OffscreenCanvasWithStyle, P as PROXY_EVENT_LISTENERS, i as ProgressedResource, f as ProxyEvent, r as ProxyEventHandlersImplementation, m as ProxyEventHandlersModel, q as ProxyEventListenerKeys, t as ProxyEventObservablesImplementation, n as ProxyEventObservablesModel, s as ProxyEventSubjectsImplementation, o as ProxyEventSubjectsModel, c as RegisterLifecycleState, p as RegisterProxyEventHandlersModel, h as Resource, S as StepPayload, b as appModule, l as loaderModule } from './main.worker-
|
|
1
|
+
import { R as RegisterPropsModel, a as RegisterModule } from './main.worker-CJCIoHnh.js';
|
|
2
|
+
export { d as AppLifecycleState, A as AppModule, j as AppProxyEventHandlersModel, e as CoreModuleMessageEvent, C as CoreModuleMessageEventData, D as DefaultCameraType, K as KEYBOARD_EVENT_CODES, k as LaunchAppProps, g as LoadedResourceItem, L as LoaderModule, M as Module, O as OffscreenCanvasWithStyle, P as PROXY_EVENT_LISTENERS, i as ProgressedResource, f as ProxyEvent, r as ProxyEventHandlersImplementation, m as ProxyEventHandlersModel, q as ProxyEventListenerKeys, t as ProxyEventObservablesImplementation, n as ProxyEventObservablesModel, s as ProxyEventSubjectsImplementation, o as ProxyEventSubjectsModel, c as RegisterLifecycleState, p as RegisterProxyEventHandlersModel, h as Resource, S as StepPayload, b as appModule, l as loaderModule } from './main.worker-CJCIoHnh.js';
|
|
3
3
|
import { SerializerImplementation } from 'threads';
|
|
4
4
|
import '@quick-threejs/utils';
|
|
5
5
|
import 'rxjs';
|
|
6
6
|
import 'three';
|
|
7
|
-
import 'three/examples/jsm/
|
|
7
|
+
import 'three/examples/jsm/controls/OrbitControls.js';
|
|
8
|
+
import 'three/examples/jsm/controls/OrbitControls';
|
|
8
9
|
import 'three/examples/jsm/libs/lil-gui.module.min';
|
|
9
10
|
import 'threads/dist/types/master';
|
|
10
11
|
import 'three/examples/jsm/libs/lil-gui.module.min.js';
|
|
11
12
|
import 'stats.js';
|
|
13
|
+
import 'three/examples/jsm/loaders/GLTFLoader.js';
|
|
14
|
+
import 'three/examples/jsm/loaders/GLTFLoader';
|
|
15
|
+
import 'three/examples/jsm/loaders/DRACOLoader.js';
|
|
12
16
|
|
|
13
17
|
declare const object3DSerializer: SerializerImplementation;
|
|
14
18
|
|
package/dist/main.js
CHANGED
|
@@ -2422,7 +2422,7 @@ CameraComponent = _ts_decorate6([
|
|
|
2422
2422
|
|
|
2423
2423
|
// src/core/app/debug/debug.component.ts
|
|
2424
2424
|
var import_three4 = require("three");
|
|
2425
|
-
var
|
|
2425
|
+
var import_OrbitControls = require("three/examples/jsm/controls/OrbitControls.js");
|
|
2426
2426
|
function _ts_decorate7(decorators, target, key, desc) {
|
|
2427
2427
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2428
2428
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -2466,7 +2466,7 @@ var DebugComponent = class {
|
|
|
2466
2466
|
}
|
|
2467
2467
|
if (!this.enabled || !(this.cameraComponent.instance instanceof import_three4.Camera)) return;
|
|
2468
2468
|
if (this.cameraComponent.instance instanceof import_three4.Camera) {
|
|
2469
|
-
this.cameraControls = new
|
|
2469
|
+
this.cameraControls = new import_OrbitControls.OrbitControls(this.cameraComponent.instance, this.appComponent.proxyReceiver);
|
|
2470
2470
|
if (this.cameraControls) this.cameraControls.enableDamping = true;
|
|
2471
2471
|
}
|
|
2472
2472
|
}
|
|
@@ -2477,7 +2477,7 @@ var DebugComponent = class {
|
|
|
2477
2477
|
}
|
|
2478
2478
|
if (!this.enabled) return;
|
|
2479
2479
|
if (this.cameraComponent.miniCamera) {
|
|
2480
|
-
this.miniCameraControls = new
|
|
2480
|
+
this.miniCameraControls = new import_OrbitControls.OrbitControls(this.cameraComponent.miniCamera, this.appComponent.proxyReceiver);
|
|
2481
2481
|
this.miniCameraControls.enableDamping = true;
|
|
2482
2482
|
}
|
|
2483
2483
|
}
|
|
@@ -3525,7 +3525,7 @@ var appModule = instance.resolve(AppModule);
|
|
|
3525
3525
|
// src/core/loader/loader.module.ts
|
|
3526
3526
|
var import_reflect_metadata2 = __toESM(require_Reflect());
|
|
3527
3527
|
var import_three9 = require("three");
|
|
3528
|
-
var
|
|
3528
|
+
var import_DRACOLoader = require("three/examples/jsm/loaders/DRACOLoader.js");
|
|
3529
3529
|
|
|
3530
3530
|
// src/core/loader/loader.controller.ts
|
|
3531
3531
|
var import_rxjs8 = require("rxjs");
|
|
@@ -3553,7 +3553,7 @@ LoaderController = _ts_decorate22([
|
|
|
3553
3553
|
|
|
3554
3554
|
// src/core/loader/loader.component.ts
|
|
3555
3555
|
var import_three8 = require("three");
|
|
3556
|
-
var
|
|
3556
|
+
var import_GLTFLoader = require("three/examples/jsm/loaders/GLTFLoader.js");
|
|
3557
3557
|
function _ts_decorate23(decorators, target, key, desc) {
|
|
3558
3558
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3559
3559
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3601,7 +3601,7 @@ var LoaderComponent = class {
|
|
|
3601
3601
|
};
|
|
3602
3602
|
}
|
|
3603
3603
|
_setLoaders() {
|
|
3604
|
-
this.loaders.gltfLoader = new
|
|
3604
|
+
this.loaders.gltfLoader = new import_GLTFLoader.GLTFLoader(this.loadingManager);
|
|
3605
3605
|
this.loaders.textureLoader = new import_three8.ImageBitmapLoader(this.loadingManager);
|
|
3606
3606
|
this.loaders.cubeTextureLoader = new import_three8.CubeTextureLoader(this.loadingManager);
|
|
3607
3607
|
this.loaders.audioLoader = new import_three8.AudioLoader(this.loadingManager);
|
|
@@ -3664,7 +3664,7 @@ var LoaderModule = class {
|
|
|
3664
3664
|
});
|
|
3665
3665
|
}
|
|
3666
3666
|
setDracoLoader(dracoDecoderPath, linkWithGltfLoader = true) {
|
|
3667
|
-
this.component.loaders.dracoLoader = new
|
|
3667
|
+
this.component.loaders.dracoLoader = new import_DRACOLoader.DRACOLoader(this.component.loadingManager);
|
|
3668
3668
|
this.component.loaders.dracoLoader.setDecoderPath(dracoDecoderPath);
|
|
3669
3669
|
if (linkWithGltfLoader && this.component.loaders.gltfLoader) this.component.loaders.gltfLoader.setDRACOLoader(this.component.loaders.dracoLoader);
|
|
3670
3670
|
}
|