@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
|
@@ -67,9 +67,9 @@ declare const Popup_base: {
|
|
|
67
67
|
get(property: any): any;
|
|
68
68
|
set(props: any, propval?: any): any;
|
|
69
69
|
getState(property: any): any;
|
|
70
|
-
setState(props:
|
|
70
|
+
setState(props: Partial<import("../index.js").State> | string, propval?: any): any;
|
|
71
71
|
get model(): any;
|
|
72
|
-
get state():
|
|
72
|
+
get state(): import("../index.js").State;
|
|
73
73
|
get hierarchy(): any;
|
|
74
74
|
get volatile(): never[];
|
|
75
75
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -160,7 +160,7 @@ declare const Popup_base: {
|
|
|
160
160
|
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
161
161
|
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
162
162
|
findAnchor(name: string): any;
|
|
163
|
-
isDescendible(container: Component): boolean;
|
|
163
|
+
isDescendible(container: Component | any): boolean;
|
|
164
164
|
getContext(component?: unknown): any;
|
|
165
165
|
get root(): Component;
|
|
166
166
|
get rootModel(): Component;
|
|
@@ -204,9 +204,13 @@ declare const Popup_base: {
|
|
|
204
204
|
toLocal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
205
205
|
toGlobal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
206
206
|
toOther(x: number, y: number, target: Component): import("../index.js").POINT;
|
|
207
|
+
on<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
207
208
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
209
|
+
off<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
208
210
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
211
|
+
once<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
209
212
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
213
|
+
trigger<K extends keyof import("../index.js").ComponentEventMap>(name: K, ...args: import("../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
210
214
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
211
215
|
delegate_on(delegator: any): /*elided*/ any;
|
|
212
216
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popup.d.ts","sourceRoot":"","sources":["../../src/components/popup.ts"],"names":[],"mappings":"AAKA,OAAO,SAAS,MAAM,gBAAgB,CAAA;AAEtC,OAAO,KAAK,MAAM,YAAY,CAAA
|
|
1
|
+
{"version":3,"file":"popup.d.ts","sourceRoot":"","sources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
|
get(property: any): any;
|
|
57
57
|
set(props: any, propval?: any): any;
|
|
58
58
|
getState(property: any): any;
|
|
59
|
-
setState(props:
|
|
59
|
+
setState(props: Partial<import("../index.js").State> | string, propval?: any): any;
|
|
60
60
|
get model(): any;
|
|
61
|
-
get state():
|
|
61
|
+
get state(): import("../index.js").State;
|
|
62
62
|
get hierarchy(): any;
|
|
63
63
|
get volatile(): never[];
|
|
64
64
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -153,7 +153,7 @@ declare const Rect_base: {
|
|
|
153
153
|
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
154
154
|
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
155
155
|
findAnchor(name: string): any;
|
|
156
|
-
isDescendible(container: Component): boolean;
|
|
156
|
+
isDescendible(container: Component | any): boolean;
|
|
157
157
|
getContext(component?: unknown): any;
|
|
158
158
|
get root(): Component;
|
|
159
159
|
get rootModel(): Component;
|
|
@@ -198,9 +198,13 @@ declare const Rect_base: {
|
|
|
198
198
|
toLocal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
199
199
|
toGlobal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
200
200
|
toOther(x: number, y: number, target: Component): import("../index.js").POINT;
|
|
201
|
+
on<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
201
202
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
203
|
+
off<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
202
204
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
205
|
+
once<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
203
206
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
207
|
+
trigger<K extends keyof import("../index.js").ComponentEventMap>(name: K, ...args: import("../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
204
208
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
205
209
|
delegate_on(delegator: any): /*elided*/ any;
|
|
206
210
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -299,9 +303,9 @@ declare const Rect_base: {
|
|
|
299
303
|
get(property: any): any;
|
|
300
304
|
set(props: any, propval?: any): any;
|
|
301
305
|
getState(property: any): any;
|
|
302
|
-
setState(props:
|
|
306
|
+
setState(props: Partial<import("../index.js").State> | string, propval?: any): any;
|
|
303
307
|
get model(): any;
|
|
304
|
-
get state():
|
|
308
|
+
get state(): import("../index.js").State;
|
|
305
309
|
get hierarchy(): any;
|
|
306
310
|
get volatile(): never[];
|
|
307
311
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -392,7 +396,7 @@ declare const Rect_base: {
|
|
|
392
396
|
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
393
397
|
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
394
398
|
findAnchor(name: string): any;
|
|
395
|
-
isDescendible(container: Component): boolean;
|
|
399
|
+
isDescendible(container: Component | any): boolean;
|
|
396
400
|
getContext(component?: unknown): any;
|
|
397
401
|
get root(): Component;
|
|
398
402
|
get rootModel(): Component;
|
|
@@ -436,9 +440,13 @@ declare const Rect_base: {
|
|
|
436
440
|
toLocal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
437
441
|
toGlobal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
438
442
|
toOther(x: number, y: number, target: Component): import("../index.js").POINT;
|
|
443
|
+
on<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
439
444
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
445
|
+
off<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
440
446
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
447
|
+
once<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
441
448
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
449
|
+
trigger<K extends keyof import("../index.js").ComponentEventMap>(name: K, ...args: import("../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
442
450
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
443
451
|
delegate_on(delegator: any): /*elided*/ any;
|
|
444
452
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rect.d.ts","sourceRoot":"","sources":["../../src/components/rect.ts"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,gBAAgB,CAAA;AAGtC,OAAO,KAAK,MAAM,YAAY,CAAA
|
|
1
|
+
{"version":3,"file":"rect.d.ts","sourceRoot":"","sources":["../../src/components/rect.ts"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,gBAAgB,CAAA;AAGtC,OAAO,KAAK,MAAM,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmC9B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,SAA4B;IAC5D,OAAO;IAIP,IAAI,QAAQ;;;;gCAnBiB,GAAG,SAAS,MAAM,aAAa,GAAG;;QA8B9D;IAED,IAAI,MAAM;;;;;;;;;;;;;MAET;CACF"}
|
|
@@ -67,9 +67,9 @@ declare const Ruler_base: {
|
|
|
67
67
|
get(property: any): any;
|
|
68
68
|
set(props: any, propval?: any): any;
|
|
69
69
|
getState(property: any): any;
|
|
70
|
-
setState(props:
|
|
70
|
+
setState(props: Partial<import("../index.js").State> | string, propval?: any): any;
|
|
71
71
|
get model(): any;
|
|
72
|
-
get state():
|
|
72
|
+
get state(): import("../index.js").State;
|
|
73
73
|
get hierarchy(): any;
|
|
74
74
|
get volatile(): never[];
|
|
75
75
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -160,7 +160,7 @@ declare const Ruler_base: {
|
|
|
160
160
|
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
161
161
|
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
162
162
|
findAnchor(name: string): any;
|
|
163
|
-
isDescendible(container: Component): boolean;
|
|
163
|
+
isDescendible(container: Component | any): boolean;
|
|
164
164
|
getContext(component?: unknown): any;
|
|
165
165
|
get root(): Component;
|
|
166
166
|
get rootModel(): Component;
|
|
@@ -204,9 +204,13 @@ declare const Ruler_base: {
|
|
|
204
204
|
toLocal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
205
205
|
toGlobal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
206
206
|
toOther(x: number, y: number, target: Component): import("../index.js").POINT;
|
|
207
|
+
on<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
207
208
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
209
|
+
off<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
208
210
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
211
|
+
once<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
209
212
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
213
|
+
trigger<K extends keyof import("../index.js").ComponentEventMap>(name: K, ...args: import("../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
210
214
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
211
215
|
delegate_on(delegator: any): /*elided*/ any;
|
|
212
216
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ruler.d.ts","sourceRoot":"","sources":["../../src/components/ruler.ts"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,gBAAgB,CAAA;AACtC,OAAO,KAAK,MAAM,YAAY,CAAA
|
|
1
|
+
{"version":3,"file":"ruler.d.ts","sourceRoot":"","sources":["../../src/components/ruler.ts"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,gBAAgB,CAAA;AACtC,OAAO,KAAK,MAAM,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAK9B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,UAAe;IAChD,MAAM,CAAC,GAAG,EAAE,GAAG;CAmGhB"}
|
|
@@ -68,9 +68,9 @@ declare const ServiceComponent_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 ServiceComponent_base: {
|
|
|
161
161
|
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
162
162
|
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
163
163
|
findAnchor(name: string): any;
|
|
164
|
-
isDescendible(container: Component): boolean;
|
|
164
|
+
isDescendible(container: Component | any): boolean;
|
|
165
165
|
getContext(component?: unknown): any;
|
|
166
166
|
get root(): Component;
|
|
167
167
|
get rootModel(): Component;
|
|
@@ -205,9 +205,13 @@ declare const ServiceComponent_base: {
|
|
|
205
205
|
toLocal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
206
206
|
toGlobal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
207
207
|
toOther(x: number, y: number, target: 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":"service-component.d.ts","sourceRoot":"","sources":["../../src/components/service-component.ts"],"names":[],"mappings":"AAeA,OAAO,SAAS,MAAM,gBAAgB,CAAA;AAEtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA
|
|
1
|
+
{"version":3,"file":"service-component.d.ts","sourceRoot":"","sources":["../../src/components/service-component.ts"],"names":[],"mappings":"AAeA,OAAO,SAAS,MAAM,gBAAgB,CAAA;AAEtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAapE,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,qBAAmB;IAC/D,MAAM,CAAC,YAAY,CAAC,EAAE,gBAAgB,CAAA;IACtC,OAAO,CAAC,eAAe,CAAC,CAAK;IAE7B;;OAEG;IACH,MAAM,KAAK,IAAI,IAAI,gBAAgB,CAMlC;IAED;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;IAED,IAAI,eAAe,YAElB;IAED,OAAO;IAIP,eAAe,IAAI,WAAW,GAAG,SAAS;IAM1C,MAAM,CAAC,OAAO,EAAE,kBAAkB;IAclC,KAAK,CAAC,MAAM,EAAE,GAAG;IAUjB,OAAO,CAAC,MAAM,EAAE,GAAG;IAUnB,IAAI,QAAQ,YAEX;CACF"}
|
|
@@ -66,9 +66,9 @@ declare const Text_base: {
|
|
|
66
66
|
get(property: any): any;
|
|
67
67
|
set(props: any, propval?: any): any;
|
|
68
68
|
getState(property: any): any;
|
|
69
|
-
setState(props:
|
|
69
|
+
setState(props: Partial<import("../index.js").State> | string, propval?: any): any;
|
|
70
70
|
get model(): any;
|
|
71
|
-
get state():
|
|
71
|
+
get state(): import("../index.js").State;
|
|
72
72
|
get hierarchy(): any;
|
|
73
73
|
get volatile(): never[];
|
|
74
74
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -159,7 +159,7 @@ declare const Text_base: {
|
|
|
159
159
|
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
160
160
|
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
161
161
|
findAnchor(name: string): any;
|
|
162
|
-
isDescendible(container: Component): boolean;
|
|
162
|
+
isDescendible(container: Component | any): boolean;
|
|
163
163
|
getContext(component?: unknown): any;
|
|
164
164
|
get root(): Component;
|
|
165
165
|
get rootModel(): Component;
|
|
@@ -203,9 +203,13 @@ declare const Text_base: {
|
|
|
203
203
|
toLocal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
204
204
|
toGlobal(x: number, y: number, top?: Component): import("../index.js").POINT;
|
|
205
205
|
toOther(x: number, y: number, target: Component): import("../index.js").POINT;
|
|
206
|
+
on<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
206
207
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
208
|
+
off<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
207
209
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
210
|
+
once<K extends keyof import("../index.js").ComponentEventMap>(name: K, callback: (...args: import("../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
208
211
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
212
|
+
trigger<K extends keyof import("../index.js").ComponentEventMap>(name: K, ...args: import("../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
209
213
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
210
214
|
delegate_on(delegator: any): /*elided*/ any;
|
|
211
215
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/components/text.ts"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,gBAAgB,CAAA
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/components/text.ts"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAItC,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,SAAmB;IACnD,OAAO;CAGR"}
|
|
@@ -4,9 +4,16 @@ import type { Properties } from './types.js';
|
|
|
4
4
|
* Component의 3D 표현을 담당하는 객체가 구현해야 하는 계약.
|
|
5
5
|
* 실제 구현은 src/threed/real-object.ts에서 제공.
|
|
6
6
|
*
|
|
7
|
-
* Three.js
|
|
7
|
+
* Three.js 직접 import 의존성은 없지만, 모든 실 구현(RealObject<T extends THREE.Object3D>)이
|
|
8
|
+
* object3d 를 갖기 때문에 인터페이스에도 노출. 타입은 any — 명시 타입이 필요한
|
|
9
|
+
* 곳은 IThreeRealObject(src/threed/interfaces.ts) 또는 구체 구현 클래스로 좁혀 사용.
|
|
8
10
|
*/
|
|
9
11
|
export interface IRealObject {
|
|
12
|
+
/**
|
|
13
|
+
* THREE.Object3D 인스턴스. THREE 의존성 회피를 위해 any 로 노출.
|
|
14
|
+
* 명시 THREE.Object3D 타입이 필요하면 IThreeRealObject 로 narrow.
|
|
15
|
+
*/
|
|
16
|
+
object3d?: any;
|
|
10
17
|
/** 3D 오브젝트 업데이트 (build + dimension + transform + 외관) */
|
|
11
18
|
update(): void;
|
|
12
19
|
/** 리소스 해제 */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"real-object.d.ts","sourceRoot":"","sources":["../../src/interfaces/real-object.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C
|
|
1
|
+
{"version":3,"file":"real-object.d.ts","sourceRoot":"","sources":["../../src/interfaces/real-object.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C;;;;;;;;GAQG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,GAAG,CAAA;IAGd,wDAAwD;IACxD,MAAM,IAAI,IAAI,CAAA;IACd,aAAa;IACb,OAAO,IAAI,IAAI,CAAA;IAGf,0CAA0C;IAC1C,eAAe,IAAI,IAAI,CAAA;IACvB,oDAAoD;IACpD,eAAe,IAAI,IAAI,CAAA;IACvB,eAAe;IACf,cAAc,IAAI,IAAI,CAAA;IAGtB,gBAAgB;IAChB,WAAW,IAAI,IAAI,CAAA;IACnB,eAAe;IACf,YAAY,IAAI,IAAI,CAAA;IACpB,iBAAiB;IACjB,eAAe,IAAI,IAAI,CAAA;IACvB,eAAe;IACf,iBAAiB,IAAI,IAAI,CAAA;IACzB,gBAAgB;IAChB,UAAU,IAAI,IAAI,CAAA;IAGlB,2BAA2B;IAC3B,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI,CAAA;IAGrD,6BAA6B;IAC7B,OAAO,EAAE,OAAO,CAAA;CACjB"}
|
|
@@ -8,8 +8,27 @@ export type Class = {
|
|
|
8
8
|
export type Properties = {
|
|
9
9
|
[key: string]: any;
|
|
10
10
|
};
|
|
11
|
-
export type State = Properties;
|
|
12
11
|
export type Style = Properties;
|
|
12
|
+
/**
|
|
13
|
+
* Component state — 임의 필드를 갖는 동적 객체.
|
|
14
|
+
*
|
|
15
|
+
* 컴포넌트별로 자기 state 형태를 선언하고 싶으면 이 인터페이스를 extends 하여
|
|
16
|
+
* 필드를 추가하고, 컴포넌트 클래스에서 `declare state: MyState` 로 좁히면 된다:
|
|
17
|
+
*
|
|
18
|
+
* interface MyState extends State {
|
|
19
|
+
* mySpecificField: number
|
|
20
|
+
* myStatus: 'idle' | 'busy'
|
|
21
|
+
* }
|
|
22
|
+
* class MyComponent extends RectPath(Shape) {
|
|
23
|
+
* declare state: MyState // 타입 narrowing — 런타임 영향 없음
|
|
24
|
+
* }
|
|
25
|
+
*
|
|
26
|
+
* 기존 `state.foo` 접근 코드는 인덱스 시그니처로 호환된다.
|
|
27
|
+
* 추후 단계적으로 공통 필드(left/top/width/height/...)를 명시적으로 추가할 수 있다.
|
|
28
|
+
*/
|
|
29
|
+
export interface State {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}
|
|
13
32
|
/**
|
|
14
33
|
* 좌표, 위치, 크기 관련 타입
|
|
15
34
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/interfaces/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAExD;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,GAAG,CAAA;CAAE,CAAA;AACjD,MAAM,MAAM,UAAU,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAA;AAC/C,MAAM,MAAM,KAAK,GAAG,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/interfaces/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAExD;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,GAAG,CAAA;CAAE,CAAA;AACjD,MAAM,MAAM,UAAU,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAA;AAC/C,MAAM,MAAM,KAAK,GAAG,UAAU,CAAA;AAE9B;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,KAAK;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AACxD,MAAM,MAAM,KAAK,GAAG,KAAK,CAAA;AACzB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AC,EAAE,MAAM,CAAA;CACf,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,GAAG,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/placement/index.ts"],"names":[],"mappings":"AAMA,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 컴포넌트의 placement 결정 정책.
|
|
3
|
+
*
|
|
4
|
+
* - **state-driven** (default): state.left/top/zPos/rotation/... 이 obj3d 에 반영.
|
|
5
|
+
* 현재 things-scene 의 모든 컴포넌트가 묵시적으로 따르는 정책.
|
|
6
|
+
*
|
|
7
|
+
* - **carried**: 다른 holder 의 attach frame 에 부착. holder 의 movement 를
|
|
8
|
+
* scene-graph 통해 자동 추종. carrier policy (world-preserve / belt-aligned /
|
|
9
|
+
* world-fixed 등) 는 holder 가 결정. 예: AGV 위 박스, sorter carrier 위 파레트.
|
|
10
|
+
*
|
|
11
|
+
* - **animated**: animation system 이 일시적으로 obj3d 를 override. animation
|
|
12
|
+
* 종료 시 다른 정책으로 복귀.
|
|
13
|
+
*
|
|
14
|
+
* - **fixed**: world 좌표 고정 (parent 변경 무관). HUD / screenFixed 컴포넌트.
|
|
15
|
+
*
|
|
16
|
+
* - **transitioning**: reparent 중 TransitionEffect 가 보간 제어. transition
|
|
17
|
+
* 완료 시 keepSuppressed 면 carried 또는 manual, 아니면 state-driven 으로 복귀.
|
|
18
|
+
*
|
|
19
|
+
* - **manual**: 컴포넌트 코드가 직접 obj3d.position/quaternion 을 매 frame
|
|
20
|
+
* 조작. framework 는 개입 안 함. 예: cross-belt-line 의 _tickSim, IK
|
|
21
|
+
* smoothing, URDF physics.
|
|
22
|
+
*/
|
|
23
|
+
export type PlacementPolicy = 'state-driven' | 'carried' | 'animated' | 'fixed' | 'transitioning' | 'manual';
|
|
24
|
+
/**
|
|
25
|
+
* Placement 선언. 컴포넌트의 RealObject 가 이 객체를 반환하면 framework 가
|
|
26
|
+
* 정책에 따라 동작.
|
|
27
|
+
*
|
|
28
|
+
* Step 1 에선 policy 만 정의. 후속 step 에서 정책별 metadata (예: carried 의
|
|
29
|
+
* carryPolicy 'world-preserve' / 'belt-aligned', transitioning 의 transition 객체)
|
|
30
|
+
* 를 추가.
|
|
31
|
+
*/
|
|
32
|
+
export interface Placement {
|
|
33
|
+
policy: PlacementPolicy;
|
|
34
|
+
/**
|
|
35
|
+
* 정책별 metadata. 선언 시점에 정책에 따라 추가 정보를 담음.
|
|
36
|
+
* Step 1 에선 미사용. 향후 정책 별로 타입 좁히기 (discriminated union) 적용.
|
|
37
|
+
*/
|
|
38
|
+
meta?: Record<string, unknown>;
|
|
39
|
+
}
|
|
40
|
+
/** 기본 placement = 현재 동작 = state pipeline 이 obj3d 를 결정. */
|
|
41
|
+
export declare const DEFAULT_PLACEMENT: Placement;
|
|
42
|
+
/**
|
|
43
|
+
* Placement 정책이 state pipeline 적용을 허용하는가.
|
|
44
|
+
*
|
|
45
|
+
* - state-driven: ✓ 적용
|
|
46
|
+
* - 그 외: framework 가 obj3d 를 건드리지 않음 (다른 시스템 또는 컴포넌트가 책임).
|
|
47
|
+
*
|
|
48
|
+
* 현재 RealObject 의 `suppressTransform` 플래그와 의미가 겹침. 마이그레이션
|
|
49
|
+
* 단계 (Step 2~7) 에서 suppressTransform 이 점진적으로 `placement.policy !==
|
|
50
|
+
* 'state-driven'` 으로 흡수됨. 호환성 위해 두 메커니즘 일정 기간 병존.
|
|
51
|
+
*/
|
|
52
|
+
export declare function isStateDriven(placement: Placement): boolean;
|
|
53
|
+
//# sourceMappingURL=placement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"placement.d.ts","sourceRoot":"","sources":["../../src/placement/placement.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,eAAe,GACvB,cAAc,GACd,SAAS,GACT,UAAU,GACV,OAAO,GACP,eAAe,GACf,QAAQ,CAAA;AAEZ;;;;;;;GAOG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,eAAe,CAAA;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC/B;AAED,0DAA0D;AAC1D,eAAO,MAAM,iBAAiB,EAAE,SAAsC,CAAA;AAEtE;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAE3D"}
|
|
@@ -16,6 +16,7 @@ export declare namespace Model {
|
|
|
16
16
|
}
|
|
17
17
|
export { default as Layer } from '../layer/layer.js';
|
|
18
18
|
export { default as EventMap } from '../event-map/event-map.js';
|
|
19
|
+
export type { ComponentEventMap } from '../types/event.js';
|
|
19
20
|
export * from '../const.js';
|
|
20
21
|
export * from '../animation/index.js';
|
|
21
22
|
export * from '../components/index.js';
|
|
@@ -29,6 +30,8 @@ export type { LAYOUT, LayoutRegistry } from '../interfaces/layout.js';
|
|
|
29
30
|
export type { IRealObject } from '../interfaces/real-object.js';
|
|
30
31
|
export type { Vec3, Size3, Bounds3, SlotArrangement, GridShape, SlotDef, SlotAssignment, TransferOptions, StaticPolicy, DynamicPolicy, PendingPolicy, ConnectionPolicy, Port, TransferEventType, TransferEvent, CarrierAttachPoint, ArrangementStrategy, Transferable, NavigationTarget, NavigationOptions, Movable, ArticulatedCapability, MissionStatus, VehicleMission, MissionExecutor, SensorPoint, SpawnPoint, SinkPoint, SimulationClock } from '../transfer/index.js';
|
|
31
32
|
export { FixedSlotStrategy, CenteringSlotStrategy, ContainerCapacity, TRANSFER_SLOT_KEY, globalSimClock } from '../transfer/index.js';
|
|
33
|
+
export { frameClock } from '../clock/index.js';
|
|
34
|
+
export type { FrameClock, TickHandler, Unsubscribe, SubscribeOptions, SubscriptionInfo, FrameClockSnapshot, ExternalAnimationInfo, ExternalAnimationHandle } from '../clock/index.js';
|
|
32
35
|
export { default as ReferenceMap } from '../core/reference-map.js';
|
|
33
36
|
export { default as ScriptLoader } from '../core/script-loader.js';
|
|
34
37
|
export * from '../core/logger.js';
|
|
@@ -44,6 +47,7 @@ export type { LagMonitorConfig, LagTrend, LagLevel, LagStats } from '../diagnost
|
|
|
44
47
|
export { LoadingOverlay } from '../diagnostics/loading-overlay.js';
|
|
45
48
|
export { default as ScenePopup } from '../layer/action/popup.js';
|
|
46
49
|
export { default as TransitionEffect } from '../transition/transition-effect.js';
|
|
50
|
+
export * from '../placement/index.js';
|
|
47
51
|
export * from '../search/index.js';
|
|
48
52
|
export * from '../threed/index.js';
|
|
49
53
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,C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
|
|
80
80
|
getState(property: any): any;
|
|
81
|
-
setState(props:
|
|
81
|
+
setState(props: Partial<import("../../index.js").State> | string, propval?: any): any;
|
|
82
82
|
get model(): any;
|
|
83
|
-
get state():
|
|
83
|
+
get state(): import("../../index.js").State;
|
|
84
84
|
get hierarchy(): any;
|
|
85
85
|
get volatile(): never[];
|
|
86
86
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -175,7 +175,7 @@ declare const Backdrop_base: {
|
|
|
175
175
|
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
176
176
|
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
177
177
|
findAnchor(name: string): any;
|
|
178
|
-
isDescendible(container: import("../../index.js").Component): boolean;
|
|
178
|
+
isDescendible(container: import("../../index.js").Component | any): boolean;
|
|
179
179
|
getContext(component?: unknown): any;
|
|
180
180
|
get root(): import("../../index.js").Component;
|
|
181
181
|
get rootModel(): import("../../index.js").Component;
|
|
@@ -219,9 +219,13 @@ declare const Backdrop_base: {
|
|
|
219
219
|
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
220
220
|
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
221
221
|
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
222
|
+
on<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
222
223
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
224
|
+
off<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
223
225
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
226
|
+
once<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
224
227
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
228
|
+
trigger<K extends keyof import("../../index.js").ComponentEventMap>(name: K, ...args: import("../../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
225
229
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
226
230
|
delegate_on(delegator: any): /*elided*/ any;
|
|
227
231
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -321,9 +325,9 @@ declare const Backdrop_base: {
|
|
|
321
325
|
get(property: any): any;
|
|
322
326
|
set(props: any, propval?: any): any;
|
|
323
327
|
getState(property: any): any;
|
|
324
|
-
setState(props:
|
|
328
|
+
setState(props: Partial<import("../../index.js").State> | string, propval?: any): any;
|
|
325
329
|
get model(): any;
|
|
326
|
-
get state():
|
|
330
|
+
get state(): import("../../index.js").State;
|
|
327
331
|
get hierarchy(): any;
|
|
328
332
|
get volatile(): never[];
|
|
329
333
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -414,7 +418,7 @@ declare const Backdrop_base: {
|
|
|
414
418
|
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
415
419
|
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
416
420
|
findAnchor(name: string): any;
|
|
417
|
-
isDescendible(container: import("../../index.js").Component): boolean;
|
|
421
|
+
isDescendible(container: import("../../index.js").Component | any): boolean;
|
|
418
422
|
getContext(component?: unknown): any;
|
|
419
423
|
get root(): import("../../index.js").Component;
|
|
420
424
|
get rootModel(): import("../../index.js").Component;
|
|
@@ -458,9 +462,13 @@ declare const Backdrop_base: {
|
|
|
458
462
|
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
459
463
|
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
460
464
|
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
465
|
+
on<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
461
466
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
467
|
+
off<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
462
468
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
469
|
+
once<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
463
470
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
471
|
+
trigger<K extends keyof import("../../index.js").ComponentEventMap>(name: K, ...args: import("../../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
464
472
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
465
473
|
delegate_on(delegator: any): /*elided*/ any;
|
|
466
474
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/backdrop.ts"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,KAAK,MAAM,2BAA2B,CAAA;AAK7C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAgHzD,qBAAa,UAAW,SAAQ,eAAe;IAC7C;;;;;;;;;;;;OAYG;IACH,IAAa,QAAQ;;;;MAMpB;IAQD,KAAK;IAoFL,OAAO,CAAC,YAAY;IAqBpB,eAAe;IAEf,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE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O,CAAC,aAAa,CAAC,CAAsC;IAE5D,eAAe,IAAI,WAAW,GAAG,SAAS;IAI1C,IAAI,MAAM,IAAI,eAAe,CAE5B;IAED,KAAK,CAAC,MAAM,EAAE,GAAG;IAgBX,KAAK;IAOX,OAAO,CAAC,MAAM,EAAE,GAAG;IAKnB,OAAO;IAKP,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAYxE;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,aAAa;IA8BrB,OAAO,CAAC,mBAAmB;IAa3B,OAAO,CAAC,mBAAmB;CAM5B"}
|
|
@@ -76,9 +76,9 @@ declare const Banner_base: {
|
|
|
76
76
|
get(property: any): any;
|
|
77
77
|
set(props: any, propval?: any): any;
|
|
78
78
|
getState(property: any): any;
|
|
79
|
-
setState(props:
|
|
79
|
+
setState(props: Partial<import("../../index.js").State> | string, propval?: any): any;
|
|
80
80
|
get model(): any;
|
|
81
|
-
get state():
|
|
81
|
+
get state(): import("../../index.js").State;
|
|
82
82
|
get hierarchy(): any;
|
|
83
83
|
get volatile(): never[];
|
|
84
84
|
_applyProps(target: any, props: any, options: any): /*elided*/ any;
|
|
@@ -169,7 +169,7 @@ declare const Banner_base: {
|
|
|
169
169
|
findAll(s: string | ((c: import("../../index.js").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
170
170
|
capture(x: number, y: number, except?: (c: import("../../index.js").Component) => boolean): any;
|
|
171
171
|
findAnchor(name: string): any;
|
|
172
|
-
isDescendible(container: import("../../index.js").Component): boolean;
|
|
172
|
+
isDescendible(container: import("../../index.js").Component | any): boolean;
|
|
173
173
|
getContext(component?: unknown): any;
|
|
174
174
|
get root(): import("../../index.js").Component;
|
|
175
175
|
get rootModel(): import("../../index.js").Component;
|
|
@@ -213,9 +213,13 @@ declare const Banner_base: {
|
|
|
213
213
|
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
214
214
|
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
215
215
|
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
216
|
+
on<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
216
217
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
218
|
+
off<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
217
219
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
220
|
+
once<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
218
221
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
222
|
+
trigger<K extends keyof import("../../index.js").ComponentEventMap>(name: K, ...args: import("../../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
219
223
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
220
224
|
delegate_on(delegator: any): /*elided*/ any;
|
|
221
225
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/banner.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,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,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAmB9C,qBAAa,QAAS,SAAQ,UAAU;IACtC,KAAK;IAYL,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAe1C,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAkBvC,gBAAgB;CAgBjB
|
|
1
|
+
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/banner.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,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,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAmB9C,qBAAa,QAAS,SAAQ,UAAU;IACtC,KAAK;IAYL,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAe1C,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAkBvC,gBAAgB;CAgBjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,qBACa,MAAO,SAAQ,WAAe;IACzC,IAAI,eAAe,YAAmB;IACtC,OAAO;IAIP,IAAI,MAAM,oBAET;IAED,eAAe,IAAI,WAAW,GAAG,SAAS;CAG3C"}
|
|
@@ -77,9 +77,9 @@ declare const Camera_base: {
|
|
|
77
77
|
get(property: any): any;
|
|
78
78
|
set(props: any, propval?: any): any;
|
|
79
79
|
getState(property: any): any;
|
|
80
|
-
setState(props:
|
|
80
|
+
setState(props: Partial<import("../../index.js").State> | string, propval?: 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 Camera_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;
|
|
@@ -214,9 +214,13 @@ declare const Camera_base: {
|
|
|
214
214
|
toLocal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
215
215
|
toGlobal(x: number, y: number, top?: import("../../index.js").Component): import("../../index.js").POINT;
|
|
216
216
|
toOther(x: number, y: number, target: import("../../index.js").Component): import("../../index.js").POINT;
|
|
217
|
+
on<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
217
218
|
on(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
219
|
+
off<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback?: ((...args: import("../../index.js").ComponentEventMap[K]) => void) | undefined, context?: any): /*elided*/ any;
|
|
218
220
|
off(name?: string | object, callback?: Function, context?: any): /*elided*/ any;
|
|
221
|
+
once<K extends keyof import("../../index.js").ComponentEventMap>(name: K, callback: (...args: import("../../index.js").ComponentEventMap[K]) => void, context?: any): /*elided*/ any;
|
|
219
222
|
once(name: string | object, callback: Function, context?: any): /*elided*/ any;
|
|
223
|
+
trigger<K extends keyof import("../../index.js").ComponentEventMap>(name: K, ...args: import("../../index.js").ComponentEventMap[K]): /*elided*/ any;
|
|
220
224
|
trigger(name: string, ...args: any[]): /*elided*/ any;
|
|
221
225
|
delegate_on(delegator: any): /*elided*/ any;
|
|
222
226
|
delegate_off(delegator: any): /*elided*/ any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"camera.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/camera.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,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,UAAU,EAAE,MAAM,mBAAmB,CAAA;AA8C9C,qBAAa,QAAS,SAAQ,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC;IAClD,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAA;IAChC,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,CAAA;IAE3B,SAAS,CAAC,mBAAmB;IAI7B,YAAY;IAyBZ,KAAK;CAgBN
|
|
1
|
+
{"version":3,"file":"camera.d.ts","sourceRoot":"","sources":["../../../src/threed/factories/camera.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,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,UAAU,EAAE,MAAM,mBAAmB,CAAA;AA8C9C,qBAAa,QAAS,SAAQ,UAAU,CAAC,KAAK,CAA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