@operato/scene-firebase 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.
Files changed (2) hide show
  1. package/dist/firebase.d.ts +12 -2
  2. package/package.json +4 -4
@@ -54,6 +54,7 @@ declare const Firebase_base: (new (...args: any[]) => {
54
54
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
55
55
  get model(): any;
56
56
  get state(): import("@hatiolab/things-scene").State;
57
+ get refid(): any;
57
58
  get hierarchy(): any;
58
59
  get volatile(): never[];
59
60
  _applyProps(target: any, props: any, options: any): any;
@@ -150,7 +151,7 @@ declare const Firebase_base: (new (...args: any[]) => {
150
151
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
151
152
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
152
153
  findAnchor(name: string): any;
153
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
154
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
154
155
  getContext(component?: unknown): any;
155
156
  get root(): import("@hatiolab/things-scene").Component;
156
157
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -195,9 +196,13 @@ declare const Firebase_base: (new (...args: any[]) => {
195
196
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
196
197
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
197
198
  toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
199
+ on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
198
200
  on(name: string | object, callback: Function, context?: any): any;
201
+ 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
202
  off(name?: string | object, callback?: Function, context?: any): any;
203
+ once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
200
204
  once(name: string | object, callback: Function, context?: any): any;
205
+ trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
201
206
  trigger(name: string, ...args: any[]): any;
202
207
  delegate_on(delegator: any): any;
203
208
  delegate_off(delegator: any): any;
@@ -297,6 +302,7 @@ declare const Firebase_base: (new (...args: any[]) => {
297
302
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
298
303
  get model(): any;
299
304
  get state(): import("@hatiolab/things-scene").State;
305
+ get refid(): any;
300
306
  get hierarchy(): any;
301
307
  get volatile(): never[];
302
308
  _applyProps(target: any, props: any, options: any): any;
@@ -387,7 +393,7 @@ declare const Firebase_base: (new (...args: any[]) => {
387
393
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
388
394
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
389
395
  findAnchor(name: string): any;
390
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
396
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
391
397
  getContext(component?: unknown): any;
392
398
  get root(): import("@hatiolab/things-scene").Component;
393
399
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -431,9 +437,13 @@ declare const Firebase_base: (new (...args: any[]) => {
431
437
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
432
438
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
433
439
  toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
440
+ on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
434
441
  on(name: string | object, callback: Function, context?: any): any;
442
+ 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
443
  off(name?: string | object, callback?: Function, context?: any): any;
444
+ once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
436
445
  once(name: string | object, callback: Function, context?: any): any;
446
+ trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
437
447
  trigger(name: string, ...args: any[]): any;
438
448
  delegate_on(delegator: any): any;
439
449
  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.30",
5
+ "version": "10.0.0-beta.65",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.js",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@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",
36
+ "@things-factory/builder": "^10.0.0-zeta.1",
37
+ "@things-factory/operato-board": "^10.0.0-zeta.1",
38
38
  "@typescript-eslint/eslint-plugin": "^8.0.0",
39
39
  "@typescript-eslint/parser": "^8.0.0",
40
40
  "@web/dev-server": "^0.1.28",
@@ -59,5 +59,5 @@
59
59
  "prettier --write"
60
60
  ]
61
61
  },
62
- "gitHead": "06b35b1726ec4f27ee76657ce341c6c6f3ba1b3a"
62
+ "gitHead": "99733bf39e2d279630d68844f19d9687272a4992"
63
63
  }