@byteluck-fe/model-driven-engine 6.1.0-1-beta.2 → 6.2.0-1-beta.1

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.
@@ -45,7 +45,7 @@ type EngineProps<T extends keyof LayoutControls = keyof LayoutControls> = {
45
45
  [key: string]: Engine;
46
46
  };
47
47
  };
48
- type EventKeys = 'click' | 'click-finish' | 'wps-open' | 'wps-save' | 'wps-rename' | 'change' | 'schema-change' | 'search' | 'checked' | 'input' | 'focus' | 'blur' | 'list-change' | 'list-splice' | 'list-delete' | 'list-before-insert' | 'list-search' | 'list-mounted' | 'list-actions' | 'engine-mounted' | 'engine-submit' | 'engine-submit-params' | 'engine-submitted' | 'engine-initialized' | 'engine-after-initialized' | string;
48
+ type EventKeys = 'click' | 'click-finish' | 'wps-open' | 'wps-save' | 'wps-rename' | 'change' | 'schema-change' | 'search' | 'checked' | 'input' | 'focus' | 'blur' | 'list-change' | 'list-splice' | 'list-delete' | 'list-before-insert' | 'list-search' | 'list-mounted' | 'list-actions' | 'engine-mounted' | 'engine-submit' | 'engine-submit-params' | 'engine-submitted' | 'engine-initialized' | 'engine-after-initialized' | 'file-actions' | string;
49
49
  declare class Engine extends Watcher<EventKeys> {
50
50
  private store;
51
51
  rawStore: Record<string, any>;
@@ -84,7 +84,7 @@ declare class Engine extends Watcher<EventKeys> {
84
84
  on(key: EventKeys, callback: Callback): void;
85
85
  createControl(...args: Parameters<Runtime['createControl']>): never[];
86
86
  createInstance<T extends ControlsKeys>(type: T, initSchema?: DeepPartial<Schema<T>>): ControlsInstance<T, 'Runtime'> | undefined;
87
- 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;
87
+ createControlInstance: <T extends ControlsKeys>(type: T, initSchema?: DeepPartial<Schema<T>>) => ControlsInstance<T, "Runtime"> | undefined;
88
88
  schemaEvent(eventKey: 'schema-change', payload: SchemaEventPayload): void;
89
89
  updateInstanceProps(instance: SchemaEventPayload['instance'] | string, props: string, value: unknown, rowIndex?: number): void;
90
90
  getRule(controlType: string, props: any): any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-engine",
3
- "version": "6.1.0-1-beta.2",
3
+ "version": "6.2.0-1-beta.1",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -26,8 +26,8 @@
26
26
  "postpublish": "node ../../scripts/postpublish.js"
27
27
  },
28
28
  "dependencies": {
29
- "@byteluck-fe/model-driven-core": "6.1.0-1-beta.2",
30
- "@byteluck-fe/model-driven-shared": "6.1.0-1-beta.2",
29
+ "@byteluck-fe/model-driven-core": "6.2.0-1-beta.1",
30
+ "@byteluck-fe/model-driven-shared": "6.2.0-1-beta.1",
31
31
  "@types/mathjs": "^9.4.2",
32
32
  "mathjs": "^11.3.3",
33
33
  "postcss": "^8.5.6",
@@ -37,5 +37,5 @@
37
37
  "@types/node": "~18.0.6",
38
38
  "@types/postcss-prefix-selector": "^1.16.3"
39
39
  },
40
- "gitHead": "eacb8b0bb68fec8e2fd4a2ca9d137397072ab5a8"
40
+ "gitHead": "a1cab42eb582b1aa89e24e48ce92384cf5b2132f"
41
41
  }