amis-editor-core 6.14.0-beta.0 → 6.14.0-beta.10
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/Panel/AMisCodeEditor.d.ts +0 -1
- package/esm/component/Panel/AvailableRenderersPanel.d.ts +3 -1
- package/esm/component/RegionWrapper.d.ts +48 -351
- package/esm/component/ScaffoldModal.d.ts +2 -0
- package/esm/component/VRenderer.d.ts +40 -344
- package/esm/component/base/SchemaForm.d.ts +15 -768
- package/esm/index.js +2 -2
- package/esm/layout/flex.d.ts +17 -3788
- package/esm/manager.d.ts +43 -349
- package/esm/plugin.d.ts +3 -3
- package/esm/store/editor.d.ts +389 -2207
- package/esm/store/node.d.ts +4 -3
- package/esm/tpl.d.ts +1 -2
- package/esm/util.d.ts +3 -5
- package/lib/component/Panel/AMisCodeEditor.d.ts +0 -1
- package/lib/component/Panel/AvailableRenderersPanel.d.ts +3 -1
- package/lib/component/RegionWrapper.d.ts +48 -351
- package/lib/component/ScaffoldModal.d.ts +2 -0
- package/lib/component/VRenderer.d.ts +40 -344
- package/lib/component/base/BackTop.d.ts +1 -1
- package/lib/component/base/SchemaForm.d.ts +15 -768
- package/lib/dnd/default.d.ts +1 -1
- package/lib/dnd/flex.d.ts +1 -1
- package/lib/editor.js +1 -1
- package/lib/index.js +2 -2
- package/lib/layout/flex.d.ts +17 -3788
- package/lib/manager.d.ts +43 -349
- package/lib/plugin.d.ts +3 -3
- package/lib/store/editor.d.ts +389 -2206
- package/lib/store/node.d.ts +4 -3
- package/lib/style.css +1 -1
- package/lib/tpl.d.ts +1 -2
- package/lib/util.d.ts +3 -5
- package/package.json +3 -3
package/lib/store/node.d.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { IAnyModelType, Instance, SnapshotIn } from 'mobx-state-tree';
|
|
6
6
|
import { RegionConfig, RendererInfo } from '../plugin';
|
|
7
7
|
import React from 'react';
|
|
8
|
+
import type { RendererConfig } from 'amis-core';
|
|
8
9
|
export declare const EditorNode: import("mobx-state-tree").IModelType<{
|
|
9
10
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
10
11
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -219,7 +220,7 @@ export declare const EditorNode: import("mobx-state-tree").IModelType<{
|
|
|
219
220
|
}): any;
|
|
220
221
|
removeChild(child: any): void;
|
|
221
222
|
toggleFold(e: React.MouseEvent<HTMLAnchorElement>): void;
|
|
222
|
-
patch(store: any, force?: boolean, setPatchInfo?: (
|
|
223
|
+
patch(store: any, force?: boolean, setPatchInfo?: (id: string, value: any) => void, ids?: Map<string, string>): void;
|
|
223
224
|
updateSchema(value: any): void;
|
|
224
225
|
updateSchemaStyle(value: any): void;
|
|
225
226
|
setComponent(value: any): void;
|
|
@@ -450,7 +451,7 @@ export declare const EditorNodeContext: React.Context<({
|
|
|
450
451
|
}): any;
|
|
451
452
|
removeChild(child: any): void;
|
|
452
453
|
toggleFold(e: React.MouseEvent<HTMLAnchorElement>): void;
|
|
453
|
-
patch(store: any, force?: boolean, setPatchInfo?: (
|
|
454
|
+
patch(store: any, force?: boolean, setPatchInfo?: (id: string, value: any) => void, ids?: Map<string, string>): void;
|
|
454
455
|
updateSchema(value: any): void;
|
|
455
456
|
updateSchemaStyle(value: any): void;
|
|
456
457
|
setComponent(value: any): void;
|
|
@@ -680,7 +681,7 @@ export declare const EditorNodeContext: React.Context<({
|
|
|
680
681
|
}): any;
|
|
681
682
|
removeChild(child: any): void;
|
|
682
683
|
toggleFold(e: React.MouseEvent<HTMLAnchorElement>): void;
|
|
683
|
-
patch(store: any, force?: boolean, setPatchInfo?: (
|
|
684
|
+
patch(store: any, force?: boolean, setPatchInfo?: (id: string, value: any) => void, ids?: Map<string, string>): void;
|
|
684
685
|
updateSchema(value: any): void;
|
|
685
686
|
updateSchemaStyle(value: any): void;
|
|
686
687
|
setComponent(value: any): void;
|