amis-editor-core 7.0.0-next.1 → 7.0.0-next.2
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/lib/component/base/BackTop.d.ts +1 -1
- package/lib/editor.js +1 -1
- package/lib/index.js +2 -2
- package/lib/util.d.ts +1 -1
- package/package.json +2 -2
package/lib/util.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ export declare function filterSchemaForConfig(schema: any, valueWithConfig?: any
|
|
|
65
65
|
*/
|
|
66
66
|
export declare function filterSchemaForEditor(schema: any): any;
|
|
67
67
|
export declare function blackList(list: Array<string>): (str: string) => boolean;
|
|
68
|
-
export declare function sortByList(list: Array<string>, attr: string | Function): (a: any, b: any) =>
|
|
68
|
+
export declare function sortByList(list: Array<string>, attr: string | Function): (a: any, b: any) => 1 | -1 | 0;
|
|
69
69
|
export declare function persistGet(key: string, defaultValue?: any): any;
|
|
70
70
|
export declare function persistSet(key: string, value: any): void;
|
|
71
71
|
export declare function normalizeId(id: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amis-editor-core",
|
|
3
|
-
"version": "7.0.0-next.
|
|
3
|
+
"version": "7.0.0-next.2",
|
|
4
4
|
"description": "amis 可视化编辑器",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"json-ast-comments": "^1.1.0",
|
|
54
54
|
"lodash": "^4.17.15",
|
|
55
55
|
"mobx": "^6.15.0",
|
|
56
|
-
"mobx-react": "^6.
|
|
56
|
+
"mobx-react": "^7.6.0",
|
|
57
57
|
"mobx-state-tree": "^7.0.2",
|
|
58
58
|
"react-frame-component": "^5.2.6",
|
|
59
59
|
"react-json-view": "^1.21.3",
|