@byteluck-fe/model-driven-engine 2.9.0-alpha.11 → 2.9.0-alpha.16
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Engine } from '../common/Engine';
|
|
2
2
|
import { Plugin } from '../common/Plugin';
|
|
3
|
+
import { CustomEventItem } from '@byteluck-fe/model-driven-shared';
|
|
3
4
|
export type ControlsEvent = {
|
|
4
5
|
[controlId: string]: {
|
|
5
6
|
[eventName: string]: string[];
|
|
@@ -8,7 +9,8 @@ export type ControlsEvent = {
|
|
|
8
9
|
export declare class ControlsEventPlugin implements Plugin {
|
|
9
10
|
private config;
|
|
10
11
|
private engine;
|
|
11
|
-
|
|
12
|
+
private customEvents;
|
|
13
|
+
constructor(config: ControlsEvent, customEvents: CustomEventItem[]);
|
|
12
14
|
apply(engine: Engine): void;
|
|
13
15
|
private engineAddEventListener;
|
|
14
16
|
private callControlEvent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-engine",
|
|
3
|
-
"version": "2.9.0-alpha.
|
|
3
|
+
"version": "2.9.0-alpha.16",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@byteluck-fe/model-driven-core": "2.9.0-alpha.
|
|
30
|
-
"@byteluck-fe/model-driven-shared": "2.9.0-alpha.
|
|
29
|
+
"@byteluck-fe/model-driven-core": "2.9.0-alpha.16",
|
|
30
|
+
"@byteluck-fe/model-driven-shared": "2.9.0-alpha.16",
|
|
31
31
|
"@types/mathjs": "^9.4.2",
|
|
32
32
|
"mathjs": "^11.3.3"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "~18.0.6"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "c7322d74d5a1ccc371ce84a0b24c2088d7a2b00d"
|
|
38
38
|
}
|