@operato/scene-restful 10.0.0-beta.30 → 10.0.0-beta.65
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/restful.d.ts +12 -2
- package/package.json +4 -4
package/dist/restful.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ declare const Restful_base: (new (...args: any[]) => {
|
|
|
51
51
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
52
52
|
get model(): any;
|
|
53
53
|
get state(): import("@hatiolab/things-scene").State;
|
|
54
|
+
get refid(): any;
|
|
54
55
|
get hierarchy(): any;
|
|
55
56
|
get volatile(): never[];
|
|
56
57
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -147,7 +148,7 @@ declare const Restful_base: (new (...args: any[]) => {
|
|
|
147
148
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
148
149
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
149
150
|
findAnchor(name: string): any;
|
|
150
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
151
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
151
152
|
getContext(component?: unknown): any;
|
|
152
153
|
get root(): import("@hatiolab/things-scene").Component;
|
|
153
154
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -192,9 +193,13 @@ declare const Restful_base: (new (...args: any[]) => {
|
|
|
192
193
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
193
194
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
194
195
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
196
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
195
197
|
on(name: string | object, callback: Function, context?: any): any;
|
|
198
|
+
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
199
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
200
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
197
201
|
once(name: string | object, callback: Function, context?: any): any;
|
|
202
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
198
203
|
trigger(name: string, ...args: any[]): any;
|
|
199
204
|
delegate_on(delegator: any): any;
|
|
200
205
|
delegate_off(delegator: any): any;
|
|
@@ -294,6 +299,7 @@ declare const Restful_base: (new (...args: any[]) => {
|
|
|
294
299
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
295
300
|
get model(): any;
|
|
296
301
|
get state(): import("@hatiolab/things-scene").State;
|
|
302
|
+
get refid(): any;
|
|
297
303
|
get hierarchy(): any;
|
|
298
304
|
get volatile(): never[];
|
|
299
305
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -384,7 +390,7 @@ declare const Restful_base: (new (...args: any[]) => {
|
|
|
384
390
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
385
391
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
386
392
|
findAnchor(name: string): any;
|
|
387
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
393
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
388
394
|
getContext(component?: unknown): any;
|
|
389
395
|
get root(): import("@hatiolab/things-scene").Component;
|
|
390
396
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -428,9 +434,13 @@ declare const Restful_base: (new (...args: any[]) => {
|
|
|
428
434
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
429
435
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
430
436
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
437
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
431
438
|
on(name: string | object, callback: Function, context?: any): any;
|
|
439
|
+
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
440
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
441
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
433
442
|
once(name: string | object, callback: Function, context?: any): any;
|
|
443
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
434
444
|
trigger(name: string, ...args: any[]): any;
|
|
435
445
|
delegate_on(delegator: any): any;
|
|
436
446
|
delegate_off(delegator: any): any;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@operato/scene-restful",
|
|
3
3
|
"description": "Restful Client Component for Things Scene",
|
|
4
4
|
"author": "heartyoh",
|
|
5
|
-
"version": "10.0.0-beta.
|
|
5
|
+
"version": "10.0.0-beta.65",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "dist/index.js",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@hatiolab/prettier-config": "^1.0.0",
|
|
35
|
-
"@things-factory/builder": "^10.0.0-
|
|
36
|
-
"@things-factory/operato-board": "^10.0.0-
|
|
35
|
+
"@things-factory/builder": "^10.0.0-zeta.1",
|
|
36
|
+
"@things-factory/operato-board": "^10.0.0-zeta.1",
|
|
37
37
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
38
38
|
"@typescript-eslint/parser": "^8.0.0",
|
|
39
39
|
"@web/dev-server": "^0.1.28",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"prettier --write"
|
|
59
59
|
]
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "99733bf39e2d279630d68844f19d9687272a4992"
|
|
62
62
|
}
|