ados-rcm 1.0.162 → 1.0.164
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.
- package/dist/AModule/AComponents/ATree/ATree.d.ts +12 -6
- package/dist/AModule/AComponents/ATree/ATreeItem.d.ts +2 -1
- package/dist/index.cjs.js +28 -28
- package/dist/index.es.js +4415 -4409
- package/package.json +1 -1
|
@@ -55,12 +55,6 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
|
|
|
55
55
|
* Description : pk of ATree. if pk is set, it will be used as key of item. if not, index will be used.
|
|
56
56
|
*/
|
|
57
57
|
pk?: keyof T | (keyof T)[];
|
|
58
|
-
/**
|
|
59
|
-
* ItemRenderer? : (props: IATreeItemProps<T>) => React.ReactNode
|
|
60
|
-
*
|
|
61
|
-
* Description : ItemRenderer of ATree
|
|
62
|
-
*/
|
|
63
|
-
ItemRenderer?: (props: IATreeItemProps<T>) => React.ReactNode;
|
|
64
58
|
/**
|
|
65
59
|
* useItems? : TUseValues<T[]>
|
|
66
60
|
*
|
|
@@ -149,6 +143,18 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
|
|
|
149
143
|
* Description : actionRef of ATree
|
|
150
144
|
*/
|
|
151
145
|
actionRef?: TActionRef<IATreeActions>;
|
|
146
|
+
/**
|
|
147
|
+
* ContentRenderer? : (props: IATreeItemProps<T>) => React.ReactNode
|
|
148
|
+
*
|
|
149
|
+
* Description : Renderer of content of ATreeItem
|
|
150
|
+
*/
|
|
151
|
+
ContentRenderer?: (props: IATreeItemProps<T>) => React.ReactNode;
|
|
152
|
+
/**
|
|
153
|
+
* TreeItemRenderer? : (props: IATreeItemProps<T>) => React.ReactNode
|
|
154
|
+
*
|
|
155
|
+
* Description : TreeItemRenderer of ATree
|
|
156
|
+
*/
|
|
157
|
+
TreeItemRenderer?: (props: IATreeItemProps<T>) => React.ReactNode;
|
|
152
158
|
/**
|
|
153
159
|
* RightStickyRenderer? : (props: IATreeItemProps<T>) => React.ReactNode
|
|
154
160
|
*
|
|
@@ -9,7 +9,6 @@ export interface IATreeItemProps<T> {
|
|
|
9
9
|
selectDisabled?: (item: T) => boolean | string | undefined;
|
|
10
10
|
isParentDisabled?: boolean | string;
|
|
11
11
|
indents: EIndentState[];
|
|
12
|
-
ItemRenderer: (props: IATreeItemProps<T>) => React.ReactNode;
|
|
13
12
|
useExpand: TUseValues<T[]>;
|
|
14
13
|
useSelect: TUseValues<T[]>;
|
|
15
14
|
useSearch: TUseValues<IATreeSearchResult<T> | undefined>;
|
|
@@ -26,6 +25,8 @@ export interface IATreeItemProps<T> {
|
|
|
26
25
|
isSelectMulti: boolean;
|
|
27
26
|
enableDrag: boolean;
|
|
28
27
|
isParentCheckHovered: boolean;
|
|
28
|
+
ContentRenderer: (props: IATreeItemProps<T>) => React.ReactNode;
|
|
29
|
+
TreeItemRenderer: (props: IATreeItemProps<T>) => React.ReactNode;
|
|
29
30
|
RightStickyRenderer?: (props: IATreeItemProps<T>) => React.ReactNode;
|
|
30
31
|
resources: typeof Resources.ATree;
|
|
31
32
|
}
|