ados-rcm 1.0.10 → 1.0.12
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 +33 -26
- package/dist/AModule/AComponents/AButton/AButton.d.ts +21 -7
- package/dist/AModule/AComponents/AButton/AIconButton.d.ts +15 -9
- package/dist/AModule/AComponents/ACheckBox/ACheckBox.d.ts +19 -12
- package/dist/AModule/AComponents/AClock/AClock.d.ts +32 -38
- package/dist/AModule/AComponents/ADatePicker/ADatePicker.d.ts +39 -54
- package/dist/AModule/AComponents/ADatePicker/ADateRangePicker.d.ts +20 -22
- package/dist/AModule/AComponents/ADialog/ADialog.d.ts +54 -66
- package/dist/AModule/AComponents/AFileBox/AFileBox.d.ts +17 -15
- package/dist/AModule/AComponents/AFloatMenu/AFloatMenu.d.ts +45 -61
- package/dist/AModule/AComponents/AFrames/AFrames.d.ts +33 -24
- package/dist/AModule/AComponents/AGrow/AGrow.d.ts +11 -7
- package/dist/AModule/AComponents/AIcon/AIcon.d.ts +9 -6
- package/dist/AModule/AComponents/AInput/AInput.d.ts +37 -48
- package/dist/AModule/AComponents/AListView/AListView.d.ts +38 -27
- package/dist/AModule/AComponents/ASelect/ASelect.d.ts +56 -56
- package/dist/AModule/AComponents/ASpace/ASpace.d.ts +9 -11
- package/dist/AModule/AComponents/AStepper/AStepper.d.ts +34 -35
- package/dist/AModule/AComponents/ASwitch/ASwitch.d.ts +13 -10
- package/dist/AModule/AComponents/ATab/ATab.d.ts +34 -35
- package/dist/AModule/AComponents/ATable/ATable.d.ts +249 -200
- package/dist/AModule/AComponents/AText/AText.d.ts +24 -9
- package/dist/AModule/AComponents/ATextArea/ATextArea.d.ts +33 -38
- package/dist/AModule/AComponents/ATooltip/ATooltip.d.ts +22 -11
- package/dist/AModule/AComponents/ATree/ATree.d.ts +71 -38
- package/dist/AModule/AComponents/AWrap/AWrap.d.ts +19 -10
- package/dist/index.cjs.js +3 -3
- package/dist/index.es.js +152 -152
- package/package.json +1 -1
|
@@ -9,27 +9,32 @@ import { IAEventCallers, TActionRef } from '../ATypes/ATypes';
|
|
|
9
9
|
export interface IADialogActions {
|
|
10
10
|
/**
|
|
11
11
|
* open : () => void
|
|
12
|
-
*
|
|
12
|
+
*
|
|
13
|
+
* Description : open dialog
|
|
13
14
|
*/
|
|
14
15
|
open: () => void;
|
|
15
16
|
/**
|
|
16
17
|
* close : () => void
|
|
17
|
-
*
|
|
18
|
+
*
|
|
19
|
+
* Description : close dialog
|
|
18
20
|
*/
|
|
19
21
|
close: () => void;
|
|
20
22
|
/**
|
|
21
23
|
* toggle : () => void
|
|
22
|
-
*
|
|
24
|
+
*
|
|
25
|
+
* Description : toggle dialog
|
|
23
26
|
*/
|
|
24
27
|
toggle: () => void;
|
|
25
28
|
/**
|
|
26
29
|
* ok : () => void
|
|
27
|
-
*
|
|
30
|
+
*
|
|
31
|
+
* Description : run ok of the dialog
|
|
28
32
|
*/
|
|
29
33
|
ok: () => void;
|
|
30
34
|
/**
|
|
31
35
|
* cancel : () => void
|
|
32
|
-
*
|
|
36
|
+
*
|
|
37
|
+
* Description : run cancel of the dialog
|
|
33
38
|
*/
|
|
34
39
|
cancel: () => void;
|
|
35
40
|
}
|
|
@@ -37,115 +42,98 @@ export type TADialogTypes = 'okCancel' | 'cancelOk' | 'ok' | 'cancel' | 'none';
|
|
|
37
42
|
export interface IADialogProps {
|
|
38
43
|
/**
|
|
39
44
|
* type? : TADialogTypes = 'okCancel'
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* <br/>(1)<ADialog type='cancelOk'/>
|
|
45
|
+
*
|
|
46
|
+
* Description : type of dialog. decides the type of action buttons
|
|
43
47
|
*/
|
|
44
48
|
type?: TADialogTypes;
|
|
45
49
|
/**
|
|
46
50
|
* title? : React.ReactNode
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* <br/>(1)<ADialog title='Title'/>
|
|
51
|
+
*
|
|
52
|
+
* Description : title of the dialog
|
|
50
53
|
*/
|
|
51
54
|
title?: React.ReactNode;
|
|
52
55
|
/**
|
|
53
56
|
* actionRef? : TActionRef<IADialogActions>
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* <br/>(1)const actionRef = useRef<IADialogActions>();
|
|
57
|
-
* return <ADialog actionRef={ref}/>
|
|
57
|
+
*
|
|
58
|
+
* Description : actionRef of the dialog
|
|
58
59
|
*/
|
|
59
60
|
actionRef?: TActionRef<IADialogActions>;
|
|
60
61
|
/**
|
|
61
62
|
* children? : React.ReactNode
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* <br/>(1)<ADialog>children</ADialog>
|
|
63
|
+
*
|
|
64
|
+
* Description : children of the dialog
|
|
65
65
|
*/
|
|
66
66
|
children?: React.ReactNode;
|
|
67
67
|
/**
|
|
68
68
|
* onOk : (e: IAEventCallers) => void;
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* <br/>(1)<ADialog onOk={onOk}/>
|
|
72
|
-
* <br/>(2)<ADialog onOk={(e) => e.preventDefault()}/>
|
|
69
|
+
*
|
|
70
|
+
* Description : onOk of the dialog. it closes the dialog by default
|
|
73
71
|
*/
|
|
74
72
|
onOk?: (e: IAEventCallers) => void;
|
|
75
73
|
/**
|
|
76
74
|
* onCancel : (e: IAEventCallers) => void;
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* <br/>(1)<ADialog onCancel={onCancel}/>
|
|
80
|
-
* <br/>(2)<ADialog onCancel={(e) => e.preventDefault()}/>
|
|
75
|
+
*
|
|
76
|
+
* Description : onCancel of the dialog. it closes the dialog by default
|
|
81
77
|
*/
|
|
82
78
|
onCancel?: (e: IAEventCallers) => void;
|
|
83
79
|
/**
|
|
84
80
|
* onEnterPress : (e: IAEventCallers) => void;
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* <br/>(1)<ADialog onEnterPress={onEnterPress}/>
|
|
88
|
-
* <br/>(2)<ADialog onEnterPress={(e) => e.preventDefault()}/>
|
|
81
|
+
*
|
|
82
|
+
* Description : onEnterPress of the dialog. it runs ok by default
|
|
89
83
|
*/
|
|
90
84
|
onEnterPress?: (e: IAEventCallers) => void;
|
|
91
85
|
/**
|
|
92
86
|
* onEscPress : (e: IAEventCallers) => void;
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* <br/>(1)<ADialog onEscPress={onEscPress}/>
|
|
96
|
-
* <br/>(2)<ADialog onEscPress={(e) => e.preventDefault()}/>
|
|
87
|
+
*
|
|
88
|
+
* Description : onEscPress of the dialog. it runs cancel by default
|
|
97
89
|
*/
|
|
98
90
|
onEscPress?: (e: IAEventCallers) => void;
|
|
99
91
|
/**
|
|
100
92
|
* onSpacePress : (e: IAEventCallers) => void;
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* <br/>(1)<ADialog onSpacePress={onSpacePress}/>
|
|
104
|
-
* <br/>(2)<ADialog onSpacePress={(e) => e.preventDefault()}/>
|
|
93
|
+
*
|
|
94
|
+
* Description : onSpacePress of the dialog. it runs ok by default
|
|
105
95
|
*/
|
|
106
96
|
onSpacePress?: (e: IAEventCallers) => void;
|
|
107
97
|
/**
|
|
108
98
|
* onPaperClick : (e: IAEventCallers) => void;
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
* <br/>(1)<ADialog onPaperClick={onPaperClick}/>
|
|
112
|
-
* <br/>(2)<ADialog onPaperClick={(e) => e.preventDefault()}/>
|
|
99
|
+
*
|
|
100
|
+
* Description : onPaperClick of the dialog. it runs cancel by default
|
|
113
101
|
*/
|
|
114
102
|
onPaperClick?: (e: IAEventCallers) => void;
|
|
115
103
|
/**
|
|
116
104
|
* noDim? : boolean = false
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
* <br/>(1)<ADialog noDim/>
|
|
105
|
+
*
|
|
106
|
+
* Description : decides whether the dialog has dim or not
|
|
120
107
|
*/
|
|
121
108
|
noDim?: boolean;
|
|
122
109
|
/**
|
|
123
110
|
* resources? : Partial<typeof Resources.ADialog>
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
* <br/>(1)<ADialog resources={{ ok: "I'm ok", cancel: "I'm Cancel" }}/>
|
|
111
|
+
*
|
|
112
|
+
* Description : language resources of the dialog
|
|
127
113
|
*/
|
|
128
114
|
resources?: Partial<typeof Resources.ADialog>;
|
|
129
115
|
}
|
|
130
116
|
/**
|
|
131
117
|
* AComponent : ADialog
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
* }
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
118
|
+
*
|
|
119
|
+
* Description : ADialog is a dialog component.
|
|
120
|
+
*
|
|
121
|
+
*
|
|
122
|
+
* Basic Usage :
|
|
123
|
+
*
|
|
124
|
+
* const actionRef = useRef<IADialogActions>();
|
|
125
|
+
* const onOk = () => { console.log('ok') }
|
|
126
|
+
* const onCancel = () => { console.log('cancel') }
|
|
127
|
+
*
|
|
128
|
+
* if (case 1)
|
|
129
|
+
* <ADialog actionRef={actionRef}
|
|
130
|
+
* title='Dialog Title'
|
|
131
|
+
* onOk={onOk}
|
|
132
|
+
* onCancel={onCancel}>
|
|
133
|
+
* <div>Content</div>
|
|
134
|
+
* </ADialog>
|
|
135
|
+
* <AButton onClick={actionRef.current?.open}>Open</AButton>
|
|
136
|
+
* <AButton onClick={actionRef.current?.close}>Close</AButton>
|
|
137
|
+
*
|
|
150
138
|
*/
|
|
151
139
|
export declare const ADialog: ({ type, title, actionRef, children, onOk: extOnOk, onCancel: extOnCancel, onEnterPress: extOnEnterPress, onEscPress: extOnEscPress, onSpacePress: extOnSpacePress, onPaperClick: extOnPaperClick, noDim, resources: extResources, }: IADialogProps) => import("react").ReactPortal | null;
|
|
@@ -5,39 +5,41 @@ import { Resources } from '../AResource/AResource';
|
|
|
5
5
|
export interface IFileRendererProps {
|
|
6
6
|
/**
|
|
7
7
|
* file : File
|
|
8
|
-
*
|
|
8
|
+
*
|
|
9
|
+
* Description : file to render
|
|
9
10
|
*/
|
|
10
11
|
file: File;
|
|
11
12
|
}
|
|
12
13
|
export interface IAFileBoxProps extends IABaseProps {
|
|
13
14
|
/**
|
|
14
15
|
* useFile : TUseValues<File | null>
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* <br/>(1)const [file, setFile] = useState<File | null>(null);
|
|
18
|
-
* <AFileBox useFile={[file, setFile]}/>
|
|
16
|
+
*
|
|
17
|
+
* Description : useFile of AFileBox
|
|
19
18
|
*/
|
|
20
19
|
useFile: TUseValues<File | null>;
|
|
21
20
|
/**
|
|
22
21
|
* FileRenderer? : (props: IFileRendererProps) => React.ReactNode
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* <br/>(1)<AFileBox FileRenderer={file => <div>{file.name}</div>}/>
|
|
22
|
+
*
|
|
23
|
+
* Description : FileRenderer of AFileBox
|
|
26
24
|
*/
|
|
27
25
|
FileRenderer?: (props: IFileRendererProps) => React.ReactNode;
|
|
28
26
|
/**
|
|
29
27
|
* resources? : typeof Resources.AFileBox
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* <br/>(1)<AFileBox resources={{'or Drag & Drop': 'or Drag the File and Drop it here'}}/>
|
|
28
|
+
*
|
|
29
|
+
* Description : resources of AFileBox
|
|
33
30
|
*/
|
|
34
31
|
resources?: typeof Resources.AFileBox;
|
|
35
32
|
}
|
|
36
33
|
/**
|
|
37
34
|
* AComponent : AFileBox
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
35
|
+
*
|
|
36
|
+
* Description : AFileBox is a file box component that can select a file.
|
|
37
|
+
*
|
|
38
|
+
* Basic Usage :
|
|
39
|
+
*
|
|
40
|
+
* const [file, setFile] = useState<File | null>(null);
|
|
41
|
+
*
|
|
42
|
+
* if (case 1)
|
|
43
|
+
* <AFileBox useFile={[file, setFile]}/>
|
|
42
44
|
*/
|
|
43
45
|
export declare const AFileBox: ({ useFile, FileRenderer, resources: extResources, ...props }: IAFileBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,46 +4,54 @@ import { TCanCallback } from '../../AUtils/cbF';
|
|
|
4
4
|
export interface IAFloatMenuActions {
|
|
5
5
|
/**
|
|
6
6
|
* open : () => void
|
|
7
|
-
*
|
|
7
|
+
*
|
|
8
|
+
* Description : open AFloatMenu
|
|
8
9
|
*/
|
|
9
10
|
open: () => void;
|
|
10
11
|
/**
|
|
11
12
|
* close : () => void
|
|
12
|
-
*
|
|
13
|
+
*
|
|
14
|
+
* Description : close AFloatMenu
|
|
13
15
|
*/
|
|
14
16
|
close: () => void;
|
|
15
17
|
/**
|
|
16
18
|
* toggle : () => void
|
|
17
|
-
*
|
|
19
|
+
*
|
|
20
|
+
* Description : toggle AFloatMenu
|
|
18
21
|
*/
|
|
19
22
|
toggle: () => void;
|
|
20
23
|
}
|
|
21
24
|
export interface IAFloatMenuContentProps {
|
|
22
25
|
/**
|
|
23
26
|
* defKey : TIdx
|
|
24
|
-
*
|
|
27
|
+
*
|
|
28
|
+
* Description : defKey of AFloatMenu
|
|
25
29
|
*/
|
|
26
30
|
defKey: TIdx;
|
|
27
31
|
/**
|
|
28
32
|
* def : IAFloatMenuDef
|
|
29
|
-
*
|
|
33
|
+
*
|
|
34
|
+
* Description : def of AFloatMenu
|
|
30
35
|
*/
|
|
31
36
|
def: IAFloatMenuDef;
|
|
32
37
|
}
|
|
33
38
|
export interface IAFloatMenuDef {
|
|
34
39
|
/**
|
|
35
40
|
* noDisplay? : boolean
|
|
36
|
-
*
|
|
41
|
+
*
|
|
42
|
+
* Description : decides whether to display the menu or not
|
|
37
43
|
*/
|
|
38
44
|
noDisplay?: boolean;
|
|
39
45
|
/**
|
|
40
46
|
* isDisabled? : boolean
|
|
41
|
-
*
|
|
47
|
+
*
|
|
48
|
+
* Description : decides whether the menu is disabled or not
|
|
42
49
|
*/
|
|
43
50
|
isDisabled?: boolean;
|
|
44
51
|
/**
|
|
45
52
|
* content? : TCanCallback<IAFloatMenuContentProps, React.ReactNode>
|
|
46
|
-
*
|
|
53
|
+
*
|
|
54
|
+
* Description : content of AFloatMenu
|
|
47
55
|
*/
|
|
48
56
|
content?: TCanCallback<IAFloatMenuContentProps, React.ReactNode>;
|
|
49
57
|
}
|
|
@@ -53,79 +61,55 @@ export type TAFloatMenuDefs = {
|
|
|
53
61
|
export interface IAFloatMenuProps {
|
|
54
62
|
/**
|
|
55
63
|
* defs : TAFloatMenuDefs
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* <br/>(1)const defs = {
|
|
59
|
-
* 'testDefKey' : {
|
|
60
|
-
* content : ({defKey, def}) => <div>{defKey}</div>,
|
|
61
|
-
* },
|
|
62
|
-
* 'testDefKey2' : {}
|
|
63
|
-
* }
|
|
64
|
-
* return <AFloatMenu defs={defs}/>
|
|
64
|
+
*
|
|
65
|
+
* Description : defs of AFloatMenu
|
|
65
66
|
*/
|
|
66
67
|
defs: TAFloatMenuDefs;
|
|
67
68
|
/**
|
|
68
69
|
* defaultDef? : IAFloatMenuDef
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* <br/>(1)const defs = {
|
|
72
|
-
* 'testDefKey' : {
|
|
73
|
-
* content : ({defKey, def}) => <div>{defKey}</div>,
|
|
74
|
-
* },
|
|
75
|
-
* 'testDefKey2' : {}
|
|
76
|
-
* }
|
|
77
|
-
* const defaultDef = {
|
|
78
|
-
* content : ({defKey, def}) => <div>I am test defaultDef!</div>,
|
|
79
|
-
* }
|
|
80
|
-
* return <AFloatMenu defs={defs} defaultDef={defaultDef}/> // testDefKey2 will render 'I am test defaultDef!'
|
|
70
|
+
*
|
|
71
|
+
* Description : defaultDef of AFloatMenu. it will affect all defs.
|
|
81
72
|
*/
|
|
82
73
|
defaultDef?: IAFloatMenuDef;
|
|
83
74
|
/**
|
|
84
75
|
* anchorRef : React.RefObject<HTMLElement>
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* <br/>(1)const anchorRef = useRef<HTMLDivElement>(null);
|
|
88
|
-
* return <>
|
|
89
|
-
* <div ref={anchorRef}>I am anchor</div>
|
|
90
|
-
* <AFloatMenu anchorRef={anchorRef}/>
|
|
91
|
-
* </>
|
|
76
|
+
*
|
|
77
|
+
* Description : anchorRef of AFloatMenu
|
|
92
78
|
*/
|
|
93
79
|
anchorRef: React.RefObject<HTMLElement>;
|
|
94
80
|
/**
|
|
95
81
|
* position? : EDir12
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* <br/>(1)<AFloatMenu position={EDir12.W}/>
|
|
82
|
+
*
|
|
83
|
+
* Description : position of AFloatMenu based on anchorRef
|
|
99
84
|
*/
|
|
100
85
|
position?: EDir12;
|
|
101
86
|
/**
|
|
102
87
|
* actionRef? : TActionRef<IAFloatMenuActions>
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
* <br/>(1)const actionRef = useRef<IAFloatMenuActions>();
|
|
106
|
-
* return <AFloatMenu actionRef={actionRef}/>
|
|
88
|
+
*
|
|
89
|
+
* Description : actionRef of AFloatMenu
|
|
107
90
|
*/
|
|
108
91
|
actionRef?: TActionRef<IAFloatMenuActions>;
|
|
109
92
|
}
|
|
110
93
|
/**
|
|
111
94
|
* AComponent : AFloatMenu
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
* }
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
95
|
+
*
|
|
96
|
+
* Description : AFloatMenu is a floating component with menues to click.
|
|
97
|
+
*
|
|
98
|
+
* Basic Usage :
|
|
99
|
+
*
|
|
100
|
+
* const defs = {
|
|
101
|
+
* testDefKey : {
|
|
102
|
+
* content : ({defKey, def}) => <div>{defKey}</div>,
|
|
103
|
+
* },
|
|
104
|
+
* testDefKey2 : {}
|
|
105
|
+
* }
|
|
106
|
+
* const defaultDef = {
|
|
107
|
+
* content : ({defKey, def}) => <div>I am test defaultDef!</div>,
|
|
108
|
+
* }
|
|
109
|
+
* const anchorRef = useRef<HTMLDivElement>(null);
|
|
110
|
+
*
|
|
111
|
+
* if (case 1)
|
|
112
|
+
* <div ref={anchorRef}>I am anchor</div>
|
|
113
|
+
* <AFloatMenu defs={defs} defaultDef={defaultDef} anchorRef={anchorRef}/>
|
|
130
114
|
*/
|
|
131
115
|
export declare const AFloatMenu: ({ defs: extDefs, defaultDef: extDefaultDef, anchorRef, actionRef, position, }: IAFloatMenuProps) => import("react").ReactPortal | null;
|
|
@@ -1,44 +1,53 @@
|
|
|
1
1
|
import { IABaseProps } from '../ABase/ABase';
|
|
2
2
|
/**
|
|
3
3
|
* AComponent : AFrame : RowFrame
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
4
|
+
*
|
|
5
|
+
* Description : RowFrame is a frame component that is displayed as a row and aligned center.
|
|
6
|
+
*
|
|
7
|
+
* Basic Usage :
|
|
8
|
+
*
|
|
9
|
+
* if (case 1)
|
|
10
|
+
* <RowFrame>
|
|
11
|
+
* Items
|
|
12
|
+
* <div>Item1</div>
|
|
13
|
+
* <AICon icon="Alert"/>
|
|
14
|
+
* </RowFrame>
|
|
11
15
|
*/
|
|
12
16
|
export declare const RowFrame: (props: IABaseProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
17
|
/**
|
|
14
18
|
* AComponent : AFrame : ColFrame
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
*
|
|
20
|
+
* Description : ColFrame is a frame component that is displayed as a column and aligned center.
|
|
21
|
+
*
|
|
22
|
+
* Basic Usage :
|
|
23
|
+
*
|
|
24
|
+
* if (case 1)
|
|
25
|
+
* <ColFrame>
|
|
26
|
+
* Items
|
|
27
|
+
* <div>Item1</div>
|
|
28
|
+
* <AICon icon="Alert"/>
|
|
29
|
+
* </ColFrame>
|
|
22
30
|
*/
|
|
23
31
|
export declare const ColFrame: (props: IABaseProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
32
|
interface IOverflowFrameProps extends IABaseProps {
|
|
25
33
|
/**
|
|
26
34
|
* noOverflowTooltip? : boolean
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* <br/>(1)<OverflowFrame noOverflowTooltip>
|
|
30
|
-
* Long TextTextTextTextTextTextTextTextTextText
|
|
31
|
-
* </OverflowFrame>
|
|
35
|
+
*
|
|
36
|
+
* Description : decides whether to display tooltip when overflowed or not
|
|
32
37
|
*/
|
|
33
38
|
noOverflowTooltip?: boolean;
|
|
34
39
|
}
|
|
35
40
|
/**
|
|
36
41
|
* AComponent : AFrame : OverflowFrame
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
+
*
|
|
43
|
+
* Description : OverflowFrame is a frame component that is text-ellipsis and shows tooltips when overflowed.
|
|
44
|
+
*
|
|
45
|
+
* Basic Usage :
|
|
46
|
+
*
|
|
47
|
+
* if (case 1)
|
|
48
|
+
* <OverflowFrame>
|
|
49
|
+
* Long TextTextTextTextTextTextTextTextTextText
|
|
50
|
+
* </OverflowFrame>
|
|
42
51
|
*/
|
|
43
52
|
export declare const OverflowFrame: ({ tooltip: extTooltip, children, abaseRef, className, noOverflowTooltip, ...props }: IOverflowFrameProps) => import("react/jsx-runtime").JSX.Element;
|
|
44
53
|
export {};
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AComponent : AGrow
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
3
|
+
*
|
|
4
|
+
* Description : AGrow is a frame component that grows flexibly.
|
|
5
|
+
*
|
|
6
|
+
* Basic Usage :
|
|
7
|
+
*
|
|
8
|
+
* if (case 1)
|
|
9
|
+
* <div style={{display: 'flex', flexGrow: 1}}>
|
|
10
|
+
* Left Item
|
|
11
|
+
* <AGrow/>
|
|
12
|
+
* Right Item
|
|
13
|
+
* </div>
|
|
10
14
|
*/
|
|
11
15
|
export declare const AGrow: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,17 +6,20 @@ export type TIcons = keyof typeof AIcons;
|
|
|
6
6
|
export interface IAIconProps extends IASVGProps {
|
|
7
7
|
/**
|
|
8
8
|
* icon : TIcons
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* <br/>(1)<AIcon icon="Alert"/>
|
|
9
|
+
*
|
|
10
|
+
* Description : icon to render
|
|
12
11
|
*/
|
|
13
12
|
icon: TIcons;
|
|
14
13
|
}
|
|
15
14
|
/**
|
|
16
15
|
* AComponent : AIcon
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
16
|
+
*
|
|
17
|
+
* Description : AIcon is an icon component that can render icons.
|
|
18
|
+
*
|
|
19
|
+
* Basic Usage :
|
|
20
|
+
*
|
|
21
|
+
* if (case 1)
|
|
22
|
+
* <AIcon icon="Alert"/>
|
|
20
23
|
*/
|
|
21
24
|
export declare const AIcon: ({ icon, svgRef, ...rest }: IAIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
25
|
export declare const AIcons: Readonly<{
|