@hatiolab/things-scene 10.0.0-beta.2 → 10.0.0-beta.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/CHANGELOG.md +2240 -0
- package/dist-types/components/audio.d.ts +2 -2
- package/dist-types/components/container-abstract.d.ts +4 -4
- package/dist-types/components/container.d.ts +3 -3
- package/dist-types/components/ellipse.d.ts +2 -2
- package/dist-types/components/html-overlay-container.d.ts +3 -3
- package/dist-types/components/html-overlay-element.d.ts +4 -4
- package/dist-types/components/image-view.d.ts +2 -2
- package/dist-types/components/info-window.d.ts +2 -2
- package/dist-types/components/line.d.ts +1 -1
- package/dist-types/components/local-ref.d.ts +2 -2
- package/dist-types/components/mixins/connectable.d.ts +2 -2
- package/dist-types/components/mixins/data-source.d.ts +2 -2
- package/dist-types/components/mixins/html-element.d.ts +2 -2
- package/dist-types/components/mixins/move-handle.d.ts +2 -2
- package/dist-types/components/mixins/rect-path.d.ts +2 -2
- package/dist-types/components/mixins/value-holder.d.ts +2 -2
- package/dist-types/components/node.d.ts +2 -2
- package/dist-types/components/popup.d.ts +2 -2
- package/dist-types/components/rect.d.ts +4 -4
- package/dist-types/components/ruler.d.ts +2 -2
- package/dist-types/components/text.d.ts +2 -2
- package/dist-types/decorator/decorator-registry.d.ts +4 -0
- package/dist-types/decorator/decorator-registry.d.ts.map +1 -1
- package/dist-types/layer/model-layer.d.ts +42 -7
- package/dist-types/layer/model-layer.d.ts.map +1 -1
- package/dist-types/layer/modeling-layer.d.ts.map +1 -1
- package/dist-types/things-scene/api/align.d.ts.map +1 -1
- package/dist-types/things-scene/api/distribute.d.ts.map +1 -1
- package/dist-types/things-scene/application-context.d.ts +3 -0
- package/dist-types/things-scene/application-context.d.ts.map +1 -1
- package/dist-types/things-scene/create.d.ts +2 -1
- package/dist-types/things-scene/create.d.ts.map +1 -1
- package/dist-types/things-scene/index.d.ts +1 -0
- package/dist-types/things-scene/index.d.ts.map +1 -1
- package/dist-types/things-scene/scene.d.ts +1 -1
- package/dist-types/things-scene/scene.d.ts.map +1 -1
- package/dist-types/threed/arrow-3d.d.ts +2 -1
- package/dist-types/threed/arrow-3d.d.ts.map +1 -1
- package/dist-types/threed/common.d.ts +5 -0
- package/dist-types/threed/common.d.ts.map +1 -1
- package/dist-types/threed/environments/factory-environment.d.ts +11 -0
- package/dist-types/threed/environments/factory-environment.d.ts.map +1 -0
- package/dist-types/threed/environments/home-environment.d.ts +11 -0
- package/dist-types/threed/environments/home-environment.d.ts.map +1 -0
- package/dist-types/threed/environments/index.d.ts +6 -0
- package/dist-types/threed/environments/index.d.ts.map +1 -0
- package/dist-types/threed/environments/office-environment.d.ts +11 -0
- package/dist-types/threed/environments/office-environment.d.ts.map +1 -0
- package/dist-types/threed/environments/studio-environment.d.ts +12 -0
- package/dist-types/threed/environments/studio-environment.d.ts.map +1 -0
- package/dist-types/threed/environments/warehouse-environment.d.ts +11 -0
- package/dist-types/threed/environments/warehouse-environment.d.ts.map +1 -0
- package/dist-types/threed/factories/banner.d.ts +3 -2
- package/dist-types/threed/factories/banner.d.ts.map +1 -1
- package/dist-types/threed/factories/camera.d.ts +3 -2
- package/dist-types/threed/factories/camera.d.ts.map +1 -1
- package/dist-types/threed/factories/cube.d.ts +3 -2
- package/dist-types/threed/factories/cube.d.ts.map +1 -1
- package/dist-types/threed/factories/cylinder.d.ts +1 -0
- package/dist-types/threed/factories/cylinder.d.ts.map +1 -1
- package/dist-types/threed/factories/gltf-object.d.ts +10 -4
- package/dist-types/threed/factories/gltf-object.d.ts.map +1 -1
- package/dist-types/threed/factories/light.d.ts +1 -0
- package/dist-types/threed/factories/light.d.ts.map +1 -1
- package/dist-types/threed/factories/sphere.d.ts +1 -0
- package/dist-types/threed/factories/sphere.d.ts.map +1 -1
- package/dist-types/threed/factories/sprite.d.ts +3 -2
- package/dist-types/threed/factories/sprite.d.ts.map +1 -1
- package/dist-types/threed/factories/wall.d.ts +3 -2
- package/dist-types/threed/factories/wall.d.ts.map +1 -1
- package/dist-types/threed/managers/box-selection-manager.d.ts +26 -0
- package/dist-types/threed/managers/box-selection-manager.d.ts.map +1 -0
- package/dist-types/threed/managers/camera-bookmark-manager.d.ts +127 -0
- package/dist-types/threed/managers/camera-bookmark-manager.d.ts.map +1 -0
- package/dist-types/threed/managers/camera-manager.d.ts +9 -3
- package/dist-types/threed/managers/camera-manager.d.ts.map +1 -1
- package/dist-types/threed/managers/controls-manager.d.ts +13 -4
- package/dist-types/threed/managers/controls-manager.d.ts.map +1 -1
- package/dist-types/threed/managers/gizmo-operation-manager.d.ts +5 -0
- package/dist-types/threed/managers/gizmo-operation-manager.d.ts.map +1 -1
- package/dist-types/threed/managers/index.d.ts +2 -0
- package/dist-types/threed/managers/index.d.ts.map +1 -1
- package/dist-types/threed/managers/interaction-manager.d.ts +10 -0
- package/dist-types/threed/managers/interaction-manager.d.ts.map +1 -1
- package/dist-types/threed/managers/renderer-manager.d.ts +6 -0
- package/dist-types/threed/managers/renderer-manager.d.ts.map +1 -1
- package/dist-types/threed/managers/scene-manager.d.ts +11 -0
- package/dist-types/threed/managers/scene-manager.d.ts.map +1 -1
- package/dist-types/threed/managers/types.d.ts +1 -1
- package/dist-types/threed/managers/types.d.ts.map +1 -1
- package/dist-types/threed/real-object-dom-element.d.ts.map +1 -1
- package/dist-types/threed/real-object-extrude.d.ts +6 -0
- package/dist-types/threed/real-object-extrude.d.ts.map +1 -1
- package/dist-types/threed/real-object-gltf.d.ts +38 -1
- package/dist-types/threed/real-object-gltf.d.ts.map +1 -1
- package/dist-types/threed/real-object-text.d.ts +2 -0
- package/dist-types/threed/real-object-text.d.ts.map +1 -1
- package/dist-types/threed/real-object.d.ts +12 -1
- package/dist-types/threed/real-object.d.ts.map +1 -1
- package/dist-types/threed/text-editor-3d.d.ts +11 -0
- package/dist-types/threed/text-editor-3d.d.ts.map +1 -0
- package/dist-types/threed/texture/text-texture.d.ts +15 -0
- package/dist-types/threed/texture/text-texture.d.ts.map +1 -1
- package/dist-types/threed/three-capability.d.ts +95 -4
- package/dist-types/threed/three-capability.d.ts.map +1 -1
- package/dist-types/threed/three-container.d.ts +5 -1
- package/dist-types/threed/three-container.d.ts.map +1 -1
- package/dist-types/threed/three-dimensional-container.d.ts +0 -1
- package/dist-types/threed/three-dimensional-container.d.ts.map +1 -1
- package/dist-types/types/index.d.ts +1 -0
- package/dist-types/types/index.d.ts.map +1 -1
- package/package.json +4 -13
- package/things-scene-min.js +12 -12
- package/things-scene-min.js.map +1 -1
- package/things-scene.mjs +8 -8
- package/things-scene.mjs.map +1 -1
|
@@ -138,7 +138,7 @@ declare const AudioPlayer_base: {
|
|
|
138
138
|
get textHidden(): boolean;
|
|
139
139
|
set textHidden(v: boolean);
|
|
140
140
|
get hasTextProperty(): boolean;
|
|
141
|
-
animate(opts: import("../
|
|
141
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
142
142
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
143
143
|
serialize(...others: any[]): string;
|
|
144
144
|
trim(): void;
|
|
@@ -152,7 +152,7 @@ declare const AudioPlayer_base: {
|
|
|
152
152
|
set tap(v: any);
|
|
153
153
|
get mappings(): any[];
|
|
154
154
|
get retention(): number;
|
|
155
|
-
get animation(): import("../
|
|
155
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
156
156
|
get started(): boolean;
|
|
157
157
|
set started(v: boolean);
|
|
158
158
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -129,7 +129,7 @@ declare const ContainerAbstract_base: {
|
|
|
129
129
|
get textHidden(): boolean;
|
|
130
130
|
set textHidden(v: boolean);
|
|
131
131
|
get hasTextProperty(): boolean;
|
|
132
|
-
animate(opts: import("../
|
|
132
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
133
133
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
134
134
|
serialize(...others: any[]): string;
|
|
135
135
|
trim(): void;
|
|
@@ -143,7 +143,7 @@ declare const ContainerAbstract_base: {
|
|
|
143
143
|
set tap(v: any);
|
|
144
144
|
get mappings(): any[];
|
|
145
145
|
get retention(): number;
|
|
146
|
-
get animation(): import("../
|
|
146
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
147
147
|
get started(): boolean;
|
|
148
148
|
set started(v: boolean);
|
|
149
149
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -368,7 +368,7 @@ declare const ContainerAbstract_base: {
|
|
|
368
368
|
get textHidden(): boolean;
|
|
369
369
|
set textHidden(v: boolean);
|
|
370
370
|
get hasTextProperty(): boolean;
|
|
371
|
-
animate(opts: import("../
|
|
371
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
372
372
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
373
373
|
serialize(...others: any[]): string;
|
|
374
374
|
trim(): void;
|
|
@@ -382,7 +382,7 @@ declare const ContainerAbstract_base: {
|
|
|
382
382
|
set tap(v: any);
|
|
383
383
|
get mappings(): any[];
|
|
384
384
|
get retention(): number;
|
|
385
|
-
get animation(): import("../
|
|
385
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
386
386
|
get started(): boolean;
|
|
387
387
|
set started(v: boolean);
|
|
388
388
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -139,7 +139,7 @@ declare const Container_base: {
|
|
|
139
139
|
set text(v: string);
|
|
140
140
|
get textBounds(): import("../index.js").BOUNDS;
|
|
141
141
|
get textRotation(): number;
|
|
142
|
-
animate(opts: import("../
|
|
142
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
143
143
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
144
144
|
serialize(...others: any[]): string;
|
|
145
145
|
trim(): void;
|
|
@@ -153,7 +153,7 @@ declare const Container_base: {
|
|
|
153
153
|
set tap(v: any);
|
|
154
154
|
get mappings(): any[];
|
|
155
155
|
get retention(): number;
|
|
156
|
-
get animation(): import("../
|
|
156
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
157
157
|
get started(): boolean;
|
|
158
158
|
set started(v: boolean);
|
|
159
159
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -244,7 +244,7 @@ export default class Container extends Container_base {
|
|
|
244
244
|
isPositionable(): boolean;
|
|
245
245
|
setElementProperties(element: any): void;
|
|
246
246
|
get layout(): import("../index.js").LAYOUT | {
|
|
247
|
-
reflow(container: import("../types/component.js").Container, component?: import("../
|
|
247
|
+
reflow(container: import("../types/component.js").Container, component?: import("../index.js").ComponentInterface): void;
|
|
248
248
|
capturables(container: any): any;
|
|
249
249
|
drawables(container: any): any;
|
|
250
250
|
isStuck(component: any): boolean;
|
|
@@ -132,7 +132,7 @@ declare const Ellipse_base: {
|
|
|
132
132
|
get textHidden(): boolean;
|
|
133
133
|
set textHidden(v: boolean);
|
|
134
134
|
get hasTextProperty(): boolean;
|
|
135
|
-
animate(opts: import("../
|
|
135
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
136
136
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
137
137
|
serialize(...others: any[]): string;
|
|
138
138
|
trim(): void;
|
|
@@ -146,7 +146,7 @@ declare const Ellipse_base: {
|
|
|
146
146
|
set tap(v: any);
|
|
147
147
|
get mappings(): any[];
|
|
148
148
|
get retention(): number;
|
|
149
|
-
get animation(): import("../
|
|
149
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
150
150
|
get started(): boolean;
|
|
151
151
|
set started(v: boolean);
|
|
152
152
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -137,7 +137,7 @@ declare const HTMLOverlayContainer_base: {
|
|
|
137
137
|
set text(v: string);
|
|
138
138
|
get textBounds(): import("../index.js").BOUNDS;
|
|
139
139
|
get textRotation(): number;
|
|
140
|
-
animate(opts: import("../
|
|
140
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
141
141
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
142
142
|
serialize(...others: any[]): string;
|
|
143
143
|
trim(): void;
|
|
@@ -151,7 +151,7 @@ declare const HTMLOverlayContainer_base: {
|
|
|
151
151
|
set tap(v: any);
|
|
152
152
|
get mappings(): any[];
|
|
153
153
|
get retention(): number;
|
|
154
|
-
get animation(): import("../
|
|
154
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
155
155
|
get started(): boolean;
|
|
156
156
|
set started(v: boolean);
|
|
157
157
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -239,7 +239,7 @@ export default class HTMLOverlayContainer extends HTMLOverlayContainer_base {
|
|
|
239
239
|
render(context: any): void;
|
|
240
240
|
is3dish(): boolean;
|
|
241
241
|
get layout(): import("../index.js").LAYOUT | {
|
|
242
|
-
reflow(container: import("../types/component.js").Container, component?: import("../
|
|
242
|
+
reflow(container: import("../types/component.js").Container, component?: import("../index.js").ComponentInterface): void;
|
|
243
243
|
capturables(container: any): any;
|
|
244
244
|
drawables(container: any): any;
|
|
245
245
|
isStuck(component: any): boolean;
|
|
@@ -137,7 +137,7 @@ declare const HTMLOverlayElement_base: {
|
|
|
137
137
|
set text(v: string);
|
|
138
138
|
get textBounds(): import("../index.js").BOUNDS;
|
|
139
139
|
get textRotation(): number;
|
|
140
|
-
animate(opts: import("../
|
|
140
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
141
141
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
142
142
|
serialize(...others: any[]): string;
|
|
143
143
|
trim(): void;
|
|
@@ -151,7 +151,7 @@ declare const HTMLOverlayElement_base: {
|
|
|
151
151
|
set tap(v: any);
|
|
152
152
|
get mappings(): any[];
|
|
153
153
|
get retention(): number;
|
|
154
|
-
get animation(): import("../
|
|
154
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
155
155
|
get started(): boolean;
|
|
156
156
|
set started(v: boolean);
|
|
157
157
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -372,7 +372,7 @@ declare const HTMLOverlayElement_base: {
|
|
|
372
372
|
get textHidden(): boolean;
|
|
373
373
|
set textHidden(v: boolean);
|
|
374
374
|
get hasTextProperty(): boolean;
|
|
375
|
-
animate(opts: import("../
|
|
375
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
376
376
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
377
377
|
serialize(...others: any[]): string;
|
|
378
378
|
trim(): void;
|
|
@@ -386,7 +386,7 @@ declare const HTMLOverlayElement_base: {
|
|
|
386
386
|
set tap(v: any);
|
|
387
387
|
get mappings(): any[];
|
|
388
388
|
get retention(): number;
|
|
389
|
-
get animation(): import("../
|
|
389
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
390
390
|
get started(): boolean;
|
|
391
391
|
set started(v: boolean);
|
|
392
392
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -138,7 +138,7 @@ declare const ImageView_base: {
|
|
|
138
138
|
get textHidden(): boolean;
|
|
139
139
|
set textHidden(v: boolean);
|
|
140
140
|
get hasTextProperty(): boolean;
|
|
141
|
-
animate(opts: import("../
|
|
141
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
142
142
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
143
143
|
serialize(...others: any[]): string;
|
|
144
144
|
trim(): void;
|
|
@@ -152,7 +152,7 @@ declare const ImageView_base: {
|
|
|
152
152
|
set tap(v: any);
|
|
153
153
|
get mappings(): any[];
|
|
154
154
|
get retention(): number;
|
|
155
|
-
get animation(): import("../
|
|
155
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
156
156
|
get started(): boolean;
|
|
157
157
|
set started(v: boolean);
|
|
158
158
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -138,7 +138,7 @@ declare const InfoWindow_base: {
|
|
|
138
138
|
get textHidden(): boolean;
|
|
139
139
|
set textHidden(v: boolean);
|
|
140
140
|
get hasTextProperty(): boolean;
|
|
141
|
-
animate(opts: import("../
|
|
141
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
142
142
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
143
143
|
serialize(...others: any[]): string;
|
|
144
144
|
trim(): void;
|
|
@@ -152,7 +152,7 @@ declare const InfoWindow_base: {
|
|
|
152
152
|
set tap(v: any);
|
|
153
153
|
get mappings(): any[];
|
|
154
154
|
get retention(): number;
|
|
155
|
-
get animation(): import("../
|
|
155
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
156
156
|
get started(): boolean;
|
|
157
157
|
set started(v: boolean);
|
|
158
158
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -138,7 +138,7 @@ declare const LocalRef_base: {
|
|
|
138
138
|
get textHidden(): boolean;
|
|
139
139
|
set textHidden(v: boolean);
|
|
140
140
|
get hasTextProperty(): boolean;
|
|
141
|
-
animate(opts: import("../
|
|
141
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
142
142
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
143
143
|
serialize(...others: any[]): string;
|
|
144
144
|
trim(): void;
|
|
@@ -152,7 +152,7 @@ declare const LocalRef_base: {
|
|
|
152
152
|
set tap(v: any);
|
|
153
153
|
get mappings(): any[];
|
|
154
154
|
get retention(): number;
|
|
155
|
-
get animation(): import("../
|
|
155
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
156
156
|
get started(): boolean;
|
|
157
157
|
set started(v: boolean);
|
|
158
158
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -160,7 +160,7 @@ export default function Connectable<T extends Constructor<Component>>(superclass
|
|
|
160
160
|
get textHidden(): boolean;
|
|
161
161
|
set textHidden(v: boolean);
|
|
162
162
|
get hasTextProperty(): boolean;
|
|
163
|
-
animate(opts: import("../../
|
|
163
|
+
animate(opts: import("../../index.js").AnimationConfig): any;
|
|
164
164
|
effect(context: import("../../index.js").SceneRenderContext, model: any): void;
|
|
165
165
|
serialize(...others: any[]): string;
|
|
166
166
|
trim(): void;
|
|
@@ -174,7 +174,7 @@ export default function Connectable<T extends Constructor<Component>>(superclass
|
|
|
174
174
|
set tap(v: any);
|
|
175
175
|
get mappings(): any[];
|
|
176
176
|
get retention(): number;
|
|
177
|
-
get animation(): import("../../
|
|
177
|
+
get animation(): import("../../index.js").AnimationController | undefined;
|
|
178
178
|
get started(): boolean;
|
|
179
179
|
set started(v: boolean);
|
|
180
180
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
@@ -127,7 +127,7 @@ export default function DataSource<T extends Constructor<Component>>(superclass:
|
|
|
127
127
|
get textHidden(): boolean;
|
|
128
128
|
set textHidden(v: boolean);
|
|
129
129
|
get hasTextProperty(): boolean;
|
|
130
|
-
animate(opts: import("../../
|
|
130
|
+
animate(opts: import("../../index.js").AnimationConfig): any;
|
|
131
131
|
effect(context: import("../../index.js").SceneRenderContext, model: any): void;
|
|
132
132
|
serialize(...others: any[]): string;
|
|
133
133
|
trim(): void;
|
|
@@ -141,7 +141,7 @@ export default function DataSource<T extends Constructor<Component>>(superclass:
|
|
|
141
141
|
set tap(v: any);
|
|
142
142
|
get mappings(): any[];
|
|
143
143
|
get retention(): number;
|
|
144
|
-
get animation(): import("../../
|
|
144
|
+
get animation(): import("../../index.js").AnimationController | undefined;
|
|
145
145
|
get started(): boolean;
|
|
146
146
|
set started(v: boolean);
|
|
147
147
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
@@ -142,7 +142,7 @@ export default function MixinHTMLElement<T extends Constructor<Component>>(super
|
|
|
142
142
|
set text(v: string);
|
|
143
143
|
get textBounds(): import("../../index.js").BOUNDS;
|
|
144
144
|
get textRotation(): number;
|
|
145
|
-
animate(opts: import("../../
|
|
145
|
+
animate(opts: import("../../index.js").AnimationConfig): any;
|
|
146
146
|
effect(context: import("../../index.js").SceneRenderContext, model: any): void;
|
|
147
147
|
serialize(...others: any[]): string;
|
|
148
148
|
trim(): void;
|
|
@@ -156,7 +156,7 @@ export default function MixinHTMLElement<T extends Constructor<Component>>(super
|
|
|
156
156
|
set tap(v: any);
|
|
157
157
|
get mappings(): any[];
|
|
158
158
|
get retention(): number;
|
|
159
|
-
get animation(): import("../../
|
|
159
|
+
get animation(): import("../../index.js").AnimationController | undefined;
|
|
160
160
|
get started(): boolean;
|
|
161
161
|
set started(v: boolean);
|
|
162
162
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
@@ -128,7 +128,7 @@ export default function MoveHandle<T extends Constructor<Component>>(superclass:
|
|
|
128
128
|
get textHidden(): boolean;
|
|
129
129
|
set textHidden(v: boolean);
|
|
130
130
|
get hasTextProperty(): boolean;
|
|
131
|
-
animate(opts: import("../../
|
|
131
|
+
animate(opts: import("../../index.js").AnimationConfig): any;
|
|
132
132
|
effect(context: import("../../index.js").SceneRenderContext, model: any): void;
|
|
133
133
|
serialize(...others: any[]): string;
|
|
134
134
|
trim(): void;
|
|
@@ -142,7 +142,7 @@ export default function MoveHandle<T extends Constructor<Component>>(superclass:
|
|
|
142
142
|
set tap(v: any);
|
|
143
143
|
get mappings(): any[];
|
|
144
144
|
get retention(): number;
|
|
145
|
-
get animation(): import("../../
|
|
145
|
+
get animation(): import("../../index.js").AnimationController | undefined;
|
|
146
146
|
get started(): boolean;
|
|
147
147
|
set started(v: boolean);
|
|
148
148
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
@@ -141,7 +141,7 @@ export default function RectPath<T extends Constructor<Component>>(superclass: T
|
|
|
141
141
|
get textHidden(): boolean;
|
|
142
142
|
set textHidden(v: boolean);
|
|
143
143
|
get hasTextProperty(): boolean;
|
|
144
|
-
animate(opts: import("../../
|
|
144
|
+
animate(opts: import("../../index.js").AnimationConfig): any;
|
|
145
145
|
effect(context: import("../../index.js").SceneRenderContext, model: any): void;
|
|
146
146
|
serialize(...others: any[]): string;
|
|
147
147
|
trim(): void;
|
|
@@ -155,7 +155,7 @@ export default function RectPath<T extends Constructor<Component>>(superclass: T
|
|
|
155
155
|
set tap(v: any);
|
|
156
156
|
get mappings(): any[];
|
|
157
157
|
get retention(): number;
|
|
158
|
-
get animation(): import("../../
|
|
158
|
+
get animation(): import("../../index.js").AnimationController | undefined;
|
|
159
159
|
get started(): boolean;
|
|
160
160
|
set started(v: boolean);
|
|
161
161
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
@@ -135,7 +135,7 @@ export default function ValueHolder<T extends Constructor<Component>>(superclass
|
|
|
135
135
|
get textHidden(): boolean;
|
|
136
136
|
set textHidden(v: boolean);
|
|
137
137
|
get hasTextProperty(): boolean;
|
|
138
|
-
animate(opts: import("../../
|
|
138
|
+
animate(opts: import("../../index.js").AnimationConfig): any;
|
|
139
139
|
effect(context: import("../../index.js").SceneRenderContext, model: any): void;
|
|
140
140
|
serialize(...others: any[]): string;
|
|
141
141
|
trim(): void;
|
|
@@ -147,7 +147,7 @@ export default function ValueHolder<T extends Constructor<Component>>(superclass
|
|
|
147
147
|
set tap(v: any);
|
|
148
148
|
get mappings(): any[];
|
|
149
149
|
get retention(): number;
|
|
150
|
-
get animation(): import("../../
|
|
150
|
+
get animation(): import("../../index.js").AnimationController | undefined;
|
|
151
151
|
get started(): boolean;
|
|
152
152
|
set started(v: boolean);
|
|
153
153
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
@@ -131,7 +131,7 @@ declare const Node_base: {
|
|
|
131
131
|
get textHidden(): boolean;
|
|
132
132
|
set textHidden(v: boolean);
|
|
133
133
|
get hasTextProperty(): boolean;
|
|
134
|
-
animate(opts: import("../
|
|
134
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
135
135
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
136
136
|
serialize(...others: any[]): string;
|
|
137
137
|
trim(): void;
|
|
@@ -145,7 +145,7 @@ declare const Node_base: {
|
|
|
145
145
|
set tap(v: any);
|
|
146
146
|
get mappings(): any[];
|
|
147
147
|
get retention(): number;
|
|
148
|
-
get animation(): import("../
|
|
148
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
149
149
|
get started(): boolean;
|
|
150
150
|
set started(v: boolean);
|
|
151
151
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -138,7 +138,7 @@ declare const Popup_base: {
|
|
|
138
138
|
get textHidden(): boolean;
|
|
139
139
|
set textHidden(v: boolean);
|
|
140
140
|
get hasTextProperty(): boolean;
|
|
141
|
-
animate(opts: import("../
|
|
141
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
142
142
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
143
143
|
serialize(...others: any[]): string;
|
|
144
144
|
trim(): void;
|
|
@@ -152,7 +152,7 @@ declare const Popup_base: {
|
|
|
152
152
|
set tap(v: any);
|
|
153
153
|
get mappings(): any[];
|
|
154
154
|
get retention(): number;
|
|
155
|
-
get animation(): import("../
|
|
155
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
156
156
|
get started(): boolean;
|
|
157
157
|
set started(v: boolean);
|
|
158
158
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -131,7 +131,7 @@ declare const Rect_base: {
|
|
|
131
131
|
get textHidden(): boolean;
|
|
132
132
|
set textHidden(v: boolean);
|
|
133
133
|
get hasTextProperty(): boolean;
|
|
134
|
-
animate(opts: import("../
|
|
134
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
135
135
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
136
136
|
serialize(...others: any[]): string;
|
|
137
137
|
trim(): void;
|
|
@@ -145,7 +145,7 @@ declare const Rect_base: {
|
|
|
145
145
|
set tap(v: any);
|
|
146
146
|
get mappings(): any[];
|
|
147
147
|
get retention(): number;
|
|
148
|
-
get animation(): import("../
|
|
148
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
149
149
|
get started(): boolean;
|
|
150
150
|
set started(v: boolean);
|
|
151
151
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -370,7 +370,7 @@ declare const Rect_base: {
|
|
|
370
370
|
get textHidden(): boolean;
|
|
371
371
|
set textHidden(v: boolean);
|
|
372
372
|
get hasTextProperty(): boolean;
|
|
373
|
-
animate(opts: import("../
|
|
373
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
374
374
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
375
375
|
serialize(...others: any[]): string;
|
|
376
376
|
trim(): void;
|
|
@@ -384,7 +384,7 @@ declare const Rect_base: {
|
|
|
384
384
|
set tap(v: any);
|
|
385
385
|
get mappings(): any[];
|
|
386
386
|
get retention(): number;
|
|
387
|
-
get animation(): import("../
|
|
387
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
388
388
|
get started(): boolean;
|
|
389
389
|
set started(v: boolean);
|
|
390
390
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -138,7 +138,7 @@ declare const Ruler_base: {
|
|
|
138
138
|
get textHidden(): boolean;
|
|
139
139
|
set textHidden(v: boolean);
|
|
140
140
|
get hasTextProperty(): boolean;
|
|
141
|
-
animate(opts: import("../
|
|
141
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
142
142
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
143
143
|
serialize(...others: any[]): string;
|
|
144
144
|
trim(): void;
|
|
@@ -152,7 +152,7 @@ declare const Ruler_base: {
|
|
|
152
152
|
set tap(v: any);
|
|
153
153
|
get mappings(): any[];
|
|
154
154
|
get retention(): number;
|
|
155
|
-
get animation(): import("../
|
|
155
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
156
156
|
get started(): boolean;
|
|
157
157
|
set started(v: boolean);
|
|
158
158
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -137,7 +137,7 @@ declare const Text_base: {
|
|
|
137
137
|
get textHidden(): boolean;
|
|
138
138
|
set textHidden(v: boolean);
|
|
139
139
|
get hasTextProperty(): boolean;
|
|
140
|
-
animate(opts: import("../
|
|
140
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
141
141
|
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
142
142
|
serialize(...others: any[]): string;
|
|
143
143
|
trim(): void;
|
|
@@ -151,7 +151,7 @@ declare const Text_base: {
|
|
|
151
151
|
set tap(v: any);
|
|
152
152
|
get mappings(): any[];
|
|
153
153
|
get retention(): number;
|
|
154
|
-
get animation(): import("../
|
|
154
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
155
155
|
get started(): boolean;
|
|
156
156
|
set started(v: boolean);
|
|
157
157
|
get controls(): import("../index.js").Control[] | undefined;
|
|
@@ -70,6 +70,10 @@ export declare class DecoratorRegistry {
|
|
|
70
70
|
* 특정 오버레이에서 컴포넌트의 모든 데코레이터 가져오기
|
|
71
71
|
*/
|
|
72
72
|
getDecoratorsFromOverlay(overlay: HTMLElement, target: Component): Decorator[];
|
|
73
|
+
/**
|
|
74
|
+
* 특정 오버레이에서 지정 타입의 데코레이터가 적용된 타겟 목록 반환
|
|
75
|
+
*/
|
|
76
|
+
getTargetsWithType(overlay: HTMLElement, type: DecoratorType): Component[];
|
|
73
77
|
/**
|
|
74
78
|
* 특정 오버레이의 데코레이터 업데이트
|
|
75
79
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decorator-registry.d.ts","sourceRoot":"","sources":["../../src/decorator/decorator-registry.ts"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,4BAA4B,CAAA;AAElD,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAG5D,MAAM,MAAM,aAAa,GACrB,gBAAgB,GAChB,SAAS,GACT,SAAS,GACT,MAAM,GACN,aAAa,GACb,eAAe,GACf,qBAAqB,CAAA;AAGzB,MAAM,MAAM,oBAAoB,GAAG,KAAK,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,KAAK,SAAS,CAAA;AAExH;;;;GAIG;AACH,qBAAa,gBAAgB;IAE3B,OAAO,CAAC,MAAM,CAAC,YAAY,CAAsD;;IAOjF;;OAEG;IACH,MAAM,CAAC,iBAAiB,CAAC,IAAI,EAAE,aAAa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E,SAAS,EACjB,IAAI,EAAE,aAAa,EACnB,OAAO,GAAE,gBAAqB,GAC7B,SAAS,GAAG,IAAI;IA0BnB;;OAEG;IACH,iBAAiB,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,aAAa,GAAG,IAAI;IA0EtF;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAsC/B;;OAEG;IACH,oBAAoB,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,aAAa,GAAG,IAAI;IAuBtE;;OAEG;IACH,uBAAuB,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,GAAG,SAAS,GAAG,SAAS;IAK5G;;OAEG;IACH,wBAAwB,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,GAAG,SAAS,EAAE;IAS9E;;OAEG;IACH,kBAAkB,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,aAAa,GAAG,SAAS,EAAE;IAa1E;;OAEG;IACH,eAAe,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAO9G;;OAEG;IACH,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI;CAwB9C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as THREE from 'three';
|
|
2
2
|
import type { ArrowStyle3D } from '../threed/arrow-3d.js';
|
|
3
3
|
import Component from '../components/component.js';
|
|
4
4
|
import ScenePopup from './action/popup.js';
|
|
@@ -23,19 +23,20 @@ export default class ModelLayer extends DualCanvasLayer implements ThreeDimensio
|
|
|
23
23
|
_decoratorAuxOverlay: any;
|
|
24
24
|
private _threeCapability?;
|
|
25
25
|
private _lastCameraState?;
|
|
26
|
+
private _saved2DViewport?;
|
|
26
27
|
private _toolbar?;
|
|
27
|
-
private _cameraSection?;
|
|
28
|
-
private _gizmoSection?;
|
|
29
28
|
private _cameraButtons?;
|
|
30
|
-
private
|
|
29
|
+
private _floatingPopup?;
|
|
30
|
+
private _floatingPopupCloseHandler?;
|
|
31
31
|
get nature(): ComponentNature;
|
|
32
32
|
get is3dMode(): boolean;
|
|
33
33
|
is3dContainer(): boolean;
|
|
34
|
+
get gizmoMode(): 'translate' | 'rotate' | 'scale' | undefined;
|
|
35
|
+
setGizmoMode(mode: 'translate' | 'rotate' | 'scale'): void;
|
|
34
36
|
get scene3d(): THREE.Scene | undefined;
|
|
35
37
|
get renderer3d(): THREE.WebGLRenderer | undefined;
|
|
36
38
|
get activeCamera3d(): THREE.Camera | undefined;
|
|
37
39
|
get mixer(): THREE.AnimationMixer | undefined;
|
|
38
|
-
get zoom(): number | undefined;
|
|
39
40
|
addArrow3D(id: string, from: Component, to: Component, style?: ArrowStyle3D): void;
|
|
40
41
|
removeArrow3D(id: string): void;
|
|
41
42
|
clearArrows3D(): void;
|
|
@@ -45,6 +46,18 @@ export default class ModelLayer extends DualCanvasLayer implements ThreeDimensio
|
|
|
45
46
|
* _activateThreeD()와 adoptThreeCapability()에서 공용으로 사용한다.
|
|
46
47
|
*/
|
|
47
48
|
private _hide2DLayers;
|
|
49
|
+
/**
|
|
50
|
+
* zoom-handler가 등록되어 있는지 확인한다.
|
|
51
|
+
* zoom-handler가 있으면 사용자가 자유 줌/팬이 가능하므로 뷰포트 연동이 필요하다.
|
|
52
|
+
*/
|
|
53
|
+
private get _hasZoomHandler();
|
|
54
|
+
/**
|
|
55
|
+
* 2D↔3D 전환 시 뷰포트 연동이 필요한지 판단한다.
|
|
56
|
+
* - 모델러: 항상 연동 (3D↔2D 카메라 매핑)
|
|
57
|
+
* - 뷰어 + zoom-handler: 연동 (2D 상태 저장/복원)
|
|
58
|
+
* - 뷰어 + zoom-handler 없음: 독립 (각자 뷰, 연동 불필요)
|
|
59
|
+
*/
|
|
60
|
+
private get _needsViewportSync();
|
|
48
61
|
private _activateThreeD;
|
|
49
62
|
/**
|
|
50
63
|
* 플로팅 툴바를 생성한다.
|
|
@@ -54,9 +67,15 @@ export default class ModelLayer extends DualCanvasLayer implements ThreeDimensio
|
|
|
54
67
|
private _createToolbar;
|
|
55
68
|
private _applyToggleStyle;
|
|
56
69
|
private _applyButtonStyle;
|
|
57
|
-
private _toggleToolbarSection;
|
|
58
70
|
private _updateCameraButtons;
|
|
59
|
-
private
|
|
71
|
+
private _registerPopupCallbacks;
|
|
72
|
+
private _closeFloatingPopup;
|
|
73
|
+
private _showFloatingPopup;
|
|
74
|
+
private _makePopupDraggable;
|
|
75
|
+
private _toggleShortcutHelp;
|
|
76
|
+
private _toggleBookmarkNav;
|
|
77
|
+
private _toggleBookmarkEdit;
|
|
78
|
+
private _buildBookmarkPopup;
|
|
60
79
|
private _removeToolbar;
|
|
61
80
|
/**
|
|
62
81
|
* 3D 렌더러를 실제 표시 영역 크기에 맞춰 리사이즈한다.
|
|
@@ -81,6 +100,20 @@ export default class ModelLayer extends DualCanvasLayer implements ThreeDimensio
|
|
|
81
100
|
*/
|
|
82
101
|
adoptThreeCapability(cap: ThreeCapability): void;
|
|
83
102
|
private _deactivateThreeD;
|
|
103
|
+
/**
|
|
104
|
+
* 실제 뷰포트 크기를 반환한다.
|
|
105
|
+
* canvas가 hidden일 수 있으므로 target(외부 컨테이너)에서 읽는다.
|
|
106
|
+
*/
|
|
107
|
+
private _getViewportSize;
|
|
108
|
+
/**
|
|
109
|
+
* 2D 뷰포트 상태를 기반으로 3D 카메라 위치/타겟을 설정한다.
|
|
110
|
+
*/
|
|
111
|
+
private _initCameraFrom2DViewport;
|
|
112
|
+
/**
|
|
113
|
+
* 3D 카메라 상태를 기반으로 2D 뷰포트(translate, scale)를 설정한다.
|
|
114
|
+
*/
|
|
115
|
+
private _init2DViewportFrom3DCamera;
|
|
116
|
+
centerTo(component: any, animated?: boolean): void;
|
|
84
117
|
ready(): Promise<void>;
|
|
85
118
|
dispose(): void;
|
|
86
119
|
contains(x: any, y: any): boolean;
|
|
@@ -98,6 +131,7 @@ export default class ModelLayer extends DualCanvasLayer implements ThreeDimensio
|
|
|
98
131
|
capturePath(path: any, excepts: any): any;
|
|
99
132
|
getOverlay(component: any): any;
|
|
100
133
|
getDecoratorOverlay(component: any): any;
|
|
134
|
+
_onkeydown_root(e: KeyboardEvent): void;
|
|
101
135
|
get eventMap(): {
|
|
102
136
|
'(self)': {
|
|
103
137
|
'(all)': {
|
|
@@ -145,6 +179,7 @@ export default class ModelLayer extends DualCanvasLayer implements ThreeDimensio
|
|
|
145
179
|
'(root)': {
|
|
146
180
|
'(self)': {
|
|
147
181
|
selected: (selected: any[]) => void;
|
|
182
|
+
keydown: (e: KeyboardEvent) => void;
|
|
148
183
|
};
|
|
149
184
|
};
|
|
150
185
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-layer.d.ts","sourceRoot":"","sources":["../../src/layer/model-layer.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,
|
|
1
|
+
{"version":3,"file":"model-layer.d.ts","sourceRoot":"","sources":["../../src/layer/model-layer.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,SAAS,MAAM,4BAA4B,CAAA;AAOlD,OAAO,UAAU,MAAM,mBAAmB,CAAA;AAE1C,OAAO,eAAe,MAAM,wBAAwB,CAAA;AAGpD,OAAO,EAAE,eAAe,EAA2B,MAAM,+BAA+B,CAAA;AACxF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAA;AACzF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,2BAA2B,CAAA;AA8ClC;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,eAAgB,YAAW,yBAA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EAAE,SAAS,KAAA,EAAE,CAAC,KAAA;IAOvC,IAAI,UAAU,CAAC,MAAM,KAAA,EAGpB;IAED,IAAI,UAAU,QAEb;IAED,cAAc;IAMd,IAAI,QAAQ;;;;;;;;;;;;;;;;;;;;;;MAwBX;IAED,YAAY,CAAC,CAAC,KAAA,EAAE,IAAI,KAAA;IAIpB,YAAY,CAAC,CAAC,KAAA,EAAE,IAAI,KAAA;IAIpB,SAAS,CAAC,CAAC,KAAA;IASX,OAAO,CAAC,CAAC,KAAA;IAOT,UAAU,CAAC,KAAK,KAAA,EAAE,MAAM,KAAA;IAIxB,cAAc,CAAC,KAAK,KAAA,EAAE,MAAM,KAAA,EAAE,IAAI,KAAA;IAoBlC,gBAAgB,CAAC,KAAK,KAAA,EAAE,IAAI,KAAA;IAQ5B,UAAU,CAAC,CAAC,KAAA;IAMZ,WAAW,CAAC,CAAC,KAAA;IAMb,SAAS,CAAC,CAAC,KAAA;IAMX,WAAW,CAAC,CAAC,KAAA;IAKb,UAAU,CAAC,CAAC,KAAA;IAMZ,SAAS,CAAC,CAAC,KAAA;IAOX,MAAM,CAAC,CAAC,KAAA,EAAE,IAAI,KAAA;IA4Id,aAAa,CAAC,CAAC,KAAA,EAAE,IAAI,KAAA;CAqEtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"align.d.ts","sourceRoot":"","sources":["../../../src/things-scene/api/align.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"align.d.ts","sourceRoot":"","sources":["../../../src/things-scene/api/align.ts"],"names":[],"mappings":"AA2JA,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,QAYpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distribute.d.ts","sourceRoot":"","sources":["../../../src/things-scene/api/distribute.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"distribute.d.ts","sourceRoot":"","sources":["../../../src/things-scene/api/distribute.ts"],"names":[],"mappings":"AAqFA,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,QAYzD"}
|