amis-editor-core 6.5.0 → 6.6.0

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/util.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  /// <reference types="lodash" />
2
2
  import type { Schema } from 'amis';
3
+ import type { VariableItem } from 'amis-ui';
3
4
  import { Diff } from 'deep-diff';
4
5
  import { EditorModalBody } from './store/editor';
5
6
  declare const guid: any, omitControls: any, isObjectShallowModified: any, cloneObject: any, anyChanged: any, noop: any, makeHorizontalDeeper: any, isEmpty: any, eachTree: any, createObject: any;
@@ -149,6 +150,9 @@ export declare function resolveVariablesFromScope(node: any, manager: any): Prom
149
150
  * @param that 为组件的实例 this
150
151
  **/
151
152
  export declare function getVariables(that: any): Promise<any>;
153
+ export declare function getQuickVariables(that: any, filter?: Function): Promise<any[]>;
154
+ export declare function getConditionVariables(that: any, filter?: Function): Promise<any[]>;
155
+ export declare function resolveQuickVariables(options: any, quickVars?: VariableItem[], selfName?: string, filter?: Function): any[];
152
156
  /**
153
157
  * 更新组件上下文中label为带层级说明
154
158
  * @param variables 变量列表
@@ -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(): (Window & typeof globalThis) | Document;
19
+ getDefaultTarget(): Document | (Window & typeof globalThis);
20
20
  handleScroll(e: React.UIEvent<HTMLElement> | {
21
21
  target: any;
22
22
  }): void;
package/lib/editor.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-editor-core v6.5.0
2
+ * amis-editor-core v6.6.0
3
3
  * Copyright 2018-2024 @fex
4
4
  */
5
5