amis-editor-core 6.8.0 → 6.9.0-rc.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/index.js +2 -2
- package/esm/manager.d.ts +1 -1
- package/esm/store/editor.d.ts +11 -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 +1 -0
- package/lib/manager.d.ts +1 -1
- package/lib/store/editor.d.ts +11 -9
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/static/check.svg +1 -16
- package/static/search.svg +1 -8
- package/static/side_hide_left.svg +1 -10
package/esm/manager.d.ts
CHANGED
|
@@ -1049,7 +1049,7 @@ export declare class EditorManager {
|
|
|
1049
1049
|
/**
|
|
1050
1050
|
* 把设置了特殊 region 的,hack 一下。
|
|
1051
1051
|
*/
|
|
1052
|
-
hackRenderers(renderers?: any): void
|
|
1052
|
+
hackRenderers(renderers?: any): Promise<void>;
|
|
1053
1053
|
/**
|
|
1054
1054
|
* 入口在 Preview,用来生成包括元素头部快捷工具栏。
|
|
1055
1055
|
* @param info
|
package/esm/store/editor.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export type EditorModalBody = (DialogSchema | DrawerSchema) & {
|
|
|
66
66
|
actionType?: string;
|
|
67
67
|
};
|
|
68
68
|
export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
69
|
+
ready: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
69
70
|
isMobile: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
70
71
|
isSubEditor: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
71
72
|
amisDocHost: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -445,7 +446,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
445
446
|
resetHighlightBox(root: any): void;
|
|
446
447
|
updateState(state: any, replace?: boolean): void;
|
|
447
448
|
setWidthMutable(value: any): void;
|
|
448
|
-
setHeightMutable(value: any): void;
|
|
449
|
+
setHeightMutable(value: any): void;
|
|
449
450
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
450
451
|
theme: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
451
452
|
toolbarMode: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -897,7 +898,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
897
898
|
resetHighlightBox(root: any): void;
|
|
898
899
|
updateState(state: any, replace?: boolean): void;
|
|
899
900
|
setWidthMutable(value: any): void;
|
|
900
|
-
setHeightMutable(value: any): void;
|
|
901
|
+
setHeightMutable(value: any): void;
|
|
901
902
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
902
903
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
903
904
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -1274,7 +1275,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
1274
1275
|
resetHighlightBox(root: any): void;
|
|
1275
1276
|
updateState(state: any, replace?: boolean): void;
|
|
1276
1277
|
setWidthMutable(value: any): void;
|
|
1277
|
-
setHeightMutable(value: any): void;
|
|
1278
|
+
setHeightMutable(value: any): void;
|
|
1278
1279
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
1279
1280
|
getNodeById(id: string, regionOrType?: string): EditorNodeType | undefined;
|
|
1280
1281
|
getNodeByComponentId(id: string): EditorNodeType | undefined;
|
|
@@ -1674,7 +1675,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
1674
1675
|
resetHighlightBox(root: any): void;
|
|
1675
1676
|
updateState(state: any, replace?: boolean): void;
|
|
1676
1677
|
setWidthMutable(value: any): void;
|
|
1677
|
-
setHeightMutable(value: any): void;
|
|
1678
|
+
setHeightMutable(value: any): void;
|
|
1678
1679
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1679
1680
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1680
1681
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -2051,7 +2052,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2051
2052
|
resetHighlightBox(root: any): void;
|
|
2052
2053
|
updateState(state: any, replace?: boolean): void;
|
|
2053
2054
|
setWidthMutable(value: any): void;
|
|
2054
|
-
setHeightMutable(value: any): void;
|
|
2055
|
+
setHeightMutable(value: any): void;
|
|
2055
2056
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2056
2057
|
readonly activePath: ({
|
|
2057
2058
|
parentId: string;
|
|
@@ -2429,7 +2430,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2429
2430
|
resetHighlightBox(root: any): void;
|
|
2430
2431
|
updateState(state: any, replace?: boolean): void;
|
|
2431
2432
|
setWidthMutable(value: any): void;
|
|
2432
|
-
setHeightMutable(value: any): void;
|
|
2433
|
+
setHeightMutable(value: any): void;
|
|
2433
2434
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2434
2435
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
2435
2436
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -2806,7 +2807,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2806
2807
|
resetHighlightBox(root: any): void;
|
|
2807
2808
|
updateState(state: any, replace?: boolean): void;
|
|
2808
2809
|
setWidthMutable(value: any): void;
|
|
2809
|
-
setHeightMutable(value: any): void;
|
|
2810
|
+
setHeightMutable(value: any): void;
|
|
2810
2811
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2811
2812
|
getNodePathById(id: string): ({
|
|
2812
2813
|
parentId: string;
|
|
@@ -3184,7 +3185,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3184
3185
|
resetHighlightBox(root: any): void;
|
|
3185
3186
|
updateState(state: any, replace?: boolean): void;
|
|
3186
3187
|
setWidthMutable(value: any): void;
|
|
3187
|
-
setHeightMutable(value: any): void;
|
|
3188
|
+
setHeightMutable(value: any): void;
|
|
3188
3189
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3189
3190
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
3190
3191
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -3561,7 +3562,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3561
3562
|
resetHighlightBox(root: any): void;
|
|
3562
3563
|
updateState(state: any, replace?: boolean): void;
|
|
3563
3564
|
setWidthMutable(value: any): void;
|
|
3564
|
-
setHeightMutable(value: any): void;
|
|
3565
|
+
setHeightMutable(value: any): void;
|
|
3565
3566
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
3566
3567
|
readonly dragging: boolean;
|
|
3567
3568
|
readonly needPatch: boolean;
|
|
@@ -3626,6 +3627,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3626
3627
|
$$ref: any;
|
|
3627
3628
|
}[];
|
|
3628
3629
|
} & {
|
|
3630
|
+
markReady(): void;
|
|
3629
3631
|
setLayer(value: any): void;
|
|
3630
3632
|
getLayer(): HTMLElement | undefined;
|
|
3631
3633
|
setDoc(value: any): void;
|
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" | "top" | "bottom" | undefined;
|
|
49
49
|
interruptionDrop(): boolean;
|
|
50
50
|
}
|
package/lib/editor.js
CHANGED