Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

173 lines
5.0 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 5d5b47876e53e564.da1ba52a93.js
* Module id: 238137
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e) => {
"use strict";
var t = e.i(358379),
r = e.i(158921),
n = e.i(264458),
o = e.i(494445);
let a = (0, t.forwardRef)((e, r) => {
let { className: o, style: a, children: i, prefixCls: l } = e,
s = (0, n.default)(`${l}-icon`, o);
return t.default.createElement(
"span",
{ ref: r, className: s, style: a },
i,
);
});
e.s(["default", 0, a], 576871);
let i = (0, t.forwardRef)((e, o) => {
let { prefixCls: i, className: l, style: s, iconClassName: c } = e,
u = (0, n.default)(`${i}-loading-icon`, l);
return t.default.createElement(
a,
{ prefixCls: i, className: u, style: s, ref: o },
t.default.createElement(r.default, { className: c }),
);
}),
l = () => ({ width: 0, opacity: 0, transform: "scale(0)" }),
s = (e) => ({ width: e.scrollWidth, opacity: 1, transform: "scale(1)" });
e.s(
[
"default",
0,
(e) => {
let {
prefixCls: r,
loading: a,
existIcon: c,
className: u,
style: d,
mount: f,
} = e;
return c
? t.default.createElement(i, {
prefixCls: r,
className: u,
style: d,
})
: t.default.createElement(
o.default,
{
visible: !!a,
motionName: `${r}-loading-icon-motion`,
motionAppear: !f,
motionEnter: !f,
motionLeave: !f,
removeOnLeave: !0,
onAppearStart: l,
onAppearActive: s,
onEnterStart: l,
onEnterActive: s,
onLeaveStart: s,
onLeaveActive: l,
},
({ className: e, style: o }, a) => {
let l = Object.assign(Object.assign({}, d), o);
return t.default.createElement(i, {
prefixCls: r,
className: (0, n.default)(u, e),
style: l,
ref: a,
});
},
);
},
],
687306,
);
let c = (e, t) => ({
[`> span, > ${e}`]: {
"&:not(:last-child)": {
[`&, & > ${e}`]: { "&:not(:disabled)": { borderInlineEndColor: t } },
},
"&:not(:first-child)": {
[`&, & > ${e}`]: {
"&:not(:disabled)": { borderInlineStartColor: t },
},
},
},
});
e.s(
[
"default",
0,
(e) => {
let {
componentCls: t,
fontSize: r,
lineWidth: n,
groupBorderColor: o,
colorErrorHover: a,
} = e;
return {
[`${t}-group`]: [
{
position: "relative",
display: "inline-flex",
[`> span, > ${t}`]: {
"&:not(:last-child)": {
[`&, & > ${t}`]: {
borderStartEndRadius: 0,
borderEndEndRadius: 0,
},
},
"&:not(:first-child)": {
marginInlineStart: e.calc(n).mul(-1).equal(),
[`&, & > ${t}`]: {
borderStartStartRadius: 0,
borderEndStartRadius: 0,
},
},
},
[t]: {
position: "relative",
zIndex: 1,
"&:hover, &:focus, &:active": { zIndex: 2 },
"&[disabled]": { zIndex: 0 },
},
[`${t}-icon-only`]: { fontSize: r },
},
c(`${t}-primary`, o),
c(`${t}-danger`, a),
],
};
},
],
601112,
);
var u = e.i(252174);
e.s(["ColorBlock", () => u.default], 383647), e.i(23741);
var d = e.i(511334);
let f = {
icon: {
tag: "svg",
attrs: { viewBox: "64 64 896 896", focusable: "false" },
children: [
{
tag: "path",
attrs: {
d: "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z",
},
},
],
},
name: "right",
theme: "outlined",
};
var m = e.i(696887),
p = t.forwardRef(function (e, r) {
return t.createElement(
m.default,
(0, d.default)({}, e, { ref: r, icon: f }),
);
});
e.s(["default", 0, p], 238137);
};
export default moduleFactory;