@byteluck-fe/model-driven-engine 2.7.0-alpha.31a → 2.7.0-alpha.33

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,4 +1,4 @@
1
- import { ControlExport, ControlRuntimeInstance, ControlsInstance, ControlsKeys, DataBind, DeepPartial, LayoutControls, ObjectDataBind, RuntimeControl, RuntimeListControl, Schema } from '@byteluck-fe/model-driven-core';
1
+ import { ControlRuntimeInstance, ControlsInstance, ControlsKeys, DataBind, DeepPartial, LayoutControls, ObjectDataBind, RuntimeControl, RuntimeListControl, Schema } from '@byteluck-fe/model-driven-core';
2
2
  import { Callback, Watcher } from '@byteluck-fe/model-driven-shared';
3
3
  import { Plugin } from './Plugin';
4
4
  import { Runtime, RuntimeProps } from './Runtime';
@@ -60,8 +60,8 @@ declare class Engine extends Watcher<EventKeys> {
60
60
  private debugLog;
61
61
  use(plugin: Plugin): this;
62
62
  registerControl(...arg: Parameters<Runtime['register']>): this;
63
- static register(control: ControlExport): typeof import("@byteluck-fe/model-driven-core").RegisterControls;
64
- static judgeControlIsRegistered(control: Parameters<typeof Runtime['register']>[0]): boolean;
63
+ static register(...arg: Parameters<(typeof Runtime)['register']>): typeof import("@byteluck-fe/model-driven-core").RegisterControls;
64
+ static judgeControlIsRegistered(control: Parameters<(typeof Runtime)['register']>[0]): boolean;
65
65
  mount(): void;
66
66
  destroy(): void;
67
67
  private _handlerProxyState;
@@ -79,7 +79,6 @@ declare class Engine extends Watcher<EventKeys> {
79
79
  createControlInstance: <T extends never>(type: T, initSchema?: DeepPartial<Schema<T, InstanceType<import("@byteluck-fe/model-driven-core").Controls[T]["Property"]>>> | undefined) => InstanceType<import("@byteluck-fe/model-driven-core").ControlsConstructor<T, "Runtime">> | undefined;
80
80
  schemaEvent(eventKey: 'schema-change', payload: SchemaEventPayload): void;
81
81
  updateInstanceProps(instance: SchemaEventPayload['instance'] | string, props: string, value: unknown, rowIndex?: number): void;
82
- getRule(controlType: string, props: any): any[];
83
82
  getAllRules(controlId?: string): {
84
83
  rules: import("async-validator").Rules | undefined;
85
84
  antdRules: import("async-validator").Rules | undefined;
@@ -10,7 +10,6 @@ export declare class Runtime extends RegisterControls<'Runtime'> {
10
10
  private _instance;
11
11
  private _flatInstances;
12
12
  private _instanceMap;
13
- private _controlParentIdMap;
14
13
  constructor(props: RuntimeProps);
15
14
  getFlatInstances(): ControlRuntimeInstance<ControlsKeys>[];
16
15
  get schema(): any;
@@ -20,8 +20,7 @@ export declare class ES6ModulePlugin implements Plugin {
20
20
  private config;
21
21
  private engine;
22
22
  private env;
23
- private eventJs;
24
- constructor(config: ActionConfig, env: any, eventJs?: any);
23
+ constructor(config: ActionConfig, env: any);
25
24
  apply(engine: Engine): void;
26
25
  }
27
26
  export declare function parseModule(action: ActionConfig, engine: Engine, env: any): Module | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-engine",
3
- "version": "2.7.0-alpha.31a",
3
+ "version": "2.7.0-alpha.33",
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.7.0-alpha.28a",
30
- "@byteluck-fe/model-driven-shared": "2.7.0-alpha.28a",
29
+ "@byteluck-fe/model-driven-core": "2.7.0-alpha.33",
30
+ "@byteluck-fe/model-driven-shared": "2.7.0-alpha.33",
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": "9e43d83adf1e3b949a91d9e37e03192b226c9199"
37
+ "gitHead": "4c6fd6233229bac018b336bf24aac232cc5875de"
38
38
  }