@operato/scene-excel 10.0.0-beta.22 → 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.
Files changed (2) hide show
  1. package/dist/excel.d.ts +22 -8
  2. package/package.json +3 -8
package/dist/excel.d.ts CHANGED
@@ -23,6 +23,8 @@ declare const Excel_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;
@@ -32,7 +34,7 @@ declare const Excel_base: (new (...args: any[]) => {
32
34
  get disposed(): boolean;
33
35
  isLayer(): boolean;
34
36
  isGroup(): boolean;
35
- isContainer(): this is import("@hatiolab/things-scene/dist-types/types/component").Container;
37
+ isContainer(): this is import("@hatiolab/things-scene").Container;
36
38
  isLine(): boolean;
37
39
  isRoot(): boolean;
38
40
  isRootModel(): boolean;
@@ -48,9 +50,10 @@ declare const Excel_base: (new (...args: any[]) => {
48
50
  get(property: any): any;
49
51
  set(props: any, propval?: any): any;
50
52
  getState(property: any): any;
51
- setState(props: any, propval?: any): any;
53
+ setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
52
54
  get model(): any;
53
- get state(): any;
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 Excel_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 Excel_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 Excel_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;
@@ -275,7 +284,7 @@ declare const Excel_base: (new (...args: any[]) => {
275
284
  get disposed(): boolean;
276
285
  isLayer(): boolean;
277
286
  isGroup(): boolean;
278
- isContainer(): this is import("@hatiolab/things-scene/dist-types/types/component").Container;
287
+ isContainer(): this is import("@hatiolab/things-scene").Container;
279
288
  isLine(): boolean;
280
289
  isRoot(): boolean;
281
290
  isRootModel(): boolean;
@@ -291,9 +300,10 @@ declare const Excel_base: (new (...args: any[]) => {
291
300
  get(property: any): any;
292
301
  set(props: any, propval?: any): any;
293
302
  getState(property: any): any;
294
- setState(props: any, propval?: any): any;
303
+ setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
295
304
  get model(): any;
296
- get state(): any;
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 Excel_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 Excel_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-excel",
3
3
  "description": "Excel integration component for things-scene",
4
- "version": "10.0.0-beta.22",
4
+ "version": "10.0.0-beta.68",
5
5
  "type": "module",
6
6
  "author": "heartyoh",
7
7
  "main": "dist/index.js",
@@ -18,14 +18,11 @@
18
18
  "directory": "packages/excel"
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": "f48e52f4f5fdc30ec06af9da7cf253f6e29cfb0e"
57
+ "gitHead": "fce8d69d7bb8af85cfb2e2507a8eee14130d36d7"
63
58
  }