@operato/scene-graphql 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.
@@ -24,6 +24,8 @@ declare const GraphqlClient_base: (new (...args: any[]) => {
24
24
  added(parent: any): void;
25
25
  removed(parent: any): void;
26
26
  ready(): Promise<void>;
27
+ _readyInvoked: boolean;
28
+ invokeReady(): void | Promise<void>;
27
29
  touch(): void;
28
30
  clearCache(...attrs: any[]): void;
29
31
  removeSelf(completely: any): void;
@@ -52,6 +54,7 @@ declare const GraphqlClient_base: (new (...args: any[]) => {
52
54
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
53
55
  get model(): any;
54
56
  get state(): import("@hatiolab/things-scene").State;
57
+ get refid(): any;
55
58
  get hierarchy(): any;
56
59
  get volatile(): never[];
57
60
  _applyProps(target: any, props: any, options: any): any;
@@ -148,7 +151,7 @@ declare const GraphqlClient_base: (new (...args: any[]) => {
148
151
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
149
152
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
150
153
  findAnchor(name: string): any;
151
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
154
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
152
155
  getContext(component?: unknown): any;
153
156
  get root(): import("@hatiolab/things-scene").Component;
154
157
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -193,9 +196,13 @@ declare const GraphqlClient_base: (new (...args: any[]) => {
193
196
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
194
197
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
195
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;
196
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;
197
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;
198
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;
199
206
  trigger(name: string, ...args: any[]): any;
200
207
  delegate_on(delegator: any): any;
201
208
  delegate_off(delegator: any): any;
@@ -267,6 +274,8 @@ declare const GraphqlClient_base: (new (...args: any[]) => {
267
274
  added(parent: any): void;
268
275
  removed(parent: any): void;
269
276
  ready(): Promise<void>;
277
+ _readyInvoked: boolean;
278
+ invokeReady(): void | Promise<void>;
270
279
  touch(): void;
271
280
  clearCache(...attrs: any[]): void;
272
281
  removeSelf(completely: any): void;
@@ -295,6 +304,7 @@ declare const GraphqlClient_base: (new (...args: any[]) => {
295
304
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
296
305
  get model(): any;
297
306
  get state(): import("@hatiolab/things-scene").State;
307
+ get refid(): any;
298
308
  get hierarchy(): any;
299
309
  get volatile(): never[];
300
310
  _applyProps(target: any, props: any, options: any): any;
@@ -385,7 +395,7 @@ declare const GraphqlClient_base: (new (...args: any[]) => {
385
395
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
386
396
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
387
397
  findAnchor(name: string): any;
388
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
398
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
389
399
  getContext(component?: unknown): any;
390
400
  get root(): import("@hatiolab/things-scene").Component;
391
401
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -429,9 +439,13 @@ declare const GraphqlClient_base: (new (...args: any[]) => {
429
439
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
430
440
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
431
441
  toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
442
+ on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
432
443
  on(name: string | object, callback: Function, context?: any): any;
444
+ off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
433
445
  off(name?: string | object, callback?: Function, context?: any): any;
446
+ once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
434
447
  once(name: string | object, callback: Function, context?: any): any;
448
+ trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
435
449
  trigger(name: string, ...args: any[]): any;
436
450
  delegate_on(delegator: any): any;
437
451
  delegate_off(delegator: any): any;
@@ -23,6 +23,8 @@ declare const GraphQLQuery_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 GraphQLQuery_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 GraphQLQuery_base: (new (...args: any[]) => {
147
150
  findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
148
151
  capture(x: number, y: number, except?: (c: Component) => boolean): any;
149
152
  findAnchor(name: string): any;
150
- isDescendible(container: Component): boolean;
153
+ isDescendible(container: Component | any): boolean;
151
154
  getContext(component?: unknown): any;
152
155
  get root(): Component;
153
156
  get rootModel(): Component;
@@ -192,9 +195,13 @@ declare const GraphQLQuery_base: (new (...args: any[]) => {
192
195
  toLocal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
193
196
  toGlobal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
194
197
  toOther(x: number, y: number, target: 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 GraphQLQuery_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 GraphQLQuery_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 GraphQLQuery_base: (new (...args: any[]) => {
384
394
  findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
385
395
  capture(x: number, y: number, except?: (c: Component) => boolean): any;
386
396
  findAnchor(name: string): any;
387
- isDescendible(container: Component): boolean;
397
+ isDescendible(container: Component | any): boolean;
388
398
  getContext(component?: unknown): any;
389
399
  get root(): Component;
390
400
  get rootModel(): Component;
@@ -428,9 +438,13 @@ declare const GraphQLQuery_base: (new (...args: any[]) => {
428
438
  toLocal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
429
439
  toGlobal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
430
440
  toOther(x: number, y: number, target: 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 GraphqlSubscription_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 GraphqlSubscription_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 GraphqlSubscription_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 GraphqlSubscription_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 GraphqlSubscription_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 GraphqlSubscription_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 GraphqlSubscription_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 GraphqlSubscription_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-graphql",
3
3
  "description": "Graphql datasource component for things-scene",
4
- "version": "10.0.0-beta.30",
4
+ "version": "10.0.0-beta.68",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -18,14 +18,11 @@
18
18
  "directory": "packages/graphql"
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
  "@apollo/client": "^3.6.9",
@@ -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",
@@ -61,5 +56,5 @@
61
56
  "prettier --write"
62
57
  ]
63
58
  },
64
- "gitHead": "06b35b1726ec4f27ee76657ce341c6c6f3ba1b3a"
59
+ "gitHead": "fce8d69d7bb8af85cfb2e2507a8eee14130d36d7"
65
60
  }