ados-rcm 1.1.457 → 1.1.458
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 +21 -21
- package/dist/AModule/AComponents/AButton/AButton.d.ts +6 -6
- package/dist/AModule/AComponents/AButton/AIconButton.d.ts +6 -6
- package/dist/AModule/AComponents/ACheckBox/ACheckBox.d.ts +6 -6
- package/dist/AModule/AComponents/AChip/AChip.d.ts +24 -24
- package/dist/AModule/AComponents/AClock/AClock.d.ts +21 -21
- package/dist/AModule/AComponents/ADatePicker/ADatePicker.d.ts +36 -36
- package/dist/AModule/AComponents/ADatePicker/ADateRangePicker.d.ts +15 -15
- package/dist/AModule/AComponents/ADialog/ADialog.d.ts +93 -93
- package/dist/AModule/AComponents/AEditor/AEditor.d.ts +21 -14
- package/dist/AModule/AComponents/AEditor/modules/TableUI.d.ts +2 -2
- package/dist/AModule/AComponents/AFileBox/AFileBox.d.ts +24 -24
- package/dist/AModule/AComponents/AFileUploder/AFileUploader.d.ts +7 -7
- package/dist/AModule/AComponents/AFloatMenu/AFloatMenu.d.ts +35 -35
- package/dist/AModule/AComponents/AFrame/AFrame.d.ts +45 -45
- package/dist/AModule/AComponents/AIcon/AIcon.d.ts +1 -1
- package/dist/AModule/AComponents/AInput/AInput.d.ts +45 -45
- package/dist/AModule/AComponents/AInput/ANumInput.d.ts +3 -3
- package/dist/AModule/AComponents/AListView/AListView.d.ts +26 -26
- package/dist/AModule/AComponents/AProgressBar/AProgressBar.d.ts +27 -27
- package/dist/AModule/AComponents/ARadioSelect/ARadioSelect.d.ts +5 -5
- package/dist/AModule/AComponents/ASelect/AMultiSelect.d.ts +39 -39
- package/dist/AModule/AComponents/ASelect/ASelect.d.ts +39 -39
- package/dist/AModule/AComponents/AStepper/AStepper.d.ts +12 -12
- package/dist/AModule/AComponents/ATab/ATab.d.ts +36 -36
- package/dist/AModule/AComponents/ATable/ATable.d.ts +281 -281
- package/dist/AModule/AComponents/ATable/ATableBody.d.ts +19 -19
- package/dist/AModule/AComponents/ATable/ATableFilter.d.ts +5 -5
- package/dist/AModule/AComponents/ATable/ATableFooter.d.ts +4 -4
- package/dist/AModule/AComponents/ATable/ATableHeader.d.ts +12 -12
- package/dist/AModule/AComponents/AText/AText.d.ts +6 -6
- package/dist/AModule/AComponents/ATextArea/ATextArea.d.ts +36 -36
- package/dist/AModule/AComponents/ATheme/ATheme.d.ts +10 -10
- package/dist/AModule/AComponents/ATooltip/ATooltip.d.ts +15 -15
- package/dist/AModule/AComponents/ATree/ATree.d.ts +111 -111
- package/dist/AModule/AComponents/ATree/ATreeItem.d.ts +25 -25
- package/dist/AModule/AComponents/ATree/ATreeSearch.d.ts +7 -7
- package/dist/AModule/AComponents/ATypes/ATypes.d.ts +8 -8
- package/dist/AModule/AComponents/AWrap/AWrap.d.ts +21 -21
- package/dist/AModule/AHooks/useDB.d.ts +1 -1
- package/dist/AModule/ANetwork/APIContext.d.ts +6 -6
- package/dist/AModule/AUtils/bound.d.ts +3 -3
- package/dist/AModule/AUtils/dbF.d.ts +1 -1
- package/dist/index.cjs.js +115 -115
- package/dist/index.es.js +7161 -7095
- package/package.json +12 -10
@@ -10,12 +10,6 @@ interface IOptionRendererProps<T> {
|
|
10
10
|
option: T;
|
11
11
|
}
|
12
12
|
interface ISelectedRendererProps<T> {
|
13
|
-
/**
|
14
|
-
* selectedOptions : T[]
|
15
|
-
*
|
16
|
-
* Description : selected options of AMultiSelect
|
17
|
-
*/
|
18
|
-
selectedOptions: T[];
|
19
13
|
/**
|
20
14
|
* OptionRenderer : (props: IAMultiSelectOptionRendererProps<I>) => React.ReactNode
|
21
15
|
*
|
@@ -28,74 +22,80 @@ interface ISelectedRendererProps<T> {
|
|
28
22
|
* Description : placeholder of AMultiSelect
|
29
23
|
*/
|
30
24
|
placeholder?: React.ReactNode;
|
25
|
+
/**
|
26
|
+
* selectedOptions : T[]
|
27
|
+
*
|
28
|
+
* Description : selected options of AMultiSelect
|
29
|
+
*/
|
30
|
+
selectedOptions: T[];
|
31
31
|
}
|
32
32
|
export interface IAMultiSelectProps<T> extends IABaseProps {
|
33
33
|
/**
|
34
|
-
*
|
34
|
+
* OptionRenderer? : (props: IOptionRendererProps<T>) => React.ReactNode = DefaultOptionRenderer
|
35
35
|
*
|
36
|
-
* Description :
|
36
|
+
* Description : Renderer of Options of AMultiSelect
|
37
37
|
*/
|
38
|
-
|
38
|
+
OptionRenderer?: (props: IOptionRendererProps<T>) => React.ReactNode;
|
39
39
|
/**
|
40
|
-
*
|
40
|
+
* SelectedRenderer? : (props: ISelectedRendererProps<T>) => React.ReactNode = DefaultSelectedRenderer
|
41
41
|
*
|
42
|
-
* Description :
|
42
|
+
* Description : Renderer of Selected Options of AMultiSelect
|
43
43
|
*/
|
44
|
-
|
44
|
+
SelectedRenderer?: (props: ISelectedRendererProps<T>) => React.ReactNode;
|
45
45
|
/**
|
46
|
-
*
|
46
|
+
* arrowProps? : React.HTMLProps<HTMLDivElement>
|
47
47
|
*
|
48
|
-
* Description :
|
48
|
+
* Description : divProps for Arrow of AMultiSelect
|
49
49
|
*/
|
50
|
-
|
50
|
+
arrowProps?: React.HTMLProps<HTMLDivElement>;
|
51
51
|
/**
|
52
|
-
*
|
52
|
+
* isAutoWidth? : boolean = false
|
53
53
|
*
|
54
|
-
* Description :
|
54
|
+
* Description : When true, automatically adjusts the width based on the longest option element
|
55
55
|
*/
|
56
|
-
|
56
|
+
isAutoWidth?: boolean;
|
57
57
|
/**
|
58
|
-
*
|
58
|
+
* maxShowRows? : number = 6
|
59
59
|
*
|
60
|
-
* Description :
|
60
|
+
* Description : maxShowRows of AMultiSelect. scrollbar will appear when overflow
|
61
61
|
*/
|
62
|
-
|
62
|
+
maxShowRows?: number;
|
63
63
|
/**
|
64
|
-
*
|
64
|
+
* minShowRows? : number = 2
|
65
65
|
*
|
66
|
-
* Description :
|
66
|
+
* Description : minShowRows of AMultiSelect
|
67
67
|
*/
|
68
|
-
|
68
|
+
minShowRows?: number;
|
69
69
|
/**
|
70
|
-
*
|
70
|
+
* onClose? : () => void
|
71
71
|
*
|
72
|
-
* Description :
|
72
|
+
* Description : onClose of AMultiSelect
|
73
73
|
*/
|
74
|
-
|
74
|
+
onClose?: () => void;
|
75
75
|
/**
|
76
|
-
*
|
76
|
+
* options : T[]
|
77
77
|
*
|
78
|
-
* Description :
|
78
|
+
* Description : options of AMultiSelect
|
79
79
|
*/
|
80
|
-
|
80
|
+
options: T[] | readonly T[];
|
81
81
|
/**
|
82
|
-
*
|
82
|
+
* placeholder? : React.ReactNode
|
83
83
|
*
|
84
|
-
* Description :
|
84
|
+
* Description : placeholder of AMultiSelect. it is shown when no option is selected
|
85
85
|
*/
|
86
|
-
|
86
|
+
placeholder?: React.ReactNode;
|
87
87
|
/**
|
88
|
-
*
|
88
|
+
* type? : 'Primary' | 'Secondary' = 'Primary'
|
89
89
|
*
|
90
|
-
* Description :
|
90
|
+
* Description : type of AMultiSelect
|
91
91
|
*/
|
92
|
-
|
92
|
+
type?: 'Primary' | 'Secondary';
|
93
93
|
/**
|
94
|
-
*
|
94
|
+
* useSelect? : TUseValues<T[]>
|
95
95
|
*
|
96
|
-
* Description :
|
96
|
+
* Description : useSelect of AMultiSelect
|
97
97
|
*/
|
98
|
-
|
98
|
+
useSelect?: TUseValues<T[]>;
|
99
99
|
}
|
100
100
|
/**
|
101
101
|
* AComponent : AMultiSelect
|
@@ -10,12 +10,6 @@ interface IOptionRendererProps<T> {
|
|
10
10
|
option: T;
|
11
11
|
}
|
12
12
|
interface ISelectedRendererProps<T> {
|
13
|
-
/**
|
14
|
-
* selected : T
|
15
|
-
*
|
16
|
-
* Description : selectedOption of ASelect
|
17
|
-
*/
|
18
|
-
selectedOption: T;
|
19
13
|
/**
|
20
14
|
* OptionRenderer : (props: IOptionRendererProps<T>) => React.ReactNode
|
21
15
|
*
|
@@ -28,76 +22,82 @@ interface ISelectedRendererProps<T> {
|
|
28
22
|
* Description : placeholder of ASelect
|
29
23
|
*/
|
30
24
|
placeholder?: React.ReactNode;
|
25
|
+
/**
|
26
|
+
* selected : T
|
27
|
+
*
|
28
|
+
* Description : selectedOption of ASelect
|
29
|
+
*/
|
30
|
+
selectedOption: T;
|
31
31
|
}
|
32
32
|
export declare const ASelectTypes: readonly ["Primary", "Secondary"];
|
33
33
|
export type TASelectTypes = (typeof ASelectTypes)[number];
|
34
34
|
export interface IASelectProps<T> extends IABaseProps {
|
35
35
|
/**
|
36
|
-
*
|
36
|
+
* OptionRenderer? : (props: IOptionRendererProps<T>) => React.ReactNode = DefaultSelectedRenderer
|
37
37
|
*
|
38
|
-
* Description :
|
38
|
+
* Description : OptionRenderer of Selected Options of ASelect
|
39
39
|
*/
|
40
|
-
|
40
|
+
OptionRenderer?: (props: IOptionRendererProps<Exclude<T, null>>) => React.ReactNode;
|
41
41
|
/**
|
42
|
-
*
|
42
|
+
* SelectedRenderer? : (props: ISelectedRendererProps<T>) => React.ReactNode
|
43
43
|
*
|
44
|
-
* Description :
|
44
|
+
* Description : SelectedRenderer of ASelect
|
45
45
|
*/
|
46
|
-
|
46
|
+
SelectedRenderer?: (props: ISelectedRendererProps<T>) => React.ReactNode;
|
47
47
|
/**
|
48
|
-
*
|
48
|
+
* arrowProps? : React.HTMLProps<HTMLDivElement>
|
49
49
|
*
|
50
|
-
* Description :
|
50
|
+
* Description : divProps for Arrow of ASelect
|
51
51
|
*/
|
52
|
-
|
52
|
+
arrowProps?: React.HTMLProps<HTMLDivElement>;
|
53
53
|
/**
|
54
|
-
*
|
54
|
+
* isAutoWidth? : boolean = false
|
55
55
|
*
|
56
|
-
* Description :
|
56
|
+
* Description : When true, automatically adjusts the width based on the longest option element
|
57
57
|
*/
|
58
|
-
|
58
|
+
isAutoWidth?: boolean;
|
59
59
|
/**
|
60
|
-
*
|
60
|
+
* maxShowRows? : number = 6
|
61
61
|
*
|
62
|
-
* Description :
|
62
|
+
* Description : maxShowRows of ASelect. scrollbar will appear when overflow
|
63
63
|
*/
|
64
|
-
|
64
|
+
maxShowRows?: number;
|
65
65
|
/**
|
66
|
-
*
|
66
|
+
* minShowRows? : number = 2
|
67
67
|
*
|
68
|
-
* Description :
|
68
|
+
* Description : minShowRows of ASelect
|
69
69
|
*/
|
70
|
-
|
70
|
+
minShowRows?: number;
|
71
71
|
/**
|
72
|
-
*
|
72
|
+
* onClose? : () => void
|
73
73
|
*
|
74
|
-
* Description :
|
74
|
+
* Description : onClose of ASelect
|
75
75
|
*/
|
76
|
-
|
76
|
+
onClose?: () => void;
|
77
77
|
/**
|
78
|
-
*
|
78
|
+
* options : T[]
|
79
79
|
*
|
80
|
-
* Description :
|
80
|
+
* Description : options of ASelect. CAREFUL null is not rendered as an option.
|
81
81
|
*/
|
82
|
-
|
82
|
+
options: readonly T[] | T[];
|
83
83
|
/**
|
84
|
-
*
|
84
|
+
* placeholder? : React.ReactNode
|
85
85
|
*
|
86
|
-
* Description :
|
86
|
+
* Description : placeholder of ASelect. it is shown when no option is selected
|
87
87
|
*/
|
88
|
-
|
88
|
+
placeholder?: React.ReactNode;
|
89
89
|
/**
|
90
|
-
*
|
90
|
+
* type? : TASelectTypes = 'Primary'
|
91
91
|
*
|
92
|
-
* Description :
|
92
|
+
* Description : type of ASelect
|
93
93
|
*/
|
94
|
-
|
94
|
+
type?: TASelectTypes;
|
95
95
|
/**
|
96
|
-
*
|
96
|
+
* useSelect? : TUseValues<T>
|
97
97
|
*
|
98
|
-
* Description :
|
98
|
+
* Description : useSelect of ASelect
|
99
99
|
*/
|
100
|
-
|
100
|
+
useSelect?: TUseValues<T>;
|
101
101
|
}
|
102
102
|
/**
|
103
103
|
* AComponent : ASelect
|
@@ -15,17 +15,11 @@ interface IStepRendererProps<T> {
|
|
15
15
|
}
|
16
16
|
export interface IAStepperProps<T> {
|
17
17
|
/**
|
18
|
-
*
|
19
|
-
*
|
20
|
-
* Description : useStep of AStepper
|
21
|
-
*/
|
22
|
-
useSelect?: TUseValues<T>;
|
23
|
-
/**
|
24
|
-
* steps : T[]
|
18
|
+
* ContentRenderer? : (props: IStepRendererProps<T>) => React.ReactNode = DefaultRenderer
|
25
19
|
*
|
26
|
-
* Description :
|
20
|
+
* Description : ContentRenderer of AStepper
|
27
21
|
*/
|
28
|
-
|
22
|
+
ContentRenderer?: (props: IStepRendererProps<T>) => React.ReactNode;
|
29
23
|
/**
|
30
24
|
* StepRenderer? : (props: IStepRendererProps<T>) => React.ReactNode = DefaultRenderer
|
31
25
|
*
|
@@ -33,11 +27,17 @@ export interface IAStepperProps<T> {
|
|
33
27
|
*/
|
34
28
|
StepRenderer?: (props: IStepRendererProps<T>) => React.ReactNode;
|
35
29
|
/**
|
36
|
-
*
|
30
|
+
* steps : T[]
|
37
31
|
*
|
38
|
-
* Description :
|
32
|
+
* Description : steps of AStepper. must have at least one step.
|
39
33
|
*/
|
40
|
-
|
34
|
+
steps: T[];
|
35
|
+
/**
|
36
|
+
* useSelect? : TUseValues<T>
|
37
|
+
*
|
38
|
+
* Description : useStep of AStepper
|
39
|
+
*/
|
40
|
+
useSelect?: TUseValues<T>;
|
41
41
|
}
|
42
42
|
/**
|
43
43
|
* AComponent : AStepper
|
@@ -11,35 +11,35 @@ export declare const ATabTypes: readonly ["Primary", "Secondary", "Tertiary", "Q
|
|
11
11
|
export type TATabTypes = (typeof ATabTypes)[number];
|
12
12
|
export interface IATabProps<T> {
|
13
13
|
/**
|
14
|
-
*
|
14
|
+
* OptionRenderer? : (props: IATabOptionRendererProps<T>) => React.ReactNode = DefaultItemRenderer
|
15
15
|
*
|
16
|
-
* Description :
|
16
|
+
* Description : OptionRenderer of ATab
|
17
17
|
*/
|
18
|
-
|
18
|
+
OptionRenderer?: (props: IATabOptionRendererProps<T>) => React.ReactNode;
|
19
19
|
/**
|
20
|
-
*
|
20
|
+
* RightAddon? : React.ReactNode
|
21
21
|
*
|
22
|
-
* Description :
|
22
|
+
* Description : RightAddon of ATab
|
23
23
|
*/
|
24
|
-
|
24
|
+
RightAddon?: React.ReactNode;
|
25
25
|
/**
|
26
|
-
*
|
26
|
+
* color? : string
|
27
27
|
*
|
28
|
-
* Description :
|
28
|
+
* Description : color of unselected options in ATab
|
29
29
|
*/
|
30
|
-
|
30
|
+
color?: string;
|
31
31
|
/**
|
32
|
-
*
|
32
|
+
* indicatorProps? : React.HTMLProps<HTMLDivElement>
|
33
33
|
*
|
34
|
-
* Description :
|
34
|
+
* Description : props for the indicator element of ATab
|
35
35
|
*/
|
36
|
-
|
36
|
+
indicatorProps?: React.HTMLProps<HTMLDivElement>;
|
37
37
|
/**
|
38
|
-
*
|
38
|
+
* indicatorTrackProps? : React.HTMLProps<HTMLDivElement>
|
39
39
|
*
|
40
|
-
* Description :
|
40
|
+
* Description : props for the indicator track element of ATab
|
41
41
|
*/
|
42
|
-
|
42
|
+
indicatorTrackProps?: React.HTMLProps<HTMLDivElement>;
|
43
43
|
/**
|
44
44
|
* optionProps? : React.HTMLProps<HTMLDivElement>
|
45
45
|
*
|
@@ -53,23 +53,17 @@ export interface IATabProps<T> {
|
|
53
53
|
*/
|
54
54
|
optionWidth?: string | number;
|
55
55
|
/**
|
56
|
-
*
|
57
|
-
*
|
58
|
-
* Description : OptionRenderer of ATab
|
59
|
-
*/
|
60
|
-
OptionRenderer?: (props: IATabOptionRendererProps<T>) => React.ReactNode;
|
61
|
-
/**
|
62
|
-
* RightAddon? : React.ReactNode
|
56
|
+
* options : T[]
|
63
57
|
*
|
64
|
-
* Description :
|
58
|
+
* Description : options of ATab
|
65
59
|
*/
|
66
|
-
|
60
|
+
options: T[];
|
67
61
|
/**
|
68
|
-
*
|
62
|
+
* selectDisabled? : (option: T) => string | boolean | undefined
|
69
63
|
*
|
70
|
-
* Description :
|
64
|
+
* Description : selectDisabled of ATab
|
71
65
|
*/
|
72
|
-
|
66
|
+
selectDisabled?: (option: T) => string | boolean | undefined;
|
73
67
|
/**
|
74
68
|
* selectedColor? : string
|
75
69
|
*
|
@@ -77,23 +71,29 @@ export interface IATabProps<T> {
|
|
77
71
|
*/
|
78
72
|
selectedColor?: string;
|
79
73
|
/**
|
80
|
-
*
|
74
|
+
* tabProps? : React.HTMLProps<HTMLDivElement>
|
81
75
|
*
|
82
|
-
* Description :
|
76
|
+
* Description : tabProps of ATab
|
83
77
|
*/
|
84
|
-
|
78
|
+
tabProps?: React.HTMLProps<HTMLDivElement>;
|
85
79
|
/**
|
86
|
-
*
|
80
|
+
* type? : ATabType = 'Primary'
|
87
81
|
*
|
88
|
-
* Description :
|
82
|
+
* Description : type of ATab
|
89
83
|
*/
|
90
|
-
|
84
|
+
type?: TATabTypes;
|
91
85
|
/**
|
92
|
-
*
|
86
|
+
* underline? : boolean
|
93
87
|
*
|
94
|
-
* Description :
|
88
|
+
* Description : underline of ATab
|
95
89
|
*/
|
96
|
-
|
90
|
+
underline?: boolean;
|
91
|
+
/**
|
92
|
+
* useSelect? : TUseValues<T>
|
93
|
+
*
|
94
|
+
* Description : useSelect of ATab
|
95
|
+
*/
|
96
|
+
useSelect?: TUseValues<T>;
|
97
97
|
}
|
98
98
|
/**
|
99
99
|
* AComponent : ATab
|