@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,183 @@
|
|
1
|
-
(window[
|
1
|
+
(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
|
2
|
+
[106],
|
3
|
+
{
|
4
|
+
'50eW': function (e, t, a) {
|
5
|
+
'use strict';
|
6
|
+
a.r(t);
|
7
|
+
var n = a('tJVT'),
|
8
|
+
r = a('q1tI'),
|
9
|
+
s = a.n(r),
|
10
|
+
l = a('m/eG'),
|
11
|
+
u = () => {
|
12
|
+
var e = Object(r['useState'])(null),
|
13
|
+
t = Object(n['a'])(e, 2),
|
14
|
+
a = t[0],
|
15
|
+
u = t[1],
|
16
|
+
m = (e) => {
|
17
|
+
u(e);
|
18
|
+
};
|
19
|
+
return s.a.createElement(l['bb'], { value: a, onChange: m });
|
20
|
+
};
|
21
|
+
t['default'] = u;
|
22
|
+
},
|
23
|
+
D9tG: function (e, t, a) {
|
24
|
+
'use strict';
|
25
|
+
a.r(t);
|
26
|
+
var n = a('q1tI'),
|
27
|
+
r = a.n(n),
|
28
|
+
s = a('m/eG'),
|
29
|
+
l = a('wd/R'),
|
30
|
+
u = a.n(l),
|
31
|
+
m = () => {
|
32
|
+
var e = 'HH:mm';
|
33
|
+
return r.a.createElement(s['bb'], {
|
34
|
+
defaultValue: u()('12:08', e),
|
35
|
+
format: e,
|
36
|
+
});
|
37
|
+
};
|
38
|
+
t['default'] = m;
|
39
|
+
},
|
40
|
+
'XZ/R': function (e, t, a) {
|
41
|
+
'use strict';
|
42
|
+
a.r(t);
|
43
|
+
var n = a('q1tI'),
|
44
|
+
r = a.n(n),
|
45
|
+
s = a('m/eG'),
|
46
|
+
l = a('wd/R'),
|
47
|
+
u = a.n(l),
|
48
|
+
m = () =>
|
49
|
+
r.a.createElement(
|
50
|
+
r.a.Fragment,
|
51
|
+
null,
|
52
|
+
r.a.createElement(s['bb'], {
|
53
|
+
defaultValue: u()('12:08:23', 'HH:mm:ss'),
|
54
|
+
size: 'large',
|
55
|
+
}),
|
56
|
+
r.a.createElement(s['bb'], {
|
57
|
+
defaultValue: u()('12:08:23', 'HH:mm:ss'),
|
58
|
+
}),
|
59
|
+
r.a.createElement(s['bb'], {
|
60
|
+
defaultValue: u()('12:08:23', 'HH:mm:ss'),
|
61
|
+
size: 'small',
|
62
|
+
}),
|
63
|
+
);
|
64
|
+
t['default'] = m;
|
65
|
+
},
|
66
|
+
ZCY4: function (e, t, a) {
|
67
|
+
'use strict';
|
68
|
+
a.r(t);
|
69
|
+
var n = a('q1tI'),
|
70
|
+
r = a.n(n),
|
71
|
+
s = a('m/eG'),
|
72
|
+
l = s['bb'].RangePicker,
|
73
|
+
u = () =>
|
74
|
+
r.a.createElement(
|
75
|
+
r.a.Fragment,
|
76
|
+
null,
|
77
|
+
r.a.createElement(s['bb'], { bordered: !1 }),
|
78
|
+
r.a.createElement(l, { bordered: !1 }),
|
79
|
+
);
|
80
|
+
t['default'] = u;
|
81
|
+
},
|
82
|
+
cXJ8: function (e, t, a) {
|
83
|
+
'use strict';
|
84
|
+
a.r(t);
|
85
|
+
var n = a('q1tI'),
|
86
|
+
r = a.n(n),
|
87
|
+
s = a('m/eG');
|
88
|
+
class l extends r.a.Component {
|
89
|
+
constructor() {
|
90
|
+
super(...arguments),
|
91
|
+
(this.state = { open: !1 }),
|
92
|
+
(this.handleOpenChange = (e) => {
|
93
|
+
this.setState({ open: e });
|
94
|
+
}),
|
95
|
+
(this.handleClose = () => this.setState({ open: !1 }));
|
96
|
+
}
|
97
|
+
render() {
|
98
|
+
return r.a.createElement(s['bb'], {
|
99
|
+
open: this.state.open,
|
100
|
+
onOpenChange: this.handleOpenChange,
|
101
|
+
renderExtraFooter: () =>
|
102
|
+
r.a.createElement(
|
103
|
+
s['i'],
|
104
|
+
{ size: 'small', type: 'primary', onClick: this.handleClose },
|
105
|
+
'Ok',
|
106
|
+
),
|
107
|
+
});
|
108
|
+
}
|
109
|
+
}
|
110
|
+
t['default'] = l;
|
111
|
+
},
|
112
|
+
d1sa: function (e, t, a) {
|
113
|
+
'use strict';
|
114
|
+
a.r(t);
|
115
|
+
var n = a('q1tI'),
|
116
|
+
r = a.n(n),
|
117
|
+
s = a('m/eG');
|
118
|
+
function l(e, t) {
|
119
|
+
console.log(e, t);
|
120
|
+
}
|
121
|
+
var u = () =>
|
122
|
+
r.a.createElement(
|
123
|
+
r.a.Fragment,
|
124
|
+
null,
|
125
|
+
r.a.createElement(s['bb'], { use12Hours: !0, onChange: l }),
|
126
|
+
r.a.createElement(s['bb'], {
|
127
|
+
use12Hours: !0,
|
128
|
+
format: 'h:mm:ss A',
|
129
|
+
onChange: l,
|
130
|
+
style: { width: 140 },
|
131
|
+
}),
|
132
|
+
r.a.createElement(s['bb'], {
|
133
|
+
use12Hours: !0,
|
134
|
+
format: 'h:mm a',
|
135
|
+
onChange: l,
|
136
|
+
}),
|
137
|
+
);
|
138
|
+
t['default'] = u;
|
139
|
+
},
|
140
|
+
ds57: function (e, t, a) {
|
141
|
+
'use strict';
|
142
|
+
a.r(t);
|
143
|
+
var n = a('q1tI'),
|
144
|
+
r = a.n(n),
|
145
|
+
s = a('m/eG'),
|
146
|
+
l = a('wd/R'),
|
147
|
+
u = a.n(l);
|
148
|
+
function m(e, t) {
|
149
|
+
console.log(e, t);
|
150
|
+
}
|
151
|
+
var c = () =>
|
152
|
+
r.a.createElement(s['bb'], {
|
153
|
+
onChange: m,
|
154
|
+
defaultOpenValue: u()('00:00:00', 'HH:mm:ss'),
|
155
|
+
});
|
156
|
+
t['default'] = c;
|
157
|
+
},
|
158
|
+
fCmJ: function (e, t, a) {
|
159
|
+
'use strict';
|
160
|
+
a.r(t);
|
161
|
+
var n = a('q1tI'),
|
162
|
+
r = a.n(n),
|
163
|
+
s = a('m/eG'),
|
164
|
+
l = () => r.a.createElement(s['bb'].RangePicker, null);
|
165
|
+
t['default'] = l;
|
166
|
+
},
|
167
|
+
ghiX: function (e, t, a) {
|
168
|
+
'use strict';
|
169
|
+
a.r(t);
|
170
|
+
var n = a('q1tI'),
|
171
|
+
r = a.n(n),
|
172
|
+
s = a('m/eG'),
|
173
|
+
l = a('wd/R'),
|
174
|
+
u = a.n(l),
|
175
|
+
m = () =>
|
176
|
+
r.a.createElement(s['bb'], {
|
177
|
+
defaultValue: u()('12:08:23', 'HH:mm:ss'),
|
178
|
+
disabled: !0,
|
179
|
+
});
|
180
|
+
t['default'] = m;
|
181
|
+
},
|
182
|
+
},
|
183
|
+
]);
|
@@ -1 +1,469 @@
|
|
1
|
-
(window[
|
1
|
+
(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
|
2
|
+
[107],
|
3
|
+
{
|
4
|
+
'7c7y': function (e, t, a) {
|
5
|
+
'use strict';
|
6
|
+
a.r(t);
|
7
|
+
var r = a('q1tI'),
|
8
|
+
n = a.n(r),
|
9
|
+
c = a('m/eG'),
|
10
|
+
l = a('wd/R'),
|
11
|
+
i = a.n(l),
|
12
|
+
s = c['s'].RangePicker,
|
13
|
+
o = 'YYYY/MM/DD',
|
14
|
+
m = 'YYYY/MM',
|
15
|
+
d = ['DD/MM/YYYY', 'DD/MM/YY'],
|
16
|
+
u = (e) => 'custom format: '.concat(e.format(o)),
|
17
|
+
f = () =>
|
18
|
+
n.a.createElement(
|
19
|
+
c['T'],
|
20
|
+
{ direction: 'vertical', size: 12 },
|
21
|
+
n.a.createElement(c['s'], {
|
22
|
+
defaultValue: i()('2015/01/01', o),
|
23
|
+
format: o,
|
24
|
+
}),
|
25
|
+
n.a.createElement(c['s'], {
|
26
|
+
defaultValue: i()('01/01/2015', d[0]),
|
27
|
+
format: d,
|
28
|
+
}),
|
29
|
+
n.a.createElement(c['s'], {
|
30
|
+
defaultValue: i()('2015/01', m),
|
31
|
+
format: m,
|
32
|
+
picker: 'month',
|
33
|
+
}),
|
34
|
+
n.a.createElement(s, {
|
35
|
+
defaultValue: [i()('2015/01/01', o), i()('2015/01/01', o)],
|
36
|
+
format: o,
|
37
|
+
}),
|
38
|
+
n.a.createElement(c['s'], {
|
39
|
+
defaultValue: i()('2015/01/01', o),
|
40
|
+
format: u,
|
41
|
+
}),
|
42
|
+
);
|
43
|
+
t['default'] = f;
|
44
|
+
},
|
45
|
+
L7P2: function (e, t, a) {
|
46
|
+
'use strict';
|
47
|
+
a.r(t);
|
48
|
+
var r = a('q1tI'),
|
49
|
+
n = a.n(r),
|
50
|
+
c = a('m/eG'),
|
51
|
+
l = c['s'].RangePicker,
|
52
|
+
i = () =>
|
53
|
+
n.a.createElement(
|
54
|
+
c['T'],
|
55
|
+
{ direction: 'vertical', size: 12 },
|
56
|
+
n.a.createElement(l, null),
|
57
|
+
n.a.createElement(l, { showTime: !0 }),
|
58
|
+
n.a.createElement(l, { picker: 'week' }),
|
59
|
+
n.a.createElement(l, { picker: 'month' }),
|
60
|
+
n.a.createElement(l, { picker: 'year' }),
|
61
|
+
);
|
62
|
+
t['default'] = i;
|
63
|
+
},
|
64
|
+
OrS8: function (e, t, a) {
|
65
|
+
'use strict';
|
66
|
+
a.r(t);
|
67
|
+
var r = a('q1tI'),
|
68
|
+
n = a.n(r),
|
69
|
+
c = a('m/eG'),
|
70
|
+
l = a('wd/R'),
|
71
|
+
i = a.n(l),
|
72
|
+
s = c['s'].RangePicker;
|
73
|
+
function o(e, t) {
|
74
|
+
console.log('From: ', e[0], ', to: ', e[1]),
|
75
|
+
console.log('From: ', t[0], ', to: ', t[1]);
|
76
|
+
}
|
77
|
+
function m() {
|
78
|
+
return n.a.createElement(
|
79
|
+
c['T'],
|
80
|
+
{ direction: 'vertical', size: 12 },
|
81
|
+
n.a.createElement(s, {
|
82
|
+
ranges: {
|
83
|
+
Today: [i()(), i()()],
|
84
|
+
'This Month': [i()().startOf('month'), i()().endOf('month')],
|
85
|
+
},
|
86
|
+
onChange: o,
|
87
|
+
}),
|
88
|
+
n.a.createElement(s, {
|
89
|
+
ranges: {
|
90
|
+
Today: [i()(), i()()],
|
91
|
+
'This Month': [i()().startOf('month'), i()().endOf('month')],
|
92
|
+
},
|
93
|
+
showTime: !0,
|
94
|
+
format: 'YYYY/MM/DD HH:mm:ss',
|
95
|
+
onChange: o,
|
96
|
+
}),
|
97
|
+
);
|
98
|
+
}
|
99
|
+
t['default'] = m;
|
100
|
+
},
|
101
|
+
Si6y: function (e, t, a) {
|
102
|
+
'use strict';
|
103
|
+
a.r(t);
|
104
|
+
var r = a('q1tI'),
|
105
|
+
n = a.n(r),
|
106
|
+
c = a('m/eG');
|
107
|
+
function l(e, t) {
|
108
|
+
console.log(e, t);
|
109
|
+
}
|
110
|
+
var i = () =>
|
111
|
+
n.a.createElement(
|
112
|
+
c['T'],
|
113
|
+
{ direction: 'vertical' },
|
114
|
+
n.a.createElement(c['s'], { onChange: l }),
|
115
|
+
n.a.createElement(c['s'], { onChange: l, picker: 'week' }),
|
116
|
+
n.a.createElement(c['s'], { onChange: l, picker: 'month' }),
|
117
|
+
n.a.createElement(c['s'], { onChange: l, picker: 'quarter' }),
|
118
|
+
n.a.createElement(c['s'], { onChange: l, picker: 'year' }),
|
119
|
+
);
|
120
|
+
t['default'] = i;
|
121
|
+
},
|
122
|
+
Tf5k: function (e, t, a) {
|
123
|
+
'use strict';
|
124
|
+
a.r(t);
|
125
|
+
var r = a('q1tI'),
|
126
|
+
n = a.n(r),
|
127
|
+
c = a('m/eG'),
|
128
|
+
l = c['s'].RangePicker;
|
129
|
+
function i(e, t) {
|
130
|
+
console.log('Selected Time: ', e),
|
131
|
+
console.log('Formatted Selected Time: ', t);
|
132
|
+
}
|
133
|
+
function s(e) {
|
134
|
+
console.log('onOk: ', e);
|
135
|
+
}
|
136
|
+
function o() {
|
137
|
+
return n.a.createElement(
|
138
|
+
c['T'],
|
139
|
+
{ direction: 'vertical', size: 12 },
|
140
|
+
n.a.createElement(c['s'], { showTime: !0, onChange: i, onOk: s }),
|
141
|
+
n.a.createElement(l, {
|
142
|
+
showTime: { format: 'HH:mm' },
|
143
|
+
format: 'YYYY-MM-DD HH:mm',
|
144
|
+
onChange: i,
|
145
|
+
onOk: s,
|
146
|
+
}),
|
147
|
+
);
|
148
|
+
}
|
149
|
+
t['default'] = o;
|
150
|
+
},
|
151
|
+
Uw90: function (e, t, a) {
|
152
|
+
'use strict';
|
153
|
+
a.r(t);
|
154
|
+
var r = a('q1tI'),
|
155
|
+
n = a.n(r),
|
156
|
+
c = a('m/eG'),
|
157
|
+
l = c['s'].RangePicker;
|
158
|
+
function i() {
|
159
|
+
return n.a.createElement(
|
160
|
+
c['T'],
|
161
|
+
{ direction: 'vertical', size: 12 },
|
162
|
+
n.a.createElement(c['s'], {
|
163
|
+
dateRender: (e) => {
|
164
|
+
var t = {};
|
165
|
+
return (
|
166
|
+
1 === e.date() &&
|
167
|
+
((t.border = '1px solid #1890ff'), (t.borderRadius = '50%')),
|
168
|
+
n.a.createElement(
|
169
|
+
'div',
|
170
|
+
{ className: 'ant-picker-cell-inner', style: t },
|
171
|
+
e.date(),
|
172
|
+
)
|
173
|
+
);
|
174
|
+
},
|
175
|
+
}),
|
176
|
+
n.a.createElement(l, {
|
177
|
+
dateRender: (e) => {
|
178
|
+
var t = {};
|
179
|
+
return (
|
180
|
+
1 === e.date() &&
|
181
|
+
((t.border = '1px solid #1890ff'), (t.borderRadius = '50%')),
|
182
|
+
n.a.createElement(
|
183
|
+
'div',
|
184
|
+
{ className: 'ant-picker-cell-inner', style: t },
|
185
|
+
e.date(),
|
186
|
+
)
|
187
|
+
);
|
188
|
+
},
|
189
|
+
}),
|
190
|
+
);
|
191
|
+
}
|
192
|
+
t['default'] = i;
|
193
|
+
},
|
194
|
+
VqRw: function (e, t, a) {
|
195
|
+
'use strict';
|
196
|
+
a.r(t);
|
197
|
+
var r = a('q1tI'),
|
198
|
+
n = a.n(r),
|
199
|
+
c = a('m/eG'),
|
200
|
+
l = c['s'].RangePicker;
|
201
|
+
class i extends n.a.Component {
|
202
|
+
constructor() {
|
203
|
+
super(...arguments),
|
204
|
+
(this.state = { size: 'default' }),
|
205
|
+
(this.handleSizeChange = (e) => {
|
206
|
+
this.setState({ size: e.target.value });
|
207
|
+
});
|
208
|
+
}
|
209
|
+
render() {
|
210
|
+
var e = this.state.size;
|
211
|
+
return n.a.createElement(
|
212
|
+
c['T'],
|
213
|
+
{ direction: 'vertical', size: 12 },
|
214
|
+
n.a.createElement(
|
215
|
+
c['M'].Group,
|
216
|
+
{ value: e, onChange: this.handleSizeChange },
|
217
|
+
n.a.createElement(c['M'].Button, { value: 'large' }, 'Large'),
|
218
|
+
n.a.createElement(c['M'].Button, { value: 'default' }, 'Default'),
|
219
|
+
n.a.createElement(c['M'].Button, { value: 'small' }, 'Small'),
|
220
|
+
),
|
221
|
+
n.a.createElement(c['s'], { size: e }),
|
222
|
+
n.a.createElement(c['s'], { size: e, picker: 'month' }),
|
223
|
+
n.a.createElement(l, { size: e }),
|
224
|
+
n.a.createElement(c['s'], { size: e, picker: 'week' }),
|
225
|
+
);
|
226
|
+
}
|
227
|
+
}
|
228
|
+
t['default'] = i;
|
229
|
+
},
|
230
|
+
WFd9: function (e, t, a) {
|
231
|
+
'use strict';
|
232
|
+
a.r(t);
|
233
|
+
var r = a('tJVT'),
|
234
|
+
n = a('q1tI'),
|
235
|
+
c = a.n(n),
|
236
|
+
l = a('m/eG'),
|
237
|
+
i = l['Q'].Option;
|
238
|
+
function s(e) {
|
239
|
+
var t = e.type,
|
240
|
+
a = e.onChange;
|
241
|
+
return 'time' === t
|
242
|
+
? c.a.createElement(l['bb'], { onChange: a })
|
243
|
+
: 'date' === t
|
244
|
+
? c.a.createElement(l['s'], { onChange: a })
|
245
|
+
: c.a.createElement(l['s'], { picker: t, onChange: a });
|
246
|
+
}
|
247
|
+
function o() {
|
248
|
+
var e = Object(n['useState'])('time'),
|
249
|
+
t = Object(r['a'])(e, 2),
|
250
|
+
a = t[0],
|
251
|
+
o = t[1];
|
252
|
+
return c.a.createElement(
|
253
|
+
l['T'],
|
254
|
+
null,
|
255
|
+
c.a.createElement(
|
256
|
+
l['Q'],
|
257
|
+
{ value: a, onChange: o },
|
258
|
+
c.a.createElement(i, { value: 'time' }, 'Time'),
|
259
|
+
c.a.createElement(i, { value: 'date' }, 'Date'),
|
260
|
+
c.a.createElement(i, { value: 'week' }, 'Week'),
|
261
|
+
c.a.createElement(i, { value: 'month' }, 'Month'),
|
262
|
+
c.a.createElement(i, { value: 'quarter' }, 'Quarter'),
|
263
|
+
c.a.createElement(i, { value: 'year' }, 'Year'),
|
264
|
+
),
|
265
|
+
c.a.createElement(s, { type: a, onChange: (e) => console.log(e) }),
|
266
|
+
);
|
267
|
+
}
|
268
|
+
t['default'] = o;
|
269
|
+
},
|
270
|
+
kpsg: function (e, t, a) {
|
271
|
+
'use strict';
|
272
|
+
a.r(t);
|
273
|
+
var r = a('tJVT'),
|
274
|
+
n = a('q1tI'),
|
275
|
+
c = a.n(n),
|
276
|
+
l = a('m/eG'),
|
277
|
+
i = l['s'].RangePicker;
|
278
|
+
function s() {
|
279
|
+
var e = Object(n['useState'])([]),
|
280
|
+
t = Object(r['a'])(e, 2),
|
281
|
+
a = t[0],
|
282
|
+
l = t[1],
|
283
|
+
s = Object(n['useState'])(),
|
284
|
+
o = Object(r['a'])(s, 2),
|
285
|
+
m = o[0],
|
286
|
+
d = o[1],
|
287
|
+
u = Object(n['useState'])(),
|
288
|
+
f = Object(r['a'])(u, 2),
|
289
|
+
E = f[0],
|
290
|
+
h = f[1],
|
291
|
+
v = (e) => {
|
292
|
+
if (!a || 0 === a.length) return !1;
|
293
|
+
var t = a[0] && e.diff(a[0], 'days') > 7,
|
294
|
+
r = a[1] && a[1].diff(e, 'days') > 7;
|
295
|
+
return r || t;
|
296
|
+
},
|
297
|
+
k = (e) => {
|
298
|
+
e ? (d([]), l([])) : d(void 0);
|
299
|
+
};
|
300
|
+
return c.a.createElement(i, {
|
301
|
+
value: m || E,
|
302
|
+
disabledDate: v,
|
303
|
+
onCalendarChange: (e) => l(e),
|
304
|
+
onChange: (e) => h(e),
|
305
|
+
onOpenChange: k,
|
306
|
+
});
|
307
|
+
}
|
308
|
+
t['default'] = s;
|
309
|
+
},
|
310
|
+
nlUA: function (e, t, a) {
|
311
|
+
'use strict';
|
312
|
+
a.r(t);
|
313
|
+
var r = a('q1tI'),
|
314
|
+
n = a.n(r),
|
315
|
+
c = a('m/eG'),
|
316
|
+
l = a('wd/R'),
|
317
|
+
i = a.n(l),
|
318
|
+
s = c['s'].RangePicker;
|
319
|
+
function o(e, t) {
|
320
|
+
for (var a = [], r = e; r < t; r++) a.push(r);
|
321
|
+
return a;
|
322
|
+
}
|
323
|
+
function m(e) {
|
324
|
+
return e && e < i()().endOf('day');
|
325
|
+
}
|
326
|
+
function d() {
|
327
|
+
return {
|
328
|
+
disabledHours: () => o(0, 24).splice(4, 20),
|
329
|
+
disabledMinutes: () => o(30, 60),
|
330
|
+
disabledSeconds: () => [55, 56],
|
331
|
+
};
|
332
|
+
}
|
333
|
+
function u(e, t) {
|
334
|
+
return 'start' === t
|
335
|
+
? {
|
336
|
+
disabledHours: () => o(0, 60).splice(4, 20),
|
337
|
+
disabledMinutes: () => o(30, 60),
|
338
|
+
disabledSeconds: () => [55, 56],
|
339
|
+
}
|
340
|
+
: {
|
341
|
+
disabledHours: () => o(0, 60).splice(20, 4),
|
342
|
+
disabledMinutes: () => o(0, 31),
|
343
|
+
disabledSeconds: () => [55, 56],
|
344
|
+
};
|
345
|
+
}
|
346
|
+
function f() {
|
347
|
+
return n.a.createElement(
|
348
|
+
c['T'],
|
349
|
+
{ direction: 'vertical', size: 12 },
|
350
|
+
n.a.createElement(c['s'], {
|
351
|
+
format: 'YYYY-MM-DD HH:mm:ss',
|
352
|
+
disabledDate: m,
|
353
|
+
disabledTime: d,
|
354
|
+
showTime: { defaultValue: i()('00:00:00', 'HH:mm:ss') },
|
355
|
+
}),
|
356
|
+
n.a.createElement(c['s'], { picker: 'month', disabledDate: m }),
|
357
|
+
n.a.createElement(s, { disabledDate: m }),
|
358
|
+
n.a.createElement(s, {
|
359
|
+
disabledDate: m,
|
360
|
+
disabledTime: u,
|
361
|
+
showTime: {
|
362
|
+
hideDisabledOptions: !0,
|
363
|
+
defaultValue: [
|
364
|
+
i()('00:00:00', 'HH:mm:ss'),
|
365
|
+
i()('11:59:59', 'HH:mm:ss'),
|
366
|
+
],
|
367
|
+
},
|
368
|
+
format: 'YYYY-MM-DD HH:mm:ss',
|
369
|
+
}),
|
370
|
+
);
|
371
|
+
}
|
372
|
+
t['default'] = f;
|
373
|
+
},
|
374
|
+
q30R: function (e, t, a) {
|
375
|
+
'use strict';
|
376
|
+
a.r(t);
|
377
|
+
var r = a('q1tI'),
|
378
|
+
n = a.n(r),
|
379
|
+
c = a('m/eG'),
|
380
|
+
l = c['s'].RangePicker;
|
381
|
+
class i extends n.a.Component {
|
382
|
+
constructor() {
|
383
|
+
super(...arguments), (this.state = { size: 'default' });
|
384
|
+
}
|
385
|
+
render() {
|
386
|
+
return n.a.createElement(
|
387
|
+
c['T'],
|
388
|
+
{ direction: 'vertical', size: 12 },
|
389
|
+
n.a.createElement(c['s'], {
|
390
|
+
renderExtraFooter: () => 'extra footer',
|
391
|
+
}),
|
392
|
+
n.a.createElement(c['s'], {
|
393
|
+
renderExtraFooter: () => 'extra footer',
|
394
|
+
showTime: !0,
|
395
|
+
}),
|
396
|
+
n.a.createElement(l, { renderExtraFooter: () => 'extra footer' }),
|
397
|
+
n.a.createElement(l, {
|
398
|
+
renderExtraFooter: () => 'extra footer',
|
399
|
+
showTime: !0,
|
400
|
+
}),
|
401
|
+
n.a.createElement(c['s'], {
|
402
|
+
renderExtraFooter: () => 'extra footer',
|
403
|
+
picker: 'month',
|
404
|
+
}),
|
405
|
+
);
|
406
|
+
}
|
407
|
+
}
|
408
|
+
t['default'] = i;
|
409
|
+
},
|
410
|
+
tskS: function (e, t, a) {
|
411
|
+
'use strict';
|
412
|
+
a.r(t);
|
413
|
+
var r = a('q1tI'),
|
414
|
+
n = a.n(r),
|
415
|
+
c = a('m/eG'),
|
416
|
+
l = c['s'].RangePicker;
|
417
|
+
function i() {
|
418
|
+
return n.a.createElement(
|
419
|
+
c['T'],
|
420
|
+
{ direction: 'vertical', size: 12 },
|
421
|
+
n.a.createElement(c['s'], { bordered: !1 }),
|
422
|
+
n.a.createElement(c['s'], { picker: 'week', bordered: !1 }),
|
423
|
+
n.a.createElement(c['s'], { picker: 'month', bordered: !1 }),
|
424
|
+
n.a.createElement(c['s'], { picker: 'year', bordered: !1 }),
|
425
|
+
n.a.createElement(l, { bordered: !1 }),
|
426
|
+
n.a.createElement(l, { picker: 'week', bordered: !1 }),
|
427
|
+
n.a.createElement(l, { picker: 'month', bordered: !1 }),
|
428
|
+
n.a.createElement(l, { picker: 'year', bordered: !1 }),
|
429
|
+
);
|
430
|
+
}
|
431
|
+
t['default'] = i;
|
432
|
+
},
|
433
|
+
zCWX: function (e, t, a) {
|
434
|
+
'use strict';
|
435
|
+
a.r(t);
|
436
|
+
var r = a('q1tI'),
|
437
|
+
n = a.n(r),
|
438
|
+
c = a('m/eG'),
|
439
|
+
l = a('wd/R'),
|
440
|
+
i = a.n(l),
|
441
|
+
s = c['s'].RangePicker,
|
442
|
+
o = 'YYYY-MM-DD';
|
443
|
+
function m() {
|
444
|
+
return n.a.createElement(
|
445
|
+
c['T'],
|
446
|
+
{ direction: 'vertical', size: 12 },
|
447
|
+
n.a.createElement(c['s'], {
|
448
|
+
defaultValue: i()('2015-06-06', o),
|
449
|
+
disabled: !0,
|
450
|
+
}),
|
451
|
+
n.a.createElement(c['s'], {
|
452
|
+
picker: 'month',
|
453
|
+
defaultValue: i()('2015-06', 'YYYY-MM'),
|
454
|
+
disabled: !0,
|
455
|
+
}),
|
456
|
+
n.a.createElement(s, {
|
457
|
+
defaultValue: [i()('2015-06-06', o), i()('2015-06-06', o)],
|
458
|
+
disabled: !0,
|
459
|
+
}),
|
460
|
+
n.a.createElement(s, {
|
461
|
+
defaultValue: [i()('2019-09-03', o), i()('2019-11-22', o)],
|
462
|
+
disabled: [!1, !0],
|
463
|
+
}),
|
464
|
+
);
|
465
|
+
}
|
466
|
+
t['default'] = m;
|
467
|
+
},
|
468
|
+
},
|
469
|
+
]);
|