@byteluck-fe/runtime-engine 2.0.10 → 2.0.12

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.
@@ -11,6 +11,7 @@ export interface FormEngineModalProps {
11
11
  uid?: string;
12
12
  onEngineMounted?: (engine: Engine) => void;
13
13
  onEngineSubmitted?: (engine: Engine, payload: EventPayload) => void;
14
+ onEngineBeforeInit?: (engine: Engine, payload: EventPayload) => void;
14
15
  onCloseError?: () => Promise<void | boolean>;
15
16
  clearSelectedRows?: boolean;
16
17
  }
@@ -1,5 +1,5 @@
1
1
  import { SelectStateType } from '../../controls/listView/useListSelection';
2
- import { Engine } from '@byteluck-fe/model-driven-engine';
2
+ import { Engine, EventPayload } from '@byteluck-fe/model-driven-engine';
3
3
  import { Ref, ComputedRef } from 'vue';
4
4
 
5
5
  interface ListEngineModalProps {
@@ -14,6 +14,7 @@ interface ListEngineModalProps {
14
14
  valueKey?: string;
15
15
  selection?: boolean;
16
16
  onEngineInit?: (engine: Engine, rowIndex?: number) => void;
17
+ onEngineBeforeInit?: (engine: Engine, payload: EventPayload) => void;
17
18
  onOk?: (selectState?: SelectStateType | undefined) => void;
18
19
  }
19
20
  /**
@@ -58,10 +58,6 @@ export declare class DisplayPlugin implements Plugin {
58
58
  * @description 获取控件的parent中的subtable
59
59
  * */
60
60
  private getControlParentSubtable;
61
- /**
62
- * @description 获取控件在明细子表headers内的实例
63
- * */
64
- private getHeaderInnerInstance;
65
61
  /**
66
62
  * @description 获取column控件在明细子表headers内的column
67
63
  * */
@@ -9,6 +9,7 @@ declare const _default: {
9
9
  i18n: any;
10
10
  type: 'desktop' | 'mobile';
11
11
  codeOutStore?: typeof runtimeStore;
12
+ codeOutLocaleJson?: any;
12
13
  }): Promise<void>;
13
14
  };
14
15
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-engine",
3
- "version": "2.0.10",
3
+ "version": "2.0.12",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",