amis-editor-core 6.9.0-rc.2 → 6.9.0-rc.3
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/editor.js +1 -1
- package/lib/index.js +2 -2
- package/lib/store/editor.d.ts +1 -0
- package/lib/util.d.ts +1 -1
- package/package.json +1 -1
package/lib/store/editor.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Instance } from 'mobx-state-tree';
|
|
2
3
|
import { InsertEventContext, PluginEvent, RendererInfo, SubRendererInfo, ToolbarItem, PanelItem, MoveEventContext, ScaffoldForm, PopOverForm, DeleteEventContext, BaseEventContext } from '../plugin';
|
|
3
4
|
import type { Schema } from 'amis';
|
package/lib/util.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export declare function filterSchemaForConfig(schema: any, valueWithConfig?: any
|
|
|
68
68
|
*/
|
|
69
69
|
export declare function filterSchemaForEditor(schema: any): any;
|
|
70
70
|
export declare function blackList(list: Array<string>): (str: string) => boolean;
|
|
71
|
-
export declare function sortByList(list: Array<string>, attr: string | Function): (a: any, b: any) =>
|
|
71
|
+
export declare function sortByList(list: Array<string>, attr: string | Function): (a: any, b: any) => 0 | 1 | -1;
|
|
72
72
|
export declare function persistGet(key: string, defaultValue?: any): any;
|
|
73
73
|
export declare function persistSet(key: string, value: any): void;
|
|
74
74
|
export declare function normalizeId(id: string): string;
|