ados-rcm 1.1.40 → 1.1.41
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.
@@ -6,7 +6,7 @@ import { IABaseProps } from '../ABase/ABase';
|
|
6
6
|
import { TIcons } from '../AIcon/AIcon';
|
7
7
|
import { Resources } from '../AResource/AResource';
|
8
8
|
import { TActionRef } from '../ATypes/ATypes';
|
9
|
-
import { IATreeItemProps } from './ATreeItem';
|
9
|
+
import { IATreeItemProps, IIndentProps } from './ATreeItem';
|
10
10
|
export interface IATreeSearchResult<T> {
|
11
11
|
/**
|
12
12
|
* keyword : string
|
@@ -107,7 +107,7 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
|
|
107
107
|
*
|
108
108
|
* Description : indents of ATree
|
109
109
|
*/
|
110
|
-
indents
|
110
|
+
indents?(props: IIndentProps): {
|
111
111
|
callapsed?: React.ReactNode;
|
112
112
|
expanded?: React.ReactNode;
|
113
113
|
isLast?: React.ReactNode;
|
@@ -9,7 +9,7 @@ export interface IATreeItemProps<T> {
|
|
9
9
|
item: T;
|
10
10
|
selectDisabled?: (item: T) => boolean | string | undefined;
|
11
11
|
isParentDisabled?: boolean | string;
|
12
|
-
extIndents?: {
|
12
|
+
extIndents?: (props: IIndentProps) => {
|
13
13
|
callapsed?: React.ReactNode;
|
14
14
|
expanded?: React.ReactNode;
|
15
15
|
isLast?: React.ReactNode;
|
@@ -42,7 +42,7 @@ export interface IATreeItemProps<T> {
|
|
42
42
|
TreeItemStyle?: TCanCallback<IATreeItemProps<T>, React.CSSProperties>;
|
43
43
|
TreeItemClassName?: TCanCallback<IATreeItemProps<T>, string>;
|
44
44
|
}
|
45
|
-
|
45
|
+
declare enum EIndentState {
|
46
46
|
Collapsed = "Collapsed",
|
47
47
|
Expanded = "Expanded",
|
48
48
|
IsLast = "IsLast"
|
@@ -52,3 +52,4 @@ export interface IIndentProps {
|
|
52
52
|
iconWidth: number;
|
53
53
|
isLast?: boolean;
|
54
54
|
}
|
55
|
+
export {};
|