amis-editor-core 6.9.0-rc.9 → 6.10.0-beta.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 +2 -1
- package/esm/index.js +2 -2
- package/esm/plugin.d.ts +9 -0
- package/lib/component/Editor.d.ts +2 -1
- package/lib/editor.js +1 -1
- package/lib/index.js +2 -2
- package/lib/plugin.d.ts +9 -0
- package/lib/store/editor.d.ts +1 -0
- package/lib/style.css +1 -1
- package/package.json +1 -2
package/lib/plugin.d.ts
CHANGED
|
@@ -383,6 +383,15 @@ export interface RendererInfoResolveEventContext extends EventContext {
|
|
|
383
383
|
export interface RendererJSONSchemaResolveEventContext extends BaseEventContext {
|
|
384
384
|
data: string;
|
|
385
385
|
}
|
|
386
|
+
export interface IGlobalEvent {
|
|
387
|
+
label: string;
|
|
388
|
+
name: string;
|
|
389
|
+
description: string;
|
|
390
|
+
mapping: Array<{
|
|
391
|
+
key: string;
|
|
392
|
+
type: string;
|
|
393
|
+
}>;
|
|
394
|
+
}
|
|
386
395
|
/**
|
|
387
396
|
* 右键菜单事件的上下文。
|
|
388
397
|
*/
|
package/lib/store/editor.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Instance } from 'mobx-state-tree';
|
|
2
3
|
import { InsertEventContext, PluginEvent, RendererInfo, SubRendererInfo, ToolbarItem, PanelItem, MoveEventContext, ScaffoldForm, PopOverForm, DeleteEventContext, BaseEventContext } from '../plugin';
|
|
3
4
|
import type { Schema } from 'amis';
|