@fle-ui/next 1.0.0-alpha.12 → 1.0.0-alpha.13
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/.history/package_20211011190148.json +141 -0
- package/.history/package_20211011193053.json +141 -0
- package/dist/@fle-ui/next.css +2 -2
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +1 -1
- package/dist/@fle-ui/next.min.css +2 -2
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +1 -1
- package/docs-dist/components__affix__affix.md.js +701 -1
- package/docs-dist/components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js +22482 -1
- package/docs-dist/components__alert__alert.md.js +942 -1
- package/docs-dist/components__anchor__anchor.md.js +789 -1
- package/docs-dist/components__auto-complete__autoComplete.md.js +1145 -1
- package/docs-dist/components__avatar__avatar.md.js +854 -1
- package/docs-dist/components__back-top__backTop.md.js +581 -1
- package/docs-dist/components__badge__badge.md.js +972 -1
- package/docs-dist/components__breadcrumb__breadcrumb.md.js +914 -1
- package/docs-dist/components__button__button.md.js +1037 -1
- package/docs-dist/components__calendar__calendar.md.js +897 -1
- package/docs-dist/components__card__card.md.js +1106 -1
- package/docs-dist/components__carousel__carousel.md.js +770 -1
- package/docs-dist/components__cascader__cascader.md.js +1378 -1
- package/docs-dist/components__checkbox__checkbox.md.js +876 -1
- package/docs-dist/components__collapse__collapse.md.js +959 -1
- package/docs-dist/components__comment__comment.md.js +586 -1
- package/docs-dist/components__config-provider__configProvider.md.js +1055 -1
- package/docs-dist/components__date-picker__date-picker.md.js +2622 -1
- package/docs-dist/components__descriptions__descriptions.md.js +863 -1
- package/docs-dist/components__divider__divider.md.js +681 -1
- package/docs-dist/components__drawer__drawer.md.js +997 -1
- package/docs-dist/components__dropdown__dropdown.md.js +1170 -1
- package/docs-dist/components__empty__empty.md.js +692 -1
- package/docs-dist/components__form__form.md.js +4099 -1
- package/docs-dist/components__grid__grid.md.js +999 -1
- package/docs-dist/components__icon__icon.md.js +739 -1
- package/docs-dist/components__image__image.md.js +745 -1
- package/docs-dist/components__input-number__inputNumber.md.js +1006 -1
- package/docs-dist/components__input__input.md.js +1579 -1
- package/docs-dist/components__layout__layout.md.js +1220 -1
- package/docs-dist/components__list__list.md.js +1255 -1
- package/docs-dist/components__mentions__mentions.md.js +943 -1
- package/docs-dist/components__menu__menu.md.js +1370 -1
- package/docs-dist/components__message__message.md.js +1223 -1
- package/docs-dist/components__modal__modal.md.js +1808 -1
- package/docs-dist/components__notification__notification.md.js +1192 -1
- package/docs-dist/components__page-header__page-header.md.js +781 -1
- package/docs-dist/components__pagination__pagination.md.js +954 -1
- package/docs-dist/components__popconfirm__popconfirm.md.js +792 -1
- package/docs-dist/components__popover__popover.md.js +665 -1
- package/docs-dist/components__progress__progress.md.js +1139 -1
- package/docs-dist/components__radio__radio.md.js +999 -1
- package/docs-dist/components__rate__rate.md.js +851 -1
- package/docs-dist/components__result__result.md.js +681 -1
- package/docs-dist/components__select__select.md.js +2081 -1
- package/docs-dist/components__slider__slider.md.js +1053 -1
- package/docs-dist/components__space__space.md.js +746 -1
- package/docs-dist/components__spin__spin.md.js +730 -1
- package/docs-dist/components__statistic__statistic.md.js +827 -1
- package/docs-dist/components__steps__steps.md.js +1097 -1
- package/docs-dist/components__switch__switch.md.js +763 -1
- package/docs-dist/components__table__table.md.js +3692 -1
- package/docs-dist/components__tabs__tabs.md.js +1213 -1
- package/docs-dist/components__tag__tag.md.js +779 -1
- package/docs-dist/components__time-picker__time-picker.md.js +1232 -1
- package/docs-dist/components__timeline__timeline.md.js +799 -1
- package/docs-dist/components__tooltip__tooltip.md.js +888 -1
- package/docs-dist/components__transfer__transfer.md.js +1226 -1
- package/docs-dist/components__tree-select__tree-select.md.js +1042 -1
- package/docs-dist/components__typography__typography.md.js +1793 -1
- package/docs-dist/components__upload__upload.md.js +1798 -1
- package/docs-dist/demos_bmurcdaerb.js +603 -1
- package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +1 -1
- package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js +21570 -1
- package/docs-dist/demos_citsitats.js +549 -1
- package/docs-dist/demos_daolpu.chunk.css +1 -1
- package/docs-dist/demos_daolpu.js +22680 -1
- package/docs-dist/demos_dirg.js +47 -1
- package/docs-dist/demos_drac.js +748 -1
- package/docs-dist/demos_ecaps.js +529 -1
- package/docs-dist/demos_egami.js +153 -1
- package/docs-dist/demos_egassem.js +187 -1
- package/docs-dist/demos_egdab.js +872 -1
- package/docs-dist/demos_elbat.chunk.css +1 -1
- package/docs-dist/demos_elbat.js +27626 -1
- package/docs-dist/demos_enilemit.js +627 -1
- package/docs-dist/demos_espalloc.js +705 -1
- package/docs-dist/demos_etar.js +547 -1
- package/docs-dist/demos_etelpmoc-otua.js +613 -1
- package/docs-dist/demos_gat.js +487 -1
- package/docs-dist/demos_hctiws.js +439 -1
- package/docs-dist/demos_ladom.js +791 -1
- package/docs-dist/demos_lesuorac.js +193 -1
- package/docs-dist/demos_mrifnocpop.js +671 -1
- package/docs-dist/demos_mrof.js +3082 -1
- package/docs-dist/demos_nips.js +461 -1
- package/docs-dist/demos_noitacifiton.js +765 -1
- package/docs-dist/demos_noitanigap.js +233 -1
- package/docs-dist/demos_nottub.js +847 -1
- package/docs-dist/demos_nwodpord.js +965 -1
- package/docs-dist/demos_oidar.js +340 -1
- package/docs-dist/demos_pitloot.js +204 -1
- package/docs-dist/demos_pot-kcab.js +62 -1
- package/docs-dist/demos_radnelac.js +285 -1
- package/docs-dist/demos_ratava.js +647 -1
- package/docs-dist/demos_rebmun-tupni.js +209 -1
- package/docs-dist/demos_redacsac.js +576 -1
- package/docs-dist/demos_redaeh-egap.js +761 -1
- package/docs-dist/demos_redils.js +659 -1
- package/docs-dist/demos_redivid.js +167 -1
- package/docs-dist/demos_redivorp-gifnoc.js +2154 -1
- package/docs-dist/demos_refsnart.js +774 -1
- package/docs-dist/demos_rekcip-emit.js +183 -1
- package/docs-dist/demos_rekcip-etad.js +469 -1
- package/docs-dist/demos_revopop.js +335 -1
- package/docs-dist/demos_reward.js +484 -1
- package/docs-dist/demos_rohcna.js +194 -1
- package/docs-dist/demos_sbat.chunk.css +1 -1
- package/docs-dist/demos_sbat.js +22358 -1
- package/docs-dist/demos_snoitnem.js +202 -1
- package/docs-dist/demos_snoitpircsed.js +351 -1
- package/docs-dist/demos_spets.js +910 -1
- package/docs-dist/demos_ssergorp.js +698 -1
- package/docs-dist/demos_tceles.js +1416 -1
- package/docs-dist/demos_tluser.js +530 -1
- package/docs-dist/demos_tnemmoc.js +560 -1
- package/docs-dist/demos_trela.js +341 -1
- package/docs-dist/demos_tsil.js +603 -1
- package/docs-dist/demos_tuoyal.js +872 -1
- package/docs-dist/demos_tupni.js +1245 -1
- package/docs-dist/demos_unem.js +1012 -1
- package/docs-dist/demos_xiffa.js +93 -1
- package/docs-dist/demos_xobkcehc.js +186 -1
- package/docs-dist/demos_yhpargopyt.js +798 -1
- package/docs-dist/demos_ytpme.js +433 -1
- package/docs-dist/docs__document__getting-started.md.js +193 -1
- package/docs-dist/docs__document__introduce.md.js +441 -1
- package/docs-dist/docs__document__practical-projects.md.js +117 -1
- package/docs-dist/docs__index.md.js +27 -1
- package/docs-dist/docs__story__index.md.js +89 -1
- package/docs-dist/dumi_demos.js +456 -1
- package/docs-dist/umi.js +28727 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js +2590 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js +8970 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js +2619 -1
- package/docs-dist/vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js +57323 -1
- package/docs-dist/vendors~demos_daolpu~demos_elbat.js +1649 -1
- package/docs-dist/vendors~demos_daolpu~demos_elbat~demos_sbat.js +4169 -1
- package/docs-dist/vendors~demos_gat.js +4673 -1
- package/docs-dist/vendors~demos_ladom.js +1855 -1
- package/docs-dist/vendors~demos_redivorp-gifnoc.js +9666 -1
- package/docs-dist/vendors~demos_sbat.js +1601 -1
- package/docs-dist/vendors~demos_trela.js +1722 -1
- package/docs-dist/vendors~demos_tsil.js +4970 -1
- package/docs-dist/vendors~demos_tuoyal.js +748 -1
- package/docs-dist/vendors~wrappers.js +1360 -1
- package/docs-dist/wrappers.js +21 -1
- package/es/drawer/style/drawer.less +8 -4
- package/es/drawer/style/index.css +1 -1
- package/es/style/themes/default.less +57 -29
- package/lib/drawer/style/drawer.less +8 -4
- package/lib/drawer/style/index.css +1 -1
- package/lib/style/themes/default.less +57 -29
- package/package.json +1 -1
- package/report.html +1 -1
package/docs-dist/demos_tsil.js
CHANGED
@@ -1 +1,603 @@
|
|
1
|
-
(window[
|
1
|
+
(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
|
2
|
+
[120],
|
3
|
+
{
|
4
|
+
1: function (e, t) {},
|
5
|
+
'2Cgg': function (e, t, a) {
|
6
|
+
'use strict';
|
7
|
+
a.r(t);
|
8
|
+
var n = a('tJVT'),
|
9
|
+
r = a('q1tI'),
|
10
|
+
l = a.n(r),
|
11
|
+
i = a('m/eG'),
|
12
|
+
o = a('Z63m'),
|
13
|
+
c = a.n(o),
|
14
|
+
s = a('RotF'),
|
15
|
+
m = a.n(s),
|
16
|
+
d = () => {
|
17
|
+
var e = Object(r['useState'])([]),
|
18
|
+
t = Object(n['a'])(e, 2),
|
19
|
+
a = t[0],
|
20
|
+
o = t[1],
|
21
|
+
s = Object(r['useState'])(!1),
|
22
|
+
d = Object(n['a'])(s, 2),
|
23
|
+
u = d[0],
|
24
|
+
g = d[1],
|
25
|
+
p = Object(r['useState'])(!0),
|
26
|
+
E = Object(n['a'])(p, 2),
|
27
|
+
h = E[0],
|
28
|
+
f = E[1],
|
29
|
+
v =
|
30
|
+
'https://randomuser.me/api/?results=5&inc=name,gender,email,nat&noinfo',
|
31
|
+
b = (e) => {
|
32
|
+
c()({
|
33
|
+
url: v,
|
34
|
+
type: 'json',
|
35
|
+
method: 'get',
|
36
|
+
contentType: 'application/json',
|
37
|
+
success: (t) => {
|
38
|
+
e(t);
|
39
|
+
},
|
40
|
+
});
|
41
|
+
};
|
42
|
+
Object(r['useEffect'])(() => {
|
43
|
+
b((e) => {
|
44
|
+
o(e.results);
|
45
|
+
});
|
46
|
+
}, []);
|
47
|
+
var j = () => {
|
48
|
+
if ((g(!0), a.length > 14))
|
49
|
+
return (
|
50
|
+
i['jb'].warning('Infinite List loaded all'), f(!1), void g(!1)
|
51
|
+
);
|
52
|
+
b((e) => {
|
53
|
+
(a = a.concat(e.results)), o(a), g(!1);
|
54
|
+
});
|
55
|
+
};
|
56
|
+
return l.a.createElement(
|
57
|
+
'div',
|
58
|
+
{ className: 'demo-infinite-container' },
|
59
|
+
l.a.createElement(
|
60
|
+
m.a,
|
61
|
+
{
|
62
|
+
initialLoad: !1,
|
63
|
+
pageStart: 0,
|
64
|
+
loadMore: j,
|
65
|
+
hasMore: !u && h,
|
66
|
+
useWindow: !1,
|
67
|
+
},
|
68
|
+
l.a.createElement(
|
69
|
+
i['D'],
|
70
|
+
{
|
71
|
+
dataSource: a,
|
72
|
+
renderItem: (e) =>
|
73
|
+
l.a.createElement(
|
74
|
+
i['D'].Item,
|
75
|
+
{ key: e.id },
|
76
|
+
l.a.createElement(i['D'].Item.Meta, {
|
77
|
+
avatar: l.a.createElement(i['e'], {
|
78
|
+
src: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
|
79
|
+
}),
|
80
|
+
title: l.a.createElement(
|
81
|
+
'a',
|
82
|
+
{ href: 'https://ant.design' },
|
83
|
+
e.name.last,
|
84
|
+
),
|
85
|
+
description: e.email,
|
86
|
+
}),
|
87
|
+
l.a.createElement('div', null, 'Content'),
|
88
|
+
),
|
89
|
+
},
|
90
|
+
u &&
|
91
|
+
h &&
|
92
|
+
l.a.createElement(
|
93
|
+
'div',
|
94
|
+
{ className: 'demo-loading-container' },
|
95
|
+
l.a.createElement(i['U'], null),
|
96
|
+
),
|
97
|
+
),
|
98
|
+
),
|
99
|
+
);
|
100
|
+
};
|
101
|
+
t['default'] = d;
|
102
|
+
},
|
103
|
+
'9Rqo': function (e, t, a) {
|
104
|
+
'use strict';
|
105
|
+
a.r(t);
|
106
|
+
var n = a('tJVT'),
|
107
|
+
r = a('q1tI'),
|
108
|
+
l = a.n(r),
|
109
|
+
i = a('m/eG'),
|
110
|
+
o = a('Z63m'),
|
111
|
+
c = a.n(o),
|
112
|
+
s = () => {
|
113
|
+
var e = Object(r['useState'])(!0),
|
114
|
+
t = Object(n['a'])(e, 2),
|
115
|
+
a = t[0],
|
116
|
+
o = t[1],
|
117
|
+
s = Object(r['useState'])(!0),
|
118
|
+
m = Object(n['a'])(s, 2),
|
119
|
+
d = m[0],
|
120
|
+
u = m[1],
|
121
|
+
g = Object(r['useState'])([]),
|
122
|
+
p = Object(n['a'])(g, 2),
|
123
|
+
E = p[0],
|
124
|
+
h = p[1],
|
125
|
+
f = Object(r['useState'])([]),
|
126
|
+
v = Object(n['a'])(f, 2),
|
127
|
+
b = v[0],
|
128
|
+
j = v[1],
|
129
|
+
D = 3,
|
130
|
+
y = 'https://randomuser.me/api/?results='.concat(
|
131
|
+
D,
|
132
|
+
'&inc=name,gender,email,nat&noinfo',
|
133
|
+
);
|
134
|
+
Object(r['useEffect'])(() => {
|
135
|
+
T((e) => {
|
136
|
+
o(!1), h(e.results), j(e.results);
|
137
|
+
});
|
138
|
+
}, []),
|
139
|
+
Object(r['useEffect'])(() => {
|
140
|
+
d || window.dispatchEvent(new Event('resize'));
|
141
|
+
}, [d]);
|
142
|
+
var T = (e) => {
|
143
|
+
c()({
|
144
|
+
url: y,
|
145
|
+
type: 'json',
|
146
|
+
method: 'get',
|
147
|
+
contentType: 'application/json',
|
148
|
+
success: (t) => {
|
149
|
+
e(t);
|
150
|
+
},
|
151
|
+
});
|
152
|
+
},
|
153
|
+
S = () => {
|
154
|
+
var e = new Array(D);
|
155
|
+
e = e.map(() => ({ loading: !0, name: {} }));
|
156
|
+
var t = E.concat(e);
|
157
|
+
u(!0),
|
158
|
+
j(t),
|
159
|
+
T((e) => {
|
160
|
+
var t = E.concat(e.results);
|
161
|
+
h(E), j(t), u(!1);
|
162
|
+
});
|
163
|
+
},
|
164
|
+
w =
|
165
|
+
a || d
|
166
|
+
? null
|
167
|
+
: l.a.createElement(
|
168
|
+
'div',
|
169
|
+
{
|
170
|
+
style: {
|
171
|
+
textAlign: 'center',
|
172
|
+
marginTop: 12,
|
173
|
+
height: 32,
|
174
|
+
lineHeight: '32px',
|
175
|
+
},
|
176
|
+
},
|
177
|
+
l.a.createElement(i['i'], { onClick: S }, 'loading more'),
|
178
|
+
);
|
179
|
+
return l.a.createElement(i['D'], {
|
180
|
+
className: 'demo-loadmore-list',
|
181
|
+
loading: a,
|
182
|
+
itemLayout: 'horizontal',
|
183
|
+
loadMore: w,
|
184
|
+
dataSource: b,
|
185
|
+
renderItem: (e) =>
|
186
|
+
l.a.createElement(
|
187
|
+
i['D'].Item,
|
188
|
+
{
|
189
|
+
actions: [
|
190
|
+
l.a.createElement(
|
191
|
+
'a',
|
192
|
+
{ key: 'list-loadmore-edit' },
|
193
|
+
'edit',
|
194
|
+
),
|
195
|
+
l.a.createElement(
|
196
|
+
'a',
|
197
|
+
{ key: 'list-loadmore-more' },
|
198
|
+
'more',
|
199
|
+
),
|
200
|
+
],
|
201
|
+
},
|
202
|
+
l.a.createElement(
|
203
|
+
i['R'],
|
204
|
+
{ avatar: !0, title: !1, loading: e.loading, active: !0 },
|
205
|
+
l.a.createElement(i['D'].Item.Meta, {
|
206
|
+
avatar: l.a.createElement(i['e'], {
|
207
|
+
src: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
|
208
|
+
}),
|
209
|
+
title: l.a.createElement(
|
210
|
+
'a',
|
211
|
+
{ href: 'https://ant.design' },
|
212
|
+
e.name.last,
|
213
|
+
),
|
214
|
+
description:
|
215
|
+
'Ant Design, a design language for background applications, is refined by Ant UED Team',
|
216
|
+
}),
|
217
|
+
l.a.createElement('div', null, 'content'),
|
218
|
+
),
|
219
|
+
),
|
220
|
+
});
|
221
|
+
};
|
222
|
+
t['default'] = s;
|
223
|
+
},
|
224
|
+
Mreb: function (e, t, a) {
|
225
|
+
'use strict';
|
226
|
+
a.r(t);
|
227
|
+
var n = a('tJVT'),
|
228
|
+
r = a('q1tI'),
|
229
|
+
l = a.n(r),
|
230
|
+
i = a('m/eG'),
|
231
|
+
o = a('Z63m'),
|
232
|
+
c = a.n(o),
|
233
|
+
s = a('/qfL'),
|
234
|
+
m = a.n(s),
|
235
|
+
d = a('QWsV'),
|
236
|
+
u = a.n(d),
|
237
|
+
g = a('b9ZJ'),
|
238
|
+
p = a.n(g),
|
239
|
+
E = a('tT7Z'),
|
240
|
+
h = a.n(E),
|
241
|
+
f = () => {
|
242
|
+
var e =
|
243
|
+
'https://randomuser.me/api/?results=5&inc=name,gender,email,nat&noinfo',
|
244
|
+
t = Object(r['useState'])([]),
|
245
|
+
a = Object(n['a'])(t, 2),
|
246
|
+
o = a[0],
|
247
|
+
s = a[1],
|
248
|
+
d = Object(r['useState'])(!1),
|
249
|
+
g = Object(n['a'])(d, 2),
|
250
|
+
E = g[0],
|
251
|
+
f = g[1],
|
252
|
+
v = [];
|
253
|
+
Object(r['useEffect'])(() => {
|
254
|
+
b((e) => {
|
255
|
+
s(e.results);
|
256
|
+
});
|
257
|
+
}, []);
|
258
|
+
var b = (t) => {
|
259
|
+
c()({
|
260
|
+
url: e,
|
261
|
+
type: 'json',
|
262
|
+
method: 'get',
|
263
|
+
contentType: 'application/json',
|
264
|
+
success: (e) => {
|
265
|
+
t(e);
|
266
|
+
},
|
267
|
+
});
|
268
|
+
},
|
269
|
+
j = (e) => {
|
270
|
+
var t = e.startIndex,
|
271
|
+
a = e.stopIndex;
|
272
|
+
f(!0);
|
273
|
+
for (var n = t; n <= a; n++) v[n] = 1;
|
274
|
+
if (o.length > 19)
|
275
|
+
return (
|
276
|
+
i['jb'].warning('Virtualized List loaded all'), void f(!1)
|
277
|
+
);
|
278
|
+
b((e) => {
|
279
|
+
(o = o.concat(e.results)), s(o), f(!1);
|
280
|
+
});
|
281
|
+
},
|
282
|
+
D = (e) => {
|
283
|
+
var t = e.index;
|
284
|
+
return !!v[t];
|
285
|
+
},
|
286
|
+
y = (e) => {
|
287
|
+
var t = e.index,
|
288
|
+
a = e.key,
|
289
|
+
n = e.style,
|
290
|
+
r = o[t];
|
291
|
+
return l.a.createElement(
|
292
|
+
i['D'].Item,
|
293
|
+
{ key: a, style: n },
|
294
|
+
l.a.createElement(i['D'].Item.Meta, {
|
295
|
+
avatar: l.a.createElement(i['e'], {
|
296
|
+
src: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
|
297
|
+
}),
|
298
|
+
title: l.a.createElement(
|
299
|
+
'a',
|
300
|
+
{ href: 'https://ant.design' },
|
301
|
+
r.name.last,
|
302
|
+
),
|
303
|
+
description: r.email,
|
304
|
+
}),
|
305
|
+
l.a.createElement('div', null, 'Content'),
|
306
|
+
);
|
307
|
+
},
|
308
|
+
T = (e) => {
|
309
|
+
var t = e.height,
|
310
|
+
a = e.isScrolling,
|
311
|
+
n = e.onChildScroll,
|
312
|
+
r = e.scrollTop,
|
313
|
+
i = e.onRowsRendered,
|
314
|
+
c = e.width;
|
315
|
+
return l.a.createElement(p.a, {
|
316
|
+
autoHeight: !0,
|
317
|
+
height: t,
|
318
|
+
isScrolling: a,
|
319
|
+
onScroll: n,
|
320
|
+
overscanRowCount: 2,
|
321
|
+
rowCount: o.length,
|
322
|
+
rowHeight: 73,
|
323
|
+
rowRenderer: y,
|
324
|
+
onRowsRendered: i,
|
325
|
+
scrollTop: r,
|
326
|
+
width: c,
|
327
|
+
});
|
328
|
+
},
|
329
|
+
S = (e) => {
|
330
|
+
var t = e.height,
|
331
|
+
a = e.isScrolling,
|
332
|
+
n = e.onChildScroll,
|
333
|
+
r = e.scrollTop,
|
334
|
+
i = e.onRowsRendered;
|
335
|
+
return l.a.createElement(u.a, { disableHeight: !0 }, (e) => {
|
336
|
+
var l = e.width;
|
337
|
+
return T({
|
338
|
+
height: t,
|
339
|
+
isScrolling: a,
|
340
|
+
onChildScroll: n,
|
341
|
+
scrollTop: r,
|
342
|
+
onRowsRendered: i,
|
343
|
+
width: l,
|
344
|
+
});
|
345
|
+
});
|
346
|
+
},
|
347
|
+
w = (e) => {
|
348
|
+
var t = e.height,
|
349
|
+
a = e.isScrolling,
|
350
|
+
n = e.onChildScroll,
|
351
|
+
r = e.scrollTop;
|
352
|
+
return l.a.createElement(
|
353
|
+
h.a,
|
354
|
+
{ isRowLoaded: D, loadMoreRows: j, rowCount: o.length },
|
355
|
+
(e) => {
|
356
|
+
var l = e.onRowsRendered;
|
357
|
+
return S({
|
358
|
+
height: t,
|
359
|
+
isScrolling: a,
|
360
|
+
onChildScroll: n,
|
361
|
+
scrollTop: r,
|
362
|
+
onRowsRendered: l,
|
363
|
+
});
|
364
|
+
},
|
365
|
+
);
|
366
|
+
};
|
367
|
+
return l.a.createElement(
|
368
|
+
i['D'],
|
369
|
+
null,
|
370
|
+
o.length > 0 && l.a.createElement(m.a, null, w),
|
371
|
+
E && l.a.createElement(i['U'], { className: 'demo-loading' }),
|
372
|
+
);
|
373
|
+
};
|
374
|
+
t['default'] = f;
|
375
|
+
},
|
376
|
+
SR7j: function (e, t, a) {
|
377
|
+
'use strict';
|
378
|
+
a.r(t);
|
379
|
+
var n = a('q1tI'),
|
380
|
+
r = a.n(n),
|
381
|
+
l = a('m/eG'),
|
382
|
+
i = a('Tm+p'),
|
383
|
+
o = a('BtR2'),
|
384
|
+
c = a('WhZy'),
|
385
|
+
s = () => {
|
386
|
+
for (var e = [], t = 0; t < 23; t++)
|
387
|
+
e.push({
|
388
|
+
href: 'https://ant.design',
|
389
|
+
title: 'ant design part '.concat(t),
|
390
|
+
avatar:
|
391
|
+
'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
|
392
|
+
description:
|
393
|
+
'Ant Design, a design language for background applications, is refined by Ant UED Team.',
|
394
|
+
content:
|
395
|
+
'We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently.',
|
396
|
+
});
|
397
|
+
var a = (e) => {
|
398
|
+
var t = e.icon,
|
399
|
+
a = e.text;
|
400
|
+
return r.a.createElement(l['T'], null, r.a.createElement(t), a);
|
401
|
+
};
|
402
|
+
return r.a.createElement(l['D'], {
|
403
|
+
itemLayout: 'vertical',
|
404
|
+
size: 'large',
|
405
|
+
pagination: {
|
406
|
+
onChange: (e) => {
|
407
|
+
console.log(e);
|
408
|
+
},
|
409
|
+
pageSize: 3,
|
410
|
+
},
|
411
|
+
dataSource: e,
|
412
|
+
footer: r.a.createElement(
|
413
|
+
'div',
|
414
|
+
null,
|
415
|
+
r.a.createElement('b', null, 'ant design'),
|
416
|
+
' footer part',
|
417
|
+
),
|
418
|
+
renderItem: (e) =>
|
419
|
+
r.a.createElement(
|
420
|
+
l['D'].Item,
|
421
|
+
{
|
422
|
+
key: e.title,
|
423
|
+
actions: [
|
424
|
+
r.a.createElement(a, {
|
425
|
+
icon: i['a'],
|
426
|
+
text: '156',
|
427
|
+
key: 'list-vertical-star-o',
|
428
|
+
}),
|
429
|
+
r.a.createElement(a, {
|
430
|
+
icon: o['a'],
|
431
|
+
text: '156',
|
432
|
+
key: 'list-vertical-like-o',
|
433
|
+
}),
|
434
|
+
r.a.createElement(a, {
|
435
|
+
icon: c['a'],
|
436
|
+
text: '2',
|
437
|
+
key: 'list-vertical-message',
|
438
|
+
}),
|
439
|
+
],
|
440
|
+
extra: r.a.createElement('img', {
|
441
|
+
width: 272,
|
442
|
+
alt: 'logo',
|
443
|
+
src: 'https://gw.alipayobjects.com/zos/rmsportal/mqaQswcyDLcXyDKnZfES.png',
|
444
|
+
}),
|
445
|
+
},
|
446
|
+
r.a.createElement(l['D'].Item.Meta, {
|
447
|
+
avatar: r.a.createElement(l['e'], { src: e.avatar }),
|
448
|
+
title: r.a.createElement('a', { href: e.href }, e.title),
|
449
|
+
description: e.description,
|
450
|
+
}),
|
451
|
+
e.content,
|
452
|
+
),
|
453
|
+
});
|
454
|
+
};
|
455
|
+
t['default'] = s;
|
456
|
+
},
|
457
|
+
Zj98: function (e, t, a) {
|
458
|
+
'use strict';
|
459
|
+
a.r(t);
|
460
|
+
var n = a('q1tI'),
|
461
|
+
r = a.n(n),
|
462
|
+
l = a('m/eG'),
|
463
|
+
i = () => {
|
464
|
+
var e = [
|
465
|
+
{ title: 'Ant Design Title 1' },
|
466
|
+
{ title: 'Ant Design Title 2' },
|
467
|
+
{ title: 'Ant Design Title 3' },
|
468
|
+
{ title: 'Ant Design Title 4' },
|
469
|
+
];
|
470
|
+
return r.a.createElement(l['D'], {
|
471
|
+
itemLayout: 'horizontal',
|
472
|
+
dataSource: e,
|
473
|
+
renderItem: (e) =>
|
474
|
+
r.a.createElement(
|
475
|
+
l['D'].Item,
|
476
|
+
null,
|
477
|
+
r.a.createElement(l['D'].Item.Meta, {
|
478
|
+
avatar: r.a.createElement(l['e'], {
|
479
|
+
src: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
|
480
|
+
}),
|
481
|
+
title: r.a.createElement(
|
482
|
+
'a',
|
483
|
+
{ href: 'https://ant.design' },
|
484
|
+
e.title,
|
485
|
+
),
|
486
|
+
description:
|
487
|
+
'Ant Design, a design language for background applications, is refined by Ant UED Team',
|
488
|
+
}),
|
489
|
+
),
|
490
|
+
});
|
491
|
+
};
|
492
|
+
t['default'] = i;
|
493
|
+
},
|
494
|
+
alQI: function (e, t, a) {
|
495
|
+
'use strict';
|
496
|
+
a.r(t);
|
497
|
+
var n = a('q1tI'),
|
498
|
+
r = a.n(n),
|
499
|
+
l = a('m/eG'),
|
500
|
+
i = () => {
|
501
|
+
var e = [
|
502
|
+
{ title: 'Title 1' },
|
503
|
+
{ title: 'Title 2' },
|
504
|
+
{ title: 'Title 3' },
|
505
|
+
{ title: 'Title 4' },
|
506
|
+
];
|
507
|
+
return r.a.createElement(l['D'], {
|
508
|
+
grid: { gutter: 16, column: 4 },
|
509
|
+
dataSource: e,
|
510
|
+
renderItem: (e) =>
|
511
|
+
r.a.createElement(
|
512
|
+
l['D'].Item,
|
513
|
+
null,
|
514
|
+
r.a.createElement(l['k'], { title: e.title }, 'Card content'),
|
515
|
+
),
|
516
|
+
});
|
517
|
+
};
|
518
|
+
t['default'] = i;
|
519
|
+
},
|
520
|
+
atzb: function (e, t, a) {
|
521
|
+
'use strict';
|
522
|
+
a.r(t);
|
523
|
+
var n = a('q1tI'),
|
524
|
+
r = a.n(n),
|
525
|
+
l = a('m/eG'),
|
526
|
+
i = () => {
|
527
|
+
var e = [
|
528
|
+
{ title: 'Title 1' },
|
529
|
+
{ title: 'Title 2' },
|
530
|
+
{ title: 'Title 3' },
|
531
|
+
{ title: 'Title 4' },
|
532
|
+
{ title: 'Title 5' },
|
533
|
+
{ title: 'Title 6' },
|
534
|
+
];
|
535
|
+
return r.a.createElement(l['D'], {
|
536
|
+
grid: { gutter: 16, xs: 1, sm: 2, md: 4, lg: 4, xl: 6, xxl: 3 },
|
537
|
+
dataSource: e,
|
538
|
+
renderItem: (e) =>
|
539
|
+
r.a.createElement(
|
540
|
+
l['D'].Item,
|
541
|
+
null,
|
542
|
+
r.a.createElement(l['k'], { title: e.title }, 'Card content'),
|
543
|
+
),
|
544
|
+
});
|
545
|
+
};
|
546
|
+
t['default'] = i;
|
547
|
+
},
|
548
|
+
eybj: function (e, t, a) {
|
549
|
+
'use strict';
|
550
|
+
a.r(t);
|
551
|
+
var n = a('q1tI'),
|
552
|
+
r = a.n(n),
|
553
|
+
l = a('m/eG'),
|
554
|
+
i = () => {
|
555
|
+
var e = [
|
556
|
+
'Racing car sprays burning fuel into crowd.',
|
557
|
+
'Japanese princess to wed commoner.',
|
558
|
+
'Australian walks 100km after outback crash.',
|
559
|
+
'Man charged over missing wedding girl.',
|
560
|
+
'Los Angeles battles huge wildfires.',
|
561
|
+
];
|
562
|
+
return r.a.createElement(
|
563
|
+
r.a.Fragment,
|
564
|
+
null,
|
565
|
+
r.a.createElement(l['u'], { orientation: 'left' }, 'Default Size'),
|
566
|
+
r.a.createElement(l['D'], {
|
567
|
+
header: r.a.createElement('div', null, 'Header'),
|
568
|
+
footer: r.a.createElement('div', null, 'Footer'),
|
569
|
+
bordered: !0,
|
570
|
+
dataSource: e,
|
571
|
+
renderItem: (e) =>
|
572
|
+
r.a.createElement(
|
573
|
+
l['D'].Item,
|
574
|
+
null,
|
575
|
+
r.a.createElement(l['hb'].Text, { mark: !0 }, '[ITEM]'),
|
576
|
+
' ',
|
577
|
+
e,
|
578
|
+
),
|
579
|
+
}),
|
580
|
+
r.a.createElement(l['u'], { orientation: 'left' }, 'Small Size'),
|
581
|
+
r.a.createElement(l['D'], {
|
582
|
+
size: 'small',
|
583
|
+
header: r.a.createElement('div', null, 'Header'),
|
584
|
+
footer: r.a.createElement('div', null, 'Footer'),
|
585
|
+
bordered: !0,
|
586
|
+
dataSource: e,
|
587
|
+
renderItem: (e) => r.a.createElement(l['D'].Item, null, e),
|
588
|
+
}),
|
589
|
+
r.a.createElement(l['u'], { orientation: 'left' }, 'Large Size'),
|
590
|
+
r.a.createElement(l['D'], {
|
591
|
+
size: 'large',
|
592
|
+
header: r.a.createElement('div', null, 'Header'),
|
593
|
+
footer: r.a.createElement('div', null, 'Footer'),
|
594
|
+
bordered: !0,
|
595
|
+
dataSource: e,
|
596
|
+
renderItem: (e) => r.a.createElement(l['D'].Item, null, e),
|
597
|
+
}),
|
598
|
+
);
|
599
|
+
};
|
600
|
+
t['default'] = i;
|
601
|
+
},
|
602
|
+
},
|
603
|
+
]);
|