@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
@@ -0,0 +1,1080 @@
|
|
1
|
+
(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
|
2
|
+
[53],
|
3
|
+
{
|
4
|
+
MZF8: function (e, t, a) {
|
5
|
+
'use strict';
|
6
|
+
var l = a('ogwx');
|
7
|
+
a.d(t, 'a', function () {
|
8
|
+
return l['b'];
|
9
|
+
});
|
10
|
+
a('VCU9');
|
11
|
+
},
|
12
|
+
RZMt: function (e, t, a) {},
|
13
|
+
Zxc8: function (e, t, a) {
|
14
|
+
'use strict';
|
15
|
+
a.r(t);
|
16
|
+
var l = a('q1tI'),
|
17
|
+
n = a.n(l),
|
18
|
+
r = a('k3GJ'),
|
19
|
+
c = a('MZF8'),
|
20
|
+
o = a('dEAq'),
|
21
|
+
m = a('H1Ra');
|
22
|
+
a('RZMt');
|
23
|
+
function u(e, t) {
|
24
|
+
return p(e) || E(e, t) || d(e, t) || i();
|
25
|
+
}
|
26
|
+
function i() {
|
27
|
+
throw new TypeError(
|
28
|
+
'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
|
29
|
+
);
|
30
|
+
}
|
31
|
+
function d(e, t) {
|
32
|
+
if (e) {
|
33
|
+
if ('string' === typeof e) return s(e, t);
|
34
|
+
var a = Object.prototype.toString.call(e).slice(8, -1);
|
35
|
+
return (
|
36
|
+
'Object' === a && e.constructor && (a = e.constructor.name),
|
37
|
+
'Map' === a || 'Set' === a
|
38
|
+
? Array.from(e)
|
39
|
+
: 'Arguments' === a ||
|
40
|
+
/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
|
41
|
+
? s(e, t)
|
42
|
+
: void 0
|
43
|
+
);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
function s(e, t) {
|
47
|
+
(null == t || t > e.length) && (t = e.length);
|
48
|
+
for (var a = 0, l = new Array(t); a < t; a++) l[a] = e[a];
|
49
|
+
return l;
|
50
|
+
}
|
51
|
+
function E(e, t) {
|
52
|
+
var a =
|
53
|
+
null == e
|
54
|
+
? null
|
55
|
+
: ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
|
56
|
+
e['@@iterator'];
|
57
|
+
if (null != a) {
|
58
|
+
var l,
|
59
|
+
n,
|
60
|
+
r = [],
|
61
|
+
c = !0,
|
62
|
+
o = !1;
|
63
|
+
try {
|
64
|
+
for (a = a.call(e); !(c = (l = a.next()).done); c = !0)
|
65
|
+
if ((r.push(l.value), t && r.length === t)) break;
|
66
|
+
} catch (m) {
|
67
|
+
(o = !0), (n = m);
|
68
|
+
} finally {
|
69
|
+
try {
|
70
|
+
c || null == a['return'] || a['return']();
|
71
|
+
} finally {
|
72
|
+
if (o) throw n;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
return r;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
function p(e) {
|
79
|
+
if (Array.isArray(e)) return e;
|
80
|
+
}
|
81
|
+
function h(e, t) {
|
82
|
+
var a,
|
83
|
+
l =
|
84
|
+
null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
|
85
|
+
return l || (l = t.tsx ? 'tsx' : 'jsx'), l;
|
86
|
+
}
|
87
|
+
var f = function (e) {
|
88
|
+
var t,
|
89
|
+
a,
|
90
|
+
i,
|
91
|
+
d = Object(l['useRef'])(),
|
92
|
+
s = Object(l['useContext'])(o['context']),
|
93
|
+
E = s.locale,
|
94
|
+
p = Object(o['useLocaleProps'])(E, e),
|
95
|
+
f = Object(o['useDemoUrl'])(p.identifier),
|
96
|
+
b = p.demoUrl || f,
|
97
|
+
k =
|
98
|
+
(null === c['a'] || void 0 === c['a']
|
99
|
+
? void 0
|
100
|
+
: c['a'].location.hash) === '#'.concat(p.identifier),
|
101
|
+
v = 1 === Object.keys(p.sources).length,
|
102
|
+
y = Object(o['useCodeSandbox'])(
|
103
|
+
(
|
104
|
+
null === (t = p.hideActions) || void 0 === t
|
105
|
+
? void 0
|
106
|
+
: t.includes('CSB')
|
107
|
+
)
|
108
|
+
? null
|
109
|
+
: p,
|
110
|
+
),
|
111
|
+
_ = Object(o['useRiddle'])(
|
112
|
+
(
|
113
|
+
null === (a = p.hideActions) || void 0 === a
|
114
|
+
? void 0
|
115
|
+
: a.includes('RIDDLE')
|
116
|
+
)
|
117
|
+
? null
|
118
|
+
: p,
|
119
|
+
),
|
120
|
+
w = Object(o['useMotions'])(p.motions || [], d.current),
|
121
|
+
g = u(w, 2),
|
122
|
+
N = g[0],
|
123
|
+
A = g[1],
|
124
|
+
x = Object(o['useCopy'])(),
|
125
|
+
S = u(x, 2),
|
126
|
+
I = S[0],
|
127
|
+
L = S[1],
|
128
|
+
P = Object(l['useState'])('_'),
|
129
|
+
j = u(P, 2),
|
130
|
+
O = j[0],
|
131
|
+
C = j[1],
|
132
|
+
R = Object(l['useState'])(h(O, p.sources[O])),
|
133
|
+
M = u(R, 2),
|
134
|
+
T = M[0],
|
135
|
+
Z = M[1],
|
136
|
+
U = Object(l['useState'])(Boolean(p.defaultShowCode)),
|
137
|
+
q = u(U, 2),
|
138
|
+
J = q[0],
|
139
|
+
B = q[1],
|
140
|
+
F = Object(l['useState'])(Math.random()),
|
141
|
+
$ = u(F, 2),
|
142
|
+
z = $[0],
|
143
|
+
D = $[1],
|
144
|
+
G = p.sources[O][T] || p.sources[O].content,
|
145
|
+
H = Object(o['useTSPlaygroundUrl'])(E, G),
|
146
|
+
X = Object(l['useRef'])(),
|
147
|
+
K = Object(o['usePrefersColor'])(),
|
148
|
+
Q = u(K, 1),
|
149
|
+
V = Q[0];
|
150
|
+
function W(e) {
|
151
|
+
C(e), Z(h(e, p.sources[e]));
|
152
|
+
}
|
153
|
+
return (
|
154
|
+
Object(l['useEffect'])(
|
155
|
+
function () {
|
156
|
+
D(Math.random());
|
157
|
+
},
|
158
|
+
[V],
|
159
|
+
),
|
160
|
+
n.a.createElement(
|
161
|
+
'div',
|
162
|
+
{
|
163
|
+
style: p.style,
|
164
|
+
className: [
|
165
|
+
p.className,
|
166
|
+
'__dumi-default-previewer',
|
167
|
+
k ? '__dumi-default-previewer-target' : '',
|
168
|
+
]
|
169
|
+
.filter(Boolean)
|
170
|
+
.join(' '),
|
171
|
+
id: p.identifier,
|
172
|
+
'data-debug': p.debug || void 0,
|
173
|
+
'data-iframe': p.iframe || void 0,
|
174
|
+
},
|
175
|
+
p.iframe &&
|
176
|
+
n.a.createElement('div', {
|
177
|
+
className: '__dumi-default-previewer-browser-nav',
|
178
|
+
}),
|
179
|
+
n.a.createElement(
|
180
|
+
'div',
|
181
|
+
{
|
182
|
+
ref: d,
|
183
|
+
className: '__dumi-default-previewer-demo',
|
184
|
+
style: {
|
185
|
+
transform: p.transform ? 'translate(0, 0)' : void 0,
|
186
|
+
padding:
|
187
|
+
p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
|
188
|
+
background: p.background,
|
189
|
+
},
|
190
|
+
},
|
191
|
+
p.iframe
|
192
|
+
? n.a.createElement('iframe', {
|
193
|
+
title: 'dumi-previewer',
|
194
|
+
style: {
|
195
|
+
height: String(p.iframe).replace(/(\d)$/, '$1px'),
|
196
|
+
},
|
197
|
+
key: z,
|
198
|
+
src: b,
|
199
|
+
ref: X,
|
200
|
+
})
|
201
|
+
: p.children,
|
202
|
+
),
|
203
|
+
n.a.createElement(
|
204
|
+
'div',
|
205
|
+
{
|
206
|
+
className: '__dumi-default-previewer-desc',
|
207
|
+
'data-title': p.title,
|
208
|
+
},
|
209
|
+
p.title &&
|
210
|
+
n.a.createElement(
|
211
|
+
o['AnchorLink'],
|
212
|
+
{ to: '#'.concat(p.identifier) },
|
213
|
+
p.title,
|
214
|
+
),
|
215
|
+
p.description &&
|
216
|
+
n.a.createElement('div', {
|
217
|
+
dangerouslySetInnerHTML: { __html: p.description },
|
218
|
+
}),
|
219
|
+
),
|
220
|
+
n.a.createElement(
|
221
|
+
'div',
|
222
|
+
{ className: '__dumi-default-previewer-actions' },
|
223
|
+
y &&
|
224
|
+
n.a.createElement('button', {
|
225
|
+
title: 'Open demo on CodeSandbox.io',
|
226
|
+
className: '__dumi-default-icon',
|
227
|
+
role: 'codesandbox',
|
228
|
+
onClick: y,
|
229
|
+
}),
|
230
|
+
_ &&
|
231
|
+
n.a.createElement('button', {
|
232
|
+
title: 'Open demo on Riddle',
|
233
|
+
className: '__dumi-default-icon',
|
234
|
+
role: 'riddle',
|
235
|
+
onClick: _,
|
236
|
+
}),
|
237
|
+
p.motions &&
|
238
|
+
n.a.createElement('button', {
|
239
|
+
title: 'Execute motions',
|
240
|
+
className: '__dumi-default-icon',
|
241
|
+
role: 'motions',
|
242
|
+
disabled: A,
|
243
|
+
onClick: function () {
|
244
|
+
return N();
|
245
|
+
},
|
246
|
+
}),
|
247
|
+
p.iframe &&
|
248
|
+
n.a.createElement('button', {
|
249
|
+
title: 'Reload demo iframe page',
|
250
|
+
className: '__dumi-default-icon',
|
251
|
+
role: 'refresh',
|
252
|
+
onClick: function () {
|
253
|
+
return D(Math.random());
|
254
|
+
},
|
255
|
+
}),
|
256
|
+
!(null === (i = p.hideActions) || void 0 === i
|
257
|
+
? void 0
|
258
|
+
: i.includes('EXTERNAL')) &&
|
259
|
+
n.a.createElement(
|
260
|
+
o['Link'],
|
261
|
+
{ target: '_blank', to: b },
|
262
|
+
n.a.createElement('button', {
|
263
|
+
title: 'Open demo in new tab',
|
264
|
+
className: '__dumi-default-icon',
|
265
|
+
role: 'open-demo',
|
266
|
+
type: 'button',
|
267
|
+
}),
|
268
|
+
),
|
269
|
+
n.a.createElement('span', null),
|
270
|
+
n.a.createElement('button', {
|
271
|
+
title: 'Copy source code',
|
272
|
+
className: '__dumi-default-icon',
|
273
|
+
role: 'copy',
|
274
|
+
'data-status': L,
|
275
|
+
onClick: function () {
|
276
|
+
return I(G);
|
277
|
+
},
|
278
|
+
}),
|
279
|
+
'tsx' === T &&
|
280
|
+
J &&
|
281
|
+
n.a.createElement(
|
282
|
+
o['Link'],
|
283
|
+
{ target: '_blank', to: H },
|
284
|
+
n.a.createElement('button', {
|
285
|
+
title: 'Get JSX via TypeScript Playground',
|
286
|
+
className: '__dumi-default-icon',
|
287
|
+
role: 'change-tsx',
|
288
|
+
type: 'button',
|
289
|
+
}),
|
290
|
+
),
|
291
|
+
n.a.createElement('button', {
|
292
|
+
title: 'Toggle source code panel',
|
293
|
+
className: '__dumi-default-icon'.concat(
|
294
|
+
J ? ' __dumi-default-btn-expand' : '',
|
295
|
+
),
|
296
|
+
role: 'source',
|
297
|
+
type: 'button',
|
298
|
+
onClick: function () {
|
299
|
+
return B(!J);
|
300
|
+
},
|
301
|
+
}),
|
302
|
+
),
|
303
|
+
J &&
|
304
|
+
n.a.createElement(
|
305
|
+
'div',
|
306
|
+
{ className: '__dumi-default-previewer-source-wrapper' },
|
307
|
+
!v &&
|
308
|
+
n.a.createElement(
|
309
|
+
r['b'],
|
310
|
+
{
|
311
|
+
className: '__dumi-default-previewer-source-tab',
|
312
|
+
prefixCls: '__dumi-default-tabs',
|
313
|
+
moreIcon: '\xb7\xb7\xb7',
|
314
|
+
defaultActiveKey: O,
|
315
|
+
onChange: W,
|
316
|
+
},
|
317
|
+
Object.keys(p.sources).map(function (e) {
|
318
|
+
return n.a.createElement(r['a'], {
|
319
|
+
tab:
|
320
|
+
'_' === e ? 'index.'.concat(h(e, p.sources[e])) : e,
|
321
|
+
key: e,
|
322
|
+
});
|
323
|
+
}),
|
324
|
+
),
|
325
|
+
n.a.createElement(
|
326
|
+
'div',
|
327
|
+
{ className: '__dumi-default-previewer-source' },
|
328
|
+
n.a.createElement(m['a'], { code: G, lang: T, showCopy: !1 }),
|
329
|
+
),
|
330
|
+
),
|
331
|
+
)
|
332
|
+
);
|
333
|
+
};
|
334
|
+
t['default'] = f;
|
335
|
+
},
|
336
|
+
euQZ: function (e, t, a) {
|
337
|
+
'use strict';
|
338
|
+
a.r(t);
|
339
|
+
var l = a('q1tI'),
|
340
|
+
n = a.n(l),
|
341
|
+
r = a('dEAq'),
|
342
|
+
c = a('Zxc8'),
|
343
|
+
o = a('JjdP'),
|
344
|
+
m = n.a.memo(o['default']['skeleton-basic'].component),
|
345
|
+
u = n.a.memo(o['default']['skeleton-complex'].component),
|
346
|
+
i = n.a.memo(o['default']['skeleton-active'].component),
|
347
|
+
d = n.a.memo(o['default']['skeleton-element'].component),
|
348
|
+
s = n.a.memo(o['default']['skeleton-children'].component),
|
349
|
+
E = n.a.memo(o['default']['skeleton-list'].component);
|
350
|
+
t['default'] = (e) => (
|
351
|
+
n.a.useEffect(() => {
|
352
|
+
var t;
|
353
|
+
null !== e &&
|
354
|
+
void 0 !== e &&
|
355
|
+
null !== (t = e.location) &&
|
356
|
+
void 0 !== t &&
|
357
|
+
t.hash &&
|
358
|
+
r['AnchorLink'].scrollToAnchor(
|
359
|
+
decodeURIComponent(e.location.hash.slice(1)),
|
360
|
+
);
|
361
|
+
}, []),
|
362
|
+
n.a.createElement(
|
363
|
+
n.a.Fragment,
|
364
|
+
null,
|
365
|
+
n.a.createElement(
|
366
|
+
n.a.Fragment,
|
367
|
+
null,
|
368
|
+
n.a.createElement(
|
369
|
+
'div',
|
370
|
+
{ className: 'markdown' },
|
371
|
+
n.a.createElement(
|
372
|
+
'h1',
|
373
|
+
{ id: 'skeleton-\u9aa8\u67b6\u5c4f' },
|
374
|
+
n.a.createElement(
|
375
|
+
r['AnchorLink'],
|
376
|
+
{
|
377
|
+
to: '#skeleton-\u9aa8\u67b6\u5c4f',
|
378
|
+
'aria-hidden': 'true',
|
379
|
+
tabIndex: -1,
|
380
|
+
},
|
381
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
382
|
+
),
|
383
|
+
'Skeleton \u9aa8\u67b6\u5c4f',
|
384
|
+
),
|
385
|
+
n.a.createElement(
|
386
|
+
'p',
|
387
|
+
null,
|
388
|
+
'\u5728\u9700\u8981\u7b49\u5f85\u52a0\u8f7d\u5185\u5bb9\u7684\u4f4d\u7f6e\u63d0\u4f9b\u4e00\u4e2a\u5360\u4f4d\u56fe\u5f62\u7ec4\u5408\u3002',
|
389
|
+
),
|
390
|
+
n.a.createElement(
|
391
|
+
'h2',
|
392
|
+
{ id: '\u4f55\u65f6\u4f7f\u7528' },
|
393
|
+
n.a.createElement(
|
394
|
+
r['AnchorLink'],
|
395
|
+
{
|
396
|
+
to: '#\u4f55\u65f6\u4f7f\u7528',
|
397
|
+
'aria-hidden': 'true',
|
398
|
+
tabIndex: -1,
|
399
|
+
},
|
400
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
401
|
+
),
|
402
|
+
'\u4f55\u65f6\u4f7f\u7528',
|
403
|
+
),
|
404
|
+
n.a.createElement(
|
405
|
+
'ul',
|
406
|
+
null,
|
407
|
+
n.a.createElement(
|
408
|
+
'li',
|
409
|
+
null,
|
410
|
+
'\u7f51\u7edc\u8f83\u6162\uff0c\u9700\u8981\u957f\u65f6\u95f4\u7b49\u5f85\u52a0\u8f7d\u5904\u7406\u7684\u60c5\u51b5\u4e0b\u3002',
|
411
|
+
),
|
412
|
+
n.a.createElement(
|
413
|
+
'li',
|
414
|
+
null,
|
415
|
+
'\u56fe\u6587\u4fe1\u606f\u5185\u5bb9\u8f83\u591a\u7684\u5217\u8868/\u5361\u7247\u4e2d\u3002',
|
416
|
+
),
|
417
|
+
n.a.createElement(
|
418
|
+
'li',
|
419
|
+
null,
|
420
|
+
'\u53ea\u5728\u7b2c\u4e00\u6b21\u52a0\u8f7d\u6570\u636e\u7684\u65f6\u5019\u4f7f\u7528\u3002',
|
421
|
+
),
|
422
|
+
n.a.createElement(
|
423
|
+
'li',
|
424
|
+
null,
|
425
|
+
'\u53ef\u4ee5\u88ab Spin \u5b8c\u5168\u4ee3\u66ff\uff0c\u4f46\u662f\u5728\u53ef\u7528\u7684\u573a\u666f\u4e0b\u53ef\u4ee5\u6bd4 Spin \u63d0\u4f9b\u66f4\u597d\u7684\u89c6\u89c9\u6548\u679c\u548c\u7528\u6237\u4f53\u9a8c\u3002',
|
426
|
+
),
|
427
|
+
),
|
428
|
+
n.a.createElement(
|
429
|
+
'h2',
|
430
|
+
{ id: '\u4ee3\u7801\u6f14\u793a' },
|
431
|
+
n.a.createElement(
|
432
|
+
r['AnchorLink'],
|
433
|
+
{
|
434
|
+
to: '#\u4ee3\u7801\u6f14\u793a',
|
435
|
+
'aria-hidden': 'true',
|
436
|
+
tabIndex: -1,
|
437
|
+
},
|
438
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
439
|
+
),
|
440
|
+
'\u4ee3\u7801\u6f14\u793a',
|
441
|
+
),
|
442
|
+
n.a.createElement(
|
443
|
+
'h3',
|
444
|
+
{ id: '\u57fa\u672c\u7528\u6cd5' },
|
445
|
+
n.a.createElement(
|
446
|
+
r['AnchorLink'],
|
447
|
+
{
|
448
|
+
to: '#\u57fa\u672c\u7528\u6cd5',
|
449
|
+
'aria-hidden': 'true',
|
450
|
+
tabIndex: -1,
|
451
|
+
},
|
452
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
453
|
+
),
|
454
|
+
'\u57fa\u672c\u7528\u6cd5',
|
455
|
+
),
|
456
|
+
),
|
457
|
+
n.a.createElement(
|
458
|
+
c['default'],
|
459
|
+
o['default']['skeleton-basic'].previewerProps,
|
460
|
+
n.a.createElement(m, null),
|
461
|
+
),
|
462
|
+
n.a.createElement(
|
463
|
+
'div',
|
464
|
+
{ className: 'markdown' },
|
465
|
+
n.a.createElement(
|
466
|
+
'h3',
|
467
|
+
{ id: '\u590d\u6742\u7684\u7ec4\u5408' },
|
468
|
+
n.a.createElement(
|
469
|
+
r['AnchorLink'],
|
470
|
+
{
|
471
|
+
to: '#\u590d\u6742\u7684\u7ec4\u5408',
|
472
|
+
'aria-hidden': 'true',
|
473
|
+
tabIndex: -1,
|
474
|
+
},
|
475
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
476
|
+
),
|
477
|
+
'\u590d\u6742\u7684\u7ec4\u5408',
|
478
|
+
),
|
479
|
+
),
|
480
|
+
n.a.createElement(
|
481
|
+
c['default'],
|
482
|
+
o['default']['skeleton-complex'].previewerProps,
|
483
|
+
n.a.createElement(u, null),
|
484
|
+
),
|
485
|
+
n.a.createElement(
|
486
|
+
'div',
|
487
|
+
{ className: 'markdown' },
|
488
|
+
n.a.createElement(
|
489
|
+
'h3',
|
490
|
+
{ id: '\u52a8\u753b\u6548\u679c' },
|
491
|
+
n.a.createElement(
|
492
|
+
r['AnchorLink'],
|
493
|
+
{
|
494
|
+
to: '#\u52a8\u753b\u6548\u679c',
|
495
|
+
'aria-hidden': 'true',
|
496
|
+
tabIndex: -1,
|
497
|
+
},
|
498
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
499
|
+
),
|
500
|
+
'\u52a8\u753b\u6548\u679c',
|
501
|
+
),
|
502
|
+
),
|
503
|
+
n.a.createElement(
|
504
|
+
c['default'],
|
505
|
+
o['default']['skeleton-active'].previewerProps,
|
506
|
+
n.a.createElement(i, null),
|
507
|
+
),
|
508
|
+
n.a.createElement(
|
509
|
+
'div',
|
510
|
+
{ className: 'markdown' },
|
511
|
+
n.a.createElement(
|
512
|
+
'h3',
|
513
|
+
{
|
514
|
+
id: '\u6309\u94ae\u5934\u50cf\u8f93\u5165\u6846\u56fe\u50cf',
|
515
|
+
},
|
516
|
+
n.a.createElement(
|
517
|
+
r['AnchorLink'],
|
518
|
+
{
|
519
|
+
to: '#\u6309\u94ae\u5934\u50cf\u8f93\u5165\u6846\u56fe\u50cf',
|
520
|
+
'aria-hidden': 'true',
|
521
|
+
tabIndex: -1,
|
522
|
+
},
|
523
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
524
|
+
),
|
525
|
+
'\u6309\u94ae/\u5934\u50cf/\u8f93\u5165\u6846/\u56fe\u50cf',
|
526
|
+
),
|
527
|
+
),
|
528
|
+
n.a.createElement(
|
529
|
+
c['default'],
|
530
|
+
o['default']['skeleton-element'].previewerProps,
|
531
|
+
n.a.createElement(d, null),
|
532
|
+
),
|
533
|
+
n.a.createElement(
|
534
|
+
'div',
|
535
|
+
{ className: 'markdown' },
|
536
|
+
n.a.createElement(
|
537
|
+
'h3',
|
538
|
+
{ id: '\u5305\u542b\u5b50\u7ec4\u4ef6' },
|
539
|
+
n.a.createElement(
|
540
|
+
r['AnchorLink'],
|
541
|
+
{
|
542
|
+
to: '#\u5305\u542b\u5b50\u7ec4\u4ef6',
|
543
|
+
'aria-hidden': 'true',
|
544
|
+
tabIndex: -1,
|
545
|
+
},
|
546
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
547
|
+
),
|
548
|
+
'\u5305\u542b\u5b50\u7ec4\u4ef6',
|
549
|
+
),
|
550
|
+
),
|
551
|
+
n.a.createElement(
|
552
|
+
c['default'],
|
553
|
+
o['default']['skeleton-children'].previewerProps,
|
554
|
+
n.a.createElement(s, null),
|
555
|
+
),
|
556
|
+
n.a.createElement(
|
557
|
+
'div',
|
558
|
+
{ className: 'markdown' },
|
559
|
+
n.a.createElement(
|
560
|
+
'h3',
|
561
|
+
{ id: '\u5217\u8868' },
|
562
|
+
n.a.createElement(
|
563
|
+
r['AnchorLink'],
|
564
|
+
{ to: '#\u5217\u8868', 'aria-hidden': 'true', tabIndex: -1 },
|
565
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
566
|
+
),
|
567
|
+
'\u5217\u8868',
|
568
|
+
),
|
569
|
+
),
|
570
|
+
n.a.createElement(
|
571
|
+
c['default'],
|
572
|
+
o['default']['skeleton-list'].previewerProps,
|
573
|
+
n.a.createElement(E, null),
|
574
|
+
),
|
575
|
+
n.a.createElement(
|
576
|
+
'div',
|
577
|
+
{ className: 'markdown' },
|
578
|
+
n.a.createElement(
|
579
|
+
'h2',
|
580
|
+
{ id: 'api' },
|
581
|
+
n.a.createElement(
|
582
|
+
r['AnchorLink'],
|
583
|
+
{ to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
|
584
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
585
|
+
),
|
586
|
+
'API',
|
587
|
+
),
|
588
|
+
n.a.createElement(
|
589
|
+
'h3',
|
590
|
+
{ id: 'skeleton' },
|
591
|
+
n.a.createElement(
|
592
|
+
r['AnchorLink'],
|
593
|
+
{ to: '#skeleton', 'aria-hidden': 'true', tabIndex: -1 },
|
594
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
595
|
+
),
|
596
|
+
'Skeleton',
|
597
|
+
),
|
598
|
+
n.a.createElement(
|
599
|
+
'table',
|
600
|
+
null,
|
601
|
+
n.a.createElement(
|
602
|
+
'thead',
|
603
|
+
null,
|
604
|
+
n.a.createElement(
|
605
|
+
'tr',
|
606
|
+
null,
|
607
|
+
n.a.createElement('th', null, '\u5c5e\u6027'),
|
608
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
609
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
610
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
611
|
+
),
|
612
|
+
),
|
613
|
+
n.a.createElement(
|
614
|
+
'tbody',
|
615
|
+
null,
|
616
|
+
n.a.createElement(
|
617
|
+
'tr',
|
618
|
+
null,
|
619
|
+
n.a.createElement('td', null, 'active'),
|
620
|
+
n.a.createElement(
|
621
|
+
'td',
|
622
|
+
null,
|
623
|
+
'\u662f\u5426\u5c55\u793a\u52a8\u753b\u6548\u679c',
|
624
|
+
),
|
625
|
+
n.a.createElement('td', null, 'boolean'),
|
626
|
+
n.a.createElement('td', null, 'false'),
|
627
|
+
),
|
628
|
+
n.a.createElement(
|
629
|
+
'tr',
|
630
|
+
null,
|
631
|
+
n.a.createElement('td', null, 'avatar'),
|
632
|
+
n.a.createElement(
|
633
|
+
'td',
|
634
|
+
null,
|
635
|
+
'\u662f\u5426\u663e\u793a\u5934\u50cf\u5360\u4f4d\u56fe',
|
636
|
+
),
|
637
|
+
n.a.createElement(
|
638
|
+
'td',
|
639
|
+
null,
|
640
|
+
'boolean | ',
|
641
|
+
n.a.createElement(
|
642
|
+
r['AnchorLink'],
|
643
|
+
{ to: '#SkeletonAvatarProps' },
|
644
|
+
'SkeletonAvatarProps',
|
645
|
+
),
|
646
|
+
),
|
647
|
+
n.a.createElement('td', null, 'false'),
|
648
|
+
),
|
649
|
+
n.a.createElement(
|
650
|
+
'tr',
|
651
|
+
null,
|
652
|
+
n.a.createElement('td', null, 'loading'),
|
653
|
+
n.a.createElement(
|
654
|
+
'td',
|
655
|
+
null,
|
656
|
+
'\u4e3a true \u65f6\uff0c\u663e\u793a\u5360\u4f4d\u56fe\u3002\u53cd\u4e4b\u5219\u76f4\u63a5\u5c55\u793a\u5b50\u7ec4\u4ef6',
|
657
|
+
),
|
658
|
+
n.a.createElement('td', null, 'boolean'),
|
659
|
+
n.a.createElement('td', null, '-'),
|
660
|
+
),
|
661
|
+
n.a.createElement(
|
662
|
+
'tr',
|
663
|
+
null,
|
664
|
+
n.a.createElement('td', null, 'paragraph'),
|
665
|
+
n.a.createElement(
|
666
|
+
'td',
|
667
|
+
null,
|
668
|
+
'\u662f\u5426\u663e\u793a\u6bb5\u843d\u5360\u4f4d\u56fe',
|
669
|
+
),
|
670
|
+
n.a.createElement(
|
671
|
+
'td',
|
672
|
+
null,
|
673
|
+
'boolean | ',
|
674
|
+
n.a.createElement(
|
675
|
+
r['AnchorLink'],
|
676
|
+
{ to: '#SkeletonParagraphProps' },
|
677
|
+
'SkeletonParagraphProps',
|
678
|
+
),
|
679
|
+
),
|
680
|
+
n.a.createElement('td', null, 'true'),
|
681
|
+
),
|
682
|
+
n.a.createElement(
|
683
|
+
'tr',
|
684
|
+
null,
|
685
|
+
n.a.createElement('td', null, 'round'),
|
686
|
+
n.a.createElement(
|
687
|
+
'td',
|
688
|
+
null,
|
689
|
+
'\u4e3a true \u65f6\uff0c\u6bb5\u843d\u548c\u6807\u9898\u663e\u793a\u5706\u89d2',
|
690
|
+
),
|
691
|
+
n.a.createElement('td', null, 'boolean'),
|
692
|
+
n.a.createElement('td', null, 'false'),
|
693
|
+
),
|
694
|
+
n.a.createElement(
|
695
|
+
'tr',
|
696
|
+
null,
|
697
|
+
n.a.createElement('td', null, 'title'),
|
698
|
+
n.a.createElement(
|
699
|
+
'td',
|
700
|
+
null,
|
701
|
+
'\u662f\u5426\u663e\u793a\u6807\u9898\u5360\u4f4d\u56fe',
|
702
|
+
),
|
703
|
+
n.a.createElement(
|
704
|
+
'td',
|
705
|
+
null,
|
706
|
+
'boolean | ',
|
707
|
+
n.a.createElement(
|
708
|
+
r['AnchorLink'],
|
709
|
+
{ to: '#SkeletonTitleProps' },
|
710
|
+
'SkeletonTitleProps',
|
711
|
+
),
|
712
|
+
),
|
713
|
+
n.a.createElement('td', null, 'true'),
|
714
|
+
),
|
715
|
+
),
|
716
|
+
),
|
717
|
+
n.a.createElement(
|
718
|
+
'h3',
|
719
|
+
{ id: 'skeletonavatarprops' },
|
720
|
+
n.a.createElement(
|
721
|
+
r['AnchorLink'],
|
722
|
+
{
|
723
|
+
to: '#skeletonavatarprops',
|
724
|
+
'aria-hidden': 'true',
|
725
|
+
tabIndex: -1,
|
726
|
+
},
|
727
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
728
|
+
),
|
729
|
+
'SkeletonAvatarProps',
|
730
|
+
),
|
731
|
+
n.a.createElement(
|
732
|
+
'table',
|
733
|
+
null,
|
734
|
+
n.a.createElement(
|
735
|
+
'thead',
|
736
|
+
null,
|
737
|
+
n.a.createElement(
|
738
|
+
'tr',
|
739
|
+
null,
|
740
|
+
n.a.createElement('th', null, '\u5c5e\u6027'),
|
741
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
742
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
743
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
744
|
+
),
|
745
|
+
),
|
746
|
+
n.a.createElement(
|
747
|
+
'tbody',
|
748
|
+
null,
|
749
|
+
n.a.createElement(
|
750
|
+
'tr',
|
751
|
+
null,
|
752
|
+
n.a.createElement('td', null, 'active'),
|
753
|
+
n.a.createElement(
|
754
|
+
'td',
|
755
|
+
null,
|
756
|
+
'\u662f\u5426\u5c55\u793a\u52a8\u753b\u6548\u679c\uff0c\u4ec5\u5728\u5355\u72ec\u4f7f\u7528\u5934\u50cf\u9aa8\u67b6\u65f6\u751f\u6548',
|
757
|
+
),
|
758
|
+
n.a.createElement('td', null, 'boolean'),
|
759
|
+
n.a.createElement('td', null, 'false'),
|
760
|
+
),
|
761
|
+
n.a.createElement(
|
762
|
+
'tr',
|
763
|
+
null,
|
764
|
+
n.a.createElement('td', null, 'shape'),
|
765
|
+
n.a.createElement(
|
766
|
+
'td',
|
767
|
+
null,
|
768
|
+
'\u6307\u5b9a\u5934\u50cf\u7684\u5f62\u72b6',
|
769
|
+
),
|
770
|
+
n.a.createElement(
|
771
|
+
'td',
|
772
|
+
null,
|
773
|
+
n.a.createElement('code', null, 'circle'),
|
774
|
+
' | ',
|
775
|
+
n.a.createElement('code', null, 'square'),
|
776
|
+
),
|
777
|
+
n.a.createElement('td', null, '-'),
|
778
|
+
),
|
779
|
+
n.a.createElement(
|
780
|
+
'tr',
|
781
|
+
null,
|
782
|
+
n.a.createElement('td', null, 'size'),
|
783
|
+
n.a.createElement(
|
784
|
+
'td',
|
785
|
+
null,
|
786
|
+
'\u8bbe\u7f6e\u5934\u50cf\u5360\u4f4d\u56fe\u7684\u5927\u5c0f',
|
787
|
+
),
|
788
|
+
n.a.createElement(
|
789
|
+
'td',
|
790
|
+
null,
|
791
|
+
'number | ',
|
792
|
+
n.a.createElement('code', null, 'large'),
|
793
|
+
' | ',
|
794
|
+
n.a.createElement('code', null, 'small'),
|
795
|
+
' | ',
|
796
|
+
n.a.createElement('code', null, 'default'),
|
797
|
+
),
|
798
|
+
n.a.createElement('td', null, '-'),
|
799
|
+
),
|
800
|
+
),
|
801
|
+
),
|
802
|
+
n.a.createElement(
|
803
|
+
'h3',
|
804
|
+
{ id: 'skeletontitleprops' },
|
805
|
+
n.a.createElement(
|
806
|
+
r['AnchorLink'],
|
807
|
+
{
|
808
|
+
to: '#skeletontitleprops',
|
809
|
+
'aria-hidden': 'true',
|
810
|
+
tabIndex: -1,
|
811
|
+
},
|
812
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
813
|
+
),
|
814
|
+
'SkeletonTitleProps',
|
815
|
+
),
|
816
|
+
n.a.createElement(
|
817
|
+
'table',
|
818
|
+
null,
|
819
|
+
n.a.createElement(
|
820
|
+
'thead',
|
821
|
+
null,
|
822
|
+
n.a.createElement(
|
823
|
+
'tr',
|
824
|
+
null,
|
825
|
+
n.a.createElement('th', null, '\u5c5e\u6027'),
|
826
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
827
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
828
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
829
|
+
),
|
830
|
+
),
|
831
|
+
n.a.createElement(
|
832
|
+
'tbody',
|
833
|
+
null,
|
834
|
+
n.a.createElement(
|
835
|
+
'tr',
|
836
|
+
null,
|
837
|
+
n.a.createElement('td', null, 'width'),
|
838
|
+
n.a.createElement(
|
839
|
+
'td',
|
840
|
+
null,
|
841
|
+
'\u8bbe\u7f6e\u6807\u9898\u5360\u4f4d\u56fe\u7684\u5bbd\u5ea6',
|
842
|
+
),
|
843
|
+
n.a.createElement('td', null, 'number | string'),
|
844
|
+
n.a.createElement('td', null, '-'),
|
845
|
+
),
|
846
|
+
),
|
847
|
+
),
|
848
|
+
n.a.createElement(
|
849
|
+
'h3',
|
850
|
+
{ id: 'skeletonparagraphprops' },
|
851
|
+
n.a.createElement(
|
852
|
+
r['AnchorLink'],
|
853
|
+
{
|
854
|
+
to: '#skeletonparagraphprops',
|
855
|
+
'aria-hidden': 'true',
|
856
|
+
tabIndex: -1,
|
857
|
+
},
|
858
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
859
|
+
),
|
860
|
+
'SkeletonParagraphProps',
|
861
|
+
),
|
862
|
+
n.a.createElement(
|
863
|
+
'table',
|
864
|
+
null,
|
865
|
+
n.a.createElement(
|
866
|
+
'thead',
|
867
|
+
null,
|
868
|
+
n.a.createElement(
|
869
|
+
'tr',
|
870
|
+
null,
|
871
|
+
n.a.createElement('th', null, '\u5c5e\u6027'),
|
872
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
873
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
874
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
875
|
+
),
|
876
|
+
),
|
877
|
+
n.a.createElement(
|
878
|
+
'tbody',
|
879
|
+
null,
|
880
|
+
n.a.createElement(
|
881
|
+
'tr',
|
882
|
+
null,
|
883
|
+
n.a.createElement('td', null, 'rows'),
|
884
|
+
n.a.createElement(
|
885
|
+
'td',
|
886
|
+
null,
|
887
|
+
'\u8bbe\u7f6e\u6bb5\u843d\u5360\u4f4d\u56fe\u7684\u884c\u6570',
|
888
|
+
),
|
889
|
+
n.a.createElement('td', null, 'number'),
|
890
|
+
n.a.createElement('td', null, '-'),
|
891
|
+
),
|
892
|
+
n.a.createElement(
|
893
|
+
'tr',
|
894
|
+
null,
|
895
|
+
n.a.createElement('td', null, 'width'),
|
896
|
+
n.a.createElement(
|
897
|
+
'td',
|
898
|
+
null,
|
899
|
+
'\u8bbe\u7f6e\u6bb5\u843d\u5360\u4f4d\u56fe\u7684\u5bbd\u5ea6\uff0c\u82e5\u4e3a\u6570\u7ec4\u65f6\u5219\u4e3a\u5bf9\u5e94\u7684\u6bcf\u884c\u5bbd\u5ea6\uff0c\u53cd\u4e4b\u5219\u662f\u6700\u540e\u4e00\u884c\u7684\u5bbd\u5ea6',
|
900
|
+
),
|
901
|
+
n.a.createElement(
|
902
|
+
'td',
|
903
|
+
null,
|
904
|
+
'number | string | Array<number | string>',
|
905
|
+
),
|
906
|
+
n.a.createElement('td', null, '-'),
|
907
|
+
),
|
908
|
+
),
|
909
|
+
),
|
910
|
+
n.a.createElement(
|
911
|
+
'h3',
|
912
|
+
{ id: 'skeletonbuttonprops' },
|
913
|
+
n.a.createElement(
|
914
|
+
r['AnchorLink'],
|
915
|
+
{
|
916
|
+
to: '#skeletonbuttonprops',
|
917
|
+
'aria-hidden': 'true',
|
918
|
+
tabIndex: -1,
|
919
|
+
},
|
920
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
921
|
+
),
|
922
|
+
'SkeletonButtonProps',
|
923
|
+
),
|
924
|
+
n.a.createElement(
|
925
|
+
'table',
|
926
|
+
null,
|
927
|
+
n.a.createElement(
|
928
|
+
'thead',
|
929
|
+
null,
|
930
|
+
n.a.createElement(
|
931
|
+
'tr',
|
932
|
+
null,
|
933
|
+
n.a.createElement('th', null, '\u5c5e\u6027'),
|
934
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
935
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
936
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
937
|
+
),
|
938
|
+
),
|
939
|
+
n.a.createElement(
|
940
|
+
'tbody',
|
941
|
+
null,
|
942
|
+
n.a.createElement(
|
943
|
+
'tr',
|
944
|
+
null,
|
945
|
+
n.a.createElement('td', null, 'active'),
|
946
|
+
n.a.createElement(
|
947
|
+
'td',
|
948
|
+
null,
|
949
|
+
'\u662f\u5426\u5c55\u793a\u52a8\u753b\u6548\u679c',
|
950
|
+
),
|
951
|
+
n.a.createElement('td', null, 'boolean'),
|
952
|
+
n.a.createElement('td', null, 'false'),
|
953
|
+
),
|
954
|
+
n.a.createElement(
|
955
|
+
'tr',
|
956
|
+
null,
|
957
|
+
n.a.createElement('td', null, 'block'),
|
958
|
+
n.a.createElement(
|
959
|
+
'td',
|
960
|
+
null,
|
961
|
+
'\u5c06\u6309\u94ae\u5bbd\u5ea6\u8c03\u6574\u4e3a\u5176\u7236\u5bbd\u5ea6\u7684\u9009\u9879',
|
962
|
+
),
|
963
|
+
n.a.createElement('td', null, 'boolean'),
|
964
|
+
n.a.createElement('td', null, 'false'),
|
965
|
+
),
|
966
|
+
n.a.createElement(
|
967
|
+
'tr',
|
968
|
+
null,
|
969
|
+
n.a.createElement('td', null, 'shape'),
|
970
|
+
n.a.createElement(
|
971
|
+
'td',
|
972
|
+
null,
|
973
|
+
'\u6307\u5b9a\u6309\u94ae\u7684\u5f62\u72b6',
|
974
|
+
),
|
975
|
+
n.a.createElement(
|
976
|
+
'td',
|
977
|
+
null,
|
978
|
+
n.a.createElement('code', null, 'circle'),
|
979
|
+
' | ',
|
980
|
+
n.a.createElement('code', null, 'round'),
|
981
|
+
' | ',
|
982
|
+
n.a.createElement('code', null, 'default'),
|
983
|
+
),
|
984
|
+
n.a.createElement('td', null, '-'),
|
985
|
+
),
|
986
|
+
n.a.createElement(
|
987
|
+
'tr',
|
988
|
+
null,
|
989
|
+
n.a.createElement('td', null, 'size'),
|
990
|
+
n.a.createElement(
|
991
|
+
'td',
|
992
|
+
null,
|
993
|
+
'\u8bbe\u7f6e\u6309\u94ae\u7684\u5927\u5c0f',
|
994
|
+
),
|
995
|
+
n.a.createElement(
|
996
|
+
'td',
|
997
|
+
null,
|
998
|
+
n.a.createElement('code', null, 'large'),
|
999
|
+
' | ',
|
1000
|
+
n.a.createElement('code', null, 'small'),
|
1001
|
+
' | ',
|
1002
|
+
n.a.createElement('code', null, 'default'),
|
1003
|
+
),
|
1004
|
+
n.a.createElement('td', null, '-'),
|
1005
|
+
),
|
1006
|
+
),
|
1007
|
+
),
|
1008
|
+
n.a.createElement(
|
1009
|
+
'h3',
|
1010
|
+
{ id: 'skeletoninputprops' },
|
1011
|
+
n.a.createElement(
|
1012
|
+
r['AnchorLink'],
|
1013
|
+
{
|
1014
|
+
to: '#skeletoninputprops',
|
1015
|
+
'aria-hidden': 'true',
|
1016
|
+
tabIndex: -1,
|
1017
|
+
},
|
1018
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
1019
|
+
),
|
1020
|
+
'SkeletonInputProps',
|
1021
|
+
),
|
1022
|
+
n.a.createElement(
|
1023
|
+
'table',
|
1024
|
+
null,
|
1025
|
+
n.a.createElement(
|
1026
|
+
'thead',
|
1027
|
+
null,
|
1028
|
+
n.a.createElement(
|
1029
|
+
'tr',
|
1030
|
+
null,
|
1031
|
+
n.a.createElement('th', null, '\u5c5e\u6027'),
|
1032
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
1033
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
1034
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
1035
|
+
),
|
1036
|
+
),
|
1037
|
+
n.a.createElement(
|
1038
|
+
'tbody',
|
1039
|
+
null,
|
1040
|
+
n.a.createElement(
|
1041
|
+
'tr',
|
1042
|
+
null,
|
1043
|
+
n.a.createElement('td', null, 'active'),
|
1044
|
+
n.a.createElement(
|
1045
|
+
'td',
|
1046
|
+
null,
|
1047
|
+
'\u662f\u5426\u5c55\u793a\u52a8\u753b\u6548\u679c',
|
1048
|
+
),
|
1049
|
+
n.a.createElement('td', null, 'boolean'),
|
1050
|
+
n.a.createElement('td', null, 'false'),
|
1051
|
+
),
|
1052
|
+
n.a.createElement(
|
1053
|
+
'tr',
|
1054
|
+
null,
|
1055
|
+
n.a.createElement('td', null, 'size'),
|
1056
|
+
n.a.createElement(
|
1057
|
+
'td',
|
1058
|
+
null,
|
1059
|
+
'\u8bbe\u7f6e\u8f93\u5165\u6846\u7684\u5927\u5c0f',
|
1060
|
+
),
|
1061
|
+
n.a.createElement(
|
1062
|
+
'td',
|
1063
|
+
null,
|
1064
|
+
n.a.createElement('code', null, 'large'),
|
1065
|
+
' | ',
|
1066
|
+
n.a.createElement('code', null, 'small'),
|
1067
|
+
' | ',
|
1068
|
+
n.a.createElement('code', null, 'default'),
|
1069
|
+
),
|
1070
|
+
n.a.createElement('td', null, '-'),
|
1071
|
+
),
|
1072
|
+
),
|
1073
|
+
),
|
1074
|
+
),
|
1075
|
+
),
|
1076
|
+
)
|
1077
|
+
);
|
1078
|
+
},
|
1079
|
+
},
|
1080
|
+
]);
|