@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
@@ -1 +1,285 @@
|
|
1
|
-
(window[
|
1
|
+
(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
|
2
|
+
[97],
|
3
|
+
{
|
4
|
+
'0oSd': function (e, t, a) {
|
5
|
+
'use strict';
|
6
|
+
a.r(t);
|
7
|
+
var n = a('q1tI'),
|
8
|
+
r = a.n(n),
|
9
|
+
l = a('m/eG'),
|
10
|
+
c = () => {
|
11
|
+
var e = (e, t) => {
|
12
|
+
console.log(e, t);
|
13
|
+
};
|
14
|
+
return r.a.createElement(
|
15
|
+
'div',
|
16
|
+
{ className: 'site-calendar-customize-header-wrapper' },
|
17
|
+
r.a.createElement(l['j'], {
|
18
|
+
fullscreen: !1,
|
19
|
+
headerRender: (e) => {
|
20
|
+
for (
|
21
|
+
var t = e.value,
|
22
|
+
a = e.type,
|
23
|
+
n = e.onChange,
|
24
|
+
c = e.onTypeChange,
|
25
|
+
s = 0,
|
26
|
+
o = 12,
|
27
|
+
u = [],
|
28
|
+
i = t.clone(),
|
29
|
+
m = t.localeData(),
|
30
|
+
v = [],
|
31
|
+
h = 0;
|
32
|
+
h < 12;
|
33
|
+
h++
|
34
|
+
)
|
35
|
+
i.month(h), v.push(m.monthsShort(i));
|
36
|
+
for (var d = s; d < o; d++)
|
37
|
+
u.push(
|
38
|
+
r.a.createElement(
|
39
|
+
l['Q'].Option,
|
40
|
+
{ className: 'month-item', key: ''.concat(d), value: '' },
|
41
|
+
v[d],
|
42
|
+
),
|
43
|
+
);
|
44
|
+
for (
|
45
|
+
var p = t.month(), E = t.year(), g = [], y = E - 10;
|
46
|
+
y < E + 10;
|
47
|
+
y += 1
|
48
|
+
)
|
49
|
+
g.push(
|
50
|
+
r.a.createElement(
|
51
|
+
l['Q'].Option,
|
52
|
+
{ key: y, value: y, className: 'year-item' },
|
53
|
+
y,
|
54
|
+
),
|
55
|
+
);
|
56
|
+
return r.a.createElement(
|
57
|
+
'div',
|
58
|
+
{ style: { padding: 8 } },
|
59
|
+
r.a.createElement(
|
60
|
+
l['hb'].Title,
|
61
|
+
{ level: 4 },
|
62
|
+
'Custom header',
|
63
|
+
),
|
64
|
+
r.a.createElement(
|
65
|
+
l['P'],
|
66
|
+
{ gutter: 8 },
|
67
|
+
r.a.createElement(
|
68
|
+
l['o'],
|
69
|
+
null,
|
70
|
+
r.a.createElement(
|
71
|
+
l['M'].Group,
|
72
|
+
{
|
73
|
+
size: 'small',
|
74
|
+
onChange: (e) => c(e.target.value),
|
75
|
+
value: a,
|
76
|
+
},
|
77
|
+
r.a.createElement(
|
78
|
+
l['M'].Button,
|
79
|
+
{ value: 'month' },
|
80
|
+
'Month',
|
81
|
+
),
|
82
|
+
r.a.createElement(
|
83
|
+
l['M'].Button,
|
84
|
+
{ value: 'year' },
|
85
|
+
'Year',
|
86
|
+
),
|
87
|
+
),
|
88
|
+
),
|
89
|
+
r.a.createElement(
|
90
|
+
l['o'],
|
91
|
+
null,
|
92
|
+
r.a.createElement(
|
93
|
+
l['Q'],
|
94
|
+
{
|
95
|
+
size: 'small',
|
96
|
+
dropdownMatchSelectWidth: !1,
|
97
|
+
className: 'my-year-select',
|
98
|
+
onChange: (e) => {
|
99
|
+
var a = t.clone().year(e);
|
100
|
+
n(a);
|
101
|
+
},
|
102
|
+
value: Number(E),
|
103
|
+
},
|
104
|
+
g,
|
105
|
+
),
|
106
|
+
),
|
107
|
+
r.a.createElement(
|
108
|
+
l['o'],
|
109
|
+
null,
|
110
|
+
r.a.createElement(
|
111
|
+
l['Q'],
|
112
|
+
{
|
113
|
+
size: 'small',
|
114
|
+
dropdownMatchSelectWidth: !1,
|
115
|
+
value: String(p),
|
116
|
+
onChange: (e) => {
|
117
|
+
var a = t.clone();
|
118
|
+
a.month(parseInt(e, 10)), n(a);
|
119
|
+
},
|
120
|
+
},
|
121
|
+
u,
|
122
|
+
),
|
123
|
+
),
|
124
|
+
),
|
125
|
+
);
|
126
|
+
},
|
127
|
+
onPanelChange: e,
|
128
|
+
}),
|
129
|
+
);
|
130
|
+
};
|
131
|
+
t['default'] = c;
|
132
|
+
},
|
133
|
+
DeiU: function (e, t, a) {
|
134
|
+
'use strict';
|
135
|
+
a.r(t);
|
136
|
+
var n = a('q1tI'),
|
137
|
+
r = a.n(n),
|
138
|
+
l = a('m/eG'),
|
139
|
+
c = () => {
|
140
|
+
var e = (e, t) => {
|
141
|
+
console.log(e.format('YYYY-MM-DD'), t);
|
142
|
+
};
|
143
|
+
return r.a.createElement(l['j'], { onPanelChange: e });
|
144
|
+
};
|
145
|
+
t['default'] = c;
|
146
|
+
},
|
147
|
+
SRcD: function (e, t, a) {
|
148
|
+
'use strict';
|
149
|
+
a.r(t);
|
150
|
+
var n = a('q1tI'),
|
151
|
+
r = a.n(n),
|
152
|
+
l = a('m/eG'),
|
153
|
+
c = () => {
|
154
|
+
var e = (e, t) => {
|
155
|
+
console.log(e, t);
|
156
|
+
};
|
157
|
+
return r.a.createElement(
|
158
|
+
'div',
|
159
|
+
{ className: 'site-calendar-demo-card' },
|
160
|
+
r.a.createElement(l['j'], { fullscreen: !1, onPanelChange: e }),
|
161
|
+
);
|
162
|
+
};
|
163
|
+
t['default'] = c;
|
164
|
+
},
|
165
|
+
YWQZ: function (e, t, a) {
|
166
|
+
'use strict';
|
167
|
+
a.r(t);
|
168
|
+
var n = a('tJVT'),
|
169
|
+
r = a('q1tI'),
|
170
|
+
l = a.n(r),
|
171
|
+
c = a('m/eG'),
|
172
|
+
s = a('wd/R'),
|
173
|
+
o = a.n(s),
|
174
|
+
u = () => {
|
175
|
+
var e = Object(r['useState'])(o()('2017-01-25')),
|
176
|
+
t = Object(n['a'])(e, 2),
|
177
|
+
a = t[0],
|
178
|
+
s = t[1],
|
179
|
+
u = Object(r['useState'])(o()('2017-01-25')),
|
180
|
+
i = Object(n['a'])(u, 2),
|
181
|
+
m = i[0],
|
182
|
+
v = i[1],
|
183
|
+
h = (e) => {
|
184
|
+
s(e), v(e);
|
185
|
+
},
|
186
|
+
d = (e) => {
|
187
|
+
s(e);
|
188
|
+
};
|
189
|
+
return l.a.createElement(
|
190
|
+
l.a.Fragment,
|
191
|
+
null,
|
192
|
+
l.a.createElement(c['b'], {
|
193
|
+
message: 'You selected date: '.concat(
|
194
|
+
m && m.format('YYYY-MM-DD'),
|
195
|
+
),
|
196
|
+
}),
|
197
|
+
l.a.createElement(c['j'], {
|
198
|
+
value: a,
|
199
|
+
onSelect: h,
|
200
|
+
onPanelChange: d,
|
201
|
+
}),
|
202
|
+
);
|
203
|
+
};
|
204
|
+
t['default'] = u;
|
205
|
+
},
|
206
|
+
hOXi: function (e, t, a) {
|
207
|
+
'use strict';
|
208
|
+
a.r(t);
|
209
|
+
var n = a('q1tI'),
|
210
|
+
r = a.n(n),
|
211
|
+
l = a('m/eG'),
|
212
|
+
c = () => {
|
213
|
+
var e = (e) => {
|
214
|
+
var t;
|
215
|
+
switch (e.date()) {
|
216
|
+
case 8:
|
217
|
+
t = [
|
218
|
+
{ type: 'warning', content: 'This is warning event.' },
|
219
|
+
{ type: 'success', content: 'This is usual event.' },
|
220
|
+
];
|
221
|
+
break;
|
222
|
+
case 10:
|
223
|
+
t = [
|
224
|
+
{ type: 'warning', content: 'This is warning event.' },
|
225
|
+
{ type: 'success', content: 'This is usual event.' },
|
226
|
+
{ type: 'error', content: 'This is error event.' },
|
227
|
+
];
|
228
|
+
break;
|
229
|
+
case 15:
|
230
|
+
t = [
|
231
|
+
{ type: 'warning', content: 'This is warning event' },
|
232
|
+
{
|
233
|
+
type: 'success',
|
234
|
+
content: 'This is very long usual event\u3002\u3002....',
|
235
|
+
},
|
236
|
+
{ type: 'error', content: 'This is error event 1.' },
|
237
|
+
{ type: 'error', content: 'This is error event 2.' },
|
238
|
+
{ type: 'error', content: 'This is error event 3.' },
|
239
|
+
{ type: 'error', content: 'This is error event 4.' },
|
240
|
+
];
|
241
|
+
break;
|
242
|
+
default:
|
243
|
+
}
|
244
|
+
return t || [];
|
245
|
+
},
|
246
|
+
t = (t) => {
|
247
|
+
var a = e(t);
|
248
|
+
return r.a.createElement(
|
249
|
+
'ul',
|
250
|
+
{ className: 'events' },
|
251
|
+
a.map((e) =>
|
252
|
+
r.a.createElement(
|
253
|
+
'li',
|
254
|
+
{ key: e.content },
|
255
|
+
r.a.createElement(l['g'], {
|
256
|
+
status: e.type,
|
257
|
+
text: e.content,
|
258
|
+
}),
|
259
|
+
),
|
260
|
+
),
|
261
|
+
);
|
262
|
+
},
|
263
|
+
a = (e) => {
|
264
|
+
if (8 === e.month()) return 1394;
|
265
|
+
},
|
266
|
+
n = (e) => {
|
267
|
+
var t = a(e);
|
268
|
+
return t
|
269
|
+
? r.a.createElement(
|
270
|
+
'div',
|
271
|
+
{ className: 'notes-month' },
|
272
|
+
r.a.createElement('section', null, t),
|
273
|
+
r.a.createElement('span', null, 'Backlog number'),
|
274
|
+
)
|
275
|
+
: null;
|
276
|
+
};
|
277
|
+
return r.a.createElement(l['j'], {
|
278
|
+
dateCellRender: t,
|
279
|
+
monthCellRender: n,
|
280
|
+
});
|
281
|
+
};
|
282
|
+
t['default'] = c;
|
283
|
+
},
|
284
|
+
},
|
285
|
+
]);
|