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.
@@ -10,17 +10,17 @@ export interface IABaseProps extends React.HTMLAttributes<HTMLElement> {
10
10
  */
11
11
  abaseRef?: React.RefObject<HTMLDivElement>;
12
12
  /**
13
- * isDisabled? : any
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?: any;
17
+ isDisabled?: boolean | string;
18
18
  /**
19
- * isLoading? : any
19
+ * isLoading? : boolean
20
20
  *
21
21
  * Description : if truthy, dimming and spinner are applied.
22
22
  */
23
- isLoading?: any;
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? : any
136
+ * isOkDisabled? : boolean | string
137
137
  *
138
138
  * Description : if truthy, ok button is disabled
139
139
  */
140
- isOkDisabled?: any;
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? : any
148
+ * isCancelDisabled? : boolean | string
149
149
  *
150
150
  * Description : if truthy, cancel button is disabled
151
151
  */
152
- isCancelDisabled?: any;
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
  }