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/esm/store/editor.d.ts
CHANGED
|
@@ -453,7 +453,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
453
453
|
calculateHighlightBox(root?: any): void;
|
|
454
454
|
resetHighlightBox(root: any): void;
|
|
455
455
|
updateState(state: any, replace?: boolean): void;
|
|
456
|
-
setWidthMutable(value: any): void;
|
|
456
|
+
setWidthMutable(value: any): void; /**
|
|
457
|
+
* 根据当前分类和关键字获取预置组件
|
|
458
|
+
* 备注:组件面板展示需要
|
|
459
|
+
*/
|
|
457
460
|
setHeightMutable(value: any): void;
|
|
458
461
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
459
462
|
theme: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -913,7 +916,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
913
916
|
calculateHighlightBox(root?: any): void;
|
|
914
917
|
resetHighlightBox(root: any): void;
|
|
915
918
|
updateState(state: any, replace?: boolean): void;
|
|
916
|
-
setWidthMutable(value: any): void;
|
|
919
|
+
setWidthMutable(value: any): void; /**
|
|
920
|
+
* 根据当前分类和关键字获取预置组件
|
|
921
|
+
* 备注:组件面板展示需要
|
|
922
|
+
*/
|
|
917
923
|
setHeightMutable(value: any): void;
|
|
918
924
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
919
925
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -1290,7 +1296,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
1290
1296
|
calculateHighlightBox(root?: any): void;
|
|
1291
1297
|
resetHighlightBox(root: any): void;
|
|
1292
1298
|
updateState(state: any, replace?: boolean): void;
|
|
1293
|
-
setWidthMutable(value: any): void;
|
|
1299
|
+
setWidthMutable(value: any): void; /**
|
|
1300
|
+
* 根据当前分类和关键字获取预置组件
|
|
1301
|
+
* 备注:组件面板展示需要
|
|
1302
|
+
*/
|
|
1294
1303
|
setHeightMutable(value: any): void;
|
|
1295
1304
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
1296
1305
|
getNodeById(id: string, regionOrType?: string): EditorNodeType | undefined;
|
|
@@ -1690,7 +1699,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
1690
1699
|
calculateHighlightBox(root?: any): void;
|
|
1691
1700
|
resetHighlightBox(root: any): void;
|
|
1692
1701
|
updateState(state: any, replace?: boolean): void;
|
|
1693
|
-
setWidthMutable(value: any): void;
|
|
1702
|
+
setWidthMutable(value: any): void; /**
|
|
1703
|
+
* 根据当前分类和关键字获取预置组件
|
|
1704
|
+
* 备注:组件面板展示需要
|
|
1705
|
+
*/
|
|
1694
1706
|
setHeightMutable(value: any): void;
|
|
1695
1707
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1696
1708
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -2067,7 +2079,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2067
2079
|
calculateHighlightBox(root?: any): void;
|
|
2068
2080
|
resetHighlightBox(root: any): void;
|
|
2069
2081
|
updateState(state: any, replace?: boolean): void;
|
|
2070
|
-
setWidthMutable(value: any): void;
|
|
2082
|
+
setWidthMutable(value: any): void; /**
|
|
2083
|
+
* 根据当前分类和关键字获取预置组件
|
|
2084
|
+
* 备注:组件面板展示需要
|
|
2085
|
+
*/
|
|
2071
2086
|
setHeightMutable(value: any): void;
|
|
2072
2087
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2073
2088
|
readonly activePath: ({
|
|
@@ -2445,7 +2460,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2445
2460
|
calculateHighlightBox(root?: any): void;
|
|
2446
2461
|
resetHighlightBox(root: any): void;
|
|
2447
2462
|
updateState(state: any, replace?: boolean): void;
|
|
2448
|
-
setWidthMutable(value: any): void;
|
|
2463
|
+
setWidthMutable(value: any): void; /**
|
|
2464
|
+
* 根据当前分类和关键字获取预置组件
|
|
2465
|
+
* 备注:组件面板展示需要
|
|
2466
|
+
*/
|
|
2449
2467
|
setHeightMutable(value: any): void;
|
|
2450
2468
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2451
2469
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -2822,7 +2840,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2822
2840
|
calculateHighlightBox(root?: any): void;
|
|
2823
2841
|
resetHighlightBox(root: any): void;
|
|
2824
2842
|
updateState(state: any, replace?: boolean): void;
|
|
2825
|
-
setWidthMutable(value: any): void;
|
|
2843
|
+
setWidthMutable(value: any): void; /**
|
|
2844
|
+
* 根据当前分类和关键字获取预置组件
|
|
2845
|
+
* 备注:组件面板展示需要
|
|
2846
|
+
*/
|
|
2826
2847
|
setHeightMutable(value: any): void;
|
|
2827
2848
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2828
2849
|
getNodePathById(id: string): ({
|
|
@@ -3200,7 +3221,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3200
3221
|
calculateHighlightBox(root?: any): void;
|
|
3201
3222
|
resetHighlightBox(root: any): void;
|
|
3202
3223
|
updateState(state: any, replace?: boolean): void;
|
|
3203
|
-
setWidthMutable(value: any): void;
|
|
3224
|
+
setWidthMutable(value: any): void; /**
|
|
3225
|
+
* 根据当前分类和关键字获取预置组件
|
|
3226
|
+
* 备注:组件面板展示需要
|
|
3227
|
+
*/
|
|
3204
3228
|
setHeightMutable(value: any): void;
|
|
3205
3229
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3206
3230
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -3577,7 +3601,10 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3577
3601
|
calculateHighlightBox(root?: any): void;
|
|
3578
3602
|
resetHighlightBox(root: any): void;
|
|
3579
3603
|
updateState(state: any, replace?: boolean): void;
|
|
3580
|
-
setWidthMutable(value: any): void;
|
|
3604
|
+
setWidthMutable(value: any): void; /**
|
|
3605
|
+
* 根据当前分类和关键字获取预置组件
|
|
3606
|
+
* 备注:组件面板展示需要
|
|
3607
|
+
*/
|
|
3581
3608
|
setHeightMutable(value: any): void;
|
|
3582
3609
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
3583
3610
|
readonly dragging: boolean;
|
package/lib/dnd/flex.d.ts
CHANGED
|
@@ -45,6 +45,6 @@ export declare class FlexDNDMode implements DNDModeInterface {
|
|
|
45
45
|
* 销毁
|
|
46
46
|
*/
|
|
47
47
|
dispose(): void;
|
|
48
|
-
getDropPosition(): "left" | "right" | "
|
|
48
|
+
getDropPosition(): "left" | "right" | "bottom" | "top" | undefined;
|
|
49
49
|
interruptionDrop(): boolean;
|
|
50
50
|
}
|
package/lib/editor.js
CHANGED