ados-rcm 1.0.490 → 1.0.492

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,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { TCanCallback } from '../../AUtils/cbF';
3
- import { EDir12, TActionRef } from '../ATypes/ATypes';
3
+ import { EDir12, IOffset, TActionRef } from '../ATypes/ATypes';
4
4
  export interface IAFloatMenuActions {
5
5
  /**
6
6
  * open : () => void
@@ -89,6 +89,12 @@ export interface IAFloatMenuProps<T> {
89
89
  * Description : onClick of AFloatMenu
90
90
  */
91
91
  onClick?: (key: keyof T) => any;
92
+ /**
93
+ * offset? : IOffset
94
+ *
95
+ * Description : offset of AFloatMenu
96
+ */
97
+ offset?: IOffset;
92
98
  /**
93
99
  * actionRef? : TActionRef<IAFloatMenuActions>
94
100
  *
@@ -173,6 +173,12 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
173
173
  * Description : TopRightAddon of ATree
174
174
  */
175
175
  TopRightAddon?: React.ReactNode;
176
+ /**
177
+ * TreeTopAddon? : React.ReactNode
178
+ *
179
+ * Description : TreeTopAddon of ATree
180
+ */
181
+ TreeTopAddon?: React.ReactNode;
176
182
  /**
177
183
  * resources? : Partial<typeof Resources.ATree>
178
184
  *
@@ -24,7 +24,11 @@ export declare enum EDir12 {
24
24
  WN = "WestNorth",
25
25
  WS = "WestSouth"
26
26
  }
27
- export declare function setDir12Style(anchorRef: React.RefObject<HTMLElement>, selfRef: React.RefObject<HTMLElement>, dir: EDir12): void;
27
+ export interface IOffset {
28
+ x?: number;
29
+ y?: number;
30
+ }
31
+ export declare function setDir12Style(anchorRef: React.RefObject<HTMLElement>, selfRef: React.RefObject<HTMLElement>, dir: EDir12, offset?: IOffset): void;
28
32
  export type TActionRef<T> = React.MutableRefObject<T | null | undefined>;
29
33
  export type TIdx = number | string;
30
34
  export interface IACalledEvent {