@operato/scene-indoor-map 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/beacon.d.ts +8 -1
- package/dist/camera.d.ts +8 -1
- package/dist/rack.d.ts +8 -1
- package/package.json +3 -8
package/dist/beacon.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ declare const Beacon_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 Beacon_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 Beacon_base: (new (...args: any[]) => {
|
|
|
158
161
|
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
159
162
|
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
160
163
|
findAnchor(name: string): any;
|
|
161
|
-
isDescendible(container: Component): boolean;
|
|
164
|
+
isDescendible(container: Component | any): boolean;
|
|
162
165
|
getContext(component?: unknown): any;
|
|
163
166
|
get root(): Component;
|
|
164
167
|
get rootModel(): Component;
|
|
@@ -202,9 +205,13 @@ declare const Beacon_base: (new (...args: any[]) => {
|
|
|
202
205
|
toLocal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
203
206
|
toGlobal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
204
207
|
toOther(x: number, y: number, target: 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;
|
package/dist/camera.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ declare const Camera_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 Camera_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 Camera_base: (new (...args: any[]) => {
|
|
|
158
161
|
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
159
162
|
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
160
163
|
findAnchor(name: string): any;
|
|
161
|
-
isDescendible(container: Component): boolean;
|
|
164
|
+
isDescendible(container: Component | any): boolean;
|
|
162
165
|
getContext(component?: unknown): any;
|
|
163
166
|
get root(): Component;
|
|
164
167
|
get rootModel(): Component;
|
|
@@ -202,9 +205,13 @@ declare const Camera_base: (new (...args: any[]) => {
|
|
|
202
205
|
toLocal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
203
206
|
toGlobal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
204
207
|
toOther(x: number, y: number, target: 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;
|
package/dist/rack.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ declare const Rack_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 Rack_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 Rack_base: (new (...args: any[]) => {
|
|
|
158
161
|
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
159
162
|
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
160
163
|
findAnchor(name: string): any;
|
|
161
|
-
isDescendible(container: Component): boolean;
|
|
164
|
+
isDescendible(container: Component | any): boolean;
|
|
162
165
|
getContext(component?: unknown): any;
|
|
163
166
|
get root(): Component;
|
|
164
167
|
get rootModel(): Component;
|
|
@@ -202,9 +205,13 @@ declare const Rack_base: (new (...args: any[]) => {
|
|
|
202
205
|
toLocal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
203
206
|
toGlobal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
204
207
|
toOther(x: number, y: number, target: 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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/scene-indoor-map",
|
|
3
|
-
"version": "10.0.0-beta.
|
|
3
|
+
"version": "10.0.0-beta.68",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Indoor Map component for things-scene.",
|
|
6
6
|
"author": "heartyoh",
|
|
@@ -18,22 +18,17 @@
|
|
|
18
18
|
"directory": "packages/indoor-map"
|
|
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"
|
|
32
29
|
},
|
|
33
30
|
"devDependencies": {
|
|
34
31
|
"@hatiolab/prettier-config": "^1.0.0",
|
|
35
|
-
"@things-factory/builder": "^10.0.0-beta.1",
|
|
36
|
-
"@things-factory/operato-board": "^10.0.0-beta.1",
|
|
37
32
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
38
33
|
"@typescript-eslint/parser": "^8.0.0",
|
|
39
34
|
"@web/dev-server": "^0.1.28",
|
|
@@ -58,5 +53,5 @@
|
|
|
58
53
|
"prettier --write"
|
|
59
54
|
]
|
|
60
55
|
},
|
|
61
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "fce8d69d7bb8af85cfb2e2507a8eee14130d36d7"
|
|
62
57
|
}
|