@operato/scene-firebase 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/firebase.d.ts +16 -2
- package/package.json +3 -8
package/dist/firebase.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ declare const Firebase_base: (new (...args: any[]) => {
|
|
|
26
26
|
added(parent: any): void;
|
|
27
27
|
removed(parent: any): void;
|
|
28
28
|
ready(): Promise<void>;
|
|
29
|
+
_readyInvoked: boolean;
|
|
30
|
+
invokeReady(): void | Promise<void>;
|
|
29
31
|
touch(): void;
|
|
30
32
|
clearCache(...attrs: any[]): void;
|
|
31
33
|
removeSelf(completely: any): void;
|
|
@@ -54,6 +56,7 @@ declare const Firebase_base: (new (...args: any[]) => {
|
|
|
54
56
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
55
57
|
get model(): any;
|
|
56
58
|
get state(): import("@hatiolab/things-scene").State;
|
|
59
|
+
get refid(): any;
|
|
57
60
|
get hierarchy(): any;
|
|
58
61
|
get volatile(): never[];
|
|
59
62
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -150,7 +153,7 @@ declare const Firebase_base: (new (...args: any[]) => {
|
|
|
150
153
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
151
154
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
152
155
|
findAnchor(name: string): any;
|
|
153
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
156
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
154
157
|
getContext(component?: unknown): any;
|
|
155
158
|
get root(): import("@hatiolab/things-scene").Component;
|
|
156
159
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -195,9 +198,13 @@ declare const Firebase_base: (new (...args: any[]) => {
|
|
|
195
198
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
196
199
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
197
200
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
201
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
198
202
|
on(name: string | object, callback: Function, context?: any): any;
|
|
203
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
199
204
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
205
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
200
206
|
once(name: string | object, callback: Function, context?: any): any;
|
|
207
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
201
208
|
trigger(name: string, ...args: any[]): any;
|
|
202
209
|
delegate_on(delegator: any): any;
|
|
203
210
|
delegate_off(delegator: any): any;
|
|
@@ -269,6 +276,8 @@ declare const Firebase_base: (new (...args: any[]) => {
|
|
|
269
276
|
added(parent: any): void;
|
|
270
277
|
removed(parent: any): void;
|
|
271
278
|
ready(): Promise<void>;
|
|
279
|
+
_readyInvoked: boolean;
|
|
280
|
+
invokeReady(): void | Promise<void>;
|
|
272
281
|
touch(): void;
|
|
273
282
|
clearCache(...attrs: any[]): void;
|
|
274
283
|
removeSelf(completely: any): void;
|
|
@@ -297,6 +306,7 @@ declare const Firebase_base: (new (...args: any[]) => {
|
|
|
297
306
|
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
298
307
|
get model(): any;
|
|
299
308
|
get state(): import("@hatiolab/things-scene").State;
|
|
309
|
+
get refid(): any;
|
|
300
310
|
get hierarchy(): any;
|
|
301
311
|
get volatile(): never[];
|
|
302
312
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -387,7 +397,7 @@ declare const Firebase_base: (new (...args: any[]) => {
|
|
|
387
397
|
findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
|
|
388
398
|
capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
|
|
389
399
|
findAnchor(name: string): any;
|
|
390
|
-
isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
|
|
400
|
+
isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
|
|
391
401
|
getContext(component?: unknown): any;
|
|
392
402
|
get root(): import("@hatiolab/things-scene").Component;
|
|
393
403
|
get rootModel(): import("@hatiolab/things-scene").Component;
|
|
@@ -431,9 +441,13 @@ declare const Firebase_base: (new (...args: any[]) => {
|
|
|
431
441
|
toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
432
442
|
toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
433
443
|
toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
|
|
444
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
434
445
|
on(name: string | object, callback: Function, context?: any): any;
|
|
446
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
435
447
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
448
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
436
449
|
once(name: string | object, callback: Function, context?: any): any;
|
|
450
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
437
451
|
trigger(name: string, ...args: any[]): any;
|
|
438
452
|
delegate_on(delegator: any): any;
|
|
439
453
|
delegate_off(delegator: any): any;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@operato/scene-firebase",
|
|
3
3
|
"description": "Firebase datasource component for things-scene.",
|
|
4
4
|
"author": "heartyoh",
|
|
5
|
-
"version": "10.0.0-beta.
|
|
5
|
+
"version": "10.0.0-beta.68",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "dist/index.js",
|
|
@@ -18,14 +18,11 @@
|
|
|
18
18
|
"directory": "packages/firebase"
|
|
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",
|
|
@@ -33,8 +30,6 @@
|
|
|
33
30
|
},
|
|
34
31
|
"devDependencies": {
|
|
35
32
|
"@hatiolab/prettier-config": "^1.0.0",
|
|
36
|
-
"@things-factory/builder": "^10.0.0-beta.1",
|
|
37
|
-
"@things-factory/operato-board": "^10.0.0-beta.1",
|
|
38
33
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
39
34
|
"@typescript-eslint/parser": "^8.0.0",
|
|
40
35
|
"@web/dev-server": "^0.1.28",
|
|
@@ -59,5 +54,5 @@
|
|
|
59
54
|
"prettier --write"
|
|
60
55
|
]
|
|
61
56
|
},
|
|
62
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "fce8d69d7bb8af85cfb2e2507a8eee14130d36d7"
|
|
63
58
|
}
|