ods-component-lib 1.18.70 → 1.18.71
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/components/antd/message/OdsMessage.d.ts +11 -0
- package/dist/stories/OdsCalendar/OdsCalendar.stories.d.ts +65 -0
- package/dist/stories/OdsCalendar/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/OdsCalendar/Samples/Card.Sample.d.ts +1 -0
- package/dist/stories/OdsList/OdsList.stories.d.ts +86 -0
- package/dist/stories/OdsList/Samples/GridList.sample.d.ts +1 -0
- package/dist/stories/OdsList/Samples/SimpleList.sample.d.ts +1 -0
- package/dist/stories/OdsMessage/OdsMessage.stories.d.ts +28 -0
- package/dist/stories/OdsMessage/Sample/Basic.Sample.d.ts +2 -0
- package/dist/stories/OdsNotification/OdsNotification.stories.d.ts +23 -0
- package/dist/stories/OdsNotification/Samples/Basic.sample.d.ts +1 -0
- package/dist/stories/OdsNotification/Samples/Simple.Sample.d.ts +1 -0
- package/dist/stories/OdsPassword/OdsPassword.stories.d.ts +295 -0
- package/dist/stories/OdsPhoneInput/OdsPhoneInput.stories.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface OdsMessageProps {
|
|
3
|
+
content: string;
|
|
4
|
+
type: 'info' | 'success' | 'error' | 'warning' | 'loading';
|
|
5
|
+
duration?: number;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
declare const OdsMessage: React.FC<OdsMessageProps>;
|
|
11
|
+
export default OdsMessage;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import OdsCalendar from '../../components/antd/calendar/OdsCalendar';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsCalendar;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
prefixCls: {
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
className: {
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
rootClassName: {
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
style: {
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
locale: {
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
validRange: {
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
disabledData: {
|
|
26
|
+
description: string;
|
|
27
|
+
control: string;
|
|
28
|
+
};
|
|
29
|
+
cellRender: {
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
fullCellRender: {
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
headerRender: {
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
value: {
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
defaultValue: {
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
mode: {
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
fullScreen: {
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
onPanelChange: {
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
onSelect: {
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
parameters: {
|
|
58
|
+
controls: {
|
|
59
|
+
exclude: string[];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export default _default;
|
|
64
|
+
export declare const Card: any;
|
|
65
|
+
export declare const Basic: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicCalendarTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CardCalendarTemplate: any;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import OdsList from '../../components/antd/list/OdsList';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsList;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
headerText: {
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
footerText: {
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
data: {
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
showHeader: {
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
showFooter: {
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
bordered: {
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
className: {
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
rootClassName: {
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
style: {
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
dataSource: {
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
extra: {
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
grid: {
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
id: {
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
itemLayout: {
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
loading: {
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
loadMore: {
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
pagination: {
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
prefixCls: {
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
rowKey: {
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
64
|
+
renderItem: {
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
67
|
+
size: {
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
split: {
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
header: {
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
footer: {
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
locale: {
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
export default _default;
|
|
85
|
+
export declare const SimpleList: any;
|
|
86
|
+
export declare const GridList: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Grid: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Simple: any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<import("../../components/antd/message/OdsMessage").OdsMessageProps>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
content: {
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
duration: {
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
onClose: {
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
className: {
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
style: {
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
type: {
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
export declare const Basic: any;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: (props: any) => any;
|
|
4
|
+
tags: string[];
|
|
5
|
+
argTypes: {
|
|
6
|
+
title: {
|
|
7
|
+
description: string;
|
|
8
|
+
control: string;
|
|
9
|
+
};
|
|
10
|
+
content: {
|
|
11
|
+
description: string;
|
|
12
|
+
control: string;
|
|
13
|
+
};
|
|
14
|
+
type: {
|
|
15
|
+
description: string;
|
|
16
|
+
control: string;
|
|
17
|
+
options: string[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
22
|
+
export declare const BasicTemplate: any;
|
|
23
|
+
export declare const SimpleTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicOdsNotificationTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SimpleOdsNotificationTemplate: any;
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import OdsPassword from "../../components/antd/input/OdsPassword";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof OdsPassword;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
inputPrefixCls: {
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
action: {
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
visibilityToggle: {
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
iconRender: {
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
rootClassName: {
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
status: {
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
variant: {
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
accessKey: {
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
tabIndex: {
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
height: {
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
width: {
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
onKeyDown: {
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
prefixCls: {
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
className: {
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
style: {
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
id: {
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
onBlur: {
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
64
|
+
onChange: {
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
67
|
+
onFocus: {
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
onMouseEnter: {
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
onMouseLeave: {
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
onSelect: {
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
contextMenu: {
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
82
|
+
onClick: {
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
form: {
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
88
|
+
slot: {
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
title: {
|
|
92
|
+
description: string;
|
|
93
|
+
};
|
|
94
|
+
pattern: {
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
defaultValue: {
|
|
98
|
+
description: string;
|
|
99
|
+
};
|
|
100
|
+
value: {
|
|
101
|
+
description: string;
|
|
102
|
+
};
|
|
103
|
+
placeholder: {
|
|
104
|
+
description: string;
|
|
105
|
+
};
|
|
106
|
+
onInvalid: {
|
|
107
|
+
description: string;
|
|
108
|
+
};
|
|
109
|
+
min: {
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
112
|
+
max: {
|
|
113
|
+
description: string;
|
|
114
|
+
};
|
|
115
|
+
accept: {
|
|
116
|
+
description: string;
|
|
117
|
+
};
|
|
118
|
+
alt: {
|
|
119
|
+
description: string;
|
|
120
|
+
};
|
|
121
|
+
autoComplete: {
|
|
122
|
+
description: string;
|
|
123
|
+
};
|
|
124
|
+
capture: {
|
|
125
|
+
description: string;
|
|
126
|
+
};
|
|
127
|
+
checked: {
|
|
128
|
+
description: string;
|
|
129
|
+
};
|
|
130
|
+
formAction: {
|
|
131
|
+
description: string;
|
|
132
|
+
};
|
|
133
|
+
formEncType: {
|
|
134
|
+
description: string;
|
|
135
|
+
};
|
|
136
|
+
formMethod: {
|
|
137
|
+
description: string;
|
|
138
|
+
};
|
|
139
|
+
formNoValidate: {
|
|
140
|
+
description: string;
|
|
141
|
+
};
|
|
142
|
+
formTarget: {
|
|
143
|
+
description: string;
|
|
144
|
+
};
|
|
145
|
+
list: {
|
|
146
|
+
description: string;
|
|
147
|
+
};
|
|
148
|
+
maxLength: {
|
|
149
|
+
description: string;
|
|
150
|
+
};
|
|
151
|
+
minLength: {
|
|
152
|
+
description: string;
|
|
153
|
+
};
|
|
154
|
+
multiple: {
|
|
155
|
+
description: string;
|
|
156
|
+
};
|
|
157
|
+
name: {
|
|
158
|
+
description: string;
|
|
159
|
+
};
|
|
160
|
+
readOnly: {
|
|
161
|
+
description: string;
|
|
162
|
+
};
|
|
163
|
+
required: {
|
|
164
|
+
description: string;
|
|
165
|
+
};
|
|
166
|
+
src: {
|
|
167
|
+
description: string;
|
|
168
|
+
};
|
|
169
|
+
step: {
|
|
170
|
+
description: string;
|
|
171
|
+
};
|
|
172
|
+
type: {
|
|
173
|
+
description: string;
|
|
174
|
+
};
|
|
175
|
+
defaultChecked: {
|
|
176
|
+
description: string;
|
|
177
|
+
};
|
|
178
|
+
suppressContentEditableWarning: {
|
|
179
|
+
description: string;
|
|
180
|
+
};
|
|
181
|
+
suppressHydrationWarning: {
|
|
182
|
+
description: string;
|
|
183
|
+
};
|
|
184
|
+
autoFocus: {
|
|
185
|
+
description: string;
|
|
186
|
+
};
|
|
187
|
+
contentEditable: {
|
|
188
|
+
description: string;
|
|
189
|
+
};
|
|
190
|
+
dir: {
|
|
191
|
+
description: string;
|
|
192
|
+
};
|
|
193
|
+
draggable: {
|
|
194
|
+
description: string;
|
|
195
|
+
};
|
|
196
|
+
hidden: {
|
|
197
|
+
description: string;
|
|
198
|
+
};
|
|
199
|
+
lang: {
|
|
200
|
+
description: string;
|
|
201
|
+
};
|
|
202
|
+
nonce: {
|
|
203
|
+
description: string;
|
|
204
|
+
};
|
|
205
|
+
spellCheck: {
|
|
206
|
+
description: string;
|
|
207
|
+
};
|
|
208
|
+
translate: {
|
|
209
|
+
description: string;
|
|
210
|
+
};
|
|
211
|
+
radioGroup: {
|
|
212
|
+
description: string;
|
|
213
|
+
};
|
|
214
|
+
role: {
|
|
215
|
+
description: string;
|
|
216
|
+
};
|
|
217
|
+
about: {
|
|
218
|
+
description: string;
|
|
219
|
+
};
|
|
220
|
+
content: {
|
|
221
|
+
description: string;
|
|
222
|
+
};
|
|
223
|
+
dataType: {
|
|
224
|
+
description: string;
|
|
225
|
+
};
|
|
226
|
+
inlist: {
|
|
227
|
+
description: string;
|
|
228
|
+
};
|
|
229
|
+
prefix: {
|
|
230
|
+
description: string;
|
|
231
|
+
};
|
|
232
|
+
property: {
|
|
233
|
+
description: string;
|
|
234
|
+
};
|
|
235
|
+
rel: {
|
|
236
|
+
description: string;
|
|
237
|
+
};
|
|
238
|
+
resource: {
|
|
239
|
+
description: string;
|
|
240
|
+
};
|
|
241
|
+
rev: {
|
|
242
|
+
description: string;
|
|
243
|
+
};
|
|
244
|
+
typeof: {
|
|
245
|
+
description: string;
|
|
246
|
+
};
|
|
247
|
+
vocab: {
|
|
248
|
+
description: string;
|
|
249
|
+
};
|
|
250
|
+
autoCapitalize: {
|
|
251
|
+
description: string;
|
|
252
|
+
};
|
|
253
|
+
autoCorrect: {
|
|
254
|
+
description: string;
|
|
255
|
+
};
|
|
256
|
+
autoSave: {
|
|
257
|
+
description: string;
|
|
258
|
+
};
|
|
259
|
+
color: {
|
|
260
|
+
description: string;
|
|
261
|
+
};
|
|
262
|
+
itemProp: {
|
|
263
|
+
description: string;
|
|
264
|
+
};
|
|
265
|
+
itemScope: {
|
|
266
|
+
description: string;
|
|
267
|
+
};
|
|
268
|
+
itemType: {
|
|
269
|
+
description: string;
|
|
270
|
+
};
|
|
271
|
+
itemID: {
|
|
272
|
+
description: string;
|
|
273
|
+
};
|
|
274
|
+
itemRef: {
|
|
275
|
+
description: string;
|
|
276
|
+
};
|
|
277
|
+
results: {
|
|
278
|
+
description: string;
|
|
279
|
+
};
|
|
280
|
+
security: {
|
|
281
|
+
description: string;
|
|
282
|
+
};
|
|
283
|
+
unselectable: {
|
|
284
|
+
description: string;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
parameters: {
|
|
288
|
+
controls: {
|
|
289
|
+
sort: string;
|
|
290
|
+
exclude: string[];
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
export default _default;
|
|
295
|
+
export declare const Password: any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import OdsPhoneInput from '../../components/antd/input/OdsPhoneInput';
|
|
2
|
+
import 'react-phone-input-2/lib/style.css';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof OdsPhoneInput;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {
|
|
8
|
+
country: {
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
enableSearchField: {
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
value: {
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
onChange: {
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
placeholder: {
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
inputStyle: {
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
required: {
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
disabled: {
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
|
35
|
+
export declare const Default: any;
|
|
36
|
+
export declare const WithSearch: any;
|