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/lib/layout/flex.d.ts
CHANGED
package/lib/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/lib/store/editor.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ export type EditorModalBody = (DialogSchema | DrawerSchema) & {
|
|
|
65
65
|
actionType?: string;
|
|
66
66
|
};
|
|
67
67
|
export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
68
|
+
ready: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
68
69
|
isMobile: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
69
70
|
isSubEditor: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
70
71
|
amisDocHost: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -444,7 +445,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
444
445
|
resetHighlightBox(root: any): void;
|
|
445
446
|
updateState(state: any, replace?: boolean): void;
|
|
446
447
|
setWidthMutable(value: any): void;
|
|
447
|
-
setHeightMutable(value: any): void;
|
|
448
|
+
setHeightMutable(value: any): void;
|
|
448
449
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
449
450
|
theme: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
450
451
|
toolbarMode: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -896,7 +897,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
896
897
|
resetHighlightBox(root: any): void;
|
|
897
898
|
updateState(state: any, replace?: boolean): void;
|
|
898
899
|
setWidthMutable(value: any): void;
|
|
899
|
-
setHeightMutable(value: any): void;
|
|
900
|
+
setHeightMutable(value: any): void;
|
|
900
901
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
901
902
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
902
903
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -1273,7 +1274,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
1273
1274
|
resetHighlightBox(root: any): void;
|
|
1274
1275
|
updateState(state: any, replace?: boolean): void;
|
|
1275
1276
|
setWidthMutable(value: any): void;
|
|
1276
|
-
setHeightMutable(value: any): void;
|
|
1277
|
+
setHeightMutable(value: any): void;
|
|
1277
1278
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
1278
1279
|
getNodeById(id: string, regionOrType?: string): EditorNodeType | undefined;
|
|
1279
1280
|
getNodeByComponentId(id: string): EditorNodeType | undefined;
|
|
@@ -1673,7 +1674,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
1673
1674
|
resetHighlightBox(root: any): void;
|
|
1674
1675
|
updateState(state: any, replace?: boolean): void;
|
|
1675
1676
|
setWidthMutable(value: any): void;
|
|
1676
|
-
setHeightMutable(value: any): void;
|
|
1677
|
+
setHeightMutable(value: any): void;
|
|
1677
1678
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1678
1679
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1679
1680
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -2050,7 +2051,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2050
2051
|
resetHighlightBox(root: any): void;
|
|
2051
2052
|
updateState(state: any, replace?: boolean): void;
|
|
2052
2053
|
setWidthMutable(value: any): void;
|
|
2053
|
-
setHeightMutable(value: any): void;
|
|
2054
|
+
setHeightMutable(value: any): void;
|
|
2054
2055
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2055
2056
|
readonly activePath: ({
|
|
2056
2057
|
parentId: string;
|
|
@@ -2428,7 +2429,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2428
2429
|
resetHighlightBox(root: any): void;
|
|
2429
2430
|
updateState(state: any, replace?: boolean): void;
|
|
2430
2431
|
setWidthMutable(value: any): void;
|
|
2431
|
-
setHeightMutable(value: any): void;
|
|
2432
|
+
setHeightMutable(value: any): void;
|
|
2432
2433
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2433
2434
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
2434
2435
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -2805,7 +2806,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
2805
2806
|
resetHighlightBox(root: any): void;
|
|
2806
2807
|
updateState(state: any, replace?: boolean): void;
|
|
2807
2808
|
setWidthMutable(value: any): void;
|
|
2808
|
-
setHeightMutable(value: any): void;
|
|
2809
|
+
setHeightMutable(value: any): void;
|
|
2809
2810
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2810
2811
|
getNodePathById(id: string): ({
|
|
2811
2812
|
parentId: string;
|
|
@@ -3183,7 +3184,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3183
3184
|
resetHighlightBox(root: any): void;
|
|
3184
3185
|
updateState(state: any, replace?: boolean): void;
|
|
3185
3186
|
setWidthMutable(value: any): void;
|
|
3186
|
-
setHeightMutable(value: any): void;
|
|
3187
|
+
setHeightMutable(value: any): void;
|
|
3187
3188
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3188
3189
|
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
3189
3190
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -3560,7 +3561,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3560
3561
|
resetHighlightBox(root: any): void;
|
|
3561
3562
|
updateState(state: any, replace?: boolean): void;
|
|
3562
3563
|
setWidthMutable(value: any): void;
|
|
3563
|
-
setHeightMutable(value: any): void;
|
|
3564
|
+
setHeightMutable(value: any): void;
|
|
3564
3565
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
3565
3566
|
readonly dragging: boolean;
|
|
3566
3567
|
readonly needPatch: boolean;
|
|
@@ -3625,6 +3626,7 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3625
3626
|
$$ref: any;
|
|
3626
3627
|
}[];
|
|
3627
3628
|
} & {
|
|
3629
|
+
markReady(): void;
|
|
3628
3630
|
setLayer(value: any): void;
|
|
3629
3631
|
getLayer(): HTMLElement | undefined;
|
|
3630
3632
|
setDoc(value: any): void;
|