@byteluck-fe/model-driven-engine 1.5.0-beta.16 → 1.5.0-beta.19

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,25 +1,26 @@
1
1
  import { Engine, Plugin } from '../common';
2
- export declare type VariableMap = {
2
+ export type VariableMap = {
3
3
  [key: string]: any;
4
4
  };
5
- export declare type ActionConfig = {
5
+ export type ActionConfig = {
6
6
  module: {
7
7
  compiled: string;
8
8
  source: string;
9
9
  type: 'FUNCTION';
10
10
  };
11
11
  };
12
- export declare type FuncMap = {
12
+ export type FuncMap = {
13
13
  [key: string]: Function;
14
14
  };
15
- export declare type Module = {
15
+ export type Module = {
16
16
  funcMap: FuncMap;
17
17
  variables: VariableMap;
18
18
  };
19
19
  export declare class ES6ModulePlugin implements Plugin {
20
20
  private config;
21
21
  private engine;
22
- constructor(config: ActionConfig);
22
+ private env;
23
+ constructor(config: ActionConfig, env: any);
23
24
  apply(engine: Engine): void;
24
25
  }
25
- export declare function parseModule(action: ActionConfig, engine: Engine): Module | undefined;
26
+ export declare function parseModule(action: ActionConfig, engine: Engine, env: any): Module | undefined;
@@ -1,5 +1,5 @@
1
1
  import { Engine, Plugin } from '../common';
2
- export declare type LifecycleEvent = {
2
+ export type LifecycleEvent = {
3
3
  did_mount: string[];
4
4
  did_submit: string[];
5
5
  will_submit: string[];
@@ -1,5 +1,5 @@
1
1
  import { Engine, Plugin } from '../common';
2
- export declare type StyleConfig = {
2
+ export type StyleConfig = {
3
3
  compiled: string;
4
4
  source: string;
5
5
  type: 'CSS';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-engine",
3
- "version": "1.5.0-beta.16",
3
+ "version": "1.5.0-beta.19",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -22,12 +22,12 @@
22
22
  "postpublish": "node ../../scripts/postpublish.js"
23
23
  },
24
24
  "dependencies": {
25
- "@byteluck-fe/model-driven-core": "^1.5.0-beta.15",
25
+ "@byteluck-fe/model-driven-core": "^1.5.0-beta.18",
26
26
  "@byteluck-fe/model-driven-shared": "^1.5.0-beta.15",
27
27
  "mathjs": "^11.3.3"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "~18.0.3"
31
31
  },
32
- "gitHead": "c5bb76acbaad34d06394b73e78db192eaec00807"
32
+ "gitHead": "70733d80b11aca4e2f5730c09e506ee224d61d2e"
33
33
  }