amis-editor-core 6.3.0 → 6.4.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.
- 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/component/base/BackTop.d.ts +1 -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
|
@@ -26,6 +26,7 @@ export interface EditorProps extends PluginEventListener {
|
|
|
26
26
|
superEditorData?: any;
|
|
27
27
|
withSuperDataSchema?: boolean;
|
|
28
28
|
/** 当前 Editor 为 SubEditor 时触发的宿主节点 */
|
|
29
|
+
hostManager?: EditorManager;
|
|
29
30
|
hostNode?: EditorNodeType;
|
|
30
31
|
dataBindingChange?: (value: string, data: any, manager?: EditorManager) => void;
|
|
31
32
|
/**
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ClassNamesFn } from 'amis-core';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { EditorStoreType } from '../../store/editor';
|
|
4
|
+
import { EditorManager } from '../../manager';
|
|
4
5
|
export interface DialogListProps {
|
|
5
6
|
classnames: ClassNamesFn;
|
|
6
7
|
store: EditorStoreType;
|
|
8
|
+
manager: EditorManager;
|
|
7
9
|
}
|
|
8
|
-
declare const _default: ({ classnames: cx, store }: DialogListProps) => React.JSX.Element;
|
|
10
|
+
declare const _default: ({ classnames: cx, store, manager }: DialogListProps) => React.JSX.Element;
|
|
9
11
|
export default _default;
|