ados-rcm 1.0.491 → 1.0.493
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,18 @@ export interface IAFloatMenuProps<T> {
|
|
89
89
|
* Description : onClick of AFloatMenu
|
90
90
|
*/
|
91
91
|
onClick?: (key: keyof T) => any;
|
92
|
+
/**
|
93
|
+
* onClose? : () => void
|
94
|
+
*
|
95
|
+
* Description : onClose of AFloatMenu
|
96
|
+
*/
|
97
|
+
onClose?: () => void;
|
98
|
+
/**
|
99
|
+
* offset? : IOffset
|
100
|
+
*
|
101
|
+
* Description : offset of AFloatMenu
|
102
|
+
*/
|
103
|
+
offset?: IOffset;
|
92
104
|
/**
|
93
105
|
* actionRef? : TActionRef<IAFloatMenuActions>
|
94
106
|
*
|
@@ -24,7 +24,11 @@ export declare enum EDir12 {
|
|
24
24
|
WN = "WestNorth",
|
25
25
|
WS = "WestSouth"
|
26
26
|
}
|
27
|
-
export
|
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 {
|