amis-editor-core 6.9.0-rc.0 → 6.9.0-rc.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/component/RegionWrapper.d.ts +2 -2
- package/esm/component/SubEditor.d.ts +14 -2
- package/esm/component/VRenderer.d.ts +2 -2
- package/esm/component/base/SchemaForm.d.ts +2 -1
- package/esm/component/factory.d.ts +1 -1
- package/esm/index.js +2 -2
- package/esm/layout/flex.d.ts +10 -10
- package/esm/manager.d.ts +3 -3
- package/esm/plugin.d.ts +1 -0
- package/esm/store/editor.d.ts +50 -23
- package/esm/store/node.d.ts +3 -3
- package/esm/util.d.ts +3 -1
- package/lib/component/RegionWrapper.d.ts +2 -2
- package/lib/component/SubEditor.d.ts +14 -2
- package/lib/component/VRenderer.d.ts +2 -2
- package/lib/component/base/SchemaForm.d.ts +2 -1
- package/lib/component/factory.d.ts +1 -1
- package/lib/editor.js +1 -1
- package/lib/index.js +2 -2
- package/lib/layout/flex.d.ts +10 -10
- package/lib/manager.d.ts +3 -3
- package/lib/plugin.d.ts +1 -0
- package/lib/store/editor.d.ts +50 -23
- package/lib/store/node.d.ts +3 -3
- package/lib/style.css +1 -1
- package/lib/util.d.ts +3 -1
- package/package.json +1 -1
package/lib/util.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import type { VariableItem } from 'amis-ui';
|
|
|
4
4
|
import { Diff } from 'deep-diff';
|
|
5
5
|
import { EditorModalBody } from './store/editor';
|
|
6
6
|
import type { SchemaType } from 'amis/lib/Schema';
|
|
7
|
+
import type { DialogSchema } from 'amis/lib/renderers/Dialog';
|
|
8
|
+
import type { DrawerSchema } from 'amis/lib/renderers/Drawer';
|
|
7
9
|
declare const guid: any, omitControls: any, isObjectShallowModified: any, cloneObject: any, anyChanged: any, noop: any, makeHorizontalDeeper: any, isEmpty: any, eachTree: any, createObject: any;
|
|
8
10
|
export { guid, isObjectShallowModified, anyChanged, noop, makeHorizontalDeeper, omitControls, isEmpty, cloneObject, eachTree, createObject };
|
|
9
11
|
export declare let themeConfig: any;
|
|
@@ -196,7 +198,7 @@ export declare function modalsToDefinitions(modals: Array<EditorModalBody>, defi
|
|
|
196
198
|
*/
|
|
197
199
|
export declare function mergeDefinitions(originSchema: any, definitions: any, modal: any): any;
|
|
198
200
|
export declare function setDefaultColSize(regionList: any[], row: number, preRow?: number): any[];
|
|
199
|
-
export declare function getModals(schema: any):
|
|
201
|
+
export declare function getModals(schema: any): (DialogSchema | DrawerSchema)[];
|
|
200
202
|
export declare const RAW_TYPE_MAP: {
|
|
201
203
|
[k in SchemaType | 'user-select' | 'department-select']?: 'string' | 'number' | 'array' | 'boolean' | 'object' | 'enum' | 'date' | 'datetime' | 'time' | 'quarter' | 'year' | 'month' | 'user' | 'department';
|
|
202
204
|
};
|