amis-editor-core 6.9.0-rc.4 → 6.9.0-rc.5

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BaseEventContext, InsertEventContext, MoveEventContext } from '../plugin';
3
2
  import { LayoutInterface } from './interface';
4
3
  export default class FlexLayout implements LayoutInterface {
@@ -3627,12 +3627,12 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
3627
3627
  readonly getSuperEditorData: any;
3628
3628
  getComponentTreeSource(): any;
3629
3629
  readonly scaffoldData: any;
3630
- readonly modals: EditorModalBody[];
3630
+ readonly modals: any[];
3631
3631
  readonly modalOptions: {
3632
3632
  label: string;
3633
3633
  tip: string;
3634
- value: string | undefined;
3635
- $$ref: string | undefined;
3634
+ value: any;
3635
+ $$ref: any;
3636
3636
  }[];
3637
3637
  } & {
3638
3638
  markReady(): void;
package/lib/util.d.ts CHANGED
@@ -4,8 +4,6 @@ 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';
9
7
  declare const guid: any, omitControls: any, isObjectShallowModified: any, cloneObject: any, anyChanged: any, noop: any, makeHorizontalDeeper: any, isEmpty: any, eachTree: any, createObject: any;
10
8
  export { guid, isObjectShallowModified, anyChanged, noop, makeHorizontalDeeper, omitControls, isEmpty, cloneObject, eachTree, createObject };
11
9
  export declare let themeConfig: any;
@@ -198,7 +196,7 @@ export declare function modalsToDefinitions(modals: Array<EditorModalBody>, defi
198
196
  */
199
197
  export declare function mergeDefinitions(originSchema: any, definitions: any, modal: any): any;
200
198
  export declare function setDefaultColSize(regionList: any[], row: number, preRow?: number): any[];
201
- export declare function getModals(schema: any): (DialogSchema | DrawerSchema)[];
199
+ export declare function getModals(schema: any): any[];
202
200
  /**
203
201
  * 深度 splice 数组,同时返回新的对象,按需拷贝,没有副作用
204
202
  * @param target
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amis-editor-core",
3
- "version": "6.9.0-rc.4",
3
+ "version": "6.9.0-rc.5",
4
4
  "description": "amis 可视化编辑器",
5
5
  "main": "lib/index.js",
6
6
  "module": "esm/index.js",