ados-rcm 1.0.489 → 1.0.491
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,4 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
+
import { EDir4 } from '../ATypes/ATypes';
|
2
3
|
export interface IABaseProps extends React.HTMLAttributes<HTMLElement> {
|
3
4
|
className?: string;
|
4
5
|
style?: React.CSSProperties;
|
@@ -39,6 +40,12 @@ export interface IABaseProps extends React.HTMLAttributes<HTMLElement> {
|
|
39
40
|
* Description : delay in seconds of tooltip after mouse enter.
|
40
41
|
*/
|
41
42
|
tooltipDelay?: number;
|
43
|
+
/**
|
44
|
+
* tooltipDirection? : EDir4 = EDir4.S
|
45
|
+
*
|
46
|
+
* Description : direction of tooltip.
|
47
|
+
*/
|
48
|
+
tooltipDirection?: EDir4;
|
42
49
|
}
|
43
50
|
/**
|
44
51
|
* AComponent : ABase
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { RefObject } from 'react';
|
2
|
+
import { EDir4 } from '../ATypes/ATypes';
|
2
3
|
interface IATooltipProps {
|
3
4
|
/**
|
4
5
|
* tooltip : React.ReactNode
|
@@ -24,6 +25,12 @@ interface IATooltipProps {
|
|
24
25
|
* Description : distance of ATooltip
|
25
26
|
*/
|
26
27
|
distance?: number;
|
28
|
+
/**
|
29
|
+
* direction? : EDir4 = EDir4.S
|
30
|
+
*
|
31
|
+
* Description : direction of ATooltip
|
32
|
+
*/
|
33
|
+
direction?: EDir4;
|
27
34
|
}
|
28
35
|
/**
|
29
36
|
* AComponent : ATooltip
|
@@ -126,11 +126,11 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
|
|
126
126
|
*/
|
127
127
|
isDraggable?: boolean;
|
128
128
|
/**
|
129
|
-
*
|
129
|
+
* noSyncSearchSelect? : boolean
|
130
130
|
*
|
131
131
|
* Description : syncSearchSelect of ATree. if true, selectedItems will be synced with searchResult.
|
132
132
|
*/
|
133
|
-
|
133
|
+
noSyncSearchSelect?: boolean;
|
134
134
|
/**
|
135
135
|
* searchPredicate? : (inputValue: string, item: T) => any
|
136
136
|
*
|
@@ -143,6 +143,12 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
|
|
143
143
|
* Description : actionRef of ATree
|
144
144
|
*/
|
145
145
|
actionRef?: TActionRef<IATreeActions>;
|
146
|
+
/**
|
147
|
+
* placeholder? : React.ReactNode
|
148
|
+
*
|
149
|
+
* Description : placeholder of ATree. It appears when items is empty.
|
150
|
+
*/
|
151
|
+
placeholder?: React.ReactNode;
|
146
152
|
/**
|
147
153
|
* ContentRenderer? : (props: IATreeItemProps<T>) => React.ReactNode
|
148
154
|
*
|
@@ -167,6 +173,12 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
|
|
167
173
|
* Description : TopRightAddon of ATree
|
168
174
|
*/
|
169
175
|
TopRightAddon?: React.ReactNode;
|
176
|
+
/**
|
177
|
+
* TreeTopAddon? : React.ReactNode
|
178
|
+
*
|
179
|
+
* Description : TreeTopAddon of ATree
|
180
|
+
*/
|
181
|
+
TreeTopAddon?: React.ReactNode;
|
170
182
|
/**
|
171
183
|
* resources? : Partial<typeof Resources.ATree>
|
172
184
|
*
|