ados-rcm 1.0.474 → 1.0.475
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.
@@ -24,11 +24,11 @@ export interface IAInputProps extends IABaseProps, IAWrapProps {
|
|
24
24
|
*/
|
25
25
|
inputRef?: React.RefObject<HTMLInputElement>;
|
26
26
|
/**
|
27
|
-
* useValue? : TUseValues<string>
|
27
|
+
* useValue? : TUseValues<string | number | readonly string[], string>
|
28
28
|
*
|
29
29
|
* Description : useValue of AInput
|
30
30
|
*/
|
31
|
-
useValue?: TUseValues<string>;
|
31
|
+
useValue?: TUseValues<string | number | readonly string[], string>;
|
32
32
|
/**
|
33
33
|
* isReadonly? : boolean
|
34
34
|
*
|
@@ -1,19 +1,10 @@
|
|
1
|
-
import { TUseValues } from '../../AHooks/useValues';
|
2
1
|
import { IAInputProps } from './AInput';
|
3
|
-
interface IANumInputNumberProps extends
|
2
|
+
interface IANumInputNumberProps extends IAInputProps {
|
4
3
|
unit?: string;
|
5
4
|
min?: number;
|
6
5
|
max?: number;
|
7
|
-
|
8
|
-
canAsterisk?: false;
|
6
|
+
canAsterisk?: boolean;
|
9
7
|
}
|
10
|
-
|
11
|
-
unit?: string;
|
12
|
-
min?: number;
|
13
|
-
max?: number;
|
14
|
-
useNumber?: TUseValues<number | '*'>;
|
15
|
-
canAsterisk: true;
|
16
|
-
}
|
17
|
-
export type IANumInputProps = IANumInputNumberProps | IANumInputNumberAsteriskProps;
|
8
|
+
export type IANumInputProps = IANumInputNumberProps;
|
18
9
|
export declare const ANumInput: (props: IANumInputProps) => import("react/jsx-runtime").JSX.Element;
|
19
10
|
export {};
|