ados-rcm 1.0.145 → 1.0.147
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/ABase/ABase.d.ts +5 -5
- package/dist/AModule/AComponents/ATree/ATree.d.ts +0 -10
- package/dist/AModule/AComponents/ATree/ATreeItem.d.ts +1 -1
- package/dist/AModule/AComponents/ATree/ATreeSearch.d.ts +1 -1
- package/dist/index.cjs.js +16 -16
- package/dist/index.es.js +1958 -1965
- package/package.json +1 -1
|
@@ -10,17 +10,17 @@ export interface IABaseProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
10
10
|
*/
|
|
11
11
|
abaseRef?: React.RefObject<HTMLDivElement>;
|
|
12
12
|
/**
|
|
13
|
-
* isDisabled? :
|
|
13
|
+
* isDisabled? : boolean | string
|
|
14
14
|
*
|
|
15
|
-
* Description : if truthy, dimming is applied. if isLoading is true, spinner is dimmed as well.
|
|
15
|
+
* Description : if truthy, dimming is applied. if isLoading is true, spinner is dimmed as well. if isDisabled is string, it is used as a tooltip.
|
|
16
16
|
*/
|
|
17
|
-
isDisabled?:
|
|
17
|
+
isDisabled?: boolean | string;
|
|
18
18
|
/**
|
|
19
|
-
* isLoading? :
|
|
19
|
+
* isLoading? : boolean
|
|
20
20
|
*
|
|
21
21
|
* Description : if truthy, dimming and spinner are applied.
|
|
22
22
|
*/
|
|
23
|
-
isLoading?:
|
|
23
|
+
isLoading?: boolean;
|
|
24
24
|
/**
|
|
25
25
|
* tooltip? : React.ReactNode
|
|
26
26
|
*
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ATree
|
|
3
|
-
*
|
|
4
|
-
* Description :
|
|
5
|
-
* - select and check is not different, check is just appeared when showCheckbox is true.
|
|
6
|
-
*
|
|
7
|
-
* Notice 1 : useSelect is considered as T[], so you should pass T[] to useSelect even if isSelectMulti is false.
|
|
8
|
-
* Todo 1 : drag between different parents
|
|
9
|
-
* Todo 2 : maybe adding defs for tree is necessary
|
|
10
|
-
*/
|
|
11
1
|
import React from 'react';
|
|
12
2
|
import { TUseValues } from '../../AHooks/useValues';
|
|
13
3
|
import { IItem } from '../../AUtils/objF';
|
|
@@ -7,7 +7,7 @@ export interface IATreeItemProps<T> {
|
|
|
7
7
|
isEqual: (a: T, b: T) => boolean;
|
|
8
8
|
item: T;
|
|
9
9
|
selectDisabled?: (item: T) => boolean | string | undefined;
|
|
10
|
-
isParentDisabled?: boolean;
|
|
10
|
+
isParentDisabled?: boolean | string;
|
|
11
11
|
indents: EIndentState[];
|
|
12
12
|
ItemRenderer: (props: IATreeItemProps<T>) => React.ReactNode;
|
|
13
13
|
useExpand: TUseValues<T[]>;
|
|
@@ -6,7 +6,7 @@ interface IATreeSearchProps<T extends IATreeItem<T>> {
|
|
|
6
6
|
initSearch: (inputValue: string) => void;
|
|
7
7
|
searchUp: () => void;
|
|
8
8
|
searchDown: () => void;
|
|
9
|
-
isDisabled?: boolean;
|
|
9
|
+
isDisabled?: boolean | string;
|
|
10
10
|
isLoading?: boolean;
|
|
11
11
|
resources: typeof Resources.ATree;
|
|
12
12
|
}
|