ados-rcm 1.1.110 → 1.1.112

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,12 +80,6 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
80
80
  * Description : selectDisabled of ATree. if string is returned, it will be used as tooltip.
81
81
  */
82
82
  selectDisabled?: (item: T) => boolean | string | undefined;
83
- /**
84
- * selectUnused? : (item: T) => boolean
85
- *
86
- * Description : selectUnused of ATree. if true is returned, it cannot be selected.
87
- */
88
- selectUnused?: (item: T) => boolean;
89
83
  /**
90
84
  * useSearch? : TUseValues<IATreeSearchResult<T> | undefined>
91
85
  *
@@ -238,6 +232,12 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
238
232
  * Description : insertBorder of ATree
239
233
  */
240
234
  insertBorder?: boolean;
235
+ /**
236
+ * Width? : number
237
+ *
238
+ * Description : Width of ATree
239
+ */
240
+ width?: number;
241
241
  }
242
242
  /**
243
243
  * AComponent : ATree
@@ -1,14 +1,13 @@
1
1
  import React from 'react';
2
2
  import { TUseValues } from '../../AHooks/useValues';
3
- import { TCanCallback } from '../../AUtils/cbF';
4
3
  import { TIcons } from '../AIcon/AIcon';
5
4
  import { Resources } from '../AResource/AResource';
6
5
  import { IATreeItem, IATreeSearchResult } from './ATree';
6
+ import { TCanCallback } from '../../AUtils/cbF';
7
7
  export interface IATreeItemProps<T> {
8
8
  isEqual: (a: T, b: T) => boolean;
9
9
  item: T;
10
10
  selectDisabled?: (item: T) => boolean | string | undefined;
11
- selectUnused?: (item: T) => boolean;
12
11
  isParentDisabled?: boolean | string;
13
12
  extIndents?: (props: IIndentProps) => {
14
13
  collapsed?: React.ReactNode;