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.
@@ -3628,12 +3628,12 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
3628
3628
  readonly getSuperEditorData: any;
3629
3629
  getComponentTreeSource(): any;
3630
3630
  readonly scaffoldData: any;
3631
- readonly modals: EditorModalBody[];
3631
+ readonly modals: any[];
3632
3632
  readonly modalOptions: {
3633
3633
  label: string;
3634
3634
  tip: string;
3635
- value: string | undefined;
3636
- $$ref: string | undefined;
3635
+ value: any;
3636
+ $$ref: any;
3637
3637
  }[];
3638
3638
  } & {
3639
3639
  markReady(): void;
package/esm/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/lib/editor.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-editor-core v6.9.0-rc.4
2
+ * amis-editor-core v6.9.0-rc.5
3
3
  * Copyright 2018-2024 @fex
4
4
  */
5
5