ados-rcm 1.0.146 → 1.0.148
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/ADialog/ADialog.d.ts +4 -4
- 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
|
*
|
|
@@ -133,11 +133,11 @@ export interface IADialogProps {
|
|
|
133
133
|
*/
|
|
134
134
|
isLoading?: any;
|
|
135
135
|
/**
|
|
136
|
-
* isOkDisabled? :
|
|
136
|
+
* isOkDisabled? : boolean | string
|
|
137
137
|
*
|
|
138
138
|
* Description : if truthy, ok button is disabled
|
|
139
139
|
*/
|
|
140
|
-
isOkDisabled?:
|
|
140
|
+
isOkDisabled?: boolean | string;
|
|
141
141
|
/**
|
|
142
142
|
* isOkLoading? : any
|
|
143
143
|
*
|
|
@@ -145,11 +145,11 @@ export interface IADialogProps {
|
|
|
145
145
|
*/
|
|
146
146
|
isOkLoading?: any;
|
|
147
147
|
/**
|
|
148
|
-
* isCancelDisabled? :
|
|
148
|
+
* isCancelDisabled? : boolean | string
|
|
149
149
|
*
|
|
150
150
|
* Description : if truthy, cancel button is disabled
|
|
151
151
|
*/
|
|
152
|
-
isCancelDisabled?:
|
|
152
|
+
isCancelDisabled?: boolean | string;
|
|
153
153
|
/**
|
|
154
154
|
* isCancelLoading? : any
|
|
155
155
|
*
|
|
@@ -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
|
}
|