@hatiolab/things-scene 10.0.0-beta.91 → 10.0.0-beta.92
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/animation/animate.d.ts.map +1 -1
- package/dist-types/animation/animations/animation.d.ts +5 -3
- package/dist-types/animation/animations/animation.d.ts.map +1 -1
- package/dist-types/clock/frame-clock.d.ts +119 -0
- package/dist-types/clock/frame-clock.d.ts.map +1 -0
- package/dist-types/clock/index.d.ts +3 -0
- package/dist-types/clock/index.d.ts.map +1 -0
- package/dist-types/components/audio.d.ts +7 -3
- package/dist-types/components/audio.d.ts.map +1 -1
- package/dist-types/components/component.d.ts +9 -4
- package/dist-types/components/component.d.ts.map +1 -1
- package/dist-types/components/container-abstract.d.ts +14 -6
- package/dist-types/components/container-abstract.d.ts.map +1 -1
- package/dist-types/components/container.d.ts +6 -2
- package/dist-types/components/container.d.ts.map +1 -1
- package/dist-types/components/ellipse.d.ts +7 -3
- package/dist-types/components/ellipse.d.ts.map +1 -1
- package/dist-types/components/generic-placeholders.d.ts +7 -3
- package/dist-types/components/generic-placeholders.d.ts.map +1 -1
- package/dist-types/components/html-overlay-container.d.ts +6 -2
- package/dist-types/components/html-overlay-container.d.ts.map +1 -1
- package/dist-types/components/html-overlay-element.d.ts +13 -5
- package/dist-types/components/html-overlay-element.d.ts.map +1 -1
- package/dist-types/components/image-view.d.ts +7 -3
- package/dist-types/components/image-view.d.ts.map +1 -1
- package/dist-types/components/info-window.d.ts +7 -3
- package/dist-types/components/info-window.d.ts.map +1 -1
- package/dist-types/components/local-ref.d.ts +7 -3
- package/dist-types/components/local-ref.d.ts.map +1 -1
- package/dist-types/components/mixins/connectable.d.ts +7 -3
- package/dist-types/components/mixins/connectable.d.ts.map +1 -1
- package/dist-types/components/mixins/data-source.d.ts +7 -3
- package/dist-types/components/mixins/data-source.d.ts.map +1 -1
- package/dist-types/components/mixins/gltf-component.d.ts +6 -2
- package/dist-types/components/mixins/gltf-component.d.ts.map +1 -1
- package/dist-types/components/mixins/html-element.d.ts +6 -2
- package/dist-types/components/mixins/html-element.d.ts.map +1 -1
- package/dist-types/components/mixins/move-handle.d.ts +7 -3
- package/dist-types/components/mixins/move-handle.d.ts.map +1 -1
- package/dist-types/components/mixins/rect-path.d.ts +7 -3
- package/dist-types/components/mixins/rect-path.d.ts.map +1 -1
- package/dist-types/components/mixins/three-d-only.d.ts +7 -3
- package/dist-types/components/mixins/three-d-only.d.ts.map +1 -1
- package/dist-types/components/mixins/value-holder.d.ts +7 -3
- package/dist-types/components/mixins/value-holder.d.ts.map +1 -1
- package/dist-types/components/node.d.ts +7 -3
- package/dist-types/components/node.d.ts.map +1 -1
- package/dist-types/components/popup.d.ts +7 -3
- package/dist-types/components/popup.d.ts.map +1 -1
- package/dist-types/components/rect.d.ts +14 -6
- package/dist-types/components/rect.d.ts.map +1 -1
- package/dist-types/components/ruler.d.ts +7 -3
- package/dist-types/components/ruler.d.ts.map +1 -1
- package/dist-types/components/service-component.d.ts +7 -3
- package/dist-types/components/service-component.d.ts.map +1 -1
- package/dist-types/components/text.d.ts +7 -3
- package/dist-types/components/text.d.ts.map +1 -1
- package/dist-types/interfaces/real-object.d.ts +8 -1
- package/dist-types/interfaces/real-object.d.ts.map +1 -1
- package/dist-types/interfaces/types.d.ts +20 -1
- package/dist-types/interfaces/types.d.ts.map +1 -1
- package/dist-types/placement/index.d.ts +3 -0
- package/dist-types/placement/index.d.ts.map +1 -0
- package/dist-types/placement/placement.d.ts +53 -0
- package/dist-types/placement/placement.d.ts.map +1 -0
- package/dist-types/things-scene/index.d.ts +4 -0
- package/dist-types/things-scene/index.d.ts.map +1 -1
- package/dist-types/threed/factories/backdrop.d.ts +14 -6
- package/dist-types/threed/factories/backdrop.d.ts.map +1 -1
- package/dist-types/threed/factories/banner.d.ts +7 -3
- package/dist-types/threed/factories/banner.d.ts.map +1 -1
- package/dist-types/threed/factories/camera.d.ts +7 -3
- package/dist-types/threed/factories/camera.d.ts.map +1 -1
- package/dist-types/threed/factories/cube.d.ts +7 -3
- package/dist-types/threed/factories/cube.d.ts.map +1 -1
- package/dist-types/threed/factories/decal.d.ts +14 -6
- package/dist-types/threed/factories/decal.d.ts.map +1 -1
- package/dist-types/threed/factories/gltf-object.d.ts +13 -5
- package/dist-types/threed/factories/gltf-object.d.ts.map +1 -1
- package/dist-types/threed/factories/sprite.d.ts +7 -3
- package/dist-types/threed/factories/sprite.d.ts.map +1 -1
- package/dist-types/threed/factories/wall.d.ts +7 -3
- package/dist-types/threed/factories/wall.d.ts.map +1 -1
- package/dist-types/threed/real-object.d.ts +29 -1
- package/dist-types/threed/real-object.d.ts.map +1 -1
- package/dist-types/transfer/container-capacity.d.ts +229 -1
- package/dist-types/transfer/container-capacity.d.ts.map +1 -1
- package/dist-types/transition/transition-effect.d.ts +7 -1
- package/dist-types/transition/transition-effect.d.ts.map +1 -1
- package/dist-types/types/event.d.ts +57 -0
- package/dist-types/types/event.d.ts.map +1 -1
- package/package.json +1 -1
- package/things-scene-min.js +11 -11
- package/things-scene-min.js.map +1 -1
- package/things-scene-transfer.mjs +1 -1
- package/things-scene.mjs +3 -3
- package/things-scene.mjs.map +1 -1
|
@@ -72,9 +72,9 @@ declare const Cube_base: {
|
|
|
72
72
|
get(property: any): any;
|
|
73
73
|
set(props: any, propval?: any): any;
|
|
74
74
|
getState(property: any): any;
|
|
75
|
-
setState(props:
|
|
75
|
+
setState(props: Partial<import("../../index.js").State> | string, propval?: any): any;
|
|
76
76
|
get model(): any;
|
|
77
|
-
get state():
|
|
77
|
+
get state(): import("../../index.js").State;
|
|
78
78
|
get hierarchy(): any;
|
|
79
79
|
get volatile(): never[];
|
|
80
80
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -165,7 +165,7 @@ declare const Cube_base: {
|
|
|
165
165
|
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
166
166
|
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
167
167
|
findAnchor(name: string): any;
|
|
168
|
-
isDescendible(container: import("../../index.js").Component): boolean;
|
|
168
|
+
isDescendible(container: import("../../index.js").Component | any): boolean;
|
|
169
169
|
getContext(component?: unknown): any;
|
|
170
170
|
get root(): import("../../index.js").Component;
|
|
171
171
|
get rootModel(): import("../../index.js").Component;
|
|
@@ -209,9 +209,13 @@ declare const Cube_base: {
|
|
|
209
209
|
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
210
210
|
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
211
211
|
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
212
|
+
on<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
212
213
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
214
|
+
off<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
213
215
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
216
|
+
once<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
214
217
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
218
|
+
trigger<K extends keyof import("../../index.js").ComponentEventMap>(name: K, ...args: import("../../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
215
219
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
216
220
|
delegate_on(delegator: any): /*elided*/ any;
|
|
217
221
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cube.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/cube.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,KAAK,MAAM,2BAA2B,CAAA;AAG7C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAUvD,qBAAa,MAAO,SAAQ,cAAc;IACxC,aAAa;CAQd
|
|
1
|
+
{"version":3,"file":"cube.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/cube.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,KAAK,MAAM,2BAA2B,CAAA;AAG7C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAUvD,qBAAa,MAAO,SAAQ,cAAc;IACxC,aAAa;CAQd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,qBACa,IAAK,SAAQ,SAAe;IACvC,IAAI,eAAe,YAAmB;IACtC,OAAO;IAIP,eAAe,IAAI,WAAW,GAAG,SAAS;IAI1C,IAAI,MAAM,oBAET;CACF"}
|
|
@@ -79,9 +79,9 @@ declare const Decal_base: {
|
|
|
79
79
|
get(property: any): any;
|
|
80
80
|
set(props: any, propval?: any): any;
|
|
81
81
|
getState(property: any): any;
|
|
82
|
-
setState(props:
|
|
82
|
+
setState(props: Partial<import("../../index.js").State> | string, propval?: any): any;
|
|
83
83
|
get model(): any;
|
|
84
|
-
get state():
|
|
84
|
+
get state(): import("../../index.js").State;
|
|
85
85
|
get hierarchy(): any;
|
|
86
86
|
get volatile(): never[];
|
|
87
87
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -176,7 +176,7 @@ declare const Decal_base: {
|
|
|
176
176
|
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
177
177
|
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
178
178
|
findAnchor(name: string): any;
|
|
179
|
-
isDescendible(container: import("../../index.js").Component): boolean;
|
|
179
|
+
isDescendible(container: import("../../index.js").Component | any): boolean;
|
|
180
180
|
getContext(component?: unknown): any;
|
|
181
181
|
get root(): import("../../index.js").Component;
|
|
182
182
|
get rootModel(): import("../../index.js").Component;
|
|
@@ -220,9 +220,13 @@ declare const Decal_base: {
|
|
|
220
220
|
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
221
221
|
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
222
222
|
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
223
|
+
on<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
223
224
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
225
|
+
off<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
224
226
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
227
|
+
once<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
225
228
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
229
|
+
trigger<K extends keyof import("../../index.js").ComponentEventMap>(name: K, ...args: import("../../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
226
230
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
227
231
|
delegate_on(delegator: any): /*elided*/ any;
|
|
228
232
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -322,9 +326,9 @@ declare const Decal_base: {
|
|
|
322
326
|
get(property: any): any;
|
|
323
327
|
set(props: any, propval?: any): any;
|
|
324
328
|
getState(property: any): any;
|
|
325
|
-
setState(props:
|
|
329
|
+
setState(props: Partial<import("../../index.js").State> | string, propval?: any): any;
|
|
326
330
|
get model(): any;
|
|
327
|
-
get state():
|
|
331
|
+
get state(): import("../../index.js").State;
|
|
328
332
|
get hierarchy(): any;
|
|
329
333
|
get volatile(): never[];
|
|
330
334
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -415,7 +419,7 @@ declare const Decal_base: {
|
|
|
415
419
|
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
416
420
|
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
417
421
|
findAnchor(name: string): any;
|
|
418
|
-
isDescendible(container: import("../../index.js").Component): boolean;
|
|
422
|
+
isDescendible(container: import("../../index.js").Component | any): boolean;
|
|
419
423
|
getContext(component?: unknown): any;
|
|
420
424
|
get root(): import("../../index.js").Component;
|
|
421
425
|
get rootModel(): import("../../index.js").Component;
|
|
@@ -459,9 +463,13 @@ declare const Decal_base: {
|
|
|
459
463
|
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
460
464
|
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
461
465
|
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
466
|
+
on<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
462
467
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
468
|
+
off<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
463
469
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
470
|
+
once<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
464
471
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
472
|
+
trigger<K extends keyof import("../../index.js").ComponentEventMap>(name: K, ...args: import("../../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
465
473
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
466
474
|
delegate_on(delegator: any): /*elided*/ any;
|
|
467
475
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decal.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/decal.ts"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,KAAK,MAAM,2BAA2B,CAAA;AAI7C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAGvD,qBAAa,OAAQ,SAAQ,cAAc;IACzC,6EAA6E;IAC7E,SAAS,KAAK,cAAc,WAE3B;IAED,IAAa,gBAAgB,WAE5B;IAED,aAAa;IAUb;;;;;;;;;OASG;IACH,eAAe;IAIf,+DAA+D;IAC/D,aAAa;IAQb;;;;;OAKG;IACH,KAAK;CAeN
|
|
1
|
+
{"version":3,"file":"decal.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/decal.ts"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,KAAK,MAAM,2BAA2B,CAAA;AAI7C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAGvD,qBAAa,OAAQ,SAAQ,cAAc;IACzC,6EAA6E;IAC7E,SAAS,KAAK,cAAc,WAE3B;IAED,IAAa,gBAAgB,WAE5B;IAED,aAAa;IAUb;;;;;;;;;OASG;IACH,eAAe;IAIf,+DAA+D;IAC/D,aAAa;IAQb;;;;;OAKG;IACH,KAAK;CAeN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUD,qBACa,KAAM,SAAQ,UAA2B;IACpD,eAAe,IAAI,WAAW,GAAG,SAAS;IAI1C,IAAI,MAAM,IAAI,eAAe,CAE5B;CACF"}
|
|
@@ -79,7 +79,7 @@ declare const GLTFObject_base: {
|
|
|
79
79
|
get(property: any): any;
|
|
80
80
|
getState(property: any): any;
|
|
81
81
|
get model(): any;
|
|
82
|
-
get state():
|
|
82
|
+
get state(): import("../../index.js").State;
|
|
83
83
|
get hierarchy(): any;
|
|
84
84
|
get volatile(): never[];
|
|
85
85
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -170,7 +170,7 @@ declare const GLTFObject_base: {
|
|
|
170
170
|
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
171
171
|
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
172
172
|
findAnchor(name: string): any;
|
|
173
|
-
isDescendible(container: import("../../index.js").Component): boolean;
|
|
173
|
+
isDescendible(container: import("../../index.js").Component | any): boolean;
|
|
174
174
|
getContext(component?: unknown): any;
|
|
175
175
|
get root(): import("../../index.js").Component;
|
|
176
176
|
get rootModel(): import("../../index.js").Component;
|
|
@@ -215,9 +215,13 @@ declare const GLTFObject_base: {
|
|
|
215
215
|
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
216
216
|
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
217
217
|
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
218
|
+
on<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
218
219
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
220
|
+
off<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
219
221
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
222
|
+
once<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
220
223
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
224
|
+
trigger<K extends keyof import("../../index.js").ComponentEventMap>(name: K, ...args: import("../../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
221
225
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
222
226
|
delegate_on(delegator: any): /*elided*/ any;
|
|
223
227
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -315,9 +319,9 @@ declare const GLTFObject_base: {
|
|
|
315
319
|
get(property: any): any;
|
|
316
320
|
set(props: any, propval?: any): any;
|
|
317
321
|
getState(property: any): any;
|
|
318
|
-
setState(props:
|
|
322
|
+
setState(props: Partial<import("../../index.js").State> | string, propval?: any): any;
|
|
319
323
|
get model(): any;
|
|
320
|
-
get state():
|
|
324
|
+
get state(): import("../../index.js").State;
|
|
321
325
|
get hierarchy(): any;
|
|
322
326
|
get volatile(): never[];
|
|
323
327
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -408,7 +412,7 @@ declare const GLTFObject_base: {
|
|
|
408
412
|
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
409
413
|
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
410
414
|
findAnchor(name: string): any;
|
|
411
|
-
isDescendible(container: import("../../index.js").Component): boolean;
|
|
415
|
+
isDescendible(container: import("../../index.js").Component | any): boolean;
|
|
412
416
|
getContext(component?: unknown): any;
|
|
413
417
|
get root(): import("../../index.js").Component;
|
|
414
418
|
get rootModel(): import("../../index.js").Component;
|
|
@@ -452,9 +456,13 @@ declare const GLTFObject_base: {
|
|
|
452
456
|
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
453
457
|
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
454
458
|
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
459
|
+
on<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
455
460
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
461
|
+
off<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
456
462
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
463
|
+
once<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
457
464
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
465
|
+
trigger<K extends keyof import("../../index.js").ComponentEventMap>(name: K, ...args: import("../../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
458
466
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
459
467
|
delegate_on(delegator: any): /*elided*/ any;
|
|
460
468
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gltf-object.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/gltf-object.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,MAAM,2BAA2B,CAAA
|
|
1
|
+
{"version":3,"file":"gltf-object.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/gltf-object.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,MAAM,2BAA2B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAc7C,qBACa,UAAW,SAAQ,eAA8B;IAC5D,IAAI,MAAM,oBAET;CACF"}
|
|
@@ -68,9 +68,9 @@ declare const Sprite_base: {
|
|
|
68
68
|
get(property: any): any;
|
|
69
69
|
set(props: any, propval?: any): any;
|
|
70
70
|
getState(property: any): any;
|
|
71
|
-
setState(props:
|
|
71
|
+
setState(props: Partial<import("../../index.js").State> | string, propval?: any): any;
|
|
72
72
|
get model(): any;
|
|
73
|
-
get state():
|
|
73
|
+
get state(): import("../../index.js").State;
|
|
74
74
|
get hierarchy(): any;
|
|
75
75
|
get volatile(): never[];
|
|
76
76
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -161,7 +161,7 @@ declare const Sprite_base: {
|
|
|
161
161
|
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
162
162
|
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
163
163
|
findAnchor(name: string): any;
|
|
164
|
-
isDescendible(container: import("../../index.js").Component): boolean;
|
|
164
|
+
isDescendible(container: import("../../index.js").Component | any): boolean;
|
|
165
165
|
getContext(component?: unknown): any;
|
|
166
166
|
get root(): import("../../index.js").Component;
|
|
167
167
|
get rootModel(): import("../../index.js").Component;
|
|
@@ -205,9 +205,13 @@ declare const Sprite_base: {
|
|
|
205
205
|
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
206
206
|
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
207
207
|
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
208
|
+
on<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
208
209
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
210
|
+
off<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
209
211
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
212
|
+
once<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
210
213
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
214
|
+
trigger<K extends keyof import("../../index.js").ComponentEventMap>(name: K, ...args: import("../../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
211
215
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
212
216
|
delegate_on(delegator: any): /*elided*/ any;
|
|
213
217
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sprite.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/sprite.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,KAAK,MAAM,2BAA2B,CAAA
|
|
1
|
+
{"version":3,"file":"sprite.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/sprite.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,KAAK,MAAM,2BAA2B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAY7C,qBACa,MAAO,SAAQ,WAAe;IACzC,IAAI,eAAe,YAAmB;IACtC,OAAO,IAAI,OAAO;IAIlB,eAAe,IAAI,WAAW,GAAG,SAAS;IAI1C,IAAI,MAAM,oBAET;CACF"}
|
|
@@ -72,9 +72,9 @@ declare const Wall_base: {
|
|
|
72
72
|
get(property: any): any;
|
|
73
73
|
set(props: any, propval?: any): any;
|
|
74
74
|
getState(property: any): any;
|
|
75
|
-
setState(props:
|
|
75
|
+
setState(props: Partial<import("../../index.js").State> | string, propval?: any): any;
|
|
76
76
|
get model(): any;
|
|
77
|
-
get state():
|
|
77
|
+
get state(): import("../../index.js").State;
|
|
78
78
|
get hierarchy(): any;
|
|
79
79
|
get volatile(): never[];
|
|
80
80
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -165,7 +165,7 @@ declare const Wall_base: {
|
|
|
165
165
|
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
166
166
|
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
167
167
|
findAnchor(name: string): any;
|
|
168
|
-
isDescendible(container: import("../../index.js").Component): boolean;
|
|
168
|
+
isDescendible(container: import("../../index.js").Component | any): boolean;
|
|
169
169
|
getContext(component?: unknown): any;
|
|
170
170
|
get root(): import("../../index.js").Component;
|
|
171
171
|
get rootModel(): import("../../index.js").Component;
|
|
@@ -209,9 +209,13 @@ declare const Wall_base: {
|
|
|
209
209
|
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
210
210
|
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
211
211
|
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
212
|
+
on<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
212
213
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
214
|
+
off<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
213
215
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
216
|
+
once<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
214
217
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
218
|
+
trigger<K extends keyof import("../../index.js").ComponentEventMap>(name: K, ...args: import("../../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
215
219
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
216
220
|
delegate_on(delegator: any): /*elided*/ any;
|
|
217
221
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wall.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/wall.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,KAAK,MAAM,2BAA2B,CAAA;AAG7C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAiBvD,qBAAa,MAAO,SAAQ,cAAc;IACxC,aAAa;CAQd
|
|
1
|
+
{"version":3,"file":"wall.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/wall.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,KAAK,MAAM,2BAA2B,CAAA;AAG7C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAiBvD,qBAAa,MAAO,SAAQ,cAAc;IACxC,aAAa;CAQd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,qBACa,IAAK,SAAQ,SAAe;IACvC,IAAI,eAAe,YAAmB;IACtC,OAAO;IAIP,eAAe,IAAI,WAAW,GAAG,SAAS;IAI1C,IAAI,MAAM,oBAET;CACF"}
|
|
@@ -3,6 +3,7 @@ import type Component from '../components/component.js';
|
|
|
3
3
|
import type { IRealObject } from '../interfaces/real-object.js';
|
|
4
4
|
import type { Properties } from '../interfaces/types.js';
|
|
5
5
|
import { ThreeDimensionalContainer } from './three-dimensional-container.js';
|
|
6
|
+
import type { Placement } from '../placement/index.js';
|
|
6
7
|
export declare abstract class RealObject<T extends THREE.Object3D = THREE.Object3D> implements IRealObject {
|
|
7
8
|
protected _component: Component;
|
|
8
9
|
protected _focused: boolean;
|
|
@@ -12,7 +13,7 @@ export declare abstract class RealObject<T extends THREE.Object3D = THREE.Object
|
|
|
12
13
|
object3d: T;
|
|
13
14
|
private _onchangeWrapper;
|
|
14
15
|
static buildFillStyleTexture(component: Component, fillStyleOverride?: unknown): THREE.Texture<unknown> | undefined;
|
|
15
|
-
constructor(component: Component);
|
|
16
|
+
constructor(component: Component | any);
|
|
16
17
|
update(): void;
|
|
17
18
|
protected getObject3dInstance(): T;
|
|
18
19
|
build(): void;
|
|
@@ -29,6 +30,33 @@ export declare abstract class RealObject<T extends THREE.Object3D = THREE.Object
|
|
|
29
30
|
dispose(): void;
|
|
30
31
|
clear(): T;
|
|
31
32
|
suppressTransform: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Transient placement override (Phase F Step 2).
|
|
35
|
+
*
|
|
36
|
+
* Framework / 도메인 코드가 일시적으로 컴포넌트의 placement 정책을 override
|
|
37
|
+
* 할 때 사용 (예: TransitionEffect 가 reparent 동안 'transitioning' 정책을
|
|
38
|
+
* 강제). undefined 면 default = state-driven.
|
|
39
|
+
*
|
|
40
|
+
* setTransientPlacement(...) / clearTransientPlacement() 으로 set/unset.
|
|
41
|
+
*/
|
|
42
|
+
private _transientPlacement?;
|
|
43
|
+
/**
|
|
44
|
+
* Placement & Pose 정책 (Phase F).
|
|
45
|
+
*
|
|
46
|
+
* 컴포넌트의 obj3d.position/quaternion 을 누가 어떻게 결정하는지 선언.
|
|
47
|
+
* 기본값: state-driven — state pipeline 이 obj3d 를 결정 (현재 모든 컴포넌트
|
|
48
|
+
* 의 묵시적 동작). 서브클래스는 자신의 역할에 맞는 정책을 override.
|
|
49
|
+
*
|
|
50
|
+
* Transient override 가 설정되어 있으면 그것을 우선. 없으면 default.
|
|
51
|
+
*/
|
|
52
|
+
get placement(): Placement;
|
|
53
|
+
/**
|
|
54
|
+
* Transient placement 설정. TransitionEffect 등 framework 가 일시적 정책
|
|
55
|
+
* 변경을 위해 호출. 호출 측이 종료 시 clearTransientPlacement() 책임.
|
|
56
|
+
*/
|
|
57
|
+
setTransientPlacement(p: Placement): void;
|
|
58
|
+
/** Transient placement 해제 → default (state-driven) 로 복귀. */
|
|
59
|
+
clearTransientPlacement(): void;
|
|
32
60
|
/**
|
|
33
61
|
* Component의 상태값의 변화를 Object3D에 반영 - translate, rotation, scale
|
|
34
62
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"real-object.d.ts","sourceRoot":"","sources":["../../src/threed/real-object.ts"],"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;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAEnE,IAAI,SAAS;eAFe,MAAM;gBAAU,MAAM;eAAS,MAAM;MAWhE;IAED;;;;;;;;;;;;;;;OAeG;IACH,IAAI,cAAc,IAAI,MAAM,CAU3B;IAGD,cAAc;IAKd,YAAY;IAKZ,WAAW;IAKX;;;;OAIG;IACH,kBAAkB;IA6ClB,eAAe;IAKf,WAAW;IAoBX,YAAY;IAIZ,iBAAiB;IACjB,eAAe;IACf,UAAU;IAEV;;;;;;;;;;;;;;;;;;;OAmBG;IACH,SAAS,CAAC,mBAAmB;IA8B7B;;;OAGG;IACH;;;;;;;;;;;OAWG;IACH,SAAS,KAAK,cAAc,IAAI,MAAM,CAQrC;IAED;;;OAGG;IACH,IAAI,kBAAkB,IAAI,MAAM,CAE/B;IAED;;;OAGG;IACH,gBAAgB;IAiChB;;;OAGG;IACH,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAInC;;;;OAIG;IACH,uBAAuB,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAMrD,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU;CAwE/C"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { SlotDef, TransferOptions, Transferable, CarrierAttachPoint, ArrangementStrategy } from './types.js';
|
|
2
|
+
import type Component from '../components/component.js';
|
|
2
3
|
/** Key used to store the current slot assignment on a child component. */
|
|
3
4
|
export declare const TRANSFER_SLOT_KEY = "_transferSlotId";
|
|
4
5
|
type Constructor<T = object> = new (...args: any[]) => T;
|
|
@@ -8,7 +9,7 @@ type Constructor<T = object> = new (...args: any[]) => T;
|
|
|
8
9
|
* The mixed-in class provides concrete implementations of all Transferable methods.
|
|
9
10
|
* Subclasses must implement `get slots(): SlotDef[]`; everything else has sensible defaults.
|
|
10
11
|
*/
|
|
11
|
-
export declare function ContainerCapacity<TBase extends Constructor
|
|
12
|
+
export declare function ContainerCapacity<TBase extends Constructor<Component>>(Base: TBase): {
|
|
12
13
|
new (...args: any[]): {
|
|
13
14
|
/** Declare the slot topology of this container. */
|
|
14
15
|
get slots(): SlotDef[];
|
|
@@ -36,6 +37,233 @@ export declare function ContainerCapacity<TBase extends Constructor>(Base: TBase
|
|
|
36
37
|
attachPointFor(component: any): CarrierAttachPoint | null;
|
|
37
38
|
/** Count children currently assigned to `slotId`. */
|
|
38
39
|
_countOccupied(slotId: string): number;
|
|
40
|
+
_app: any;
|
|
41
|
+
_model: any;
|
|
42
|
+
_state: any;
|
|
43
|
+
_delta: any;
|
|
44
|
+
_animation: any;
|
|
45
|
+
_animate: any;
|
|
46
|
+
_parent: any;
|
|
47
|
+
_disposed: any;
|
|
48
|
+
_textHidden: any;
|
|
49
|
+
_text_substitutor: any;
|
|
50
|
+
_value_substitutor: any;
|
|
51
|
+
_mappings: any;
|
|
52
|
+
_realObject: import("../index.js").IRealObject | undefined;
|
|
53
|
+
_cachedState: any;
|
|
54
|
+
updatedAt: any;
|
|
55
|
+
fontSize: any;
|
|
56
|
+
__cache__: any;
|
|
57
|
+
created(): void;
|
|
58
|
+
added(parent: any): void;
|
|
59
|
+
removed(parent: any): void;
|
|
60
|
+
ready(): Promise<void>;
|
|
61
|
+
touch(): void;
|
|
62
|
+
clearCache(...attrs: any[]): void;
|
|
63
|
+
removeSelf(completely: any): void;
|
|
64
|
+
resetAnimation(): void;
|
|
65
|
+
dispose(): void;
|
|
66
|
+
get nature(): import("../index.js").ComponentNature;
|
|
67
|
+
get disposed(): boolean;
|
|
68
|
+
isLayer(): boolean;
|
|
69
|
+
isGroup(): boolean;
|
|
70
|
+
isContainer(): this is import("../types/component.js").Container;
|
|
71
|
+
isLine(): boolean;
|
|
72
|
+
isRoot(): boolean;
|
|
73
|
+
isRootModel(): boolean;
|
|
74
|
+
is3dish(): boolean;
|
|
75
|
+
get is3dMode(): boolean;
|
|
76
|
+
isIn3DSpace(): boolean;
|
|
77
|
+
isTemplate(): boolean;
|
|
78
|
+
isHTMLElement(): boolean;
|
|
79
|
+
isConnectable(): boolean;
|
|
80
|
+
isIdentifiable(): boolean;
|
|
81
|
+
isPositionable(): boolean;
|
|
82
|
+
replaceRefids(replaceMap: any): void;
|
|
83
|
+
get(property: any): any;
|
|
84
|
+
set(props: any, propval?: any): any;
|
|
85
|
+
getState(property: any): any;
|
|
86
|
+
setState(props: Partial<import("../index.js").State> | string, propval?: any): any;
|
|
87
|
+
get model(): any;
|
|
88
|
+
get state(): import("../index.js").State;
|
|
89
|
+
get hierarchy(): any;
|
|
90
|
+
get volatile(): never[];
|
|
91
|
+
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
92
|
+
contains(x: number, y: number): boolean;
|
|
93
|
+
move(offset: {
|
|
94
|
+
x: number;
|
|
95
|
+
y: number;
|
|
96
|
+
}, ...args: boolean[]): void;
|
|
97
|
+
symmetryX(x?: number): void;
|
|
98
|
+
symmetryY(y: number): void;
|
|
99
|
+
adjustResize(bounds: import("../index.js").BOUNDS, origin_bounds: import("../index.js").BOUNDS, diagonal: boolean): {
|
|
100
|
+
left: any;
|
|
101
|
+
top: any;
|
|
102
|
+
width: any;
|
|
103
|
+
height: any;
|
|
104
|
+
};
|
|
105
|
+
adjustRotation(rotation: number, step: boolean): number;
|
|
106
|
+
outline(progress: number): any;
|
|
107
|
+
get bounds(): import("../index.js").BOUNDS;
|
|
108
|
+
set bounds(b: import("../index.js").BOUNDS);
|
|
109
|
+
get center(): import("../index.js").POINT;
|
|
110
|
+
set center(p: import("../index.js").POINT);
|
|
111
|
+
get location(): import("../index.js").POINT;
|
|
112
|
+
set location(l: import("../index.js").POINT);
|
|
113
|
+
get rotate(): import("../index.js").POINT;
|
|
114
|
+
set rotate(r: import("../index.js").POINT);
|
|
115
|
+
get dimension(): import("../index.js").DIMENSION;
|
|
116
|
+
set dimension(d: import("../index.js").DIMENSION);
|
|
117
|
+
get path(): import("../index.js").POINT[];
|
|
118
|
+
set path(p: import("../index.js").POINT[]);
|
|
119
|
+
get drawPath(): import("../index.js").POINT[];
|
|
120
|
+
get rotatePoint(): import("../index.js").POINT;
|
|
121
|
+
get mutable(): boolean;
|
|
122
|
+
get resizable(): boolean;
|
|
123
|
+
get rotatable(): boolean;
|
|
124
|
+
buildRealObject(): import("../index.js").IRealObject | undefined;
|
|
125
|
+
get realObject(): import("../index.js").IRealObject | undefined;
|
|
126
|
+
draw(context?: import("../index.js").SceneRenderContext): void;
|
|
127
|
+
prerender(context: import("../index.js").SceneRenderContext): void;
|
|
128
|
+
render(context: import("../index.js").SceneRenderContext): void;
|
|
129
|
+
postrender(context: import("../index.js").SceneRenderContext): void;
|
|
130
|
+
prepare(resolve: (component: Component) => void, reject: (reason: any) => void): void;
|
|
131
|
+
prepareIf(condition: boolean): void;
|
|
132
|
+
drawText(context: import("../index.js").SceneRenderContext): void;
|
|
133
|
+
drawStroke(context: import("../index.js").SceneRenderContext, override?: Record<string, unknown>): void;
|
|
134
|
+
drawFill(context: import("../index.js").SceneRenderContext, override?: Record<string, unknown>): void;
|
|
135
|
+
get strokeStyle(): any;
|
|
136
|
+
set strokeStyle(v: any);
|
|
137
|
+
get fillStyle(): any;
|
|
138
|
+
set fillStyle(v: any);
|
|
139
|
+
get fontColor(): string;
|
|
140
|
+
set fontColor(v: string);
|
|
141
|
+
get rotation(): number;
|
|
142
|
+
set rotation(v: number);
|
|
143
|
+
get decorators(): string[];
|
|
144
|
+
get decotag(): string;
|
|
145
|
+
get hidden(): boolean;
|
|
146
|
+
set hidden(v: boolean);
|
|
147
|
+
get tag(): string;
|
|
148
|
+
set tag(v: string);
|
|
149
|
+
get appendum(): any;
|
|
150
|
+
set appendum(v: any);
|
|
151
|
+
defaultTextSubstitutor(): string;
|
|
152
|
+
textLines(context?: import("../index.js").SceneRenderContext): any[][];
|
|
153
|
+
get font(): string;
|
|
154
|
+
get lineHeight(): number;
|
|
155
|
+
get textSubstitutor(): () => string;
|
|
156
|
+
get text(): string;
|
|
157
|
+
set text(v: string);
|
|
158
|
+
get textBounds(): import("../index.js").BOUNDS;
|
|
159
|
+
get textRotation(): number;
|
|
160
|
+
get textHidden(): boolean;
|
|
161
|
+
set textHidden(v: boolean);
|
|
162
|
+
get hasTextProperty(): boolean;
|
|
163
|
+
animate(opts: import("../index.js").AnimationConfig): any;
|
|
164
|
+
effect(context: import("../index.js").SceneRenderContext, model: any): void;
|
|
165
|
+
serialize(...others: any[]): string;
|
|
166
|
+
trim(): void;
|
|
167
|
+
closeScene(data: any): void;
|
|
168
|
+
delta(attr?: string | object, value?: any): any;
|
|
169
|
+
invalidate(): void;
|
|
170
|
+
get value(): any;
|
|
171
|
+
set value(v: any);
|
|
172
|
+
get data(): any;
|
|
173
|
+
set data(v: any);
|
|
174
|
+
set tap(v: any);
|
|
175
|
+
get mappings(): any[];
|
|
176
|
+
get retention(): number;
|
|
177
|
+
get animation(): import("../index.js").AnimationController | undefined;
|
|
178
|
+
get started(): boolean;
|
|
179
|
+
set started(v: boolean);
|
|
180
|
+
get controls(): import("../index.js").Control[] | undefined;
|
|
181
|
+
findFirst(finder: string | ((c: Component) => boolean), ...others: any[]): Component | undefined;
|
|
182
|
+
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
183
|
+
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
184
|
+
findAnchor(name: string): any;
|
|
185
|
+
isDescendible(container: Component | any): boolean;
|
|
186
|
+
getContext(component?: unknown): any;
|
|
187
|
+
get root(): Component;
|
|
188
|
+
get rootModel(): Component;
|
|
189
|
+
get parent(): Component;
|
|
190
|
+
set parent(v: Component);
|
|
191
|
+
get anchors(): import("../index.js").Anchor[];
|
|
192
|
+
get scalable(): boolean;
|
|
193
|
+
get stuck(): boolean;
|
|
194
|
+
get capturable(): boolean;
|
|
195
|
+
get position(): string;
|
|
196
|
+
get origin(): string;
|
|
197
|
+
get offset(): import("../index.js").POINT;
|
|
198
|
+
get app(): import("../index.js").ApplicationContext;
|
|
199
|
+
drawEffect(context: import("../index.js").SceneRenderContext): void;
|
|
200
|
+
prepareFill(resolve: Function, reject: Function): void;
|
|
201
|
+
prepareFillIf(condition: boolean): void;
|
|
202
|
+
onchangeFill(after: Record<string, any>, before: Record<string, any>): void;
|
|
203
|
+
drawImage(context: import("../index.js").SceneRenderContext, image: HTMLImageElement, left: number, top: number, width: number, height: number): void;
|
|
204
|
+
mutateBounds(logic: ((bounds: import("../index.js").BOUNDS) => import("../index.js").BOUNDS | void) | null, context?: any): void;
|
|
205
|
+
mutatePath(beforeLogic: ((path: import("../index.js").POINT[]) => import("../index.js").POINT[] | void) | null, afterLogic: ((path: import("../index.js").POINT[]) => import("../index.js").POINT[] | void) | null, context?: any): void;
|
|
206
|
+
access(accessor: string): any;
|
|
207
|
+
substitute(template: string, data: any): string | undefined;
|
|
208
|
+
onchangeMappings(after: Record<string, any>, before: Record<string, any>): void;
|
|
209
|
+
onchangeData(after: Record<string, any>, before: Record<string, any>): void;
|
|
210
|
+
buildMappings(): void;
|
|
211
|
+
executeMappings(force?: boolean): void;
|
|
212
|
+
disposeMappings(): void;
|
|
213
|
+
ondropfile(transfered: FileList, files: string[]): void;
|
|
214
|
+
transcoordS2P(x: number, y: number, rp?: import("../index.js").POINT): import("../index.js").POINT;
|
|
215
|
+
transcoordP2S(x: number, y: number, rp?: import("../index.js").POINT): import("../index.js").POINT;
|
|
216
|
+
transcoordS2T(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
217
|
+
transcoordT2P(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
218
|
+
transcoordT2S(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
219
|
+
transcoordS2TR(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
220
|
+
transcoordS2O(x: number, y: number, target: Component): import("../index.js").POINT;
|
|
221
|
+
transcoordC2S(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
222
|
+
transcoordS2C(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
223
|
+
toParent(x: number, y: number, rp?: import("../index.js").POINT): import("../index.js").POINT;
|
|
224
|
+
fromParent(x: number, y: number, rp?: import("../index.js").POINT): import("../index.js").POINT;
|
|
225
|
+
toScene(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
226
|
+
fromScene(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
227
|
+
toLocal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
228
|
+
toGlobal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
229
|
+
toOther(x: number, y: number, target: Component): import("../index.js").POINT;
|
|
230
|
+
on<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
231
|
+
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
232
|
+
off<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
233
|
+
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
234
|
+
once<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
235
|
+
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
236
|
+
trigger<K extends keyof import("../index.js").ComponentEventMap>(name: K, ...args: import("../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
237
|
+
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
238
|
+
delegate_on(delegator: any): /*elided*/ any;
|
|
239
|
+
delegate_off(delegator: any): /*elided*/ any;
|
|
240
|
+
onchange(after: Record<string, any>, before: Record<string, any>): void;
|
|
241
|
+
calculateBounds?(): void;
|
|
242
|
+
oncreate_element?(element: HTMLElement): void;
|
|
243
|
+
removeComponent(component: Component, ghost?: boolean): void;
|
|
244
|
+
addComponent(component: Component, ghost?: boolean): void;
|
|
245
|
+
insertComponentAt(component: Component, index: number, ghost?: boolean): void;
|
|
246
|
+
getOverlay(component: Component): HTMLElement | undefined;
|
|
247
|
+
findById(id: string): Component | undefined;
|
|
248
|
+
findByRefid(ref: string | number): Component | undefined;
|
|
249
|
+
findAllById(id: string): Component[];
|
|
250
|
+
resize(): void;
|
|
251
|
+
fit(type?: string): void;
|
|
252
|
+
get components(): Component[] | undefined;
|
|
253
|
+
get layout(): any;
|
|
254
|
+
get auxOverlay(): HTMLElement | undefined;
|
|
255
|
+
get isReady(): boolean;
|
|
256
|
+
get unitScale(): number;
|
|
257
|
+
get selected(): Component[];
|
|
258
|
+
set selected(_v: Component[]);
|
|
259
|
+
get focused(): Component | null;
|
|
260
|
+
set focused(_v: Component | null);
|
|
261
|
+
get hasSameParentForAllSelected(): boolean;
|
|
262
|
+
set hasSameParentForAllSelected(_v: boolean);
|
|
263
|
+
get fitMode(): string | undefined;
|
|
264
|
+
set fitMode(_v: string | undefined);
|
|
265
|
+
get element(): HTMLElement | null;
|
|
266
|
+
set element(_v: HTMLElement | null);
|
|
39
267
|
};
|
|
40
268
|
} & TBase;
|
|
41
269
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-capacity.d.ts","sourceRoot":"","sources":["../../src/transfer/container-capacity.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"container-capacity.d.ts","sourceRoot":"","sources":["../../src/transfer/container-capacity.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AACjH,OAAO,KAAK,SAAS,MAAM,4BAA4B,CAAA;AAGvD,0EAA0E;AAC1E,eAAO,MAAM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|
+
* 덮어써서 **world rotation 고정**. transition 동안 부모(예: cross-belt proxy)가
|
|
24
|
+
* 움직여도 박스의 절대 자세 보존. to3D 에만 지정해도 동작.
|
|
25
|
+
*/
|
|
26
|
+
worldQuatLock?: any;
|
|
21
27
|
}
|
|
22
28
|
interface ReparentState {
|
|
23
29
|
fromWorld?: WorldState;
|
|
@@ -40,7 +46,7 @@ interface ReparentState {
|
|
|
40
46
|
*/
|
|
41
47
|
export default class TransitionEffect {
|
|
42
48
|
private active;
|
|
43
|
-
private
|
|
49
|
+
private unsubscribeTick;
|
|
44
50
|
private root;
|
|
45
51
|
private _canvas;
|
|
46
52
|
private _ctx;
|