amis-editor-core 6.3.0 → 6.4.0

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.
package/lib/util.d.ts CHANGED
@@ -160,7 +160,7 @@ export declare const updateComponentContext: (variables: any[]) => any[];
160
160
  * @param selector dom 选择器
161
161
  */
162
162
  export declare const scrollToActive: import("lodash").DebouncedFunc<(selector: string) => void>;
163
- export declare function addModal(schema: any, modal: any, definitions?: any): any[];
163
+ export declare function addModal(schema: any, modal: any, definitions?: any, isKeyValid?: (key: string) => boolean): any[];
164
164
  /**
165
165
  * 弹窗转成 definitions 定义
166
166
  * 这样打开子弹窗的时候,可以把父级的弹窗列表透传到子弹窗里面去
@@ -170,7 +170,7 @@ export declare function addModal(schema: any, modal: any, definitions?: any): an
170
170
  * @param definitions
171
171
  * @returns
172
172
  */
173
- export declare function modalsToDefinitions(modals: Array<EditorModalBody>, definitions?: any): any;
173
+ export declare function modalsToDefinitions(modals: Array<EditorModalBody>, definitions?: any, edtingModal?: EditorModalBody): any;
174
174
  /**
175
175
  * 从子弹窗的 definitions 合并回来到主弹窗的 definitions
176
176
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amis-editor-core",
3
- "version": "6.3.0",
3
+ "version": "6.4.0",
4
4
  "description": "amis 可视化编辑器",
5
5
  "main": "lib/index.js",
6
6
  "module": "esm/index.js",