@operato/scene-mpi 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.
@@ -40,6 +40,8 @@ declare const AutoClicker_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 AutoClicker_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 AutoClicker_base: (new (...args: any[]) => {
158
161
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
159
162
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
160
163
  findAnchor(name: string): any;
161
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
164
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
162
165
  getContext(component?: unknown): any;
163
166
  get root(): import("@hatiolab/things-scene").Component;
164
167
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -202,9 +205,13 @@ declare const AutoClicker_base: (new (...args: any[]) => {
202
205
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
203
206
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
204
207
  toOther(x: number, y: number, target: import("@hatiolab/things-scene").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;
@@ -44,6 +44,8 @@ declare const BootButton_base: (new (...args: any[]) => {
44
44
  added(parent: any): void;
45
45
  removed(parent: any): void;
46
46
  ready(): Promise<void>;
47
+ _readyInvoked: boolean;
48
+ invokeReady(): void | Promise<void>;
47
49
  touch(): void;
48
50
  clearCache(...attrs: any[]): void;
49
51
  removeSelf(completely: any): void;
@@ -72,6 +74,7 @@ declare const BootButton_base: (new (...args: any[]) => {
72
74
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
73
75
  get model(): any;
74
76
  get state(): import("@hatiolab/things-scene").State;
77
+ get refid(): any;
75
78
  get hierarchy(): any;
76
79
  get volatile(): never[];
77
80
  _applyProps(target: any, props: any, options: any): any;
@@ -162,7 +165,7 @@ declare const BootButton_base: (new (...args: any[]) => {
162
165
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
163
166
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
164
167
  findAnchor(name: string): any;
165
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
168
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
166
169
  getContext(component?: unknown): any;
167
170
  get root(): import("@hatiolab/things-scene").Component;
168
171
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -206,9 +209,13 @@ declare const BootButton_base: (new (...args: any[]) => {
206
209
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
207
210
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
208
211
  toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
212
+ on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
209
213
  on(name: string | object, callback: Function, context?: any): any;
214
+ off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
210
215
  off(name?: string | object, callback?: Function, context?: any): any;
216
+ once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
211
217
  once(name: string | object, callback: Function, context?: any): any;
218
+ trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
212
219
  trigger(name: string, ...args: any[]): any;
213
220
  delegate_on(delegator: any): any;
214
221
  delegate_off(delegator: any): any;
@@ -42,6 +42,8 @@ declare const Indicator_base: (new (...args: any[]) => {
42
42
  added(parent: any): void;
43
43
  removed(parent: any): void;
44
44
  ready(): Promise<void>;
45
+ _readyInvoked: boolean;
46
+ invokeReady(): void | Promise<void>;
45
47
  touch(): void;
46
48
  clearCache(...attrs: any[]): void;
47
49
  removeSelf(completely: any): void;
@@ -70,6 +72,7 @@ declare const Indicator_base: (new (...args: any[]) => {
70
72
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
71
73
  get model(): any;
72
74
  get state(): import("@hatiolab/things-scene").State;
75
+ get refid(): any;
73
76
  get hierarchy(): any;
74
77
  get volatile(): never[];
75
78
  _applyProps(target: any, props: any, options: any): any;
@@ -160,7 +163,7 @@ declare const Indicator_base: (new (...args: any[]) => {
160
163
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
161
164
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
162
165
  findAnchor(name: string): any;
163
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
166
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
164
167
  getContext(component?: unknown): any;
165
168
  get root(): import("@hatiolab/things-scene").Component;
166
169
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -204,9 +207,13 @@ declare const Indicator_base: (new (...args: any[]) => {
204
207
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
205
208
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
206
209
  toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
210
+ on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
207
211
  on(name: string | object, callback: Function, context?: any): any;
212
+ off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
208
213
  off(name?: string | object, callback?: Function, context?: any): any;
214
+ once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
209
215
  once(name: string | object, callback: Function, context?: any): any;
216
+ trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
210
217
  trigger(name: string, ...args: any[]): any;
211
218
  delegate_on(delegator: any): any;
212
219
  delegate_off(delegator: any): any;
@@ -44,6 +44,8 @@ declare const ReplyButton_base: (new (...args: any[]) => {
44
44
  added(parent: any): void;
45
45
  removed(parent: any): void;
46
46
  ready(): Promise<void>;
47
+ _readyInvoked: boolean;
48
+ invokeReady(): void | Promise<void>;
47
49
  touch(): void;
48
50
  clearCache(...attrs: any[]): void;
49
51
  removeSelf(completely: any): void;
@@ -72,6 +74,7 @@ declare const ReplyButton_base: (new (...args: any[]) => {
72
74
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
73
75
  get model(): any;
74
76
  get state(): import("@hatiolab/things-scene").State;
77
+ get refid(): any;
75
78
  get hierarchy(): any;
76
79
  get volatile(): never[];
77
80
  _applyProps(target: any, props: any, options: any): any;
@@ -162,7 +165,7 @@ declare const ReplyButton_base: (new (...args: any[]) => {
162
165
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
163
166
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
164
167
  findAnchor(name: string): any;
165
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
168
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
166
169
  getContext(component?: unknown): any;
167
170
  get root(): import("@hatiolab/things-scene").Component;
168
171
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -206,9 +209,13 @@ declare const ReplyButton_base: (new (...args: any[]) => {
206
209
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
207
210
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
208
211
  toOther(x: number, y: number, target: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
212
+ on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
209
213
  on(name: string | object, callback: Function, context?: any): any;
214
+ off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
210
215
  off(name?: string | object, callback?: Function, context?: any): any;
216
+ once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
211
217
  once(name: string | object, callback: Function, context?: any): any;
218
+ trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
212
219
  trigger(name: string, ...args: any[]): any;
213
220
  delegate_on(delegator: any): any;
214
221
  delegate_off(delegator: any): any;
@@ -40,6 +40,8 @@ declare const SevenSegment_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 SevenSegment_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 SevenSegment_base: (new (...args: any[]) => {
158
161
  findAll(s: string | ((c: import("@hatiolab/things-scene").Component) => boolean), ...others: any[]): any[] | undefined;
159
162
  capture(x: number, y: number, except?: (c: import("@hatiolab/things-scene").Component) => boolean): any;
160
163
  findAnchor(name: string): any;
161
- isDescendible(container: import("@hatiolab/things-scene").Component): boolean;
164
+ isDescendible(container: import("@hatiolab/things-scene").Component | any): boolean;
162
165
  getContext(component?: unknown): any;
163
166
  get root(): import("@hatiolab/things-scene").Component;
164
167
  get rootModel(): import("@hatiolab/things-scene").Component;
@@ -202,9 +205,13 @@ declare const SevenSegment_base: (new (...args: any[]) => {
202
205
  toLocal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
203
206
  toGlobal(x: number, y: number, top?: import("@hatiolab/things-scene").Component): import("@hatiolab/things-scene").POINT;
204
207
  toOther(x: number, y: number, target: import("@hatiolab/things-scene").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
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/scene-mpi",
3
3
  "description": "Multi-purpose indicator integration component for things-scene",
4
4
  "author": "heartyoh",
5
- "version": "10.0.0-beta.30",
5
+ "version": "10.0.0-beta.68",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.js",
@@ -18,22 +18,17 @@
18
18
  "directory": "packages/mpi"
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": "06b35b1726ec4f27ee76657ce341c6c6f3ba1b3a"
56
+ "gitHead": "fce8d69d7bb8af85cfb2e2507a8eee14130d36d7"
62
57
  }