@operato/scene-table 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.
- package/dist/data-list/data-cell.d.ts +11 -4
- package/dist/table-cell.d.ts +11 -4
- package/package.json +5 -9
|
@@ -40,6 +40,8 @@ declare const DataCell_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;
|
|
@@ -49,7 +51,7 @@ declare const DataCell_base: (new (...args: any[]) => {
|
|
|
49
51
|
get disposed(): boolean;
|
|
50
52
|
isLayer(): boolean;
|
|
51
53
|
isGroup(): boolean;
|
|
52
|
-
isContainer(): this is import("@hatiolab/things-scene
|
|
54
|
+
isContainer(): this is import("@hatiolab/things-scene").Container;
|
|
53
55
|
isLine(): boolean;
|
|
54
56
|
isRoot(): boolean;
|
|
55
57
|
isRootModel(): boolean;
|
|
@@ -65,9 +67,10 @@ declare const DataCell_base: (new (...args: any[]) => {
|
|
|
65
67
|
get(property: any): any;
|
|
66
68
|
set(props: any, propval?: any): any;
|
|
67
69
|
getState(property: any): any;
|
|
68
|
-
setState(props:
|
|
70
|
+
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
69
71
|
get model(): any;
|
|
70
|
-
get state():
|
|
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 DataCell_base: (new (...args: any[]) => {
|
|
|
158
161
|
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
159
162
|
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
160
163
|
findAnchor(name: string): any;
|
|
161
|
-
isDescendible(container: Component): boolean;
|
|
164
|
+
isDescendible(container: Component | any): boolean;
|
|
162
165
|
getContext(component?: unknown): any;
|
|
163
166
|
get root(): Component;
|
|
164
167
|
get rootModel(): Component;
|
|
@@ -202,9 +205,13 @@ declare const DataCell_base: (new (...args: any[]) => {
|
|
|
202
205
|
toLocal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
203
206
|
toGlobal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
204
207
|
toOther(x: number, y: number, target: 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/dist/table-cell.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ declare const TableCell_base: (new (...args: any[]) => {
|
|
|
43
43
|
added(parent: any): void;
|
|
44
44
|
removed(parent: any): void;
|
|
45
45
|
ready(): Promise<void>;
|
|
46
|
+
_readyInvoked: boolean;
|
|
47
|
+
invokeReady(): void | Promise<void>;
|
|
46
48
|
touch(): void;
|
|
47
49
|
clearCache(...attrs: any[]): void;
|
|
48
50
|
removeSelf(completely: any): void;
|
|
@@ -52,7 +54,7 @@ declare const TableCell_base: (new (...args: any[]) => {
|
|
|
52
54
|
get disposed(): boolean;
|
|
53
55
|
isLayer(): boolean;
|
|
54
56
|
isGroup(): boolean;
|
|
55
|
-
isContainer(): this is import("@hatiolab/things-scene
|
|
57
|
+
isContainer(): this is import("@hatiolab/things-scene").Container;
|
|
56
58
|
isLine(): boolean;
|
|
57
59
|
isRoot(): boolean;
|
|
58
60
|
isRootModel(): boolean;
|
|
@@ -68,9 +70,10 @@ declare const TableCell_base: (new (...args: any[]) => {
|
|
|
68
70
|
get(property: any): any;
|
|
69
71
|
set(props: any, propval?: any): any;
|
|
70
72
|
getState(property: any): any;
|
|
71
|
-
setState(props:
|
|
73
|
+
setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
|
|
72
74
|
get model(): any;
|
|
73
|
-
get state():
|
|
75
|
+
get state(): import("@hatiolab/things-scene").State;
|
|
76
|
+
get refid(): any;
|
|
74
77
|
get hierarchy(): any;
|
|
75
78
|
get volatile(): never[];
|
|
76
79
|
_applyProps(target: any, props: any, options: any): any;
|
|
@@ -161,7 +164,7 @@ declare const TableCell_base: (new (...args: any[]) => {
|
|
|
161
164
|
findAll(s: string | ((c: Component) => boolean), ...others: any[]): any[] | undefined;
|
|
162
165
|
capture(x: number, y: number, except?: (c: Component) => boolean): any;
|
|
163
166
|
findAnchor(name: string): any;
|
|
164
|
-
isDescendible(container: Component): boolean;
|
|
167
|
+
isDescendible(container: Component | any): boolean;
|
|
165
168
|
getContext(component?: unknown): any;
|
|
166
169
|
get root(): Component;
|
|
167
170
|
get rootModel(): Component;
|
|
@@ -205,9 +208,13 @@ declare const TableCell_base: (new (...args: any[]) => {
|
|
|
205
208
|
toLocal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
206
209
|
toGlobal(x: number, y: number, top?: Component): import("@hatiolab/things-scene").POINT;
|
|
207
210
|
toOther(x: number, y: number, target: Component): import("@hatiolab/things-scene").POINT;
|
|
211
|
+
on<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
208
212
|
on(name: string | object, callback: Function, context?: any): any;
|
|
213
|
+
off<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback?: ((...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void) | undefined, context?: any): any;
|
|
209
214
|
off(name?: string | object, callback?: Function, context?: any): any;
|
|
215
|
+
once<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, callback: (...args: import("@hatiolab/things-scene").ComponentEventMap[K]) => void, context?: any): any;
|
|
210
216
|
once(name: string | object, callback: Function, context?: any): any;
|
|
217
|
+
trigger<K extends keyof import("@hatiolab/things-scene").ComponentEventMap>(name: K, ...args: import("@hatiolab/things-scene").ComponentEventMap[K]): any;
|
|
211
218
|
trigger(name: string, ...args: any[]): any;
|
|
212
219
|
delegate_on(delegator: any): any;
|
|
213
220
|
delegate_off(delegator: any): any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/scene-table",
|
|
3
3
|
"description": "Things Scene Table Component.",
|
|
4
|
-
"version": "10.0.0-beta.
|
|
4
|
+
"version": "10.0.0-beta.68",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "heartyoh",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -18,22 +18,18 @@
|
|
|
18
18
|
"directory": "packages/table"
|
|
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
|
-
"@hatiolab/things-scene": "^10.0.0-beta.1"
|
|
28
|
+
"@hatiolab/things-scene": "^10.0.0-beta.1",
|
|
29
|
+
"lodash-es": "^4.17.21"
|
|
32
30
|
},
|
|
33
31
|
"devDependencies": {
|
|
34
32
|
"@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
33
|
"@types/chart.js": "2.9.34",
|
|
38
34
|
"@types/lodash-es": "^4.17.5",
|
|
39
35
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
@@ -60,5 +56,5 @@
|
|
|
60
56
|
"prettier --write"
|
|
61
57
|
]
|
|
62
58
|
},
|
|
63
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "fce8d69d7bb8af85cfb2e2507a8eee14130d36d7"
|
|
64
60
|
}
|