ados-rcm 1.1.227 → 1.1.229
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AModule/AComponents/AFileBox/AFileBox.d.ts +0 -6
- package/dist/AModule/AComponents/AIcon/AIcon.d.ts +3 -2
- package/dist/AModule/AUtils/strF.d.ts +25 -1
- package/dist/index.cjs.js +28 -28
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +5324 -5382
- package/package.json +1 -1
- package/dist/AModule/AComponents/AChip/AChip.d.ts +0 -82
package/package.json
CHANGED
@@ -1,82 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { TUseValues } from '../../AHooks/useValues';
|
3
|
-
import { TCanCallback } from '../../AUtils/cbF';
|
4
|
-
import { IABaseProps } from '../ABase/ABase';
|
5
|
-
import { TIcons } from '../AIcon/AIcon';
|
6
|
-
export interface IAChipsProps<T> extends IAChipInheritProps<T>, IABaseProps {
|
7
|
-
/**
|
8
|
-
* useValue? : TUseValues<T[]>
|
9
|
-
*
|
10
|
-
* Description : useValue of AChips
|
11
|
-
*/
|
12
|
-
useLabel?: TUseValues<T[]>;
|
13
|
-
/**
|
14
|
-
* alignItems? : React.CSSProperties['alignItems'] = 'flex-start'
|
15
|
-
*
|
16
|
-
* Description : alignItems of AChips
|
17
|
-
*/
|
18
|
-
alignItems?: React.CSSProperties['alignItems'];
|
19
|
-
}
|
20
|
-
export interface IAChipInheritProps<T> {
|
21
|
-
/**
|
22
|
-
* ChipStyle? : React.CSSProperties
|
23
|
-
*
|
24
|
-
* Description : style of AChip
|
25
|
-
*/
|
26
|
-
ChipStyle?: TCanCallback<IAChipProps<T>, React.CSSProperties>;
|
27
|
-
/**
|
28
|
-
* ChipClassName? : string
|
29
|
-
*
|
30
|
-
* Description : className of AChip
|
31
|
-
*/
|
32
|
-
ChipClassName?: TCanCallback<IAChipProps<T>, string>;
|
33
|
-
/**
|
34
|
-
* ChipOnDelete?: (props: IAChipProps<T>) => void
|
35
|
-
*
|
36
|
-
* Description : onDelete of AChip
|
37
|
-
*/
|
38
|
-
ChipOnDelete?: (props: IAChipProps<T>) => void;
|
39
|
-
/**
|
40
|
-
* ChipOnClick? : (props: IAChipProps<T>) => void
|
41
|
-
*
|
42
|
-
* Description : onClick of AChip
|
43
|
-
*/
|
44
|
-
ChipOnClick?: (props: IAChipProps<T>) => void;
|
45
|
-
/**
|
46
|
-
* ChipIcon? : TIcons | Exclude<React.ReactNode, string>
|
47
|
-
*
|
48
|
-
* Description : icon of AChip
|
49
|
-
*/
|
50
|
-
ChipIcon?: TCanCallback<IAChipProps<T>, TIcons | Exclude<React.ReactNode, string>>;
|
51
|
-
}
|
52
|
-
export declare const AChips: <T>(props: IAChipsProps<T>) => React.ReactNode;
|
53
|
-
interface IAChipBaseProps<T> {
|
54
|
-
/**
|
55
|
-
* label : T
|
56
|
-
*
|
57
|
-
* Description : label of AChip
|
58
|
-
*/
|
59
|
-
label: T;
|
60
|
-
}
|
61
|
-
export interface IAChipProps<T> extends IAChipBaseProps<T>, IABaseProps {
|
62
|
-
/**
|
63
|
-
* onDelete?: (label: T) => void
|
64
|
-
*
|
65
|
-
* Description : onDelete of the AChip
|
66
|
-
*/
|
67
|
-
onDelete?: (label: T) => void;
|
68
|
-
/**
|
69
|
-
* icon? : TIcons | Exclude<React.ReactNode, string> = 'Close'
|
70
|
-
*
|
71
|
-
* Description : icon of the AChip
|
72
|
-
*/
|
73
|
-
icon?: TIcons | Exclude<React.ReactNode, string>;
|
74
|
-
/**
|
75
|
-
* width? : number | string = 'auto'
|
76
|
-
*
|
77
|
-
* Description : width of the AChip
|
78
|
-
*/
|
79
|
-
width?: number | string;
|
80
|
-
}
|
81
|
-
export declare const AChip: <T>(props: IAChipProps<T>) => React.ReactElement;
|
82
|
-
export {};
|