@operato/scene-integration 10.0.0-beta.30 → 10.0.0-beta.68
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/connection-control.d.ts +8 -1
- package/dist/connection-state-subscription.d.ts +16 -2
- package/dist/data-subscription.d.ts +16 -2
- package/dist/scenario-control.d.ts +16 -2
- package/dist/scenario-instance-subscription.d.ts +16 -2
- package/dist/scenario-queue-subscription.d.ts +16 -2
- package/dist/scenario-run.d.ts +16 -2
- package/dist/scenario-start.d.ts +16 -2
- package/dist/scenario-stop.d.ts +16 -2
- package/package.json +3 -8
|
@@ -40,6 +40,8 @@ declare const ConnectionControl_base: (new (...args: any[]) => {
|
|
|
40
40
|
added(parent: any): void;
|
|
41
41
|
removed(parent: any): void;
|
|
42
42
|
ready(): Promise<void>;
|
|
43
|
+
_readyInvoked: boolean;
|
|
44
|
+
invokeReady(): void | Promise<void>;
|
|
43
45
|
touch(): void;
|
|
44
46
|
clearCache(...attrs: any[]): void;
|
|
45
47
|
removeSelf(completely: any): void;
|
|
@@ -68,6 +70,7 @@ declare const ConnectionControl_base: (new (...args: any[]) => {
|
|
|
68
70
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
69
71
|
get model(): any;
|
|
70
72
|
get state(): import("@hatiolab/things-scene").State;
|
|
73
|
+
get refid(): any;
|
|
71
74
|
get hierarchy(): any;
|
|
72
75
|
get volatile(): never[];
|
|
73
76
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -158,7 +161,7 @@ declare const ConnectionControl_base: (new (...args: any[]) => {
|
|
|
158
161
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
159
162
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
160
163
|
findAnchor(name: string): any;
|
|
161
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
164
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
162
165
|
getContext(component?: unknown): any;
|
|
163
166
|
get root(): import("@hatiolab/things-scene").Component;
|
|
164
167
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -202,9 +205,13 @@ declare const ConnectionControl_base: (new (...args: any[]) => {
|
|
|
202
205
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
203
206
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
204
207
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
208
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
205
209
|
on(name: string | object, callback: Function, context?: any): any;
|
|
210
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
206
211
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
212
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
207
213
|
once(name: string | object, callback: Function, context?: any): any;
|
|
214
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
208
215
|
trigger(name: string, ...args: any[]): any;
|
|
209
216
|
delegate_on(delegator: any): any;
|
|
210
217
|
delegate_off(delegator: any): any;
|
|
@@ -23,6 +23,8 @@ declare const ConnectionStateSubscription_base: (new (...args: any[]) => {
|
|
|
23
23
|
added(parent: any): void;
|
|
24
24
|
removed(parent: any): void;
|
|
25
25
|
ready(): Promise<void>;
|
|
26
|
+
_readyInvoked: boolean;
|
|
27
|
+
invokeReady(): void | Promise<void>;
|
|
26
28
|
touch(): void;
|
|
27
29
|
clearCache(...attrs: any[]): void;
|
|
28
30
|
removeSelf(completely: any): void;
|
|
@@ -51,6 +53,7 @@ declare const ConnectionStateSubscription_base: (new (...args: any[]) => {
|
|
|
51
53
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
52
54
|
get model(): any;
|
|
53
55
|
get state(): import("@hatiolab/things-scene").State;
|
|
56
|
+
get refid(): any;
|
|
54
57
|
get hierarchy(): any;
|
|
55
58
|
get volatile(): never[];
|
|
56
59
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -147,7 +150,7 @@ declare const ConnectionStateSubscription_base: (new (...args: any[]) => {
|
|
|
147
150
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
148
151
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
149
152
|
findAnchor(name: string): any;
|
|
150
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
153
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
151
154
|
getContext(component?: unknown): any;
|
|
152
155
|
get root(): import("@hatiolab/things-scene").Component;
|
|
153
156
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -192,9 +195,13 @@ declare const ConnectionStateSubscription_base: (new (...args: any[]) => {
|
|
|
192
195
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
193
196
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
194
197
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
198
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
195
199
|
on(name: string | object, callback: Function, context?: any): any;
|
|
200
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
196
201
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
202
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
197
203
|
once(name: string | object, callback: Function, context?: any): any;
|
|
204
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
198
205
|
trigger(name: string, ...args: any[]): any;
|
|
199
206
|
delegate_on(delegator: any): any;
|
|
200
207
|
delegate_off(delegator: any): any;
|
|
@@ -266,6 +273,8 @@ declare const ConnectionStateSubscription_base: (new (...args: any[]) => {
|
|
|
266
273
|
added(parent: any): void;
|
|
267
274
|
removed(parent: any): void;
|
|
268
275
|
ready(): Promise<void>;
|
|
276
|
+
_readyInvoked: boolean;
|
|
277
|
+
invokeReady(): void | Promise<void>;
|
|
269
278
|
touch(): void;
|
|
270
279
|
clearCache(...attrs: any[]): void;
|
|
271
280
|
removeSelf(completely: any): void;
|
|
@@ -294,6 +303,7 @@ declare const ConnectionStateSubscription_base: (new (...args: any[]) => {
|
|
|
294
303
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
295
304
|
get model(): any;
|
|
296
305
|
get state(): import("@hatiolab/things-scene").State;
|
|
306
|
+
get refid(): any;
|
|
297
307
|
get hierarchy(): any;
|
|
298
308
|
get volatile(): never[];
|
|
299
309
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -384,7 +394,7 @@ declare const ConnectionStateSubscription_base: (new (...args: any[]) => {
|
|
|
384
394
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
385
395
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
386
396
|
findAnchor(name: string): any;
|
|
387
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
397
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
388
398
|
getContext(component?: unknown): any;
|
|
389
399
|
get root(): import("@hatiolab/things-scene").Component;
|
|
390
400
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -428,9 +438,13 @@ declare const ConnectionStateSubscription_base: (new (...args: any[]) => {
|
|
|
428
438
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
429
439
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
430
440
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
441
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
431
442
|
on(name: string | object, callback: Function, context?: any): any;
|
|
443
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
432
444
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
445
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
433
446
|
once(name: string | object, callback: Function, context?: any): any;
|
|
447
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
434
448
|
trigger(name: string, ...args: any[]): any;
|
|
435
449
|
delegate_on(delegator: any): any;
|
|
436
450
|
delegate_off(delegator: any): any;
|
|
@@ -23,6 +23,8 @@ declare const DataSubscription_base: (new (...args: any[]) => {
|
|
|
23
23
|
added(parent: any): void;
|
|
24
24
|
removed(parent: any): void;
|
|
25
25
|
ready(): Promise<void>;
|
|
26
|
+
_readyInvoked: boolean;
|
|
27
|
+
invokeReady(): void | Promise<void>;
|
|
26
28
|
touch(): void;
|
|
27
29
|
clearCache(...attrs: any[]): void;
|
|
28
30
|
removeSelf(completely: any): void;
|
|
@@ -51,6 +53,7 @@ declare const DataSubscription_base: (new (...args: any[]) => {
|
|
|
51
53
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
52
54
|
get model(): any;
|
|
53
55
|
get state(): import("@hatiolab/things-scene").State;
|
|
56
|
+
get refid(): any;
|
|
54
57
|
get hierarchy(): any;
|
|
55
58
|
get volatile(): never[];
|
|
56
59
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -147,7 +150,7 @@ declare const DataSubscription_base: (new (...args: any[]) => {
|
|
|
147
150
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
148
151
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
149
152
|
findAnchor(name: string): any;
|
|
150
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
153
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
151
154
|
getContext(component?: unknown): any;
|
|
152
155
|
get root(): import("@hatiolab/things-scene").Component;
|
|
153
156
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -192,9 +195,13 @@ declare const DataSubscription_base: (new (...args: any[]) => {
|
|
|
192
195
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
193
196
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
194
197
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
198
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
195
199
|
on(name: string | object, callback: Function, context?: any): any;
|
|
200
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
196
201
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
202
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
197
203
|
once(name: string | object, callback: Function, context?: any): any;
|
|
204
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
198
205
|
trigger(name: string, ...args: any[]): any;
|
|
199
206
|
delegate_on(delegator: any): any;
|
|
200
207
|
delegate_off(delegator: any): any;
|
|
@@ -266,6 +273,8 @@ declare const DataSubscription_base: (new (...args: any[]) => {
|
|
|
266
273
|
added(parent: any): void;
|
|
267
274
|
removed(parent: any): void;
|
|
268
275
|
ready(): Promise<void>;
|
|
276
|
+
_readyInvoked: boolean;
|
|
277
|
+
invokeReady(): void | Promise<void>;
|
|
269
278
|
touch(): void;
|
|
270
279
|
clearCache(...attrs: any[]): void;
|
|
271
280
|
removeSelf(completely: any): void;
|
|
@@ -294,6 +303,7 @@ declare const DataSubscription_base: (new (...args: any[]) => {
|
|
|
294
303
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
295
304
|
get model(): any;
|
|
296
305
|
get state(): import("@hatiolab/things-scene").State;
|
|
306
|
+
get refid(): any;
|
|
297
307
|
get hierarchy(): any;
|
|
298
308
|
get volatile(): never[];
|
|
299
309
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -384,7 +394,7 @@ declare const DataSubscription_base: (new (...args: any[]) => {
|
|
|
384
394
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
385
395
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
386
396
|
findAnchor(name: string): any;
|
|
387
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
397
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
388
398
|
getContext(component?: unknown): any;
|
|
389
399
|
get root(): import("@hatiolab/things-scene").Component;
|
|
390
400
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -428,9 +438,13 @@ declare const DataSubscription_base: (new (...args: any[]) => {
|
|
|
428
438
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
429
439
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
430
440
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
441
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
431
442
|
on(name: string | object, callback: Function, context?: any): any;
|
|
443
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
432
444
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
445
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
433
446
|
once(name: string | object, callback: Function, context?: any): any;
|
|
447
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
434
448
|
trigger(name: string, ...args: any[]): any;
|
|
435
449
|
delegate_on(delegator: any): any;
|
|
436
450
|
delegate_off(delegator: any): any;
|
|
@@ -23,6 +23,8 @@ declare const ScenarioControl_base: (new (...args: any[]) => {
|
|
|
23
23
|
added(parent: any): void;
|
|
24
24
|
removed(parent: any): void;
|
|
25
25
|
ready(): Promise<void>;
|
|
26
|
+
_readyInvoked: boolean;
|
|
27
|
+
invokeReady(): void | Promise<void>;
|
|
26
28
|
touch(): void;
|
|
27
29
|
clearCache(...attrs: any[]): void;
|
|
28
30
|
removeSelf(completely: any): void;
|
|
@@ -51,6 +53,7 @@ declare const ScenarioControl_base: (new (...args: any[]) => {
|
|
|
51
53
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
52
54
|
get model(): any;
|
|
53
55
|
get state(): import("@hatiolab/things-scene").State;
|
|
56
|
+
get refid(): any;
|
|
54
57
|
get hierarchy(): any;
|
|
55
58
|
get volatile(): never[];
|
|
56
59
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -147,7 +150,7 @@ declare const ScenarioControl_base: (new (...args: any[]) => {
|
|
|
147
150
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
148
151
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
149
152
|
findAnchor(name: string): any;
|
|
150
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
153
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
151
154
|
getContext(component?: unknown): any;
|
|
152
155
|
get root(): import("@hatiolab/things-scene").Component;
|
|
153
156
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -192,9 +195,13 @@ declare const ScenarioControl_base: (new (...args: any[]) => {
|
|
|
192
195
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
193
196
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
194
197
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
198
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
195
199
|
on(name: string | object, callback: Function, context?: any): any;
|
|
200
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
196
201
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
202
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
197
203
|
once(name: string | object, callback: Function, context?: any): any;
|
|
204
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
198
205
|
trigger(name: string, ...args: any[]): any;
|
|
199
206
|
delegate_on(delegator: any): any;
|
|
200
207
|
delegate_off(delegator: any): any;
|
|
@@ -266,6 +273,8 @@ declare const ScenarioControl_base: (new (...args: any[]) => {
|
|
|
266
273
|
added(parent: any): void;
|
|
267
274
|
removed(parent: any): void;
|
|
268
275
|
ready(): Promise<void>;
|
|
276
|
+
_readyInvoked: boolean;
|
|
277
|
+
invokeReady(): void | Promise<void>;
|
|
269
278
|
touch(): void;
|
|
270
279
|
clearCache(...attrs: any[]): void;
|
|
271
280
|
removeSelf(completely: any): void;
|
|
@@ -294,6 +303,7 @@ declare const ScenarioControl_base: (new (...args: any[]) => {
|
|
|
294
303
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
295
304
|
get model(): any;
|
|
296
305
|
get state(): import("@hatiolab/things-scene").State;
|
|
306
|
+
get refid(): any;
|
|
297
307
|
get hierarchy(): any;
|
|
298
308
|
get volatile(): never[];
|
|
299
309
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -384,7 +394,7 @@ declare const ScenarioControl_base: (new (...args: any[]) => {
|
|
|
384
394
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
385
395
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
386
396
|
findAnchor(name: string): any;
|
|
387
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
397
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
388
398
|
getContext(component?: unknown): any;
|
|
389
399
|
get root(): import("@hatiolab/things-scene").Component;
|
|
390
400
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -428,9 +438,13 @@ declare const ScenarioControl_base: (new (...args: any[]) => {
|
|
|
428
438
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
429
439
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
430
440
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
441
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
431
442
|
on(name: string | object, callback: Function, context?: any): any;
|
|
443
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
432
444
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
445
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
433
446
|
once(name: string | object, callback: Function, context?: any): any;
|
|
447
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
434
448
|
trigger(name: string, ...args: any[]): any;
|
|
435
449
|
delegate_on(delegator: any): any;
|
|
436
450
|
delegate_off(delegator: any): any;
|
|
@@ -23,6 +23,8 @@ declare const ScenarioInstanceSubscription_base: (new (...args: any[]) => {
|
|
|
23
23
|
added(parent: any): void;
|
|
24
24
|
removed(parent: any): void;
|
|
25
25
|
ready(): Promise<void>;
|
|
26
|
+
_readyInvoked: boolean;
|
|
27
|
+
invokeReady(): void | Promise<void>;
|
|
26
28
|
touch(): void;
|
|
27
29
|
clearCache(...attrs: any[]): void;
|
|
28
30
|
removeSelf(completely: any): void;
|
|
@@ -51,6 +53,7 @@ declare const ScenarioInstanceSubscription_base: (new (...args: any[]) => {
|
|
|
51
53
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
52
54
|
get model(): any;
|
|
53
55
|
get state(): import("@hatiolab/things-scene").State;
|
|
56
|
+
get refid(): any;
|
|
54
57
|
get hierarchy(): any;
|
|
55
58
|
get volatile(): never[];
|
|
56
59
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -147,7 +150,7 @@ declare const ScenarioInstanceSubscription_base: (new (...args: any[]) => {
|
|
|
147
150
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
148
151
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
149
152
|
findAnchor(name: string): any;
|
|
150
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
153
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
151
154
|
getContext(component?: unknown): any;
|
|
152
155
|
get root(): import("@hatiolab/things-scene").Component;
|
|
153
156
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -192,9 +195,13 @@ declare const ScenarioInstanceSubscription_base: (new (...args: any[]) => {
|
|
|
192
195
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
193
196
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
194
197
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
198
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
195
199
|
on(name: string | object, callback: Function, context?: any): any;
|
|
200
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
196
201
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
202
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
197
203
|
once(name: string | object, callback: Function, context?: any): any;
|
|
204
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
198
205
|
trigger(name: string, ...args: any[]): any;
|
|
199
206
|
delegate_on(delegator: any): any;
|
|
200
207
|
delegate_off(delegator: any): any;
|
|
@@ -266,6 +273,8 @@ declare const ScenarioInstanceSubscription_base: (new (...args: any[]) => {
|
|
|
266
273
|
added(parent: any): void;
|
|
267
274
|
removed(parent: any): void;
|
|
268
275
|
ready(): Promise<void>;
|
|
276
|
+
_readyInvoked: boolean;
|
|
277
|
+
invokeReady(): void | Promise<void>;
|
|
269
278
|
touch(): void;
|
|
270
279
|
clearCache(...attrs: any[]): void;
|
|
271
280
|
removeSelf(completely: any): void;
|
|
@@ -294,6 +303,7 @@ declare const ScenarioInstanceSubscription_base: (new (...args: any[]) => {
|
|
|
294
303
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
295
304
|
get model(): any;
|
|
296
305
|
get state(): import("@hatiolab/things-scene").State;
|
|
306
|
+
get refid(): any;
|
|
297
307
|
get hierarchy(): any;
|
|
298
308
|
get volatile(): never[];
|
|
299
309
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -384,7 +394,7 @@ declare const ScenarioInstanceSubscription_base: (new (...args: any[]) => {
|
|
|
384
394
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
385
395
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
386
396
|
findAnchor(name: string): any;
|
|
387
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
397
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
388
398
|
getContext(component?: unknown): any;
|
|
389
399
|
get root(): import("@hatiolab/things-scene").Component;
|
|
390
400
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -428,9 +438,13 @@ declare const ScenarioInstanceSubscription_base: (new (...args: any[]) => {
|
|
|
428
438
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
429
439
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
430
440
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
441
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
431
442
|
on(name: string | object, callback: Function, context?: any): any;
|
|
443
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
432
444
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
445
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
433
446
|
once(name: string | object, callback: Function, context?: any): any;
|
|
447
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
434
448
|
trigger(name: string, ...args: any[]): any;
|
|
435
449
|
delegate_on(delegator: any): any;
|
|
436
450
|
delegate_off(delegator: any): any;
|
|
@@ -23,6 +23,8 @@ declare const ScenarioQueueSubscription_base: (new (...args: any[]) => {
|
|
|
23
23
|
added(parent: any): void;
|
|
24
24
|
removed(parent: any): void;
|
|
25
25
|
ready(): Promise<void>;
|
|
26
|
+
_readyInvoked: boolean;
|
|
27
|
+
invokeReady(): void | Promise<void>;
|
|
26
28
|
touch(): void;
|
|
27
29
|
clearCache(...attrs: any[]): void;
|
|
28
30
|
removeSelf(completely: any): void;
|
|
@@ -51,6 +53,7 @@ declare const ScenarioQueueSubscription_base: (new (...args: any[]) => {
|
|
|
51
53
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
52
54
|
get model(): any;
|
|
53
55
|
get state(): import("@hatiolab/things-scene").State;
|
|
56
|
+
get refid(): any;
|
|
54
57
|
get hierarchy(): any;
|
|
55
58
|
get volatile(): never[];
|
|
56
59
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -147,7 +150,7 @@ declare const ScenarioQueueSubscription_base: (new (...args: any[]) => {
|
|
|
147
150
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
148
151
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
149
152
|
findAnchor(name: string): any;
|
|
150
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
153
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
151
154
|
getContext(component?: unknown): any;
|
|
152
155
|
get root(): import("@hatiolab/things-scene").Component;
|
|
153
156
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -192,9 +195,13 @@ declare const ScenarioQueueSubscription_base: (new (...args: any[]) => {
|
|
|
192
195
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
193
196
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
194
197
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
198
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
195
199
|
on(name: string | object, callback: Function, context?: any): any;
|
|
200
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
196
201
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
202
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
197
203
|
once(name: string | object, callback: Function, context?: any): any;
|
|
204
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
198
205
|
trigger(name: string, ...args: any[]): any;
|
|
199
206
|
delegate_on(delegator: any): any;
|
|
200
207
|
delegate_off(delegator: any): any;
|
|
@@ -266,6 +273,8 @@ declare const ScenarioQueueSubscription_base: (new (...args: any[]) => {
|
|
|
266
273
|
added(parent: any): void;
|
|
267
274
|
removed(parent: any): void;
|
|
268
275
|
ready(): Promise<void>;
|
|
276
|
+
_readyInvoked: boolean;
|
|
277
|
+
invokeReady(): void | Promise<void>;
|
|
269
278
|
touch(): void;
|
|
270
279
|
clearCache(...attrs: any[]): void;
|
|
271
280
|
removeSelf(completely: any): void;
|
|
@@ -294,6 +303,7 @@ declare const ScenarioQueueSubscription_base: (new (...args: any[]) => {
|
|
|
294
303
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
295
304
|
get model(): any;
|
|
296
305
|
get state(): import("@hatiolab/things-scene").State;
|
|
306
|
+
get refid(): any;
|
|
297
307
|
get hierarchy(): any;
|
|
298
308
|
get volatile(): never[];
|
|
299
309
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -384,7 +394,7 @@ declare const ScenarioQueueSubscription_base: (new (...args: any[]) => {
|
|
|
384
394
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
385
395
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
386
396
|
findAnchor(name: string): any;
|
|
387
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
397
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
388
398
|
getContext(component?: unknown): any;
|
|
389
399
|
get root(): import("@hatiolab/things-scene").Component;
|
|
390
400
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -428,9 +438,13 @@ declare const ScenarioQueueSubscription_base: (new (...args: any[]) => {
|
|
|
428
438
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
429
439
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
430
440
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
441
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
431
442
|
on(name: string | object, callback: Function, context?: any): any;
|
|
443
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
432
444
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
445
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
433
446
|
once(name: string | object, callback: Function, context?: any): any;
|
|
447
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
434
448
|
trigger(name: string, ...args: any[]): any;
|
|
435
449
|
delegate_on(delegator: any): any;
|
|
436
450
|
delegate_off(delegator: any): any;
|
package/dist/scenario-run.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ declare const ScenarioRun_base: (new (...args: any[]) => {
|
|
|
23
23
|
added(parent: any): void;
|
|
24
24
|
removed(parent: any): void;
|
|
25
25
|
ready(): Promise<void>;
|
|
26
|
+
_readyInvoked: boolean;
|
|
27
|
+
invokeReady(): void | Promise<void>;
|
|
26
28
|
touch(): void;
|
|
27
29
|
clearCache(...attrs: any[]): void;
|
|
28
30
|
removeSelf(completely: any): void;
|
|
@@ -51,6 +53,7 @@ declare const ScenarioRun_base: (new (...args: any[]) => {
|
|
|
51
53
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
52
54
|
get model(): any;
|
|
53
55
|
get state(): import("@hatiolab/things-scene").State;
|
|
56
|
+
get refid(): any;
|
|
54
57
|
get hierarchy(): any;
|
|
55
58
|
get volatile(): never[];
|
|
56
59
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -147,7 +150,7 @@ declare const ScenarioRun_base: (new (...args: any[]) => {
|
|
|
147
150
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
148
151
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
149
152
|
findAnchor(name: string): any;
|
|
150
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
153
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
151
154
|
getContext(component?: unknown): any;
|
|
152
155
|
get root(): import("@hatiolab/things-scene").Component;
|
|
153
156
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -192,9 +195,13 @@ declare const ScenarioRun_base: (new (...args: any[]) => {
|
|
|
192
195
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
193
196
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
194
197
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
198
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
195
199
|
on(name: string | object, callback: Function, context?: any): any;
|
|
200
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
196
201
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
202
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
197
203
|
once(name: string | object, callback: Function, context?: any): any;
|
|
204
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
198
205
|
trigger(name: string, ...args: any[]): any;
|
|
199
206
|
delegate_on(delegator: any): any;
|
|
200
207
|
delegate_off(delegator: any): any;
|
|
@@ -266,6 +273,8 @@ declare const ScenarioRun_base: (new (...args: any[]) => {
|
|
|
266
273
|
added(parent: any): void;
|
|
267
274
|
removed(parent: any): void;
|
|
268
275
|
ready(): Promise<void>;
|
|
276
|
+
_readyInvoked: boolean;
|
|
277
|
+
invokeReady(): void | Promise<void>;
|
|
269
278
|
touch(): void;
|
|
270
279
|
clearCache(...attrs: any[]): void;
|
|
271
280
|
removeSelf(completely: any): void;
|
|
@@ -294,6 +303,7 @@ declare const ScenarioRun_base: (new (...args: any[]) => {
|
|
|
294
303
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
295
304
|
get model(): any;
|
|
296
305
|
get state(): import("@hatiolab/things-scene").State;
|
|
306
|
+
get refid(): any;
|
|
297
307
|
get hierarchy(): any;
|
|
298
308
|
get volatile(): never[];
|
|
299
309
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -384,7 +394,7 @@ declare const ScenarioRun_base: (new (...args: any[]) => {
|
|
|
384
394
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
385
395
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
386
396
|
findAnchor(name: string): any;
|
|
387
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
397
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
388
398
|
getContext(component?: unknown): any;
|
|
389
399
|
get root(): import("@hatiolab/things-scene").Component;
|
|
390
400
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -428,9 +438,13 @@ declare const ScenarioRun_base: (new (...args: any[]) => {
|
|
|
428
438
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
429
439
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
430
440
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
441
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
431
442
|
on(name: string | object, callback: Function, context?: any): any;
|
|
443
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
432
444
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
445
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
433
446
|
once(name: string | object, callback: Function, context?: any): any;
|
|
447
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
434
448
|
trigger(name: string, ...args: any[]): any;
|
|
435
449
|
delegate_on(delegator: any): any;
|
|
436
450
|
delegate_off(delegator: any): any;
|
package/dist/scenario-start.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ declare const ScenarioStart_base: (new (...args: any[]) => {
|
|
|
23
23
|
added(parent: any): void;
|
|
24
24
|
removed(parent: any): void;
|
|
25
25
|
ready(): Promise<void>;
|
|
26
|
+
_readyInvoked: boolean;
|
|
27
|
+
invokeReady(): void | Promise<void>;
|
|
26
28
|
touch(): void;
|
|
27
29
|
clearCache(...attrs: any[]): void;
|
|
28
30
|
removeSelf(completely: any): void;
|
|
@@ -51,6 +53,7 @@ declare const ScenarioStart_base: (new (...args: any[]) => {
|
|
|
51
53
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
52
54
|
get model(): any;
|
|
53
55
|
get state(): import("@hatiolab/things-scene").State;
|
|
56
|
+
get refid(): any;
|
|
54
57
|
get hierarchy(): any;
|
|
55
58
|
get volatile(): never[];
|
|
56
59
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -147,7 +150,7 @@ declare const ScenarioStart_base: (new (...args: any[]) => {
|
|
|
147
150
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
148
151
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
149
152
|
findAnchor(name: string): any;
|
|
150
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
153
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
151
154
|
getContext(component?: unknown): any;
|
|
152
155
|
get root(): import("@hatiolab/things-scene").Component;
|
|
153
156
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -192,9 +195,13 @@ declare const ScenarioStart_base: (new (...args: any[]) => {
|
|
|
192
195
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
193
196
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
194
197
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
198
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
195
199
|
on(name: string | object, callback: Function, context?: any): any;
|
|
200
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
196
201
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
202
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
197
203
|
once(name: string | object, callback: Function, context?: any): any;
|
|
204
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
198
205
|
trigger(name: string, ...args: any[]): any;
|
|
199
206
|
delegate_on(delegator: any): any;
|
|
200
207
|
delegate_off(delegator: any): any;
|
|
@@ -266,6 +273,8 @@ declare const ScenarioStart_base: (new (...args: any[]) => {
|
|
|
266
273
|
added(parent: any): void;
|
|
267
274
|
removed(parent: any): void;
|
|
268
275
|
ready(): Promise<void>;
|
|
276
|
+
_readyInvoked: boolean;
|
|
277
|
+
invokeReady(): void | Promise<void>;
|
|
269
278
|
touch(): void;
|
|
270
279
|
clearCache(...attrs: any[]): void;
|
|
271
280
|
removeSelf(completely: any): void;
|
|
@@ -294,6 +303,7 @@ declare const ScenarioStart_base: (new (...args: any[]) => {
|
|
|
294
303
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
295
304
|
get model(): any;
|
|
296
305
|
get state(): import("@hatiolab/things-scene").State;
|
|
306
|
+
get refid(): any;
|
|
297
307
|
get hierarchy(): any;
|
|
298
308
|
get volatile(): never[];
|
|
299
309
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -384,7 +394,7 @@ declare const ScenarioStart_base: (new (...args: any[]) => {
|
|
|
384
394
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
385
395
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
386
396
|
findAnchor(name: string): any;
|
|
387
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
397
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
388
398
|
getContext(component?: unknown): any;
|
|
389
399
|
get root(): import("@hatiolab/things-scene").Component;
|
|
390
400
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -428,9 +438,13 @@ declare const ScenarioStart_base: (new (...args: any[]) => {
|
|
|
428
438
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
429
439
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
430
440
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
441
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
431
442
|
on(name: string | object, callback: Function, context?: any): any;
|
|
443
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
432
444
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
445
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
433
446
|
once(name: string | object, callback: Function, context?: any): any;
|
|
447
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
434
448
|
trigger(name: string, ...args: any[]): any;
|
|
435
449
|
delegate_on(delegator: any): any;
|
|
436
450
|
delegate_off(delegator: any): any;
|
package/dist/scenario-stop.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ declare const ScenarioStop_base: (new (...args: any[]) => {
|
|
|
23
23
|
added(parent: any): void;
|
|
24
24
|
removed(parent: any): void;
|
|
25
25
|
ready(): Promise<void>;
|
|
26
|
+
_readyInvoked: boolean;
|
|
27
|
+
invokeReady(): void | Promise<void>;
|
|
26
28
|
touch(): void;
|
|
27
29
|
clearCache(...attrs: any[]): void;
|
|
28
30
|
removeSelf(completely: any): void;
|
|
@@ -51,6 +53,7 @@ declare const ScenarioStop_base: (new (...args: any[]) => {
|
|
|
51
53
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
52
54
|
get model(): any;
|
|
53
55
|
get state(): import("@hatiolab/things-scene").State;
|
|
56
|
+
get refid(): any;
|
|
54
57
|
get hierarchy(): any;
|
|
55
58
|
get volatile(): never[];
|
|
56
59
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -147,7 +150,7 @@ declare const ScenarioStop_base: (new (...args: any[]) => {
|
|
|
147
150
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
148
151
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
149
152
|
findAnchor(name: string): any;
|
|
150
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
153
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
151
154
|
getContext(component?: unknown): any;
|
|
152
155
|
get root(): import("@hatiolab/things-scene").Component;
|
|
153
156
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -192,9 +195,13 @@ declare const ScenarioStop_base: (new (...args: any[]) => {
|
|
|
192
195
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
193
196
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
194
197
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
198
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
195
199
|
on(name: string | object, callback: Function, context?: any): any;
|
|
200
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
196
201
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
202
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
197
203
|
once(name: string | object, callback: Function, context?: any): any;
|
|
204
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
198
205
|
trigger(name: string, ...args: any[]): any;
|
|
199
206
|
delegate_on(delegator: any): any;
|
|
200
207
|
delegate_off(delegator: any): any;
|
|
@@ -266,6 +273,8 @@ declare const ScenarioStop_base: (new (...args: any[]) => {
|
|
|
266
273
|
added(parent: any): void;
|
|
267
274
|
removed(parent: any): void;
|
|
268
275
|
ready(): Promise<void>;
|
|
276
|
+
_readyInvoked: boolean;
|
|
277
|
+
invokeReady(): void | Promise<void>;
|
|
269
278
|
touch(): void;
|
|
270
279
|
clearCache(...attrs: any[]): void;
|
|
271
280
|
removeSelf(completely: any): void;
|
|
@@ -294,6 +303,7 @@ declare const ScenarioStop_base: (new (...args: any[]) => {
|
|
|
294
303
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
295
304
|
get model(): any;
|
|
296
305
|
get state(): import("@hatiolab/things-scene").State;
|
|
306
|
+
get refid(): any;
|
|
297
307
|
get hierarchy(): any;
|
|
298
308
|
get volatile(): never[];
|
|
299
309
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -384,7 +394,7 @@ declare const ScenarioStop_base: (new (...args: any[]) => {
|
|
|
384
394
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
385
395
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
386
396
|
findAnchor(name: string): any;
|
|
387
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
397
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
388
398
|
getContext(component?: unknown): any;
|
|
389
399
|
get root(): import("@hatiolab/things-scene").Component;
|
|
390
400
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -428,9 +438,13 @@ declare const ScenarioStop_base: (new (...args: any[]) => {
|
|
|
428
438
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
429
439
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
430
440
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
441
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
431
442
|
on(name: string | object, callback: Function, context?: any): any;
|
|
443
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
432
444
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
445
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
433
446
|
once(name: string | object, callback: Function, context?: any): any;
|
|
447
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
434
448
|
trigger(name: string, ...args: any[]): any;
|
|
435
449
|
delegate_on(delegator: any): any;
|
|
436
450
|
delegate_off(delegator: any): any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/scene-integration",
|
|
3
3
|
"description": "Things factory integration component for things-scene",
|
|
4
|
-
"version": "10.0.0-beta.
|
|
4
|
+
"version": "10.0.0-beta.68",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "heartyoh",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -18,14 +18,11 @@
|
|
|
18
18
|
"directory": "packages/integration"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
-
"serve": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"things-factory-dev\"",
|
|
22
|
-
"serve:dev": "npm run serve",
|
|
23
21
|
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
|
|
24
22
|
"build": "tsc",
|
|
25
23
|
"prepublishOnly": "tsc",
|
|
26
24
|
"lint": "eslint src/ && prettier \"src/**/*.ts\" --check",
|
|
27
|
-
"format": "eslint src/ --fix && prettier \"src/**/*.ts\" --write"
|
|
28
|
-
"migration": "things-factory-migration"
|
|
25
|
+
"format": "eslint src/ --fix && prettier \"src/**/*.ts\" --write"
|
|
29
26
|
},
|
|
30
27
|
"dependencies": {
|
|
31
28
|
"@hatiolab/things-scene": "^10.0.0-beta.1",
|
|
@@ -34,8 +31,6 @@
|
|
|
34
31
|
},
|
|
35
32
|
"devDependencies": {
|
|
36
33
|
"@hatiolab/prettier-config": "^1.0.0",
|
|
37
|
-
"@things-factory/builder": "^10.0.0-beta.1",
|
|
38
|
-
"@things-factory/operato-board": "^10.0.0-beta.1",
|
|
39
34
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
40
35
|
"@typescript-eslint/parser": "^8.0.0",
|
|
41
36
|
"@web/dev-server": "^0.1.28",
|
|
@@ -60,5 +55,5 @@
|
|
|
60
55
|
"prettier --write"
|
|
61
56
|
]
|
|
62
57
|
},
|
|
63
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "fce8d69d7bb8af85cfb2e2507a8eee14130d36d7"
|
|
64
59
|
}
|