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/esm/component/Editor.d.ts +1 -0
- package/esm/component/Panel/DialogList.d.ts +3 -1
- package/esm/index.js +2 -2
- package/esm/manager.d.ts +2 -1
- package/esm/store/editor.d.ts +10 -9
- package/esm/util.d.ts +2 -2
- package/lib/component/Editor.d.ts +1 -0
- package/lib/component/Panel/DialogList.d.ts +3 -1
- package/lib/editor.js +1 -1
- package/lib/index.js +2 -2
- package/lib/manager.d.ts +2 -1
- package/lib/store/editor.d.ts +10 -9
- package/lib/style.css +1 -1
- package/lib/util.d.ts +2 -2
- package/package.json +1 -1
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
|
*
|