@hatiolab/things-scene 10.0.0-beta.3 → 10.0.0-beta.4
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-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/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/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/threed/factories/banner.d.ts +2 -2
- package/dist-types/threed/factories/camera.d.ts +2 -2
- package/dist-types/threed/factories/cube.d.ts +2 -2
- package/dist-types/threed/factories/gltf-object.d.ts +2 -2
- package/dist-types/threed/factories/sprite.d.ts +2 -2
- package/dist-types/threed/factories/wall.d.ts +2 -2
- package/dist-types/types/index.d.ts +1 -0
- package/dist-types/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/things-scene-min.js +6 -6
- package/things-scene-min.js.map +1 -1
- package/things-scene.mjs +1 -1
- 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;
|
|
@@ -17,6 +17,7 @@ export declare namespace Model {
|
|
|
17
17
|
export { default as Layer } from '../layer/layer.js';
|
|
18
18
|
export { default as EventMap } from '../event-map/event-map.js';
|
|
19
19
|
export * from '../const.js';
|
|
20
|
+
export * from '../animation/index.js';
|
|
20
21
|
export * from '../components/index.js';
|
|
21
22
|
export * from '../layout/index.js';
|
|
22
23
|
export * from '../types/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/things-scene/index.ts"],"names":[],"mappings":"AAIA,OAAO,mBAAmB,CAAA;AAE1B,OAAO,QAAQ,MAAM,qBAAqB,CAAA;AAC1C,OAAO,UAAU,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAEzE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,aAAa,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB;AAED,yBAAiB,KAAK,CAAC;IACd,MAAM,OAAO,iBAAW,CAAA;IACxB,MAAM,SAAS,mBAAa,CAAA;IAC5B,MAAM,MAAM,gBAAU,CAAA;IACtB,MAAM,KAAK,eAAS,CAAA;CAC5B;AAED,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AAE/D,cAAc,aAAa,CAAA;AAE3B,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AAGjC,YAAY,EACV,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,aAAa,EAAE,cAAc,EAAE,OAAO,EACxE,SAAS,EAAE,YAAY,EAAE,c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AW,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EACtE,MAAM,4BAA4B,CAAA;AACnC,YAAY,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAA;AACxE,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACrE,YAAY,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAE/D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAElE,cAAc,mBAAmB,CAAA;AAEjC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,YAAY,CAAA;AAE7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAEvD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAGhE,cAAc,oBAAoB,CAAA"}
|
|
@@ -16,7 +16,7 @@ declare class Scene {
|
|
|
16
16
|
add(models: any, boundsOrOffset?: any, onto?: any): void;
|
|
17
17
|
duplicate(): void;
|
|
18
18
|
remove(): void;
|
|
19
|
-
animate(config: Parameters<typeof animate>[0]): import("
|
|
19
|
+
animate(config: Parameters<typeof animate>[0]): import("./index.js").AnimationController;
|
|
20
20
|
fullscreen(fit?: any): void;
|
|
21
21
|
get target(): any;
|
|
22
22
|
set target(target: any);
|
|
@@ -147,7 +147,7 @@ declare const Banner_base: {
|
|
|
147
147
|
get textHidden(): boolean;
|
|
148
148
|
set textHidden(v: boolean);
|
|
149
149
|
get hasTextProperty(): boolean;
|
|
150
|
-
animate(opts: import("../../
|
|
150
|
+
animate(opts: import("../../index.js").AnimationConfig): any;
|
|
151
151
|
effect(context: import("../../index.js").SceneRenderContext, model: any): void;
|
|
152
152
|
serialize(...others: any[]): string;
|
|
153
153
|
trim(): void;
|
|
@@ -161,7 +161,7 @@ declare const Banner_base: {
|
|
|
161
161
|
set tap(v: any);
|
|
162
162
|
get mappings(): any[];
|
|
163
163
|
get retention(): number;
|
|
164
|
-
get animation(): import("../../
|
|
164
|
+
get animation(): import("../../index.js").AnimationController | undefined;
|
|
165
165
|
get started(): boolean;
|
|
166
166
|
set started(v: boolean);
|
|
167
167
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
@@ -148,7 +148,7 @@ declare const Camera_base: {
|
|
|
148
148
|
get textHidden(): boolean;
|
|
149
149
|
set textHidden(v: boolean);
|
|
150
150
|
get hasTextProperty(): boolean;
|
|
151
|
-
animate(opts: import("../../
|
|
151
|
+
animate(opts: import("../../index.js").AnimationConfig): any;
|
|
152
152
|
effect(context: import("../../index.js").SceneRenderContext, model: any): void;
|
|
153
153
|
serialize(...others: any[]): string;
|
|
154
154
|
trim(): void;
|
|
@@ -162,7 +162,7 @@ declare const Camera_base: {
|
|
|
162
162
|
set tap(v: any);
|
|
163
163
|
get mappings(): any[];
|
|
164
164
|
get retention(): number;
|
|
165
|
-
get animation(): import("../../
|
|
165
|
+
get animation(): import("../../index.js").AnimationController | undefined;
|
|
166
166
|
get started(): boolean;
|
|
167
167
|
set started(v: boolean);
|
|
168
168
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
@@ -143,7 +143,7 @@ declare const Cube_base: {
|
|
|
143
143
|
get textHidden(): boolean;
|
|
144
144
|
set textHidden(v: boolean);
|
|
145
145
|
get hasTextProperty(): boolean;
|
|
146
|
-
animate(opts: import("../../
|
|
146
|
+
animate(opts: import("../../index.js").AnimationConfig): any;
|
|
147
147
|
effect(context: import("../../index.js").SceneRenderContext, model: any): void;
|
|
148
148
|
serialize(...others: any[]): string;
|
|
149
149
|
trim(): void;
|
|
@@ -157,7 +157,7 @@ declare const Cube_base: {
|
|
|
157
157
|
set tap(v: any);
|
|
158
158
|
get mappings(): any[];
|
|
159
159
|
get retention(): number;
|
|
160
|
-
get animation(): import("../../
|
|
160
|
+
get animation(): import("../../index.js").AnimationController | undefined;
|
|
161
161
|
get started(): boolean;
|
|
162
162
|
set started(v: boolean);
|
|
163
163
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
@@ -140,7 +140,7 @@ declare const GLTFObject_base: {
|
|
|
140
140
|
get textHidden(): boolean;
|
|
141
141
|
set textHidden(v: boolean);
|
|
142
142
|
get hasTextProperty(): boolean;
|
|
143
|
-
animate(opts: import("../../
|
|
143
|
+
animate(opts: import("../../index.js").AnimationConfig): any;
|
|
144
144
|
effect(context: import("../../index.js").SceneRenderContext, model: any): void;
|
|
145
145
|
serialize(...others: any[]): string;
|
|
146
146
|
trim(): void;
|
|
@@ -154,7 +154,7 @@ declare const GLTFObject_base: {
|
|
|
154
154
|
set tap(v: any);
|
|
155
155
|
get mappings(): any[];
|
|
156
156
|
get retention(): number;
|
|
157
|
-
get animation(): import("../../
|
|
157
|
+
get animation(): import("../../index.js").AnimationController | undefined;
|
|
158
158
|
get started(): boolean;
|
|
159
159
|
set started(v: boolean);
|
|
160
160
|
get controls(): Control[] | undefined;
|
|
@@ -139,7 +139,7 @@ declare const Sprite_base: {
|
|
|
139
139
|
get textHidden(): boolean;
|
|
140
140
|
set textHidden(v: boolean);
|
|
141
141
|
get hasTextProperty(): boolean;
|
|
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 Sprite_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;
|
|
@@ -143,7 +143,7 @@ declare const Wall_base: {
|
|
|
143
143
|
get textHidden(): boolean;
|
|
144
144
|
set textHidden(v: boolean);
|
|
145
145
|
get hasTextProperty(): boolean;
|
|
146
|
-
animate(opts: import("../../
|
|
146
|
+
animate(opts: import("../../index.js").AnimationConfig): any;
|
|
147
147
|
effect(context: import("../../index.js").SceneRenderContext, model: any): void;
|
|
148
148
|
serialize(...others: any[]): string;
|
|
149
149
|
trim(): void;
|
|
@@ -157,7 +157,7 @@ declare const Wall_base: {
|
|
|
157
157
|
set tap(v: any);
|
|
158
158
|
get mappings(): any[];
|
|
159
159
|
get retention(): number;
|
|
160
|
-
get animation(): import("../../
|
|
160
|
+
get animation(): import("../../index.js").AnimationController | undefined;
|
|
161
161
|
get started(): boolean;
|
|
162
162
|
set started(v: boolean);
|
|
163
163
|
get controls(): import("../../index.js").Control[] | undefined;
|
|
@@ -2,6 +2,7 @@ export * from './scene-component.js';
|
|
|
2
2
|
export type { Point, Bounds, Position, Origin, Bounding } from './bounding.js';
|
|
3
3
|
export type { EventCallback, Event, Constructor } from './event.js';
|
|
4
4
|
export type { ApplicationContext } from '../interfaces/providers.js';
|
|
5
|
+
export type { Component as ComponentInterface } from './component.js';
|
|
5
6
|
export type { Scene } from './scene.js';
|
|
6
7
|
export type { BaseLayer, InteractiveLayer, SelectableLayer, TransformableLayer, ModelLayer } from './layer.js';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAA;AACpC,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC9E,YAAY,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACnE,YAAY,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,YAAY,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AACvC,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAA;AACpC,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC9E,YAAY,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACnE,YAAY,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,YAAY,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACrE,YAAY,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AACvC,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hatiolab/things-scene",
|
|
3
|
-
"version": "10.0.0-beta.
|
|
3
|
+
"version": "10.0.0-beta.4",
|
|
4
4
|
"description": "A high-performance 2D/3D scene graph library for building interactive visual editors, combining HTML5 Canvas and Three.js to enable facility visualization, data-driven animations, and real-time monitoring dashboards",
|
|
5
5
|
"main": "things-scene-min.js",
|
|
6
6
|
"module": "things-scene.mjs",
|