amis-editor-core 6.12.0-beta.0 → 6.12.0-beta.1

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/plugin.d.ts CHANGED
@@ -83,6 +83,10 @@ export interface RegionConfig {
83
83
  * 可以用来判断是否允许拖入当前节点。
84
84
  */
85
85
  accept?: (json: any) => boolean;
86
+ /**
87
+ * 当前区域是否隐藏
88
+ */
89
+ hiddenOn?: (schema: Schema) => boolean;
86
90
  }
87
91
  export interface VRendererConfig {
88
92
  /**
@@ -16,7 +16,7 @@ export default class BackTop extends React.Component<BackTopProps, BackTopStates
16
16
  constructor(props: any);
17
17
  componentDidMount(): void;
18
18
  componentWillUnmount(): void;
19
- getDefaultTarget(): Document | (Window & typeof globalThis);
19
+ getDefaultTarget(): (Window & typeof globalThis) | Document;
20
20
  handleScroll(e: React.UIEvent<HTMLElement> | {
21
21
  target: any;
22
22
  }): void;
package/lib/dnd/flex.d.ts CHANGED
@@ -45,6 +45,6 @@ export declare class FlexDNDMode implements DNDModeInterface {
45
45
  * 销毁
46
46
  */
47
47
  dispose(): void;
48
- getDropPosition(): "left" | "right" | "top" | "bottom" | undefined;
48
+ getDropPosition(): "left" | "right" | "bottom" | "top" | undefined;
49
49
  interruptionDrop(): boolean;
50
50
  }
package/lib/editor.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-editor-core v6.12.0-beta.0
2
+ * amis-editor-core v6.12.0-beta.1
3
3
  * Copyright 2018-2025 @fex
4
4
  */
5
5