amis-editor-core 6.11.0-beta.5 → 6.11.0-beta.7
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/index.js +2 -2
- package/esm/store/editor.d.ts +36 -9
- 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 +0 -1
- package/lib/store/editor.d.ts +36 -10
- package/package.json +1 -1
package/lib/layout/flex.d.ts
CHANGED
package/lib/store/editor.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { GlobalVariableItem } from 'amis-core';
|
|
3
2
|
import { Instance } from 'mobx-state-tree';
|
|
4
3
|
import { InsertEventContext, PluginEvent, RendererInfo, SubRendererInfo, ToolbarItem, PanelItem, MoveEventContext, ScaffoldForm, PopOverForm, DeleteEventContext, BaseEventContext, IGlobalEvent } from '../plugin';
|
|
@@ -453,7 +452,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
453
452
|
calculateHighlightBox(root?: any): void;
|
|
454
453
|
resetHighlightBox(root: any): void;
|
|
455
454
|
updateState(state: any, replace?: boolean): void;
|
|
456
|
-
setWidthMutable(value: any): void;
|
|
455
|
+
setWidthMutable(value: any): void; /**
|
|
456
|
+
* 根据当前分类和关键字获取预置组件
|
|
457
|
+
* 备注:组件面板展示需要
|
|
458
|
+
*/
|
|
457
459
|
setHeightMutable(value: any): void;
|
|
458
460
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
459
461
|
theme: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -913,7 +915,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
913
915
|
calculateHighlightBox(root?: any): void;
|
|
914
916
|
resetHighlightBox(root: any): void;
|
|
915
917
|
updateState(state: any, replace?: boolean): void;
|
|
916
|
-
setWidthMutable(value: any): void;
|
|
918
|
+
setWidthMutable(value: any): void; /**
|
|
919
|
+
* 根据当前分类和关键字获取预置组件
|
|
920
|
+
* 备注:组件面板展示需要
|
|
921
|
+
*/
|
|
917
922
|
setHeightMutable(value: any): void;
|
|
918
923
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
919
924
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -1290,7 +1295,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
1290
1295
|
calculateHighlightBox(root?: any): void;
|
|
1291
1296
|
resetHighlightBox(root: any): void;
|
|
1292
1297
|
updateState(state: any, replace?: boolean): void;
|
|
1293
|
-
setWidthMutable(value: any): void;
|
|
1298
|
+
setWidthMutable(value: any): void; /**
|
|
1299
|
+
* 根据当前分类和关键字获取预置组件
|
|
1300
|
+
* 备注:组件面板展示需要
|
|
1301
|
+
*/
|
|
1294
1302
|
setHeightMutable(value: any): void;
|
|
1295
1303
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
1296
1304
|
getNodeById(id: string, regionOrType?: string): EditorNodeType | undefined;
|
|
@@ -1690,7 +1698,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
1690
1698
|
calculateHighlightBox(root?: any): void;
|
|
1691
1699
|
resetHighlightBox(root: any): void;
|
|
1692
1700
|
updateState(state: any, replace?: boolean): void;
|
|
1693
|
-
setWidthMutable(value: any): void;
|
|
1701
|
+
setWidthMutable(value: any): void; /**
|
|
1702
|
+
* 根据当前分类和关键字获取预置组件
|
|
1703
|
+
* 备注:组件面板展示需要
|
|
1704
|
+
*/
|
|
1694
1705
|
setHeightMutable(value: any): void;
|
|
1695
1706
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1696
1707
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -2067,7 +2078,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2067
2078
|
calculateHighlightBox(root?: any): void;
|
|
2068
2079
|
resetHighlightBox(root: any): void;
|
|
2069
2080
|
updateState(state: any, replace?: boolean): void;
|
|
2070
|
-
setWidthMutable(value: any): void;
|
|
2081
|
+
setWidthMutable(value: any): void; /**
|
|
2082
|
+
* 根据当前分类和关键字获取预置组件
|
|
2083
|
+
* 备注:组件面板展示需要
|
|
2084
|
+
*/
|
|
2071
2085
|
setHeightMutable(value: any): void;
|
|
2072
2086
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2073
2087
|
readonly activePath: ({
|
|
@@ -2445,7 +2459,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2445
2459
|
calculateHighlightBox(root?: any): void;
|
|
2446
2460
|
resetHighlightBox(root: any): void;
|
|
2447
2461
|
updateState(state: any, replace?: boolean): void;
|
|
2448
|
-
setWidthMutable(value: any): void;
|
|
2462
|
+
setWidthMutable(value: any): void; /**
|
|
2463
|
+
* 根据当前分类和关键字获取预置组件
|
|
2464
|
+
* 备注:组件面板展示需要
|
|
2465
|
+
*/
|
|
2449
2466
|
setHeightMutable(value: any): void;
|
|
2450
2467
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2451
2468
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -2822,7 +2839,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2822
2839
|
calculateHighlightBox(root?: any): void;
|
|
2823
2840
|
resetHighlightBox(root: any): void;
|
|
2824
2841
|
updateState(state: any, replace?: boolean): void;
|
|
2825
|
-
setWidthMutable(value: any): void;
|
|
2842
|
+
setWidthMutable(value: any): void; /**
|
|
2843
|
+
* 根据当前分类和关键字获取预置组件
|
|
2844
|
+
* 备注:组件面板展示需要
|
|
2845
|
+
*/
|
|
2826
2846
|
setHeightMutable(value: any): void;
|
|
2827
2847
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2828
2848
|
getNodePathById(id: string): ({
|
|
@@ -3200,7 +3220,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3200
3220
|
calculateHighlightBox(root?: any): void;
|
|
3201
3221
|
resetHighlightBox(root: any): void;
|
|
3202
3222
|
updateState(state: any, replace?: boolean): void;
|
|
3203
|
-
setWidthMutable(value: any): void;
|
|
3223
|
+
setWidthMutable(value: any): void; /**
|
|
3224
|
+
* 根据当前分类和关键字获取预置组件
|
|
3225
|
+
* 备注:组件面板展示需要
|
|
3226
|
+
*/
|
|
3204
3227
|
setHeightMutable(value: any): void;
|
|
3205
3228
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3206
3229
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -3577,7 +3600,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3577
3600
|
calculateHighlightBox(root?: any): void;
|
|
3578
3601
|
resetHighlightBox(root: any): void;
|
|
3579
3602
|
updateState(state: any, replace?: boolean): void;
|
|
3580
|
-
setWidthMutable(value: any): void;
|
|
3603
|
+
setWidthMutable(value: any): void; /**
|
|
3604
|
+
* 根据当前分类和关键字获取预置组件
|
|
3605
|
+
* 备注:组件面板展示需要
|
|
3606
|
+
*/
|
|
3581
3607
|
setHeightMutable(value: any): void;
|
|
3582
3608
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
3583
3609
|
readonly dragging: boolean;
|