@fle-ui/next 1.0.0 → 1.0.4-alpha.0
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/.gitignore_20210922213827 +27 -0
- package/.history/.gitignore_20211029154108 +29 -0
- package/.history/.gitignore_20211029154109 +29 -0
- package/.history/.gitignore_20211029173434 +29 -0
- package/.history/.umirc_20210922213827.ts +153 -0
- package/.history/.umirc_20211018162341.ts +153 -0
- package/.history/{package_20211018113630.json → package_20211213140100.json} +7 -3
- package/.history/{package_20211018113634.json → package_20211223145956.json} +8 -3
- package/.history/{package_20211013165524.json → package_20211223211341.json} +9 -4
- package/.history/{package_20211018101440.json → package_20211223220710.json} +9 -4
- package/.history/package_20211223221147.json +146 -0
- package/.history/package_20211223221328.json +146 -0
- package/.history/package_20211223221445.json +146 -0
- package/.umirc.ts +2 -0
- package/dist/@fle-ui/next.css +2304 -2261
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +1166 -1248
- package/dist/@fle-ui/next.js.map +1 -1
- package/dist/@fle-ui/next.min.css +3 -3
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +3 -3
- package/dist/@fle-ui/next.min.js.map +1 -1
- package/docs-dist/{components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js → components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~31d645aa.js} +2690 -1940
- package/docs-dist/components__avatar__avatar.md.js +227 -372
- package/docs-dist/components__button__button.md.js +27 -27
- package/docs-dist/components__form__form.md.js +1 -1
- package/docs-dist/components__layout__layout.md.js +1 -1
- package/docs-dist/components__modal__modal.md.js +17 -11
- package/docs-dist/components__popconfirm__popconfirm.md.js +51 -51
- package/docs-dist/components__skeleton__skeleton.md.chunk.css +1 -0
- package/docs-dist/components__skeleton__skeleton.md.js +1080 -0
- package/docs-dist/components__slider__slider.md.js +1 -1
- package/docs-dist/components__space__space.md.js +1 -1
- package/docs-dist/components__spin__spin.md.js +1 -1
- package/docs-dist/components__statistic__statistic.md.js +1 -1
- package/docs-dist/components__steps__steps.md.js +1 -1
- package/docs-dist/components__switch__switch.md.js +1 -1
- package/docs-dist/components__table__table.md.js +1 -1
- package/docs-dist/components__tabs__tabs.md.js +1 -1
- package/docs-dist/components__tag__tag.md.js +1 -1
- package/docs-dist/components__time-picker__time-picker.md.js +1 -1
- package/docs-dist/components__timeline__timeline.md.js +1 -1
- package/docs-dist/components__tooltip__tooltip.md.js +1 -1
- package/docs-dist/components__transfer__transfer.md.js +1 -1
- package/docs-dist/components__tree-select__tree-select.md.js +1 -1
- package/docs-dist/components__tree__tree.md.chunk.css +1 -0
- package/docs-dist/components__tree__tree.md.js +1775 -0
- package/docs-dist/components__typography__typography.md.js +1 -1
- package/docs-dist/components__upload__upload.md.js +7 -11
- package/docs-dist/demos_bmurcdaerb.js +1 -1
- package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_eert~demos_egami~demos_egas~1a5cf206.chunk.css +2 -0
- package/docs-dist/{demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js → demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_eert~demos_egami~demos_egas~1a5cf206.js} +1536 -1843
- package/docs-dist/demos_citsitats.js +1 -1
- package/docs-dist/demos_daolpu.chunk.css +2 -2
- package/docs-dist/demos_daolpu.js +2598 -2905
- package/docs-dist/demos_dirg.js +1 -1
- package/docs-dist/demos_drac.js +1 -1
- package/docs-dist/demos_ecaps.js +1 -1
- package/docs-dist/demos_eert.chunk.css +1 -0
- package/docs-dist/demos_eert.js +1203 -0
- package/docs-dist/demos_egami.js +1 -1
- package/docs-dist/demos_egassem.js +1 -1
- package/docs-dist/demos_egdab.js +1 -1
- package/docs-dist/demos_elbat.chunk.css +2 -2
- package/docs-dist/demos_elbat.js +649 -956
- package/docs-dist/demos_enilemit.js +1 -1
- package/docs-dist/demos_espalloc.js +1 -1
- package/docs-dist/demos_etar.js +75 -70
- package/docs-dist/demos_etelpmoc-otua.js +1 -1
- package/docs-dist/demos_gat.js +1 -1
- package/docs-dist/demos_hctiws.js +1 -1
- package/docs-dist/demos_ladom.js +1 -1
- package/docs-dist/demos_lesuorac.js +1 -1
- package/docs-dist/demos_mrifnocpop.js +2 -2
- package/docs-dist/demos_mrof.js +1 -2
- package/docs-dist/demos_nips.js +1 -1
- package/docs-dist/demos_noitacifiton.js +2 -2
- package/docs-dist/demos_noitanigap.js +1 -1
- package/docs-dist/demos_noteleks.js +691 -0
- package/docs-dist/demos_nottub.js +1 -1
- package/docs-dist/demos_nwodpord.js +1 -1
- package/docs-dist/demos_oidar.js +1 -1
- package/docs-dist/demos_pitloot.js +1 -1
- package/docs-dist/demos_pot-kcab.js +10 -10
- package/docs-dist/demos_radnelac.js +1 -1
- package/docs-dist/demos_ratava.js +4 -4
- package/docs-dist/demos_rebmun-tupni.js +1 -1
- package/docs-dist/demos_redacsac.js +1 -1
- package/docs-dist/demos_redaeh-egap.js +1 -1
- package/docs-dist/demos_redils.js +1 -1
- package/docs-dist/demos_redivid.js +1 -1
- package/docs-dist/demos_redivorp-gifnoc.js +6 -6
- package/docs-dist/demos_refsnart.js +1 -1
- package/docs-dist/demos_rekcip-emit.js +1 -1
- package/docs-dist/demos_rekcip-etad.js +3 -3
- package/docs-dist/demos_revopop.js +1 -1
- package/docs-dist/demos_reward.js +1 -1
- package/docs-dist/demos_rohcna.js +1 -1
- package/docs-dist/demos_sbat.chunk.css +2 -2
- package/docs-dist/demos_sbat.js +2302 -2609
- package/docs-dist/demos_snoitnem.js +1 -1
- package/docs-dist/demos_snoitpircsed.js +1 -1
- package/docs-dist/demos_spets.js +1 -1
- package/docs-dist/demos_ssergorp.js +1 -1
- package/docs-dist/demos_tceles.js +1 -1
- package/docs-dist/demos_tluser.js +1 -1
- package/docs-dist/demos_tnemmoc.js +1 -1
- package/docs-dist/demos_trela.js +1 -1
- package/docs-dist/demos_tsil.js +1 -1
- package/docs-dist/demos_tuoyal.js +1 -1
- package/docs-dist/demos_tupni.js +2 -2
- package/docs-dist/demos_unem.js +1 -1
- package/docs-dist/demos_xiffa.js +1 -1
- package/docs-dist/demos_xobkcehc.js +1 -1
- package/docs-dist/demos_yhpargopyt.js +1 -1
- package/docs-dist/demos_ytpme.js +1 -1
- package/docs-dist/docs__document__getting-started.md.js +1 -1
- package/docs-dist/docs__document__introduce.md.js +1 -1
- package/docs-dist/docs__document__practical-projects.md.js +1 -1
- package/docs-dist/docs__index.md.js +1 -1
- package/docs-dist/docs__story__index.md.js +23 -1
- package/docs-dist/dumi_demos.js +1 -1
- package/docs-dist/umi.js +475 -242
- package/docs-dist/{vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.chunk.css → vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~06d8f7d3.chunk.css} +0 -0
- package/docs-dist/{vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js → vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~06d8f7d3.js} +0 -0
- package/docs-dist/{vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js → vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~11c8b8d8.js} +0 -0
- package/docs-dist/{vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js → vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~44483e31.js} +0 -0
- package/docs-dist/{vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js → vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_eert~d~f20ff6ec.js} +9204 -8936
- package/docs-dist/vendors~demos_gat.js +1 -1
- package/docs-dist/vendors~demos_ladom.js +1 -1
- package/docs-dist/vendors~demos_redivorp-gifnoc.js +1 -1
- package/docs-dist/vendors~demos_sbat.js +1 -1
- package/docs-dist/vendors~demos_trela.js +1 -1
- package/docs-dist/vendors~demos_tsil.js +1 -1
- package/docs-dist/vendors~demos_tuoyal.js +1 -1
- package/docs-dist/vendors~wrappers.js +1 -1
- package/docs-dist/wrappers.js +2 -2
- package/es/badge/style/index.css +5 -5
- package/es/cascader/index.d.ts +11 -129
- package/es/cascader/index.js +151 -534
- package/es/cascader/style/css.js +1 -1
- package/es/cascader/style/index.css +205 -180
- package/es/cascader/style/index.d.ts +1 -1
- package/es/cascader/style/index.js +1 -1
- package/es/cascader/style/index.less +66 -205
- package/es/cascader/style/rtl.less +10 -84
- package/es/drawer/style/index.css +1 -1
- package/es/input-number/style/index.css +18 -4
- package/es/input-number/style/index.less +15 -2
- package/es/input-number/style/rtl.less +24 -7
- package/es/modal/style/index.css +10 -9
- package/es/modal/style/modal.less +3 -2
- package/es/popover/style/index.css +2 -2
- package/es/progress/style/index.css +3 -3
- package/es/result/noFound.js +1 -1
- package/es/result/style/index.css +1 -1
- package/es/style/color/colors.less +3 -3
- package/es/style/theme.less +7 -4
- package/es/table/demo/drag-sorting/index.less +2 -2
- package/es/table/style/index.css +3 -0
- package/es/tag/style/index.css +5 -5
- package/es/tooltip/style/index.css +2 -2
- package/es/upload/style/index.css +2 -2
- package/es/upload/style/index.less +5 -3
- package/lib/badge/style/index.css +5 -5
- package/lib/cascader/index.d.ts +11 -129
- package/lib/cascader/index.js +153 -545
- package/lib/cascader/style/css.js +1 -1
- package/lib/cascader/style/index.css +205 -180
- package/lib/cascader/style/index.d.ts +1 -1
- package/lib/cascader/style/index.js +1 -1
- package/lib/cascader/style/index.less +66 -205
- package/lib/cascader/style/rtl.less +10 -84
- package/lib/drawer/style/index.css +1 -1
- package/lib/input-number/style/index.css +18 -4
- package/lib/input-number/style/index.less +15 -2
- package/lib/input-number/style/rtl.less +24 -7
- package/lib/modal/style/index.css +10 -9
- package/lib/modal/style/modal.less +3 -2
- package/lib/popover/style/index.css +2 -2
- package/lib/progress/style/index.css +3 -3
- package/lib/result/noFound.js +1 -1
- package/lib/result/style/index.css +1 -1
- package/lib/style/color/colors.less +3 -3
- package/lib/style/theme.less +7 -4
- package/lib/table/demo/drag-sorting/index.less +2 -2
- package/lib/table/style/index.css +3 -0
- package/lib/tag/style/index.css +5 -5
- package/lib/tooltip/style/index.css +2 -2
- package/lib/upload/style/index.css +2 -2
- package/lib/upload/style/index.less +5 -3
- package/package.json +3 -2
- package/report.html +2 -2
- package/.history/package_20211011190148.json +0 -141
- package/.history/package_20211011193053.json +0 -141
- package/.history/package_20211018113658.json +0 -141
- package/.history/package_20211018113740.json +0 -141
- package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +0 -2
@@ -3,9 +3,9 @@
|
|
3
3
|
{
|
4
4
|
MZF8: function (e, t, a) {
|
5
5
|
'use strict';
|
6
|
-
var
|
6
|
+
var n = a('ogwx');
|
7
7
|
a.d(t, 'a', function () {
|
8
|
-
return
|
8
|
+
return n['b'];
|
9
9
|
});
|
10
10
|
a('VCU9');
|
11
11
|
},
|
@@ -13,22 +13,22 @@
|
|
13
13
|
Zxc8: function (e, t, a) {
|
14
14
|
'use strict';
|
15
15
|
a.r(t);
|
16
|
-
var
|
17
|
-
|
16
|
+
var n = a('q1tI'),
|
17
|
+
l = a.n(n),
|
18
18
|
r = a('k3GJ'),
|
19
19
|
c = a('MZF8'),
|
20
|
-
|
21
|
-
|
20
|
+
o = a('dEAq'),
|
21
|
+
i = a('H1Ra');
|
22
22
|
a('RZMt');
|
23
|
-
function
|
24
|
-
return f(e) || E(e, t) ||
|
23
|
+
function m(e, t) {
|
24
|
+
return f(e) || E(e, t) || d(e, t) || u();
|
25
25
|
}
|
26
|
-
function
|
26
|
+
function u() {
|
27
27
|
throw new TypeError(
|
28
28
|
'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
|
29
29
|
);
|
30
30
|
}
|
31
|
-
function
|
31
|
+
function d(e, t) {
|
32
32
|
if (e) {
|
33
33
|
if ('string' === typeof e) return s(e, t);
|
34
34
|
var a = Object.prototype.toString.call(e).slice(8, -1);
|
@@ -45,8 +45,8 @@
|
|
45
45
|
}
|
46
46
|
function s(e, t) {
|
47
47
|
(null == t || t > e.length) && (t = e.length);
|
48
|
-
for (var a = 0,
|
49
|
-
return
|
48
|
+
for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
|
49
|
+
return n;
|
50
50
|
}
|
51
51
|
function E(e, t) {
|
52
52
|
var a =
|
@@ -55,21 +55,21 @@
|
|
55
55
|
: ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
|
56
56
|
e['@@iterator'];
|
57
57
|
if (null != a) {
|
58
|
-
var
|
59
|
-
|
58
|
+
var n,
|
59
|
+
l,
|
60
60
|
r = [],
|
61
61
|
c = !0,
|
62
|
-
|
62
|
+
o = !1;
|
63
63
|
try {
|
64
|
-
for (a = a.call(e); !(c = (
|
65
|
-
if ((r.push(
|
66
|
-
} catch (
|
67
|
-
(
|
64
|
+
for (a = a.call(e); !(c = (n = a.next()).done); c = !0)
|
65
|
+
if ((r.push(n.value), t && r.length === t)) break;
|
66
|
+
} catch (i) {
|
67
|
+
(o = !0), (l = i);
|
68
68
|
} finally {
|
69
69
|
try {
|
70
70
|
c || null == a['return'] || a['return']();
|
71
71
|
} finally {
|
72
|
-
if (
|
72
|
+
if (o) throw l;
|
73
73
|
}
|
74
74
|
}
|
75
75
|
return r;
|
@@ -80,26 +80,26 @@
|
|
80
80
|
}
|
81
81
|
function p(e, t) {
|
82
82
|
var a,
|
83
|
-
|
83
|
+
n =
|
84
84
|
null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
|
85
|
-
return
|
85
|
+
return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
|
86
86
|
}
|
87
87
|
var v = function (e) {
|
88
88
|
var t,
|
89
89
|
a,
|
90
|
-
|
91
|
-
|
92
|
-
s = Object(
|
90
|
+
u,
|
91
|
+
d = Object(n['useRef'])(),
|
92
|
+
s = Object(n['useContext'])(o['context']),
|
93
93
|
E = s.locale,
|
94
|
-
f = Object(
|
95
|
-
v = Object(
|
94
|
+
f = Object(o['useLocaleProps'])(E, e),
|
95
|
+
v = Object(o['useDemoUrl'])(f.identifier),
|
96
96
|
b = f.demoUrl || v,
|
97
97
|
h =
|
98
98
|
(null === c['a'] || void 0 === c['a']
|
99
99
|
? void 0
|
100
100
|
: c['a'].location.hash) === '#'.concat(f.identifier),
|
101
101
|
g = 1 === Object.keys(f.sources).length,
|
102
|
-
|
102
|
+
_ = Object(o['useCodeSandbox'])(
|
103
103
|
(
|
104
104
|
null === (t = f.hideActions) || void 0 === t
|
105
105
|
? void 0
|
@@ -108,7 +108,7 @@
|
|
108
108
|
? null
|
109
109
|
: f,
|
110
110
|
),
|
111
|
-
|
111
|
+
k = Object(o['useRiddle'])(
|
112
112
|
(
|
113
113
|
null === (a = f.hideActions) || void 0 === a
|
114
114
|
? void 0
|
@@ -117,47 +117,47 @@
|
|
117
117
|
? null
|
118
118
|
: f,
|
119
119
|
),
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
A = Object(
|
125
|
-
j =
|
120
|
+
w = Object(o['useMotions'])(f.motions || [], d.current),
|
121
|
+
y = m(w, 2),
|
122
|
+
x = y[0],
|
123
|
+
N = y[1],
|
124
|
+
A = Object(o['useCopy'])(),
|
125
|
+
j = m(A, 2),
|
126
126
|
O = j[0],
|
127
127
|
S = j[1],
|
128
|
-
C = Object(
|
129
|
-
I =
|
128
|
+
C = Object(n['useState'])('_'),
|
129
|
+
I = m(C, 2),
|
130
130
|
L = I[0],
|
131
131
|
P = I[1],
|
132
|
-
R = Object(
|
133
|
-
M =
|
132
|
+
R = Object(n['useState'])(p(L, f.sources[L])),
|
133
|
+
M = m(R, 2),
|
134
134
|
T = M[0],
|
135
135
|
q = M[1],
|
136
|
-
U = Object(
|
137
|
-
Z =
|
136
|
+
U = Object(n['useState'])(Boolean(f.defaultShowCode)),
|
137
|
+
Z = m(U, 2),
|
138
138
|
J = Z[0],
|
139
139
|
F = Z[1],
|
140
|
-
G = Object(
|
141
|
-
$ =
|
140
|
+
G = Object(n['useState'])(Math.random()),
|
141
|
+
$ = m(G, 2),
|
142
142
|
B = $[0],
|
143
143
|
D = $[1],
|
144
144
|
H = f.sources[L][T] || f.sources[L].content,
|
145
|
-
X = Object(
|
146
|
-
z = Object(
|
147
|
-
K = Object(
|
148
|
-
V =
|
145
|
+
X = Object(o['useTSPlaygroundUrl'])(E, H),
|
146
|
+
z = Object(n['useRef'])(),
|
147
|
+
K = Object(o['usePrefersColor'])(),
|
148
|
+
V = m(K, 1),
|
149
149
|
Q = V[0];
|
150
150
|
function W(e) {
|
151
151
|
P(e), q(p(e, f.sources[e]));
|
152
152
|
}
|
153
153
|
return (
|
154
|
-
Object(
|
154
|
+
Object(n['useEffect'])(
|
155
155
|
function () {
|
156
156
|
D(Math.random());
|
157
157
|
},
|
158
158
|
[Q],
|
159
159
|
),
|
160
|
-
|
160
|
+
l.a.createElement(
|
161
161
|
'div',
|
162
162
|
{
|
163
163
|
style: f.style,
|
@@ -173,13 +173,13 @@
|
|
173
173
|
'data-iframe': f.iframe || void 0,
|
174
174
|
},
|
175
175
|
f.iframe &&
|
176
|
-
|
176
|
+
l.a.createElement('div', {
|
177
177
|
className: '__dumi-default-previewer-browser-nav',
|
178
178
|
}),
|
179
|
-
|
179
|
+
l.a.createElement(
|
180
180
|
'div',
|
181
181
|
{
|
182
|
-
ref:
|
182
|
+
ref: d,
|
183
183
|
className: '__dumi-default-previewer-demo',
|
184
184
|
style: {
|
185
185
|
transform: f.transform ? 'translate(0, 0)' : void 0,
|
@@ -189,7 +189,7 @@
|
|
189
189
|
},
|
190
190
|
},
|
191
191
|
f.iframe
|
192
|
-
?
|
192
|
+
? l.a.createElement('iframe', {
|
193
193
|
title: 'dumi-previewer',
|
194
194
|
style: {
|
195
195
|
height: String(f.iframe).replace(/(\d)$/, '$1px'),
|
@@ -200,52 +200,52 @@
|
|
200
200
|
})
|
201
201
|
: f.children,
|
202
202
|
),
|
203
|
-
|
203
|
+
l.a.createElement(
|
204
204
|
'div',
|
205
205
|
{
|
206
206
|
className: '__dumi-default-previewer-desc',
|
207
207
|
'data-title': f.title,
|
208
208
|
},
|
209
209
|
f.title &&
|
210
|
-
|
211
|
-
|
210
|
+
l.a.createElement(
|
211
|
+
o['AnchorLink'],
|
212
212
|
{ to: '#'.concat(f.identifier) },
|
213
213
|
f.title,
|
214
214
|
),
|
215
215
|
f.description &&
|
216
|
-
|
216
|
+
l.a.createElement('div', {
|
217
217
|
dangerouslySetInnerHTML: { __html: f.description },
|
218
218
|
}),
|
219
219
|
),
|
220
|
-
|
220
|
+
l.a.createElement(
|
221
221
|
'div',
|
222
222
|
{ className: '__dumi-default-previewer-actions' },
|
223
|
-
|
224
|
-
|
223
|
+
_ &&
|
224
|
+
l.a.createElement('button', {
|
225
225
|
title: 'Open demo on CodeSandbox.io',
|
226
226
|
className: '__dumi-default-icon',
|
227
227
|
role: 'codesandbox',
|
228
|
-
onClick:
|
228
|
+
onClick: _,
|
229
229
|
}),
|
230
|
-
|
231
|
-
|
230
|
+
k &&
|
231
|
+
l.a.createElement('button', {
|
232
232
|
title: 'Open demo on Riddle',
|
233
233
|
className: '__dumi-default-icon',
|
234
234
|
role: 'riddle',
|
235
|
-
onClick:
|
235
|
+
onClick: k,
|
236
236
|
}),
|
237
237
|
f.motions &&
|
238
|
-
|
238
|
+
l.a.createElement('button', {
|
239
239
|
title: 'Execute motions',
|
240
240
|
className: '__dumi-default-icon',
|
241
241
|
role: 'motions',
|
242
|
-
disabled:
|
242
|
+
disabled: N,
|
243
243
|
onClick: function () {
|
244
|
-
return
|
244
|
+
return x();
|
245
245
|
},
|
246
246
|
}),
|
247
247
|
f.iframe &&
|
248
|
-
|
248
|
+
l.a.createElement('button', {
|
249
249
|
title: 'Reload demo iframe page',
|
250
250
|
className: '__dumi-default-icon',
|
251
251
|
role: 'refresh',
|
@@ -253,21 +253,21 @@
|
|
253
253
|
return D(Math.random());
|
254
254
|
},
|
255
255
|
}),
|
256
|
-
!(null === (
|
256
|
+
!(null === (u = f.hideActions) || void 0 === u
|
257
257
|
? void 0
|
258
|
-
:
|
259
|
-
|
260
|
-
|
258
|
+
: u.includes('EXTERNAL')) &&
|
259
|
+
l.a.createElement(
|
260
|
+
o['Link'],
|
261
261
|
{ target: '_blank', to: b },
|
262
|
-
|
262
|
+
l.a.createElement('button', {
|
263
263
|
title: 'Open demo in new tab',
|
264
264
|
className: '__dumi-default-icon',
|
265
265
|
role: 'open-demo',
|
266
266
|
type: 'button',
|
267
267
|
}),
|
268
268
|
),
|
269
|
-
|
270
|
-
|
269
|
+
l.a.createElement('span', null),
|
270
|
+
l.a.createElement('button', {
|
271
271
|
title: 'Copy source code',
|
272
272
|
className: '__dumi-default-icon',
|
273
273
|
role: 'copy',
|
@@ -278,17 +278,17 @@
|
|
278
278
|
}),
|
279
279
|
'tsx' === T &&
|
280
280
|
J &&
|
281
|
-
|
282
|
-
|
281
|
+
l.a.createElement(
|
282
|
+
o['Link'],
|
283
283
|
{ target: '_blank', to: X },
|
284
|
-
|
284
|
+
l.a.createElement('button', {
|
285
285
|
title: 'Get JSX via TypeScript Playground',
|
286
286
|
className: '__dumi-default-icon',
|
287
287
|
role: 'change-tsx',
|
288
288
|
type: 'button',
|
289
289
|
}),
|
290
290
|
),
|
291
|
-
|
291
|
+
l.a.createElement('button', {
|
292
292
|
title: 'Toggle source code panel',
|
293
293
|
className: '__dumi-default-icon'.concat(
|
294
294
|
J ? ' __dumi-default-btn-expand' : '',
|
@@ -301,11 +301,11 @@
|
|
301
301
|
}),
|
302
302
|
),
|
303
303
|
J &&
|
304
|
-
|
304
|
+
l.a.createElement(
|
305
305
|
'div',
|
306
306
|
{ className: '__dumi-default-previewer-source-wrapper' },
|
307
307
|
!g &&
|
308
|
-
|
308
|
+
l.a.createElement(
|
309
309
|
r['b'],
|
310
310
|
{
|
311
311
|
className: '__dumi-default-previewer-source-tab',
|
@@ -315,17 +315,17 @@
|
|
315
315
|
onChange: W,
|
316
316
|
},
|
317
317
|
Object.keys(f.sources).map(function (e) {
|
318
|
-
return
|
318
|
+
return l.a.createElement(r['a'], {
|
319
319
|
tab:
|
320
320
|
'_' === e ? 'index.'.concat(p(e, f.sources[e])) : e,
|
321
321
|
key: e,
|
322
322
|
});
|
323
323
|
}),
|
324
324
|
),
|
325
|
-
|
325
|
+
l.a.createElement(
|
326
326
|
'div',
|
327
327
|
{ className: '__dumi-default-previewer-source' },
|
328
|
-
|
328
|
+
l.a.createElement(i['a'], { code: H, lang: T, showCopy: !1 }),
|
329
329
|
),
|
330
330
|
),
|
331
331
|
)
|
@@ -336,19 +336,19 @@
|
|
336
336
|
cnrX: function (e, t, a) {
|
337
337
|
'use strict';
|
338
338
|
a.r(t);
|
339
|
-
var
|
340
|
-
|
339
|
+
var n = a('q1tI'),
|
340
|
+
l = a.n(n),
|
341
341
|
r = a('dEAq'),
|
342
342
|
c = a('Zxc8'),
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
s =
|
349
|
-
E =
|
343
|
+
o = a('JjdP'),
|
344
|
+
i = l.a.memo(o['default']['avatar-basic'].component),
|
345
|
+
m = l.a.memo(o['default']['avatar-type'].component),
|
346
|
+
u = l.a.memo(o['default']['avatar-dynamic'].component),
|
347
|
+
d = l.a.memo(o['default']['avatar-badge'].component),
|
348
|
+
s = l.a.memo(o['default']['avatar-responsive'].component),
|
349
|
+
E = l.a.memo(o['default']['avatar-group'].component);
|
350
350
|
t['default'] = (e) => (
|
351
|
-
|
351
|
+
l.a.useEffect(() => {
|
352
352
|
var t;
|
353
353
|
null !== e &&
|
354
354
|
void 0 !== e &&
|
@@ -359,490 +359,345 @@
|
|
359
359
|
decodeURIComponent(e.location.hash.slice(1)),
|
360
360
|
);
|
361
361
|
}, []),
|
362
|
-
|
363
|
-
|
362
|
+
l.a.createElement(
|
363
|
+
l.a.Fragment,
|
364
364
|
null,
|
365
|
-
|
366
|
-
|
365
|
+
l.a.createElement(
|
366
|
+
l.a.Fragment,
|
367
367
|
null,
|
368
|
-
|
368
|
+
l.a.createElement(
|
369
369
|
'div',
|
370
370
|
{ className: 'markdown' },
|
371
|
-
|
371
|
+
l.a.createElement(
|
372
372
|
'h1',
|
373
373
|
{ id: 'avatar-\u5934\u50cf' },
|
374
|
-
|
374
|
+
l.a.createElement(
|
375
375
|
r['AnchorLink'],
|
376
376
|
{
|
377
377
|
to: '#avatar-\u5934\u50cf',
|
378
378
|
'aria-hidden': 'true',
|
379
379
|
tabIndex: -1,
|
380
380
|
},
|
381
|
-
|
381
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
382
382
|
),
|
383
383
|
'Avatar \u5934\u50cf',
|
384
384
|
),
|
385
|
-
|
385
|
+
l.a.createElement(
|
386
386
|
'p',
|
387
387
|
null,
|
388
388
|
'\u7528\u6765\u4ee3\u8868\u7528\u6237\u6216\u4e8b\u7269\uff0c\u652f\u6301\u56fe\u7247\u3001\u56fe\u6807\u6216\u5b57\u7b26\u5c55\u793a\u3002',
|
389
389
|
),
|
390
|
-
|
390
|
+
l.a.createElement(
|
391
391
|
'h2',
|
392
392
|
{ id: '\u4ee3\u7801\u6f14\u793a' },
|
393
|
-
|
393
|
+
l.a.createElement(
|
394
394
|
r['AnchorLink'],
|
395
395
|
{
|
396
396
|
to: '#\u4ee3\u7801\u6f14\u793a',
|
397
397
|
'aria-hidden': 'true',
|
398
398
|
tabIndex: -1,
|
399
399
|
},
|
400
|
-
|
400
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
401
401
|
),
|
402
402
|
'\u4ee3\u7801\u6f14\u793a',
|
403
403
|
),
|
404
|
-
|
404
|
+
l.a.createElement(
|
405
405
|
'h3',
|
406
406
|
{ id: '\u57fa\u672c' },
|
407
|
-
|
407
|
+
l.a.createElement(
|
408
408
|
r['AnchorLink'],
|
409
409
|
{ to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
|
410
|
-
|
410
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
411
411
|
),
|
412
412
|
'\u57fa\u672c',
|
413
413
|
),
|
414
414
|
),
|
415
|
-
|
415
|
+
l.a.createElement(
|
416
416
|
c['default'],
|
417
|
-
|
418
|
-
|
417
|
+
o['default']['avatar-basic'].previewerProps,
|
418
|
+
l.a.createElement(i, null),
|
419
419
|
),
|
420
|
-
|
420
|
+
l.a.createElement(
|
421
421
|
'div',
|
422
422
|
{ className: 'markdown' },
|
423
|
-
|
423
|
+
l.a.createElement(
|
424
424
|
'h3',
|
425
425
|
{ id: '\u7c7b\u578b' },
|
426
|
-
|
426
|
+
l.a.createElement(
|
427
427
|
r['AnchorLink'],
|
428
428
|
{ to: '#\u7c7b\u578b', 'aria-hidden': 'true', tabIndex: -1 },
|
429
|
-
|
429
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
430
430
|
),
|
431
431
|
'\u7c7b\u578b',
|
432
432
|
),
|
433
433
|
),
|
434
|
-
|
434
|
+
l.a.createElement(
|
435
435
|
c['default'],
|
436
|
-
|
437
|
-
|
436
|
+
o['default']['avatar-type'].previewerProps,
|
437
|
+
l.a.createElement(m, null),
|
438
438
|
),
|
439
|
-
|
439
|
+
l.a.createElement(
|
440
440
|
'div',
|
441
441
|
{ className: 'markdown' },
|
442
|
-
|
442
|
+
l.a.createElement(
|
443
443
|
'h3',
|
444
444
|
{ id: '\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f' },
|
445
|
-
|
445
|
+
l.a.createElement(
|
446
446
|
r['AnchorLink'],
|
447
447
|
{
|
448
448
|
to: '#\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f',
|
449
449
|
'aria-hidden': 'true',
|
450
450
|
tabIndex: -1,
|
451
451
|
},
|
452
|
-
|
452
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
453
453
|
),
|
454
454
|
'\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f',
|
455
455
|
),
|
456
456
|
),
|
457
|
-
|
457
|
+
l.a.createElement(
|
458
458
|
c['default'],
|
459
|
-
|
460
|
-
|
459
|
+
o['default']['avatar-dynamic'].previewerProps,
|
460
|
+
l.a.createElement(u, null),
|
461
461
|
),
|
462
|
-
|
462
|
+
l.a.createElement(
|
463
463
|
'div',
|
464
464
|
{ className: 'markdown' },
|
465
|
-
|
465
|
+
l.a.createElement(
|
466
466
|
'h3',
|
467
467
|
{ id: '\u5e26\u5fbd\u6807\u7684\u5934\u50cf' },
|
468
|
-
|
468
|
+
l.a.createElement(
|
469
469
|
r['AnchorLink'],
|
470
470
|
{
|
471
471
|
to: '#\u5e26\u5fbd\u6807\u7684\u5934\u50cf',
|
472
472
|
'aria-hidden': 'true',
|
473
473
|
tabIndex: -1,
|
474
474
|
},
|
475
|
-
|
475
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
476
476
|
),
|
477
477
|
'\u5e26\u5fbd\u6807\u7684\u5934\u50cf',
|
478
478
|
),
|
479
479
|
),
|
480
|
-
|
480
|
+
l.a.createElement(
|
481
481
|
c['default'],
|
482
|
-
|
483
|
-
|
482
|
+
o['default']['avatar-badge'].previewerProps,
|
483
|
+
l.a.createElement(d, null),
|
484
484
|
),
|
485
|
-
|
485
|
+
l.a.createElement(
|
486
486
|
'div',
|
487
487
|
{ className: 'markdown' },
|
488
|
-
|
488
|
+
l.a.createElement(
|
489
489
|
'h3',
|
490
490
|
{ id: '\u54cd\u5e94\u5f0f\u5c3a\u5bf8' },
|
491
|
-
|
491
|
+
l.a.createElement(
|
492
492
|
r['AnchorLink'],
|
493
493
|
{
|
494
494
|
to: '#\u54cd\u5e94\u5f0f\u5c3a\u5bf8',
|
495
495
|
'aria-hidden': 'true',
|
496
496
|
tabIndex: -1,
|
497
497
|
},
|
498
|
-
|
498
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
499
499
|
),
|
500
500
|
'\u54cd\u5e94\u5f0f\u5c3a\u5bf8',
|
501
501
|
),
|
502
502
|
),
|
503
|
-
|
503
|
+
l.a.createElement(
|
504
504
|
c['default'],
|
505
|
-
|
506
|
-
|
505
|
+
o['default']['avatar-responsive'].previewerProps,
|
506
|
+
l.a.createElement(s, null),
|
507
507
|
),
|
508
|
-
|
508
|
+
l.a.createElement(
|
509
509
|
'div',
|
510
510
|
{ className: 'markdown' },
|
511
|
-
|
511
|
+
l.a.createElement(
|
512
512
|
'h3',
|
513
513
|
{ id: 'avatargroup' },
|
514
|
-
|
514
|
+
l.a.createElement(
|
515
515
|
r['AnchorLink'],
|
516
516
|
{ to: '#avatargroup', 'aria-hidden': 'true', tabIndex: -1 },
|
517
|
-
|
517
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
518
518
|
),
|
519
519
|
'Avatar.Group',
|
520
520
|
),
|
521
521
|
),
|
522
|
-
|
522
|
+
l.a.createElement(
|
523
523
|
c['default'],
|
524
|
-
|
525
|
-
|
524
|
+
o['default']['avatar-group'].previewerProps,
|
525
|
+
l.a.createElement(E, null),
|
526
526
|
),
|
527
|
-
|
527
|
+
l.a.createElement(
|
528
528
|
'div',
|
529
529
|
{ className: 'markdown' },
|
530
|
-
|
530
|
+
l.a.createElement(
|
531
531
|
'h2',
|
532
532
|
{ id: 'api' },
|
533
|
-
|
533
|
+
l.a.createElement(
|
534
534
|
r['AnchorLink'],
|
535
535
|
{ to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
|
536
|
-
|
536
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
537
537
|
),
|
538
538
|
'API',
|
539
539
|
),
|
540
|
-
|
541
|
-
'
|
540
|
+
l.a.createElement(
|
541
|
+
'p',
|
542
542
|
null,
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
'\u56fe\u50cf\u65e0\u6cd5\u663e\u793a\u65f6\u7684\u66ff\u4ee3\u6587\u672c',
|
567
|
-
),
|
568
|
-
n.a.createElement('td', null, 'string'),
|
569
|
-
n.a.createElement('td', null, '-'),
|
570
|
-
n.a.createElement('td', null),
|
571
|
-
),
|
572
|
-
n.a.createElement(
|
573
|
-
'tr',
|
574
|
-
null,
|
575
|
-
n.a.createElement('td', null, 'gap'),
|
576
|
-
n.a.createElement(
|
577
|
-
'td',
|
578
|
-
null,
|
579
|
-
'\u5b57\u7b26\u7c7b\u578b\u8ddd\u79bb\u5de6\u53f3\u4e24\u4fa7\u8fb9\u754c\u5355\u4f4d\u50cf\u7d20',
|
580
|
-
),
|
581
|
-
n.a.createElement('td', null, 'number'),
|
582
|
-
n.a.createElement('td', null, '4'),
|
583
|
-
n.a.createElement('td', null, '4.3.0'),
|
584
|
-
),
|
585
|
-
n.a.createElement(
|
586
|
-
'tr',
|
587
|
-
null,
|
588
|
-
n.a.createElement('td', null, 'icon'),
|
589
|
-
n.a.createElement(
|
590
|
-
'td',
|
591
|
-
null,
|
592
|
-
'\u8bbe\u7f6e\u5934\u50cf\u7684\u81ea\u5b9a\u4e49\u56fe\u6807',
|
593
|
-
),
|
594
|
-
n.a.createElement('td', null, 'ReactNode'),
|
595
|
-
n.a.createElement('td', null, '-'),
|
596
|
-
n.a.createElement('td', null),
|
597
|
-
),
|
598
|
-
n.a.createElement(
|
599
|
-
'tr',
|
600
|
-
null,
|
601
|
-
n.a.createElement('td', null, 'shape'),
|
602
|
-
n.a.createElement(
|
603
|
-
'td',
|
604
|
-
null,
|
605
|
-
'\u6307\u5b9a\u5934\u50cf\u7684\u5f62\u72b6',
|
606
|
-
),
|
607
|
-
n.a.createElement(
|
608
|
-
'td',
|
609
|
-
null,
|
610
|
-
n.a.createElement('code', null, 'circle'),
|
611
|
-
' | ',
|
612
|
-
n.a.createElement('code', null, 'square'),
|
613
|
-
),
|
614
|
-
n.a.createElement(
|
615
|
-
'td',
|
616
|
-
null,
|
617
|
-
n.a.createElement('code', null, 'circle'),
|
618
|
-
),
|
619
|
-
n.a.createElement('td', null),
|
620
|
-
),
|
621
|
-
n.a.createElement(
|
622
|
-
'tr',
|
623
|
-
null,
|
624
|
-
n.a.createElement('td', null, 'size'),
|
625
|
-
n.a.createElement(
|
626
|
-
'td',
|
627
|
-
null,
|
628
|
-
'\u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f',
|
629
|
-
),
|
630
|
-
n.a.createElement(
|
631
|
-
'td',
|
632
|
-
null,
|
633
|
-
'number | ',
|
634
|
-
n.a.createElement('code', null, 'large'),
|
635
|
-
' | ',
|
636
|
-
n.a.createElement('code', null, 'small'),
|
637
|
-
' | ',
|
638
|
-
n.a.createElement('code', null, 'default'),
|
639
|
-
' | ',
|
640
|
-
'{',
|
641
|
-
' xs: number, sm: number, ...',
|
642
|
-
'}',
|
643
|
-
),
|
644
|
-
n.a.createElement(
|
645
|
-
'td',
|
646
|
-
null,
|
647
|
-
n.a.createElement('code', null, 'default'),
|
648
|
-
),
|
649
|
-
n.a.createElement('td', null, '4.7.0'),
|
650
|
-
),
|
651
|
-
n.a.createElement(
|
652
|
-
'tr',
|
653
|
-
null,
|
654
|
-
n.a.createElement('td', null, 'src'),
|
655
|
-
n.a.createElement(
|
656
|
-
'td',
|
657
|
-
null,
|
658
|
-
'\u56fe\u7247\u7c7b\u5934\u50cf\u7684\u8d44\u6e90\u5730\u5740\u6216\u8005\u56fe\u7247\u5143\u7d20',
|
659
|
-
),
|
660
|
-
n.a.createElement('td', null, 'string | ReactNode'),
|
661
|
-
n.a.createElement('td', null, '-'),
|
662
|
-
n.a.createElement('td', null, 'ReactNode: 4.8.0'),
|
663
|
-
),
|
664
|
-
n.a.createElement(
|
665
|
-
'tr',
|
666
|
-
null,
|
667
|
-
n.a.createElement('td', null, 'srcSet'),
|
668
|
-
n.a.createElement(
|
669
|
-
'td',
|
670
|
-
null,
|
671
|
-
'\u8bbe\u7f6e\u56fe\u7247\u7c7b\u5934\u50cf\u54cd\u5e94\u5f0f\u8d44\u6e90\u5730\u5740',
|
672
|
-
),
|
673
|
-
n.a.createElement('td', null, 'string'),
|
674
|
-
n.a.createElement('td', null, '-'),
|
675
|
-
n.a.createElement('td', null),
|
676
|
-
),
|
677
|
-
n.a.createElement(
|
678
|
-
'tr',
|
679
|
-
null,
|
680
|
-
n.a.createElement('td', null, 'draggable'),
|
681
|
-
n.a.createElement(
|
682
|
-
'td',
|
683
|
-
null,
|
684
|
-
'\u56fe\u7247\u662f\u5426\u5141\u8bb8\u62d6\u52a8',
|
685
|
-
),
|
686
|
-
n.a.createElement(
|
687
|
-
'td',
|
688
|
-
null,
|
689
|
-
'boolean | ',
|
690
|
-
n.a.createElement('code', null, "'true'"),
|
691
|
-
' | ',
|
692
|
-
n.a.createElement('code', null, "'false'"),
|
693
|
-
),
|
694
|
-
n.a.createElement('td', null, '-'),
|
695
|
-
n.a.createElement('td', null),
|
696
|
-
),
|
697
|
-
n.a.createElement(
|
698
|
-
'tr',
|
699
|
-
null,
|
700
|
-
n.a.createElement('td', null, 'onError'),
|
701
|
-
n.a.createElement(
|
702
|
-
'td',
|
703
|
-
null,
|
704
|
-
'\u56fe\u7247\u52a0\u8f7d\u5931\u8d25\u7684\u4e8b\u4ef6\uff0c\u8fd4\u56de false \u4f1a\u5173\u95ed\u7ec4\u4ef6\u9ed8\u8ba4\u7684 fallback \u884c\u4e3a',
|
705
|
-
),
|
706
|
-
n.a.createElement('td', null, '() => boolean'),
|
707
|
-
n.a.createElement('td', null, '-'),
|
708
|
-
n.a.createElement('td', null),
|
709
|
-
),
|
710
|
-
),
|
543
|
+
'| \u53c2\u6570 | \u8bf4\u660e | \u7c7b\u578b | \u9ed8\u8ba4\u503c | \u7248\u672c | | --------- | ------------------------------------------------------------- | --------------------------------------------------------------------------- | --------- | ---------------- | --- | --- | --- | | alt | \u56fe\u50cf\u65e0\u6cd5\u663e\u793a\u65f6\u7684\u66ff\u4ee3\u6587\u672c | string | - | | | gap | \u5b57\u7b26\u7c7b\u578b\u8ddd\u79bb\u5de6\u53f3\u4e24\u4fa7\u8fb9\u754c\u5355\u4f4d\u50cf\u7d20 | number | 4 | 4.3.0 | | icon | \u8bbe\u7f6e\u5934\u50cf\u7684\u81ea\u5b9a\u4e49\u56fe\u6807 | ReactNode | - | | | shape | \u6307\u5b9a\u5934\u50cf\u7684\u5f62\u72b6 | ',
|
544
|
+
l.a.createElement('code', null, 'circle'),
|
545
|
+
' | ',
|
546
|
+
l.a.createElement('code', null, 'square'),
|
547
|
+
' | ',
|
548
|
+
l.a.createElement('code', null, 'circle'),
|
549
|
+
' | | | size | \u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f | number | ',
|
550
|
+
l.a.createElement('code', null, 'large'),
|
551
|
+
' | ',
|
552
|
+
l.a.createElement('code', null, 'small'),
|
553
|
+
' | ',
|
554
|
+
l.a.createElement('code', null, 'default'),
|
555
|
+
' | ',
|
556
|
+
'{',
|
557
|
+
' xs: number, sm: number, ...',
|
558
|
+
'}',
|
559
|
+
' | ',
|
560
|
+
l.a.createElement('code', null, 'default'),
|
561
|
+
' | 4.7.0 | | src | \u56fe\u7247\u7c7b\u5934\u50cf\u7684\u8d44\u6e90\u5730\u5740\u6216\u8005\u56fe\u7247\u5143\u7d20 | string | ReactNode | - | ReactNode: 4.8.0 | | srcSet | \u8bbe\u7f6e\u56fe\u7247\u7c7b\u5934\u50cf\u54cd\u5e94\u5f0f\u8d44\u6e90\u5730\u5740 | string | - | | | draggable | \u56fe\u7247\u662f\u5426\u5141\u8bb8\u62d6\u52a8 | boolean | ',
|
562
|
+
l.a.createElement('code', null, "'true'"),
|
563
|
+
' | ',
|
564
|
+
l.a.createElement('code', null, "'false'"),
|
565
|
+
' | - | | | onError | \u56fe\u7247\u52a0\u8f7d\u5931\u8d25\u7684\u4e8b\u4ef6\uff0c\u8fd4\u56de false \u4f1a\u5173\u95ed\u7ec4\u4ef6\u9ed8\u8ba4\u7684 fallback \u884c\u4e3a | () => boolean | - | | | - | |',
|
711
566
|
),
|
712
|
-
|
567
|
+
l.a.createElement(
|
713
568
|
'blockquote',
|
714
569
|
null,
|
715
|
-
|
570
|
+
l.a.createElement(
|
716
571
|
'p',
|
717
572
|
null,
|
718
573
|
'Tip\uff1a\u4f60\u53ef\u4ee5\u8bbe\u7f6e ',
|
719
|
-
|
574
|
+
l.a.createElement('code', null, 'icon'),
|
720
575
|
' \u6216 ',
|
721
|
-
|
576
|
+
l.a.createElement('code', null, 'children'),
|
722
577
|
' \u4f5c\u4e3a\u56fe\u7247\u52a0\u8f7d\u5931\u8d25\u7684\u9ed8\u8ba4 fallback \u884c\u4e3a\uff0c\u4f18\u5148\u7ea7\u4e3a ',
|
723
|
-
|
578
|
+
l.a.createElement('code', null, 'icon'),
|
724
579
|
' > ',
|
725
|
-
|
580
|
+
l.a.createElement('code', null, 'children'),
|
726
581
|
),
|
727
582
|
),
|
728
|
-
|
583
|
+
l.a.createElement(
|
729
584
|
'h3',
|
730
585
|
{ id: 'avatargroup-450' },
|
731
|
-
|
586
|
+
l.a.createElement(
|
732
587
|
r['AnchorLink'],
|
733
588
|
{
|
734
589
|
to: '#avatargroup-450',
|
735
590
|
'aria-hidden': 'true',
|
736
591
|
tabIndex: -1,
|
737
592
|
},
|
738
|
-
|
593
|
+
l.a.createElement('span', { className: 'icon icon-link' }),
|
739
594
|
),
|
740
595
|
'Avatar.Group (4.5.0+)',
|
741
596
|
),
|
742
|
-
|
597
|
+
l.a.createElement(
|
743
598
|
'table',
|
744
599
|
null,
|
745
|
-
|
600
|
+
l.a.createElement(
|
746
601
|
'thead',
|
747
602
|
null,
|
748
|
-
|
603
|
+
l.a.createElement(
|
749
604
|
'tr',
|
750
605
|
null,
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
606
|
+
l.a.createElement('th', null, '\u53c2\u6570'),
|
607
|
+
l.a.createElement('th', null, '\u8bf4\u660e'),
|
608
|
+
l.a.createElement('th', null, '\u7c7b\u578b'),
|
609
|
+
l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
610
|
+
l.a.createElement('th', null, '\u7248\u672c'),
|
756
611
|
),
|
757
612
|
),
|
758
|
-
|
613
|
+
l.a.createElement(
|
759
614
|
'tbody',
|
760
615
|
null,
|
761
|
-
|
616
|
+
l.a.createElement(
|
762
617
|
'tr',
|
763
618
|
null,
|
764
|
-
|
765
|
-
|
619
|
+
l.a.createElement('td', null, 'maxCount'),
|
620
|
+
l.a.createElement(
|
766
621
|
'td',
|
767
622
|
null,
|
768
623
|
'\u663e\u793a\u7684\u6700\u5927\u5934\u50cf\u4e2a\u6570',
|
769
624
|
),
|
770
|
-
|
771
|
-
|
772
|
-
|
625
|
+
l.a.createElement('td', null, 'number'),
|
626
|
+
l.a.createElement('td', null, '-'),
|
627
|
+
l.a.createElement('td', null),
|
773
628
|
),
|
774
|
-
|
629
|
+
l.a.createElement(
|
775
630
|
'tr',
|
776
631
|
null,
|
777
|
-
|
778
|
-
|
632
|
+
l.a.createElement('td', null, 'maxPopoverPlacement'),
|
633
|
+
l.a.createElement(
|
779
634
|
'td',
|
780
635
|
null,
|
781
636
|
'\u591a\u4f59\u5934\u50cf\u6c14\u6ce1\u5f39\u51fa\u4f4d\u7f6e',
|
782
637
|
),
|
783
|
-
|
638
|
+
l.a.createElement(
|
784
639
|
'td',
|
785
640
|
null,
|
786
|
-
|
641
|
+
l.a.createElement('code', null, 'top'),
|
787
642
|
' | ',
|
788
|
-
|
643
|
+
l.a.createElement('code', null, 'bottom'),
|
789
644
|
),
|
790
|
-
|
645
|
+
l.a.createElement(
|
791
646
|
'td',
|
792
647
|
null,
|
793
|
-
|
648
|
+
l.a.createElement('code', null, 'top'),
|
794
649
|
),
|
795
|
-
|
650
|
+
l.a.createElement('td', null),
|
796
651
|
),
|
797
|
-
|
652
|
+
l.a.createElement(
|
798
653
|
'tr',
|
799
654
|
null,
|
800
|
-
|
801
|
-
|
655
|
+
l.a.createElement('td', null, 'maxStyle'),
|
656
|
+
l.a.createElement(
|
802
657
|
'td',
|
803
658
|
null,
|
804
659
|
'\u591a\u4f59\u5934\u50cf\u6837\u5f0f',
|
805
660
|
),
|
806
|
-
|
807
|
-
|
808
|
-
|
661
|
+
l.a.createElement('td', null, 'CSSProperties'),
|
662
|
+
l.a.createElement('td', null, '-'),
|
663
|
+
l.a.createElement('td', null),
|
809
664
|
),
|
810
|
-
|
665
|
+
l.a.createElement(
|
811
666
|
'tr',
|
812
667
|
null,
|
813
|
-
|
814
|
-
|
668
|
+
l.a.createElement('td', null, 'size'),
|
669
|
+
l.a.createElement(
|
815
670
|
'td',
|
816
671
|
null,
|
817
672
|
'\u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f',
|
818
673
|
),
|
819
|
-
|
674
|
+
l.a.createElement(
|
820
675
|
'td',
|
821
676
|
null,
|
822
677
|
'number | ',
|
823
|
-
|
678
|
+
l.a.createElement('code', null, 'large'),
|
824
679
|
' | ',
|
825
|
-
|
680
|
+
l.a.createElement('code', null, 'small'),
|
826
681
|
' | ',
|
827
|
-
|
682
|
+
l.a.createElement('code', null, 'default'),
|
828
683
|
' | ',
|
829
684
|
'{',
|
830
685
|
' xs: number, sm: number, ...',
|
831
686
|
'}',
|
832
687
|
),
|
833
|
-
|
688
|
+
l.a.createElement(
|
834
689
|
'td',
|
835
690
|
null,
|
836
|
-
|
691
|
+
l.a.createElement('code', null, 'default'),
|
837
692
|
),
|
838
|
-
|
693
|
+
l.a.createElement('td', null, '4.8.0'),
|
839
694
|
),
|
840
695
|
),
|
841
696
|
),
|
842
|
-
|
697
|
+
l.a.createElement('style', {
|
843
698
|
dangerouslySetInnerHTML: {
|
844
699
|
__html:
|
845
|
-
'\n[class^="__dumi-default-previewer"] .ant-avatar {\n margin-top: 16px;\n margin-right: 16px;\n}\n.ant-row-rtl [class^="__dumi-default-previewer"] .ant-avatar {\n margin-right: 0;\n margin-left: 16px;\n}
|
700
|
+
'\n[class^="__dumi-default-previewer"] .ant-avatar {\n margin-top: 16px;\n margin-right: 16px;\n}\n[class^="__dumi-default-previewer"] .ant-badge {\n margin-right: 0;\n margin-left: 16px;\n}\n\n[class^="__dumi-default-previewer"] .ant-badge>.ant-avatar {\n margin-top: 0;\n margin-right: 0;\n}\n\n/* .ant-row-rtl [class^="__dumi-default-previewer"] .ant-badge .ant-avatar {\n margin-right: 0;\n margin-left: 16px;\n} */\n',
|
846
701
|
},
|
847
702
|
}),
|
848
703
|
),
|