@nocobase/client 1.7.0-beta.16 → 1.7.0-beta.17

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.
@@ -56,6 +56,10 @@ export interface DataBlock {
56
56
  * manual: 只有当点击了筛选按钮,才会请求数据
57
57
  */
58
58
  dataLoadingMode?: 'auto' | 'manual';
59
+ /** 让整个区块悬浮起来 */
60
+ highlightBlock: () => void;
61
+ /** 取消悬浮 */
62
+ unhighlightBlock: () => void;
59
63
  }
60
64
  /**
61
65
  * 主要用于记录当前页面中的数据区块的信息,用于在过滤区块中使用
@@ -0,0 +1,9 @@
1
+ export declare const highlightBlock: (clonedBlockDom: HTMLElement, boxRect: DOMRect) => void;
2
+ export declare const unhighlightBlock: () => void;
3
+ export declare const startScrollEndTracking: (dom: HTMLElement & {
4
+ _prevRect?: DOMRect;
5
+ _timer?: any;
6
+ }, callback: () => void) => void;
7
+ export declare const stopScrollEndTracking: (dom: HTMLElement & {
8
+ _timer?: any;
9
+ }) => void;